Fix tests!
[dbsrgits/SQL-Translator.git] / t / data / xmi / OrderDB.sqlfairy.poseidon2.xmi
index acf3007..70bf1bc 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version = '1.0' encoding = 'UTF-8' ?>\r
-<XMI xmi.version = '1.2' xmlns:UML = 'org.omg.xmi.namespace.UML' timestamp = 'Mon Oct 06 18:34:04 BST 2003'>\r
+<XMI xmi.version = '1.2' xmlns:UML = 'org.omg.xmi.namespace.UML' timestamp = 'Wed Oct 15 00:05:38 BST 2003'>\r
   <XMI.header>\r
     <XMI.documentation>\r
       <XMI.exporter>Netbeans XMI Writer</XMI.exporter>\r
         <UML:MultiplicityRange xmi.id = '5539d8:f7b62bc3a2:-7feb' lower = '1' upper = '1'/>\r
       </UML:Multiplicity.range>\r
     </UML:Multiplicity>\r
+    <UML:Multiplicity xmi.id = '9f3e95:f83c9ca08d:-7ffb'>\r
+      <UML:Multiplicity.range>\r
+        <UML:MultiplicityRange xmi.id = '9f3e95:f83c9ca08d:-7ffa' lower = '1' upper = '1'/>\r
+      </UML:Multiplicity.range>\r
+    </UML:Multiplicity>\r
+    <UML:Multiplicity xmi.id = '9f3e95:f83c9ca08d:-7ff9'>\r
+      <UML:Multiplicity.range>\r
+        <UML:MultiplicityRange xmi.id = '9f3e95:f83c9ca08d:-7ff8' lower = '1' upper = '1'/>\r
+      </UML:Multiplicity.range>\r
+    </UML:Multiplicity>\r
+    <UML:Multiplicity xmi.id = '9f3e95:f83c9ca08d:-7ff7'>\r
+      <UML:Multiplicity.range>\r
+        <UML:MultiplicityRange xmi.id = '9f3e95:f83c9ca08d:-7ff6' lower = '0' upper = '-1'/>\r
+      </UML:Multiplicity.range>\r
+    </UML:Multiplicity>\r
     <UML:Model xmi.id = '5539d8:f7b62bc3a2:-7ff5' name = 'OrderDB' isSpecification = 'false'\r
       isRoot = 'false' isLeaf = 'false' isAbstract = 'false'>\r
       <UML:Namespace.ownedElement>\r
           isSpecification = 'false' isRoot = 'false' isLeaf = 'false' isAbstract = 'false'\r
           isActive = 'false'>\r
           <UML:Classifier.feature>\r
+            <UML:Attribute xmi.id = '5539d8:f7b62bc3a2:-7ff3' name = 'invoiceNumber'\r
+              visibility = 'public' isSpecification = 'false' ownerScope = 'instance'>\r
+              <UML:ModelElement.stereotype>\r
+                <UML:Stereotype xmi.idref = '24d0fa:f8019a3e88:-7fbf'/>\r
+              </UML:ModelElement.stereotype>\r
+              <UML:StructuralFeature.type>\r
+                <UML:DataType xmi.idref = '24d0fa:f8019a3e88:-7ffb'/>\r
+              </UML:StructuralFeature.type>\r
+            </UML:Attribute>\r
             <UML:Attribute xmi.id = '5539d8:f7b62bc3a2:-7ff1' name = 'orderDate' visibility = 'public'\r
               isSpecification = 'false' ownerScope = 'instance'>\r
               <UML:ModelElement.taggedValue>\r
                 <UML:DataType xmi.idref = '24d0fa:f8019a3e88:-7ffa'/>\r
               </UML:StructuralFeature.type>\r
             </UML:Attribute>\r
