Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.qvtd.build.etl.tests/src/org/eclipse/qvtd/build/etl/tests/UmlToRdbms/UmlToRdbms.qvtias')
-rw-r--r--tests/org.eclipse.qvtd.build.etl.tests/src/org/eclipse/qvtd/build/etl/tests/UmlToRdbms/UmlToRdbms.qvtias2492
1 files changed, 0 insertions, 2492 deletions
diff --git a/tests/org.eclipse.qvtd.build.etl.tests/src/org/eclipse/qvtd/build/etl/tests/UmlToRdbms/UmlToRdbms.qvtias b/tests/org.eclipse.qvtd.build.etl.tests/src/org/eclipse/qvtd/build/etl/tests/UmlToRdbms/UmlToRdbms.qvtias
deleted file mode 100644
index bab2f3abc..000000000
--- a/tests/org.eclipse.qvtd.build.etl.tests/src/org/eclipse/qvtd/build/etl/tests/UmlToRdbms/UmlToRdbms.qvtias
+++ /dev/null
@@ -1,2492 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<qvti:ImperativeModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pivot="http://www.eclipse.org/ocl/2015/Pivot"
- xmlns:qvtb="http://www.eclipse.org/qvt/2015/QVTbase" xmlns:qvtcb="http://www.eclipse.org/qvt/2015/QVTcoreBase" xmlns:qvti="http://www.eclipse.org/qvt/2015/QVTimperative"
- xsi:schemaLocation="http://www.eclipse.org/ocl/2015/Pivot java://org.eclipse.ocl.pivot.PivotPackage http://www.eclipse.org/qvt/2015/QVTbase java://org.eclipse.qvtd.pivot.qvtbase.QVTbasePackage http://www.eclipse.org/qvt/2015/QVTcoreBase java://org.eclipse.qvtd.pivot.qvtcorebase.QVTcoreBasePackage http://www.eclipse.org/qvt/2015/QVTimperative java://org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage"
- name="UmlToRdbms.qvti" externalURI="platform:/resource/org.eclipse.qvtd.build.etl.tests/src/org/eclipse/qvtd/build/etl/tests/UmlToRdbms/UmlToRdbms.qvti">
- <ownedImports name="SimpleUML" importedNamespace="pivot:Package SimpleUML.ecore.oclas#P.simpleuml"/>
- <ownedImports name="SimpleRDBMS" importedNamespace="pivot:Package SimpleRDBMS.ecore.oclas#P.simplerdbms"/>
- <ownedImports name="SimpleUMLtoRDBMS" importedNamespace="pivot:Package SimpleUMLtoRDBMS.ecore.oclas#P.simpleumltordbms"/>
- <ownedPackages xmi:id="P." name="">
- <ownedClasses xsi:type="qvtb:Transformation" xmi:id="T..umlRdbms" name="umlRdbms">
- <modelParameter xmi:id="qT..umlRdbms.uml" name="uml" usedPackage="SimpleUML.ecore.oclas#P.simpleuml"/>
- <modelParameter xmi:id="qT..umlRdbms.rdbms" name="rdbms" usedPackage="SimpleRDBMS.ecore.oclas#P.simplerdbms"/>
- <modelParameter xmi:id="qT..umlRdbms.middle" name="middle" usedPackage="SimpleUMLtoRDBMS.ecore.oclas#P.simpleumltordbms"/>
- <rule xsi:type="qvti:Mapping" xmi:id="m..umlRdbms.packageToSchema_LM" name="packageToSchema_LM">
- <domain xsi:type="qvtcb:CoreDomain" name="uml" isCheckable="true" isEnforceable="false" typedModel="#qT..umlRdbms.uml">
- <guardPattern>
- <variable xmi:id="qV..umlRdbms.packageToSchema_LM.uml.guard.p" name="p" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package"/>
- </guardPattern>
- <bottomPattern/>
- </domain>
- <domain xsi:type="qvtcb:CoreDomain" name="middle" isCheckable="false" isEnforceable="true" typedModel="#qT..umlRdbms.middle">
- <guardPattern/>
- <bottomPattern>
- <realizedVariable xmi:id="qV..umlRdbms.packageToSchema_LM.middle.bottom.p2s" name="p2s" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"/>
- </bottomPattern>
- </domain>
- <guardPattern/>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.UmlToRdbmsModelElement.name">
- <value xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredVariable="#qV..umlRdbms.packageToSchema_LM.uml.guard.p"/>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredVariable="#qV..umlRdbms.packageToSchema_LM.middle.bottom.p2s"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.PackageToSchema.umlPackage">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredVariable="#qV..umlRdbms.packageToSchema_LM.uml.guard.p"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredVariable="#qV..umlRdbms.packageToSchema_LM.middle.bottom.p2s"/>
- </assignment>
- </bottomPattern>
- <mappingStatement xsi:type="qvti:MappingSequence">
- <mappingStatements xsi:type="qvti:MappingCall" referredMapping="#m..umlRdbms.packageToSchema_MR">
- <binding boundVariable="#qV..umlRdbms.packageToSchema_MR.middle.guard.p2s">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema" referredVariable="#qV..umlRdbms.packageToSchema_LM.middle.bottom.p2s"/>
- </binding>
- </mappingStatements>
- <mappingStatements xsi:type="qvti:MappingLoop">
- <ownedSource xsi:type="pivot:IteratorExp" type="#//@ownedPackages.1/@ownedClasses.0" referredIteration="http://www.eclipse.org/ocl/2015/Library.oclas#i.ocl.Collection.select..T">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="#//@ownedPackages.1/@ownedClasses.0" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Package.elements">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.PackageToSchema.umlPackage">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredVariable="#qV..umlRdbms.packageToSchema_LM.middle.bottom.p2s"/>
- </ownedSource>
- </ownedSource>
- <ownedBody xsi:type="pivot:OperationCallExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.oclIsTypeOf..ocl.OclType">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PackageElement" referredVariable="#//@ownedPackages.0/@ownedClasses.0/@rule.0/@mappingStatement/@mappingStatements.1/@ownedSource/@ownedIterators.0"/>
- <ownedArguments xsi:type="pivot:TypeExp" type="pivot:Class http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.Class"
- referredType="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class"/>
- </ownedBody>
- <ownedIterators name="e" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PackageElement"/>
- </ownedSource>
- <ownedBody xsi:type="qvti:MappingSequence">
- <mappingStatements xsi:type="qvti:MappingCall" referredMapping="#m..umlRdbms.classToTable_LM">
- <binding boundVariable="#qV..umlRdbms.classToTable_LM.middle.guard.p2s">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredVariable="#qV..umlRdbms.packageToSchema_LM.middle.bottom.p2s"/>
- </binding>
- <binding boundVariable="#qV..umlRdbms.classToTable_LM.uml.guard.p">
- <value xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.PackageToSchema.umlPackage">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredVariable="#qV..umlRdbms.packageToSchema_LM.middle.bottom.p2s"/>
- </value>
- </binding>
- <binding boundVariable="#qV..umlRdbms.classToTable_LM.uml.guard.c">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredVariable="#i..umlRdbms.packageToSchema_LM.0.1.class"/>
- </binding>
- </mappingStatements>
- </ownedBody>
- <ownedIterators xmi:id="i..umlRdbms.packageToSchema_LM.0.1.class" name="class" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class"/>
- </mappingStatements>
- <mappingStatements xsi:type="qvti:MappingLoop">
- <ownedSource xsi:type="pivot:IteratorExp" type="#//@ownedPackages.1/@ownedClasses.0" referredIteration="http://www.eclipse.org/ocl/2015/Library.oclas#i.ocl.Collection.select..T">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="#//@ownedPackages.1/@ownedClasses.0" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Package.elements">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredVariable="#qV..umlRdbms.packageToSchema_LM.uml.guard.p"/>
- </ownedSource>
- <ownedBody xsi:type="pivot:OperationCallExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.oclIsTypeOf..ocl.OclType">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PackageElement" referredVariable="#//@ownedPackages.0/@ownedClasses.0/@rule.0/@mappingStatement/@mappingStatements.2/@ownedSource/@ownedIterators.0"/>
- <ownedArguments xsi:type="pivot:TypeExp" type="pivot:Class http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.Class"
- referredType="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Association"/>
- </ownedBody>
- <ownedIterators name="e" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PackageElement"/>
- </ownedSource>
- <ownedBody xsi:type="qvti:MappingSequence">
- <mappingStatements xsi:type="qvti:MappingLoop">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="#//@ownedPackages.1/@ownedClasses.1" referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.PackageToSchema.classesToTables">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleuml.Package.middle">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredVariable="#qV..umlRdbms.packageToSchema_LM.uml.guard.p"/>
- </ownedSource>
- </ownedSource>
- <ownedBody xsi:type="qvti:MappingSequence">
- <mappingStatements xsi:type="qvti:MappingLoop">
- <ownedSource xsi:type="pivot:IteratorExp" type="#//@ownedPackages.1/@ownedClasses.0" referredIteration="http://www.eclipse.org/ocl/2015/Library.oclas#i.ocl.Collection.select..T">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="#//@ownedPackages.1/@ownedClasses.0" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Package.elements">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredVariable="#qV..umlRdbms.packageToSchema_LM.uml.guard.p"/>
- </ownedSource>
- <ownedBody xsi:type="pivot:OperationCallExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.oclIsTypeOf..ocl.OclType">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PackageElement"
- referredVariable="#//@ownedPackages.0/@ownedClasses.0/@rule.0/@mappingStatement/@mappingStatements.2/@ownedBody/@mappingStatements.0/@ownedBody/@mappingStatements.0/@ownedSource/@ownedIterators.0"/>
- <ownedArguments xsi:type="pivot:TypeExp" type="pivot:Class http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.Class"
- referredType="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class"/>
- </ownedBody>
- <ownedIterators name="e" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PackageElement"/>
- </ownedSource>
- <ownedBody xsi:type="qvti:MappingSequence">
- <mappingStatements xsi:type="qvti:MappingCall" referredMapping="#m..umlRdbms.associationToForeignKey_LM">
- <binding boundVariable="#qV..umlRdbms.associationToForeignKey_LM.uml.guard.a">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Association" referredVariable="#i..umlRdbms.packageToSchema_LM.0.2.association"/>
- </binding>
- <binding boundVariable="#qV..umlRdbms.associationToForeignKey_LM.uml.guard.dc">
- <value xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Association.destination">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Association"
- referredVariable="#i..umlRdbms.packageToSchema_LM.0.2.association"/>
- </value>
- </binding>
- <binding boundVariable="#qV..umlRdbms.associationToForeignKey_LM.middle.guard.dc2t">
- <value xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleuml.Class.middle">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Association.destination">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Association"
- referredVariable="#i..umlRdbms.packageToSchema_LM.0.2.association"/>
- </ownedSource>
- </value>
- </binding>
- <binding boundVariable="#qV..umlRdbms.associationToForeignKey_LM.uml.guard.p">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredVariable="#qV..umlRdbms.packageToSchema_LM.uml.guard.p"/>
- </binding>
- <binding boundVariable="#qV..umlRdbms.associationToForeignKey_LM.middle.guard.sc2t">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"
- referredVariable="#i..umlRdbms.packageToSchema_LM.0.2.0.0.sc2t"/>
- </binding>
- <binding boundVariable="#qV..umlRdbms.associationToForeignKey_LM.middle.guard.p2s">
- <value xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleuml.Package.middle">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredVariable="#qV..umlRdbms.packageToSchema_LM.uml.guard.p"/>
- </value>
- </binding>
- <binding boundVariable="#qV..umlRdbms.associationToForeignKey_LM.uml.guard.sc">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredVariable="#i..umlRdbms.packageToSchema_LM.0.2.0.0.0.0.class"/>
- </binding>
- </mappingStatements>
- </ownedBody>
- <ownedIterators xmi:id="i..umlRdbms.packageToSchema_LM.0.2.0.0.0.0.class" name="class" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class"/>
- </mappingStatements>
- </ownedBody>
- <ownedIterators xmi:id="i..umlRdbms.packageToSchema_LM.0.2.0.0.sc2t" name="sc2t" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"/>
- </mappingStatements>
- </ownedBody>
- <ownedIterators xmi:id="i..umlRdbms.packageToSchema_LM.0.2.association" name="association" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Association"/>
- </mappingStatements>
- <mappingStatements xsi:type="qvti:MappingLoop">
- <ownedSource xsi:type="pivot:IteratorExp" type="#//@ownedPackages.1/@ownedClasses.0" referredIteration="http://www.eclipse.org/ocl/2015/Library.oclas#i.ocl.Collection.select..T">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="#//@ownedPackages.1/@ownedClasses.0" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Package.elements">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.PackageToSchema.umlPackage">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredVariable="#qV..umlRdbms.packageToSchema_LM.middle.bottom.p2s"/>
- </ownedSource>
- </ownedSource>
- <ownedBody xsi:type="pivot:OperationCallExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.oclIsTypeOf..ocl.OclType">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PackageElement" referredVariable="#//@ownedPackages.0/@ownedClasses.0/@rule.0/@mappingStatement/@mappingStatements.3/@ownedSource/@ownedIterators.0"/>
- <ownedArguments xsi:type="pivot:TypeExp" type="pivot:Class http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.Class"
- referredType="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType"/>
- </ownedBody>
- <ownedIterators name="e" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PackageElement"/>
- </ownedSource>
- <ownedBody xsi:type="qvti:MappingSequence">
- <mappingStatements xsi:type="qvti:MappingCall" referredMapping="#m..umlRdbms.booleanToBoolean_LM">
- <binding boundVariable="#qV..umlRdbms.booleanToBoolean_LM.middle.guard.p2s">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredVariable="#qV..umlRdbms.packageToSchema_LM.middle.bottom.p2s"/>
- </binding>
- <binding boundVariable="#qV..umlRdbms.booleanToBoolean_LM.uml.guard.prim">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType" referredVariable="#i..umlRdbms.packageToSchema_LM.0.3.primitivedatatype"/>
- </binding>
- <binding boundVariable="#qV..umlRdbms.booleanToBoolean_LM.uml.guard.p">
- <value xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.PackageToSchema.umlPackage">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredVariable="#qV..umlRdbms.packageToSchema_LM.middle.bottom.p2s"/>
- </value>
- </binding>
- </mappingStatements>
- </ownedBody>
- <ownedIterators xmi:id="i..umlRdbms.packageToSchema_LM.0.3.primitivedatatype" name="primitivedatatype" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType"/>
- </mappingStatements>
- </mappingStatement>
- </rule>
- <rule xsi:type="qvti:Mapping" xmi:id="m..umlRdbms.packageToSchema_MR" name="packageToSchema_MR">
- <domain xsi:type="qvtcb:CoreDomain" name="rdbms" isCheckable="false" isEnforceable="true" typedModel="#qT..umlRdbms.rdbms">
- <guardPattern/>
- <bottomPattern>
- <realizedVariable xmi:id="qV..umlRdbms.packageToSchema_MR.rdbms.bottom.s" name="s" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Schema"/>
- </bottomPattern>
- </domain>
- <domain xsi:type="qvtcb:CoreDomain" name="middle" isCheckable="true" isEnforceable="false" typedModel="#qT..umlRdbms.middle">
- <guardPattern>
- <variable xmi:id="qV..umlRdbms.packageToSchema_MR.middle.guard.p2s" name="p2s" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"/>
- </guardPattern>
- <bottomPattern/>
- </domain>
- <guardPattern/>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.PackageToSchema.schema">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Schema" referredVariable="#qV..umlRdbms.packageToSchema_MR.rdbms.bottom.s"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredVariable="#qV..umlRdbms.packageToSchema_MR.middle.guard.p2s"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.RModelElement.name">
- <value xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.UmlToRdbmsModelElement.name">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredVariable="#qV..umlRdbms.packageToSchema_MR.middle.guard.p2s"/>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Schema" referredVariable="#qV..umlRdbms.packageToSchema_MR.rdbms.bottom.s"/>
- </assignment>
- </bottomPattern>
- </rule>
- <rule xsi:type="qvti:Mapping" xmi:id="m..umlRdbms.integerToNumber_LM" name="integerToNumber_LM">
- <domain xsi:type="qvtcb:CoreDomain" name="uml" isCheckable="true" isEnforceable="false" typedModel="#qT..umlRdbms.uml">
- <guardPattern>
- <variable xmi:id="qV..umlRdbms.integerToNumber_LM.uml.guard.p" name="p" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package"/>
- <variable xmi:id="qV..umlRdbms.integerToNumber_LM.uml.guard.prim" name="prim" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType"/>
- </guardPattern>
- <bottomPattern/>
- </domain>
- <domain xsi:type="qvtcb:CoreDomain" name="middle" isCheckable="false" isEnforceable="true" typedModel="#qT..umlRdbms.middle">
- <guardPattern>
- <variable xmi:id="qV..umlRdbms.integerToNumber_LM.middle.guard.p2s" name="p2s" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"/>
- </guardPattern>
- <bottomPattern>
- <realizedVariable xmi:id="qV..umlRdbms.integerToNumber_LM.middle.bottom.p2n" name="p2n" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.IntegerToNumber"/>
- </bottomPattern>
- </domain>
- <guardPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.PackageToSchema.umlPackage">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredVariable="#qV..umlRdbms.integerToNumber_LM.middle.guard.p2s"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredVariable="#qV..umlRdbms.integerToNumber_LM.uml.guard.p"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.PackageElement.namespace">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType" referredVariable="#qV..umlRdbms.integerToNumber_LM.uml.guard.prim"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredVariable="#qV..umlRdbms.integerToNumber_LM.uml.guard.p"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType" referredVariable="#qV..umlRdbms.integerToNumber_LM.uml.guard.prim"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:StringLiteralExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="Integer"/>
- </conditionExpression>
- </predicate>
- </guardPattern>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.PrimitiveToName.primitive">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType" referredVariable="#qV..umlRdbms.integerToNumber_LM.uml.guard.prim"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PrimitiveToName"
- referredVariable="#qV..umlRdbms.integerToNumber_LM.middle.bottom.p2n"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.UmlToRdbmsModelElement.name">
- <value xsi:type="pivot:OperationCallExp" name="+" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%43%..ocl.String">
- <ownedSource xsi:type="pivot:OperationCallExp" name="+" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%43%..ocl.String">
- <ownedSource xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType" referredVariable="#qV..umlRdbms.integerToNumber_LM.uml.guard.prim"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:StringLiteralExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="2"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:StringLiteralExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="NUMBER"/>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.IntegerToNumber"
- referredVariable="#qV..umlRdbms.integerToNumber_LM.middle.bottom.p2n"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.PrimitiveToName.owner">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema" referredVariable="#qV..umlRdbms.integerToNumber_LM.middle.guard.p2s"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PrimitiveToName"
- referredVariable="#qV..umlRdbms.integerToNumber_LM.middle.bottom.p2n"/>
- </assignment>
- </bottomPattern>
- </rule>
- <rule xsi:type="qvti:Mapping" xmi:id="m..umlRdbms.integerToNumber_MR" name="integerToNumber_MR">
- <domain xsi:type="qvtcb:CoreDomain" name="rdbms" isCheckable="false" isEnforceable="true" typedModel="#qT..umlRdbms.rdbms">
- <guardPattern/>
- <bottomPattern>
- <variable xmi:id="qV..umlRdbms.integerToNumber_MR.rdbms.bottom.sqlType" name="sqlType" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String">
- <ownedInit xsi:type="pivot:StringLiteralExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="NUMBER"/>
- </variable>
- </bottomPattern>
- </domain>
- <domain xsi:type="qvtcb:CoreDomain" name="middle" isCheckable="true" isEnforceable="false" typedModel="#qT..umlRdbms.middle">
- <guardPattern>
- <variable xmi:id="qV..umlRdbms.integerToNumber_MR.middle.guard.p2s" name="p2s" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"/>
- <variable xmi:id="qV..umlRdbms.integerToNumber_MR.middle.guard.p2n" name="p2n" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.IntegerToNumber"/>
- </guardPattern>
- <bottomPattern/>
- </domain>
- <guardPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.PrimitiveToName.owner">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PrimitiveToName"
- referredVariable="#qV..umlRdbms.integerToNumber_MR.middle.guard.p2n"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredVariable="#qV..umlRdbms.integerToNumber_MR.middle.guard.p2s"/>
- </conditionExpression>
- </predicate>
- </guardPattern>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.PrimitiveToName.typeName">
- <value xsi:type="pivot:VariableExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String" referredVariable="#qV..umlRdbms.integerToNumber_MR.rdbms.bottom.sqlType"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PrimitiveToName"
- referredVariable="#qV..umlRdbms.integerToNumber_MR.middle.guard.p2n"/>
- </assignment>
- </bottomPattern>
- <mappingStatement xsi:type="qvti:MappingSequence">
- <mappingStatements xsi:type="qvti:MappingLoop">
- <ownedSource xsi:type="pivot:IteratorExp" type="#//@ownedPackages.1/@ownedClasses.2" referredIteration="http://www.eclipse.org/ocl/2015/Library.oclas#i.ocl.Collection.select..T">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="#//@ownedPackages.1/@ownedClasses.2" referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.PackageToSchema.primitivesToNames">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredVariable="#qV..umlRdbms.integerToNumber_MR.middle.guard.p2s"/>
- </ownedSource>
- <ownedBody xsi:type="pivot:OperationCallExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.oclIsTypeOf..ocl.OclType">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PrimitiveToName"
- referredVariable="#//@ownedPackages.0/@ownedClasses.0/@rule.3/@mappingStatement/@mappingStatements.0/@ownedSource/@ownedIterators.0"/>
- <ownedArguments xsi:type="pivot:TypeExp" type="pivot:Class http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.Class"
- referredType="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.StringToVarchar"/>
- </ownedBody>
- <ownedIterators name="p" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PrimitiveToName"/>
- </ownedSource>
- <ownedBody xsi:type="qvti:MappingSequence">
- <mappingStatements xsi:type="qvti:MappingCall" referredMapping="#m..umlRdbms.stringToVarchar_MR">
- <binding boundVariable="#qV..umlRdbms.stringToVarchar_MR.middle.guard.p2n">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.StringToVarchar"
- referredVariable="#i..umlRdbms.integerToNumber_MR.0.0.stringtovarchar"/>
- </binding>
- <binding boundVariable="#qV..umlRdbms.stringToVarchar_MR.middle.guard.p2s">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredVariable="#qV..umlRdbms.integerToNumber_MR.middle.guard.p2s"/>
- </binding>
- </mappingStatements>
- </ownedBody>
- <ownedIterators xmi:id="i..umlRdbms.integerToNumber_MR.0.0.stringtovarchar" name="stringtovarchar" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.StringToVarchar"/>
- </mappingStatements>
- </mappingStatement>
- </rule>
- <rule xsi:type="qvti:Mapping" xmi:id="m..umlRdbms.booleanToBoolean_LM" name="booleanToBoolean_LM">
- <domain xsi:type="qvtcb:CoreDomain" name="uml" isCheckable="true" isEnforceable="false" typedModel="#qT..umlRdbms.uml">
- <guardPattern>
- <variable xmi:id="qV..umlRdbms.booleanToBoolean_LM.uml.guard.p" name="p" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package"/>
- <variable xmi:id="qV..umlRdbms.booleanToBoolean_LM.uml.guard.prim" name="prim" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType"/>
- </guardPattern>
- <bottomPattern/>
- </domain>
- <domain xsi:type="qvtcb:CoreDomain" name="middle" isCheckable="false" isEnforceable="true" typedModel="#qT..umlRdbms.middle">
- <guardPattern>
- <variable xmi:id="qV..umlRdbms.booleanToBoolean_LM.middle.guard.p2s" name="p2s" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"/>
- </guardPattern>
- <bottomPattern>
- <realizedVariable xmi:id="qV..umlRdbms.booleanToBoolean_LM.middle.bottom.p2n" name="p2n" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.BooleanToBoolean"/>
- </bottomPattern>
- </domain>
- <guardPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.PackageToSchema.umlPackage">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredVariable="#qV..umlRdbms.booleanToBoolean_LM.middle.guard.p2s"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredVariable="#qV..umlRdbms.booleanToBoolean_LM.uml.guard.p"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType" referredVariable="#qV..umlRdbms.booleanToBoolean_LM.uml.guard.prim"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:StringLiteralExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="Boolean"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.PackageElement.namespace">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType" referredVariable="#qV..umlRdbms.booleanToBoolean_LM.uml.guard.prim"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredVariable="#qV..umlRdbms.booleanToBoolean_LM.uml.guard.p"/>
- </conditionExpression>
- </predicate>
- </guardPattern>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.PrimitiveToName.primitive">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType" referredVariable="#qV..umlRdbms.booleanToBoolean_LM.uml.guard.prim"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PrimitiveToName"
- referredVariable="#qV..umlRdbms.booleanToBoolean_LM.middle.bottom.p2n"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.PrimitiveToName.owner">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema" referredVariable="#qV..umlRdbms.booleanToBoolean_LM.middle.guard.p2s"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PrimitiveToName"
- referredVariable="#qV..umlRdbms.booleanToBoolean_LM.middle.bottom.p2n"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.UmlToRdbmsModelElement.name">
- <value xsi:type="pivot:OperationCallExp" name="+" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%43%..ocl.String">
- <ownedSource xsi:type="pivot:OperationCallExp" name="+" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%43%..ocl.String">
- <ownedSource xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType" referredVariable="#qV..umlRdbms.booleanToBoolean_LM.uml.guard.prim"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:StringLiteralExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="2"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:StringLiteralExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="BOOLEAN"/>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.BooleanToBoolean"
- referredVariable="#qV..umlRdbms.booleanToBoolean_LM.middle.bottom.p2n"/>
- </assignment>
- </bottomPattern>
- <mappingStatement xsi:type="qvti:MappingSequence">
- <mappingStatements xsi:type="qvti:MappingCall" referredMapping="#m..umlRdbms.integerToNumber_LM">
- <binding boundVariable="#qV..umlRdbms.integerToNumber_LM.uml.guard.prim">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType" referredVariable="#qV..umlRdbms.booleanToBoolean_LM.uml.guard.prim"/>
- </binding>
- <binding boundVariable="#qV..umlRdbms.integerToNumber_LM.middle.guard.p2s">
- <value xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleuml.Package.middle">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.PackageElement.namespace">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType" referredVariable="#qV..umlRdbms.booleanToBoolean_LM.uml.guard.prim"/>
- </ownedSource>
- </value>
- </binding>
- <binding boundVariable="#qV..umlRdbms.integerToNumber_LM.uml.guard.p">
- <value xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.PackageElement.namespace">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType" referredVariable="#qV..umlRdbms.booleanToBoolean_LM.uml.guard.prim"/>
- </value>
- </binding>
- </mappingStatements>
- <mappingStatements xsi:type="qvti:MappingCall" referredMapping="#m..umlRdbms.stringToVarchar_LM">
- <binding boundVariable="#qV..umlRdbms.stringToVarchar_LM.middle.guard.p2s">
- <value xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleuml.Package.middle">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.PackageElement.namespace">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType" referredVariable="#qV..umlRdbms.booleanToBoolean_LM.uml.guard.prim"/>
- </ownedSource>
- </value>
- </binding>
- <binding boundVariable="#qV..umlRdbms.stringToVarchar_LM.uml.guard.prim">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType" referredVariable="#qV..umlRdbms.booleanToBoolean_LM.uml.guard.prim"/>
- </binding>
- <binding boundVariable="#qV..umlRdbms.stringToVarchar_LM.uml.guard.p">
- <value xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.PackageElement.namespace">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType" referredVariable="#qV..umlRdbms.booleanToBoolean_LM.uml.guard.prim"/>
- </value>
- </binding>
- </mappingStatements>
- <mappingStatements xsi:type="qvti:MappingCall" referredMapping="#m..umlRdbms.booleanToBoolean_MR">
- <binding boundVariable="#qV..umlRdbms.booleanToBoolean_MR.middle.guard.p2s">
- <value xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.PrimitiveToName.owner">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.BooleanToBoolean"
- referredVariable="#qV..umlRdbms.booleanToBoolean_LM.middle.bottom.p2n"/>
- </value>
- </binding>
- <binding boundVariable="#qV..umlRdbms.booleanToBoolean_MR.middle.guard.p2n">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.BooleanToBoolean"
- referredVariable="#qV..umlRdbms.booleanToBoolean_LM.middle.bottom.p2n"/>
- </binding>
- </mappingStatements>
- <mappingStatements xsi:type="qvti:MappingLoop">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="#//@ownedPackages.1/@ownedClasses.3" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Classifier.typeOpposite">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType" referredVariable="#qV..umlRdbms.booleanToBoolean_LM.uml.guard.prim"/>
- </ownedSource>
- <ownedBody xsi:type="qvti:MappingSequence">
- <mappingStatements xsi:type="qvti:MappingCall" referredMapping="#m..umlRdbms.classPrimitiveAttributes_LM">
- <binding boundVariable="#qV..umlRdbms.classPrimitiveAttributes_LM.middle.guard.fao">
- <value xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleuml.Class.middle">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Attribute.owner">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#i..umlRdbms.booleanToBoolean_LM.0.3.a"/>
- </ownedSource>
- </value>
- </binding>
- <binding boundVariable="#qV..umlRdbms.classPrimitiveAttributes_LM.middle.guard.p2n">
- <value xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PrimitiveToName"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleuml.PrimitiveDataType.middle">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType" referredVariable="#qV..umlRdbms.booleanToBoolean_LM.uml.guard.prim"/>
- </value>
- </binding>
- <binding boundVariable="#qV..umlRdbms.classPrimitiveAttributes_LM.uml.guard.c">
- <value xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Attribute.owner">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#i..umlRdbms.booleanToBoolean_LM.0.3.a"/>
- </value>
- </binding>
- <binding boundVariable="#qV..umlRdbms.classPrimitiveAttributes_LM.uml.guard.t">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType" referredVariable="#qV..umlRdbms.booleanToBoolean_LM.uml.guard.prim"/>
- </binding>
- <binding boundVariable="#qV..umlRdbms.classPrimitiveAttributes_LM.uml.guard.a">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#i..umlRdbms.booleanToBoolean_LM.0.3.a"/>
- </binding>
- </mappingStatements>
- </ownedBody>
- <ownedIterators xmi:id="i..umlRdbms.booleanToBoolean_LM.0.3.a" name="a" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute"/>
- </mappingStatements>
- <mappingStatements xsi:type="qvti:MappingLoop">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="#//@ownedPackages.1/@ownedClasses.3" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Classifier.typeOpposite">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType" referredVariable="#qV..umlRdbms.booleanToBoolean_LM.uml.guard.prim"/>
- </ownedSource>
- <ownedBody xsi:type="qvti:MappingSequence">
- <mappingStatements xsi:type="qvti:MappingLoop">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="#//@ownedPackages.1/@ownedClasses.3" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Classifier.typeOpposite">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Attribute.owner">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#i..umlRdbms.booleanToBoolean_LM.0.4.a"/>
- </ownedSource>
- </ownedSource>
- <ownedBody xsi:type="qvti:MappingSequence">
- <mappingStatements xsi:type="qvti:MappingCall" referredMapping="#m..umlRdbms.complexAttributePrimitiveAttributes_LM">
- <binding boundVariable="#qV..umlRdbms.complexAttributePrimitiveAttributes_LM.middle.guard.fao">
- <value xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttribute"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleuml.Attribute.middle">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#i..umlRdbms.booleanToBoolean_LM.0.4.0.0.ca"/>
- </value>
- </binding>
- <binding boundVariable="#qV..umlRdbms.complexAttributePrimitiveAttributes_LM.uml.guard.ca">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#i..umlRdbms.booleanToBoolean_LM.0.4.0.0.ca"/>
- </binding>
- <binding boundVariable="#qV..umlRdbms.complexAttributePrimitiveAttributes_LM.uml.guard.c">
- <value xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Attribute.owner">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#i..umlRdbms.booleanToBoolean_LM.0.4.a"/>
- </value>
- </binding>
- <binding boundVariable="#qV..umlRdbms.complexAttributePrimitiveAttributes_LM.middle.guard.p2n">
- <value xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PrimitiveToName"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleuml.PrimitiveDataType.middle">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType"
- referredVariable="#qV..umlRdbms.booleanToBoolean_LM.uml.guard.prim"/>
- </value>
- </binding>
- <binding boundVariable="#qV..umlRdbms.complexAttributePrimitiveAttributes_LM.uml.guard.a">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#i..umlRdbms.booleanToBoolean_LM.0.4.a"/>
- </binding>
- <binding boundVariable="#qV..umlRdbms.complexAttributePrimitiveAttributes_LM.uml.guard.t">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType" referredVariable="#qV..umlRdbms.booleanToBoolean_LM.uml.guard.prim"/>
- </binding>
- </mappingStatements>
- </ownedBody>
- <ownedIterators xmi:id="i..umlRdbms.booleanToBoolean_LM.0.4.0.0.ca" name="ca" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute"/>
- </mappingStatements>
- </ownedBody>
- <ownedIterators xmi:id="i..umlRdbms.booleanToBoolean_LM.0.4.a" name="a" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute"/>
- </mappingStatements>
- </mappingStatement>
- </rule>
- <rule xsi:type="qvti:Mapping" xmi:id="m..umlRdbms.booleanToBoolean_MR" name="booleanToBoolean_MR">
- <domain xsi:type="qvtcb:CoreDomain" name="rdbms" isCheckable="false" isEnforceable="true" typedModel="#qT..umlRdbms.rdbms">
- <guardPattern/>
- <bottomPattern>
- <variable xmi:id="qV..umlRdbms.booleanToBoolean_MR.rdbms.bottom.sqlType" name="sqlType" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String">
- <ownedInit xsi:type="pivot:StringLiteralExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="BOOLEAN"/>
- </variable>
- </bottomPattern>
- </domain>
- <domain xsi:type="qvtcb:CoreDomain" name="middle" isCheckable="true" isEnforceable="false" typedModel="#qT..umlRdbms.middle">
- <guardPattern>
- <variable xmi:id="qV..umlRdbms.booleanToBoolean_MR.middle.guard.p2s" name="p2s" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"/>
- <variable xmi:id="qV..umlRdbms.booleanToBoolean_MR.middle.guard.p2n" name="p2n" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.BooleanToBoolean"/>
- </guardPattern>
- <bottomPattern/>
- </domain>
- <guardPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.PrimitiveToName.owner">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PrimitiveToName"
- referredVariable="#qV..umlRdbms.booleanToBoolean_MR.middle.guard.p2n"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredVariable="#qV..umlRdbms.booleanToBoolean_MR.middle.guard.p2s"/>
- </conditionExpression>
- </predicate>
- </guardPattern>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.PrimitiveToName.typeName">
- <value xsi:type="pivot:VariableExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String" referredVariable="#qV..umlRdbms.booleanToBoolean_MR.rdbms.bottom.sqlType"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PrimitiveToName"
- referredVariable="#qV..umlRdbms.booleanToBoolean_MR.middle.guard.p2n"/>
- </assignment>
- </bottomPattern>
- </rule>
- <rule xsi:type="qvti:Mapping" xmi:id="m..umlRdbms.stringToVarchar_LM" name="stringToVarchar_LM">
- <domain xsi:type="qvtcb:CoreDomain" name="uml" isCheckable="true" isEnforceable="false" typedModel="#qT..umlRdbms.uml">
- <guardPattern>
- <variable xmi:id="qV..umlRdbms.stringToVarchar_LM.uml.guard.p" name="p" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package"/>
- <variable xmi:id="qV..umlRdbms.stringToVarchar_LM.uml.guard.prim" name="prim" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType"/>
- </guardPattern>
- <bottomPattern/>
- </domain>
- <domain xsi:type="qvtcb:CoreDomain" name="middle" isCheckable="false" isEnforceable="true" typedModel="#qT..umlRdbms.middle">
- <guardPattern>
- <variable xmi:id="qV..umlRdbms.stringToVarchar_LM.middle.guard.p2s" name="p2s" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"/>
- </guardPattern>
- <bottomPattern>
- <realizedVariable xmi:id="qV..umlRdbms.stringToVarchar_LM.middle.bottom.p2n" name="p2n" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.StringToVarchar"/>
- </bottomPattern>
- </domain>
- <guardPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.PackageToSchema.umlPackage">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredVariable="#qV..umlRdbms.stringToVarchar_LM.middle.guard.p2s"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredVariable="#qV..umlRdbms.stringToVarchar_LM.uml.guard.p"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.PackageElement.namespace">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType" referredVariable="#qV..umlRdbms.stringToVarchar_LM.uml.guard.prim"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredVariable="#qV..umlRdbms.stringToVarchar_LM.uml.guard.p"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType" referredVariable="#qV..umlRdbms.stringToVarchar_LM.uml.guard.prim"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:StringLiteralExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="String"/>
- </conditionExpression>
- </predicate>
- </guardPattern>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.PrimitiveToName.owner">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema" referredVariable="#qV..umlRdbms.stringToVarchar_LM.middle.guard.p2s"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PrimitiveToName"
- referredVariable="#qV..umlRdbms.stringToVarchar_LM.middle.bottom.p2n"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.PrimitiveToName.primitive">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType" referredVariable="#qV..umlRdbms.stringToVarchar_LM.uml.guard.prim"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PrimitiveToName"
- referredVariable="#qV..umlRdbms.stringToVarchar_LM.middle.bottom.p2n"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.UmlToRdbmsModelElement.name">
- <value xsi:type="pivot:OperationCallExp" name="+" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%43%..ocl.String">
- <ownedSource xsi:type="pivot:OperationCallExp" name="+" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%43%..ocl.String">
- <ownedSource xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType" referredVariable="#qV..umlRdbms.stringToVarchar_LM.uml.guard.prim"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:StringLiteralExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="2"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:StringLiteralExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="VARCHAR"/>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.StringToVarchar"
- referredVariable="#qV..umlRdbms.stringToVarchar_LM.middle.bottom.p2n"/>
- </assignment>
- </bottomPattern>
- </rule>
- <rule xsi:type="qvti:Mapping" xmi:id="m..umlRdbms.stringToVarchar_MR" name="stringToVarchar_MR">
- <domain xsi:type="qvtcb:CoreDomain" name="rdbms" isCheckable="false" isEnforceable="true" typedModel="#qT..umlRdbms.rdbms">
- <guardPattern/>
- <bottomPattern>
- <variable xmi:id="qV..umlRdbms.stringToVarchar_MR.rdbms.bottom.sqlType" name="sqlType" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String">
- <ownedInit xsi:type="pivot:StringLiteralExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="VARCHAR"/>
- </variable>
- </bottomPattern>
- </domain>
- <domain xsi:type="qvtcb:CoreDomain" name="middle" isCheckable="true" isEnforceable="false" typedModel="#qT..umlRdbms.middle">
- <guardPattern>
- <variable xmi:id="qV..umlRdbms.stringToVarchar_MR.middle.guard.p2s" name="p2s" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"/>
- <variable xmi:id="qV..umlRdbms.stringToVarchar_MR.middle.guard.p2n" name="p2n" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.StringToVarchar"/>
- </guardPattern>
- <bottomPattern/>
- </domain>
- <guardPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.PrimitiveToName.owner">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PrimitiveToName"
- referredVariable="#qV..umlRdbms.stringToVarchar_MR.middle.guard.p2n"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredVariable="#qV..umlRdbms.stringToVarchar_MR.middle.guard.p2s"/>
- </conditionExpression>
- </predicate>
- </guardPattern>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.PrimitiveToName.typeName">
- <value xsi:type="pivot:VariableExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String" referredVariable="#qV..umlRdbms.stringToVarchar_MR.rdbms.bottom.sqlType"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PrimitiveToName"
- referredVariable="#qV..umlRdbms.stringToVarchar_MR.middle.guard.p2n"/>
- </assignment>
- </bottomPattern>
- </rule>
- <rule xsi:type="qvti:Mapping" xmi:id="m..umlRdbms.classToTable_LM" name="classToTable_LM">
- <domain xsi:type="qvtcb:CoreDomain" name="uml" isCheckable="true" isEnforceable="false" typedModel="#qT..umlRdbms.uml">
- <guardPattern>
- <variable xmi:id="qV..umlRdbms.classToTable_LM.uml.guard.p" name="p" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package"/>
- <variable xmi:id="qV..umlRdbms.classToTable_LM.uml.guard.c" name="c" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class"/>
- </guardPattern>
- <bottomPattern/>
- </domain>
- <domain xsi:type="qvtcb:CoreDomain" name="middle" isCheckable="false" isEnforceable="true" typedModel="#qT..umlRdbms.middle">
- <guardPattern>
- <variable xmi:id="qV..umlRdbms.classToTable_LM.middle.guard.p2s" name="p2s" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"/>
- </guardPattern>
- <bottomPattern>
- <realizedVariable xmi:id="qV..umlRdbms.classToTable_LM.middle.bottom.c2t" name="c2t" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"/>
- </bottomPattern>
- </domain>
- <guardPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.PackageToSchema.umlPackage">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredVariable="#qV..umlRdbms.classToTable_LM.middle.guard.p2s"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredVariable="#qV..umlRdbms.classToTable_LM.uml.guard.p"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.kind">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredVariable="#qV..umlRdbms.classToTable_LM.uml.guard.c"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:StringLiteralExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="persistent"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.PackageElement.namespace">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredVariable="#qV..umlRdbms.classToTable_LM.uml.guard.c"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredVariable="#qV..umlRdbms.classToTable_LM.uml.guard.p"/>
- </conditionExpression>
- </predicate>
- </guardPattern>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.UmlToRdbmsModelElement.name">
- <value xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredVariable="#qV..umlRdbms.classToTable_LM.uml.guard.c"/>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"
- referredVariable="#qV..umlRdbms.classToTable_LM.middle.bottom.c2t"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.ClassToTable.owner">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema" referredVariable="#qV..umlRdbms.classToTable_LM.middle.guard.p2s"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"
- referredVariable="#qV..umlRdbms.classToTable_LM.middle.bottom.c2t"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.ClassToTable.umlClass">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredVariable="#qV..umlRdbms.classToTable_LM.uml.guard.c"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"
- referredVariable="#qV..umlRdbms.classToTable_LM.middle.bottom.c2t"/>
- </assignment>
- </bottomPattern>
- <mappingStatement xsi:type="qvti:MappingSequence">
- <mappingStatements xsi:type="qvti:MappingCall" referredMapping="#m..umlRdbms.classToTable_MR">
- <binding boundVariable="#qV..umlRdbms.classToTable_MR.middle.guard.p2s">
- <value xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.ClassToTable.owner">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"
- referredVariable="#qV..umlRdbms.classToTable_LM.middle.bottom.c2t"/>
- </value>
- </binding>
- <binding boundVariable="#qV..umlRdbms.classToTable_MR.rdbms.guard.s">
- <value xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Schema" referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.PackageToSchema.schema">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.ClassToTable.owner">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"
- referredVariable="#qV..umlRdbms.classToTable_LM.middle.bottom.c2t"/>
- </ownedSource>
- </value>
- </binding>
- <binding boundVariable="#qV..umlRdbms.classToTable_MR.middle.guard.c2t">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable" referredVariable="#qV..umlRdbms.classToTable_LM.middle.bottom.c2t"/>
- </binding>
- </mappingStatements>
- </mappingStatement>
- </rule>
- <rule xsi:type="qvti:Mapping" xmi:id="m..umlRdbms.classToTable_MR" name="classToTable_MR">
- <domain xsi:type="qvtcb:CoreDomain" name="rdbms" isCheckable="false" isEnforceable="true" typedModel="#qT..umlRdbms.rdbms">
- <guardPattern>
- <variable xmi:id="qV..umlRdbms.classToTable_MR.rdbms.guard.s" name="s" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Schema"/>
- </guardPattern>
- <bottomPattern>
- <realizedVariable xmi:id="qV..umlRdbms.classToTable_MR.rdbms.bottom.t" name="t" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Table"/>
- <realizedVariable xmi:id="qV..umlRdbms.classToTable_MR.rdbms.bottom.pk" name="pk" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Key"/>
- <realizedVariable xmi:id="qV..umlRdbms.classToTable_MR.rdbms.bottom.pc" name="pc" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Column"/>
- </bottomPattern>
- </domain>
- <domain xsi:type="qvtcb:CoreDomain" name="middle" isCheckable="true" isEnforceable="false" typedModel="#qT..umlRdbms.middle">
- <guardPattern>
- <variable xmi:id="qV..umlRdbms.classToTable_MR.middle.guard.p2s" name="p2s" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"/>
- <variable xmi:id="qV..umlRdbms.classToTable_MR.middle.guard.c2t" name="c2t" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"/>
- </guardPattern>
- <bottomPattern/>
- </domain>
- <guardPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Schema" referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.PackageToSchema.schema">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredVariable="#qV..umlRdbms.classToTable_MR.middle.guard.p2s"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Schema" referredVariable="#qV..umlRdbms.classToTable_MR.rdbms.guard.s"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.ClassToTable.owner">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"
- referredVariable="#qV..umlRdbms.classToTable_MR.middle.guard.c2t"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredVariable="#qV..umlRdbms.classToTable_MR.middle.guard.p2s"/>
- </conditionExpression>
- </predicate>
- </guardPattern>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.ClassToTable.table">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Table" referredVariable="#qV..umlRdbms.classToTable_MR.rdbms.bottom.t"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"
- referredVariable="#qV..umlRdbms.classToTable_MR.middle.guard.c2t"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.RModelElement.name">
- <value xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.UmlToRdbmsModelElement.name">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"
- referredVariable="#qV..umlRdbms.classToTable_MR.middle.guard.c2t"/>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Table" referredVariable="#qV..umlRdbms.classToTable_MR.rdbms.bottom.t"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.ClassToTable.primaryKey">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Key" referredVariable="#qV..umlRdbms.classToTable_MR.rdbms.bottom.pk"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"
- referredVariable="#qV..umlRdbms.classToTable_MR.middle.guard.c2t"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.ToColumn.column">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Column" referredVariable="#qV..umlRdbms.classToTable_MR.rdbms.bottom.pc"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"
- referredVariable="#qV..umlRdbms.classToTable_MR.middle.guard.c2t"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="true" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.RModelElement.kind">
- <value xsi:type="pivot:StringLiteralExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String" stringSymbol="base"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Table" referredVariable="#qV..umlRdbms.classToTable_MR.rdbms.bottom.t"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.Table.schema">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Schema" referredVariable="#qV..umlRdbms.classToTable_MR.rdbms.guard.s"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Table" referredVariable="#qV..umlRdbms.classToTable_MR.rdbms.bottom.t"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.Key.owner">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Table" referredVariable="#qV..umlRdbms.classToTable_MR.rdbms.bottom.t"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Key" referredVariable="#qV..umlRdbms.classToTable_MR.rdbms.bottom.pk"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.RModelElement.kind">
- <value xsi:type="pivot:StringLiteralExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String" stringSymbol="primary"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Key" referredVariable="#qV..umlRdbms.classToTable_MR.rdbms.bottom.pk"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.Column.owner">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Table" referredVariable="#qV..umlRdbms.classToTable_MR.rdbms.bottom.t"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Column" referredVariable="#qV..umlRdbms.classToTable_MR.rdbms.bottom.pc"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="true" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.Column.keys">
- <value xsi:type="pivot:CollectionLiteralExp" type="#//@ownedPackages.1/@ownedClasses.4" kind="Set">
- <ownedParts xsi:type="pivot:CollectionItem" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Key">
- <ownedItem xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Key" referredVariable="#qV..umlRdbms.classToTable_MR.rdbms.bottom.pk"/>
- </ownedParts>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Column" referredVariable="#qV..umlRdbms.classToTable_MR.rdbms.bottom.pc"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="true" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.Column.type">
- <value xsi:type="pivot:StringLiteralExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String" stringSymbol="NUMBER"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Column" referredVariable="#qV..umlRdbms.classToTable_MR.rdbms.bottom.pc"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.RModelElement.name">
- <value xsi:type="pivot:OperationCallExp" name="+" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%43%..ocl.String">
- <ownedSource xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.RModelElement.name">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Table" referredVariable="#qV..umlRdbms.classToTable_MR.rdbms.bottom.t"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:StringLiteralExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="_tid"/>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Column" referredVariable="#qV..umlRdbms.classToTable_MR.rdbms.bottom.pc"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.RModelElement.name">
- <value xsi:type="pivot:OperationCallExp" name="+" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%43%..ocl.String">
- <ownedSource xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.RModelElement.name">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Table" referredVariable="#qV..umlRdbms.classToTable_MR.rdbms.bottom.t"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:StringLiteralExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="_pk"/>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Key" referredVariable="#qV..umlRdbms.classToTable_MR.rdbms.bottom.pk"/>
- </assignment>
- </bottomPattern>
- </rule>
- <rule xsi:type="qvti:Mapping" xmi:id="m..umlRdbms.associationToForeignKey_LM" name="associationToForeignKey_LM">
- <domain xsi:type="qvtcb:CoreDomain" name="uml" isCheckable="true" isEnforceable="false" typedModel="#qT..umlRdbms.uml">
- <guardPattern>
- <variable xmi:id="qV..umlRdbms.associationToForeignKey_LM.uml.guard.p" name="p" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package"/>
- <variable xmi:id="qV..umlRdbms.associationToForeignKey_LM.uml.guard.sc" name="sc" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class"/>
- <variable xmi:id="qV..umlRdbms.associationToForeignKey_LM.uml.guard.dc" name="dc" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class"/>
- <variable xmi:id="qV..umlRdbms.associationToForeignKey_LM.uml.guard.a" name="a" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Association"/>
- </guardPattern>
- <bottomPattern/>
- </domain>
- <domain xsi:type="qvtcb:CoreDomain" name="middle" isCheckable="false" isEnforceable="true" typedModel="#qT..umlRdbms.middle">
- <guardPattern>
- <variable xmi:id="qV..umlRdbms.associationToForeignKey_LM.middle.guard.p2s" name="p2s" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"/>
- <variable xmi:id="qV..umlRdbms.associationToForeignKey_LM.middle.guard.sc2t" name="sc2t" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"/>
- <variable xmi:id="qV..umlRdbms.associationToForeignKey_LM.middle.guard.dc2t" name="dc2t" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"/>
- </guardPattern>
- <bottomPattern>
- <realizedVariable xmi:id="qV..umlRdbms.associationToForeignKey_LM.middle.bottom.a2f" name="a2f" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AssociationToForeignKey"/>
- </bottomPattern>
- </domain>
- <guardPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.ClassToTable.umlClass">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"
- referredVariable="#qV..umlRdbms.associationToForeignKey_LM.middle.guard.dc2t"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredVariable="#qV..umlRdbms.associationToForeignKey_LM.uml.guard.dc"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.ClassToTable.umlClass">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"
- referredVariable="#qV..umlRdbms.associationToForeignKey_LM.middle.guard.sc2t"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredVariable="#qV..umlRdbms.associationToForeignKey_LM.uml.guard.sc"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.ClassToTable.owner">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"
- referredVariable="#qV..umlRdbms.associationToForeignKey_LM.middle.guard.sc2t"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredVariable="#qV..umlRdbms.associationToForeignKey_LM.middle.guard.p2s"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.PackageToSchema.umlPackage">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredVariable="#qV..umlRdbms.associationToForeignKey_LM.middle.guard.p2s"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredVariable="#qV..umlRdbms.associationToForeignKey_LM.uml.guard.p"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Association.source">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Association" referredVariable="#qV..umlRdbms.associationToForeignKey_LM.uml.guard.a"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredVariable="#qV..umlRdbms.associationToForeignKey_LM.uml.guard.sc"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.PackageElement.namespace">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Association" referredVariable="#qV..umlRdbms.associationToForeignKey_LM.uml.guard.a"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredVariable="#qV..umlRdbms.associationToForeignKey_LM.uml.guard.p"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Association.destination">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Association" referredVariable="#qV..umlRdbms.associationToForeignKey_LM.uml.guard.a"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredVariable="#qV..umlRdbms.associationToForeignKey_LM.uml.guard.dc"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.PackageElement.namespace">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredVariable="#qV..umlRdbms.associationToForeignKey_LM.uml.guard.sc"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredVariable="#qV..umlRdbms.associationToForeignKey_LM.uml.guard.p"/>
- </conditionExpression>
- </predicate>
- </guardPattern>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.AssociationToForeignKey.association">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Association" referredVariable="#qV..umlRdbms.associationToForeignKey_LM.uml.guard.a"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AssociationToForeignKey"
- referredVariable="#qV..umlRdbms.associationToForeignKey_LM.middle.bottom.a2f"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.UmlToRdbmsModelElement.name">
- <value xsi:type="pivot:IfExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String">
- <ownedCondition xsi:type="pivot:OperationCallExp" name="and" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.Boolean.and..ocl.Boolean">
- <ownedSource xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Association.destination">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Association" referredVariable="#qV..umlRdbms.associationToForeignKey_LM.uml.guard.a"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredVariable="#qV..umlRdbms.associationToForeignKey_LM.uml.guard.dc"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Association.source">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Association" referredVariable="#qV..umlRdbms.associationToForeignKey_LM.uml.guard.a"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredVariable="#qV..umlRdbms.associationToForeignKey_LM.uml.guard.sc"/>
- </ownedArguments>
- </ownedCondition>
- <ownedElse xsi:type="pivot:IfExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String">
- <ownedCondition xsi:type="pivot:OperationCallExp" name="and" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.Boolean.and..ocl.Boolean">
- <ownedSource xsi:type="pivot:OperationCallExp" name="&lt;>" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%60%%62%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Association.destination">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Association" referredVariable="#qV..umlRdbms.associationToForeignKey_LM.uml.guard.a"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredVariable="#qV..umlRdbms.associationToForeignKey_LM.uml.guard.dc"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Association.source">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Association" referredVariable="#qV..umlRdbms.associationToForeignKey_LM.uml.guard.a"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredVariable="#qV..umlRdbms.associationToForeignKey_LM.uml.guard.sc"/>
- </ownedArguments>
- </ownedCondition>
- <ownedElse xsi:type="pivot:IfExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String">
- <ownedCondition xsi:type="pivot:OperationCallExp" name="and" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.Boolean.and..ocl.Boolean">
- <ownedSource xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Association.destination">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Association" referredVariable="#qV..umlRdbms.associationToForeignKey_LM.uml.guard.a"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredVariable="#qV..umlRdbms.associationToForeignKey_LM.uml.guard.dc"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:OperationCallExp" name="&lt;>" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%60%%62%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Association.source">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Association" referredVariable="#qV..umlRdbms.associationToForeignKey_LM.uml.guard.a"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredVariable="#qV..umlRdbms.associationToForeignKey_LM.uml.guard.sc"/>
- </ownedArguments>
- </ownedCondition>
- <ownedElse xsi:type="pivot:OperationCallExp" name="+" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%43%..ocl.String">
- <ownedSource xsi:type="pivot:OperationCallExp" name="+" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%43%..ocl.String">
- <ownedSource xsi:type="pivot:OperationCallExp" name="+" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%43%..ocl.String">
- <ownedSource xsi:type="pivot:OperationCallExp" name="+" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%43%..ocl.String">
- <ownedSource xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredVariable="#qV..umlRdbms.associationToForeignKey_LM.uml.guard.dc"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:StringLiteralExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="_"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Association" referredVariable="#qV..umlRdbms.associationToForeignKey_LM.uml.guard.a"/>
- </ownedArguments>
- </ownedSource>
- <ownedArguments xsi:type="pivot:StringLiteralExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="_"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredVariable="#qV..umlRdbms.associationToForeignKey_LM.uml.guard.sc"/>
- </ownedArguments>
- </ownedElse>
- <ownedThen xsi:type="pivot:OperationCallExp" name="+" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%43%..ocl.String">
- <ownedSource xsi:type="pivot:OperationCallExp" name="+" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%43%..ocl.String">
- <ownedSource xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Association" referredVariable="#qV..umlRdbms.associationToForeignKey_LM.uml.guard.a"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:StringLiteralExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="_"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredVariable="#qV..umlRdbms.associationToForeignKey_LM.uml.guard.sc"/>
- </ownedArguments>
- </ownedThen>
- </ownedElse>
- <ownedThen xsi:type="pivot:OperationCallExp" name="+" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%43%..ocl.String">
- <ownedSource xsi:type="pivot:OperationCallExp" name="+" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%43%..ocl.String">
- <ownedSource xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredVariable="#qV..umlRdbms.associationToForeignKey_LM.uml.guard.dc"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:StringLiteralExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="_"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Association" referredVariable="#qV..umlRdbms.associationToForeignKey_LM.uml.guard.a"/>
- </ownedArguments>
- </ownedThen>
- </ownedElse>
- <ownedThen xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Association" referredVariable="#qV..umlRdbms.associationToForeignKey_LM.uml.guard.a"/>
- </ownedThen>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AssociationToForeignKey"
- referredVariable="#qV..umlRdbms.associationToForeignKey_LM.middle.bottom.a2f"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.AssociationToForeignKey.owner">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable" referredVariable="#qV..umlRdbms.associationToForeignKey_LM.middle.guard.sc2t"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AssociationToForeignKey"
- referredVariable="#qV..umlRdbms.associationToForeignKey_LM.middle.bottom.a2f"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.AssociationToForeignKey.referenced">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable" referredVariable="#qV..umlRdbms.associationToForeignKey_LM.middle.guard.dc2t"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AssociationToForeignKey"
- referredVariable="#qV..umlRdbms.associationToForeignKey_LM.middle.bottom.a2f"/>
- </assignment>
- </bottomPattern>
- </rule>
- <rule xsi:type="qvti:Mapping" xmi:id="m..umlRdbms.associationToForeignKey_MR" name="associationToForeignKey_MR">
- <domain xsi:type="qvtcb:CoreDomain" name="rdbms" isCheckable="false" isEnforceable="true" typedModel="#qT..umlRdbms.rdbms">
- <guardPattern>
- <variable xmi:id="qV..umlRdbms.associationToForeignKey_MR.rdbms.guard.s" name="s" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Schema"/>
- <variable xmi:id="qV..umlRdbms.associationToForeignKey_MR.rdbms.guard.st" name="st" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Table"/>
- <variable xmi:id="qV..umlRdbms.associationToForeignKey_MR.rdbms.guard.dt" name="dt" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Table"/>
- <variable xmi:id="qV..umlRdbms.associationToForeignKey_MR.rdbms.guard.rk" name="rk" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Key"/>
- </guardPattern>
- <bottomPattern>
- <realizedVariable xmi:id="qV..umlRdbms.associationToForeignKey_MR.rdbms.bottom.fk" name="fk" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.ForeignKey"/>
- <realizedVariable xmi:id="qV..umlRdbms.associationToForeignKey_MR.rdbms.bottom.fc" name="fc" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Column"/>
- </bottomPattern>
- </domain>
- <domain xsi:type="qvtcb:CoreDomain" name="middle" isCheckable="true" isEnforceable="false" typedModel="#qT..umlRdbms.middle">
- <guardPattern>
- <variable xmi:id="qV..umlRdbms.associationToForeignKey_MR.middle.guard.p2s" name="p2s" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"/>
- <variable xmi:id="qV..umlRdbms.associationToForeignKey_MR.middle.guard.sc2t" name="sc2t" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"/>
- <variable xmi:id="qV..umlRdbms.associationToForeignKey_MR.middle.guard.dc2t" name="dc2t" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"/>
- <variable xmi:id="qV..umlRdbms.associationToForeignKey_MR.middle.guard.a2f" name="a2f" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AssociationToForeignKey"/>
- </guardPattern>
- <bottomPattern/>
- </domain>
- <guardPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Table"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.ClassToTable.table">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"
- referredVariable="#qV..umlRdbms.associationToForeignKey_MR.middle.guard.sc2t"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Table" referredVariable="#qV..umlRdbms.associationToForeignKey_MR.rdbms.guard.st"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.ClassToTable.owner">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"
- referredVariable="#qV..umlRdbms.associationToForeignKey_MR.middle.guard.sc2t"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredVariable="#qV..umlRdbms.associationToForeignKey_MR.middle.guard.p2s"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Schema" referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.PackageToSchema.schema">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredVariable="#qV..umlRdbms.associationToForeignKey_MR.middle.guard.p2s"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Schema" referredVariable="#qV..umlRdbms.associationToForeignKey_MR.rdbms.guard.s"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Table"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.ClassToTable.table">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"
- referredVariable="#qV..umlRdbms.associationToForeignKey_MR.middle.guard.dc2t"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Table" referredVariable="#qV..umlRdbms.associationToForeignKey_MR.rdbms.guard.dt"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.AssociationToForeignKey.owner">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AssociationToForeignKey"
- referredVariable="#qV..umlRdbms.associationToForeignKey_MR.middle.guard.a2f"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"
- referredVariable="#qV..umlRdbms.associationToForeignKey_MR.middle.guard.sc2t"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.AssociationToForeignKey.referenced">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AssociationToForeignKey"
- referredVariable="#qV..umlRdbms.associationToForeignKey_MR.middle.guard.a2f"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"
- referredVariable="#qV..umlRdbms.associationToForeignKey_MR.middle.guard.dc2t"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.RModelElement.kind">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Key" referredVariable="#qV..umlRdbms.associationToForeignKey_MR.rdbms.guard.rk"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:StringLiteralExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="primary"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Table" referredProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.Key.owner">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Key" referredVariable="#qV..umlRdbms.associationToForeignKey_MR.rdbms.guard.rk"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Table" referredVariable="#qV..umlRdbms.associationToForeignKey_MR.rdbms.guard.dt"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Schema" referredProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.Table.schema">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Table" referredVariable="#qV..umlRdbms.associationToForeignKey_MR.rdbms.guard.st"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Schema" referredVariable="#qV..umlRdbms.associationToForeignKey_MR.rdbms.guard.s"/>
- </conditionExpression>
- </predicate>
- </guardPattern>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.ToColumn.column">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Column" referredVariable="#qV..umlRdbms.associationToForeignKey_MR.rdbms.bottom.fc"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AssociationToForeignKey"
- referredVariable="#qV..umlRdbms.associationToForeignKey_MR.middle.guard.a2f"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.Column.type">
- <value xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.Column.type">
- <ownedSource xsi:type="pivot:OperationCallExp" isRequired="false" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Column"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OrderedCollection.first">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="#//@ownedPackages.1/@ownedClasses.5" referredProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.Key.column">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Key" referredVariable="#qV..umlRdbms.associationToForeignKey_MR.rdbms.guard.rk"/>
- </ownedSource>
- </ownedSource>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Column" referredVariable="#qV..umlRdbms.associationToForeignKey_MR.rdbms.bottom.fc"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.AssociationToForeignKey.foreignKey">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.ForeignKey" referredVariable="#qV..umlRdbms.associationToForeignKey_MR.rdbms.bottom.fk"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AssociationToForeignKey"
- referredVariable="#qV..umlRdbms.associationToForeignKey_MR.middle.guard.a2f"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.RModelElement.name">
- <value xsi:type="pivot:OperationCallExp" name="+" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%43%..ocl.String">
- <ownedSource xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.UmlToRdbmsModelElement.name">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AssociationToForeignKey"
- referredVariable="#qV..umlRdbms.associationToForeignKey_MR.middle.guard.a2f"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:StringLiteralExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="_tid"/>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Column" referredVariable="#qV..umlRdbms.associationToForeignKey_MR.rdbms.bottom.fc"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.RModelElement.name">
- <value xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.UmlToRdbmsModelElement.name">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AssociationToForeignKey"
- referredVariable="#qV..umlRdbms.associationToForeignKey_MR.middle.guard.a2f"/>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.ForeignKey" referredVariable="#qV..umlRdbms.associationToForeignKey_MR.rdbms.bottom.fk"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.ForeignKey.owner">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Table" referredVariable="#qV..umlRdbms.associationToForeignKey_MR.rdbms.guard.st"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.ForeignKey" referredVariable="#qV..umlRdbms.associationToForeignKey_MR.rdbms.bottom.fk"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.Column.owner">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Table" referredVariable="#qV..umlRdbms.associationToForeignKey_MR.rdbms.guard.st"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Column" referredVariable="#qV..umlRdbms.associationToForeignKey_MR.rdbms.bottom.fc"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.ForeignKey.refersTo">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Key" referredVariable="#qV..umlRdbms.associationToForeignKey_MR.rdbms.guard.rk"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.ForeignKey" referredVariable="#qV..umlRdbms.associationToForeignKey_MR.rdbms.bottom.fk"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="true" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.Column.foreignKeys">
- <value xsi:type="pivot:CollectionLiteralExp" type="#//@ownedPackages.1/@ownedClasses.6" kind="Set">
- <ownedParts xsi:type="pivot:CollectionItem" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.ForeignKey">
- <ownedItem xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.ForeignKey" referredVariable="#qV..umlRdbms.associationToForeignKey_MR.rdbms.bottom.fk"/>
- </ownedParts>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Column" referredVariable="#qV..umlRdbms.associationToForeignKey_MR.rdbms.bottom.fc"/>
- </assignment>
- </bottomPattern>
- </rule>
- <rule xsi:type="qvti:Mapping" xmi:id="m..umlRdbms.classPrimitiveAttributes_LM" name="classPrimitiveAttributes_LM">
- <domain xsi:type="qvtcb:CoreDomain" name="uml" isCheckable="true" isEnforceable="false" typedModel="#qT..umlRdbms.uml">
- <guardPattern>
- <variable xmi:id="qV..umlRdbms.classPrimitiveAttributes_LM.uml.guard.t" name="t" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType"/>
- <variable xmi:id="qV..umlRdbms.classPrimitiveAttributes_LM.uml.guard.c" name="c" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class"/>
- <variable xmi:id="qV..umlRdbms.classPrimitiveAttributes_LM.uml.guard.a" name="a" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute"/>
- </guardPattern>
- <bottomPattern/>
- </domain>
- <domain xsi:type="qvtcb:CoreDomain" name="middle" isCheckable="false" isEnforceable="true" typedModel="#qT..umlRdbms.middle">
- <guardPattern>
- <variable xmi:id="qV..umlRdbms.classPrimitiveAttributes_LM.middle.guard.fao" name="fao" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"/>
- <variable xmi:id="qV..umlRdbms.classPrimitiveAttributes_LM.middle.guard.p2n" name="p2n" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PrimitiveToName"/>
- </guardPattern>
- <bottomPattern>
- <realizedVariable xmi:id="qV..umlRdbms.classPrimitiveAttributes_LM.middle.bottom.fa" name="fa" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn"/>
- </bottomPattern>
- </domain>
- <guardPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType" referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.PrimitiveToName.primitive">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PrimitiveToName"
- referredVariable="#qV..umlRdbms.classPrimitiveAttributes_LM.middle.guard.p2n"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType" referredVariable="#qV..umlRdbms.classPrimitiveAttributes_LM.uml.guard.t"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.ClassToTable.umlClass">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"
- referredVariable="#qV..umlRdbms.classPrimitiveAttributes_LM.middle.guard.fao"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredVariable="#qV..umlRdbms.classPrimitiveAttributes_LM.uml.guard.c"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Classifier" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Attribute.type">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#qV..umlRdbms.classPrimitiveAttributes_LM.uml.guard.a"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType" referredVariable="#qV..umlRdbms.classPrimitiveAttributes_LM.uml.guard.t"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Attribute.owner">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#qV..umlRdbms.classPrimitiveAttributes_LM.uml.guard.a"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredVariable="#qV..umlRdbms.classPrimitiveAttributes_LM.uml.guard.c"/>
- </conditionExpression>
- </predicate>
- </guardPattern>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.FromAttribute.attribute">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#qV..umlRdbms.classPrimitiveAttributes_LM.uml.guard.a"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttribute"
- referredVariable="#qV..umlRdbms.classPrimitiveAttributes_LM.middle.bottom.fa"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.FromAttribute.leafs">
- <value xsi:type="pivot:CollectionLiteralExp" type="#//@ownedPackages.1/@ownedClasses.7" kind="Set">
- <ownedParts xsi:type="pivot:CollectionItem" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn">
- <ownedItem xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn"
- referredVariable="#qV..umlRdbms.classPrimitiveAttributes_LM.middle.bottom.fa"/>
- </ownedParts>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn"
- referredVariable="#qV..umlRdbms.classPrimitiveAttributes_LM.middle.bottom.fa"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.UmlToRdbmsModelElement.name">
- <value xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#qV..umlRdbms.classPrimitiveAttributes_LM.uml.guard.a"/>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttribute"
- referredVariable="#qV..umlRdbms.classPrimitiveAttributes_LM.middle.bottom.fa"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.FromAttribute.kind">
- <value xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.kind">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#qV..umlRdbms.classPrimitiveAttributes_LM.uml.guard.a"/>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttribute"
- referredVariable="#qV..umlRdbms.classPrimitiveAttributes_LM.middle.bottom.fa"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.FromAttribute.owner">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttributeOwner"
- referredVariable="#qV..umlRdbms.classPrimitiveAttributes_LM.middle.guard.fao"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttribute"
- referredVariable="#qV..umlRdbms.classPrimitiveAttributes_LM.middle.bottom.fa"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.AttributeToColumn.type">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PrimitiveToName" referredVariable="#qV..umlRdbms.classPrimitiveAttributes_LM.middle.guard.p2n"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn"
- referredVariable="#qV..umlRdbms.classPrimitiveAttributes_LM.middle.bottom.fa"/>
- </assignment>
- </bottomPattern>
- </rule>
- <rule xsi:type="qvti:Mapping" xmi:id="m..umlRdbms.classComplexAttributes_LM" name="classComplexAttributes_LM">
- <domain xsi:type="qvtcb:CoreDomain" name="uml" isCheckable="true" isEnforceable="false" typedModel="#qT..umlRdbms.uml">
- <guardPattern>
- <variable xmi:id="qV..umlRdbms.classComplexAttributes_LM.uml.guard.t" name="t" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class"/>
- <variable xmi:id="qV..umlRdbms.classComplexAttributes_LM.uml.guard.c" name="c" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class"/>
- <variable xmi:id="qV..umlRdbms.classComplexAttributes_LM.uml.guard.a" name="a" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute"/>
- </guardPattern>
- <bottomPattern/>
- </domain>
- <domain xsi:type="qvtcb:CoreDomain" name="middle" isCheckable="false" isEnforceable="true" typedModel="#qT..umlRdbms.middle">
- <guardPattern>
- <variable xmi:id="qV..umlRdbms.classComplexAttributes_LM.middle.guard.fao" name="fao" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"/>
- </guardPattern>
- <bottomPattern>
- <realizedVariable xmi:id="qV..umlRdbms.classComplexAttributes_LM.middle.bottom.fa" name="fa" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.NonLeafAttribute"/>
- </bottomPattern>
- </domain>
- <guardPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.ClassToTable.umlClass">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"
- referredVariable="#qV..umlRdbms.classComplexAttributes_LM.middle.guard.fao"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredVariable="#qV..umlRdbms.classComplexAttributes_LM.uml.guard.c"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Classifier" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Attribute.type">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#qV..umlRdbms.classComplexAttributes_LM.uml.guard.a"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredVariable="#qV..umlRdbms.classComplexAttributes_LM.uml.guard.t"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Attribute.owner">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#qV..umlRdbms.classComplexAttributes_LM.uml.guard.a"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredVariable="#qV..umlRdbms.classComplexAttributes_LM.uml.guard.c"/>
- </conditionExpression>
- </predicate>
- </guardPattern>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.UmlToRdbmsModelElement.name">
- <value xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#qV..umlRdbms.classComplexAttributes_LM.uml.guard.a"/>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttribute"
- referredVariable="#qV..umlRdbms.classComplexAttributes_LM.middle.bottom.fa"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.FromAttribute.kind">
- <value xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.kind">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#qV..umlRdbms.classComplexAttributes_LM.uml.guard.a"/>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttribute"
- referredVariable="#qV..umlRdbms.classComplexAttributes_LM.middle.bottom.fa"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.FromAttribute.owner">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttributeOwner"
- referredVariable="#qV..umlRdbms.classComplexAttributes_LM.middle.guard.fao"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttribute"
- referredVariable="#qV..umlRdbms.classComplexAttributes_LM.middle.bottom.fa"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.FromAttribute.leafs">
- <value xsi:type="pivot:IteratorExp" name="collect" type="#//@ownedPackages.1/@ownedClasses.8" isImplicit="true" referredIteration="http://www.eclipse.org/ocl/2015/Library.oclas#i.ocl.Set.collect..T">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="#//@ownedPackages.1/@ownedClasses.9" referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.FromAttributeOwner.fromAttributes">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttributeOwner"
- referredVariable="#qV..umlRdbms.classComplexAttributes_LM.middle.guard.fao"/>
- </ownedSource>
- <ownedBody xsi:type="pivot:PropertyCallExp" type="#//@ownedPackages.1/@ownedClasses.7" referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.FromAttribute.leafs">
- <ownedSource xsi:type="pivot:VariableExp" isRequired="false" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttribute"
- isImplicit="true" referredVariable="#//@ownedPackages.0/@ownedClasses.0/@rule.13/@bottomPattern/@assignment.3/@value/@ownedIterators.0"/>
- </ownedBody>
- <ownedIterators name="1_" isRequired="false" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttribute"
- isImplicit="true" representedParameter="http://www.eclipse.org/ocl/2015/Library.oclas#i0i.ocl.Set.collect..T"/>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.NonLeafAttribute"
- referredVariable="#qV..umlRdbms.classComplexAttributes_LM.middle.bottom.fa"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.FromAttribute.attribute">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#qV..umlRdbms.classComplexAttributes_LM.uml.guard.a"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttribute"
- referredVariable="#qV..umlRdbms.classComplexAttributes_LM.middle.bottom.fa"/>
- </assignment>
- </bottomPattern>
- </rule>
- <rule xsi:type="qvti:Mapping" xmi:id="m..umlRdbms.complexAttributePrimitiveAttributes_LM" name="complexAttributePrimitiveAttributes_LM">
- <domain xsi:type="qvtcb:CoreDomain" name="uml" isCheckable="true" isEnforceable="false" typedModel="#qT..umlRdbms.uml">
- <guardPattern>
- <variable xmi:id="qV..umlRdbms.complexAttributePrimitiveAttributes_LM.uml.guard.ca" name="ca" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute"/>
- <variable xmi:id="qV..umlRdbms.complexAttributePrimitiveAttributes_LM.uml.guard.t" name="t" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType"/>
- <variable xmi:id="qV..umlRdbms.complexAttributePrimitiveAttributes_LM.uml.guard.c" name="c" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class"/>
- <variable xmi:id="qV..umlRdbms.complexAttributePrimitiveAttributes_LM.uml.guard.a" name="a" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute"/>
- </guardPattern>
- <bottomPattern/>
- </domain>
- <domain xsi:type="qvtcb:CoreDomain" name="middle" isCheckable="false" isEnforceable="true" typedModel="#qT..umlRdbms.middle">
- <guardPattern>
- <variable xmi:id="qV..umlRdbms.complexAttributePrimitiveAttributes_LM.middle.guard.fao" name="fao" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.NonLeafAttribute"/>
- <variable xmi:id="qV..umlRdbms.complexAttributePrimitiveAttributes_LM.middle.guard.p2n" name="p2n" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PrimitiveToName"/>
- </guardPattern>
- <bottomPattern>
- <realizedVariable xmi:id="qV..umlRdbms.complexAttributePrimitiveAttributes_LM.middle.bottom.fa" name="fa" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn"/>
- </bottomPattern>
- </domain>
- <guardPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.FromAttribute.attribute">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.NonLeafAttribute"
- referredVariable="#qV..umlRdbms.complexAttributePrimitiveAttributes_LM.middle.guard.fao"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#qV..umlRdbms.complexAttributePrimitiveAttributes_LM.uml.guard.ca"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType" referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.PrimitiveToName.primitive">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PrimitiveToName"
- referredVariable="#qV..umlRdbms.complexAttributePrimitiveAttributes_LM.middle.guard.p2n"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType" referredVariable="#qV..umlRdbms.complexAttributePrimitiveAttributes_LM.uml.guard.t"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Classifier" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Attribute.type">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#qV..umlRdbms.complexAttributePrimitiveAttributes_LM.uml.guard.ca"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredVariable="#qV..umlRdbms.complexAttributePrimitiveAttributes_LM.uml.guard.c"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Classifier" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Attribute.type">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#qV..umlRdbms.complexAttributePrimitiveAttributes_LM.uml.guard.a"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType" referredVariable="#qV..umlRdbms.complexAttributePrimitiveAttributes_LM.uml.guard.t"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Attribute.owner">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#qV..umlRdbms.complexAttributePrimitiveAttributes_LM.uml.guard.a"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredVariable="#qV..umlRdbms.complexAttributePrimitiveAttributes_LM.uml.guard.c"/>
- </conditionExpression>
- </predicate>
- </guardPattern>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.AttributeToColumn.type">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PrimitiveToName" referredVariable="#qV..umlRdbms.complexAttributePrimitiveAttributes_LM.middle.guard.p2n"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn"
- referredVariable="#qV..umlRdbms.complexAttributePrimitiveAttributes_LM.middle.bottom.fa"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.UmlToRdbmsModelElement.name">
- <value xsi:type="pivot:OperationCallExp" name="+" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%43%..ocl.String">
- <ownedSource xsi:type="pivot:OperationCallExp" name="+" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%43%..ocl.String">
- <ownedSource xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.UmlToRdbmsModelElement.name">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.NonLeafAttribute"
- referredVariable="#qV..umlRdbms.complexAttributePrimitiveAttributes_LM.middle.guard.fao"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:StringLiteralExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="_"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#qV..umlRdbms.complexAttributePrimitiveAttributes_LM.uml.guard.a"/>
- </ownedArguments>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttribute"
- referredVariable="#qV..umlRdbms.complexAttributePrimitiveAttributes_LM.middle.bottom.fa"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.FromAttribute.leafs">
- <value xsi:type="pivot:CollectionLiteralExp" type="#//@ownedPackages.1/@ownedClasses.7" kind="Set">
- <ownedParts xsi:type="pivot:CollectionItem" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn">
- <ownedItem xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn"
- referredVariable="#qV..umlRdbms.complexAttributePrimitiveAttributes_LM.middle.bottom.fa"/>
- </ownedParts>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn"
- referredVariable="#qV..umlRdbms.complexAttributePrimitiveAttributes_LM.middle.bottom.fa"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.FromAttribute.kind">
- <value xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.kind">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#qV..umlRdbms.complexAttributePrimitiveAttributes_LM.uml.guard.a"/>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttribute"
- referredVariable="#qV..umlRdbms.complexAttributePrimitiveAttributes_LM.middle.bottom.fa"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.FromAttribute.owner">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttributeOwner"
- referredVariable="#qV..umlRdbms.complexAttributePrimitiveAttributes_LM.middle.guard.fao"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttribute"
- referredVariable="#qV..umlRdbms.complexAttributePrimitiveAttributes_LM.middle.bottom.fa"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.FromAttribute.attribute">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#qV..umlRdbms.complexAttributePrimitiveAttributes_LM.uml.guard.a"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttribute"
- referredVariable="#qV..umlRdbms.complexAttributePrimitiveAttributes_LM.middle.bottom.fa"/>
- </assignment>
- </bottomPattern>
- </rule>
- <rule xsi:type="qvti:Mapping" xmi:id="m..umlRdbms.complexAttributeComplexAttributes_LM" name="complexAttributeComplexAttributes_LM">
- <domain xsi:type="qvtcb:CoreDomain" name="uml" isCheckable="true" isEnforceable="false" typedModel="#qT..umlRdbms.uml">
- <guardPattern>
- <variable xmi:id="qV..umlRdbms.complexAttributeComplexAttributes_LM.uml.guard.t" name="t" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class"/>
- <variable xmi:id="qV..umlRdbms.complexAttributeComplexAttributes_LM.uml.guard.ca" name="ca" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute"/>
- <variable xmi:id="qV..umlRdbms.complexAttributeComplexAttributes_LM.uml.guard.c" name="c" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class"/>
- <variable xmi:id="qV..umlRdbms.complexAttributeComplexAttributes_LM.uml.guard.a" name="a" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute"/>
- </guardPattern>
- <bottomPattern/>
- </domain>
- <domain xsi:type="qvtcb:CoreDomain" name="middle" isCheckable="false" isEnforceable="true" typedModel="#qT..umlRdbms.middle">
- <guardPattern>
- <variable xmi:id="qV..umlRdbms.complexAttributeComplexAttributes_LM.middle.guard.fao" name="fao" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.NonLeafAttribute"/>
- </guardPattern>
- <bottomPattern>
- <realizedVariable xmi:id="qV..umlRdbms.complexAttributeComplexAttributes_LM.middle.bottom.fa" name="fa" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.NonLeafAttribute"/>
- </bottomPattern>
- </domain>
- <guardPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.FromAttribute.attribute">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.NonLeafAttribute"
- referredVariable="#qV..umlRdbms.complexAttributeComplexAttributes_LM.middle.guard.fao"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#qV..umlRdbms.complexAttributeComplexAttributes_LM.uml.guard.ca"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Attribute.owner">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#qV..umlRdbms.complexAttributeComplexAttributes_LM.uml.guard.a"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredVariable="#qV..umlRdbms.complexAttributeComplexAttributes_LM.uml.guard.c"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Classifier" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Attribute.type">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#qV..umlRdbms.complexAttributeComplexAttributes_LM.uml.guard.ca"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredVariable="#qV..umlRdbms.complexAttributeComplexAttributes_LM.uml.guard.c"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Classifier" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Attribute.type">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#qV..umlRdbms.complexAttributeComplexAttributes_LM.uml.guard.a"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredVariable="#qV..umlRdbms.complexAttributeComplexAttributes_LM.uml.guard.t"/>
- </conditionExpression>
- </predicate>
- </guardPattern>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.FromAttribute.kind">
- <value xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.kind">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#qV..umlRdbms.complexAttributeComplexAttributes_LM.uml.guard.a"/>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttribute"
- referredVariable="#qV..umlRdbms.complexAttributeComplexAttributes_LM.middle.bottom.fa"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.FromAttribute.attribute">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#qV..umlRdbms.complexAttributeComplexAttributes_LM.uml.guard.a"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttribute"
- referredVariable="#qV..umlRdbms.complexAttributeComplexAttributes_LM.middle.bottom.fa"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.FromAttribute.leafs">
- <value xsi:type="pivot:IteratorExp" name="collect" type="#//@ownedPackages.1/@ownedClasses.8" isImplicit="true" referredIteration="http://www.eclipse.org/ocl/2015/Library.oclas#i.ocl.Set.collect..T">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="#//@ownedPackages.1/@ownedClasses.9" referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.FromAttributeOwner.fromAttributes">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttributeOwner"
- referredVariable="#qV..umlRdbms.complexAttributeComplexAttributes_LM.middle.guard.fao"/>
- </ownedSource>
- <ownedBody xsi:type="pivot:PropertyCallExp" type="#//@ownedPackages.1/@ownedClasses.7" referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.FromAttribute.leafs">
- <ownedSource xsi:type="pivot:VariableExp" isRequired="false" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttribute"
- isImplicit="true" referredVariable="#//@ownedPackages.0/@ownedClasses.0/@rule.15/@bottomPattern/@assignment.2/@value/@ownedIterators.0"/>
- </ownedBody>
- <ownedIterators name="1_" isRequired="false" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttribute"
- isImplicit="true" representedParameter="http://www.eclipse.org/ocl/2015/Library.oclas#i0i.ocl.Set.collect..T"/>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.NonLeafAttribute"
- referredVariable="#qV..umlRdbms.complexAttributeComplexAttributes_LM.middle.bottom.fa"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.FromAttribute.owner">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttributeOwner"
- referredVariable="#qV..umlRdbms.complexAttributeComplexAttributes_LM.middle.guard.fao"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttribute"
- referredVariable="#qV..umlRdbms.complexAttributeComplexAttributes_LM.middle.bottom.fa"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.UmlToRdbmsModelElement.name">
- <value xsi:type="pivot:OperationCallExp" name="+" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%43%..ocl.String">
- <ownedSource xsi:type="pivot:OperationCallExp" name="+" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%43%..ocl.String">
- <ownedSource xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.UmlToRdbmsModelElement.name">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.NonLeafAttribute"
- referredVariable="#qV..umlRdbms.complexAttributeComplexAttributes_LM.middle.guard.fao"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:StringLiteralExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="_"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#qV..umlRdbms.complexAttributeComplexAttributes_LM.uml.guard.a"/>
- </ownedArguments>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttribute"
- referredVariable="#qV..umlRdbms.complexAttributeComplexAttributes_LM.middle.bottom.fa"/>
- </assignment>
- </bottomPattern>
- </rule>
- <rule xsi:type="qvti:Mapping" xmi:id="m..umlRdbms.attributeColumns_MR" name="attributeColumns_MR">
- <domain xsi:type="qvtcb:CoreDomain" name="rdbms" isCheckable="false" isEnforceable="true" typedModel="#qT..umlRdbms.rdbms">
- <guardPattern>
- <variable xmi:id="qV..umlRdbms.attributeColumns_MR.rdbms.guard.t" name="t" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Table"/>
- </guardPattern>
- <bottomPattern>
- <realizedVariable xmi:id="qV..umlRdbms.attributeColumns_MR.rdbms.bottom.c" name="c" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Column"/>
- </bottomPattern>
- </domain>
- <domain xsi:type="qvtcb:CoreDomain" name="middle" isCheckable="true" isEnforceable="false" typedModel="#qT..umlRdbms.middle">
- <guardPattern>
- <variable xmi:id="qV..umlRdbms.attributeColumns_MR.middle.guard.c2t" name="c2t" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"/>
- <variable xmi:id="qV..umlRdbms.attributeColumns_MR.middle.guard.p2n" name="p2n" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PrimitiveToName"/>
- <variable xmi:id="qV..umlRdbms.attributeColumns_MR.middle.guard.a2c" name="a2c" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn"/>
- </guardPattern>
- <bottomPattern>
- <variable xmi:id="qV..umlRdbms.attributeColumns_MR.middle.bottom.ct" name="ct" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String">
- <ownedInit xsi:type="pivot:PropertyCallExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.PrimitiveToName.typeName">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PrimitiveToName"
- referredVariable="#qV..umlRdbms.attributeColumns_MR.middle.guard.p2n"/>
- </ownedInit>
- </variable>
- </bottomPattern>
- </domain>
- <guardPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Table"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.ClassToTable.table">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"
- referredVariable="#qV..umlRdbms.attributeColumns_MR.middle.guard.c2t"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Table" referredVariable="#qV..umlRdbms.attributeColumns_MR.rdbms.guard.t"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.Collection.includes..ocl.OclAny">
- <ownedSource xsi:type="pivot:IteratorExp" name="collect" type="#//@ownedPackages.1/@ownedClasses.10" isImplicit="true" referredIteration="http://www.eclipse.org/ocl/2015/Library.oclas#i.ocl.Set.collect..T">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="#//@ownedPackages.1/@ownedClasses.11" referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.FromAttributeOwner.fromAttributes">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"
- referredVariable="#qV..umlRdbms.attributeColumns_MR.middle.guard.c2t"/>
- </ownedSource>
- <ownedBody xsi:type="pivot:PropertyCallExp" type="#//@ownedPackages.1/@ownedClasses.12" referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.FromAttribute.leafs">
- <ownedSource xsi:type="pivot:VariableExp" isRequired="false" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttribute"
- isImplicit="true" referredVariable="#//@ownedPackages.0/@ownedClasses.0/@rule.16/@guardPattern/@predicate.1/@conditionExpression/@ownedSource/@ownedIterators.0"/>
- </ownedBody>
- <ownedIterators name="1_" isRequired="false" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttribute"
- isImplicit="true" representedParameter="http://www.eclipse.org/ocl/2015/Library.oclas#i0i.ocl.Set.collect..T"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn"
- referredVariable="#qV..umlRdbms.attributeColumns_MR.middle.guard.a2c"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttributeOwner"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.FromAttribute.owner">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn"
- referredVariable="#qV..umlRdbms.attributeColumns_MR.middle.guard.a2c"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"
- referredVariable="#qV..umlRdbms.attributeColumns_MR.middle.guard.c2t"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PrimitiveToName"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.AttributeToColumn.type">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn"
- referredVariable="#qV..umlRdbms.attributeColumns_MR.middle.guard.a2c"/>
- </ownedSource>
- <ownedArguments xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PrimitiveToName"
- referredVariable="#qV..umlRdbms.attributeColumns_MR.middle.guard.p2n"/>
- </conditionExpression>
- </predicate>
- </guardPattern>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.Column.type">
- <value xsi:type="pivot:VariableExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String" referredVariable="#qV..umlRdbms.attributeColumns_MR.middle.bottom.ct"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Column" referredVariable="#qV..umlRdbms.attributeColumns_MR.rdbms.bottom.c"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.ToColumn.column">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Column" referredVariable="#qV..umlRdbms.attributeColumns_MR.rdbms.bottom.c"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn"
- referredVariable="#qV..umlRdbms.attributeColumns_MR.middle.guard.a2c"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.RModelElement.kind">
- <value xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.FromAttribute.kind">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn"
- referredVariable="#qV..umlRdbms.attributeColumns_MR.middle.guard.a2c"/>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Column" referredVariable="#qV..umlRdbms.attributeColumns_MR.rdbms.bottom.c"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.RModelElement.name">
- <value xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.UmlToRdbmsModelElement.name">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn"
- referredVariable="#qV..umlRdbms.attributeColumns_MR.middle.guard.a2c"/>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Column" referredVariable="#qV..umlRdbms.attributeColumns_MR.rdbms.bottom.c"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.Column.owner">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Table" referredVariable="#qV..umlRdbms.attributeColumns_MR.rdbms.guard.t"/>
- <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Column" referredVariable="#qV..umlRdbms.attributeColumns_MR.rdbms.bottom.c"/>
- </assignment>
- </bottomPattern>
- </rule>
- <rule xsi:type="qvti:Mapping" xmi:id="m..umlRdbms.__root__" name="__root__">
- <guardPattern/>
- <bottomPattern/>
- <mappingStatement xsi:type="qvti:MappingSequence">
- <mappingStatements xsi:type="qvti:MappingLoop">
- <ownedSource xsi:type="pivot:OperationCallExp" type="#//@ownedPackages.1/@ownedClasses.13" referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclElement.allInstances">
- <ownedSource xsi:type="pivot:TypeExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredType="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package"/>
- </ownedSource>
- <ownedBody xsi:type="qvti:MappingSequence">
- <mappingStatements xsi:type="qvti:MappingCall" referredMapping="#m..umlRdbms.packageToSchema_LM">
- <binding boundVariable="#qV..umlRdbms.packageToSchema_LM.uml.guard.p">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" referredVariable="#i..umlRdbms.__root__.0.0.p"/>
- </binding>
- </mappingStatements>
- </ownedBody>
- <ownedIterators xmi:id="i..umlRdbms.__root__.0.0.p" name="p" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package"/>
- </mappingStatements>
- <mappingStatements xsi:type="qvti:MappingLoop">
- <ownedSource xsi:type="pivot:OperationCallExp" type="#//@ownedPackages.1/@ownedClasses.14" referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclElement.allInstances">
- <ownedSource xsi:type="pivot:TypeExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredType="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute"/>
- </ownedSource>
- <ownedBody xsi:type="qvti:MappingSequence">
- <mappingStatements xsi:type="qvti:MappingLoop">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="#//@ownedPackages.1/@ownedClasses.3" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Class.attributes">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Classifier" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Attribute.type">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#i..umlRdbms.__root__.0.1.ca"/>
- </ownedSource>
- </ownedSource>
- <ownedBody xsi:type="qvti:MappingSequence">
- <mappingStatements xsi:type="qvti:MappingCall" referredMapping="#m..umlRdbms.complexAttributeComplexAttributes_LM">
- <binding boundVariable="#qV..umlRdbms.complexAttributeComplexAttributes_LM.uml.guard.ca">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#i..umlRdbms.__root__.0.1.ca"/>
- </binding>
- <binding boundVariable="#qV..umlRdbms.complexAttributeComplexAttributes_LM.uml.guard.a">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#i..umlRdbms.__root__.0.1.0.0.a"/>
- </binding>
- <binding boundVariable="#qV..umlRdbms.complexAttributeComplexAttributes_LM.middle.guard.fao">
- <value xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttribute"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleuml.Attribute.middle">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#i..umlRdbms.__root__.0.1.ca"/>
- </value>
- </binding>
- <binding boundVariable="#qV..umlRdbms.complexAttributeComplexAttributes_LM.uml.guard.c">
- <value xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Classifier" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Attribute.type">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#i..umlRdbms.__root__.0.1.ca"/>
- </value>
- </binding>
- <binding boundVariable="#qV..umlRdbms.complexAttributeComplexAttributes_LM.uml.guard.t">
- <value xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Classifier" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Attribute.type">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#i..umlRdbms.__root__.0.1.0.0.a"/>
- </value>
- </binding>
- </mappingStatements>
- </ownedBody>
- <ownedIterators xmi:id="i..umlRdbms.__root__.0.1.0.0.a" name="a" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute"/>
- </mappingStatements>
- </ownedBody>
- <ownedIterators xmi:id="i..umlRdbms.__root__.0.1.ca" name="ca" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute"/>
- </mappingStatements>
- <mappingStatements xsi:type="qvti:MappingLoop">
- <ownedSource xsi:type="pivot:OperationCallExp" type="#//@ownedPackages.1/@ownedClasses.14" referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclElement.allInstances">
- <ownedSource xsi:type="pivot:TypeExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredType="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute"/>
- </ownedSource>
- <ownedBody xsi:type="qvti:MappingSequence">
- <mappingStatements xsi:type="qvti:MappingCall" referredMapping="#m..umlRdbms.classComplexAttributes_LM">
- <binding boundVariable="#qV..umlRdbms.classComplexAttributes_LM.middle.guard.fao">
- <value xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleuml.Class.middle">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Attribute.owner">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#i..umlRdbms.__root__.0.2.a"/>
- </ownedSource>
- </value>
- </binding>
- <binding boundVariable="#qV..umlRdbms.classComplexAttributes_LM.uml.guard.a">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#i..umlRdbms.__root__.0.2.a"/>
- </binding>
- <binding boundVariable="#qV..umlRdbms.classComplexAttributes_LM.uml.guard.c">
- <value xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Attribute.owner">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#i..umlRdbms.__root__.0.2.a"/>
- </value>
- </binding>
- <binding boundVariable="#qV..umlRdbms.classComplexAttributes_LM.uml.guard.t">
- <value xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Classifier" referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Attribute.type">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" referredVariable="#i..umlRdbms.__root__.0.2.a"/>
- </value>
- </binding>
- </mappingStatements>
- </ownedBody>
- <ownedIterators xmi:id="i..umlRdbms.__root__.0.2.a" name="a" type="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute"/>
- </mappingStatements>
- <mappingStatements xsi:type="qvti:MappingLoop">
- <ownedSource xsi:type="pivot:OperationCallExp" type="#//@ownedPackages.1/@ownedClasses.15" referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclElement.allInstances">
- <ownedSource xsi:type="pivot:TypeExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.IntegerToNumber"
- referredType="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.IntegerToNumber"/>
- </ownedSource>
- <ownedBody xsi:type="qvti:MappingSequence">
- <mappingStatements xsi:type="qvti:MappingCall" referredMapping="#m..umlRdbms.integerToNumber_MR">
- <binding boundVariable="#qV..umlRdbms.integerToNumber_MR.middle.guard.p2n">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.IntegerToNumber"
- referredVariable="#i..umlRdbms.__root__.0.3.p2n"/>
- </binding>
- <binding boundVariable="#qV..umlRdbms.integerToNumber_MR.middle.guard.p2s">
- <value xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.PrimitiveToName.owner">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.IntegerToNumber"
- referredVariable="#i..umlRdbms.__root__.0.3.p2n"/>
- </value>
- </binding>
- </mappingStatements>
- </ownedBody>
- <ownedIterators xmi:id="i..umlRdbms.__root__.0.3.p2n" name="p2n" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.IntegerToNumber"/>
- </mappingStatements>
- <mappingStatements xsi:type="qvti:MappingLoop">
- <ownedSource xsi:type="pivot:OperationCallExp" type="#//@ownedPackages.1/@ownedClasses.16" referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclElement.allInstances">
- <ownedSource xsi:type="pivot:TypeExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn"
- referredType="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn"/>
- </ownedSource>
- <ownedBody xsi:type="qvti:MappingSequence">
- <mappingStatements xsi:type="qvti:MappingCall" referredMapping="#m..umlRdbms.attributeColumns_MR">
- <binding boundVariable="#qV..umlRdbms.attributeColumns_MR.middle.guard.a2c">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn"
- referredVariable="#i..umlRdbms.__root__.0.4.a2c"/>
- </binding>
- <binding boundVariable="#qV..umlRdbms.attributeColumns_MR.middle.guard.p2n">
- <value xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PrimitiveToName"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.AttributeToColumn.type">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn"
- referredVariable="#i..umlRdbms.__root__.0.4.a2c"/>
- </value>
- </binding>
- <binding boundVariable="#qV..umlRdbms.attributeColumns_MR.middle.guard.c2t">
- <value xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttributeOwner"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.FromAttribute.owner">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn"
- referredVariable="#i..umlRdbms.__root__.0.4.a2c"/>
- </value>
- </binding>
- <binding boundVariable="#qV..umlRdbms.attributeColumns_MR.rdbms.guard.t">
- <value xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Table" referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.ClassToTable.table">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttributeOwner"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.FromAttribute.owner">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn"
- referredVariable="#i..umlRdbms.__root__.0.4.a2c"/>
- </ownedSource>
- </value>
- </binding>
- </mappingStatements>
- </ownedBody>
- <ownedIterators xmi:id="i..umlRdbms.__root__.0.4.a2c" name="a2c" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn"/>
- </mappingStatements>
- <mappingStatements xsi:type="qvti:MappingLoop">
- <ownedSource xsi:type="pivot:OperationCallExp" type="#//@ownedPackages.1/@ownedClasses.17" referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclElement.allInstances">
- <ownedSource xsi:type="pivot:TypeExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AssociationToForeignKey"
- referredType="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AssociationToForeignKey"/>
- </ownedSource>
- <ownedBody xsi:type="qvti:MappingSequence">
- <mappingStatements xsi:type="qvti:MappingLoop">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="#//@ownedPackages.1/@ownedClasses.18" referredProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.Table.keys">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Table" referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.ClassToTable.table">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.AssociationToForeignKey.referenced">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AssociationToForeignKey"
- referredVariable="#i..umlRdbms.__root__.0.5.a2f"/>
- </ownedSource>
- </ownedSource>
- </ownedSource>
- <ownedBody xsi:type="qvti:MappingSequence">
- <mappingStatements xsi:type="qvti:MappingCall" referredMapping="#m..umlRdbms.associationToForeignKey_MR">
- <binding boundVariable="#qV..umlRdbms.associationToForeignKey_MR.rdbms.guard.rk">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Key" referredVariable="#i..umlRdbms.__root__.0.5.0.0.rk"/>
- </binding>
- <binding boundVariable="#qV..umlRdbms.associationToForeignKey_MR.middle.guard.dc2t">
- <value xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.AssociationToForeignKey.referenced">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AssociationToForeignKey"
- referredVariable="#i..umlRdbms.__root__.0.5.a2f"/>
- </value>
- </binding>
- <binding boundVariable="#qV..umlRdbms.associationToForeignKey_MR.middle.guard.a2f">
- <value xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AssociationToForeignKey"
- referredVariable="#i..umlRdbms.__root__.0.5.a2f"/>
- </binding>
- <binding boundVariable="#qV..umlRdbms.associationToForeignKey_MR.middle.guard.sc2t">
- <value xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.AssociationToForeignKey.owner">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AssociationToForeignKey"
- referredVariable="#i..umlRdbms.__root__.0.5.a2f"/>
- </value>
- </binding>
- <binding boundVariable="#qV..umlRdbms.associationToForeignKey_MR.rdbms.guard.s">
- <value xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Schema" referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.PackageToSchema.schema">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.ClassToTable.owner">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.AssociationToForeignKey.owner">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AssociationToForeignKey"
- referredVariable="#i..umlRdbms.__root__.0.5.a2f"/>
- </ownedSource>
- </ownedSource>
- </value>
- </binding>
- <binding boundVariable="#qV..umlRdbms.associationToForeignKey_MR.middle.guard.p2s">
- <value xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PackageToSchema"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.ClassToTable.owner">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.AssociationToForeignKey.owner">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AssociationToForeignKey"
- referredVariable="#i..umlRdbms.__root__.0.5.a2f"/>
- </ownedSource>
- </value>
- </binding>
- <binding boundVariable="#qV..umlRdbms.associationToForeignKey_MR.rdbms.guard.st">
- <value xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Table" referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.ClassToTable.table">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.AssociationToForeignKey.owner">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AssociationToForeignKey"
- referredVariable="#i..umlRdbms.__root__.0.5.a2f"/>
- </ownedSource>
- </value>
- </binding>
- <binding boundVariable="#qV..umlRdbms.associationToForeignKey_MR.rdbms.guard.dt">
- <value xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Table" referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.ClassToTable.table">
- <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"
- referredProperty="SimpleUMLtoRDBMS.ecore.oclas#p.simpleumltordbms.AssociationToForeignKey.referenced">
- <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AssociationToForeignKey"
- referredVariable="#i..umlRdbms.__root__.0.5.a2f"/>
- </ownedSource>
- </value>
- </binding>
- </mappingStatements>
- </ownedBody>
- <ownedIterators xmi:id="i..umlRdbms.__root__.0.5.0.0.rk" name="rk" type="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Key"/>
- </mappingStatements>
- </ownedBody>
- <ownedIterators xmi:id="i..umlRdbms.__root__.0.5.a2f" name="a2f" type="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AssociationToForeignKey"/>
- </mappingStatements>
- </mappingStatement>
- </rule>
- </ownedClasses>
- </ownedPackages>
- <ownedPackages xmi:id="P.$$" name="$$" URI="http://www.eclipse.org/ocl/2015/Orphanage" nsPrefix="orphanage">
- <ownedClasses xsi:type="pivot:OrderedSetType" name="OrderedSet" superClasses="#//@ownedPackages.1/@ownedClasses.19 #//@ownedPackages.1/@ownedClasses.20"
- elementType="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PackageElement">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PackageElement" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..OrderedSetT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:SetType" name="Set" superClasses="#//@ownedPackages.1/@ownedClasses.21" elementType="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable"
- lower="1">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..SetT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:SetType" name="Set" superClasses="#//@ownedPackages.1/@ownedClasses.22" elementType="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PrimitiveToName">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PrimitiveToName" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..SetT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:OrderedSetType" name="OrderedSet" superClasses="#//@ownedPackages.1/@ownedClasses.23 #//@ownedPackages.1/@ownedClasses.24"
- elementType="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..OrderedSetT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:SetType" name="Set" superClasses="#//@ownedPackages.1/@ownedClasses.25" elementType="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Key">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Key" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..SetT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:OrderedSetType" name="OrderedSet" superClasses="#//@ownedPackages.1/@ownedClasses.26 #//@ownedPackages.1/@ownedClasses.27"
- elementType="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Column">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Column" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..OrderedSetT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:SetType" name="Set" superClasses="#//@ownedPackages.1/@ownedClasses.28" elementType="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.ForeignKey">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.ForeignKey" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..SetT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:SetType" name="Set" superClasses="#//@ownedPackages.1/@ownedClasses.29" elementType="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..SetT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:BagType" name="Bag" superClasses="#//@ownedPackages.1/@ownedClasses.30" elementType="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..BagT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:SetType" name="Set" superClasses="#//@ownedPackages.1/@ownedClasses.31" elementType="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttribute">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttribute" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..SetT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:BagType" name="Bag" superClasses="#//@ownedPackages.1/@ownedClasses.32" elementType="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..BagT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:SetType" name="Set" superClasses="#//@ownedPackages.1/@ownedClasses.33" elementType="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttribute">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttribute" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..SetT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:SetType" name="Set" superClasses="#//@ownedPackages.1/@ownedClasses.34" elementType="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..SetT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:SetType" name="Set" superClasses="#//@ownedPackages.1/@ownedClasses.35" elementType="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..SetT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:SetType" name="Set" superClasses="#//@ownedPackages.1/@ownedClasses.24" elementType="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..SetT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:SetType" name="Set" superClasses="#//@ownedPackages.1/@ownedClasses.36" elementType="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.IntegerToNumber">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.IntegerToNumber" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..SetT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:SetType" name="Set" superClasses="#//@ownedPackages.1/@ownedClasses.37" elementType="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..SetT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:SetType" name="Set" superClasses="#//@ownedPackages.1/@ownedClasses.38" elementType="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AssociationToForeignKey">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AssociationToForeignKey" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..SetT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:OrderedSetType" name="OrderedSet" superClasses="#//@ownedPackages.1/@ownedClasses.39 #//@ownedPackages.1/@ownedClasses.40"
- elementType="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Key">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Key" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..OrderedSetT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:CollectionType" name="OrderedCollection" superClasses="#//@ownedPackages.1/@ownedClasses.41" elementType="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PackageElement">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PackageElement" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..OrderedCollectionT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:CollectionType" name="UniqueCollection" superClasses="#//@ownedPackages.1/@ownedClasses.41" elementType="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PackageElement">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PackageElement" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..UniqueCollectionT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:CollectionType" name="UniqueCollection" superClasses="#//@ownedPackages.1/@ownedClasses.42" elementType="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..UniqueCollectionT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:CollectionType" name="UniqueCollection" superClasses="#//@ownedPackages.1/@ownedClasses.43" elementType="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PrimitiveToName">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PrimitiveToName" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..UniqueCollectionT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:CollectionType" name="OrderedCollection" superClasses="#//@ownedPackages.1/@ownedClasses.44" elementType="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..OrderedCollectionT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:CollectionType" name="UniqueCollection" superClasses="#//@ownedPackages.1/@ownedClasses.44" elementType="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..UniqueCollectionT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:CollectionType" name="UniqueCollection" superClasses="#//@ownedPackages.1/@ownedClasses.45" elementType="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Key">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Key" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..UniqueCollectionT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:CollectionType" name="OrderedCollection" superClasses="#//@ownedPackages.1/@ownedClasses.46" elementType="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Column">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Column" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..OrderedCollectionT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:CollectionType" name="UniqueCollection" superClasses="#//@ownedPackages.1/@ownedClasses.46" elementType="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Column">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Column" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..UniqueCollectionT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:CollectionType" name="UniqueCollection" superClasses="#//@ownedPackages.1/@ownedClasses.47" elementType="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.ForeignKey">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.ForeignKey" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..UniqueCollectionT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:CollectionType" name="UniqueCollection" superClasses="#//@ownedPackages.1/@ownedClasses.30" elementType="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..UniqueCollectionT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:CollectionType" name="Collection" superClasses="http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclAny"
- elementType="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..CollectionT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:CollectionType" name="UniqueCollection" superClasses="#//@ownedPackages.1/@ownedClasses.48" elementType="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttribute">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttribute" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..UniqueCollectionT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:CollectionType" name="Collection" superClasses="http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclAny"
- elementType="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..CollectionT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:CollectionType" name="UniqueCollection" superClasses="#//@ownedPackages.1/@ownedClasses.49" elementType="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttribute">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttribute" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..UniqueCollectionT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:CollectionType" name="UniqueCollection" superClasses="#//@ownedPackages.1/@ownedClasses.32" elementType="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..UniqueCollectionT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:CollectionType" name="UniqueCollection" superClasses="#//@ownedPackages.1/@ownedClasses.50" elementType="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..UniqueCollectionT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:CollectionType" name="UniqueCollection" superClasses="#//@ownedPackages.1/@ownedClasses.51" elementType="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.IntegerToNumber">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.IntegerToNumber" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..UniqueCollectionT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:CollectionType" name="UniqueCollection" superClasses="#//@ownedPackages.1/@ownedClasses.52" elementType="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..UniqueCollectionT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:CollectionType" name="UniqueCollection" superClasses="#//@ownedPackages.1/@ownedClasses.53" elementType="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AssociationToForeignKey">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AssociationToForeignKey" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..UniqueCollectionT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:CollectionType" name="OrderedCollection" superClasses="#//@ownedPackages.1/@ownedClasses.54" elementType="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Key">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Key" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..OrderedCollectionT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:CollectionType" name="UniqueCollection" superClasses="#//@ownedPackages.1/@ownedClasses.54" elementType="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Key">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Key" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..UniqueCollectionT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:CollectionType" name="Collection" superClasses="http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclAny"
- elementType="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PackageElement">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.PackageElement" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..CollectionT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:CollectionType" name="Collection" superClasses="http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclAny"
- elementType="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.ClassToTable" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..CollectionT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:CollectionType" name="Collection" superClasses="http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclAny"
- elementType="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PrimitiveToName">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.PrimitiveToName" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..CollectionT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:CollectionType" name="Collection" superClasses="http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclAny"
- elementType="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..CollectionT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:CollectionType" name="Collection" superClasses="http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclAny"
- elementType="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Key">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Key" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..CollectionT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:CollectionType" name="Collection" superClasses="http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclAny"
- elementType="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Column">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Column" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..CollectionT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:CollectionType" name="Collection" superClasses="http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclAny"
- elementType="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.ForeignKey">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.ForeignKey" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..CollectionT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:CollectionType" name="Collection" superClasses="http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclAny"
- elementType="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttribute">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttribute" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..CollectionT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:CollectionType" name="Collection" superClasses="http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclAny"
- elementType="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttribute">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.FromAttribute" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..CollectionT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:CollectionType" name="Collection" superClasses="http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclAny"
- elementType="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Package" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..CollectionT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:CollectionType" name="Collection" superClasses="http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclAny"
- elementType="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.IntegerToNumber">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.IntegerToNumber" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..CollectionT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:CollectionType" name="Collection" superClasses="http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclAny"
- elementType="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AttributeToColumn" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..CollectionT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:CollectionType" name="Collection" superClasses="http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclAny"
- elementType="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AssociationToForeignKey">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleUMLtoRDBMS.ecore.oclas#T.simpleumltordbms.AssociationToForeignKey" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..CollectionT"/>
- </ownedBindings>
- </ownedClasses>
- <ownedClasses xsi:type="pivot:CollectionType" name="Collection" superClasses="http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclAny"
- elementType="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Key">
- <ownedBindings>
- <ownedSubstitutions actual="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Key" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..CollectionT"/>
- </ownedBindings>
- </ownedClasses>
- </ownedPackages>
-</qvti:ImperativeModel>

Back to the top