<?xml version="1.0" encoding="UTF-8"?>
<uml:Model xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:uml="http://schema.omg.org/spec/UML/2.1.1"  xmi:id="_AjJdIKDqEd656sCcfo4nkA" name="Test-Case-X">
  <packagedElement xmi:type="uml:Package" xmi:id="_AjJdIaDqEd656sCcfo4nkA" name="ProductSpecifications">
    <packagedElement xmi:type="uml:Class" xmi:id="_AjJdIqDqEd656sCcfo4nkA" name="Product">
      <ownedAttribute xmi:type="uml:Property" xmi:id="_AjJdI6DqEd656sCcfo4nkA" name="productID" visibility="public">
        <type xmi:type="uml:PrimitiveType" href="http://schema.omg.org/spec/UML/2.1.1/uml.xml#String"/>
      </ownedAttribute>
      <ownedAttribute xmi:type="uml:Property" xmi:id="_AjJdJKDqEd656sCcfo4nkA" name="productName" visibility="public" isDerived="true">
        <type xmi:type="uml:PrimitiveType" href="http://schema.omg.org/spec/UML/2.1.1/uml.xml#String"/>
      </ownedAttribute>
      <ownedAttribute xmi:type="uml:Property" xmi:id="_AjJdJaDqEd656sCcfo4nkA" name="copyright" visibility="public">
        <type xmi:type="uml:PrimitiveType" href="http://schema.omg.org/spec/UML/2.1.1/uml.xml#Integer"/>
      </ownedAttribute>
      <ownedAttribute xmi:type="uml:Property" xmi:id="_AjJdJqDqEd656sCcfo4nkA" name="unitPrice" visibility="public" type="_AjJdTKDqEd656sCcfo4nkA"/>
      <ownedAttribute xmi:type="uml:Property" xmi:id="_AjJdJ6DqEd656sCcfo4nkA" name="description" visibility="public">
        <type xmi:type="uml:PrimitiveType" href="http://schema.omg.org/spec/UML/2.1.1/uml.xml#String"/>
      </ownedAttribute>
    </packagedElement>
  </packagedElement>
  <packagedElement xmi:type="uml:Package" xmi:id="_AjJdKKDqEd656sCcfo4nkA" name="Ordering">
    <ownedComment xmi:type="uml:Comment" xmi:id="_AjJdKaDqEd656sCcfo4nkA" annotatedElement="_AjJdKKDqEd656sCcfo4nkA">
      <body>COMMENT:
 
Model: Test-Case-X