-            <UML:Attribute xmi.id = '5539d8:f7b62bc3a2:-7ff3' name = 'orderID' visibility = 'public'\r
-              isSpecification = 'false' ownerScope = 'instance'>\r
-              <UML:ModelElement.stereotype>\r
-                <UML:Stereotype xmi.idref = '24d0fa:f8019a3e88:-7fbf'/>\r
-              </UML:ModelElement.stereotype>\r
-              <UML:StructuralFeature.type>\r
-                <UML:DataType xmi.idref = '24d0fa:f8019a3e88:-7ffb'/>\r
-              </UML:StructuralFeature.type>\r
-            </UML:Attribute>\r
           </UML:Classifier.feature>\r
         </UML:Class>\r
         <UML:Class xmi.id = '5539d8:f7b62bc3a2:-7fef' name = 'OrderLine' visibility = 'public'\r
                 <UML:TaggedValue xmi.id = '3a5a9c:f811ae8178:-7f6b' isSpecification = 'false'>\r
                   <UML:TaggedValue.dataValue>0</UML:TaggedValue.dataValue>\r
                   <UML:TaggedValue.type>\r
-                    <UML:TagDefinition xmi.idref = '24d0fa:f8019a3e88:-7fcb'/>\r
+                    <UML:TagDefinition xmi.idref = '3a5a9c:f811ae8178:-7f6e'/>\r
                   </UML:TaggedValue.type>\r
                 </UML:TaggedValue>\r
               </UML:ModelElement.taggedValue>\r
             <UML:Comment xmi.idref = '24d0fa:f8019a3e88:-7fa7'/>\r
           </UML:ModelElement.comment>\r
           <UML:Classifier.feature>\r
-            <UML:Attribute xmi.id = '5539d8:f7b62bc3a2:-7fe6' name = 'customerID' visibility = 'public'\r
-              isSpecification = 'false' ownerScope = 'instance'>\r
-              <UML:ModelElement.taggedValue>\r
-                <UML:TaggedValue xmi.id = '24d0fa:f8019a3e88:-7fa6' isSpecification = 'false'>\r
-                  <UML:TaggedValue.dataValue>20</UML:TaggedValue.dataValue>\r
-                  <UML:TaggedValue.type>\r
-                    <UML:TagDefinition xmi.idref = '24d0fa:f8019a3e88:-7fd3'/>\r
-                  </UML:TaggedValue.type>\r
-                </UML:TaggedValue>\r
-                <UML:TaggedValue xmi.id = '24d0fa:f8019a3e88:-7f98' isSpecification = 'false'>\r
-                  <UML:TaggedValue.dataValue>ZEROFILL</UML:TaggedValue.dataValue>\r
-                  <UML:TaggedValue.type>\r
-                    <UML:TagDefinition xmi.idref = '24d0fa:f8019a3e88:-7f97'/>\r
-                  </UML:TaggedValue.type>\r
-                </UML:TaggedValue>\r
-              </UML:ModelElement.taggedValue>\r
-              <UML:StructuralFeature.type>\r
-                <UML:DataType xmi.idref = '24d0fa:f8019a3e88:-7ffb'/>\r
-              </UML:StructuralFeature.type>\r
-            </UML:Attribute>\r
             <UML:Attribute xmi.id = '5539d8:f7b62bc3a2:-7fe5' name = 'name' visibility = 'public'\r
               isSpecification = 'false' ownerScope = 'instance'>\r
               <UML:StructuralFeature.type>\r
             <UML:TaggedValue xmi.id = '24d0fa:f8019a3e88:-7fcc' isSpecification = 'false'>\r
               <UML:TaggedValue.dataValue>0</UML:TaggedValue.dataValue>\r
               <UML:TaggedValue.type>\r
-                <UML:TagDefinition xmi.idref = '24d0fa:f8019a3e88:-7fcb'/>\r
+                <UML:TagDefinition xmi.idref = '3a5a9c:f811ae8178:-7f6e'/>\r
               </UML:TaggedValue.type>\r
             </UML:TaggedValue>\r
           </UML:ModelElement.taggedValue>\r
           <UML:Stereotype.baseClass>ModelElement</UML:Stereotype.baseClass>\r
         </UML:Stereotype>\r
         <UML:Comment xmi.id = '24d0fa:f8019a3e88:-7fa7' name = '' visibility = 'public'\r
-          isSpecification = 'false' body = 'sqlfSize override&#10;on customerID&#10;&#10;Implied pkey&#10;- uses 1st field'>\r
+          isSpecification = 'false' body = 'sqlfSize override&#10;on customerID'>\r
           <UML:Comment.annotatedElement>\r
             <UML:Class xmi.idref = '5539d8:f7b62bc3a2:-7fe7'/>\r
           </UML:Comment.annotatedElement>\r
             </UML:TaggedValue>\r
           </UML:ModelElement.taggedValue>\r
         </UML:DataType>\r
