Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.qvtd.build.etl.tests/src/org/eclipse/qvtd/etl/tests/UmlToRdbms/UmlToRdbms.qvtu.qvtcas')
-rw-r--r--tests/org.eclipse.qvtd.build.etl.tests/src/org/eclipse/qvtd/etl/tests/UmlToRdbms/UmlToRdbms.qvtu.qvtcas1801
1 files changed, 0 insertions, 1801 deletions
diff --git a/tests/org.eclipse.qvtd.build.etl.tests/src/org/eclipse/qvtd/etl/tests/UmlToRdbms/UmlToRdbms.qvtu.qvtcas b/tests/org.eclipse.qvtd.build.etl.tests/src/org/eclipse/qvtd/etl/tests/UmlToRdbms/UmlToRdbms.qvtu.qvtcas
deleted file mode 100644
index 9629f3498..000000000
--- a/tests/org.eclipse.qvtd.build.etl.tests/src/org/eclipse/qvtd/etl/tests/UmlToRdbms/UmlToRdbms.qvtu.qvtcas
+++ /dev/null
@@ -1,1801 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<qvtc:CoreModel 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:qvtc="http://www.eclipse.org/qvt/2015/QVTcore" xmlns:qvtcb="http://www.eclipse.org/qvt/2015/QVTcoreBase"
- 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/QVTcore java://org.eclipse.qvtd.pivot.qvtcore.QVTcorePackage http://www.eclipse.org/qvt/2015/QVTcoreBase java://org.eclipse.qvtd.pivot.qvtcorebase.QVTcoreBasePackage"
- name="UmlToRdbms.qvtc" externalURI="platform:/resource/org.eclipse.qvtd.build.etl.tests/src/org/eclipse/qvtd/etl/tests/UmlToRdbms/UmlToRdbms.qvtc">
- <nestedPackage xsi:type="qvtb:Transformation" xmi:id="T.umlRdbms" name="umlRdbms"
- superClass="http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclElement">
- <ownedComment body="Enforce uml to rdbms"/>
- <ownedComment body="/* Enforce uml to rdbms */"/>
- <ownedOperation xsi:type="qvtb:Function" xmi:id="o.umlRdbms.getAllSupers..simpleuml.Class"
- isStatic="true" name="getAllSupers" type="#//@nestedPackage.1/@ownedType.0">
- <ownedParameter xsi:type="qvtb:FunctionParameter" xmi:id="p0o.umlRdbms.getAllSupers..simpleuml.Class"
- name="cls" type="SimpleUML.ecore.oclas#T.simpleuml.Class"/>
- <queryExpression xsi:type="pivot:OperationCallExp" type="#//@nestedPackage.1/@ownedType.0"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.Collection.asSet">
- <source xsi:type="pivot:OperationCallExp" type="#//@nestedPackage.1/@ownedType.1"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.Sequence.including..T">
- <source xsi:type="pivot:IteratorExp" type="#//@nestedPackage.1/@ownedType.1"
- referredIteration="http://www.eclipse.org/ocl/2015/Library.oclas#i.ocl.Sequence.collect..T">
- <source xsi:type="pivot:PropertyCallExp" type="#//@nestedPackage.1/@ownedType.2"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Class.general">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredVariable="#p0o.umlRdbms.getAllSupers..simpleuml.Class"/>
- </source>
- <body xsi:type="pivot:OperationCallExp" type="#//@nestedPackage.1/@ownedType.0"
- referredOperation="#o.umlRdbms.getAllSupers..simpleuml.Class">
- <argument xsi:type="pivot:VariableExp" isRequired="false" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredVariable="#//@nestedPackage.0/@ownedOperation.0/@queryExpression/@source/@source/@iterator.0"/>
- </body>
- <iterator name="gen" isRequired="false" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- representedParameter="http://www.eclipse.org/ocl/2015/Library.oclas#i0i.ocl.Sequence.collect..T"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredVariable="#p0o.umlRdbms.getAllSupers..simpleuml.Class"/>
- </source>
- </queryExpression>
- </ownedOperation>
- <ownedOperation xsi:type="qvtb:Function" xmi:id="o.umlRdbms.getAllAttributes..simpleuml.Class"
- isStatic="true" name="getAllAttributes" type="#//@nestedPackage.1/@ownedType.3">
- <ownedParameter xsi:type="qvtb:FunctionParameter" xmi:id="p0o.umlRdbms.getAllAttributes..simpleuml.Class"
- name="cls" type="SimpleUML.ecore.oclas#T.simpleuml.Class"/>
- <queryExpression xsi:type="pivot:IteratorExp" type="#//@nestedPackage.1/@ownedType.4"
- referredIteration="http://www.eclipse.org/ocl/2015/Library.oclas#i.ocl.Bag.collect..T">
- <source xsi:type="pivot:OperationCallExp" type="#//@nestedPackage.1/@ownedType.0"
- referredOperation="#o.umlRdbms.getAllSupers..simpleuml.Class">
- <argument xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredVariable="#p0o.umlRdbms.getAllAttributes..simpleuml.Class"/>
- </source>
- <body xsi:type="pivot:PropertyCallExp" type="#//@nestedPackage.1/@ownedType.5"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Class.attributes">
- <source xsi:type="pivot:VariableExp" isRequired="false" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredVariable="#//@nestedPackage.0/@ownedOperation.1/@queryExpression/@iterator.0"/>
- </body>
- <iterator name="c" isRequired="false" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- representedParameter="http://www.eclipse.org/ocl/2015/Library.oclas#i0i.ocl.Bag.collect..T"/>
- </queryExpression>
- </ownedOperation>
- <ownedOperation xsi:type="qvtb:Function" xmi:id="o.umlRdbms.getAllForwards..simpleuml.Class"
- isStatic="true" name="getAllForwards" type="#//@nestedPackage.1/@ownedType.6">
- <ownedParameter xsi:type="qvtb:FunctionParameter" xmi:id="p0o.umlRdbms.getAllForwards..simpleuml.Class"
- name="cls" type="SimpleUML.ecore.oclas#T.simpleuml.Class"/>
- <queryExpression xsi:type="pivot:IteratorExp" type="#//@nestedPackage.1/@ownedType.7"
- referredIteration="http://www.eclipse.org/ocl/2015/Library.oclas#i.ocl.Bag.collect..T">
- <source xsi:type="pivot:OperationCallExp" type="#//@nestedPackage.1/@ownedType.0"
- referredOperation="#o.umlRdbms.getAllSupers..simpleuml.Class">
- <argument xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredVariable="#p0o.umlRdbms.getAllForwards..simpleuml.Class"/>
- </source>
- <body xsi:type="pivot:BooleanLiteralExp" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- booleanSymbol="true"/>
- <iterator name="c" isRequired="false" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- representedParameter="http://www.eclipse.org/ocl/2015/Library.oclas#i0i.ocl.Bag.collect..T"/>
- </queryExpression>
- </ownedOperation>
- <modelParameter name="uml" usedPackage="SimpleUML.ecore.oclas#P.simpleuml"/>
- <modelParameter name="rdbms" usedPackage="SimpleRDBMS.ecore.oclas#P.simplerdbms"/>
- <modelParameter usedPackage="UMLtoRDBMS.ecore.oclas#P.umltordbms"/>
- <rule xsi:type="qvtc:Mapping" name="packageToSchema">
- <ownedComment body="-- Package and Schema mapping&#xA;class PackageToSchema {&#xA;composite classesToTables : Set(ClassToTable) opposites owner;&#xA;composite primitivesToNames : Set(PrimitiveToName) opposites owner;&#xA;name : String;&#xA;-- uml&#xA;umlPackage : Package;&#xA;-- rdbms&#xA;schema : Schema;&#xA;}"/>
- <domain xsi:type="qvtcb:CoreDomain" name="uml" isCheckable="false" isEnforceable="false"
- typedModel="#//@nestedPackage.0/@modelParameter.0">
- <guardPattern/>
- <bottomPattern>
- <variable name="p" type="SimpleUML.ecore.oclas#T.simpleuml.Package"/>
- </bottomPattern>
- </domain>
- <domain xsi:type="qvtcb:CoreDomain" name="rdbms" isCheckable="false" isEnforceable="true"
- typedModel="#//@nestedPackage.0/@modelParameter.1">
- <guardPattern/>
- <bottomPattern>
- <realizedVariable name="s" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Schema"/>
- </bottomPattern>
- </domain>
- <guardPattern/>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.PackageToSchema.umlPackage">
- <value xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Package"
- referredVariable="#//@nestedPackage.0/@rule.0/@domain.0/@bottomPattern/@variable.0"/>
- <slotExpression xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.PackageToSchema"
- referredVariable="#//@nestedPackage.0/@rule.0/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.PackageToSchema.schema">
- <value xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Schema"
- referredVariable="#//@nestedPackage.0/@rule.0/@domain.1/@bottomPattern/@realizedVariable.0"/>
- <slotExpression xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.PackageToSchema"
- referredVariable="#//@nestedPackage.0/@rule.0/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- <realizedVariable name="p2s" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.PackageToSchema"/>
- </bottomPattern>
- <local>
- <guardPattern/>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.PackageToSchema.name">
- <value xsi:type="pivot:PropertyCallExp" isRequired="false" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Package"
- referredVariable="#//@nestedPackage.0/@rule.0/@domain.0/@bottomPattern/@variable.0"/>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.PackageToSchema"
- referredVariable="#//@nestedPackage.0/@rule.0/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.RModelElement.name">
- <value xsi:type="pivot:PropertyCallExp" isRequired="false" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.PackageToSchema.name">
- <source xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.PackageToSchema"
- referredVariable="#//@nestedPackage.0/@rule.0/@bottomPattern/@realizedVariable.0"/>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Schema"
- referredVariable="#//@nestedPackage.0/@rule.0/@domain.1/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- </bottomPattern>
- </local>
- </rule>
- <rule xsi:type="qvtc:Mapping" name="primitiveToName" specification="#//@nestedPackage.0/@rule.2 #//@nestedPackage.0/@rule.3 #//@nestedPackage.0/@rule.4">
- <ownedComment body="-- Primitive data type marshaling&#xA;class PrimitiveToName {&#xA;owner : PackageToSchema opposites primitivesToNames;&#xA;name : String;&#xA;-- uml&#xA;primitive : PrimitiveDataType;&#xA;-- rdbms&#xA;typeName : String;&#xA;}"/>
- <domain xsi:type="qvtcb:CoreDomain" name="uml" isCheckable="false" isEnforceable="false"
- typedModel="#//@nestedPackage.0/@modelParameter.0">
- <guardPattern>
- <variable name="p" type="SimpleUML.ecore.oclas#T.simpleuml.Package"/>
- </guardPattern>
- <bottomPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" isRequired="false" type="SimpleUML.ecore.oclas#T.simpleuml.Package"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.PackageElement.namespace">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType"
- referredVariable="#//@nestedPackage.0/@rule.1/@domain.0/@bottomPattern/@variable.0"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Package"
- referredVariable="#//@nestedPackage.0/@rule.1/@domain.0/@guardPattern/@variable.0"/>
- </conditionExpression>
- </predicate>
- <variable name="prim" type="SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType"/>
- </bottomPattern>
- </domain>
- <domain xsi:type="qvtcb:CoreDomain" name="rdbms" isCheckable="false" isEnforceable="true"
- typedModel="#//@nestedPackage.0/@modelParameter.1">
- <guardPattern/>
- <bottomPattern>
- <variable name="sqlType" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"/>
- </bottomPattern>
- </domain>
- <guardPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" type="SimpleUML.ecore.oclas#T.simpleuml.Package"
- referredProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.PackageToSchema.umlPackage">
- <source xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.PackageToSchema"
- referredVariable="#//@nestedPackage.0/@rule.1/@guardPattern/@variable.0"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Package"
- referredVariable="#//@nestedPackage.0/@rule.1/@domain.0/@guardPattern/@variable.0"/>
- </conditionExpression>
- </predicate>
- <variable name="p2s" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.PackageToSchema"/>
- </guardPattern>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.PrimitiveToName.owner">
- <value xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.PackageToSchema"
- referredVariable="#//@nestedPackage.0/@rule.1/@guardPattern/@variable.0"/>
- <slotExpression xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.PrimitiveToName"
- referredVariable="#//@nestedPackage.0/@rule.1/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.PrimitiveToName.primitive">
- <value xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType"
- referredVariable="#//@nestedPackage.0/@rule.1/@domain.0/@bottomPattern/@variable.0"/>
- <slotExpression xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.PrimitiveToName"
- referredVariable="#//@nestedPackage.0/@rule.1/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.PrimitiveToName.typeName">
- <value xsi:type="pivot:VariableExp" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredVariable="#//@nestedPackage.0/@rule.1/@domain.1/@bottomPattern/@variable.0"/>
- <slotExpression xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.PrimitiveToName"
- referredVariable="#//@nestedPackage.0/@rule.1/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- <realizedVariable name="p2n" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.PrimitiveToName"/>
- </bottomPattern>
- <local>
- <guardPattern/>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.PrimitiveToName.name">
- <value xsi:type="pivot:OperationCallExp" name="+" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%43%..ocl.String">
- <source xsi:type="pivot:OperationCallExp" name="+" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%43%..ocl.String">
- <source xsi:type="pivot:PropertyCallExp" isRequired="false" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType"
- referredVariable="#//@nestedPackage.0/@rule.1/@domain.0/@bottomPattern/@variable.0"/>
- </source>
- <argument xsi:type="pivot:StringLiteralExp" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="2"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredVariable="#//@nestedPackage.0/@rule.1/@domain.1/@bottomPattern/@variable.0"/>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.PrimitiveToName"
- referredVariable="#//@nestedPackage.0/@rule.1/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- </bottomPattern>
- </local>
- </rule>
- <rule xsi:type="qvtc:Mapping" name="integerToNumber" refinement="#//@nestedPackage.0/@rule.1">
- <domain xsi:type="qvtcb:CoreDomain" name="uml" isCheckable="false" isEnforceable="false"
- typedModel="#//@nestedPackage.0/@modelParameter.0">
- <guardPattern/>
- <bottomPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%61%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" isRequired="false" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType"
- referredVariable="#//@nestedPackage.0/@rule.1/@domain.0/@bottomPattern/@variable.0"/>
- </source>
- <argument xsi:type="pivot:StringLiteralExp" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="Integer"/>
- </conditionExpression>
- </predicate>
- </bottomPattern>
- </domain>
- <domain xsi:type="qvtcb:CoreDomain" name="rdbms" isCheckable="false" isEnforceable="true"
- typedModel="#//@nestedPackage.0/@modelParameter.1">
- <guardPattern/>
- <bottomPattern>
- <assignment xsi:type="qvtcb:VariableAssignment" isDefault="false" targetVariable="#//@nestedPackage.0/@rule.1/@domain.1/@bottomPattern/@variable.0">
- <value xsi:type="pivot:StringLiteralExp" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="NUMBER"/>
- </assignment>
- </bottomPattern>
- </domain>
- <guardPattern/>
- <bottomPattern/>
- </rule>
- <rule xsi:type="qvtc:Mapping" name="booleanToBoolean" refinement="#//@nestedPackage.0/@rule.1">
- <domain xsi:type="qvtcb:CoreDomain" name="uml" isCheckable="false" isEnforceable="false"
- typedModel="#//@nestedPackage.0/@modelParameter.0">
- <guardPattern/>
- <bottomPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%61%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" isRequired="false" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType"
- referredVariable="#//@nestedPackage.0/@rule.1/@domain.0/@bottomPattern/@variable.0"/>
- </source>
- <argument xsi:type="pivot:StringLiteralExp" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="Boolean"/>
- </conditionExpression>
- </predicate>
- </bottomPattern>
- </domain>
- <domain xsi:type="qvtcb:CoreDomain" name="rdbms" isCheckable="false" isEnforceable="true"
- typedModel="#//@nestedPackage.0/@modelParameter.1">
- <guardPattern/>
- <bottomPattern>
- <assignment xsi:type="qvtcb:VariableAssignment" isDefault="false" targetVariable="#//@nestedPackage.0/@rule.1/@domain.1/@bottomPattern/@variable.0">
- <value xsi:type="pivot:StringLiteralExp" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="BOOLEAN"/>
- </assignment>
- </bottomPattern>
- </domain>
- <guardPattern/>
- <bottomPattern/>
- </rule>
- <rule xsi:type="qvtc:Mapping" name="stringToVarchar" refinement="#//@nestedPackage.0/@rule.1">
- <domain xsi:type="qvtcb:CoreDomain" name="uml" isCheckable="false" isEnforceable="false"
- typedModel="#//@nestedPackage.0/@modelParameter.0">
- <guardPattern/>
- <bottomPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%61%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" isRequired="false" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType"
- referredVariable="#//@nestedPackage.0/@rule.1/@domain.0/@bottomPattern/@variable.0"/>
- </source>
- <argument xsi:type="pivot:StringLiteralExp" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="String"/>
- </conditionExpression>
- </predicate>
- </bottomPattern>
- </domain>
- <domain xsi:type="qvtcb:CoreDomain" name="rdbms" isCheckable="false" isEnforceable="true"
- typedModel="#//@nestedPackage.0/@modelParameter.1">
- <guardPattern/>
- <bottomPattern>
- <assignment xsi:type="qvtcb:VariableAssignment" isDefault="false" targetVariable="#//@nestedPackage.0/@rule.1/@domain.1/@bottomPattern/@variable.0">
- <value xsi:type="pivot:StringLiteralExp" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="VARCHAR"/>
- </assignment>
- </bottomPattern>
- </domain>
- <guardPattern/>
- <bottomPattern/>
- </rule>
- <rule xsi:type="qvtc:Mapping" name="flattening" specification="#//@nestedPackage.0/@rule.7 #//@nestedPackage.0/@rule.8">
- <guardPattern/>
- <bottomPattern/>
- </rule>
- <rule xsi:type="qvtc:Mapping" name="classToTable">
- <ownedComment body="-- Class and Table mapping&#xA;class ClassToTable extends FromAttributeOwner, ToColumn {&#xA;owner : PackageToSchema opposites classesToTables;&#xA;composite associationToForeignKeys :&#xA;OrderedSet(AssociationToForeignKey) opposites owner;&#xA;name : String;&#xA;-- uml&#xA;umlClass : Class;&#xA;-- rdbms&#xA;table : Table;&#xA;primaryKey : Key;&#xA;}"/>
- <domain xsi:type="qvtcb:CoreDomain" name="uml" isCheckable="false" isEnforceable="false"
- typedModel="#//@nestedPackage.0/@modelParameter.0">
- <guardPattern>
- <variable name="p" type="SimpleUML.ecore.oclas#T.simpleuml.Package"/>
- </guardPattern>
- <bottomPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.kind">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredVariable="#//@nestedPackage.0/@rule.6/@domain.0/@bottomPattern/@variable.0"/>
- </source>
- <argument xsi:type="pivot:StringLiteralExp" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="persistent"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" type="SimpleUML.ecore.oclas#T.simpleuml.Package"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.PackageElement.namespace">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredVariable="#//@nestedPackage.0/@rule.6/@domain.0/@bottomPattern/@variable.0"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Package"
- referredVariable="#//@nestedPackage.0/@rule.6/@domain.0/@guardPattern/@variable.0"/>
- </conditionExpression>
- </predicate>
- <variable name="c" type="SimpleUML.ecore.oclas#T.simpleuml.Class"/>
- </bottomPattern>
- </domain>
- <domain xsi:type="qvtcb:CoreDomain" name="rdbms" isCheckable="false" isEnforceable="true"
- typedModel="#//@nestedPackage.0/@modelParameter.1">
- <guardPattern>
- <variable name="s" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Schema"/>
- </guardPattern>
- <bottomPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="&lt;>" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%60%%62%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" isRequired="false" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.RModelElement.kind">
- <source xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Table"
- referredVariable="#//@nestedPackage.0/@rule.6/@domain.1/@bottomPattern/@realizedVariable.0"/>
- </source>
- <argument xsi:type="pivot:StringLiteralExp" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="meta"/>
- </conditionExpression>
- </predicate>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="true" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.RModelElement.kind">
- <value xsi:type="pivot:StringLiteralExp" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="base"/>
- <slotExpression xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Table"
- referredVariable="#//@nestedPackage.0/@rule.6/@domain.1/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.Table.schema">
- <value xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Schema"
- referredVariable="#//@nestedPackage.0/@rule.6/@domain.1/@guardPattern/@variable.0"/>
- <slotExpression xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Table"
- referredVariable="#//@nestedPackage.0/@rule.6/@domain.1/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- <realizedVariable name="t" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Table"/>
- </bottomPattern>
- </domain>
- <guardPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" type="SimpleUML.ecore.oclas#T.simpleuml.Package"
- referredProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.PackageToSchema.umlPackage">
- <source xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.PackageToSchema"
- referredVariable="#//@nestedPackage.0/@rule.6/@guardPattern/@variable.0"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Package"
- referredVariable="#//@nestedPackage.0/@rule.6/@domain.0/@guardPattern/@variable.0"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Schema"
- referredProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.PackageToSchema.schema">
- <source xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.PackageToSchema"
- referredVariable="#//@nestedPackage.0/@rule.6/@guardPattern/@variable.0"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Schema"
- referredVariable="#//@nestedPackage.0/@rule.6/@domain.1/@guardPattern/@variable.0"/>
- </conditionExpression>
- </predicate>
- <variable name="p2s" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.PackageToSchema"/>
- </guardPattern>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.ClassToTable.owner">
- <value xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.PackageToSchema"
- referredVariable="#//@nestedPackage.0/@rule.6/@guardPattern/@variable.0"/>
- <slotExpression xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.ClassToTable"
- referredVariable="#//@nestedPackage.0/@rule.6/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.ClassToTable.umlClass">
- <value xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredVariable="#//@nestedPackage.0/@rule.6/@domain.0/@bottomPattern/@variable.0"/>
- <slotExpression xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.ClassToTable"
- referredVariable="#//@nestedPackage.0/@rule.6/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.ClassToTable.table">
- <value xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Table"
- referredVariable="#//@nestedPackage.0/@rule.6/@domain.1/@bottomPattern/@realizedVariable.0"/>
- <slotExpression xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.ClassToTable"
- referredVariable="#//@nestedPackage.0/@rule.6/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- <realizedVariable name="c2t" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.ClassToTable"/>
- </bottomPattern>
- <local>
- <guardPattern/>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.ClassToTable.name">
- <value xsi:type="pivot:PropertyCallExp" isRequired="false" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredVariable="#//@nestedPackage.0/@rule.6/@domain.0/@bottomPattern/@variable.0"/>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.ClassToTable"
- referredVariable="#//@nestedPackage.0/@rule.6/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.RModelElement.name">
- <value xsi:type="pivot:PropertyCallExp" isRequired="false" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.ClassToTable.name">
- <source xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.ClassToTable"
- referredVariable="#//@nestedPackage.0/@rule.6/@bottomPattern/@realizedVariable.0"/>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Table"
- referredVariable="#//@nestedPackage.0/@rule.6/@domain.1/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- </bottomPattern>
- </local>
- <local>
- <domain xsi:type="qvtcb:CoreDomain" name="rdbms" isCheckable="false" isEnforceable="true"
- typedModel="#//@nestedPackage.0/@modelParameter.1">
- <guardPattern/>
- <bottomPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.Collection.includes..ocl.OclAny">
- <source xsi:type="pivot:PropertyCallExp" type="#//@nestedPackage.1/@ownedType.8"
- referredProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.Column.key">
- <source xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Column"
- referredVariable="#//@nestedPackage.0/@rule.6/@local.1/@domain.0/@bottomPattern/@realizedVariable.1"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Key"
- referredVariable="#//@nestedPackage.0/@rule.6/@local.1/@domain.0/@bottomPattern/@realizedVariable.0"/>
- </conditionExpression>
- </predicate>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.Key.owner">
- <value xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Table"
- referredVariable="#//@nestedPackage.0/@rule.6/@domain.1/@bottomPattern/@realizedVariable.0"/>
- <slotExpression xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Key"
- referredVariable="#//@nestedPackage.0/@rule.6/@local.1/@domain.0/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.RModelElement.kind">
- <value xsi:type="pivot:StringLiteralExp" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="primary"/>
- <slotExpression xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Key"
- referredVariable="#//@nestedPackage.0/@rule.6/@local.1/@domain.0/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.Column.owner">
- <value xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Table"
- referredVariable="#//@nestedPackage.0/@rule.6/@domain.1/@bottomPattern/@realizedVariable.0"/>
- <slotExpression xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Column"
- referredVariable="#//@nestedPackage.0/@rule.6/@local.1/@domain.0/@bottomPattern/@realizedVariable.1"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="true" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.Column.key">
- <value xsi:type="pivot:CollectionLiteralExp" type="#//@nestedPackage.1/@ownedType.9"
- kind="Set">
- <part xsi:type="pivot:CollectionItem" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Key">
- <item xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Key"
- referredVariable="#//@nestedPackage.0/@rule.6/@local.1/@domain.0/@bottomPattern/@realizedVariable.0"/>
- </part>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Column"
- referredVariable="#//@nestedPackage.0/@rule.6/@local.1/@domain.0/@bottomPattern/@realizedVariable.1"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="true" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.Column.type">
- <value xsi:type="pivot:StringLiteralExp" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="NUMBER"/>
- <slotExpression xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Column"
- referredVariable="#//@nestedPackage.0/@rule.6/@local.1/@domain.0/@bottomPattern/@realizedVariable.1"/>
- </assignment>
- <realizedVariable name="pk" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Key"/>
- <realizedVariable name="pc" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Column"/>
- </bottomPattern>
- </domain>
- <guardPattern/>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.ClassToTable.primaryKey">
- <value xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Key"
- referredVariable="#//@nestedPackage.0/@rule.6/@local.1/@domain.0/@bottomPattern/@realizedVariable.0"/>
- <slotExpression xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.ClassToTable"
- referredVariable="#//@nestedPackage.0/@rule.6/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.ToColumn.column">
- <value xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Column"
- referredVariable="#//@nestedPackage.0/@rule.6/@local.1/@domain.0/@bottomPattern/@realizedVariable.1"/>
- <slotExpression xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.ClassToTable"
- referredVariable="#//@nestedPackage.0/@rule.6/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- </bottomPattern>
- <local>
- <domain xsi:type="qvtcb:CoreDomain" name="rdbms" isCheckable="false" isEnforceable="true"
- typedModel="#//@nestedPackage.0/@modelParameter.1">
- <guardPattern/>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.RModelElement.name">
- <value xsi:type="pivot:OperationCallExp" name="+" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%43%..ocl.String">
- <source xsi:type="pivot:PropertyCallExp" isRequired="false" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.RModelElement.name">
- <source xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Table"
- referredVariable="#//@nestedPackage.0/@rule.6/@domain.1/@bottomPattern/@realizedVariable.0"/>
- </source>
- <argument xsi:type="pivot:StringLiteralExp" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="_tid"/>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Column"
- referredVariable="#//@nestedPackage.0/@rule.6/@local.1/@domain.0/@bottomPattern/@realizedVariable.1"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.RModelElement.name">
- <value xsi:type="pivot:OperationCallExp" name="+" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%43%..ocl.String">
- <source xsi:type="pivot:PropertyCallExp" isRequired="false" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.RModelElement.name">
- <source xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Table"
- referredVariable="#//@nestedPackage.0/@rule.6/@domain.1/@bottomPattern/@realizedVariable.0"/>
- </source>
- <argument xsi:type="pivot:StringLiteralExp" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="_pk"/>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Key"
- referredVariable="#//@nestedPackage.0/@rule.6/@local.1/@domain.0/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- </bottomPattern>
- </domain>
- <guardPattern/>
- <bottomPattern/>
- </local>
- </local>
- </rule>
- <rule xsi:type="qvtc:Mapping" name="associationToForeignKey" refinement="#//@nestedPackage.0/@rule.5">
- <ownedComment body="-- Association and ForeignKey mapping&#xA;class AssociationToForeignKey extends ToColumn {&#xA;referenced : ClassToTable;&#xA;owner : ClassToTable opposites associationToForeignKeys;&#xA;name : String;&#xA;-- uml&#xA;association : Association;&#xA;-- rdbms&#xA;foreignKey : ForeignKey;&#xA;}"/>
- <domain xsi:type="qvtcb:CoreDomain" name="uml" isCheckable="false" isEnforceable="false"
- typedModel="#//@nestedPackage.0/@modelParameter.0">
- <guardPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" isRequired="false" type="SimpleUML.ecore.oclas#T.simpleuml.Package"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.PackageElement.namespace">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@guardPattern/@variable.1"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Package"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@guardPattern/@variable.0"/>
- </conditionExpression>
- </predicate>
- <variable name="p" type="SimpleUML.ecore.oclas#T.simpleuml.Package"/>
- <variable name="sc" type="SimpleUML.ecore.oclas#T.simpleuml.Class"/>
- <variable name="dc" type="SimpleUML.ecore.oclas#T.simpleuml.Class"/>
- </guardPattern>
- <bottomPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Association.source">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Association"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@bottomPattern/@variable.0"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@guardPattern/@variable.1"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Association.destination">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Association"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@bottomPattern/@variable.0"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@guardPattern/@variable.2"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" type="SimpleUML.ecore.oclas#T.simpleuml.Package"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.PackageElement.namespace">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Association"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@bottomPattern/@variable.0"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Package"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@guardPattern/@variable.0"/>
- </conditionExpression>
- </predicate>
- <variable name="a" type="SimpleUML.ecore.oclas#T.simpleuml.Association"/>
- </bottomPattern>
- </domain>
- <domain xsi:type="qvtcb:CoreDomain" name="rdbms" isCheckable="false" isEnforceable="true"
- typedModel="#//@nestedPackage.0/@modelParameter.1">
- <guardPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Schema"
- referredProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.Table.schema">
- <source xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Table"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.1/@guardPattern/@variable.1"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Schema"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.1/@guardPattern/@variable.0"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Table"
- referredProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.Key.owner">
- <source xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Key"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.1/@guardPattern/@variable.3"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Table"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.1/@guardPattern/@variable.2"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%61%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" isRequired="false" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.RModelElement.kind">
- <source xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Key"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.1/@guardPattern/@variable.3"/>
- </source>
- <argument xsi:type="pivot:StringLiteralExp" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="primary"/>
- </conditionExpression>
- </predicate>
- <variable name="s" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Schema"/>
- <variable name="st" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Table"/>
- <variable name="dt" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Table"/>
- <variable name="rk" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Key"/>
- </guardPattern>
- <bottomPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.Collection.includes..ocl.OclAny">
- <source xsi:type="pivot:PropertyCallExp" type="#//@nestedPackage.1/@ownedType.10"
- referredProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.Column.foreignKeys">
- <source xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Column"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.1/@bottomPattern/@realizedVariable.1"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.ForeignKey"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.1/@bottomPattern/@realizedVariable.0"/>
- </conditionExpression>
- </predicate>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.ForeignKey.owner">
- <value xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Table"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.1/@guardPattern/@variable.1"/>
- <slotExpression xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.ForeignKey"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.1/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.Column.owner">
- <value xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Table"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.1/@guardPattern/@variable.1"/>
- <slotExpression xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Column"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.1/@bottomPattern/@realizedVariable.1"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.ForeignKey.refersTo">
- <value xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Key"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.1/@guardPattern/@variable.3"/>
- <slotExpression xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.ForeignKey"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.1/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="true" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.Column.foreignKeys">
- <value xsi:type="pivot:CollectionLiteralExp" type="#//@nestedPackage.1/@ownedType.11"
- kind="Set">
- <part xsi:type="pivot:CollectionItem" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.ForeignKey">
- <item xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.ForeignKey"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.1/@bottomPattern/@realizedVariable.0"/>
- </part>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Column"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.1/@bottomPattern/@realizedVariable.1"/>
- </assignment>
- <realizedVariable name="fk" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.ForeignKey"/>
- <realizedVariable name="fc" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Column"/>
- </bottomPattern>
- </domain>
- <guardPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" isRequired="false" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.PackageToSchema"
- referredProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.ClassToTable.owner">
- <source xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.ClassToTable"
- referredVariable="#//@nestedPackage.0/@rule.7/@guardPattern/@variable.1"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.PackageToSchema"
- referredVariable="#//@nestedPackage.0/@rule.7/@guardPattern/@variable.0"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" type="SimpleUML.ecore.oclas#T.simpleuml.Package"
- referredProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.PackageToSchema.umlPackage">
- <source xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.PackageToSchema"
- referredVariable="#//@nestedPackage.0/@rule.7/@guardPattern/@variable.0"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Package"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@guardPattern/@variable.0"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Schema"
- referredProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.PackageToSchema.schema">
- <source xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.PackageToSchema"
- referredVariable="#//@nestedPackage.0/@rule.7/@guardPattern/@variable.0"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Schema"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.1/@guardPattern/@variable.0"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" isRequired="false" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Table"
- referredProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.ClassToTable.table">
- <source xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.ClassToTable"
- referredVariable="#//@nestedPackage.0/@rule.7/@guardPattern/@variable.1"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Table"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.1/@guardPattern/@variable.1"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" isRequired="false" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Table"
- referredProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.ClassToTable.table">
- <source xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.ClassToTable"
- referredVariable="#//@nestedPackage.0/@rule.7/@guardPattern/@variable.2"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Table"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.1/@guardPattern/@variable.2"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" isRequired="false" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.ClassToTable.umlClass">
- <source xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.ClassToTable"
- referredVariable="#//@nestedPackage.0/@rule.7/@guardPattern/@variable.1"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@guardPattern/@variable.1"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" isRequired="false" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.ClassToTable.umlClass">
- <source xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.ClassToTable"
- referredVariable="#//@nestedPackage.0/@rule.7/@guardPattern/@variable.2"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@guardPattern/@variable.2"/>
- </conditionExpression>
- </predicate>
- <variable name="p2s" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.PackageToSchema"/>
- <variable name="sc2t" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.ClassToTable"/>
- <variable name="dc2t" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.ClassToTable"/>
- </guardPattern>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.AssociationToForeignKey.owner">
- <value xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.ClassToTable"
- referredVariable="#//@nestedPackage.0/@rule.7/@guardPattern/@variable.1"/>
- <slotExpression xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.AssociationToForeignKey"
- referredVariable="#//@nestedPackage.0/@rule.7/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.AssociationToForeignKey.referenced">
- <value xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.ClassToTable"
- referredVariable="#//@nestedPackage.0/@rule.7/@guardPattern/@variable.2"/>
- <slotExpression xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.AssociationToForeignKey"
- referredVariable="#//@nestedPackage.0/@rule.7/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.AssociationToForeignKey.association">
- <value xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Association"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@bottomPattern/@variable.0"/>
- <slotExpression xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.AssociationToForeignKey"
- referredVariable="#//@nestedPackage.0/@rule.7/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.AssociationToForeignKey.foreignKey">
- <value xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.ForeignKey"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.1/@bottomPattern/@realizedVariable.0"/>
- <slotExpression xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.AssociationToForeignKey"
- referredVariable="#//@nestedPackage.0/@rule.7/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.ToColumn.column">
- <value xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Column"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.1/@bottomPattern/@realizedVariable.1"/>
- <slotExpression xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.AssociationToForeignKey"
- referredVariable="#//@nestedPackage.0/@rule.7/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- <realizedVariable name="a2f" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.AssociationToForeignKey"/>
- </bottomPattern>
- <local>
- <guardPattern/>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.AssociationToForeignKey.name">
- <value xsi:type="pivot:IfExp" isRequired="false" type="http://www.eclipse.org/ocl/2015/Library.oclas#String">
- <condition xsi:type="pivot:OperationCallExp" name="and" isRequired="false"
- type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.Boolean.and..ocl.Boolean">
- <source xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Association.destination">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Association"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@bottomPattern/@variable.0"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@guardPattern/@variable.2"/>
- </source>
- <argument xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Association.source">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Association"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@bottomPattern/@variable.0"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@guardPattern/@variable.1"/>
- </argument>
- </condition>
- <elseExpression xsi:type="pivot:IfExp" type="http://www.eclipse.org/ocl/2015/Library.oclas#String">
- <condition xsi:type="pivot:OperationCallExp" name="and" isRequired="false"
- type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.Boolean.and..ocl.Boolean">
- <source xsi:type="pivot:OperationCallExp" name="&lt;>" type="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">
- <source xsi:type="pivot:PropertyCallExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Association.destination">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Association"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@bottomPattern/@variable.0"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@guardPattern/@variable.2"/>
- </source>
- <argument xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Association.source">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Association"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@bottomPattern/@variable.0"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@guardPattern/@variable.1"/>
- </argument>
- </condition>
- <elseExpression xsi:type="pivot:IfExp" type="http://www.eclipse.org/ocl/2015/Library.oclas#String">
- <condition xsi:type="pivot:OperationCallExp" name="and" isRequired="false"
- type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.Boolean.and..ocl.Boolean">
- <source xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Association.destination">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Association"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@bottomPattern/@variable.0"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@guardPattern/@variable.2"/>
- </source>
- <argument xsi:type="pivot:OperationCallExp" name="&lt;>" type="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">
- <source xsi:type="pivot:PropertyCallExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Association.source">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Association"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@bottomPattern/@variable.0"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@guardPattern/@variable.1"/>
- </argument>
- </condition>
- <elseExpression xsi:type="pivot:OperationCallExp" name="+" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%43%..ocl.String">
- <source xsi:type="pivot:OperationCallExp" name="+" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%43%..ocl.String">
- <source xsi:type="pivot:OperationCallExp" name="+" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%43%..ocl.String">
- <source xsi:type="pivot:OperationCallExp" name="+" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%43%..ocl.String">
- <source xsi:type="pivot:PropertyCallExp" isRequired="false"
- type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@guardPattern/@variable.2"/>
- </source>
- <argument xsi:type="pivot:StringLiteralExp" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="_"/>
- </source>
- <argument xsi:type="pivot:PropertyCallExp" isRequired="false"
- type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Association"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@bottomPattern/@variable.0"/>
- </argument>
- </source>
- <argument xsi:type="pivot:StringLiteralExp" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="_"/>
- </source>
- <argument xsi:type="pivot:PropertyCallExp" isRequired="false"
- type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@guardPattern/@variable.1"/>
- </argument>
- </elseExpression>
- <thenExpression xsi:type="pivot:OperationCallExp" name="+" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%43%..ocl.String">
- <source xsi:type="pivot:OperationCallExp" name="+" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%43%..ocl.String">
- <source xsi:type="pivot:PropertyCallExp" isRequired="false"
- type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Association"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@bottomPattern/@variable.0"/>
- </source>
- <argument xsi:type="pivot:StringLiteralExp" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="_"/>
- </source>
- <argument xsi:type="pivot:PropertyCallExp" isRequired="false"
- type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@guardPattern/@variable.1"/>
- </argument>
- </thenExpression>
- </elseExpression>
- <thenExpression xsi:type="pivot:OperationCallExp" name="+" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%43%..ocl.String">
- <source xsi:type="pivot:OperationCallExp" name="+" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%43%..ocl.String">
- <source xsi:type="pivot:PropertyCallExp" isRequired="false" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@guardPattern/@variable.2"/>
- </source>
- <argument xsi:type="pivot:StringLiteralExp" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="_"/>
- </source>
- <argument xsi:type="pivot:PropertyCallExp" isRequired="false" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Association"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@bottomPattern/@variable.0"/>
- </argument>
- </thenExpression>
- </elseExpression>
- <thenExpression xsi:type="pivot:PropertyCallExp" isRequired="false"
- type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Association"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@bottomPattern/@variable.0"/>
- </thenExpression>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.AssociationToForeignKey"
- referredVariable="#//@nestedPackage.0/@rule.7/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <value xsi:type="pivot:IfExp" isRequired="false" type="http://www.eclipse.org/ocl/2015/Library.oclas#String">
- <condition xsi:type="pivot:OperationCallExp" name="and" isRequired="false"
- type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.Boolean.and..ocl.Boolean">
- <source xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Association.destination">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Association"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@bottomPattern/@variable.0"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@guardPattern/@variable.2"/>
- </source>
- <argument xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Association.source">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Association"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@bottomPattern/@variable.0"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@guardPattern/@variable.1"/>
- </argument>
- </condition>
- <elseExpression xsi:type="pivot:PropertyCallExp" isRequired="false"
- type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Association"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@bottomPattern/@variable.0"/>
- </elseExpression>
- <thenExpression xsi:type="pivot:PropertyCallExp" isRequired="false"
- type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.AssociationToForeignKey.name">
- <source xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.AssociationToForeignKey"
- referredVariable="#//@nestedPackage.0/@rule.7/@bottomPattern/@realizedVariable.0"/>
- </thenExpression>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Association"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.0/@bottomPattern/@variable.0"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.RModelElement.name">
- <value xsi:type="pivot:PropertyCallExp" isRequired="false" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.AssociationToForeignKey.name">
- <source xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.AssociationToForeignKey"
- referredVariable="#//@nestedPackage.0/@rule.7/@bottomPattern/@realizedVariable.0"/>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.ForeignKey"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.1/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.RModelElement.name">
- <value xsi:type="pivot:OperationCallExp" name="+" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%43%..ocl.String">
- <source xsi:type="pivot:PropertyCallExp" isRequired="false" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.AssociationToForeignKey.name">
- <source xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.AssociationToForeignKey"
- referredVariable="#//@nestedPackage.0/@rule.7/@bottomPattern/@realizedVariable.0"/>
- </source>
- <argument xsi:type="pivot:StringLiteralExp" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="_tid"/>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Column"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.1/@bottomPattern/@realizedVariable.1"/>
- </assignment>
- </bottomPattern>
- </local>
- <local>
- <guardPattern/>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.Column.type">
- <value xsi:type="pivot:PropertyCallExp" isRequired="false" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.Column.type">
- <source xsi:type="pivot:OperationCallExp" isRequired="false" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Column"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.Sequence.first">
- <source xsi:type="pivot:PropertyCallExp" type="#//@nestedPackage.1/@ownedType.12"
- referredProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.Key.column">
- <source xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Key"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.1/@guardPattern/@variable.3"/>
- </source>
- </source>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Column"
- referredVariable="#//@nestedPackage.0/@rule.7/@domain.1/@bottomPattern/@realizedVariable.1"/>
- </assignment>
- </bottomPattern>
- </local>
- </rule>
- <rule xsi:type="qvtc:Mapping" name="attributes" refinement="#//@nestedPackage.0/@rule.5"
- specification="#//@nestedPackage.0/@rule.9 #//@nestedPackage.0/@rule.10 #//@nestedPackage.0/@rule.11 #//@nestedPackage.0/@rule.12">
- <ownedComment body="-- attribute mapping&#xA;abstract class FromAttributeOwner {&#xA;composite fromAttributes : Set(FromAttribute) opposites owner;&#xA;}&#xA;abstract class FromAttribute {&#xA;name : String;&#xA;kind : String;&#xA;owner : FromAttributeOwner opposites fromAttributes;&#xA;leafs : Set(AttributeToColumn);&#xA;-- uml&#xA;attribute : Attribute;&#xA;}&#xA;abstract class ToColumn {&#xA;-- rdbms&#xA;column : Column;&#xA;}&#xA;class NonLeafAttribute extends FromAttributeOwner, FromAttribute {&#xA;leafs := fromAttributes.leafs;&#xA;}&#xA;class AttributeToColumn extends FromAttribute, ToColumn {&#xA;type : PrimitiveToName;&#xA;}"/>
- <domain xsi:type="qvtcb:CoreDomain" name="uml" isCheckable="false" isEnforceable="false"
- typedModel="#//@nestedPackage.0/@modelParameter.0">
- <guardPattern>
- <variable name="c" type="SimpleUML.ecore.oclas#T.simpleuml.Class"/>
- </guardPattern>
- <bottomPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Attribute.owner">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Attribute"
- referredVariable="#//@nestedPackage.0/@rule.8/@domain.0/@bottomPattern/@variable.0"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredVariable="#//@nestedPackage.0/@rule.8/@domain.0/@guardPattern/@variable.0"/>
- </conditionExpression>
- </predicate>
- <variable name="a" type="SimpleUML.ecore.oclas#T.simpleuml.Attribute"/>
- </bottomPattern>
- </domain>
- <guardPattern>
- <variable name="fao" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.FromAttributeOwner"/>
- </guardPattern>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.FromAttribute.attribute">
- <value xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Attribute"
- referredVariable="#//@nestedPackage.0/@rule.8/@domain.0/@bottomPattern/@variable.0"/>
- <slotExpression xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.FromAttribute"
- referredVariable="#//@nestedPackage.0/@rule.8/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.FromAttribute.owner">
- <value xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.FromAttributeOwner"
- referredVariable="#//@nestedPackage.0/@rule.8/@guardPattern/@variable.0"/>
- <slotExpression xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.FromAttribute"
- referredVariable="#//@nestedPackage.0/@rule.8/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- <realizedVariable name="fa" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.FromAttribute"/>
- </bottomPattern>
- <local>
- <guardPattern/>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.FromAttribute.kind">
- <value xsi:type="pivot:PropertyCallExp" isRequired="false" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.kind">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Attribute"
- referredVariable="#//@nestedPackage.0/@rule.8/@domain.0/@bottomPattern/@variable.0"/>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.FromAttribute"
- referredVariable="#//@nestedPackage.0/@rule.8/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- </bottomPattern>
- </local>
- </rule>
- <rule xsi:type="qvtc:Mapping" name="classAttributes" refinement="#//@nestedPackage.0/@rule.8"
- specification="#//@nestedPackage.0/@rule.13 #//@nestedPackage.0/@rule.14">
- <guardPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" isRequired="false" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.ClassToTable.umlClass">
- <source xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.ClassToTable"
- referredVariable="#//@nestedPackage.0/@rule.9/@guardPattern/@variable.0"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredVariable="#//@nestedPackage.0/@rule.8/@domain.0/@guardPattern/@variable.0"/>
- </conditionExpression>
- </predicate>
- <variable name="fao" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.ClassToTable"/>
- </guardPattern>
- <bottomPattern/>
- <local>
- <guardPattern/>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.FromAttribute.name">
- <value xsi:type="pivot:PropertyCallExp" isRequired="false" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Attribute"
- referredVariable="#//@nestedPackage.0/@rule.8/@domain.0/@bottomPattern/@variable.0"/>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.FromAttribute"
- referredVariable="#//@nestedPackage.0/@rule.8/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- </bottomPattern>
- </local>
- </rule>
- <rule xsi:type="qvtc:Mapping" name="primitiveAttribute" refinement="#//@nestedPackage.0/@rule.8"
- specification="#//@nestedPackage.0/@rule.13 #//@nestedPackage.0/@rule.15">
- <domain xsi:type="qvtcb:CoreDomain" name="uml" isCheckable="false" isEnforceable="false"
- typedModel="#//@nestedPackage.0/@modelParameter.0">
- <guardPattern>
- <variable name="t" type="SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType"/>
- </guardPattern>
- <bottomPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" type="SimpleUML.ecore.oclas#T.simpleuml.Classifier"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Attribute.type">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Attribute"
- referredVariable="#//@nestedPackage.0/@rule.8/@domain.0/@bottomPattern/@variable.0"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType"
- referredVariable="#//@nestedPackage.0/@rule.10/@domain.0/@guardPattern/@variable.0"/>
- </conditionExpression>
- </predicate>
- </bottomPattern>
- </domain>
- <guardPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" type="SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType"
- referredProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.PrimitiveToName.primitive">
- <source xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.PrimitiveToName"
- referredVariable="#//@nestedPackage.0/@rule.10/@guardPattern/@variable.0"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.PrimitiveDataType"
- referredVariable="#//@nestedPackage.0/@rule.10/@domain.0/@guardPattern/@variable.0"/>
- </conditionExpression>
- </predicate>
- <variable name="p2n" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.PrimitiveToName"/>
- </guardPattern>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.AttributeToColumn.type">
- <value xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.PrimitiveToName"
- referredVariable="#//@nestedPackage.0/@rule.10/@guardPattern/@variable.0"/>
- <slotExpression xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.AttributeToColumn"
- referredVariable="#//@nestedPackage.0/@rule.10/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- <realizedVariable name="fa" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.AttributeToColumn"/>
- </bottomPattern>
- <local>
- <guardPattern/>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.FromAttribute.leafs">
- <value xsi:type="pivot:CollectionLiteralExp" type="#//@nestedPackage.1/@ownedType.13"
- kind="Set">
- <part xsi:type="pivot:CollectionItem" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.AttributeToColumn">
- <item xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.AttributeToColumn"
- referredVariable="#//@nestedPackage.0/@rule.10/@bottomPattern/@realizedVariable.0"/>
- </part>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.AttributeToColumn"
- referredVariable="#//@nestedPackage.0/@rule.10/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- </bottomPattern>
- </local>
- </rule>
- <rule xsi:type="qvtc:Mapping" name="complexAttributeAttributes" refinement="#//@nestedPackage.0/@rule.8"
- specification="#//@nestedPackage.0/@rule.15 #//@nestedPackage.0/@rule.16">
- <domain xsi:type="qvtcb:CoreDomain" name="uml" isCheckable="false" isEnforceable="false"
- typedModel="#//@nestedPackage.0/@modelParameter.0">
- <guardPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" type="SimpleUML.ecore.oclas#T.simpleuml.Classifier"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Attribute.type">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Attribute"
- referredVariable="#//@nestedPackage.0/@rule.11/@domain.0/@guardPattern/@variable.0"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredVariable="#//@nestedPackage.0/@rule.8/@domain.0/@guardPattern/@variable.0"/>
- </conditionExpression>
- </predicate>
- <variable name="ca" type="SimpleUML.ecore.oclas#T.simpleuml.Attribute"/>
- </guardPattern>
- <bottomPattern/>
- </domain>
- <guardPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" isRequired="false" type="SimpleUML.ecore.oclas#T.simpleuml.Attribute"
- referredProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.FromAttribute.attribute">
- <source xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.NonLeafAttribute"
- referredVariable="#//@nestedPackage.0/@rule.11/@guardPattern/@variable.0"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Attribute"
- referredVariable="#//@nestedPackage.0/@rule.11/@domain.0/@guardPattern/@variable.0"/>
- </conditionExpression>
- </predicate>
- <variable name="fao" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.NonLeafAttribute"/>
- </guardPattern>
- <bottomPattern/>
- <local>
- <guardPattern/>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.FromAttribute.name">
- <value xsi:type="pivot:OperationCallExp" name="+" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%43%..ocl.String">
- <source xsi:type="pivot:OperationCallExp" name="+" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.String.%43%..ocl.String">
- <source xsi:type="pivot:PropertyCallExp" isRequired="false" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.FromAttribute.name">
- <source xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.NonLeafAttribute"
- referredVariable="#//@nestedPackage.0/@rule.11/@guardPattern/@variable.0"/>
- </source>
- <argument xsi:type="pivot:StringLiteralExp" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- stringSymbol="_"/>
- </source>
- <argument xsi:type="pivot:PropertyCallExp" isRequired="false" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.UMLModelElement.name">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Attribute"
- referredVariable="#//@nestedPackage.0/@rule.8/@domain.0/@bottomPattern/@variable.0"/>
- </argument>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.FromAttribute"
- referredVariable="#//@nestedPackage.0/@rule.8/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- </bottomPattern>
- </local>
- </rule>
- <rule xsi:type="qvtc:Mapping" name="complexAttribute" refinement="#//@nestedPackage.0/@rule.8"
- specification="#//@nestedPackage.0/@rule.14 #//@nestedPackage.0/@rule.16">
- <domain xsi:type="qvtcb:CoreDomain" name="uml" isCheckable="false" isEnforceable="false"
- typedModel="#//@nestedPackage.0/@modelParameter.0">
- <guardPattern>
- <variable name="t" type="SimpleUML.ecore.oclas#T.simpleuml.Class"/>
- </guardPattern>
- <bottomPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" type="SimpleUML.ecore.oclas#T.simpleuml.Classifier"
- referredProperty="SimpleUML.ecore.oclas#p.simpleuml.Attribute.type">
- <source xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Attribute"
- referredVariable="#//@nestedPackage.0/@rule.8/@domain.0/@bottomPattern/@variable.0"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="SimpleUML.ecore.oclas#T.simpleuml.Class"
- referredVariable="#//@nestedPackage.0/@rule.12/@domain.0/@guardPattern/@variable.0"/>
- </conditionExpression>
- </predicate>
- </bottomPattern>
- </domain>
- <guardPattern/>
- <bottomPattern>
- <realizedVariable name="fa" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.NonLeafAttribute"/>
- </bottomPattern>
- <local>
- <guardPattern/>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.FromAttribute.leafs">
- <value xsi:type="pivot:PropertyCallExp" type="#//@nestedPackage.1/@ownedType.13"
- referredProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.FromAttribute.leafs">
- <source xsi:type="pivot:PropertyCallExp" isRequired="false" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.FromAttribute"
- referredProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.FromAttributeOwner.fromAttributes">
- <source xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.FromAttributeOwner"
- referredVariable="#//@nestedPackage.0/@rule.8/@guardPattern/@variable.0"/>
- </source>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.NonLeafAttribute"
- referredVariable="#//@nestedPackage.0/@rule.12/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- </bottomPattern>
- </local>
- </rule>
- <rule xsi:type="qvtc:Mapping" name="classPrimitiveAttributes" refinement="#//@nestedPackage.0/@rule.9 #//@nestedPackage.0/@rule.10">
- <guardPattern/>
- <bottomPattern/>
- </rule>
- <rule xsi:type="qvtc:Mapping" name="classComplexAttributes" refinement="#//@nestedPackage.0/@rule.9 #//@nestedPackage.0/@rule.12">
- <guardPattern/>
- <bottomPattern/>
- </rule>
- <rule xsi:type="qvtc:Mapping" name="complexAttributePrimitiveAttributes" refinement="#//@nestedPackage.0/@rule.11 #//@nestedPackage.0/@rule.10">
- <guardPattern/>
- <bottomPattern/>
- </rule>
- <rule xsi:type="qvtc:Mapping" name="complexAttributeComplexAttributes" refinement="#//@nestedPackage.0/@rule.11 #//@nestedPackage.0/@rule.12">
- <guardPattern/>
- <bottomPattern/>
- </rule>
- <rule xsi:type="qvtc:Mapping" name="attributeColumns">
- <ownedComment body="-- column mapping"/>
- <domain xsi:type="qvtcb:CoreDomain" name="rdbms" isCheckable="false" isEnforceable="true"
- typedModel="#//@nestedPackage.0/@modelParameter.1">
- <guardPattern>
- <variable name="t" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Table"/>
- </guardPattern>
- <bottomPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.Real.%61%..ocl.OclSelf">
- <source xsi:type="pivot:OperationCallExp" type="http://www.eclipse.org/ocl/2015/Library.oclas#Integer"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.Collection.size">
- <source xsi:type="pivot:PropertyCallExp" type="#//@nestedPackage.1/@ownedType.8"
- referredProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.Column.key">
- <source xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Column"
- referredVariable="#//@nestedPackage.0/@rule.17/@domain.0/@bottomPattern/@realizedVariable.0"/>
- </source>
- </source>
- <argument xsi:type="pivot:UnlimitedNaturalLiteralExp" type="http://www.eclipse.org/ocl/2015/Library.oclas#UnlimitedNatural"
- unlimitedNaturalSymbol="0"/>
- </conditionExpression>
- </predicate>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.Real.%61%..ocl.OclSelf">
- <source xsi:type="pivot:OperationCallExp" type="http://www.eclipse.org/ocl/2015/Library.oclas#Integer"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.Collection.size">
- <source xsi:type="pivot:PropertyCallExp" type="#//@nestedPackage.1/@ownedType.10"
- referredProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.Column.foreignKeys">
- <source xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Column"
- referredVariable="#//@nestedPackage.0/@rule.17/@domain.0/@bottomPattern/@realizedVariable.0"/>
- </source>
- </source>
- <argument xsi:type="pivot:UnlimitedNaturalLiteralExp" type="http://www.eclipse.org/ocl/2015/Library.oclas#UnlimitedNatural"
- unlimitedNaturalSymbol="0"/>
- </conditionExpression>
- </predicate>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.Column.owner">
- <value xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Table"
- referredVariable="#//@nestedPackage.0/@rule.17/@domain.0/@guardPattern/@variable.0"/>
- <slotExpression xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Column"
- referredVariable="#//@nestedPackage.0/@rule.17/@domain.0/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- <realizedVariable name="c" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Column"/>
- </bottomPattern>
- </domain>
- <guardPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" name="=" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.%61%..ocl.OclSelf">
- <source xsi:type="pivot:PropertyCallExp" isRequired="false" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Table"
- referredProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.ClassToTable.table">
- <source xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.ClassToTable"
- referredVariable="#//@nestedPackage.0/@rule.17/@guardPattern/@variable.0"/>
- </source>
- <argument xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Table"
- referredVariable="#//@nestedPackage.0/@rule.17/@domain.0/@guardPattern/@variable.0"/>
- </conditionExpression>
- </predicate>
- <variable name="c2t" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.ClassToTable"/>
- </guardPattern>
- <bottomPattern>
- <predicate>
- <conditionExpression xsi:type="pivot:OperationCallExp" type="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.Collection.includes..ocl.OclAny">
- <source xsi:type="pivot:PropertyCallExp" type="#//@nestedPackage.1/@ownedType.13"
- referredProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.FromAttribute.leafs">
- <source xsi:type="pivot:PropertyCallExp" isRequired="false" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.FromAttribute"
- referredProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.FromAttributeOwner.fromAttributes">
- <source xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.ClassToTable"
- referredVariable="#//@nestedPackage.0/@rule.17/@guardPattern/@variable.0"/>
- </source>
- </source>
- <argument xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.AttributeToColumn"
- referredVariable="#//@nestedPackage.0/@rule.17/@bottomPattern/@realizedVariable.0"/>
- </conditionExpression>
- </predicate>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.ToColumn.column">
- <value xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Column"
- referredVariable="#//@nestedPackage.0/@rule.17/@domain.0/@bottomPattern/@realizedVariable.0"/>
- <slotExpression xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.AttributeToColumn"
- referredVariable="#//@nestedPackage.0/@rule.17/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="true" targetProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.FromAttribute.owner">
- <value xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.ClassToTable"
- referredVariable="#//@nestedPackage.0/@rule.17/@guardPattern/@variable.0"/>
- <slotExpression xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.AttributeToColumn"
- referredVariable="#//@nestedPackage.0/@rule.17/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- <realizedVariable name="a2c" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.AttributeToColumn"/>
- </bottomPattern>
- <local>
- <domain xsi:type="qvtcb:CoreDomain" name="rdbms" isCheckable="false" isEnforceable="true"
- typedModel="#//@nestedPackage.0/@modelParameter.1">
- <guardPattern>
- <variable name="ct" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"/>
- </guardPattern>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.Column.type">
- <value xsi:type="pivot:VariableExp" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredVariable="#//@nestedPackage.0/@rule.17/@local.0/@domain.0/@guardPattern/@variable.0"/>
- <slotExpression xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Column"
- referredVariable="#//@nestedPackage.0/@rule.17/@domain.0/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- </bottomPattern>
- </domain>
- <guardPattern>
- <variable name="p2n" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.PrimitiveToName"/>
- </guardPattern>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.AttributeToColumn.type">
- <value xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.PrimitiveToName"
- referredVariable="#//@nestedPackage.0/@rule.17/@local.0/@guardPattern/@variable.0"/>
- <slotExpression xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.AttributeToColumn"
- referredVariable="#//@nestedPackage.0/@rule.17/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.PrimitiveToName.typeName">
- <value xsi:type="pivot:VariableExp" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredVariable="#//@nestedPackage.0/@rule.17/@local.0/@domain.0/@guardPattern/@variable.0"/>
- <slotExpression xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.PrimitiveToName"
- referredVariable="#//@nestedPackage.0/@rule.17/@local.0/@guardPattern/@variable.0"/>
- </assignment>
- </bottomPattern>
- </local>
- <local>
- <guardPattern/>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.RModelElement.name">
- <value xsi:type="pivot:PropertyCallExp" isRequired="false" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.FromAttribute.name">
- <source xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.AttributeToColumn"
- referredVariable="#//@nestedPackage.0/@rule.17/@bottomPattern/@realizedVariable.0"/>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Column"
- referredVariable="#//@nestedPackage.0/@rule.17/@domain.0/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- </bottomPattern>
- </local>
- <local>
- <guardPattern/>
- <bottomPattern>
- <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimpleRDBMS.ecore.oclas#p.simplerdbms.RModelElement.kind">
- <value xsi:type="pivot:PropertyCallExp" isRequired="false" type="http://www.eclipse.org/ocl/2015/Library.oclas#String"
- referredProperty="UMLtoRDBMS.ecore.oclas#p.umltordbms.FromAttribute.kind">
- <source xsi:type="pivot:VariableExp" type="UMLtoRDBMS.ecore.oclas#T.umltordbms.AttributeToColumn"
- referredVariable="#//@nestedPackage.0/@rule.17/@bottomPattern/@realizedVariable.0"/>
- </value>
- <slotExpression xsi:type="pivot:VariableExp" type="SimpleRDBMS.ecore.oclas#T.simplerdbms.Column"
- referredVariable="#//@nestedPackage.0/@rule.17/@domain.0/@bottomPattern/@realizedVariable.0"/>
- </assignment>
- </bottomPattern>
- </local>
- </rule>
- </nestedPackage>
- <nestedPackage xmi:id="P.$$" name="$$" nsPrefix="orphanage" nsURI="http://www.eclipse.org/ocl/3.1.0/orphanage">
- <ownedType xsi:type="pivot:SetType" name="Set" superClass="#//@nestedPackage.1/@ownedType.14 #//@nestedPackage.1/@ownedType.15"
- elementType="SimpleUML.ecore.oclas#T.simpleuml.Class">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.Set">
- <parameterSubstitution actual="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..SetT"/>
- </templateBinding>
- </ownedType>
- <ownedType xsi:type="pivot:SequenceType" name="Sequence" superClass="#//@nestedPackage.1/@ownedType.16"
- elementType="SimpleUML.ecore.oclas#T.simpleuml.Class">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.Sequence">
- <parameterSubstitution actual="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..SequenceT"/>
- </templateBinding>
- </ownedType>
- <ownedType xsi:type="pivot:OrderedSetType" name="OrderedSet" superClass="#//@nestedPackage.1/@ownedType.1 #//@nestedPackage.1/@ownedType.15"
- elementType="SimpleUML.ecore.oclas#T.simpleuml.Class">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.OrderedSet">
- <parameterSubstitution actual="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..OrderedSetT"/>
- </templateBinding>
- </ownedType>
- <ownedType xsi:type="pivot:SetType" name="Set" superClass="#//@nestedPackage.1/@ownedType.4 #//@nestedPackage.1/@ownedType.17"
- elementType="SimpleUML.ecore.oclas#T.simpleuml.Attribute">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.Set">
- <parameterSubstitution actual="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..SetT"/>
- </templateBinding>
- </ownedType>
- <ownedType xsi:type="pivot:BagType" name="Bag" superClass="#//@nestedPackage.1/@ownedType.18"
- elementType="SimpleUML.ecore.oclas#T.simpleuml.Attribute">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.Bag">
- <parameterSubstitution actual="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..BagT"/>
- </templateBinding>
- </ownedType>
- <ownedType xsi:type="pivot:OrderedSetType" name="OrderedSet" superClass="#//@nestedPackage.1/@ownedType.19 #//@nestedPackage.1/@ownedType.17"
- elementType="SimpleUML.ecore.oclas#T.simpleuml.Attribute">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.OrderedSet">
- <parameterSubstitution actual="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..OrderedSetT"/>
- </templateBinding>
- </ownedType>
- <ownedType xsi:type="pivot:SetType" name="Set" superClass="#//@nestedPackage.1/@ownedType.20 #//@nestedPackage.1/@ownedType.21"
- elementType="SimpleUML.ecore.oclas#T.simpleuml.Association">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.Set">
- <parameterSubstitution actual="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Association"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..SetT"/>
- </templateBinding>
- </ownedType>
- <ownedType xsi:type="pivot:BagType" name="Bag" superClass="#//@nestedPackage.1/@ownedType.22"
- elementType="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.Bag">
- <parameterSubstitution actual="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..BagT"/>
- </templateBinding>
- </ownedType>
- <ownedType xsi:type="pivot:OrderedSetType" name="OrderedSet" superClass="#//@nestedPackage.1/@ownedType.23 #//@nestedPackage.1/@ownedType.24"
- elementType="SimpleRDBMS.ecore.oclas#T.simplerdbms.Key">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.OrderedSet">
- <parameterSubstitution actual="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Key"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..OrderedSetT"/>
- </templateBinding>
- </ownedType>
- <ownedType xsi:type="pivot:SetType" name="Set" superClass="#//@nestedPackage.1/@ownedType.25 #//@nestedPackage.1/@ownedType.24"
- elementType="SimpleRDBMS.ecore.oclas#T.simplerdbms.Key">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.Set">
- <parameterSubstitution actual="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Key"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..SetT"/>
- </templateBinding>
- </ownedType>
- <ownedType xsi:type="pivot:OrderedSetType" name="OrderedSet" superClass="#//@nestedPackage.1/@ownedType.26 #//@nestedPackage.1/@ownedType.27"
- elementType="SimpleRDBMS.ecore.oclas#T.simplerdbms.ForeignKey">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.OrderedSet">
- <parameterSubstitution actual="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.ForeignKey"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..OrderedSetT"/>
- </templateBinding>
- </ownedType>
- <ownedType xsi:type="pivot:SetType" name="Set" superClass="#//@nestedPackage.1/@ownedType.28 #//@nestedPackage.1/@ownedType.27"
- elementType="SimpleRDBMS.ecore.oclas#T.simplerdbms.ForeignKey">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.Set">
- <parameterSubstitution actual="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.ForeignKey"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..SetT"/>
- </templateBinding>
- </ownedType>
- <ownedType xsi:type="pivot:OrderedSetType" name="OrderedSet" superClass="#//@nestedPackage.1/@ownedType.29 #//@nestedPackage.1/@ownedType.30"
- elementType="SimpleRDBMS.ecore.oclas#T.simplerdbms.Column">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.OrderedSet">
- <parameterSubstitution actual="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Column"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..OrderedSetT"/>
- </templateBinding>
- </ownedType>
- <ownedType xsi:type="pivot:SetType" name="Set" superClass="#//@nestedPackage.1/@ownedType.31 #//@nestedPackage.1/@ownedType.32"
- elementType="UMLtoRDBMS.ecore.oclas#T.umltordbms.AttributeToColumn">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.Set">
- <parameterSubstitution actual="pivot:Class UMLtoRDBMS.ecore.oclas#T.umltordbms.AttributeToColumn"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..SetT"/>
- </templateBinding>
- </ownedType>
- <ownedType xsi:type="pivot:BagType" name="Bag" superClass="#//@nestedPackage.1/@ownedType.16"
- elementType="SimpleUML.ecore.oclas#T.simpleuml.Class">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.Bag">
- <parameterSubstitution actual="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..BagT"/>
- </templateBinding>
- </ownedType>
- <ownedType xsi:type="pivot:CollectionType" name="UniqueCollection" superClass="#//@nestedPackage.1/@ownedType.16"
- elementType="SimpleUML.ecore.oclas#T.simpleuml.Class">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.UniqueCollection">
- <parameterSubstitution actual="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..UniqueCollectionT"/>
- </templateBinding>
- </ownedType>
- <ownedType xsi:type="pivot:CollectionType" name="Collection" superClass="http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclAny"
- elementType="SimpleUML.ecore.oclas#T.simpleuml.Class">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.Collection">
- <parameterSubstitution actual="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Class"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..CollectionT"/>
- </templateBinding>
- </ownedType>
- <ownedType xsi:type="pivot:CollectionType" name="UniqueCollection" superClass="#//@nestedPackage.1/@ownedType.18"
- elementType="SimpleUML.ecore.oclas#T.simpleuml.Attribute">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.UniqueCollection">
- <parameterSubstitution actual="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..UniqueCollectionT"/>
- </templateBinding>
- </ownedType>
- <ownedType xsi:type="pivot:CollectionType" name="Collection" superClass="http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclAny"
- elementType="SimpleUML.ecore.oclas#T.simpleuml.Attribute">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.Collection">
- <parameterSubstitution actual="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..CollectionT"/>
- </templateBinding>
- </ownedType>
- <ownedType xsi:type="pivot:SequenceType" name="Sequence" superClass="#//@nestedPackage.1/@ownedType.18"
- elementType="SimpleUML.ecore.oclas#T.simpleuml.Attribute">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.Sequence">
- <parameterSubstitution actual="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Attribute"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..SequenceT"/>
- </templateBinding>
- </ownedType>
- <ownedType xsi:type="pivot:BagType" name="Bag" superClass="#//@nestedPackage.1/@ownedType.33"
- elementType="SimpleUML.ecore.oclas#T.simpleuml.Association">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.Bag">
- <parameterSubstitution actual="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Association"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..BagT"/>
- </templateBinding>
- </ownedType>
- <ownedType xsi:type="pivot:CollectionType" name="UniqueCollection" superClass="#//@nestedPackage.1/@ownedType.33"
- elementType="SimpleUML.ecore.oclas#T.simpleuml.Association">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.UniqueCollection">
- <parameterSubstitution actual="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Association"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..UniqueCollectionT"/>
- </templateBinding>
- </ownedType>
- <ownedType xsi:type="pivot:CollectionType" name="Collection" superClass="http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclAny"
- elementType="http://www.eclipse.org/ocl/2015/Library.oclas#Boolean">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.Collection">
- <parameterSubstitution actual="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..CollectionT"/>
- </templateBinding>
- </ownedType>
- <ownedType xsi:type="pivot:SequenceType" name="Sequence" superClass="#//@nestedPackage.1/@ownedType.34"
- elementType="SimpleRDBMS.ecore.oclas#T.simplerdbms.Key">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.Sequence">
- <parameterSubstitution actual="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Key"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..SequenceT"/>
- </templateBinding>
- </ownedType>
- <ownedType xsi:type="pivot:CollectionType" name="UniqueCollection" superClass="#//@nestedPackage.1/@ownedType.34"
- elementType="SimpleRDBMS.ecore.oclas#T.simplerdbms.Key">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.UniqueCollection">
- <parameterSubstitution actual="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Key"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..UniqueCollectionT"/>
- </templateBinding>
- </ownedType>
- <ownedType xsi:type="pivot:BagType" name="Bag" superClass="#//@nestedPackage.1/@ownedType.34"
- elementType="SimpleRDBMS.ecore.oclas#T.simplerdbms.Key">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.Bag">
- <parameterSubstitution actual="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Key"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..BagT"/>
- </templateBinding>
- </ownedType>
- <ownedType xsi:type="pivot:SequenceType" name="Sequence" superClass="#//@nestedPackage.1/@ownedType.35"
- elementType="SimpleRDBMS.ecore.oclas#T.simplerdbms.ForeignKey">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.Sequence">
- <parameterSubstitution actual="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.ForeignKey"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..SequenceT"/>
- </templateBinding>
- </ownedType>
- <ownedType xsi:type="pivot:CollectionType" name="UniqueCollection" superClass="#//@nestedPackage.1/@ownedType.35"
- elementType="SimpleRDBMS.ecore.oclas#T.simplerdbms.ForeignKey">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.UniqueCollection">
- <parameterSubstitution actual="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.ForeignKey"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..UniqueCollectionT"/>
- </templateBinding>
- </ownedType>
- <ownedType xsi:type="pivot:BagType" name="Bag" superClass="#//@nestedPackage.1/@ownedType.35"
- elementType="SimpleRDBMS.ecore.oclas#T.simplerdbms.ForeignKey">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.Bag">
- <parameterSubstitution actual="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.ForeignKey"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..BagT"/>
- </templateBinding>
- </ownedType>
- <ownedType xsi:type="pivot:SequenceType" name="Sequence" superClass="#//@nestedPackage.1/@ownedType.36"
- elementType="SimpleRDBMS.ecore.oclas#T.simplerdbms.Column">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.Sequence">
- <parameterSubstitution actual="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Column"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..SequenceT"/>
- </templateBinding>
- </ownedType>
- <ownedType xsi:type="pivot:CollectionType" name="UniqueCollection" superClass="#//@nestedPackage.1/@ownedType.36"
- elementType="SimpleRDBMS.ecore.oclas#T.simplerdbms.Column">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.UniqueCollection">
- <parameterSubstitution actual="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Column"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..UniqueCollectionT"/>
- </templateBinding>
- </ownedType>
- <ownedType xsi:type="pivot:BagType" name="Bag" superClass="#//@nestedPackage.1/@ownedType.37"
- elementType="UMLtoRDBMS.ecore.oclas#T.umltordbms.AttributeToColumn">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.Bag">
- <parameterSubstitution actual="pivot:Class UMLtoRDBMS.ecore.oclas#T.umltordbms.AttributeToColumn"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..BagT"/>
- </templateBinding>
- </ownedType>
- <ownedType xsi:type="pivot:CollectionType" name="UniqueCollection" superClass="#//@nestedPackage.1/@ownedType.37"
- elementType="UMLtoRDBMS.ecore.oclas#T.umltordbms.AttributeToColumn">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.UniqueCollection">
- <parameterSubstitution actual="pivot:Class UMLtoRDBMS.ecore.oclas#T.umltordbms.AttributeToColumn"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..UniqueCollectionT"/>
- </templateBinding>
- </ownedType>
- <ownedType xsi:type="pivot:CollectionType" name="Collection" superClass="http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclAny"
- elementType="SimpleUML.ecore.oclas#T.simpleuml.Association">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.Collection">
- <parameterSubstitution actual="pivot:Class SimpleUML.ecore.oclas#T.simpleuml.Association"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..CollectionT"/>
- </templateBinding>
- </ownedType>
- <ownedType xsi:type="pivot:CollectionType" name="Collection" superClass="http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclAny"
- elementType="SimpleRDBMS.ecore.oclas#T.simplerdbms.Key">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.Collection">
- <parameterSubstitution actual="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Key"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..CollectionT"/>
- </templateBinding>
- </ownedType>
- <ownedType xsi:type="pivot:CollectionType" name="Collection" superClass="http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclAny"
- elementType="SimpleRDBMS.ecore.oclas#T.simplerdbms.ForeignKey">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.Collection">
- <parameterSubstitution actual="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.ForeignKey"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..CollectionT"/>
- </templateBinding>
- </ownedType>
- <ownedType xsi:type="pivot:CollectionType" name="Collection" superClass="http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclAny"
- elementType="SimpleRDBMS.ecore.oclas#T.simplerdbms.Column">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.Collection">
- <parameterSubstitution actual="pivot:Class SimpleRDBMS.ecore.oclas#T.simplerdbms.Column"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..CollectionT"/>
- </templateBinding>
- </ownedType>
- <ownedType xsi:type="pivot:CollectionType" name="Collection" superClass="http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclAny"
- elementType="UMLtoRDBMS.ecore.oclas#T.umltordbms.AttributeToColumn">
- <templateBinding signature="http://www.eclipse.org/ocl/2015/Library.oclas#s.Collection">
- <parameterSubstitution actual="pivot:Class UMLtoRDBMS.ecore.oclas#T.umltordbms.AttributeToColumn"
- formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..CollectionT"/>
- </templateBinding>
- </ownedType>
- </nestedPackage>
-</qvtc:CoreModel>

Back to the top