Based on Executable UML, Appendix B, Ordering Subsystem.  
See Figure B.2 for class diagram.
</body>
    </ownedComment>
    <packagedElement xmi:type="uml:Class" xmi:id="_AjJdKqDqEd656sCcfo4nkA" name="ProductSelection">
      <ownedAttribute xmi:type="uml:Property" xmi:id="_AjJdK6DqEd656sCcfo4nkA" name="quantity" visibility="public">
        <type xmi:type="uml:PrimitiveType" href="http://schema.omg.org/spec/UML/2.1.1/uml.xml#Integer"/>
      </ownedAttribute>
      <ownedAttribute xmi:type="uml:Property" xmi:id="_AjJdLKDqEd656sCcfo4nkA" name="unitPriceOfSelection" visibility="public" type="_AjJdTKDqEd656sCcfo4nkA"/>
      <ownedAttribute xmi:type="uml:Property" xmi:id="_AjJdLaDqEd656sCcfo4nkA" name="selectionValue" visibility="public" type="_AjJdTKDqEd656sCcfo4nkA" isDerived="true"/>
    </packagedElement>
    <packagedElement xmi:type="uml:Class" xmi:id="_AjJdLqDqEd656sCcfo4nkA" name="ShoppingCart">
      <ownedAttribute xmi:type="uml:Property" xmi:id="_AjJdL6DqEd656sCcfo4nkA" name="cartID" visibility="public">
        <type xmi:type="uml:PrimitiveType" href="http://schema.omg.org/spec/UML/2.1.1/uml.xml#String"/>
      </ownedAttribute>
      <ownedAttribute xmi:type="uml:Property" xmi:id="_AjJdMKDqEd656sCcfo4nkA" name="totalValue" visibility="public" type="_AjJdTKDqEd656sCcfo4nkA" isDerived="true"/>
      <ownedAttribute xmi:type="uml:Property" xmi:id="_AjJdMaDqEd656sCcfo4nkA" name="selections are purchased in" visibility="public" type="_AjJdNKDqEd656sCcfo4nkA" association="_AjJdQKDqEd656sCcfo4nkA">
        <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_AjJdM6DqEd656sCcfo4nkA" value="0"/>
      </ownedAttribute>
    </packagedElement>
    <packagedElement xmi:type="uml:Class" xmi:id="_AjJdNKDqEd656sCcfo4nkA" name="Order" isActive="true">
      <ownedAttribute xmi:type="uml:Property" xmi:id="_AjJdNaDqEd656sCcfo4nkA" name="orderID" visibility="public">
        <type xmi:type="uml:PrimitiveType" href="http://schema.omg.org/spec/UML/2.1.1/uml.xml#String"/>
      </ownedAttribute>
      <ownedAttribute xmi:type="uml:Property" xmi:id="_AjJdNqDqEd656sCcfo4nkA" name="totalValue" visibility="public" type="_AjJdTKDqEd656sCcfo4nkA" isDerived="true"/>
      <ownedAttribute xmi:type="uml:Property" xmi:id="_AjJdN6DqEd656sCcfo4nkA" name="recipient" visibility="public">
        <type xmi:type="uml:PrimitiveType" href="http://schema.omg.org/spec/UML/2.1.1/uml.xml#String"/>
      </ownedAttribute>
      <ownedAttribute xmi:type="uml:Property" xmi:id="_AjJdOKDqEd656sCcfo4nkA" name="deliveryAddress" visibility="public">
        <type xmi:type="uml:PrimitiveType" href="http://schema.omg.org/spec/UML/2.1.1/uml.xml#String"/>
      </ownedAttribute>
      <ownedAttribute xmi:type="uml:Property" xmi:id="_AjJdOaDqEd656sCcfo4nkA" name="is placed by" visibility="public" type="_AjJdRKDqEd656sCcfo4nkA" association="_AjJdS6DqEd656sCcfo4nkA">
        <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_AjJdO6DqEd656sCcfo4nkA" value="1"/>
      </ownedAttribute>
      <ownedOperation xmi:type="uml:Operation" xmi:id="_AjJdPKDqEd656sCcfo4nkA" name="establishCustomer" visibility="private">
        <ownedParameter xmi:type="uml:Parameter" xmi:id="_AjJdPaDqEd656sCcfo4nkA" name="event" visibility="public"/>
      </ownedOperation>
      <ownedOperation xmi:type="uml:Operation" xmi:id="_AjJdPqDqEd656sCcfo4nkA" name="processCharge" visibility="private">
        <ownedParameter xmi:type="uml:Parameter" xmi:id="_AjJdP6DqEd656sCcfo4nkA" name="event" visibility="public"/>
      </ownedOperation>
    </packagedElement>
    <packagedElement xmi:type="uml:Association" xmi:id="_AjJdQKDqEd656sCcfo4nkA" name="R3" memberEnd="_AjJdQaDqEd656sCcfo4nkA _AjJdMaDqEd656sCcfo4nkA">
      <ownedEnd xmi:type="uml:Property" xmi:id="_AjJdQaDqEd656sCcfo4nkA" name="is a purchase of selections in" visibility="private" type="_AjJdLqDqEd656sCcfo4nkA" association="_AjJdQKDqEd656sCcfo4nkA"/>    
    </packagedElement>
    <packagedElement xmi:type="uml:Class" xmi:id="_AjJdRKDqEd656sCcfo4nkA" name="Customer">
      <ownedAttribute xmi:type="uml:Property" xmi:id="_AjJdRaDqEd656sCcfo4nkA" name="name" visibility="public">
        <type xmi:type="uml:PrimitiveType" href="http://schema.omg.org/spec/UML/2.1.1/uml.xml#String"/>
      </ownedAttribute>
      <ownedAttribute xmi:type="uml:Property" xmi:id="_AjJdRqDqEd656sCcfo4nkA" name="shippingAddress" visibility="public">
        <type xmi:type="uml:PrimitiveType" href="http://schema.omg.org/spec/UML/2.1.1/uml.xml#String"/>
      </ownedAttribute>
      <ownedAttribute xmi:type="uml:Property" xmi:id="_AjJdR6DqEd656sCcfo4nkA" name="purchasesMade" visibility="public">
        <type xmi:type="uml:PrimitiveType" href="http://schema.omg.org/spec/UML/2.1.1/uml.xml#Integer"/>
      </ownedAttribute>
      <ownedAttribute xmi:type="uml:Property" xmi:id="_AjJdSKDqEd656sCcfo4nkA" name="places" visibility="public" type="_AjJdNKDqEd656sCcfo4nkA" association="_AjJdS6DqEd656sCcfo4nkA">
        <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_AjJdSaDqEd656sCcfo4nkA" value="*"/>
      </ownedAttribute>
    </packagedElement>
    <packagedElement xmi:type="uml:Association" xmi:id="_AjJdS6DqEd656sCcfo4nkA" name="R4" memberEnd="_AjJdSKDqEd656sCcfo4nkA _AjJdOaDqEd656sCcfo4nkA"/>
    <packagedElement xmi:type="uml:DataType" xmi:id="_AjJdTKDqEd656sCcfo4nkA" name="Money">
      <ownedAttribute xmi:type="uml:Property" xmi:id="_AjJdTaDqEd656sCcfo4nkA" name="amount" visibility="public">
        <type xmi:type="uml:PrimitiveType" href="http://schema.omg.org/spec/UML/2.1.1/uml.xml#Integer"/>
      </ownedAttribute>
      <ownedAttribute xmi:type="uml:Property" xmi:id="_AjJdTqDqEd656sCcfo4nkA" name="decimals" visibility="public">
        <type xmi:type="uml:PrimitiveType" href="http://schema.omg.org/spec/UML/2.1.1/uml.xml#Integer"/>
      </ownedAttribute>
      <ownedAttribute xmi:type="uml:Property" xmi:id="_AjJdT6DqEd656sCcfo4nkA" name="currency" visibility="public">
        <type xmi:type="uml:PrimitiveType" href="http://schema.omg.org/spec/UML/2.1.1/uml.xml#String"/>
      </ownedAttribute>
    </packagedElement>
    <packagedElement xmi:type="uml:Association" xmi:id="_AjJdUKDqEd656sCcfo4nkA" name="R1" memberEnd="_AjJdVKDqEd656sCcfo4nkA _AjJdUaDqEd656sCcfo4nkA" navigableOwnedEnd="_AjJdUaDqEd656sCcfo4nkA _AjJdVKDqEd656sCcfo4nkA">
      <ownedEnd xmi:type="uml:Property" xmi:id="_AjJdUaDqEd656sCcfo4nkA" name="includes selections" visibility="public" type="_AjJdKqDqEd656sCcfo4nkA" association="_AjJdUKDqEd656sCcfo4nkA">
        <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_AjJdUqDqEd656sCcfo4nkA" value="*"/>
      </ownedEnd>
      <ownedEnd xmi:type="uml:Property" xmi:id="_AjJdVKDqEd656sCcfo4nkA" name="selections are added to" visibility="public" type="_AjJdLqDqEd656sCcfo4nkA" association="_AjJdUKDqEd656sCcfo4nkA">
        <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_AjJdVaDqEd656sCcfo4nkA" value="*"/>
        <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_AjJdVqDqEd656sCcfo4nkA" value="0"/>
      </ownedEnd>
    </packagedElement>
    <packagedElement xmi:type="uml:Association" xmi:id="_AjJdV6DqEd656sCcfo4nkA" name="R2" memberEnd="_AjJdWKDqEd656sCcfo4nkA _AjJdW6DqEd656sCcfo4nkA" navigableOwnedEnd="_AjJdWKDqEd656sCcfo4nkA _AjJdW6DqEd656sCcfo4nkA">
      <ownedEnd xmi:type="uml:Property" xmi:id="_AjJdWKDqEd656sCcfo4nkA" name="is selected by" visibility="public" type="_AjJdKqDqEd656sCcfo4nkA" association="_AjJdV6DqEd656sCcfo4nkA">
        <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_AjJdWaDqEd656sCcfo4nkA" value="*"/>
        <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_AjJdWqDqEd656sCcfo4nkA" value="0"/>
      </ownedEnd>
      <ownedEnd xmi:type="uml:Property" xmi:id="_AjJdW6DqEd656sCcfo4nkA" name="is selection of" visibility="public" type="_AjJdIqDqEd656sCcfo4nkA" association="_AjJdV6DqEd656sCcfo4nkA"/>      
    </packagedElement>
  </packagedElement>
</uml:Model>