+        <UML:Class xmi.id = '9f3e95:f83c9ca08d:-7ff5' name = 'ContactDetails' visibility = 'public'\r
+          isSpecification = 'false' isRoot = 'false' isLeaf = 'false' isAbstract = 'false'\r
+          isActive = 'false'>\r
+          <UML:Classifier.feature>\r
+            <UML:Attribute xmi.id = '9f3e95:f83c9ca08d:-7ff4' name = 'address' visibility = 'public'\r
+              isSpecification = 'false' ownerScope = 'instance'>\r
+              <UML:StructuralFeature.type>\r
+                <UML:DataType xmi.idref = '24d0fa:f8019a3e88:-7f93'/>\r
+              </UML:StructuralFeature.type>\r
+            </UML:Attribute>\r
+            <UML:Attribute xmi.id = '9f3e95:f83c9ca08d:-7ff3' name = 'telephone' visibility = 'public'\r
+              isSpecification = 'false' ownerScope = 'instance'>\r
+              <UML:StructuralFeature.type>\r
+                <UML:DataType xmi.idref = '24d0fa:f8019a3e88:-7f93'/>\r
+              </UML:StructuralFeature.type>\r
+            </UML:Attribute>\r
+          </UML:Classifier.feature>\r
+        </UML:Class>\r
+        <UML:Association xmi.id = '9f3e95:f83c9ca08d:-7ff2' isSpecification = 'false'\r
+          isRoot = 'false' isLeaf = 'false' isAbstract = 'false'>\r
+          <UML:Association.connection>\r
+            <UML:AssociationEnd xmi.id = '9f3e95:f83c9ca08d:-7ff1' visibility = 'public'\r
+              isSpecification = 'false' isNavigable = 'true' ordering = 'unordered' aggregation = 'none'\r
+              targetScope = 'instance' changeability = 'changeable'>\r
+              <UML:AssociationEnd.multiplicity>\r
+                <UML:Multiplicity xmi.id = '9f3e95:f83c9ca08d:-7ff0'>\r
+                  <UML:Multiplicity.range>\r
+                    <UML:MultiplicityRange xmi.id = '9f3e95:f83c9ca08d:-7fef' lower = '0' upper = '-1'/>\r
+                  </UML:Multiplicity.range>\r
+                </UML:Multiplicity>\r
+              </UML:AssociationEnd.multiplicity>\r
+              <UML:AssociationEnd.participant>\r
+                <UML:Class xmi.idref = '9f3e95:f83c9ca08d:-7ff5'/>\r
+              </UML:AssociationEnd.participant>\r
+            </UML:AssociationEnd>\r
+            <UML:AssociationEnd xmi.id = '9f3e95:f83c9ca08d:-7fee' name = '' visibility = 'public'\r
+              isSpecification = 'false' isNavigable = 'true' ordering = 'unordered' aggregation = 'none'\r
+              targetScope = 'instance' changeability = 'changeable'>\r
+              <UML:AssociationEnd.multiplicity>\r
+                <UML:Multiplicity xmi.id = '9f3e95:f83c9ca08d:-7fed'>\r
+                  <UML:Multiplicity.range>\r
+                    <UML:MultiplicityRange xmi.id = '9f3e95:f83c9ca08d:-7fec' lower = '1' upper = '-1'/>\r
+                  </UML:Multiplicity.range>\r
+                </UML:Multiplicity>\r
+              </UML:AssociationEnd.multiplicity>\r
+              <UML:AssociationEnd.participant>\r
+                <UML:Class xmi.idref = '5539d8:f7b62bc3a2:-7fe7'/>\r
+              </UML:AssociationEnd.participant>\r
+            </UML:AssociationEnd>\r
+          </UML:Association.connection>\r
+        </UML:Association>\r
       </UML:Namespace.ownedElement>\r
     </UML:Model>\r
     <UML:TagDefinition xmi.id = '1f5eb7f:f7bb15dc4a:-7ffa' name = 'size' isSpecification = 'false'\r