Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Willink2016-09-15 10:34:00 +0000
committerEd Willink2016-09-19 11:18:52 +0000
commitdc9a5fa67e4c2888c7c4858a8e6e89c63f06a9ac (patch)
tree88c4f120f8f96395b3be57e8144f49d8af08fa02
parent3e863cce917bdec183ffba3d3d3a7ba0e91c196f (diff)
downloadorg.eclipse.qvtd-dc9a5fa67e4c2888c7c4858a8e6e89c63f06a9ac.tar.gz
org.eclipse.qvtd-dc9a5fa67e4c2888c7c4858a8e6e89c63f06a9ac.tar.xz
org.eclipse.qvtd-dc9a5fa67e4c2888c7c4858a8e6e89c63f06a9ac.zip
[500369] Regenerate AS, CS, editor
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtbase/emf-gen/org/eclipse/qvtd/pivot/qvtbase/util/QVTbaseAdapterFactory.java212
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/AddStatement.java49
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/Area.java122
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/Assignment.java142
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/BottomPattern.java81
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/CheckStatement.java (renamed from plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/VariableAssignment.java)32
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/ConnectionVariable.java10
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/GuardPattern.java62
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/GuardVariable.java66
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/ImperativeDomain.java40
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/ImperativePattern.java59
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/InConnectionVariable.java (renamed from plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/BottomStatement.java)13
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/LoopVariable.java62
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/Mapping.java50
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/MappingCall.java27
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/MappingCallBinding.java35
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/MappingLoop.java9
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/NewStatement.java36
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/OutConnectionVariable.java64
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/PredicateVariable.java86
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/QVTimperativeFactory.java56
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/QVTimperativePackage.java1310
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/SetStatement.java61
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/VariablePredicate.java61
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/VariableStatement.java29
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/AddStatementImpl.java78
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/AssignmentImpl.java382
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/BottomPatternImpl.java265
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/CheckStatementImpl.java199
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/ConnectionVariableImpl.java28
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/GuardVariableImpl.java (renamed from plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/VariableAssignmentImpl.java)76
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/ImperativeDomainImpl.java238
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/InConnectionVariableImpl.java65
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/LoopVariableImpl.java (renamed from plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/GuardPatternImpl.java)78
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/MappingCallBindingImpl.java60
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/MappingCallImpl.java42
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/MappingImpl.java274
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/MappingLoopImpl.java26
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/NewStatementImpl.java85
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/OutConnectionVariableImpl.java (renamed from plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/ImperativePatternImpl.java)91
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/PredicateVariableImpl.java270
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/QVTimperativeFactoryImpl.java80
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/QVTimperativePackageImpl.java484
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/SetStatementImpl.java127
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/VariablePredicateImpl.java177
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/VariableStatementImpl.java (renamed from plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/BottomStatementImpl.java)14
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractDelegatingQVTimperativeVisitor.java46
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractExtendingQVTimperativeVisitor.java50
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractMergedQVTimperativeVisitor.java32
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractNullQVTimperativeVisitor.java32
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeAS2MonikerVisitor.java50
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeAS2XMIidVisitor.java50
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeASSaverLocateVisitor.java50
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeASSaverNormalizeVisitor.java50
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeASSaverResolveVisitor.java50
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeTemplateParameterSubstitutionVisitor.java50
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractWrappingQVTimperativeVisitor.java68
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/QVTimperativeAdapterFactory.java458
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/QVTimperativeSwitch.java309
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/QVTimperativeVisitor.java14
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtrelation/emf-gen/org/eclipse/qvtd/pivot/qvtrelation/util/QVTrelationAdapterFactory.java218
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvttemplate/emf-gen/org/eclipse/qvtd/pivot/qvttemplate/util/QVTtemplateAdapterFactory.java98
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative.ui/src-gen/org/eclipse/qvtd/xtext/qvtimperative/ui/contentassist/AbstractQVTimperativeProposalProvider.java169
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative.ui/src-gen/org/eclipse/qvtd/xtext/qvtimperative/ui/contentassist/antlr/QVTimperativeParser.java125
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative.ui/src-gen/org/eclipse/qvtd/xtext/qvtimperative/ui/contentassist/antlr/internal/InternalQVTimperative.g3797
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative.ui/src-gen/org/eclipse/qvtd/xtext/qvtimperative/ui/contentassist/antlr/internal/InternalQVTimperative.tokens104
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative.ui/src-gen/org/eclipse/qvtd/xtext/qvtimperative/ui/contentassist/antlr/internal/InternalQVTimperativeLexer.java1115
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative.ui/src-gen/org/eclipse/qvtd/xtext/qvtimperative/ui/contentassist/antlr/internal/InternalQVTimperativeParser.java33443
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/AddStatementCS.java15
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/AreaCS.java89
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/BottomPatternCS.java52
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/CheckStatementCS.java (renamed from plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/PredicateCS.java)14
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/DomainCS.java24
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/GuardPatternCS.java52
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/GuardVariableCS.java64
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/InoutVariableCS.java30
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/MappingCS.java26
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/MappingCallBindingCS.java8
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/NewStatementCS.java22
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/OutVariableCS.java30
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/PatternCS.java54
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/PredicateVariableCS.java (renamed from plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/PredicateOrAssignmentCS.java)57
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/QVTimperativeCSFactory.java56
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/QVTimperativeCSPackage.java1143
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/SetStatementCS.java65
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/UnrealizedVariableCS.java91
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/AddStatementCSImpl.java18
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/AreaCSImpl.java261
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/BottomPatternCSImpl.java172
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/CheckStatementCSImpl.java (renamed from plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/PredicateCSImpl.java)36
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/DomainCSImpl.java42
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/GuardVariableCSImpl.java (renamed from plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/GuardPatternCSImpl.java)92
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/InoutVariableCSImpl.java67
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/MappingCSImpl.java71
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/MappingCallBindingCSImpl.java18
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/NewStatementCSImpl.java56
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/OutVariableCSImpl.java67
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/PatternCSImpl.java166
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/PredicateOrAssignmentCSImpl.java268
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/PredicateVariableCSImpl.java (renamed from plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/UnrealizedVariableCSImpl.java)113
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/QVTimperativeCSFactoryImpl.java82
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/QVTimperativeCSPackageImpl.java330
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/SetStatementCSImpl.java138
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractDelegatingQVTimperativeCSVisitor.java40
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractExtendingQVTimperativeCSVisitor.java38
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractNullQVTimperativeCSVisitor.java26
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractQVTimperativeCSContainmentVisitor.java38
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractQVTimperativeCSLeft2RightVisitor.java38
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractQVTimperativeCSPostOrderVisitor.java38
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractQVTimperativeCSPreOrderVisitor.java38
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/QVTimperativeCSAdapterFactory.java152
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/QVTimperativeCSSwitch.java253
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/QVTimperativeCSVisitor.java12
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/src-gen/org/eclipse/qvtd/xtext/qvtimperative/QVTimperative.xtextbinbin27169 -> 25875 bytes
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/src-gen/org/eclipse/qvtd/xtext/qvtimperative/QVTimperativeGrammarResource.java64
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/src-gen/org/eclipse/qvtd/xtext/qvtimperative/parser/antlr/internal/InternalQVTimperative.g1453
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/src-gen/org/eclipse/qvtd/xtext/qvtimperative/parser/antlr/internal/InternalQVTimperative.tokens258
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/src-gen/org/eclipse/qvtd/xtext/qvtimperative/parser/antlr/internal/InternalQVTimperativeLexer.java1645
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/src-gen/org/eclipse/qvtd/xtext/qvtimperative/parser/antlr/internal/InternalQVTimperativeParser.java14336
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/src-gen/org/eclipse/qvtd/xtext/qvtimperative/serializer/AbstractQVTimperativeSemanticSequencer.java272
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/src-gen/org/eclipse/qvtd/xtext/qvtimperative/serializer/AbstractQVTimperativeSyntacticSequencer.java41
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/src-gen/org/eclipse/qvtd/xtext/qvtimperative/services/QVTimperativeGrammarAccess.java1387
122 files changed, 30048 insertions, 40261 deletions
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtbase/emf-gen/org/eclipse/qvtd/pivot/qvtbase/util/QVTbaseAdapterFactory.java b/plugins/org.eclipse.qvtd.pivot.qvtbase/emf-gen/org/eclipse/qvtd/pivot/qvtbase/util/QVTbaseAdapterFactory.java
index 8302295cf..6591bc4c9 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtbase/emf-gen/org/eclipse/qvtd/pivot/qvtbase/util/QVTbaseAdapterFactory.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtbase/emf-gen/org/eclipse/qvtd/pivot/qvtbase/util/QVTbaseAdapterFactory.java
@@ -96,112 +96,112 @@ public class QVTbaseAdapterFactory extends AdapterFactoryImpl {
* @generated
*/
protected QVTbaseSwitch<@Nullable Adapter> modelSwitch =
- new QVTbaseSwitch<@Nullable Adapter>() {
- @Override
- public Adapter caseBaseModel(BaseModel object) {
- return createBaseModelAdapter();
- }
- @Override
- public Adapter caseDomain(Domain object) {
- return createDomainAdapter();
- }
- @Override
- public Adapter caseFunction(Function object) {
- return createFunctionAdapter();
- }
- @Override
- public Adapter caseFunctionParameter(FunctionParameter object) {
- return createFunctionParameterAdapter();
- }
- @Override
- public Adapter casePattern(Pattern object) {
- return createPatternAdapter();
- }
- @Override
- public Adapter casePredicate(Predicate object) {
- return createPredicateAdapter();
- }
- @Override
- public Adapter caseRule(Rule object) {
- return createRuleAdapter();
- }
- @Override
- public Adapter caseTransformation(Transformation object) {
- return createTransformationAdapter();
- }
- @Override
- public Adapter caseTypedModel(TypedModel object) {
- return createTypedModelAdapter();
- }
- @Override
- public Adapter caseVisitable(Visitable object) {
- return createVisitableAdapter();
- }
- @Override
- public Adapter caseElement(Element object) {
- return createElementAdapter();
- }
- @Override
- public Adapter caseNameable(Nameable object) {
- return createNameableAdapter();
- }
- @Override
- public Adapter caseNamedElement(NamedElement object) {
- return createNamedElementAdapter();
- }
- @Override
- public Adapter caseNamespace(Namespace object) {
- return createNamespaceAdapter();
- }
- @Override
- public Adapter caseModel(Model object) {
- return createModelAdapter();
- }
- @Override
- public Adapter caseReferringElement(ReferringElement object) {
- return createReferringElementAdapter();
- }
- @Override
- public Adapter caseTypedElement(TypedElement object) {
- return createTypedElementAdapter();
- }
- @Override
- public Adapter caseFeature(Feature object) {
- return createFeatureAdapter();
- }
- @Override
- public Adapter caseTemplateableElement(TemplateableElement object) {
- return createTemplateableElementAdapter();
- }
- @Override
- public Adapter caseOperation(Operation object) {
- return createOperationAdapter();
- }
- @Override
- public Adapter caseVariableDeclaration(VariableDeclaration object) {
- return createVariableDeclarationAdapter();
- }
- @Override
- public Adapter caseParameter(Parameter object) {
- return createParameterAdapter();
- }
- @Override
- public Adapter caseVariable(Variable object) {
- return createVariableAdapter();
- }
- @Override
- public Adapter caseType(Type object) {
- return createTypeAdapter();
- }
- @Override
- public Adapter caseClass(org.eclipse.ocl.pivot.Class object) {
- return createClassAdapter();
- }
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
+ new QVTbaseSwitch<@Nullable Adapter>() {
+ @Override
+ public Adapter caseBaseModel(BaseModel object) {
+ return createBaseModelAdapter();
+ }
+ @Override
+ public Adapter caseDomain(Domain object) {
+ return createDomainAdapter();
+ }
+ @Override
+ public Adapter caseFunction(Function object) {
+ return createFunctionAdapter();
+ }
+ @Override
+ public Adapter caseFunctionParameter(FunctionParameter object) {
+ return createFunctionParameterAdapter();
+ }
+ @Override
+ public Adapter casePattern(Pattern object) {
+ return createPatternAdapter();
+ }
+ @Override
+ public Adapter casePredicate(Predicate object) {
+ return createPredicateAdapter();
+ }
+ @Override
+ public Adapter caseRule(Rule object) {
+ return createRuleAdapter();
+ }
+ @Override
+ public Adapter caseTransformation(Transformation object) {
+ return createTransformationAdapter();
+ }
+ @Override
+ public Adapter caseTypedModel(TypedModel object) {
+ return createTypedModelAdapter();
+ }
+ @Override
+ public Adapter caseVisitable(Visitable object) {
+ return createVisitableAdapter();
+ }
+ @Override
+ public Adapter caseElement(Element object) {
+ return createElementAdapter();
+ }
+ @Override
+ public Adapter caseNameable(Nameable object) {
+ return createNameableAdapter();
+ }
+ @Override
+ public Adapter caseNamedElement(NamedElement object) {
+ return createNamedElementAdapter();
+ }
+ @Override
+ public Adapter caseNamespace(Namespace object) {
+ return createNamespaceAdapter();
+ }
+ @Override
+ public Adapter caseModel(Model object) {
+ return createModelAdapter();
+ }
+ @Override
+ public Adapter caseReferringElement(ReferringElement object) {
+ return createReferringElementAdapter();
+ }
+ @Override
+ public Adapter caseTypedElement(TypedElement object) {
+ return createTypedElementAdapter();
+ }
+ @Override
+ public Adapter caseFeature(Feature object) {
+ return createFeatureAdapter();
+ }
+ @Override
+ public Adapter caseTemplateableElement(TemplateableElement object) {
+ return createTemplateableElementAdapter();
+ }
+ @Override
+ public Adapter caseOperation(Operation object) {
+ return createOperationAdapter();
+ }
+ @Override
+ public Adapter caseVariableDeclaration(VariableDeclaration object) {
+ return createVariableDeclarationAdapter();
+ }
+ @Override
+ public Adapter caseParameter(Parameter object) {
+ return createParameterAdapter();
+ }
+ @Override
+ public Adapter caseVariable(Variable object) {
+ return createVariableAdapter();
+ }
+ @Override
+ public Adapter caseType(Type object) {
+ return createTypeAdapter();
+ }
+ @Override
+ public Adapter caseClass(org.eclipse.ocl.pivot.Class object) {
+ return createClassAdapter();
+ }
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
/**
* Creates an adapter for the <code>target</code>.
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/AddStatement.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/AddStatement.java
index 7527e50bc..9e5427c59 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/AddStatement.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/AddStatement.java
@@ -31,7 +31,7 @@ import org.eclipse.ocl.pivot.OCLExpression;
* <ul>
* <li>{@link org.eclipse.qvtd.pivot.qvtimperative.AddStatement#getTargetVariable <em>Target Variable</em>}</li>
* <li>{@link org.eclipse.qvtd.pivot.qvtimperative.AddStatement#getValue <em>Value</em>}</li>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.AddStatement#isIsEnforceadUnique <em>Is Enforcead Unique</em>}</li>
+ * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.AddStatement#isIsEnforcedUnique <em>Is Enforced Unique</em>}</li>
* </ul>
*
* @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getAddStatement()
@@ -89,55 +89,28 @@ public interface AddStatement extends MappingStatement {
void setValue(OCLExpression value);
/**
- * Returns the value of the '<em><b>Is Enforcead Unique</b></em>' attribute.
+ * Returns the value of the '<em><b>Is Enforced Unique</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Is Enforcead Unique</em>' attribute isn't clear,
+ * If the meaning of the '<em>Is Enforced Unique</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- * @return the value of the '<em>Is Enforcead Unique</em>' attribute.
- * @see #isSetIsEnforceadUnique()
- * @see #unsetIsEnforceadUnique()
- * @see #setIsEnforceadUnique(boolean)
- * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getAddStatement_IsEnforceadUnique()
+ * @return the value of the '<em>Is Enforced Unique</em>' attribute.
+ * @see #setIsEnforcedUnique(boolean)
+ * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getAddStatement_IsEnforcedUnique()
* @generated
*/
- boolean isIsEnforceadUnique();
+ boolean isIsEnforcedUnique();
/**
- * Sets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.AddStatement#isIsEnforceadUnique <em>Is Enforcead Unique</em>}' attribute.
+ * Sets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.AddStatement#isIsEnforcedUnique <em>Is Enforced Unique</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Is Enforcead Unique</em>' attribute.
- * @see #isSetIsEnforceadUnique()
- * @see #unsetIsEnforceadUnique()
- * @see #isIsEnforceadUnique()
+ * @param value the new value of the '<em>Is Enforced Unique</em>' attribute.
+ * @see #isIsEnforcedUnique()
* @generated
*/
- void setIsEnforceadUnique(boolean value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.AddStatement#isIsEnforceadUnique <em>Is Enforcead Unique</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetIsEnforceadUnique()
- * @see #isIsEnforceadUnique()
- * @see #setIsEnforceadUnique(boolean)
- * @generated
- */
- void unsetIsEnforceadUnique();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.AddStatement#isIsEnforceadUnique <em>Is Enforcead Unique</em>}' attribute is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Is Enforcead Unique</em>' attribute is set.
- * @see #unsetIsEnforceadUnique()
- * @see #isIsEnforceadUnique()
- * @see #setIsEnforceadUnique(boolean)
- * @generated
- */
- boolean isSetIsEnforceadUnique();
+ void setIsEnforcedUnique(boolean value);
} // AddStatement
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/Area.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/Area.java
deleted file mode 100644
index 79f400491..000000000
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/Area.java
+++ /dev/null
@@ -1,122 +0,0 @@
-/**
- * <copyright>
- *
- * Copyright (c) 2013, 2017 Willink Transformations and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * E.D.Willink - Initial API and implementation
- *
- * </copyright>
- */
-package org.eclipse.qvtd.pivot.qvtimperative;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.ocl.pivot.Element;
-import org.eclipse.ocl.pivot.Property;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Area</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.Area#getGuardPattern <em>Guard Pattern</em>}</li>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.Area#getBottomPattern <em>Bottom Pattern</em>}</li>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.Area#getCheckedProperties <em>Checked Properties</em>}</li>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.Area#getEnforcedProperties <em>Enforced Properties</em>}</li>
- * </ul>
- *
- * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getArea()
- * @generated
- */
-public interface Area extends Element {
- /**
- * Returns the value of the '<em><b>Guard Pattern</b></em>' containment reference.
- * It is bidirectional and its opposite is '{@link org.eclipse.qvtd.pivot.qvtimperative.GuardPattern#getArea <em>Area</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Guard Pattern</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Guard Pattern</em>' containment reference.
- * @see #setGuardPattern(GuardPattern)
- * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getArea_GuardPattern()
- * @see org.eclipse.qvtd.pivot.qvtimperative.GuardPattern#getArea
- * @generated
- */
- GuardPattern getGuardPattern();
-
- /**
- * Sets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.Area#getGuardPattern <em>Guard Pattern</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Guard Pattern</em>' containment reference.
- * @see #getGuardPattern()
- * @generated
- */
- void setGuardPattern(GuardPattern value);
-
- /**
- * Returns the value of the '<em><b>Bottom Pattern</b></em>' containment reference.
- * It is bidirectional and its opposite is '{@link org.eclipse.qvtd.pivot.qvtimperative.BottomPattern#getArea <em>Area</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Bottom Pattern</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Bottom Pattern</em>' containment reference.
- * @see #setBottomPattern(BottomPattern)
- * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getArea_BottomPattern()
- * @see org.eclipse.qvtd.pivot.qvtimperative.BottomPattern#getArea
- * @generated
- */
- BottomPattern getBottomPattern();
-
- /**
- * Sets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.Area#getBottomPattern <em>Bottom Pattern</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Bottom Pattern</em>' containment reference.
- * @see #getBottomPattern()
- * @generated
- */
- void setBottomPattern(BottomPattern value);
-
- /**
- * Returns the value of the '<em><b>Checked Properties</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.ocl.pivot.Property}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * The properties whose accesses must be polled for readiness prior to use here.
- * <!-- end-model-doc -->
- * @return the value of the '<em>Checked Properties</em>' reference list.
- * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getArea_CheckedProperties()
- * @generated
- */
- EList<Property> getCheckedProperties();
-
- /**
- * Returns the value of the '<em><b>Enforced Properties</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.ocl.pivot.Property}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * The properties whose assignments may be polled for readiness prior to use elsewhere.
- * <!-- end-model-doc -->
- * @return the value of the '<em>Enforced Properties</em>' reference list.
- * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getArea_EnforcedProperties()
- * @generated
- */
- EList<Property> getEnforcedProperties();
-
-} // Area
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/Assignment.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/Assignment.java
deleted file mode 100644
index 752ed4651..000000000
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/Assignment.java
+++ /dev/null
@@ -1,142 +0,0 @@
-/**
- * <copyright>
- *
- * Copyright (c) 2013, 2017 Willink Transformations and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * E.D.Willink - Initial API and implementation
- *
- * </copyright>
- */
-package org.eclipse.qvtd.pivot.qvtimperative;
-
-import org.eclipse.ocl.pivot.Element;
-import org.eclipse.ocl.pivot.OCLExpression;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Assignment</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.Assignment#getBottomPattern <em>Bottom Pattern</em>}</li>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.Assignment#getValue <em>Value</em>}</li>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.Assignment#isIsDefault <em>Is Default</em>}</li>
- * </ul>
- *
- * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getAssignment()
- * @generated
- */
-public interface Assignment extends Element {
- /**
- * Returns the value of the '<em><b>Bottom Pattern</b></em>' container reference.
- * It is bidirectional and its opposite is '{@link org.eclipse.qvtd.pivot.qvtimperative.BottomPattern#getAssignment <em>Assignment</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Bottom Pattern</em>' container reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Bottom Pattern</em>' container reference.
- * @see #setBottomPattern(BottomPattern)
- * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getAssignment_BottomPattern()
- * @see org.eclipse.qvtd.pivot.qvtimperative.BottomPattern#getAssignment
- * @generated
- */
- BottomPattern getBottomPattern();
-
- /**
- * Sets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.Assignment#getBottomPattern <em>Bottom Pattern</em>}' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Bottom Pattern</em>' container reference.
- * @see #getBottomPattern()
- * @generated
- */
- void setBottomPattern(BottomPattern value);
-
- /**
- * Returns the value of the '<em><b>Value</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Value</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Value</em>' containment reference.
- * @see #setValue(OCLExpression)
- * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getAssignment_Value()
- * @generated
- */
- OCLExpression getValue();
-
- /**
- * Sets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.Assignment#getValue <em>Value</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Value</em>' containment reference.
- * @see #getValue()
- * @generated
- */
- void setValue(OCLExpression value);
-
- /**
- * Returns the value of the '<em><b>Is Default</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Is Default</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Is Default</em>' attribute.
- * @see #isSetIsDefault()
- * @see #unsetIsDefault()
- * @see #setIsDefault(boolean)
- * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getAssignment_IsDefault()
- * @generated
- */
- boolean isIsDefault();
-
- /**
- * Sets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.Assignment#isIsDefault <em>Is Default</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Is Default</em>' attribute.
- * @see #isSetIsDefault()
- * @see #unsetIsDefault()
- * @see #isIsDefault()
- * @generated
- */
- void setIsDefault(boolean value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.Assignment#isIsDefault <em>Is Default</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetIsDefault()
- * @see #isIsDefault()
- * @see #setIsDefault(boolean)
- * @generated
- */
- void unsetIsDefault();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.Assignment#isIsDefault <em>Is Default</em>}' attribute is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Is Default</em>' attribute is set.
- * @see #unsetIsDefault()
- * @see #isIsDefault()
- * @see #setIsDefault(boolean)
- * @generated
- */
- boolean isSetIsDefault();
-
-} // Assignment
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/BottomPattern.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/BottomPattern.java
deleted file mode 100644
index b09fd7342..000000000
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/BottomPattern.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/**
- * <copyright>
- *
- * Copyright (c) 2013, 2017 Willink Transformations and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * E.D.Willink - Initial API and implementation
- *
- * </copyright>
- */
-package org.eclipse.qvtd.pivot.qvtimperative;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Bottom Pattern</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.BottomPattern#getArea <em>Area</em>}</li>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.BottomPattern#getAssignment <em>Assignment</em>}</li>
- * </ul>
- *
- * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getBottomPattern()
- * @generated
- */
-public interface BottomPattern extends ImperativePattern {
- /**
- * Returns the value of the '<em><b>Area</b></em>' container reference.
- * It is bidirectional and its opposite is '{@link org.eclipse.qvtd.pivot.qvtimperative.Area#getBottomPattern <em>Bottom Pattern</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Area</em>' container reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Area</em>' container reference.
- * @see #setArea(Area)
- * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getBottomPattern_Area()
- * @see org.eclipse.qvtd.pivot.qvtimperative.Area#getBottomPattern
- * @generated
- */
- @Override
- Area getArea();
-
- /**
- * Sets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.BottomPattern#getArea <em>Area</em>}' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Area</em>' container reference.
- * @see #getArea()
- * @generated
- */
- void setArea(Area value);
-
- /**
- * Returns the value of the '<em><b>Assignment</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.qvtd.pivot.qvtimperative.Assignment}.
- * It is bidirectional and its opposite is '{@link org.eclipse.qvtd.pivot.qvtimperative.Assignment#getBottomPattern <em>Bottom Pattern</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Assignment</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Assignment</em>' containment reference list.
- * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getBottomPattern_Assignment()
- * @see org.eclipse.qvtd.pivot.qvtimperative.Assignment#getBottomPattern
- * @generated
- */
- EList<Assignment> getAssignment();
-
-} // BottomPattern
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/VariableAssignment.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/CheckStatement.java
index 0c8c67ac8..2114eca16 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/VariableAssignment.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/CheckStatement.java
@@ -14,47 +14,47 @@
*/
package org.eclipse.qvtd.pivot.qvtimperative;
-import org.eclipse.ocl.pivot.Variable;
+import org.eclipse.ocl.pivot.OCLExpression;
/**
* <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Variable Assignment</b></em>'.
+ * A representation of the model object '<em><b>Check Statement</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.VariableAssignment#getTargetVariable <em>Target Variable</em>}</li>
+ * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.CheckStatement#getConditionExpression <em>Condition Expression</em>}</li>
* </ul>
*
- * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getVariableAssignment()
+ * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getCheckStatement()
* @generated
*/
-public interface VariableAssignment extends Assignment {
+public interface CheckStatement extends Statement {
/**
- * Returns the value of the '<em><b>Target Variable</b></em>' reference.
+ * Returns the value of the '<em><b>Condition Expression</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Target Variable</em>' reference isn't clear,
+ * If the meaning of the '<em>Condition Expression</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- * @return the value of the '<em>Target Variable</em>' reference.
- * @see #setTargetVariable(Variable)
- * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getVariableAssignment_TargetVariable()
+ * @return the value of the '<em>Condition Expression</em>' containment reference.
+ * @see #setConditionExpression(OCLExpression)
+ * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getCheckStatement_ConditionExpression()
* @generated
*/
- Variable getTargetVariable();
+ OCLExpression getConditionExpression();
/**
- * Sets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.VariableAssignment#getTargetVariable <em>Target Variable</em>}' reference.
+ * Sets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.CheckStatement#getConditionExpression <em>Condition Expression</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Target Variable</em>' reference.
- * @see #getTargetVariable()
+ * @param value the new value of the '<em>Condition Expression</em>' containment reference.
+ * @see #getConditionExpression()
* @generated
*/
- void setTargetVariable(Variable value);
+ void setConditionExpression(OCLExpression value);
-} // VariableAssignment
+} // CheckStatement
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/ConnectionVariable.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/ConnectionVariable.java
index e313b8cfb..693b97873 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/ConnectionVariable.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/ConnectionVariable.java
@@ -1,20 +1,20 @@
/**
* <copyright>
- *
+ *
* Copyright (c) 2013, 2016 Willink Transformations and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* E.D.Willink - Initial API and implementation
- *
+ *
* </copyright>
*/
package org.eclipse.qvtd.pivot.qvtimperative;
-import org.eclipse.ocl.pivot.Variable;
+import org.eclipse.ocl.pivot.VariableDeclaration;
/**
* <!-- begin-user-doc -->
@@ -29,5 +29,5 @@ import org.eclipse.ocl.pivot.Variable;
* @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getConnectionVariable()
* @generated
*/
-public interface ConnectionVariable extends Variable {
+public interface ConnectionVariable extends VariableDeclaration {
} // ConnectionVariable
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/GuardPattern.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/GuardPattern.java
deleted file mode 100644
index 625b37468..000000000
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/GuardPattern.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/**
- * <copyright>
- *
- * Copyright (c) 2013, 2017 Willink Transformations and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * E.D.Willink - Initial API and implementation
- *
- * </copyright>
- */
-package org.eclipse.qvtd.pivot.qvtimperative;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Guard Pattern</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.GuardPattern#getArea <em>Area</em>}</li>
- * </ul>
- *
- * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getGuardPattern()
- * @generated
- */
-public interface GuardPattern extends ImperativePattern {
- /**
- * Returns the value of the '<em><b>Area</b></em>' container reference.
- * It is bidirectional and its opposite is '{@link org.eclipse.qvtd.pivot.qvtimperative.Area#getGuardPattern <em>Guard Pattern</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Area</em>' container reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Area</em>' container reference.
- * @see #setArea(Area)
- * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getGuardPattern_Area()
- * @see org.eclipse.qvtd.pivot.qvtimperative.Area#getGuardPattern
- * @generated
- */
- @Override
- Area getArea();
-
- /**
- * Sets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.GuardPattern#getArea <em>Area</em>}' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Area</em>' container reference.
- * @see #getArea()
- * @generated
- */
- void setArea(Area value);
-
-} // GuardPattern
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/GuardVariable.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/GuardVariable.java
new file mode 100644
index 000000000..a357870a6
--- /dev/null
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/GuardVariable.java
@@ -0,0 +1,66 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2013, 2017 Willink Transformations and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * E.D.Willink - Initial API and implementation
+ *
+ * </copyright>
+ */
+package org.eclipse.qvtd.pivot.qvtimperative;
+
+import org.eclipse.ocl.pivot.VariableDeclaration;
+
+import org.eclipse.qvtd.pivot.qvtbase.TypedModel;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Guard Variable</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * A ConnectionVariable accumulates one or more assignments.
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * </p>
+ * <ul>
+ * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.GuardVariable#getReferredTypedModel <em>Referred Typed Model</em>}</li>
+ * </ul>
+ *
+ * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getGuardVariable()
+ * @generated
+ */
+public interface GuardVariable extends VariableDeclaration {
+ /**
+ * Returns the value of the '<em><b>Referred Typed Model</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Referred Typed Model</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Referred Typed Model</em>' reference.
+ * @see #setReferredTypedModel(TypedModel)
+ * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getGuardVariable_ReferredTypedModel()
+ * @generated
+ */
+ TypedModel getReferredTypedModel();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.GuardVariable#getReferredTypedModel <em>Referred Typed Model</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Referred Typed Model</em>' reference.
+ * @see #getReferredTypedModel()
+ * @generated
+ */
+ void setReferredTypedModel(TypedModel value);
+
+} // GuardVariable
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/ImperativeDomain.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/ImperativeDomain.java
index c6d130315..368363741 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/ImperativeDomain.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/ImperativeDomain.java
@@ -14,6 +14,8 @@
*/
package org.eclipse.qvtd.pivot.qvtimperative;
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.ocl.pivot.Property;
import org.eclipse.qvtd.pivot.qvtbase.Domain;
/**
@@ -21,9 +23,45 @@ import org.eclipse.qvtd.pivot.qvtbase.Domain;
* A representation of the model object '<em><b>Core Domain</b></em>'.
* <!-- end-user-doc -->
*
+ * <p>
+ * The following features are supported:
+ * </p>
+ * <ul>
+ * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.ImperativeDomain#getCheckedProperties <em>Checked Properties</em>}</li>
+ * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.ImperativeDomain#getOwnedGuardVariables <em>Owned Guard Variables</em>}</li>
+ * </ul>
*
* @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getImperativeDomain()
* @generated
*/
-public interface ImperativeDomain extends Domain, Area {
+public interface ImperativeDomain extends Domain {
+
+ /**
+ * Returns the value of the '<em><b>Checked Properties</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.ocl.pivot.Property}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * The properties whose accesses must be polled for readiness prior to use here.
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Checked Properties</em>' reference list.
+ * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getImperativeDomain_CheckedProperties()
+ * @generated
+ */
+ EList<Property> getCheckedProperties();
+
+ /**
+ * Returns the value of the '<em><b>Owned Guard Variables</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.qvtd.pivot.qvtimperative.GuardVariable}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Owned Guard Variables</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Owned Guard Variables</em>' containment reference list.
+ * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getImperativeDomain_OwnedGuardVariables()
+ * @generated
+ */
+ EList<GuardVariable> getOwnedGuardVariables();
} // ImperativeDomain
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/ImperativePattern.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/ImperativePattern.java
deleted file mode 100644
index 8e8717f3c..000000000
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/ImperativePattern.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/**
- * <copyright>
- *
- * Copyright (c) 2013, 2017 Willink Transformations and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * E.D.Willink - Initial API and implementation
- *
- * </copyright>
- */
-package org.eclipse.qvtd.pivot.qvtimperative;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.ocl.pivot.Variable;
-import org.eclipse.qvtd.pivot.qvtbase.Pattern;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Core Pattern</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.ImperativePattern#getVariable <em>Variable</em>}</li>
- * </ul>
- *
- * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getImperativePattern()
- * @generated
- */
-public interface ImperativePattern extends Pattern {
- /**
- * Returns the value of the '<em><b>Variable</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.ocl.pivot.Variable}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Variable</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Variable</em>' containment reference list.
- * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getImperativePattern_Variable()
- * @generated
- */
- EList<Variable> getVariable();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- Area getArea();
-
-} // CorePattern
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/BottomStatement.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/InConnectionVariable.java
index 78240ac64..7c083e664 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/BottomStatement.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/InConnectionVariable.java
@@ -17,19 +17,16 @@ package org.eclipse.qvtd.pivot.qvtimperative;
/**
* <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Bottom Statement</b></em>'.
+ * A representation of the model object '<em><b>In Connection Variable</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
- * A MappingCall specifies the invocation of a referredMapping with a set of bindings
- * of the bound variables of the referredMapping to values provided in the invocation.
- * Where Collections of values are provided for isLoop bindings, a distinct invocation
- * is performed for each distinct permutation of Collection elements.
+ * A ConnectionVariable accumulates one or more assignments.
* <!-- end-model-doc -->
*
*
- * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getBottomStatement()
+ * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getInConnectionVariable()
* @generated
*/
-public interface BottomStatement extends Statement {
-} // BottomStatement
+public interface InConnectionVariable extends ConnectionVariable {
+} // InConnectionVariable
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/LoopVariable.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/LoopVariable.java
new file mode 100644
index 000000000..814b47b30
--- /dev/null
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/LoopVariable.java
@@ -0,0 +1,62 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2013, 2017 Willink Transformations and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * E.D.Willink - Initial API and implementation
+ *
+ * </copyright>
+ */
+package org.eclipse.qvtd.pivot.qvtimperative;
+
+import org.eclipse.ocl.pivot.VariableDeclaration;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Loop Variable</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * </p>
+ * <ul>
+ * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.LoopVariable#getOwningMappingLoop <em>Owning Mapping Loop</em>}</li>
+ * </ul>
+ *
+ * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getLoopVariable()
+ * @generated
+ */
+public interface LoopVariable extends VariableDeclaration {
+ /**
+ * Returns the value of the '<em><b>Owning Mapping Loop</b></em>' container reference.
+ * It is bidirectional and its opposite is '{@link org.eclipse.qvtd.pivot.qvtimperative.MappingLoop#getOwnedIterators <em>Owned Iterators</em>}'.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Owning Mapping Loop</em>' container reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Owning Mapping Loop</em>' container reference.
+ * @see #setOwningMappingLoop(MappingLoop)
+ * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getLoopVariable_OwningMappingLoop()
+ * @see org.eclipse.qvtd.pivot.qvtimperative.MappingLoop#getOwnedIterators
+ * @generated
+ */
+ MappingLoop getOwningMappingLoop();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.LoopVariable#getOwningMappingLoop <em>Owning Mapping Loop</em>}' container reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Owning Mapping Loop</em>' container reference.
+ * @see #getOwningMappingLoop()
+ * @generated
+ */
+ void setOwningMappingLoop(MappingLoop value);
+
+} // LoopVariable
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/Mapping.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/Mapping.java
index deacd11ca..c90f32123 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/Mapping.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/Mapping.java
@@ -11,6 +11,7 @@
package org.eclipse.qvtd.pivot.qvtimperative;
import org.eclipse.emf.common.util.EList;
+import org.eclipse.ocl.pivot.Property;
import org.eclipse.qvtd.pivot.qvtbase.Rule;
/**
@@ -28,13 +29,46 @@ import org.eclipse.qvtd.pivot.qvtbase.Rule;
* The following features are supported:
* </p>
* <ul>
+ * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.Mapping#getOwnedGuardVariables <em>Owned Guard Variables</em>}</li>
+ * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.Mapping#getInoutVariables <em>Inout Variables</em>}</li>
* <li>{@link org.eclipse.qvtd.pivot.qvtimperative.Mapping#getOwnedStatements <em>Owned Statements</em>}</li>
+ * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.Mapping#getCheckedProperties <em>Checked Properties</em>}</li>
* </ul>
*
* @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getMapping()
* @generated
*/
-public interface Mapping extends Rule, Area {
+public interface Mapping extends Rule {
+ /**
+ * Returns the value of the '<em><b>Owned Guard Variables</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.qvtd.pivot.qvtimperative.GuardVariable}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Owned Guard Variables</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Owned Guard Variables</em>' containment reference list.
+ * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getMapping_OwnedGuardVariables()
+ * @generated
+ */
+ EList<GuardVariable> getOwnedGuardVariables();
+
+ /**
+ * Returns the value of the '<em><b>Inout Variables</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.qvtd.pivot.qvtimperative.InConnectionVariable}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Inout Variables</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Inout Variables</em>' containment reference list.
+ * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getMapping_InoutVariables()
+ * @generated
+ */
+ EList<InConnectionVariable> getInoutVariables();
+
/**
* Returns the value of the '<em><b>Owned Statements</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.qvtd.pivot.qvtimperative.Statement}.
@@ -50,4 +84,18 @@ public interface Mapping extends Rule, Area {
*/
EList<Statement> getOwnedStatements();
+ /**
+ * Returns the value of the '<em><b>Checked Properties</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.ocl.pivot.Property}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * The properties whose accesses must be polled for readiness prior to use here.
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Checked Properties</em>' reference list.
+ * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getMapping_CheckedProperties()
+ * @generated
+ */
+ EList<Property> getCheckedProperties();
+
} // Mapping
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/MappingCall.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/MappingCall.java
index 222ca2fbe..936c77451 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/MappingCall.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/MappingCall.java
@@ -95,8 +95,6 @@ public interface MappingCall extends MappingStatement, ReferringElement {
* An infinite MappingCall requires re-invocation of the called mapping to be suppressed to avoid an infinite loop.
* <!-- end-model-doc -->
* @return the value of the '<em>Is Infinite</em>' attribute.
- * @see #isSetIsInfinite()
- * @see #unsetIsInfinite()
* @see #setIsInfinite(boolean)
* @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getMappingCall_IsInfinite()
* @generated
@@ -108,34 +106,9 @@ public interface MappingCall extends MappingStatement, ReferringElement {
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Is Infinite</em>' attribute.
- * @see #isSetIsInfinite()
- * @see #unsetIsInfinite()
* @see #isIsInfinite()
* @generated
*/
void setIsInfinite(boolean value);
- /**
- * Unsets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.MappingCall#isIsInfinite <em>Is Infinite</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetIsInfinite()
- * @see #isIsInfinite()
- * @see #setIsInfinite(boolean)
- * @generated
- */
- void unsetIsInfinite();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.MappingCall#isIsInfinite <em>Is Infinite</em>}' attribute is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Is Infinite</em>' attribute is set.
- * @see #unsetIsInfinite()
- * @see #isIsInfinite()
- * @see #setIsInfinite(boolean)
- * @generated
- */
- boolean isSetIsInfinite();
-
} // MappingCall
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/MappingCallBinding.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/MappingCallBinding.java
index 6c688a329..431456677 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/MappingCallBinding.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/MappingCallBinding.java
@@ -12,7 +12,7 @@ package org.eclipse.qvtd.pivot.qvtimperative;
import org.eclipse.ocl.pivot.Element;
import org.eclipse.ocl.pivot.OCLExpression;
-import org.eclipse.ocl.pivot.Variable;
+import org.eclipse.ocl.pivot.VariableDeclaration;
/**
* <!-- begin-user-doc -->
@@ -82,11 +82,11 @@ public interface MappingCallBinding extends Element {
* The variable with the mappingCall.referredMapping bound to the/a value
* <!-- end-model-doc -->
* @return the value of the '<em>Bound Variable</em>' reference.
- * @see #setBoundVariable(Variable)
+ * @see #setBoundVariable(VariableDeclaration)
* @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getMappingCallBinding_BoundVariable()
* @generated
*/
- Variable getBoundVariable();
+ VariableDeclaration getBoundVariable();
/**
* Sets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.MappingCallBinding#getBoundVariable <em>Bound Variable</em>}' reference.
@@ -96,7 +96,7 @@ public interface MappingCallBinding extends Element {
* @see #getBoundVariable()
* @generated
*/
- void setBoundVariable(Variable value);
+ void setBoundVariable(VariableDeclaration value);
/**
* Returns the value of the '<em><b>Is Polled</b></em>' attribute.
@@ -111,8 +111,6 @@ public interface MappingCallBinding extends Element {
* A polled MappingCallBinding requires invocation of the mapping to be deverred until all relevant properties are available.
* <!-- end-model-doc -->
* @return the value of the '<em>Is Polled</em>' attribute.
- * @see #isSetIsPolled()
- * @see #unsetIsPolled()
* @see #setIsPolled(boolean)
* @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getMappingCallBinding_IsPolled()
* @generated
@@ -124,37 +122,12 @@ public interface MappingCallBinding extends Element {
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Is Polled</em>' attribute.
- * @see #isSetIsPolled()
- * @see #unsetIsPolled()
* @see #isIsPolled()
* @generated
*/
void setIsPolled(boolean value);
/**
- * Unsets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.MappingCallBinding#isIsPolled <em>Is Polled</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetIsPolled()
- * @see #isIsPolled()
- * @see #setIsPolled(boolean)
- * @generated
- */
- void unsetIsPolled();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.MappingCallBinding#isIsPolled <em>Is Polled</em>}' attribute is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Is Polled</em>' attribute is set.
- * @see #unsetIsPolled()
- * @see #isIsPolled()
- * @see #setIsPolled(boolean)
- * @generated
- */
- boolean isSetIsPolled();
-
- /**
* Returns the value of the '<em><b>Value</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/MappingLoop.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/MappingLoop.java
index c5a1b06c6..cf7d15e5a 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/MappingLoop.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/MappingLoop.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* E.D.Willink - Initial API and implementation
*******************************************************************************/
@@ -12,7 +12,6 @@ package org.eclipse.qvtd.pivot.qvtimperative;
import org.eclipse.emf.common.util.EList;
import org.eclipse.ocl.pivot.OCLExpression;
-import org.eclipse.ocl.pivot.Variable;
/**
* <!-- begin-user-doc -->
@@ -39,7 +38,8 @@ public interface MappingLoop extends MappingStatement {
/**
* Returns the value of the '<em><b>Owned Iterators</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.ocl.pivot.Variable}.
+ * The list contents are of type {@link org.eclipse.qvtd.pivot.qvtimperative.LoopVariable}.
+ * It is bidirectional and its opposite is '{@link org.eclipse.qvtd.pivot.qvtimperative.LoopVariable#getOwningMappingLoop <em>Owning Mapping Loop</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Owned Iterators</em>' containment reference list isn't clear,
@@ -48,9 +48,10 @@ public interface MappingLoop extends MappingStatement {
* <!-- end-user-doc -->
* @return the value of the '<em>Owned Iterators</em>' containment reference list.
* @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getMappingLoop_OwnedIterators()
+ * @see org.eclipse.qvtd.pivot.qvtimperative.LoopVariable#getOwningMappingLoop
* @generated
*/
- EList<Variable> getOwnedIterators();
+ EList<LoopVariable> getOwnedIterators();
/**
* Returns the value of the '<em><b>Owned Mapping Statements</b></em>' containment reference list.
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/NewStatement.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/NewStatement.java
index 8285e82f7..a020bd3ff 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/NewStatement.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/NewStatement.java
@@ -1,20 +1,20 @@
/**
* <copyright>
- *
+ *
* Copyright (c) 2013, 2017 Willink Transformations and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* E.D.Willink - Initial API and implementation
- *
+ *
* </copyright>
*/
package org.eclipse.qvtd.pivot.qvtimperative;
-import org.eclipse.ocl.pivot.Variable;
+import org.eclipse.ocl.pivot.OCLExpression;
import org.eclipse.qvtd.pivot.qvtbase.TypedModel;
/**
@@ -27,12 +27,13 @@ import org.eclipse.qvtd.pivot.qvtbase.TypedModel;
* </p>
* <ul>
* <li>{@link org.eclipse.qvtd.pivot.qvtimperative.NewStatement#getReferredTypedModel <em>Referred Typed Model</em>}</li>
+ * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.NewStatement#getOwnedInit <em>Owned Init</em>}</li>
* </ul>
*
* @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getNewStatement()
* @generated
*/
-public interface NewStatement extends Variable, BottomStatement {
+public interface NewStatement extends VariableStatement {
/**
* Returns the value of the '<em><b>Referred Typed Model</b></em>' reference.
@@ -58,4 +59,29 @@ public interface NewStatement extends Variable, BottomStatement {
* @generated
*/
void setReferredTypedModel(TypedModel value);
+
+ /**
+ * Returns the value of the '<em><b>Owned Init</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Owned Init</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Owned Init</em>' containment reference.
+ * @see #setOwnedInit(OCLExpression)
+ * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getNewStatement_OwnedInit()
+ * @generated
+ */
+ OCLExpression getOwnedInit();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.NewStatement#getOwnedInit <em>Owned Init</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Owned Init</em>' containment reference.
+ * @see #getOwnedInit()
+ * @generated
+ */
+ void setOwnedInit(OCLExpression value);
} // NewStatement
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/OutConnectionVariable.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/OutConnectionVariable.java
new file mode 100644
index 000000000..4a8e42ea7
--- /dev/null
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/OutConnectionVariable.java
@@ -0,0 +1,64 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2013, 2017 Willink Transformations and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * E.D.Willink - Initial API and implementation
+ *
+ * </copyright>
+ */
+package org.eclipse.qvtd.pivot.qvtimperative;
+
+import org.eclipse.ocl.pivot.OCLExpression;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Out Connection Variable</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * A ConnectionVariable accumulates one or more assignments.
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * </p>
+ * <ul>
+ * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.OutConnectionVariable#getOwnedInit <em>Owned Init</em>}</li>
+ * </ul>
+ *
+ * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getOutConnectionVariable()
+ * @generated
+ */
+public interface OutConnectionVariable extends ConnectionVariable, VariableStatement {
+ /**
+ * Returns the value of the '<em><b>Owned Init</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Owned Init</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Owned Init</em>' containment reference.
+ * @see #setOwnedInit(OCLExpression)
+ * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getOutConnectionVariable_OwnedInit()
+ * @generated
+ */
+ OCLExpression getOwnedInit();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.OutConnectionVariable#getOwnedInit <em>Owned Init</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Owned Init</em>' containment reference.
+ * @see #getOwnedInit()
+ * @generated
+ */
+ void setOwnedInit(OCLExpression value);
+
+} // OutConnectionVariable
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/PredicateVariable.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/PredicateVariable.java
new file mode 100644
index 000000000..235a5f937
--- /dev/null
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/PredicateVariable.java
@@ -0,0 +1,86 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2013, 2017 Willink Transformations and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * E.D.Willink - Initial API and implementation
+ *
+ * </copyright>
+ */
+package org.eclipse.qvtd.pivot.qvtimperative;
+
+import org.eclipse.ocl.pivot.OCLExpression;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Predicate Variable</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * </p>
+ * <ul>
+ * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.PredicateVariable#getOwnedInit <em>Owned Init</em>}</li>
+ * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.PredicateVariable#isIsChecked <em>Is Checked</em>}</li>
+ * </ul>
+ *
+ * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getPredicateVariable()
+ * @generated
+ */
+public interface PredicateVariable extends VariableStatement {
+ /**
+ * Returns the value of the '<em><b>Owned Init</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Owned Init</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Owned Init</em>' containment reference.
+ * @see #setOwnedInit(OCLExpression)
+ * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getPredicateVariable_OwnedInit()
+ * @generated
+ */
+ OCLExpression getOwnedInit();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.PredicateVariable#getOwnedInit <em>Owned Init</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Owned Init</em>' containment reference.
+ * @see #getOwnedInit()
+ * @generated
+ */
+ void setOwnedInit(OCLExpression value);
+
+ /**
+ * Returns the value of the '<em><b>Is Checked</b></em>' attribute.
+ * The default value is <code>"false"</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * Whether the variable initialization needs to be checked as a predicate. This is a derivation of not ownedInit.type.conformsTo(self.type).
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Is Checked</em>' attribute.
+ * @see #setIsChecked(boolean)
+ * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getPredicateVariable_IsChecked()
+ * @generated
+ */
+ boolean isIsChecked();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.PredicateVariable#isIsChecked <em>Is Checked</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Is Checked</em>' attribute.
+ * @see #isIsChecked()
+ * @generated
+ */
+ void setIsChecked(boolean value);
+
+} // PredicateVariable
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/QVTimperativeFactory.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/QVTimperativeFactory.java
index 4373a26f0..8f2a71d48 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/QVTimperativeFactory.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/QVTimperativeFactory.java
@@ -37,34 +37,25 @@ public interface QVTimperativeFactory extends EFactory {
* @return a new object of class '<em>Add Statement</em>'.
* @generated
*/
- AddStatement createAddStatement();
+ @NonNull AddStatement createAddStatement();
/**
- * Returns a new object of class '<em>Bottom Pattern</em>'.
+ * Returns a new object of class '<em>Check Statement</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return a new object of class '<em>Bottom Pattern</em>'.
+ * @return a new object of class '<em>Check Statement</em>'.
* @generated
*/
- @NonNull BottomPattern createBottomPattern();
+ @NonNull CheckStatement createCheckStatement();
/**
- * Returns a new object of class '<em>Connection Variable</em>'.
+ * Returns a new object of class '<em>Guard Variable</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return a new object of class '<em>Connection Variable</em>'.
+ * @return a new object of class '<em>Guard Variable</em>'.
* @generated
*/
- @NonNull ConnectionVariable createConnectionVariable();
-
- /**
- * Returns a new object of class '<em>Guard Pattern</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Guard Pattern</em>'.
- * @generated
- */
- @NonNull GuardPattern createGuardPattern();
+ @NonNull GuardVariable createGuardVariable();
/**
* Returns a new object of class '<em>Imperative Domain</em>'.
@@ -85,13 +76,22 @@ public interface QVTimperativeFactory extends EFactory {
@NonNull ImperativeModel createImperativeModel();
/**
- * Returns a new object of class '<em>Imperative Pattern</em>'.
+ * Returns a new object of class '<em>In Connection Variable</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>In Connection Variable</em>'.
+ * @generated
+ */
+ @NonNull InConnectionVariable createInConnectionVariable();
+
+ /**
+ * Returns a new object of class '<em>Loop Variable</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return a new object of class '<em>Imperative Pattern</em>'.
+ * @return a new object of class '<em>Loop Variable</em>'.
* @generated
*/
- @NonNull ImperativePattern createImperativePattern();
+ @NonNull LoopVariable createLoopVariable();
/**
* Returns a new object of class '<em>Mapping</em>'.
@@ -139,31 +139,31 @@ public interface QVTimperativeFactory extends EFactory {
@NonNull NewStatement createNewStatement();
/**
- * Returns a new object of class '<em>Set Statement</em>'.
+ * Returns a new object of class '<em>Out Connection Variable</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return a new object of class '<em>Set Statement</em>'.
+ * @return a new object of class '<em>Out Connection Variable</em>'.
* @generated
*/
- @NonNull SetStatement createSetStatement();
+ @NonNull OutConnectionVariable createOutConnectionVariable();
/**
- * Returns a new object of class '<em>Variable Assignment</em>'.
+ * Returns a new object of class '<em>Predicate Variable</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return a new object of class '<em>Variable Assignment</em>'.
+ * @return a new object of class '<em>Predicate Variable</em>'.
* @generated
*/
- @NonNull VariableAssignment createVariableAssignment();
+ @NonNull PredicateVariable createPredicateVariable();
/**
- * Returns a new object of class '<em>Variable Predicate</em>'.
+ * Returns a new object of class '<em>Set Statement</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return a new object of class '<em>Variable Predicate</em>'.
+ * @return a new object of class '<em>Set Statement</em>'.
* @generated
*/
- @NonNull VariablePredicate createVariablePredicate();
+ @NonNull SetStatement createSetStatement();
/**
* Returns the package supported by this factory.
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/QVTimperativePackage.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/QVTimperativePackage.java
index ffb10b37f..001ab52b3 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/QVTimperativePackage.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/QVTimperativePackage.java
@@ -89,46 +89,6 @@ public interface QVTimperativePackage extends EPackage {
QVTimperativePackage eINSTANCE = org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl.init();
/**
- * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.Area <em>Area</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.Area
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getArea()
- * @generated
- */
- int AREA = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.AssignmentImpl <em>Assignment</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.AssignmentImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getAssignment()
- * @generated
- */
- int ASSIGNMENT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.ImperativePatternImpl <em>Imperative Pattern</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.ImperativePatternImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getImperativePattern()
- * @generated
- */
- int IMPERATIVE_PATTERN = 9;
-
- /**
- * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.BottomPatternImpl <em>Bottom Pattern</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.BottomPatternImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getBottomPattern()
- * @generated
- */
- int BOTTOM_PATTERN = 3;
-
- /**
* The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.ImperativeModelImpl <em>Imperative Model</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -136,7 +96,7 @@ public interface QVTimperativePackage extends EPackage {
* @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getImperativeModel()
* @generated
*/
- int IMPERATIVE_MODEL = 8;
+ int IMPERATIVE_MODEL = 5;
/**
* The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.MappingImpl <em>Mapping</em>}' class.
@@ -146,7 +106,7 @@ public interface QVTimperativePackage extends EPackage {
* @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getMapping()
* @generated
*/
- int MAPPING = 10;
+ int MAPPING = 8;
/**
* The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.MappingStatementImpl <em>Mapping Statement</em>}' class.
@@ -156,7 +116,7 @@ public interface QVTimperativePackage extends EPackage {
* @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getMappingStatement()
* @generated
*/
- int MAPPING_STATEMENT = 14;
+ int MAPPING_STATEMENT = 12;
/**
* The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.ConnectionVariableImpl <em>Connection Variable</em>}' class.
@@ -166,17 +126,7 @@ public interface QVTimperativePackage extends EPackage {
* @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getConnectionVariable()
* @generated
*/
- int CONNECTION_VARIABLE = 5;
-
- /**
- * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.GuardPatternImpl <em>Guard Pattern</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.GuardPatternImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getGuardPattern()
- * @generated
- */
- int GUARD_PATTERN = 6;
+ int CONNECTION_VARIABLE = 2;
/**
* The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.ImperativeDomainImpl <em>Imperative Domain</em>}' class.
@@ -186,7 +136,7 @@ public interface QVTimperativePackage extends EPackage {
* @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getImperativeDomain()
* @generated
*/
- int IMPERATIVE_DOMAIN = 7;
+ int IMPERATIVE_DOMAIN = 4;
/**
* The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.MappingCallImpl <em>Mapping Call</em>}' class.
@@ -196,7 +146,7 @@ public interface QVTimperativePackage extends EPackage {
* @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getMappingCall()
* @generated
*/
- int MAPPING_CALL = 11;
+ int MAPPING_CALL = 9;
/**
* The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.MappingCallBindingImpl <em>Mapping Call Binding</em>}' class.
@@ -206,7 +156,7 @@ public interface QVTimperativePackage extends EPackage {
* @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getMappingCallBinding()
* @generated
*/
- int MAPPING_CALL_BINDING = 12;
+ int MAPPING_CALL_BINDING = 10;
/**
* The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.MappingLoopImpl <em>Mapping Loop</em>}' class.
@@ -216,7 +166,7 @@ public interface QVTimperativePackage extends EPackage {
* @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getMappingLoop()
* @generated
*/
- int MAPPING_LOOP = 13;
+ int MAPPING_LOOP = 11;
/**
* The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.StatementImpl <em>Statement</em>}' class.
@@ -283,16 +233,6 @@ public interface QVTimperativePackage extends EPackage {
int STATEMENT_FEATURE_COUNT = PivotPackage.NAMED_ELEMENT_FEATURE_COUNT + 0;
/**
- * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.BottomStatementImpl <em>Bottom Statement</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.BottomStatementImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getBottomStatement()
- * @generated
- */
- int BOTTOM_STATEMENT = 4;
-
- /**
* The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -420,13 +360,13 @@ public interface QVTimperativePackage extends EPackage {
int ADD_STATEMENT__VALUE = MAPPING_STATEMENT_FEATURE_COUNT + 1;
/**
- * The feature id for the '<em><b>Is Enforcead Unique</b></em>' attribute.
+ * The feature id for the '<em><b>Is Enforced Unique</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int ADD_STATEMENT__IS_ENFORCEAD_UNIQUE = MAPPING_STATEMENT_FEATURE_COUNT + 2;
+ int ADD_STATEMENT__IS_ENFORCED_UNIQUE = MAPPING_STATEMENT_FEATURE_COUNT + 2;
/**
* The number of structural features of the '<em>Add Statement</em>' class.
@@ -438,85 +378,14 @@ public interface QVTimperativePackage extends EPackage {
int ADD_STATEMENT_FEATURE_COUNT = MAPPING_STATEMENT_FEATURE_COUNT + 3;
/**
- * The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int AREA__ANNOTATING_COMMENTS = PivotPackage.ELEMENT__ANNOTATING_COMMENTS;
-
- /**
- * The feature id for the '<em><b>Owned Annotations</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int AREA__OWNED_ANNOTATIONS = PivotPackage.ELEMENT__OWNED_ANNOTATIONS;
-
- /**
- * The feature id for the '<em><b>Owned Comments</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int AREA__OWNED_COMMENTS = PivotPackage.ELEMENT__OWNED_COMMENTS;
-
- /**
- * The feature id for the '<em><b>Owned Extensions</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int AREA__OWNED_EXTENSIONS = PivotPackage.ELEMENT__OWNED_EXTENSIONS;
-
- /**
- * The feature id for the '<em><b>Guard Pattern</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int AREA__GUARD_PATTERN = PivotPackage.ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Bottom Pattern</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int AREA__BOTTOM_PATTERN = PivotPackage.ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Checked Properties</b></em>' reference list.
+ * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.CheckStatementImpl <em>Check Statement</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.CheckStatementImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getCheckStatement()
* @generated
- * @ordered
*/
- int AREA__CHECKED_PROPERTIES = PivotPackage.ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Enforced Properties</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int AREA__ENFORCED_PROPERTIES = PivotPackage.ELEMENT_FEATURE_COUNT + 3;
-
- /**
- * The number of structural features of the '<em>Area</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int AREA_FEATURE_COUNT = PivotPackage.ELEMENT_FEATURE_COUNT + 4;
+ int CHECK_STATEMENT = 1;
/**
* The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
@@ -525,7 +394,7 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int ASSIGNMENT__ANNOTATING_COMMENTS = PivotPackage.ELEMENT__ANNOTATING_COMMENTS;
+ int CHECK_STATEMENT__ANNOTATING_COMMENTS = STATEMENT__ANNOTATING_COMMENTS;
/**
* The feature id for the '<em><b>Owned Annotations</b></em>' containment reference list.
@@ -534,7 +403,7 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int ASSIGNMENT__OWNED_ANNOTATIONS = PivotPackage.ELEMENT__OWNED_ANNOTATIONS;
+ int CHECK_STATEMENT__OWNED_ANNOTATIONS = STATEMENT__OWNED_ANNOTATIONS;
/**
* The feature id for the '<em><b>Owned Comments</b></em>' containment reference list.
@@ -543,7 +412,7 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int ASSIGNMENT__OWNED_COMMENTS = PivotPackage.ELEMENT__OWNED_COMMENTS;
+ int CHECK_STATEMENT__OWNED_COMMENTS = STATEMENT__OWNED_COMMENTS;
/**
* The feature id for the '<em><b>Owned Extensions</b></em>' containment reference list.
@@ -552,43 +421,34 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int ASSIGNMENT__OWNED_EXTENSIONS = PivotPackage.ELEMENT__OWNED_EXTENSIONS;
+ int CHECK_STATEMENT__OWNED_EXTENSIONS = STATEMENT__OWNED_EXTENSIONS;
/**
- * The feature id for the '<em><b>Bottom Pattern</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ASSIGNMENT__BOTTOM_PATTERN = PivotPackage.ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' containment reference.
+ * The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int ASSIGNMENT__VALUE = PivotPackage.ELEMENT_FEATURE_COUNT + 1;
+ int CHECK_STATEMENT__NAME = STATEMENT__NAME;
/**
- * The feature id for the '<em><b>Is Default</b></em>' attribute.
+ * The feature id for the '<em><b>Condition Expression</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int ASSIGNMENT__IS_DEFAULT = PivotPackage.ELEMENT_FEATURE_COUNT + 2;
+ int CHECK_STATEMENT__CONDITION_EXPRESSION = STATEMENT_FEATURE_COUNT + 0;
/**
- * The number of structural features of the '<em>Assignment</em>' class.
+ * The number of structural features of the '<em>Check Statement</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int ASSIGNMENT_FEATURE_COUNT = PivotPackage.ELEMENT_FEATURE_COUNT + 3;
+ int CHECK_STATEMENT_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 1;
/**
* The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
@@ -597,7 +457,7 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int IMPERATIVE_PATTERN__ANNOTATING_COMMENTS = QVTbasePackage.PATTERN__ANNOTATING_COMMENTS;
+ int CONNECTION_VARIABLE__ANNOTATING_COMMENTS = PivotPackage.VARIABLE_DECLARATION__ANNOTATING_COMMENTS;
/**
* The feature id for the '<em><b>Owned Annotations</b></em>' containment reference list.
@@ -606,7 +466,7 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int IMPERATIVE_PATTERN__OWNED_ANNOTATIONS = QVTbasePackage.PATTERN__OWNED_ANNOTATIONS;
+ int CONNECTION_VARIABLE__OWNED_ANNOTATIONS = PivotPackage.VARIABLE_DECLARATION__OWNED_ANNOTATIONS;
/**
* The feature id for the '<em><b>Owned Comments</b></em>' containment reference list.
@@ -615,7 +475,7 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int IMPERATIVE_PATTERN__OWNED_COMMENTS = QVTbasePackage.PATTERN__OWNED_COMMENTS;
+ int CONNECTION_VARIABLE__OWNED_COMMENTS = PivotPackage.VARIABLE_DECLARATION__OWNED_COMMENTS;
/**
* The feature id for the '<em><b>Owned Extensions</b></em>' containment reference list.
@@ -624,187 +484,170 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int IMPERATIVE_PATTERN__OWNED_EXTENSIONS = QVTbasePackage.PATTERN__OWNED_EXTENSIONS;
-
- /**
- * The feature id for the '<em><b>Predicate</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IMPERATIVE_PATTERN__PREDICATE = QVTbasePackage.PATTERN__PREDICATE;
+ int CONNECTION_VARIABLE__OWNED_EXTENSIONS = PivotPackage.VARIABLE_DECLARATION__OWNED_EXTENSIONS;
/**
- * The feature id for the '<em><b>Binds To</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IMPERATIVE_PATTERN__BINDS_TO = QVTbasePackage.PATTERN__BINDS_TO;
-
- /**
- * The feature id for the '<em><b>Variable</b></em>' containment reference list.
+ * The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IMPERATIVE_PATTERN__VARIABLE = QVTbasePackage.PATTERN_FEATURE_COUNT + 0;
+ int CONNECTION_VARIABLE__NAME = PivotPackage.VARIABLE_DECLARATION__NAME;
/**
- * The number of structural features of the '<em>Imperative Pattern</em>' class.
+ * The feature id for the '<em><b>Is Many</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IMPERATIVE_PATTERN_FEATURE_COUNT = QVTbasePackage.PATTERN_FEATURE_COUNT + 1;
+ int CONNECTION_VARIABLE__IS_MANY = PivotPackage.VARIABLE_DECLARATION__IS_MANY;
/**
- * The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
+ * The feature id for the '<em><b>Is Required</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int BOTTOM_PATTERN__ANNOTATING_COMMENTS = IMPERATIVE_PATTERN__ANNOTATING_COMMENTS;
+ int CONNECTION_VARIABLE__IS_REQUIRED = PivotPackage.VARIABLE_DECLARATION__IS_REQUIRED;
/**
- * The feature id for the '<em><b>Owned Annotations</b></em>' containment reference list.
+ * The feature id for the '<em><b>Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int BOTTOM_PATTERN__OWNED_ANNOTATIONS = IMPERATIVE_PATTERN__OWNED_ANNOTATIONS;
+ int CONNECTION_VARIABLE__TYPE = PivotPackage.VARIABLE_DECLARATION__TYPE;
/**
- * The feature id for the '<em><b>Owned Comments</b></em>' containment reference list.
+ * The feature id for the '<em><b>Type Value</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int BOTTOM_PATTERN__OWNED_COMMENTS = IMPERATIVE_PATTERN__OWNED_COMMENTS;
+ int CONNECTION_VARIABLE__TYPE_VALUE = PivotPackage.VARIABLE_DECLARATION__TYPE_VALUE;
/**
- * The feature id for the '<em><b>Owned Extensions</b></em>' containment reference list.
+ * The number of structural features of the '<em>Connection Variable</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int BOTTOM_PATTERN__OWNED_EXTENSIONS = IMPERATIVE_PATTERN__OWNED_EXTENSIONS;
+ int CONNECTION_VARIABLE_FEATURE_COUNT = PivotPackage.VARIABLE_DECLARATION_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Predicate</b></em>' containment reference list.
+ * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.GuardVariableImpl <em>Guard Variable</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.GuardVariableImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getGuardVariable()
* @generated
- * @ordered
*/
- int BOTTOM_PATTERN__PREDICATE = IMPERATIVE_PATTERN__PREDICATE;
+ int GUARD_VARIABLE = 3;
/**
- * The feature id for the '<em><b>Binds To</b></em>' reference list.
+ * The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int BOTTOM_PATTERN__BINDS_TO = IMPERATIVE_PATTERN__BINDS_TO;
+ int GUARD_VARIABLE__ANNOTATING_COMMENTS = PivotPackage.VARIABLE_DECLARATION__ANNOTATING_COMMENTS;
/**
- * The feature id for the '<em><b>Variable</b></em>' containment reference list.
+ * The feature id for the '<em><b>Owned Annotations</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int BOTTOM_PATTERN__VARIABLE = IMPERATIVE_PATTERN__VARIABLE;
+ int GUARD_VARIABLE__OWNED_ANNOTATIONS = PivotPackage.VARIABLE_DECLARATION__OWNED_ANNOTATIONS;
/**
- * The feature id for the '<em><b>Area</b></em>' container reference.
+ * The feature id for the '<em><b>Owned Comments</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int BOTTOM_PATTERN__AREA = IMPERATIVE_PATTERN_FEATURE_COUNT + 0;
+ int GUARD_VARIABLE__OWNED_COMMENTS = PivotPackage.VARIABLE_DECLARATION__OWNED_COMMENTS;
/**
- * The feature id for the '<em><b>Assignment</b></em>' containment reference list.
+ * The feature id for the '<em><b>Owned Extensions</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int BOTTOM_PATTERN__ASSIGNMENT = IMPERATIVE_PATTERN_FEATURE_COUNT + 1;
+ int GUARD_VARIABLE__OWNED_EXTENSIONS = PivotPackage.VARIABLE_DECLARATION__OWNED_EXTENSIONS;
/**
- * The number of structural features of the '<em>Bottom Pattern</em>' class.
+ * The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int BOTTOM_PATTERN_FEATURE_COUNT = IMPERATIVE_PATTERN_FEATURE_COUNT + 2;
+ int GUARD_VARIABLE__NAME = PivotPackage.VARIABLE_DECLARATION__NAME;
/**
- * The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
+ * The feature id for the '<em><b>Is Many</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int BOTTOM_STATEMENT__ANNOTATING_COMMENTS = STATEMENT__ANNOTATING_COMMENTS;
+ int GUARD_VARIABLE__IS_MANY = PivotPackage.VARIABLE_DECLARATION__IS_MANY;
/**
- * The feature id for the '<em><b>Owned Annotations</b></em>' containment reference list.
+ * The feature id for the '<em><b>Is Required</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int BOTTOM_STATEMENT__OWNED_ANNOTATIONS = STATEMENT__OWNED_ANNOTATIONS;
+ int GUARD_VARIABLE__IS_REQUIRED = PivotPackage.VARIABLE_DECLARATION__IS_REQUIRED;
/**
- * The feature id for the '<em><b>Owned Comments</b></em>' containment reference list.
+ * The feature id for the '<em><b>Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int BOTTOM_STATEMENT__OWNED_COMMENTS = STATEMENT__OWNED_COMMENTS;
+ int GUARD_VARIABLE__TYPE = PivotPackage.VARIABLE_DECLARATION__TYPE;
/**
- * The feature id for the '<em><b>Owned Extensions</b></em>' containment reference list.
+ * The feature id for the '<em><b>Type Value</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int BOTTOM_STATEMENT__OWNED_EXTENSIONS = STATEMENT__OWNED_EXTENSIONS;
+ int GUARD_VARIABLE__TYPE_VALUE = PivotPackage.VARIABLE_DECLARATION__TYPE_VALUE;
/**
- * The feature id for the '<em><b>Name</b></em>' attribute.
+ * The feature id for the '<em><b>Referred Typed Model</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int BOTTOM_STATEMENT__NAME = STATEMENT__NAME;
+ int GUARD_VARIABLE__REFERRED_TYPED_MODEL = PivotPackage.VARIABLE_DECLARATION_FEATURE_COUNT + 0;
/**
- * The number of structural features of the '<em>Bottom Statement</em>' class.
+ * The number of structural features of the '<em>Guard Variable</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int BOTTOM_STATEMENT_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 0;
+ int GUARD_VARIABLE_FEATURE_COUNT = PivotPackage.VARIABLE_DECLARATION_FEATURE_COUNT + 1;
/**
* The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
@@ -813,7 +656,7 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int CONNECTION_VARIABLE__ANNOTATING_COMMENTS = PivotPackage.VARIABLE__ANNOTATING_COMMENTS;
+ int IMPERATIVE_DOMAIN__ANNOTATING_COMMENTS = QVTbasePackage.DOMAIN__ANNOTATING_COMMENTS;
/**
* The feature id for the '<em><b>Owned Annotations</b></em>' containment reference list.
@@ -822,7 +665,7 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int CONNECTION_VARIABLE__OWNED_ANNOTATIONS = PivotPackage.VARIABLE__OWNED_ANNOTATIONS;
+ int IMPERATIVE_DOMAIN__OWNED_ANNOTATIONS = QVTbasePackage.DOMAIN__OWNED_ANNOTATIONS;
/**
* The feature id for the '<em><b>Owned Comments</b></em>' containment reference list.
@@ -831,7 +674,7 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int CONNECTION_VARIABLE__OWNED_COMMENTS = PivotPackage.VARIABLE__OWNED_COMMENTS;
+ int IMPERATIVE_DOMAIN__OWNED_COMMENTS = QVTbasePackage.DOMAIN__OWNED_COMMENTS;
/**
* The feature id for the '<em><b>Owned Extensions</b></em>' containment reference list.
@@ -840,7 +683,7 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int CONNECTION_VARIABLE__OWNED_EXTENSIONS = PivotPackage.VARIABLE__OWNED_EXTENSIONS;
+ int IMPERATIVE_DOMAIN__OWNED_EXTENSIONS = QVTbasePackage.DOMAIN__OWNED_EXTENSIONS;
/**
* The feature id for the '<em><b>Name</b></em>' attribute.
@@ -849,79 +692,70 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int CONNECTION_VARIABLE__NAME = PivotPackage.VARIABLE__NAME;
-
- /**
- * The feature id for the '<em><b>Is Many</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CONNECTION_VARIABLE__IS_MANY = PivotPackage.VARIABLE__IS_MANY;
+ int IMPERATIVE_DOMAIN__NAME = QVTbasePackage.DOMAIN__NAME;
/**
- * The feature id for the '<em><b>Is Required</b></em>' attribute.
+ * The feature id for the '<em><b>Is Checkable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int CONNECTION_VARIABLE__IS_REQUIRED = PivotPackage.VARIABLE__IS_REQUIRED;
+ int IMPERATIVE_DOMAIN__IS_CHECKABLE = QVTbasePackage.DOMAIN__IS_CHECKABLE;
/**
- * The feature id for the '<em><b>Type</b></em>' reference.
+ * The feature id for the '<em><b>Is Enforceable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int CONNECTION_VARIABLE__TYPE = PivotPackage.VARIABLE__TYPE;
+ int IMPERATIVE_DOMAIN__IS_ENFORCEABLE = QVTbasePackage.DOMAIN__IS_ENFORCEABLE;
/**
- * The feature id for the '<em><b>Type Value</b></em>' reference.
+ * The feature id for the '<em><b>Rule</b></em>' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int CONNECTION_VARIABLE__TYPE_VALUE = PivotPackage.VARIABLE__TYPE_VALUE;
+ int IMPERATIVE_DOMAIN__RULE = QVTbasePackage.DOMAIN__RULE;
/**
- * The feature id for the '<em><b>Is Implicit</b></em>' attribute.
+ * The feature id for the '<em><b>Typed Model</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int CONNECTION_VARIABLE__IS_IMPLICIT = PivotPackage.VARIABLE__IS_IMPLICIT;
+ int IMPERATIVE_DOMAIN__TYPED_MODEL = QVTbasePackage.DOMAIN__TYPED_MODEL;
/**
- * The feature id for the '<em><b>Owned Init</b></em>' containment reference.
+ * The feature id for the '<em><b>Checked Properties</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int CONNECTION_VARIABLE__OWNED_INIT = PivotPackage.VARIABLE__OWNED_INIT;
+ int IMPERATIVE_DOMAIN__CHECKED_PROPERTIES = QVTbasePackage.DOMAIN_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Represented Parameter</b></em>' reference.
+ * The feature id for the '<em><b>Owned Guard Variables</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int CONNECTION_VARIABLE__REPRESENTED_PARAMETER = PivotPackage.VARIABLE__REPRESENTED_PARAMETER;
+ int IMPERATIVE_DOMAIN__OWNED_GUARD_VARIABLES = QVTbasePackage.DOMAIN_FEATURE_COUNT + 1;
/**
- * The number of structural features of the '<em>Connection Variable</em>' class.
+ * The number of structural features of the '<em>Imperative Domain</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int CONNECTION_VARIABLE_FEATURE_COUNT = PivotPackage.VARIABLE_FEATURE_COUNT + 0;
+ int IMPERATIVE_DOMAIN_FEATURE_COUNT = QVTbasePackage.DOMAIN_FEATURE_COUNT + 2;
/**
* The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
@@ -930,7 +764,7 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int GUARD_PATTERN__ANNOTATING_COMMENTS = IMPERATIVE_PATTERN__ANNOTATING_COMMENTS;
+ int IMPERATIVE_MODEL__ANNOTATING_COMMENTS = QVTbasePackage.BASE_MODEL__ANNOTATING_COMMENTS;
/**
* The feature id for the '<em><b>Owned Annotations</b></em>' containment reference list.
@@ -939,7 +773,7 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int GUARD_PATTERN__OWNED_ANNOTATIONS = IMPERATIVE_PATTERN__OWNED_ANNOTATIONS;
+ int IMPERATIVE_MODEL__OWNED_ANNOTATIONS = QVTbasePackage.BASE_MODEL__OWNED_ANNOTATIONS;
/**
* The feature id for the '<em><b>Owned Comments</b></em>' containment reference list.
@@ -948,7 +782,7 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int GUARD_PATTERN__OWNED_COMMENTS = IMPERATIVE_PATTERN__OWNED_COMMENTS;
+ int IMPERATIVE_MODEL__OWNED_COMMENTS = QVTbasePackage.BASE_MODEL__OWNED_COMMENTS;
/**
* The feature id for the '<em><b>Owned Extensions</b></em>' containment reference list.
@@ -957,268 +791,270 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int GUARD_PATTERN__OWNED_EXTENSIONS = IMPERATIVE_PATTERN__OWNED_EXTENSIONS;
+ int IMPERATIVE_MODEL__OWNED_EXTENSIONS = QVTbasePackage.BASE_MODEL__OWNED_EXTENSIONS;
/**
- * The feature id for the '<em><b>Predicate</b></em>' containment reference list.
+ * The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int GUARD_PATTERN__PREDICATE = IMPERATIVE_PATTERN__PREDICATE;
+ int IMPERATIVE_MODEL__NAME = QVTbasePackage.BASE_MODEL__NAME;
/**
- * The feature id for the '<em><b>Binds To</b></em>' reference list.
+ * The feature id for the '<em><b>Owned Constraints</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int GUARD_PATTERN__BINDS_TO = IMPERATIVE_PATTERN__BINDS_TO;
+ int IMPERATIVE_MODEL__OWNED_CONSTRAINTS = QVTbasePackage.BASE_MODEL__OWNED_CONSTRAINTS;
/**
- * The feature id for the '<em><b>Variable</b></em>' containment reference list.
+ * The feature id for the '<em><b>External URI</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int GUARD_PATTERN__VARIABLE = IMPERATIVE_PATTERN__VARIABLE;
+ int IMPERATIVE_MODEL__EXTERNAL_URI = QVTbasePackage.BASE_MODEL__EXTERNAL_URI;
/**
- * The feature id for the '<em><b>Area</b></em>' container reference.
+ * The feature id for the '<em><b>Owned Imports</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int GUARD_PATTERN__AREA = IMPERATIVE_PATTERN_FEATURE_COUNT + 0;
+ int IMPERATIVE_MODEL__OWNED_IMPORTS = QVTbasePackage.BASE_MODEL__OWNED_IMPORTS;
/**
- * The number of structural features of the '<em>Guard Pattern</em>' class.
+ * The feature id for the '<em><b>Owned Packages</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int GUARD_PATTERN_FEATURE_COUNT = IMPERATIVE_PATTERN_FEATURE_COUNT + 1;
+ int IMPERATIVE_MODEL__OWNED_PACKAGES = QVTbasePackage.BASE_MODEL__OWNED_PACKAGES;
/**
- * The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
+ * The number of structural features of the '<em>Imperative Model</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IMPERATIVE_DOMAIN__ANNOTATING_COMMENTS = QVTbasePackage.DOMAIN__ANNOTATING_COMMENTS;
+ int IMPERATIVE_MODEL_FEATURE_COUNT = QVTbasePackage.BASE_MODEL_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Owned Annotations</b></em>' containment reference list.
+ * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.InConnectionVariableImpl <em>In Connection Variable</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.InConnectionVariableImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getInConnectionVariable()
* @generated
- * @ordered
*/
- int IMPERATIVE_DOMAIN__OWNED_ANNOTATIONS = QVTbasePackage.DOMAIN__OWNED_ANNOTATIONS;
+ int IN_CONNECTION_VARIABLE = 6;
/**
- * The feature id for the '<em><b>Owned Comments</b></em>' containment reference list.
+ * The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IMPERATIVE_DOMAIN__OWNED_COMMENTS = QVTbasePackage.DOMAIN__OWNED_COMMENTS;
+ int IN_CONNECTION_VARIABLE__ANNOTATING_COMMENTS = CONNECTION_VARIABLE__ANNOTATING_COMMENTS;
/**
- * The feature id for the '<em><b>Owned Extensions</b></em>' containment reference list.
+ * The feature id for the '<em><b>Owned Annotations</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IMPERATIVE_DOMAIN__OWNED_EXTENSIONS = QVTbasePackage.DOMAIN__OWNED_EXTENSIONS;
+ int IN_CONNECTION_VARIABLE__OWNED_ANNOTATIONS = CONNECTION_VARIABLE__OWNED_ANNOTATIONS;
/**
- * The feature id for the '<em><b>Name</b></em>' attribute.
+ * The feature id for the '<em><b>Owned Comments</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IMPERATIVE_DOMAIN__NAME = QVTbasePackage.DOMAIN__NAME;
+ int IN_CONNECTION_VARIABLE__OWNED_COMMENTS = CONNECTION_VARIABLE__OWNED_COMMENTS;
/**
- * The feature id for the '<em><b>Is Checkable</b></em>' attribute.
+ * The feature id for the '<em><b>Owned Extensions</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IMPERATIVE_DOMAIN__IS_CHECKABLE = QVTbasePackage.DOMAIN__IS_CHECKABLE;
+ int IN_CONNECTION_VARIABLE__OWNED_EXTENSIONS = CONNECTION_VARIABLE__OWNED_EXTENSIONS;
/**
- * The feature id for the '<em><b>Is Enforceable</b></em>' attribute.
+ * The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IMPERATIVE_DOMAIN__IS_ENFORCEABLE = QVTbasePackage.DOMAIN__IS_ENFORCEABLE;
+ int IN_CONNECTION_VARIABLE__NAME = CONNECTION_VARIABLE__NAME;
/**
- * The feature id for the '<em><b>Rule</b></em>' container reference.
+ * The feature id for the '<em><b>Is Many</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IMPERATIVE_DOMAIN__RULE = QVTbasePackage.DOMAIN__RULE;
+ int IN_CONNECTION_VARIABLE__IS_MANY = CONNECTION_VARIABLE__IS_MANY;
/**
- * The feature id for the '<em><b>Typed Model</b></em>' reference.
+ * The feature id for the '<em><b>Is Required</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IMPERATIVE_DOMAIN__TYPED_MODEL = QVTbasePackage.DOMAIN__TYPED_MODEL;
+ int IN_CONNECTION_VARIABLE__IS_REQUIRED = CONNECTION_VARIABLE__IS_REQUIRED;
/**
- * The feature id for the '<em><b>Guard Pattern</b></em>' containment reference.
+ * The feature id for the '<em><b>Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IMPERATIVE_DOMAIN__GUARD_PATTERN = QVTbasePackage.DOMAIN_FEATURE_COUNT + 0;
+ int IN_CONNECTION_VARIABLE__TYPE = CONNECTION_VARIABLE__TYPE;
/**
- * The feature id for the '<em><b>Bottom Pattern</b></em>' containment reference.
+ * The feature id for the '<em><b>Type Value</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IMPERATIVE_DOMAIN__BOTTOM_PATTERN = QVTbasePackage.DOMAIN_FEATURE_COUNT + 1;
+ int IN_CONNECTION_VARIABLE__TYPE_VALUE = CONNECTION_VARIABLE__TYPE_VALUE;
/**
- * The feature id for the '<em><b>Checked Properties</b></em>' reference list.
+ * The number of structural features of the '<em>In Connection Variable</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IMPERATIVE_DOMAIN__CHECKED_PROPERTIES = QVTbasePackage.DOMAIN_FEATURE_COUNT + 2;
+ int IN_CONNECTION_VARIABLE_FEATURE_COUNT = CONNECTION_VARIABLE_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Enforced Properties</b></em>' reference list.
+ * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.LoopVariableImpl <em>Loop Variable</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.LoopVariableImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getLoopVariable()
* @generated
- * @ordered
*/
- int IMPERATIVE_DOMAIN__ENFORCED_PROPERTIES = QVTbasePackage.DOMAIN_FEATURE_COUNT + 3;
+ int LOOP_VARIABLE = 7;
/**
- * The number of structural features of the '<em>Imperative Domain</em>' class.
+ * The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IMPERATIVE_DOMAIN_FEATURE_COUNT = QVTbasePackage.DOMAIN_FEATURE_COUNT + 4;
+ int LOOP_VARIABLE__ANNOTATING_COMMENTS = PivotPackage.VARIABLE_DECLARATION__ANNOTATING_COMMENTS;
/**
- * The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
+ * The feature id for the '<em><b>Owned Annotations</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IMPERATIVE_MODEL__ANNOTATING_COMMENTS = QVTbasePackage.BASE_MODEL__ANNOTATING_COMMENTS;
+ int LOOP_VARIABLE__OWNED_ANNOTATIONS = PivotPackage.VARIABLE_DECLARATION__OWNED_ANNOTATIONS;
/**
- * The feature id for the '<em><b>Owned Annotations</b></em>' containment reference list.
+ * The feature id for the '<em><b>Owned Comments</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IMPERATIVE_MODEL__OWNED_ANNOTATIONS = QVTbasePackage.BASE_MODEL__OWNED_ANNOTATIONS;
+ int LOOP_VARIABLE__OWNED_COMMENTS = PivotPackage.VARIABLE_DECLARATION__OWNED_COMMENTS;
/**
- * The feature id for the '<em><b>Owned Comments</b></em>' containment reference list.
+ * The feature id for the '<em><b>Owned Extensions</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IMPERATIVE_MODEL__OWNED_COMMENTS = QVTbasePackage.BASE_MODEL__OWNED_COMMENTS;
+ int LOOP_VARIABLE__OWNED_EXTENSIONS = PivotPackage.VARIABLE_DECLARATION__OWNED_EXTENSIONS;
/**
- * The feature id for the '<em><b>Owned Extensions</b></em>' containment reference list.
+ * The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IMPERATIVE_MODEL__OWNED_EXTENSIONS = QVTbasePackage.BASE_MODEL__OWNED_EXTENSIONS;
+ int LOOP_VARIABLE__NAME = PivotPackage.VARIABLE_DECLARATION__NAME;
/**
- * The feature id for the '<em><b>Name</b></em>' attribute.
+ * The feature id for the '<em><b>Is Many</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IMPERATIVE_MODEL__NAME = QVTbasePackage.BASE_MODEL__NAME;
+ int LOOP_VARIABLE__IS_MANY = PivotPackage.VARIABLE_DECLARATION__IS_MANY;
/**
- * The feature id for the '<em><b>Owned Constraints</b></em>' containment reference list.
+ * The feature id for the '<em><b>Is Required</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IMPERATIVE_MODEL__OWNED_CONSTRAINTS = QVTbasePackage.BASE_MODEL__OWNED_CONSTRAINTS;
+ int LOOP_VARIABLE__IS_REQUIRED = PivotPackage.VARIABLE_DECLARATION__IS_REQUIRED;
/**
- * The feature id for the '<em><b>External URI</b></em>' attribute.
+ * The feature id for the '<em><b>Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IMPERATIVE_MODEL__EXTERNAL_URI = QVTbasePackage.BASE_MODEL__EXTERNAL_URI;
+ int LOOP_VARIABLE__TYPE = PivotPackage.VARIABLE_DECLARATION__TYPE;
/**
- * The feature id for the '<em><b>Owned Imports</b></em>' containment reference list.
+ * The feature id for the '<em><b>Type Value</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IMPERATIVE_MODEL__OWNED_IMPORTS = QVTbasePackage.BASE_MODEL__OWNED_IMPORTS;
+ int LOOP_VARIABLE__TYPE_VALUE = PivotPackage.VARIABLE_DECLARATION__TYPE_VALUE;
/**
- * The feature id for the '<em><b>Owned Packages</b></em>' containment reference list.
+ * The feature id for the '<em><b>Owning Mapping Loop</b></em>' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IMPERATIVE_MODEL__OWNED_PACKAGES = QVTbasePackage.BASE_MODEL__OWNED_PACKAGES;
+ int LOOP_VARIABLE__OWNING_MAPPING_LOOP = PivotPackage.VARIABLE_DECLARATION_FEATURE_COUNT + 0;
/**
- * The number of structural features of the '<em>Imperative Model</em>' class.
+ * The number of structural features of the '<em>Loop Variable</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IMPERATIVE_MODEL_FEATURE_COUNT = QVTbasePackage.BASE_MODEL_FEATURE_COUNT + 0;
+ int LOOP_VARIABLE_FEATURE_COUNT = PivotPackage.VARIABLE_DECLARATION_FEATURE_COUNT + 1;
/**
* The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
@@ -1311,49 +1147,40 @@ public interface QVTimperativePackage extends EPackage {
int MAPPING__OVERRIDDEN = QVTbasePackage.RULE__OVERRIDDEN;
/**
- * The feature id for the '<em><b>Guard Pattern</b></em>' containment reference.
+ * The feature id for the '<em><b>Owned Guard Variables</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int MAPPING__GUARD_PATTERN = QVTbasePackage.RULE_FEATURE_COUNT + 0;
+ int MAPPING__OWNED_GUARD_VARIABLES = QVTbasePackage.RULE_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Bottom Pattern</b></em>' containment reference.
+ * The feature id for the '<em><b>Inout Variables</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int MAPPING__BOTTOM_PATTERN = QVTbasePackage.RULE_FEATURE_COUNT + 1;
+ int MAPPING__INOUT_VARIABLES = QVTbasePackage.RULE_FEATURE_COUNT + 1;
/**
- * The feature id for the '<em><b>Checked Properties</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MAPPING__CHECKED_PROPERTIES = QVTbasePackage.RULE_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Enforced Properties</b></em>' reference list.
+ * The feature id for the '<em><b>Owned Statements</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int MAPPING__ENFORCED_PROPERTIES = QVTbasePackage.RULE_FEATURE_COUNT + 3;
+ int MAPPING__OWNED_STATEMENTS = QVTbasePackage.RULE_FEATURE_COUNT + 2;
/**
- * The feature id for the '<em><b>Owned Statements</b></em>' containment reference list.
+ * The feature id for the '<em><b>Checked Properties</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int MAPPING__OWNED_STATEMENTS = QVTbasePackage.RULE_FEATURE_COUNT + 4;
+ int MAPPING__CHECKED_PROPERTIES = QVTbasePackage.RULE_FEATURE_COUNT + 3;
/**
* The number of structural features of the '<em>Mapping</em>' class.
@@ -1362,7 +1189,7 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int MAPPING_FEATURE_COUNT = QVTbasePackage.RULE_FEATURE_COUNT + 5;
+ int MAPPING_FEATURE_COUNT = QVTbasePackage.RULE_FEATURE_COUNT + 4;
/**
* The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
@@ -1608,14 +1435,14 @@ public interface QVTimperativePackage extends EPackage {
int MAPPING_LOOP_FEATURE_COUNT = MAPPING_STATEMENT_FEATURE_COUNT + 3;
/**
- * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.NewStatementImpl <em>New Statement</em>}' class.
+ * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.VariableStatementImpl <em>Variable Statement</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.NewStatementImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getNewStatement()
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.VariableStatementImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getVariableStatement()
* @generated
*/
- int NEW_STATEMENT = 15;
+ int VARIABLE_STATEMENT = 18;
/**
* The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
@@ -1624,7 +1451,7 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int NEW_STATEMENT__ANNOTATING_COMMENTS = PivotPackage.VARIABLE__ANNOTATING_COMMENTS;
+ int VARIABLE_STATEMENT__ANNOTATING_COMMENTS = PivotPackage.VARIABLE_DECLARATION__ANNOTATING_COMMENTS;
/**
* The feature id for the '<em><b>Owned Annotations</b></em>' containment reference list.
@@ -1633,7 +1460,7 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int NEW_STATEMENT__OWNED_ANNOTATIONS = PivotPackage.VARIABLE__OWNED_ANNOTATIONS;
+ int VARIABLE_STATEMENT__OWNED_ANNOTATIONS = PivotPackage.VARIABLE_DECLARATION__OWNED_ANNOTATIONS;
/**
* The feature id for the '<em><b>Owned Comments</b></em>' containment reference list.
@@ -1642,7 +1469,7 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int NEW_STATEMENT__OWNED_COMMENTS = PivotPackage.VARIABLE__OWNED_COMMENTS;
+ int VARIABLE_STATEMENT__OWNED_COMMENTS = PivotPackage.VARIABLE_DECLARATION__OWNED_COMMENTS;
/**
* The feature id for the '<em><b>Owned Extensions</b></em>' containment reference list.
@@ -1651,7 +1478,7 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int NEW_STATEMENT__OWNED_EXTENSIONS = PivotPackage.VARIABLE__OWNED_EXTENSIONS;
+ int VARIABLE_STATEMENT__OWNED_EXTENSIONS = PivotPackage.VARIABLE_DECLARATION__OWNED_EXTENSIONS;
/**
* The feature id for the '<em><b>Name</b></em>' attribute.
@@ -1660,7 +1487,7 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int NEW_STATEMENT__NAME = PivotPackage.VARIABLE__NAME;
+ int VARIABLE_STATEMENT__NAME = PivotPackage.VARIABLE_DECLARATION__NAME;
/**
* The feature id for the '<em><b>Is Many</b></em>' attribute.
@@ -1669,7 +1496,7 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int NEW_STATEMENT__IS_MANY = PivotPackage.VARIABLE__IS_MANY;
+ int VARIABLE_STATEMENT__IS_MANY = PivotPackage.VARIABLE_DECLARATION__IS_MANY;
/**
* The feature id for the '<em><b>Is Required</b></em>' attribute.
@@ -1678,7 +1505,7 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int NEW_STATEMENT__IS_REQUIRED = PivotPackage.VARIABLE__IS_REQUIRED;
+ int VARIABLE_STATEMENT__IS_REQUIRED = PivotPackage.VARIABLE_DECLARATION__IS_REQUIRED;
/**
* The feature id for the '<em><b>Type</b></em>' reference.
@@ -1687,7 +1514,7 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int NEW_STATEMENT__TYPE = PivotPackage.VARIABLE__TYPE;
+ int VARIABLE_STATEMENT__TYPE = PivotPackage.VARIABLE_DECLARATION__TYPE;
/**
* The feature id for the '<em><b>Type Value</b></em>' reference.
@@ -1696,253 +1523,253 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int NEW_STATEMENT__TYPE_VALUE = PivotPackage.VARIABLE__TYPE_VALUE;
+ int VARIABLE_STATEMENT__TYPE_VALUE = PivotPackage.VARIABLE_DECLARATION__TYPE_VALUE;
/**
- * The feature id for the '<em><b>Is Implicit</b></em>' attribute.
+ * The number of structural features of the '<em>Variable Statement</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int NEW_STATEMENT__IS_IMPLICIT = PivotPackage.VARIABLE__IS_IMPLICIT;
+ int VARIABLE_STATEMENT_FEATURE_COUNT = PivotPackage.VARIABLE_DECLARATION_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Owned Init</b></em>' containment reference.
+ * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.NewStatementImpl <em>New Statement</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.NewStatementImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getNewStatement()
* @generated
- * @ordered
*/
- int NEW_STATEMENT__OWNED_INIT = PivotPackage.VARIABLE__OWNED_INIT;
+ int NEW_STATEMENT = 13;
/**
- * The feature id for the '<em><b>Represented Parameter</b></em>' reference.
+ * The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int NEW_STATEMENT__REPRESENTED_PARAMETER = PivotPackage.VARIABLE__REPRESENTED_PARAMETER;
+ int NEW_STATEMENT__ANNOTATING_COMMENTS = VARIABLE_STATEMENT__ANNOTATING_COMMENTS;
/**
- * The feature id for the '<em><b>Referred Typed Model</b></em>' reference.
+ * The feature id for the '<em><b>Owned Annotations</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int NEW_STATEMENT__REFERRED_TYPED_MODEL = PivotPackage.VARIABLE_FEATURE_COUNT + 0;
+ int NEW_STATEMENT__OWNED_ANNOTATIONS = VARIABLE_STATEMENT__OWNED_ANNOTATIONS;
/**
- * The number of structural features of the '<em>New Statement</em>' class.
+ * The feature id for the '<em><b>Owned Comments</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int NEW_STATEMENT_FEATURE_COUNT = PivotPackage.VARIABLE_FEATURE_COUNT + 1;
+ int NEW_STATEMENT__OWNED_COMMENTS = VARIABLE_STATEMENT__OWNED_COMMENTS;
/**
- * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.SetStatementImpl <em>Set Statement</em>}' class.
+ * The feature id for the '<em><b>Owned Extensions</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.SetStatementImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getSetStatement()
* @generated
+ * @ordered
*/
- int SET_STATEMENT = 16;
+ int NEW_STATEMENT__OWNED_EXTENSIONS = VARIABLE_STATEMENT__OWNED_EXTENSIONS;
/**
- * The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
+ * The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int SET_STATEMENT__ANNOTATING_COMMENTS = BOTTOM_STATEMENT__ANNOTATING_COMMENTS;
+ int NEW_STATEMENT__NAME = VARIABLE_STATEMENT__NAME;
/**
- * The feature id for the '<em><b>Owned Annotations</b></em>' containment reference list.
+ * The feature id for the '<em><b>Is Many</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int SET_STATEMENT__OWNED_ANNOTATIONS = BOTTOM_STATEMENT__OWNED_ANNOTATIONS;
+ int NEW_STATEMENT__IS_MANY = VARIABLE_STATEMENT__IS_MANY;
/**
- * The feature id for the '<em><b>Owned Comments</b></em>' containment reference list.
+ * The feature id for the '<em><b>Is Required</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int SET_STATEMENT__OWNED_COMMENTS = BOTTOM_STATEMENT__OWNED_COMMENTS;
+ int NEW_STATEMENT__IS_REQUIRED = VARIABLE_STATEMENT__IS_REQUIRED;
/**
- * The feature id for the '<em><b>Owned Extensions</b></em>' containment reference list.
+ * The feature id for the '<em><b>Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int SET_STATEMENT__OWNED_EXTENSIONS = BOTTOM_STATEMENT__OWNED_EXTENSIONS;
+ int NEW_STATEMENT__TYPE = VARIABLE_STATEMENT__TYPE;
/**
- * The feature id for the '<em><b>Name</b></em>' attribute.
+ * The feature id for the '<em><b>Type Value</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int SET_STATEMENT__NAME = BOTTOM_STATEMENT__NAME;
+ int NEW_STATEMENT__TYPE_VALUE = VARIABLE_STATEMENT__TYPE_VALUE;
/**
- * The feature id for the '<em><b>Slot Expression</b></em>' containment reference.
+ * The feature id for the '<em><b>Referred Typed Model</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int SET_STATEMENT__SLOT_EXPRESSION = BOTTOM_STATEMENT_FEATURE_COUNT + 0;
+ int NEW_STATEMENT__REFERRED_TYPED_MODEL = VARIABLE_STATEMENT_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Target Property</b></em>' reference.
+ * The feature id for the '<em><b>Owned Init</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int SET_STATEMENT__TARGET_PROPERTY = BOTTOM_STATEMENT_FEATURE_COUNT + 1;
+ int NEW_STATEMENT__OWNED_INIT = VARIABLE_STATEMENT_FEATURE_COUNT + 1;
/**
- * The feature id for the '<em><b>Value</b></em>' containment reference.
+ * The number of structural features of the '<em>New Statement</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int SET_STATEMENT__VALUE = BOTTOM_STATEMENT_FEATURE_COUNT + 2;
+ int NEW_STATEMENT_FEATURE_COUNT = VARIABLE_STATEMENT_FEATURE_COUNT + 2;
/**
- * The feature id for the '<em><b>Is Opposite</b></em>' attribute.
+ * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.OutConnectionVariableImpl <em>Out Connection Variable</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.OutConnectionVariableImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getOutConnectionVariable()
* @generated
- * @ordered
*/
- int SET_STATEMENT__IS_OPPOSITE = BOTTOM_STATEMENT_FEATURE_COUNT + 3;
+ int OUT_CONNECTION_VARIABLE = 14;
/**
- * The number of structural features of the '<em>Set Statement</em>' class.
+ * The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int SET_STATEMENT_FEATURE_COUNT = BOTTOM_STATEMENT_FEATURE_COUNT + 4;
+ int OUT_CONNECTION_VARIABLE__ANNOTATING_COMMENTS = CONNECTION_VARIABLE__ANNOTATING_COMMENTS;
/**
- * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.VariableAssignmentImpl <em>Variable Assignment</em>}' class.
+ * The feature id for the '<em><b>Owned Annotations</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.VariableAssignmentImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getVariableAssignment()
* @generated
+ * @ordered
*/
- int VARIABLE_ASSIGNMENT = 18;
+ int OUT_CONNECTION_VARIABLE__OWNED_ANNOTATIONS = CONNECTION_VARIABLE__OWNED_ANNOTATIONS;
/**
- * The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
+ * The feature id for the '<em><b>Owned Comments</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int VARIABLE_ASSIGNMENT__ANNOTATING_COMMENTS = ASSIGNMENT__ANNOTATING_COMMENTS;
+ int OUT_CONNECTION_VARIABLE__OWNED_COMMENTS = CONNECTION_VARIABLE__OWNED_COMMENTS;
/**
- * The feature id for the '<em><b>Owned Annotations</b></em>' containment reference list.
+ * The feature id for the '<em><b>Owned Extensions</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int VARIABLE_ASSIGNMENT__OWNED_ANNOTATIONS = ASSIGNMENT__OWNED_ANNOTATIONS;
+ int OUT_CONNECTION_VARIABLE__OWNED_EXTENSIONS = CONNECTION_VARIABLE__OWNED_EXTENSIONS;
/**
- * The feature id for the '<em><b>Owned Comments</b></em>' containment reference list.
+ * The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int VARIABLE_ASSIGNMENT__OWNED_COMMENTS = ASSIGNMENT__OWNED_COMMENTS;
+ int OUT_CONNECTION_VARIABLE__NAME = CONNECTION_VARIABLE__NAME;
/**
- * The feature id for the '<em><b>Owned Extensions</b></em>' containment reference list.
+ * The feature id for the '<em><b>Is Many</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int VARIABLE_ASSIGNMENT__OWNED_EXTENSIONS = ASSIGNMENT__OWNED_EXTENSIONS;
+ int OUT_CONNECTION_VARIABLE__IS_MANY = CONNECTION_VARIABLE__IS_MANY;
/**
- * The feature id for the '<em><b>Bottom Pattern</b></em>' container reference.
+ * The feature id for the '<em><b>Is Required</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int VARIABLE_ASSIGNMENT__BOTTOM_PATTERN = ASSIGNMENT__BOTTOM_PATTERN;
+ int OUT_CONNECTION_VARIABLE__IS_REQUIRED = CONNECTION_VARIABLE__IS_REQUIRED;
/**
- * The feature id for the '<em><b>Value</b></em>' containment reference.
+ * The feature id for the '<em><b>Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int VARIABLE_ASSIGNMENT__VALUE = ASSIGNMENT__VALUE;
+ int OUT_CONNECTION_VARIABLE__TYPE = CONNECTION_VARIABLE__TYPE;
/**
- * The feature id for the '<em><b>Is Default</b></em>' attribute.
+ * The feature id for the '<em><b>Type Value</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int VARIABLE_ASSIGNMENT__IS_DEFAULT = ASSIGNMENT__IS_DEFAULT;
+ int OUT_CONNECTION_VARIABLE__TYPE_VALUE = CONNECTION_VARIABLE__TYPE_VALUE;
/**
- * The feature id for the '<em><b>Target Variable</b></em>' reference.
+ * The feature id for the '<em><b>Owned Init</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int VARIABLE_ASSIGNMENT__TARGET_VARIABLE = ASSIGNMENT_FEATURE_COUNT + 0;
+ int OUT_CONNECTION_VARIABLE__OWNED_INIT = CONNECTION_VARIABLE_FEATURE_COUNT + 0;
/**
- * The number of structural features of the '<em>Variable Assignment</em>' class.
+ * The number of structural features of the '<em>Out Connection Variable</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int VARIABLE_ASSIGNMENT_FEATURE_COUNT = ASSIGNMENT_FEATURE_COUNT + 1;
+ int OUT_CONNECTION_VARIABLE_FEATURE_COUNT = CONNECTION_VARIABLE_FEATURE_COUNT + 1;
/**
- * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.VariablePredicateImpl <em>Variable Predicate</em>}' class.
+ * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.PredicateVariableImpl <em>Predicate Variable</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.VariablePredicateImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getVariablePredicate()
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.PredicateVariableImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getPredicateVariable()
* @generated
*/
- int VARIABLE_PREDICATE = 19;
+ int PREDICATE_VARIABLE = 15;
/**
* The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
@@ -1951,7 +1778,7 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int VARIABLE_PREDICATE__ANNOTATING_COMMENTS = QVTbasePackage.PREDICATE__ANNOTATING_COMMENTS;
+ int PREDICATE_VARIABLE__ANNOTATING_COMMENTS = VARIABLE_STATEMENT__ANNOTATING_COMMENTS;
/**
* The feature id for the '<em><b>Owned Annotations</b></em>' containment reference list.
@@ -1960,7 +1787,7 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int VARIABLE_PREDICATE__OWNED_ANNOTATIONS = QVTbasePackage.PREDICATE__OWNED_ANNOTATIONS;
+ int PREDICATE_VARIABLE__OWNED_ANNOTATIONS = VARIABLE_STATEMENT__OWNED_ANNOTATIONS;
/**
* The feature id for the '<em><b>Owned Comments</b></em>' containment reference list.
@@ -1969,7 +1796,7 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int VARIABLE_PREDICATE__OWNED_COMMENTS = QVTbasePackage.PREDICATE__OWNED_COMMENTS;
+ int PREDICATE_VARIABLE__OWNED_COMMENTS = VARIABLE_STATEMENT__OWNED_COMMENTS;
/**
* The feature id for the '<em><b>Owned Extensions</b></em>' containment reference list.
@@ -1978,225 +1805,252 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int VARIABLE_PREDICATE__OWNED_EXTENSIONS = QVTbasePackage.PREDICATE__OWNED_EXTENSIONS;
+ int PREDICATE_VARIABLE__OWNED_EXTENSIONS = VARIABLE_STATEMENT__OWNED_EXTENSIONS;
/**
- * The feature id for the '<em><b>Condition Expression</b></em>' containment reference.
+ * The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int VARIABLE_PREDICATE__CONDITION_EXPRESSION = QVTbasePackage.PREDICATE__CONDITION_EXPRESSION;
+ int PREDICATE_VARIABLE__NAME = VARIABLE_STATEMENT__NAME;
/**
- * The feature id for the '<em><b>Pattern</b></em>' container reference.
+ * The feature id for the '<em><b>Is Many</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int VARIABLE_PREDICATE__PATTERN = QVTbasePackage.PREDICATE__PATTERN;
+ int PREDICATE_VARIABLE__IS_MANY = VARIABLE_STATEMENT__IS_MANY;
/**
- * The feature id for the '<em><b>Target Variable</b></em>' reference.
+ * The feature id for the '<em><b>Is Required</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int VARIABLE_PREDICATE__TARGET_VARIABLE = QVTbasePackage.PREDICATE_FEATURE_COUNT + 0;
+ int PREDICATE_VARIABLE__IS_REQUIRED = VARIABLE_STATEMENT__IS_REQUIRED;
/**
- * The number of structural features of the '<em>Variable Predicate</em>' class.
+ * The feature id for the '<em><b>Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int VARIABLE_PREDICATE_FEATURE_COUNT = QVTbasePackage.PREDICATE_FEATURE_COUNT + 1;
+ int PREDICATE_VARIABLE__TYPE = VARIABLE_STATEMENT__TYPE;
/**
- * Returns the meta object for class '{@link org.eclipse.qvtd.pivot.qvtimperative.AddStatement <em>Add Statement</em>}'.
+ * The feature id for the '<em><b>Type Value</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for class '<em>Add Statement</em>'.
- * @see org.eclipse.qvtd.pivot.qvtimperative.AddStatement
* @generated
+ * @ordered
*/
- EClass getAddStatement();
+ int PREDICATE_VARIABLE__TYPE_VALUE = VARIABLE_STATEMENT__TYPE_VALUE;
/**
- * Returns the meta object for the reference '{@link org.eclipse.qvtd.pivot.qvtimperative.AddStatement#getTargetVariable <em>Target Variable</em>}'.
+ * The feature id for the '<em><b>Owned Init</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Target Variable</em>'.
- * @see org.eclipse.qvtd.pivot.qvtimperative.AddStatement#getTargetVariable()
- * @see #getAddStatement()
* @generated
+ * @ordered
*/
- EReference getAddStatement_TargetVariable();
+ int PREDICATE_VARIABLE__OWNED_INIT = VARIABLE_STATEMENT_FEATURE_COUNT + 0;
/**
- * Returns the meta object for the containment reference '{@link org.eclipse.qvtd.pivot.qvtimperative.AddStatement#getValue <em>Value</em>}'.
+ * The feature id for the '<em><b>Is Checked</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Value</em>'.
- * @see org.eclipse.qvtd.pivot.qvtimperative.AddStatement#getValue()
- * @see #getAddStatement()
* @generated
+ * @ordered
*/
- EReference getAddStatement_Value();
+ int PREDICATE_VARIABLE__IS_CHECKED = VARIABLE_STATEMENT_FEATURE_COUNT + 1;
/**
- * Returns the meta object for the attribute '{@link org.eclipse.qvtd.pivot.qvtimperative.AddStatement#isIsEnforceadUnique <em>Is Enforcead Unique</em>}'.
+ * The number of structural features of the '<em>Predicate Variable</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Is Enforcead Unique</em>'.
- * @see org.eclipse.qvtd.pivot.qvtimperative.AddStatement#isIsEnforceadUnique()
- * @see #getAddStatement()
* @generated
+ * @ordered
*/
- EAttribute getAddStatement_IsEnforceadUnique();
+ int PREDICATE_VARIABLE_FEATURE_COUNT = VARIABLE_STATEMENT_FEATURE_COUNT + 2;
/**
- * Returns the meta object for class '{@link org.eclipse.qvtd.pivot.qvtimperative.Area <em>Area</em>}'.
+ * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.SetStatementImpl <em>Set Statement</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for class '<em>Area</em>'.
- * @see org.eclipse.qvtd.pivot.qvtimperative.Area
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.SetStatementImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getSetStatement()
* @generated
*/
- EClass getArea();
+ int SET_STATEMENT = 16;
/**
- * Returns the meta object for the containment reference '{@link org.eclipse.qvtd.pivot.qvtimperative.Area#getGuardPattern <em>Guard Pattern</em>}'.
+ * The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Guard Pattern</em>'.
- * @see org.eclipse.qvtd.pivot.qvtimperative.Area#getGuardPattern()
- * @see #getArea()
* @generated
+ * @ordered
*/
- EReference getArea_GuardPattern();
+ int SET_STATEMENT__ANNOTATING_COMMENTS = STATEMENT__ANNOTATING_COMMENTS;
/**
- * Returns the meta object for the containment reference '{@link org.eclipse.qvtd.pivot.qvtimperative.Area#getBottomPattern <em>Bottom Pattern</em>}'.
+ * The feature id for the '<em><b>Owned Annotations</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Bottom Pattern</em>'.
- * @see org.eclipse.qvtd.pivot.qvtimperative.Area#getBottomPattern()
- * @see #getArea()
* @generated
+ * @ordered
*/
- EReference getArea_BottomPattern();
+ int SET_STATEMENT__OWNED_ANNOTATIONS = STATEMENT__OWNED_ANNOTATIONS;
/**
- * Returns the meta object for the reference list '{@link org.eclipse.qvtd.pivot.qvtimperative.Area#getCheckedProperties <em>Checked Properties</em>}'.
+ * The feature id for the '<em><b>Owned Comments</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the reference list '<em>Checked Properties</em>'.
- * @see org.eclipse.qvtd.pivot.qvtimperative.Area#getCheckedProperties()
- * @see #getArea()
* @generated
+ * @ordered
*/
- EReference getArea_CheckedProperties();
+ int SET_STATEMENT__OWNED_COMMENTS = STATEMENT__OWNED_COMMENTS;
/**
- * Returns the meta object for the reference list '{@link org.eclipse.qvtd.pivot.qvtimperative.Area#getEnforcedProperties <em>Enforced Properties</em>}'.
+ * The feature id for the '<em><b>Owned Extensions</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the reference list '<em>Enforced Properties</em>'.
- * @see org.eclipse.qvtd.pivot.qvtimperative.Area#getEnforcedProperties()
- * @see #getArea()
* @generated
+ * @ordered
*/
- EReference getArea_EnforcedProperties();
+ int SET_STATEMENT__OWNED_EXTENSIONS = STATEMENT__OWNED_EXTENSIONS;
/**
- * Returns the meta object for class '{@link org.eclipse.qvtd.pivot.qvtimperative.Assignment <em>Assignment</em>}'.
+ * The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for class '<em>Assignment</em>'.
- * @see org.eclipse.qvtd.pivot.qvtimperative.Assignment
* @generated
+ * @ordered
*/
- EClass getAssignment();
+ int SET_STATEMENT__NAME = STATEMENT__NAME;
/**
- * Returns the meta object for the container reference '{@link org.eclipse.qvtd.pivot.qvtimperative.Assignment#getBottomPattern <em>Bottom Pattern</em>}'.
+ * The feature id for the '<em><b>Target Variable</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the container reference '<em>Bottom Pattern</em>'.
- * @see org.eclipse.qvtd.pivot.qvtimperative.Assignment#getBottomPattern()
- * @see #getAssignment()
* @generated
+ * @ordered
*/
- EReference getAssignment_BottomPattern();
+ int SET_STATEMENT__TARGET_VARIABLE = STATEMENT_FEATURE_COUNT + 0;
/**
- * Returns the meta object for the containment reference '{@link org.eclipse.qvtd.pivot.qvtimperative.Assignment#getValue <em>Value</em>}'.
+ * The feature id for the '<em><b>Target Property</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SET_STATEMENT__TARGET_PROPERTY = STATEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SET_STATEMENT__VALUE = STATEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Is Opposite</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Value</em>'.
- * @see org.eclipse.qvtd.pivot.qvtimperative.Assignment#getValue()
- * @see #getAssignment()
* @generated
+ * @ordered
*/
- EReference getAssignment_Value();
+ int SET_STATEMENT__IS_OPPOSITE = STATEMENT_FEATURE_COUNT + 3;
/**
- * Returns the meta object for the attribute '{@link org.eclipse.qvtd.pivot.qvtimperative.Assignment#isIsDefault <em>Is Default</em>}'.
+ * The feature id for the '<em><b>Is Emit</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Is Default</em>'.
- * @see org.eclipse.qvtd.pivot.qvtimperative.Assignment#isIsDefault()
- * @see #getAssignment()
* @generated
+ * @ordered
*/
- EAttribute getAssignment_IsDefault();
+ int SET_STATEMENT__IS_EMIT = STATEMENT_FEATURE_COUNT + 4;
/**
- * Returns the meta object for class '{@link org.eclipse.qvtd.pivot.qvtimperative.BottomPattern <em>Bottom Pattern</em>}'.
+ * The number of structural features of the '<em>Set Statement</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for class '<em>Bottom Pattern</em>'.
- * @see org.eclipse.qvtd.pivot.qvtimperative.BottomPattern
* @generated
+ * @ordered
*/
- EClass getBottomPattern();
+ int SET_STATEMENT_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 5;
/**
- * Returns the meta object for the container reference '{@link org.eclipse.qvtd.pivot.qvtimperative.BottomPattern#getArea <em>Area</em>}'.
+ * Returns the meta object for class '{@link org.eclipse.qvtd.pivot.qvtimperative.AddStatement <em>Add Statement</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the container reference '<em>Area</em>'.
- * @see org.eclipse.qvtd.pivot.qvtimperative.BottomPattern#getArea()
- * @see #getBottomPattern()
+ * @return the meta object for class '<em>Add Statement</em>'.
+ * @see org.eclipse.qvtd.pivot.qvtimperative.AddStatement
* @generated
*/
- EReference getBottomPattern_Area();
+ EClass getAddStatement();
/**
- * Returns the meta object for the containment reference list '{@link org.eclipse.qvtd.pivot.qvtimperative.BottomPattern#getAssignment <em>Assignment</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.qvtd.pivot.qvtimperative.AddStatement#getTargetVariable <em>Target Variable</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Assignment</em>'.
- * @see org.eclipse.qvtd.pivot.qvtimperative.BottomPattern#getAssignment()
- * @see #getBottomPattern()
+ * @return the meta object for the reference '<em>Target Variable</em>'.
+ * @see org.eclipse.qvtd.pivot.qvtimperative.AddStatement#getTargetVariable()
+ * @see #getAddStatement()
* @generated
*/
- EReference getBottomPattern_Assignment();
+ EReference getAddStatement_TargetVariable();
/**
- * Returns the meta object for class '{@link org.eclipse.qvtd.pivot.qvtimperative.BottomStatement <em>Bottom Statement</em>}'.
+ * Returns the meta object for the containment reference '{@link org.eclipse.qvtd.pivot.qvtimperative.AddStatement#getValue <em>Value</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for class '<em>Bottom Statement</em>'.
- * @see org.eclipse.qvtd.pivot.qvtimperative.BottomStatement
+ * @return the meta object for the containment reference '<em>Value</em>'.
+ * @see org.eclipse.qvtd.pivot.qvtimperative.AddStatement#getValue()
+ * @see #getAddStatement()
* @generated
*/
- EClass getBottomStatement();
+ EReference getAddStatement_Value();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.qvtd.pivot.qvtimperative.AddStatement#isIsEnforcedUnique <em>Is Enforced Unique</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Is Enforced Unique</em>'.
+ * @see org.eclipse.qvtd.pivot.qvtimperative.AddStatement#isIsEnforcedUnique()
+ * @see #getAddStatement()
+ * @generated
+ */
+ EAttribute getAddStatement_IsEnforcedUnique();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.qvtd.pivot.qvtimperative.CheckStatement <em>Check Statement</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Check Statement</em>'.
+ * @see org.eclipse.qvtd.pivot.qvtimperative.CheckStatement
+ * @generated
+ */
+ EClass getCheckStatement();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.qvtd.pivot.qvtimperative.CheckStatement#getConditionExpression <em>Condition Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Condition Expression</em>'.
+ * @see org.eclipse.qvtd.pivot.qvtimperative.CheckStatement#getConditionExpression()
+ * @see #getCheckStatement()
+ * @generated
+ */
+ EReference getCheckStatement_ConditionExpression();
/**
* Returns the meta object for class '{@link org.eclipse.qvtd.pivot.qvtimperative.ConnectionVariable <em>Connection Variable</em>}'.
@@ -2209,25 +2063,25 @@ public interface QVTimperativePackage extends EPackage {
EClass getConnectionVariable();
/**
- * Returns the meta object for class '{@link org.eclipse.qvtd.pivot.qvtimperative.GuardPattern <em>Guard Pattern</em>}'.
+ * Returns the meta object for class '{@link org.eclipse.qvtd.pivot.qvtimperative.GuardVariable <em>Guard Variable</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for class '<em>Guard Pattern</em>'.
- * @see org.eclipse.qvtd.pivot.qvtimperative.GuardPattern
+ * @return the meta object for class '<em>Guard Variable</em>'.
+ * @see org.eclipse.qvtd.pivot.qvtimperative.GuardVariable
* @generated
*/
- EClass getGuardPattern();
+ EClass getGuardVariable();
/**
- * Returns the meta object for the container reference '{@link org.eclipse.qvtd.pivot.qvtimperative.GuardPattern#getArea <em>Area</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.qvtd.pivot.qvtimperative.GuardVariable#getReferredTypedModel <em>Referred Typed Model</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the container reference '<em>Area</em>'.
- * @see org.eclipse.qvtd.pivot.qvtimperative.GuardPattern#getArea()
- * @see #getGuardPattern()
+ * @return the meta object for the reference '<em>Referred Typed Model</em>'.
+ * @see org.eclipse.qvtd.pivot.qvtimperative.GuardVariable#getReferredTypedModel()
+ * @see #getGuardVariable()
* @generated
*/
- EReference getGuardPattern_Area();
+ EReference getGuardVariable_ReferredTypedModel();
/**
* Returns the meta object for class '{@link org.eclipse.qvtd.pivot.qvtimperative.ImperativeDomain <em>Imperative Domain</em>}'.
@@ -2240,6 +2094,28 @@ public interface QVTimperativePackage extends EPackage {
EClass getImperativeDomain();
/**
+ * Returns the meta object for the reference list '{@link org.eclipse.qvtd.pivot.qvtimperative.ImperativeDomain#getCheckedProperties <em>Checked Properties</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Checked Properties</em>'.
+ * @see org.eclipse.qvtd.pivot.qvtimperative.ImperativeDomain#getCheckedProperties()
+ * @see #getImperativeDomain()
+ * @generated
+ */
+ EReference getImperativeDomain_CheckedProperties();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.qvtd.pivot.qvtimperative.ImperativeDomain#getOwnedGuardVariables <em>Owned Guard Variables</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Owned Guard Variables</em>'.
+ * @see org.eclipse.qvtd.pivot.qvtimperative.ImperativeDomain#getOwnedGuardVariables()
+ * @see #getImperativeDomain()
+ * @generated
+ */
+ EReference getImperativeDomain_OwnedGuardVariables();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.qvtd.pivot.qvtimperative.ImperativeModel <em>Imperative Model</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2250,25 +2126,35 @@ public interface QVTimperativePackage extends EPackage {
EClass getImperativeModel();
/**
- * Returns the meta object for class '{@link org.eclipse.qvtd.pivot.qvtimperative.ImperativePattern <em>Imperative Pattern</em>}'.
+ * Returns the meta object for class '{@link org.eclipse.qvtd.pivot.qvtimperative.InConnectionVariable <em>In Connection Variable</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>In Connection Variable</em>'.
+ * @see org.eclipse.qvtd.pivot.qvtimperative.InConnectionVariable
+ * @generated
+ */
+ EClass getInConnectionVariable();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.qvtd.pivot.qvtimperative.LoopVariable <em>Loop Variable</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for class '<em>Imperative Pattern</em>'.
- * @see org.eclipse.qvtd.pivot.qvtimperative.ImperativePattern
+ * @return the meta object for class '<em>Loop Variable</em>'.
+ * @see org.eclipse.qvtd.pivot.qvtimperative.LoopVariable
* @generated
*/
- EClass getImperativePattern();
+ EClass getLoopVariable();
/**
- * Returns the meta object for the containment reference list '{@link org.eclipse.qvtd.pivot.qvtimperative.ImperativePattern#getVariable <em>Variable</em>}'.
+ * Returns the meta object for the container reference '{@link org.eclipse.qvtd.pivot.qvtimperative.LoopVariable#getOwningMappingLoop <em>Owning Mapping Loop</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Variable</em>'.
- * @see org.eclipse.qvtd.pivot.qvtimperative.ImperativePattern#getVariable()
- * @see #getImperativePattern()
+ * @return the meta object for the container reference '<em>Owning Mapping Loop</em>'.
+ * @see org.eclipse.qvtd.pivot.qvtimperative.LoopVariable#getOwningMappingLoop()
+ * @see #getLoopVariable()
* @generated
*/
- EReference getImperativePattern_Variable();
+ EReference getLoopVariable_OwningMappingLoop();
/**
* Returns the meta object for class '{@link org.eclipse.qvtd.pivot.qvtimperative.Mapping <em>Mapping</em>}'.
@@ -2281,6 +2167,28 @@ public interface QVTimperativePackage extends EPackage {
EClass getMapping();
/**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.qvtd.pivot.qvtimperative.Mapping#getOwnedGuardVariables <em>Owned Guard Variables</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Owned Guard Variables</em>'.
+ * @see org.eclipse.qvtd.pivot.qvtimperative.Mapping#getOwnedGuardVariables()
+ * @see #getMapping()
+ * @generated
+ */
+ EReference getMapping_OwnedGuardVariables();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.qvtd.pivot.qvtimperative.Mapping#getInoutVariables <em>Inout Variables</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Inout Variables</em>'.
+ * @see org.eclipse.qvtd.pivot.qvtimperative.Mapping#getInoutVariables()
+ * @see #getMapping()
+ * @generated
+ */
+ EReference getMapping_InoutVariables();
+
+ /**
* Returns the meta object for the containment reference list '{@link org.eclipse.qvtd.pivot.qvtimperative.Mapping#getOwnedStatements <em>Owned Statements</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2292,6 +2200,17 @@ public interface QVTimperativePackage extends EPackage {
EReference getMapping_OwnedStatements();
/**
+ * Returns the meta object for the reference list '{@link org.eclipse.qvtd.pivot.qvtimperative.Mapping#getCheckedProperties <em>Checked Properties</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Checked Properties</em>'.
+ * @see org.eclipse.qvtd.pivot.qvtimperative.Mapping#getCheckedProperties()
+ * @see #getMapping()
+ * @generated
+ */
+ EReference getMapping_CheckedProperties();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.qvtd.pivot.qvtimperative.MappingCall <em>Mapping Call</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2463,6 +2382,70 @@ public interface QVTimperativePackage extends EPackage {
EReference getNewStatement_ReferredTypedModel();
/**
+ * Returns the meta object for the containment reference '{@link org.eclipse.qvtd.pivot.qvtimperative.NewStatement#getOwnedInit <em>Owned Init</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Owned Init</em>'.
+ * @see org.eclipse.qvtd.pivot.qvtimperative.NewStatement#getOwnedInit()
+ * @see #getNewStatement()
+ * @generated
+ */
+ EReference getNewStatement_OwnedInit();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.qvtd.pivot.qvtimperative.OutConnectionVariable <em>Out Connection Variable</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Out Connection Variable</em>'.
+ * @see org.eclipse.qvtd.pivot.qvtimperative.OutConnectionVariable
+ * @generated
+ */
+ EClass getOutConnectionVariable();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.qvtd.pivot.qvtimperative.OutConnectionVariable#getOwnedInit <em>Owned Init</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Owned Init</em>'.
+ * @see org.eclipse.qvtd.pivot.qvtimperative.OutConnectionVariable#getOwnedInit()
+ * @see #getOutConnectionVariable()
+ * @generated
+ */
+ EReference getOutConnectionVariable_OwnedInit();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.qvtd.pivot.qvtimperative.PredicateVariable <em>Predicate Variable</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Predicate Variable</em>'.
+ * @see org.eclipse.qvtd.pivot.qvtimperative.PredicateVariable
+ * @generated
+ */
+ EClass getPredicateVariable();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.qvtd.pivot.qvtimperative.PredicateVariable#getOwnedInit <em>Owned Init</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Owned Init</em>'.
+ * @see org.eclipse.qvtd.pivot.qvtimperative.PredicateVariable#getOwnedInit()
+ * @see #getPredicateVariable()
+ * @generated
+ */
+ EReference getPredicateVariable_OwnedInit();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.qvtd.pivot.qvtimperative.PredicateVariable#isIsChecked <em>Is Checked</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Is Checked</em>'.
+ * @see org.eclipse.qvtd.pivot.qvtimperative.PredicateVariable#isIsChecked()
+ * @see #getPredicateVariable()
+ * @generated
+ */
+ EAttribute getPredicateVariable_IsChecked();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.qvtd.pivot.qvtimperative.SetStatement <em>Set Statement</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2473,15 +2456,15 @@ public interface QVTimperativePackage extends EPackage {
EClass getSetStatement();
/**
- * Returns the meta object for the containment reference '{@link org.eclipse.qvtd.pivot.qvtimperative.SetStatement#getSlotExpression <em>Slot Expression</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.qvtd.pivot.qvtimperative.SetStatement#getTargetVariable <em>Target Variable</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Slot Expression</em>'.
- * @see org.eclipse.qvtd.pivot.qvtimperative.SetStatement#getSlotExpression()
+ * @return the meta object for the reference '<em>Target Variable</em>'.
+ * @see org.eclipse.qvtd.pivot.qvtimperative.SetStatement#getTargetVariable()
* @see #getSetStatement()
* @generated
*/
- EReference getSetStatement_SlotExpression();
+ EReference getSetStatement_TargetVariable();
/**
* Returns the meta object for the reference '{@link org.eclipse.qvtd.pivot.qvtimperative.SetStatement#getTargetProperty <em>Target Property</em>}'.
@@ -2517,56 +2500,35 @@ public interface QVTimperativePackage extends EPackage {
EAttribute getSetStatement_IsOpposite();
/**
- * Returns the meta object for class '{@link org.eclipse.qvtd.pivot.qvtimperative.Statement <em>Statement</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.qvtd.pivot.qvtimperative.SetStatement#isIsEmit <em>Is Emit</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for class '<em>Statement</em>'.
- * @see org.eclipse.qvtd.pivot.qvtimperative.Statement
- * @generated
- */
- EClass getStatement();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.qvtd.pivot.qvtimperative.VariableAssignment <em>Variable Assignment</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Variable Assignment</em>'.
- * @see org.eclipse.qvtd.pivot.qvtimperative.VariableAssignment
- * @generated
- */
- EClass getVariableAssignment();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.qvtd.pivot.qvtimperative.VariableAssignment#getTargetVariable <em>Target Variable</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Target Variable</em>'.
- * @see org.eclipse.qvtd.pivot.qvtimperative.VariableAssignment#getTargetVariable()
- * @see #getVariableAssignment()
+ * @return the meta object for the attribute '<em>Is Emit</em>'.
+ * @see org.eclipse.qvtd.pivot.qvtimperative.SetStatement#isIsEmit()
+ * @see #getSetStatement()
* @generated
*/
- EReference getVariableAssignment_TargetVariable();
+ EAttribute getSetStatement_IsEmit();
/**
- * Returns the meta object for class '{@link org.eclipse.qvtd.pivot.qvtimperative.VariablePredicate <em>Variable Predicate</em>}'.
+ * Returns the meta object for class '{@link org.eclipse.qvtd.pivot.qvtimperative.Statement <em>Statement</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for class '<em>Variable Predicate</em>'.
- * @see org.eclipse.qvtd.pivot.qvtimperative.VariablePredicate
+ * @return the meta object for class '<em>Statement</em>'.
+ * @see org.eclipse.qvtd.pivot.qvtimperative.Statement
* @generated
*/
- EClass getVariablePredicate();
+ EClass getStatement();
/**
- * Returns the meta object for the reference '{@link org.eclipse.qvtd.pivot.qvtimperative.VariablePredicate#getTargetVariable <em>Target Variable</em>}'.
+ * Returns the meta object for class '{@link org.eclipse.qvtd.pivot.qvtimperative.VariableStatement <em>Variable Statement</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Target Variable</em>'.
- * @see org.eclipse.qvtd.pivot.qvtimperative.VariablePredicate#getTargetVariable()
- * @see #getVariablePredicate()
+ * @return the meta object for class '<em>Variable Statement</em>'.
+ * @see org.eclipse.qvtd.pivot.qvtimperative.VariableStatement
* @generated
*/
- EReference getVariablePredicate_TargetVariable();
+ EClass getVariableStatement();
/**
* Returns the factory that creates the instances of the model.
@@ -2617,208 +2579,164 @@ public interface QVTimperativePackage extends EPackage {
EReference ADD_STATEMENT__VALUE = eINSTANCE.getAddStatement_Value();
/**
- * The meta object literal for the '<em><b>Is Enforcead Unique</b></em>' attribute feature.
+ * The meta object literal for the '<em><b>Is Enforced Unique</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EAttribute ADD_STATEMENT__IS_ENFORCEAD_UNIQUE = eINSTANCE.getAddStatement_IsEnforceadUnique();
+ EAttribute ADD_STATEMENT__IS_ENFORCED_UNIQUE = eINSTANCE.getAddStatement_IsEnforcedUnique();
/**
- * The meta object literal for the '{@link org.eclipse.qvtd.pivot.qvtimperative.Area <em>Area</em>}' class.
+ * The meta object literal for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.CheckStatementImpl <em>Check Statement</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.Area
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getArea()
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.CheckStatementImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getCheckStatement()
* @generated
*/
- EClass AREA = eINSTANCE.getArea();
+ EClass CHECK_STATEMENT = eINSTANCE.getCheckStatement();
/**
- * The meta object literal for the '<em><b>Guard Pattern</b></em>' containment reference feature.
+ * The meta object literal for the '<em><b>Condition Expression</b></em>' containment reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference AREA__GUARD_PATTERN = eINSTANCE.getArea_GuardPattern();
+ EReference CHECK_STATEMENT__CONDITION_EXPRESSION = eINSTANCE.getCheckStatement_ConditionExpression();
/**
- * The meta object literal for the '<em><b>Bottom Pattern</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference AREA__BOTTOM_PATTERN = eINSTANCE.getArea_BottomPattern();
-
- /**
- * The meta object literal for the '<em><b>Checked Properties</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference AREA__CHECKED_PROPERTIES = eINSTANCE.getArea_CheckedProperties();
-
- /**
- * The meta object literal for the '<em><b>Enforced Properties</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference AREA__ENFORCED_PROPERTIES = eINSTANCE.getArea_EnforcedProperties();
-
- /**
- * The meta object literal for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.AssignmentImpl <em>Assignment</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.AssignmentImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getAssignment()
- * @generated
- */
- EClass ASSIGNMENT = eINSTANCE.getAssignment();
-
- /**
- * The meta object literal for the '<em><b>Bottom Pattern</b></em>' container reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference ASSIGNMENT__BOTTOM_PATTERN = eINSTANCE.getAssignment_BottomPattern();
-
- /**
- * The meta object literal for the '<em><b>Value</b></em>' containment reference feature.
+ * The meta object literal for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.ConnectionVariableImpl <em>Connection Variable</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.ConnectionVariableImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getConnectionVariable()
* @generated
*/
- EReference ASSIGNMENT__VALUE = eINSTANCE.getAssignment_Value();
+ EClass CONNECTION_VARIABLE = eINSTANCE.getConnectionVariable();
/**
- * The meta object literal for the '<em><b>Is Default</b></em>' attribute feature.
+ * The meta object literal for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.GuardVariableImpl <em>Guard Variable</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.GuardVariableImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getGuardVariable()
* @generated
*/
- EAttribute ASSIGNMENT__IS_DEFAULT = eINSTANCE.getAssignment_IsDefault();
+ EClass GUARD_VARIABLE = eINSTANCE.getGuardVariable();
/**
- * The meta object literal for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.BottomPatternImpl <em>Bottom Pattern</em>}' class.
+ * The meta object literal for the '<em><b>Referred Typed Model</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.BottomPatternImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getBottomPattern()
* @generated
*/
- EClass BOTTOM_PATTERN = eINSTANCE.getBottomPattern();
+ EReference GUARD_VARIABLE__REFERRED_TYPED_MODEL = eINSTANCE.getGuardVariable_ReferredTypedModel();
/**
- * The meta object literal for the '<em><b>Area</b></em>' container reference feature.
+ * The meta object literal for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.ImperativeDomainImpl <em>Imperative Domain</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.ImperativeDomainImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getImperativeDomain()
* @generated
*/
- EReference BOTTOM_PATTERN__AREA = eINSTANCE.getBottomPattern_Area();
+ EClass IMPERATIVE_DOMAIN = eINSTANCE.getImperativeDomain();
/**
- * The meta object literal for the '<em><b>Assignment</b></em>' containment reference list feature.
+ * The meta object literal for the '<em><b>Checked Properties</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference BOTTOM_PATTERN__ASSIGNMENT = eINSTANCE.getBottomPattern_Assignment();
+ EReference IMPERATIVE_DOMAIN__CHECKED_PROPERTIES = eINSTANCE.getImperativeDomain_CheckedProperties();
/**
- * The meta object literal for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.BottomStatementImpl <em>Bottom Statement</em>}' class.
+ * The meta object literal for the '<em><b>Owned Guard Variables</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.BottomStatementImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getBottomStatement()
* @generated
*/
- EClass BOTTOM_STATEMENT = eINSTANCE.getBottomStatement();
+ EReference IMPERATIVE_DOMAIN__OWNED_GUARD_VARIABLES = eINSTANCE.getImperativeDomain_OwnedGuardVariables();
/**
- * The meta object literal for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.ConnectionVariableImpl <em>Connection Variable</em>}' class.
+ * The meta object literal for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.ImperativeModelImpl <em>Imperative Model</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.ConnectionVariableImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getConnectionVariable()
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.ImperativeModelImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getImperativeModel()
* @generated
*/
- EClass CONNECTION_VARIABLE = eINSTANCE.getConnectionVariable();
+ EClass IMPERATIVE_MODEL = eINSTANCE.getImperativeModel();
/**
- * The meta object literal for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.GuardPatternImpl <em>Guard Pattern</em>}' class.
+ * The meta object literal for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.InConnectionVariableImpl <em>In Connection Variable</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.GuardPatternImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getGuardPattern()
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.InConnectionVariableImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getInConnectionVariable()
* @generated
*/
- EClass GUARD_PATTERN = eINSTANCE.getGuardPattern();
+ EClass IN_CONNECTION_VARIABLE = eINSTANCE.getInConnectionVariable();
/**
- * The meta object literal for the '<em><b>Area</b></em>' container reference feature.
+ * The meta object literal for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.LoopVariableImpl <em>Loop Variable</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.LoopVariableImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getLoopVariable()
* @generated
*/
- EReference GUARD_PATTERN__AREA = eINSTANCE.getGuardPattern_Area();
+ EClass LOOP_VARIABLE = eINSTANCE.getLoopVariable();
/**
- * The meta object literal for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.ImperativeDomainImpl <em>Imperative Domain</em>}' class.
+ * The meta object literal for the '<em><b>Owning Mapping Loop</b></em>' container reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.ImperativeDomainImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getImperativeDomain()
* @generated
*/
- EClass IMPERATIVE_DOMAIN = eINSTANCE.getImperativeDomain();
+ EReference LOOP_VARIABLE__OWNING_MAPPING_LOOP = eINSTANCE.getLoopVariable_OwningMappingLoop();
/**
- * The meta object literal for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.ImperativeModelImpl <em>Imperative Model</em>}' class.
+ * The meta object literal for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.MappingImpl <em>Mapping</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.ImperativeModelImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getImperativeModel()
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.MappingImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getMapping()
* @generated
*/
- EClass IMPERATIVE_MODEL = eINSTANCE.getImperativeModel();
+ EClass MAPPING = eINSTANCE.getMapping();
/**
- * The meta object literal for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.ImperativePatternImpl <em>Imperative Pattern</em>}' class.
+ * The meta object literal for the '<em><b>Owned Guard Variables</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.ImperativePatternImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getImperativePattern()
* @generated
*/
- EClass IMPERATIVE_PATTERN = eINSTANCE.getImperativePattern();
+ EReference MAPPING__OWNED_GUARD_VARIABLES = eINSTANCE.getMapping_OwnedGuardVariables();
/**
- * The meta object literal for the '<em><b>Variable</b></em>' containment reference list feature.
+ * The meta object literal for the '<em><b>Inout Variables</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference IMPERATIVE_PATTERN__VARIABLE = eINSTANCE.getImperativePattern_Variable();
+ EReference MAPPING__INOUT_VARIABLES = eINSTANCE.getMapping_InoutVariables();
/**
- * The meta object literal for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.MappingImpl <em>Mapping</em>}' class.
+ * The meta object literal for the '<em><b>Owned Statements</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.MappingImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getMapping()
* @generated
*/
- EClass MAPPING = eINSTANCE.getMapping();
+ EReference MAPPING__OWNED_STATEMENTS = eINSTANCE.getMapping_OwnedStatements();
/**
- * The meta object literal for the '<em><b>Owned Statements</b></em>' containment reference list feature.
+ * The meta object literal for the '<em><b>Checked Properties</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference MAPPING__OWNED_STATEMENTS = eINSTANCE.getMapping_OwnedStatements();
+ EReference MAPPING__CHECKED_PROPERTIES = eINSTANCE.getMapping_CheckedProperties();
/**
* The meta object literal for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.MappingCallImpl <em>Mapping Call</em>}' class.
@@ -2959,66 +2877,66 @@ public interface QVTimperativePackage extends EPackage {
EReference NEW_STATEMENT__REFERRED_TYPED_MODEL = eINSTANCE.getNewStatement_ReferredTypedModel();
/**
- * The meta object literal for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.SetStatementImpl <em>Set Statement</em>}' class.
+ * The meta object literal for the '<em><b>Owned Init</b></em>' containment reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.SetStatementImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getSetStatement()
* @generated
*/
- EClass SET_STATEMENT = eINSTANCE.getSetStatement();
+ EReference NEW_STATEMENT__OWNED_INIT = eINSTANCE.getNewStatement_OwnedInit();
/**
- * The meta object literal for the '<em><b>Slot Expression</b></em>' containment reference feature.
+ * The meta object literal for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.OutConnectionVariableImpl <em>Out Connection Variable</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.OutConnectionVariableImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getOutConnectionVariable()
* @generated
*/
- EReference SET_STATEMENT__SLOT_EXPRESSION = eINSTANCE.getSetStatement_SlotExpression();
+ EClass OUT_CONNECTION_VARIABLE = eINSTANCE.getOutConnectionVariable();
/**
- * The meta object literal for the '<em><b>Target Property</b></em>' reference feature.
+ * The meta object literal for the '<em><b>Owned Init</b></em>' containment reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference SET_STATEMENT__TARGET_PROPERTY = eINSTANCE.getSetStatement_TargetProperty();
+ EReference OUT_CONNECTION_VARIABLE__OWNED_INIT = eINSTANCE.getOutConnectionVariable_OwnedInit();
/**
- * The meta object literal for the '<em><b>Value</b></em>' containment reference feature.
+ * The meta object literal for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.PredicateVariableImpl <em>Predicate Variable</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.PredicateVariableImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getPredicateVariable()
* @generated
*/
- EReference SET_STATEMENT__VALUE = eINSTANCE.getSetStatement_Value();
+ EClass PREDICATE_VARIABLE = eINSTANCE.getPredicateVariable();
/**
- * The meta object literal for the '<em><b>Is Opposite</b></em>' attribute feature.
+ * The meta object literal for the '<em><b>Owned Init</b></em>' containment reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EAttribute SET_STATEMENT__IS_OPPOSITE = eINSTANCE.getSetStatement_IsOpposite();
+ EReference PREDICATE_VARIABLE__OWNED_INIT = eINSTANCE.getPredicateVariable_OwnedInit();
/**
- * The meta object literal for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.StatementImpl <em>Statement</em>}' class.
+ * The meta object literal for the '<em><b>Is Checked</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.StatementImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getStatement()
* @generated
*/
- EClass STATEMENT = eINSTANCE.getStatement();
+ EAttribute PREDICATE_VARIABLE__IS_CHECKED = eINSTANCE.getPredicateVariable_IsChecked();
/**
- * The meta object literal for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.VariableAssignmentImpl <em>Variable Assignment</em>}' class.
+ * The meta object literal for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.SetStatementImpl <em>Set Statement</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.VariableAssignmentImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getVariableAssignment()
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.SetStatementImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getSetStatement()
* @generated
*/
- EClass VARIABLE_ASSIGNMENT = eINSTANCE.getVariableAssignment();
+ EClass SET_STATEMENT = eINSTANCE.getSetStatement();
/**
* The meta object literal for the '<em><b>Target Variable</b></em>' reference feature.
@@ -3026,25 +2944,59 @@ public interface QVTimperativePackage extends EPackage {
* <!-- end-user-doc -->
* @generated
*/
- EReference VARIABLE_ASSIGNMENT__TARGET_VARIABLE = eINSTANCE.getVariableAssignment_TargetVariable();
+ EReference SET_STATEMENT__TARGET_VARIABLE = eINSTANCE.getSetStatement_TargetVariable();
/**
- * The meta object literal for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.VariablePredicateImpl <em>Variable Predicate</em>}' class.
+ * The meta object literal for the '<em><b>Target Property</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.VariablePredicateImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getVariablePredicate()
* @generated
*/
- EClass VARIABLE_PREDICATE = eINSTANCE.getVariablePredicate();
+ EReference SET_STATEMENT__TARGET_PROPERTY = eINSTANCE.getSetStatement_TargetProperty();
/**
- * The meta object literal for the '<em><b>Target Variable</b></em>' reference feature.
+ * The meta object literal for the '<em><b>Value</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference SET_STATEMENT__VALUE = eINSTANCE.getSetStatement_Value();
+
+ /**
+ * The meta object literal for the '<em><b>Is Opposite</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute SET_STATEMENT__IS_OPPOSITE = eINSTANCE.getSetStatement_IsOpposite();
+
+ /**
+ * The meta object literal for the '<em><b>Is Emit</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute SET_STATEMENT__IS_EMIT = eINSTANCE.getSetStatement_IsEmit();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.StatementImpl <em>Statement</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.StatementImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getStatement()
+ * @generated
+ */
+ EClass STATEMENT = eINSTANCE.getStatement();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.VariableStatementImpl <em>Variable Statement</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.VariableStatementImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getVariableStatement()
* @generated
*/
- EReference VARIABLE_PREDICATE__TARGET_VARIABLE = eINSTANCE.getVariablePredicate_TargetVariable();
+ EClass VARIABLE_STATEMENT = eINSTANCE.getVariableStatement();
}
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/SetStatement.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/SetStatement.java
index 8e3d15138..9b256f82d 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/SetStatement.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/SetStatement.java
@@ -1,22 +1,22 @@
/**
* <copyright>
- *
+ *
* Copyright (c) 2013, 2017 Willink Transformations and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* E.D.Willink - Initial API and implementation
- *
+ *
* </copyright>
*/
package org.eclipse.qvtd.pivot.qvtimperative;
import org.eclipse.ocl.pivot.OCLExpression;
import org.eclipse.ocl.pivot.Property;
-import org.eclipse.ocl.pivot.VariableExp;
+import org.eclipse.ocl.pivot.VariableDeclaration;
/**
* <!-- begin-user-doc -->
@@ -27,40 +27,41 @@ import org.eclipse.ocl.pivot.VariableExp;
* The following features are supported:
* </p>
* <ul>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.SetStatement#getSlotExpression <em>Slot Expression</em>}</li>
+ * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.SetStatement#getTargetVariable <em>Target Variable</em>}</li>
* <li>{@link org.eclipse.qvtd.pivot.qvtimperative.SetStatement#getTargetProperty <em>Target Property</em>}</li>
* <li>{@link org.eclipse.qvtd.pivot.qvtimperative.SetStatement#getValue <em>Value</em>}</li>
* <li>{@link org.eclipse.qvtd.pivot.qvtimperative.SetStatement#isIsOpposite <em>Is Opposite</em>}</li>
+ * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.SetStatement#isIsEmit <em>Is Emit</em>}</li>
* </ul>
*
* @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getSetStatement()
* @generated
*/
-public interface SetStatement extends BottomStatement {
+public interface SetStatement extends Statement {
/**
- * Returns the value of the '<em><b>Slot Expression</b></em>' containment reference.
+ * Returns the value of the '<em><b>Target Variable</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Slot Expression</em>' containment reference isn't clear,
+ * If the meaning of the '<em>Target Variable</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- * @return the value of the '<em>Slot Expression</em>' containment reference.
- * @see #setSlotExpression(VariableExp)
- * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getSetStatement_SlotExpression()
+ * @return the value of the '<em>Target Variable</em>' reference.
+ * @see #setTargetVariable(VariableDeclaration)
+ * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getSetStatement_TargetVariable()
* @generated
*/
- VariableExp getSlotExpression();
+ VariableDeclaration getTargetVariable();
/**
- * Sets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.SetStatement#getSlotExpression <em>Slot Expression</em>}' containment reference.
+ * Sets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.SetStatement#getTargetVariable <em>Target Variable</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Slot Expression</em>' containment reference.
- * @see #getSlotExpression()
+ * @param value the new value of the '<em>Target Variable</em>' reference.
+ * @see #getTargetVariable()
* @generated
*/
- void setSlotExpression(VariableExp value);
+ void setTargetVariable(VariableDeclaration value);
/**
* Returns the value of the '<em><b>Target Property</b></em>' reference.
@@ -121,8 +122,6 @@ public interface SetStatement extends BottomStatement {
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Is Opposite</em>' attribute.
- * @see #isSetIsOpposite()
- * @see #unsetIsOpposite()
* @see #setIsOpposite(boolean)
* @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getSetStatement_IsOpposite()
* @generated
@@ -134,34 +133,34 @@ public interface SetStatement extends BottomStatement {
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Is Opposite</em>' attribute.
- * @see #isSetIsOpposite()
- * @see #unsetIsOpposite()
* @see #isIsOpposite()
* @generated
*/
void setIsOpposite(boolean value);
/**
- * Unsets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.SetStatement#isIsOpposite <em>Is Opposite</em>}' attribute.
+ * Returns the value of the '<em><b>Is Emit</b></em>' attribute.
* <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Is Emit</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
* <!-- end-user-doc -->
- * @see #isSetIsOpposite()
- * @see #isIsOpposite()
- * @see #setIsOpposite(boolean)
+ * @return the value of the '<em>Is Emit</em>' attribute.
+ * @see #setIsEmit(boolean)
+ * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getSetStatement_IsEmit()
* @generated
*/
- void unsetIsOpposite();
+ boolean isIsEmit();
/**
- * Returns whether the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.SetStatement#isIsOpposite <em>Is Opposite</em>}' attribute is set.
+ * Sets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.SetStatement#isIsEmit <em>Is Emit</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return whether the value of the '<em>Is Opposite</em>' attribute is set.
- * @see #unsetIsOpposite()
- * @see #isIsOpposite()
- * @see #setIsOpposite(boolean)
+ * @param value the new value of the '<em>Is Emit</em>' attribute.
+ * @see #isIsEmit()
* @generated
*/
- boolean isSetIsOpposite();
+ void setIsEmit(boolean value);
} // SetStatement
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/VariablePredicate.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/VariablePredicate.java
deleted file mode 100644
index 8210e4f6a..000000000
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/VariablePredicate.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2013, 2016 Willink Transformations and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * E.D.Willink - Initial API and implementation
- *******************************************************************************/
-package org.eclipse.qvtd.pivot.qvtimperative;
-
-import org.eclipse.ocl.pivot.Variable;
-import org.eclipse.qvtd.pivot.qvtbase.Predicate;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Variable Predicate</b></em>'.
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * A VariablePredicate validates the initialization of a guard pattern variable.
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.VariablePredicate#getTargetVariable <em>Target Variable</em>}</li>
- * </ul>
- *
- * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getVariablePredicate()
- * @generated
- */
-public interface VariablePredicate extends Predicate {
- /**
- * Returns the value of the '<em><b>Target Variable</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Target Variable</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Target Variable</em>' reference.
- * @see #setTargetVariable(Variable)
- * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getVariablePredicate_TargetVariable()
- * @generated
- */
- Variable getTargetVariable();
-
- /**
- * Sets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.VariablePredicate#getTargetVariable <em>Target Variable</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Target Variable</em>' reference.
- * @see #getTargetVariable()
- * @generated
- */
- void setTargetVariable(Variable value);
-
-} // VariablePredicate
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/VariableStatement.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/VariableStatement.java
new file mode 100644
index 000000000..3c1727517
--- /dev/null
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/VariableStatement.java
@@ -0,0 +1,29 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2013, 2017 Willink Transformations and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * E.D.Willink - Initial API and implementation
+ *
+ * </copyright>
+ */
+package org.eclipse.qvtd.pivot.qvtimperative;
+
+import org.eclipse.ocl.pivot.VariableDeclaration;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Variable Statement</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getVariableStatement()
+ * @generated
+ */
+public interface VariableStatement extends VariableDeclaration, Statement {
+} // VariableStatement
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/AddStatementImpl.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/AddStatementImpl.java
index cfbb9aa14..71f2798af 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/AddStatementImpl.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/AddStatementImpl.java
@@ -37,7 +37,7 @@ import org.eclipse.qvtd.pivot.qvtimperative.util.QVTimperativeVisitor;
* <ul>
* <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.AddStatementImpl#getTargetVariable <em>Target Variable</em>}</li>
* <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.AddStatementImpl#getValue <em>Value</em>}</li>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.AddStatementImpl#isIsEnforceadUnique <em>Is Enforcead Unique</em>}</li>
+ * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.AddStatementImpl#isIsEnforcedUnique <em>Is Enforced Unique</em>}</li>
* </ul>
*
* @generated
@@ -64,33 +64,24 @@ public class AddStatementImpl extends MappingStatementImpl implements AddStateme
protected OCLExpression value;
/**
- * The default value of the '{@link #isIsEnforceadUnique() <em>Is Enforcead Unique</em>}' attribute.
+ * The default value of the '{@link #isIsEnforcedUnique() <em>Is Enforced Unique</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #isIsEnforceadUnique()
+ * @see #isIsEnforcedUnique()
* @generated
* @ordered
*/
- protected static final boolean IS_ENFORCEAD_UNIQUE_EDEFAULT = false;
+ protected static final boolean IS_ENFORCED_UNIQUE_EDEFAULT = false;
/**
- * The cached value of the '{@link #isIsEnforceadUnique() <em>Is Enforcead Unique</em>}' attribute.
+ * The cached value of the '{@link #isIsEnforcedUnique() <em>Is Enforced Unique</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #isIsEnforceadUnique()
+ * @see #isIsEnforcedUnique()
* @generated
* @ordered
*/
- protected boolean isEnforceadUnique = IS_ENFORCEAD_UNIQUE_EDEFAULT;
-
- /**
- * This is true if the Is Enforcead Unique attribute has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean isEnforceadUniqueESet;
+ protected boolean isEnforcedUnique = IS_ENFORCED_UNIQUE_EDEFAULT;
/**
* <!-- begin-user-doc -->
@@ -202,23 +193,8 @@ public class AddStatementImpl extends MappingStatementImpl implements AddStateme
* @generated
*/
@Override
- public boolean isIsEnforceadUnique() {
- return isEnforceadUnique;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void setIsEnforceadUnique(boolean newIsEnforceadUnique) {
- boolean oldIsEnforceadUnique = isEnforceadUnique;
- isEnforceadUnique = newIsEnforceadUnique;
- boolean oldIsEnforceadUniqueESet = isEnforceadUniqueESet;
- isEnforceadUniqueESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativePackage.ADD_STATEMENT__IS_ENFORCEAD_UNIQUE, oldIsEnforceadUnique, isEnforceadUnique, !oldIsEnforceadUniqueESet));
+ public boolean isIsEnforcedUnique() {
+ return isEnforcedUnique;
}
/**
@@ -227,23 +203,11 @@ public class AddStatementImpl extends MappingStatementImpl implements AddStateme
* @generated
*/
@Override
- public void unsetIsEnforceadUnique() {
- boolean oldIsEnforceadUnique = isEnforceadUnique;
- boolean oldIsEnforceadUniqueESet = isEnforceadUniqueESet;
- isEnforceadUnique = IS_ENFORCEAD_UNIQUE_EDEFAULT;
- isEnforceadUniqueESet = false;
+ public void setIsEnforcedUnique(boolean newIsEnforcedUnique) {
+ boolean oldIsEnforcedUnique = isEnforcedUnique;
+ isEnforcedUnique = newIsEnforcedUnique;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, QVTimperativePackage.ADD_STATEMENT__IS_ENFORCEAD_UNIQUE, oldIsEnforceadUnique, IS_ENFORCEAD_UNIQUE_EDEFAULT, oldIsEnforceadUniqueESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean isSetIsEnforceadUnique() {
- return isEnforceadUniqueESet;
+ eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativePackage.ADD_STATEMENT__IS_ENFORCED_UNIQUE, oldIsEnforcedUnique, isEnforcedUnique));
}
/**
@@ -283,8 +247,8 @@ public class AddStatementImpl extends MappingStatementImpl implements AddStateme
return basicGetTargetVariable();
case QVTimperativePackage.ADD_STATEMENT__VALUE:
return getValue();
- case QVTimperativePackage.ADD_STATEMENT__IS_ENFORCEAD_UNIQUE:
- return isIsEnforceadUnique();
+ case QVTimperativePackage.ADD_STATEMENT__IS_ENFORCED_UNIQUE:
+ return isIsEnforcedUnique();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -303,8 +267,8 @@ public class AddStatementImpl extends MappingStatementImpl implements AddStateme
case QVTimperativePackage.ADD_STATEMENT__VALUE:
setValue((OCLExpression)newValue);
return;
- case QVTimperativePackage.ADD_STATEMENT__IS_ENFORCEAD_UNIQUE:
- setIsEnforceadUnique((Boolean)newValue);
+ case QVTimperativePackage.ADD_STATEMENT__IS_ENFORCED_UNIQUE:
+ setIsEnforcedUnique((Boolean)newValue);
return;
}
super.eSet(featureID, newValue);
@@ -324,8 +288,8 @@ public class AddStatementImpl extends MappingStatementImpl implements AddStateme
case QVTimperativePackage.ADD_STATEMENT__VALUE:
setValue((OCLExpression)null);
return;
- case QVTimperativePackage.ADD_STATEMENT__IS_ENFORCEAD_UNIQUE:
- unsetIsEnforceadUnique();
+ case QVTimperativePackage.ADD_STATEMENT__IS_ENFORCED_UNIQUE:
+ setIsEnforcedUnique(IS_ENFORCED_UNIQUE_EDEFAULT);
return;
}
super.eUnset(featureID);
@@ -343,8 +307,8 @@ public class AddStatementImpl extends MappingStatementImpl implements AddStateme
return targetVariable != null;
case QVTimperativePackage.ADD_STATEMENT__VALUE:
return value != null;
- case QVTimperativePackage.ADD_STATEMENT__IS_ENFORCEAD_UNIQUE:
- return isSetIsEnforceadUnique();
+ case QVTimperativePackage.ADD_STATEMENT__IS_ENFORCED_UNIQUE:
+ return isEnforcedUnique != IS_ENFORCED_UNIQUE_EDEFAULT;
}
return super.eIsSet(featureID);
}
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/AssignmentImpl.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/AssignmentImpl.java
deleted file mode 100644
index 1d2318b05..000000000
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/AssignmentImpl.java
+++ /dev/null
@@ -1,382 +0,0 @@
-/**
- * <copyright>
- *
- * Copyright (c) 2013, 2017 Willink Transformations and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * E.D.Willink - Initial API and implementation
- *
- * </copyright>
- */
-package org.eclipse.qvtd.pivot.qvtimperative.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.emf.ecore.util.EcoreUtil;
-
-import org.eclipse.ocl.pivot.OCLExpression;
-
-import org.eclipse.ocl.pivot.internal.ElementImpl;
-
-import org.eclipse.qvtd.pivot.qvtimperative.Assignment;
-import org.eclipse.qvtd.pivot.qvtimperative.BottomPattern;
-import org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Assignment</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.AssignmentImpl#getBottomPattern <em>Bottom Pattern</em>}</li>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.AssignmentImpl#getValue <em>Value</em>}</li>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.AssignmentImpl#isIsDefault <em>Is Default</em>}</li>
- * </ul>
- *
- * @generated
- */
-public abstract class AssignmentImpl extends ElementImpl implements Assignment {
- /**
- * The cached value of the '{@link #getValue() <em>Value</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getValue()
- * @generated
- * @ordered
- */
- protected OCLExpression value;
-
- /**
- * The default value of the '{@link #isIsDefault() <em>Is Default</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isIsDefault()
- * @generated
- * @ordered
- */
- protected static final boolean IS_DEFAULT_EDEFAULT = false;
-
- /**
- * The cached value of the '{@link #isIsDefault() <em>Is Default</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isIsDefault()
- * @generated
- * @ordered
- */
- protected boolean isDefault = IS_DEFAULT_EDEFAULT;
-
- /**
- * This is true if the Is Default attribute has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean isDefaultESet;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected AssignmentImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return QVTimperativePackage.Literals.ASSIGNMENT;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public BottomPattern getBottomPattern() {
- if (eContainerFeatureID() != QVTimperativePackage.ASSIGNMENT__BOTTOM_PATTERN) return null;
- return (BottomPattern)eInternalContainer();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetBottomPattern(BottomPattern newBottomPattern, NotificationChain msgs) {
- msgs = eBasicSetContainer((InternalEObject)newBottomPattern, QVTimperativePackage.ASSIGNMENT__BOTTOM_PATTERN, msgs);
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void setBottomPattern(BottomPattern newBottomPattern) {
- if (newBottomPattern != eInternalContainer() || (eContainerFeatureID() != QVTimperativePackage.ASSIGNMENT__BOTTOM_PATTERN && newBottomPattern != null)) {
- if (EcoreUtil.isAncestor(this, newBottomPattern))
- throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
- NotificationChain msgs = null;
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- if (newBottomPattern != null)
- msgs = ((InternalEObject)newBottomPattern).eInverseAdd(this, QVTimperativePackage.BOTTOM_PATTERN__ASSIGNMENT, BottomPattern.class, msgs);
- msgs = basicSetBottomPattern(newBottomPattern, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativePackage.ASSIGNMENT__BOTTOM_PATTERN, newBottomPattern, newBottomPattern));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public OCLExpression getValue() {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetValue(OCLExpression newValue, NotificationChain msgs) {
- OCLExpression oldValue = value;
- value = newValue;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, QVTimperativePackage.ASSIGNMENT__VALUE, oldValue, newValue);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void setValue(OCLExpression newValue) {
- if (newValue != value) {
- NotificationChain msgs = null;
- if (value != null)
- msgs = ((InternalEObject)value).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - QVTimperativePackage.ASSIGNMENT__VALUE, null, msgs);
- if (newValue != null)
- msgs = ((InternalEObject)newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - QVTimperativePackage.ASSIGNMENT__VALUE, null, msgs);
- msgs = basicSetValue(newValue, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativePackage.ASSIGNMENT__VALUE, newValue, newValue));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean isIsDefault() {
- return isDefault;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void setIsDefault(boolean newIsDefault) {
- boolean oldIsDefault = isDefault;
- isDefault = newIsDefault;
- boolean oldIsDefaultESet = isDefaultESet;
- isDefaultESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativePackage.ASSIGNMENT__IS_DEFAULT, oldIsDefault, isDefault, !oldIsDefaultESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void unsetIsDefault() {
- boolean oldIsDefault = isDefault;
- boolean oldIsDefaultESet = isDefaultESet;
- isDefault = IS_DEFAULT_EDEFAULT;
- isDefaultESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, QVTimperativePackage.ASSIGNMENT__IS_DEFAULT, oldIsDefault, IS_DEFAULT_EDEFAULT, oldIsDefaultESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean isSetIsDefault() {
- return isDefaultESet;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- return super.toString();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case QVTimperativePackage.ASSIGNMENT__BOTTOM_PATTERN:
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return basicSetBottomPattern((BottomPattern)otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case QVTimperativePackage.ASSIGNMENT__BOTTOM_PATTERN:
- return basicSetBottomPattern(null, msgs);
- case QVTimperativePackage.ASSIGNMENT__VALUE:
- return basicSetValue(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
- switch (eContainerFeatureID()) {
- case QVTimperativePackage.ASSIGNMENT__BOTTOM_PATTERN:
- return eInternalContainer().eInverseRemove(this, QVTimperativePackage.BOTTOM_PATTERN__ASSIGNMENT, BottomPattern.class, msgs);
- }
- return super.eBasicRemoveFromContainerFeature(msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case QVTimperativePackage.ASSIGNMENT__BOTTOM_PATTERN:
- return getBottomPattern();
- case QVTimperativePackage.ASSIGNMENT__VALUE:
- return getValue();
- case QVTimperativePackage.ASSIGNMENT__IS_DEFAULT:
- return isIsDefault();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case QVTimperativePackage.ASSIGNMENT__BOTTOM_PATTERN:
- setBottomPattern((BottomPattern)newValue);
- return;
- case QVTimperativePackage.ASSIGNMENT__VALUE:
- setValue((OCLExpression)newValue);
- return;
- case QVTimperativePackage.ASSIGNMENT__IS_DEFAULT:
- setIsDefault((Boolean)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case QVTimperativePackage.ASSIGNMENT__BOTTOM_PATTERN:
- setBottomPattern((BottomPattern)null);
- return;
- case QVTimperativePackage.ASSIGNMENT__VALUE:
- setValue((OCLExpression)null);
- return;
- case QVTimperativePackage.ASSIGNMENT__IS_DEFAULT:
- unsetIsDefault();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case QVTimperativePackage.ASSIGNMENT__BOTTOM_PATTERN:
- return getBottomPattern() != null;
- case QVTimperativePackage.ASSIGNMENT__VALUE:
- return value != null;
- case QVTimperativePackage.ASSIGNMENT__IS_DEFAULT:
- return isSetIsDefault();
- }
- return super.eIsSet(featureID);
- }
-
-
-} //AssignmentImpl
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/BottomPatternImpl.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/BottomPatternImpl.java
deleted file mode 100644
index 44ee90c98..000000000
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/BottomPatternImpl.java
+++ /dev/null
@@ -1,265 +0,0 @@
-/**
- * <copyright>
- *
- * Copyright (c) 2013, 2017 Willink Transformations and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * E.D.Willink - Initial API and implementation
- *
- * </copyright>
- */
-package org.eclipse.qvtd.pivot.qvtimperative.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.jdt.annotation.NonNull;
-import org.eclipse.ocl.pivot.util.Visitor;
-import org.eclipse.qvtd.pivot.qvtimperative.Area;
-import org.eclipse.qvtd.pivot.qvtimperative.Assignment;
-import org.eclipse.qvtd.pivot.qvtimperative.BottomPattern;
-import org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage;
-import org.eclipse.qvtd.pivot.qvtimperative.util.QVTimperativeVisitor;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Bottom Pattern</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.BottomPatternImpl#getArea <em>Area</em>}</li>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.BottomPatternImpl#getAssignment <em>Assignment</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class BottomPatternImpl extends ImperativePatternImpl implements BottomPattern {
- /**
- * The cached value of the '{@link #getAssignment() <em>Assignment</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getAssignment()
- * @generated
- * @ordered
- */
- protected EList<Assignment> assignment;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected BottomPatternImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return QVTimperativePackage.Literals.BOTTOM_PATTERN;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Area getArea() {
- if (eContainerFeatureID() != QVTimperativePackage.BOTTOM_PATTERN__AREA) return null;
- return (Area)eInternalContainer();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetArea(Area newArea, NotificationChain msgs) {
- msgs = eBasicSetContainer((InternalEObject)newArea, QVTimperativePackage.BOTTOM_PATTERN__AREA, msgs);
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void setArea(Area newArea) {
- if (newArea != eInternalContainer() || (eContainerFeatureID() != QVTimperativePackage.BOTTOM_PATTERN__AREA && newArea != null)) {
- if (EcoreUtil.isAncestor(this, newArea))
- throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
- NotificationChain msgs = null;
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- if (newArea != null)
- msgs = ((InternalEObject)newArea).eInverseAdd(this, QVTimperativePackage.AREA__BOTTOM_PATTERN, Area.class, msgs);
- msgs = basicSetArea(newArea, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativePackage.BOTTOM_PATTERN__AREA, newArea, newArea));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public EList<Assignment> getAssignment() {
- if (assignment == null) {
- assignment = new EObjectContainmentWithInverseEList<Assignment>(Assignment.class, this, QVTimperativePackage.BOTTOM_PATTERN__ASSIGNMENT, QVTimperativePackage.ASSIGNMENT__BOTTOM_PATTERN);
- }
- return assignment;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case QVTimperativePackage.BOTTOM_PATTERN__AREA:
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return basicSetArea((Area)otherEnd, msgs);
- case QVTimperativePackage.BOTTOM_PATTERN__ASSIGNMENT:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getAssignment()).basicAdd(otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case QVTimperativePackage.BOTTOM_PATTERN__AREA:
- return basicSetArea(null, msgs);
- case QVTimperativePackage.BOTTOM_PATTERN__ASSIGNMENT:
- return ((InternalEList<?>)getAssignment()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
- switch (eContainerFeatureID()) {
- case QVTimperativePackage.BOTTOM_PATTERN__AREA:
- return eInternalContainer().eInverseRemove(this, QVTimperativePackage.AREA__BOTTOM_PATTERN, Area.class, msgs);
- }
- return super.eBasicRemoveFromContainerFeature(msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case QVTimperativePackage.BOTTOM_PATTERN__AREA:
- return getArea();
- case QVTimperativePackage.BOTTOM_PATTERN__ASSIGNMENT:
- return getAssignment();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case QVTimperativePackage.BOTTOM_PATTERN__AREA:
- setArea((Area)newValue);
- return;
- case QVTimperativePackage.BOTTOM_PATTERN__ASSIGNMENT:
- getAssignment().clear();
- getAssignment().addAll((Collection<? extends Assignment>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case QVTimperativePackage.BOTTOM_PATTERN__AREA:
- setArea((Area)null);
- return;
- case QVTimperativePackage.BOTTOM_PATTERN__ASSIGNMENT:
- getAssignment().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case QVTimperativePackage.BOTTOM_PATTERN__AREA:
- return getArea() != null;
- case QVTimperativePackage.BOTTOM_PATTERN__ASSIGNMENT:
- return assignment != null && !assignment.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * {@inheritDoc}
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public <R> R accept(@NonNull Visitor<R> visitor) {
- return (R) ((QVTimperativeVisitor<?>)visitor).visitBottomPattern(this);
- }
-
-} //BottomPatternImpl
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/CheckStatementImpl.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/CheckStatementImpl.java
new file mode 100644
index 000000000..5510d75a4
--- /dev/null
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/CheckStatementImpl.java
@@ -0,0 +1,199 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2013, 2017 Willink Transformations and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * E.D.Willink - Initial API and implementation
+ *
+ * </copyright>
+ */
+package org.eclipse.qvtd.pivot.qvtimperative.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.jdt.annotation.NonNull;
+import org.eclipse.ocl.pivot.OCLExpression;
+import org.eclipse.ocl.pivot.util.Visitor;
+import org.eclipse.qvtd.pivot.qvtimperative.CheckStatement;
+import org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage;
+import org.eclipse.qvtd.pivot.qvtimperative.util.QVTimperativeVisitor;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Check Statement</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * </p>
+ * <ul>
+ * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.CheckStatementImpl#getConditionExpression <em>Condition Expression</em>}</li>
+ * </ul>
+ *
+ * @generated
+ */
+public class CheckStatementImpl extends StatementImpl implements CheckStatement {
+ /**
+ * The cached value of the '{@link #getConditionExpression() <em>Condition Expression</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getConditionExpression()
+ * @generated
+ * @ordered
+ */
+ protected OCLExpression conditionExpression;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CheckStatementImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return QVTimperativePackage.Literals.CHECK_STATEMENT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public OCLExpression getConditionExpression() {
+ return conditionExpression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetConditionExpression(OCLExpression newConditionExpression, NotificationChain msgs) {
+ OCLExpression oldConditionExpression = conditionExpression;
+ conditionExpression = newConditionExpression;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, QVTimperativePackage.CHECK_STATEMENT__CONDITION_EXPRESSION, oldConditionExpression, newConditionExpression);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void setConditionExpression(OCLExpression newConditionExpression) {
+ if (newConditionExpression != conditionExpression) {
+ NotificationChain msgs = null;
+ if (conditionExpression != null)
+ msgs = ((InternalEObject)conditionExpression).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - QVTimperativePackage.CHECK_STATEMENT__CONDITION_EXPRESSION, null, msgs);
+ if (newConditionExpression != null)
+ msgs = ((InternalEObject)newConditionExpression).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - QVTimperativePackage.CHECK_STATEMENT__CONDITION_EXPRESSION, null, msgs);
+ msgs = basicSetConditionExpression(newConditionExpression, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativePackage.CHECK_STATEMENT__CONDITION_EXPRESSION, newConditionExpression, newConditionExpression));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case QVTimperativePackage.CHECK_STATEMENT__CONDITION_EXPRESSION:
+ return basicSetConditionExpression(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case QVTimperativePackage.CHECK_STATEMENT__CONDITION_EXPRESSION:
+ return getConditionExpression();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case QVTimperativePackage.CHECK_STATEMENT__CONDITION_EXPRESSION:
+ setConditionExpression((OCLExpression)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case QVTimperativePackage.CHECK_STATEMENT__CONDITION_EXPRESSION:
+ setConditionExpression((OCLExpression)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case QVTimperativePackage.CHECK_STATEMENT__CONDITION_EXPRESSION:
+ return conditionExpression != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * {@inheritDoc}
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public <R> R accept(@NonNull Visitor<R> visitor) {
+ return (R) ((QVTimperativeVisitor<?>)visitor).visitCheckStatement(this);
+ }
+
+} //CheckStatementImpl
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/ConnectionVariableImpl.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/ConnectionVariableImpl.java
index e356c4141..ec5a738e6 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/ConnectionVariableImpl.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/ConnectionVariableImpl.java
@@ -1,32 +1,24 @@
/**
* <copyright>
- *
+ *
* Copyright (c) 2013, 2016 Willink Transformations and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* E.D.Willink - Initial API and implementation
- *
+ *
* </copyright>
*/
package org.eclipse.qvtd.pivot.qvtimperative.impl;
import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.jdt.annotation.NonNull;
-
-import org.eclipse.ocl.pivot.internal.VariableImpl;
-
-import org.eclipse.ocl.pivot.util.Visitor;
-
+import org.eclipse.ocl.pivot.internal.VariableDeclarationImpl;
import org.eclipse.qvtd.pivot.qvtimperative.ConnectionVariable;
import org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage;
-import org.eclipse.qvtd.pivot.qvtimperative.util.QVTimperativeVisitor;
-
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Connection Variable</b></em>'.
@@ -34,7 +26,7 @@ import org.eclipse.qvtd.pivot.qvtimperative.util.QVTimperativeVisitor;
*
* @generated
*/
-public class ConnectionVariableImpl extends VariableImpl implements ConnectionVariable {
+public abstract class ConnectionVariableImpl extends VariableDeclarationImpl implements ConnectionVariable {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -54,14 +46,4 @@ public class ConnectionVariableImpl extends VariableImpl implements ConnectionVa
return QVTimperativePackage.Literals.CONNECTION_VARIABLE;
}
- /**
- * {@inheritDoc}
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public <R> R accept(@NonNull Visitor<R> visitor) {
- return (R) ((QVTimperativeVisitor<?>)visitor).visitConnectionVariable(this);
- }
-
} //ConnectionVariableImpl
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/VariableAssignmentImpl.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/GuardVariableImpl.java
index ebe9b42c8..9df2b6dbb 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/VariableAssignmentImpl.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/GuardVariableImpl.java
@@ -15,53 +15,47 @@
package org.eclipse.qvtd.pivot.qvtimperative.impl;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
-
import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
import org.eclipse.jdt.annotation.NonNull;
-
-import org.eclipse.ocl.pivot.Variable;
-
+import org.eclipse.ocl.pivot.internal.VariableDeclarationImpl;
import org.eclipse.ocl.pivot.util.Visitor;
-
+import org.eclipse.qvtd.pivot.qvtbase.TypedModel;
+import org.eclipse.qvtd.pivot.qvtimperative.GuardVariable;
import org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage;
-import org.eclipse.qvtd.pivot.qvtimperative.VariableAssignment;
-
import org.eclipse.qvtd.pivot.qvtimperative.util.QVTimperativeVisitor;
/**
* <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Variable Assignment</b></em>'.
+ * An implementation of the model object '<em><b>Guard Variable</b></em>'.
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
* </p>
* <ul>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.VariableAssignmentImpl#getTargetVariable <em>Target Variable</em>}</li>
+ * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.GuardVariableImpl#getReferredTypedModel <em>Referred Typed Model</em>}</li>
* </ul>
*
* @generated
*/
-public class VariableAssignmentImpl extends AssignmentImpl implements VariableAssignment {
+public class GuardVariableImpl extends VariableDeclarationImpl implements GuardVariable {
/**
- * The cached value of the '{@link #getTargetVariable() <em>Target Variable</em>}' reference.
+ * The cached value of the '{@link #getReferredTypedModel() <em>Referred Typed Model</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getTargetVariable()
+ * @see #getReferredTypedModel()
* @generated
* @ordered
*/
- protected Variable targetVariable;
+ protected TypedModel referredTypedModel;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- protected VariableAssignmentImpl() {
+ protected GuardVariableImpl() {
super();
}
@@ -72,7 +66,7 @@ public class VariableAssignmentImpl extends AssignmentImpl implements VariableAs
*/
@Override
protected EClass eStaticClass() {
- return QVTimperativePackage.Literals.VARIABLE_ASSIGNMENT;
+ return QVTimperativePackage.Literals.GUARD_VARIABLE;
}
/**
@@ -81,16 +75,16 @@ public class VariableAssignmentImpl extends AssignmentImpl implements VariableAs
* @generated
*/
@Override
- public Variable getTargetVariable() {
- if (targetVariable != null && targetVariable.eIsProxy()) {
- InternalEObject oldTargetVariable = (InternalEObject)targetVariable;
- targetVariable = (Variable)eResolveProxy(oldTargetVariable);
- if (targetVariable != oldTargetVariable) {
+ public TypedModel getReferredTypedModel() {
+ if (referredTypedModel != null && referredTypedModel.eIsProxy()) {
+ InternalEObject oldReferredTypedModel = (InternalEObject)referredTypedModel;
+ referredTypedModel = (TypedModel)eResolveProxy(oldReferredTypedModel);
+ if (referredTypedModel != oldReferredTypedModel) {
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, QVTimperativePackage.VARIABLE_ASSIGNMENT__TARGET_VARIABLE, oldTargetVariable, targetVariable));
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, QVTimperativePackage.GUARD_VARIABLE__REFERRED_TYPED_MODEL, oldReferredTypedModel, referredTypedModel));
}
}
- return targetVariable;
+ return referredTypedModel;
}
/**
@@ -98,8 +92,8 @@ public class VariableAssignmentImpl extends AssignmentImpl implements VariableAs
* <!-- end-user-doc -->
* @generated
*/
- public Variable basicGetTargetVariable() {
- return targetVariable;
+ public TypedModel basicGetReferredTypedModel() {
+ return referredTypedModel;
}
/**
@@ -108,11 +102,11 @@ public class VariableAssignmentImpl extends AssignmentImpl implements VariableAs
* @generated
*/
@Override
- public void setTargetVariable(Variable newTargetVariable) {
- Variable oldTargetVariable = targetVariable;
- targetVariable = newTargetVariable;
+ public void setReferredTypedModel(TypedModel newReferredTypedModel) {
+ TypedModel oldReferredTypedModel = referredTypedModel;
+ referredTypedModel = newReferredTypedModel;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativePackage.VARIABLE_ASSIGNMENT__TARGET_VARIABLE, oldTargetVariable, targetVariable));
+ eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativePackage.GUARD_VARIABLE__REFERRED_TYPED_MODEL, oldReferredTypedModel, referredTypedModel));
}
/**
@@ -123,9 +117,9 @@ public class VariableAssignmentImpl extends AssignmentImpl implements VariableAs
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case QVTimperativePackage.VARIABLE_ASSIGNMENT__TARGET_VARIABLE:
- if (resolve) return getTargetVariable();
- return basicGetTargetVariable();
+ case QVTimperativePackage.GUARD_VARIABLE__REFERRED_TYPED_MODEL:
+ if (resolve) return getReferredTypedModel();
+ return basicGetReferredTypedModel();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -138,8 +132,8 @@ public class VariableAssignmentImpl extends AssignmentImpl implements VariableAs
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case QVTimperativePackage.VARIABLE_ASSIGNMENT__TARGET_VARIABLE:
- setTargetVariable((Variable)newValue);
+ case QVTimperativePackage.GUARD_VARIABLE__REFERRED_TYPED_MODEL:
+ setReferredTypedModel((TypedModel)newValue);
return;
}
super.eSet(featureID, newValue);
@@ -153,8 +147,8 @@ public class VariableAssignmentImpl extends AssignmentImpl implements VariableAs
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case QVTimperativePackage.VARIABLE_ASSIGNMENT__TARGET_VARIABLE:
- setTargetVariable((Variable)null);
+ case QVTimperativePackage.GUARD_VARIABLE__REFERRED_TYPED_MODEL:
+ setReferredTypedModel((TypedModel)null);
return;
}
super.eUnset(featureID);
@@ -168,8 +162,8 @@ public class VariableAssignmentImpl extends AssignmentImpl implements VariableAs
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case QVTimperativePackage.VARIABLE_ASSIGNMENT__TARGET_VARIABLE:
- return targetVariable != null;
+ case QVTimperativePackage.GUARD_VARIABLE__REFERRED_TYPED_MODEL:
+ return referredTypedModel != null;
}
return super.eIsSet(featureID);
}
@@ -181,7 +175,7 @@ public class VariableAssignmentImpl extends AssignmentImpl implements VariableAs
@SuppressWarnings("unchecked")
@Override
public <R> R accept(@NonNull Visitor<R> visitor) {
- return (R) ((QVTimperativeVisitor<?>)visitor).visitVariableAssignment(this);
+ return (R) ((QVTimperativeVisitor<?>)visitor).visitGuardVariable(this);
}
-} //VariableAssignmentImpl
+} //GuardVariableImpl
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/ImperativeDomainImpl.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/ImperativeDomainImpl.java
index b0b1cace3..06b55ab8a 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/ImperativeDomainImpl.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/ImperativeDomainImpl.java
@@ -16,20 +16,18 @@ package org.eclipse.qvtd.pivot.qvtimperative.impl;
import java.util.Collection;
-import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.emf.ecore.util.InternalEList;
import org.eclipse.jdt.annotation.NonNull;
import org.eclipse.ocl.pivot.Property;
import org.eclipse.ocl.pivot.util.Visitor;
import org.eclipse.qvtd.pivot.qvtbase.impl.DomainImpl;
-import org.eclipse.qvtd.pivot.qvtimperative.Area;
-import org.eclipse.qvtd.pivot.qvtimperative.BottomPattern;
-import org.eclipse.qvtd.pivot.qvtimperative.GuardPattern;
+import org.eclipse.qvtd.pivot.qvtimperative.GuardVariable;
import org.eclipse.qvtd.pivot.qvtimperative.ImperativeDomain;
import org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage;
import org.eclipse.qvtd.pivot.qvtimperative.util.QVTimperativeVisitor;
@@ -42,36 +40,14 @@ import org.eclipse.qvtd.pivot.qvtimperative.util.QVTimperativeVisitor;
* The following features are implemented:
* </p>
* <ul>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.ImperativeDomainImpl#getGuardPattern <em>Guard Pattern</em>}</li>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.ImperativeDomainImpl#getBottomPattern <em>Bottom Pattern</em>}</li>
* <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.ImperativeDomainImpl#getCheckedProperties <em>Checked Properties</em>}</li>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.ImperativeDomainImpl#getEnforcedProperties <em>Enforced Properties</em>}</li>
+ * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.ImperativeDomainImpl#getOwnedGuardVariables <em>Owned Guard Variables</em>}</li>
* </ul>
*
* @generated
*/
public class ImperativeDomainImpl extends DomainImpl implements ImperativeDomain {
/**
- * The cached value of the '{@link #getGuardPattern() <em>Guard Pattern</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getGuardPattern()
- * @generated
- * @ordered
- */
- protected GuardPattern guardPattern;
-
- /**
- * The cached value of the '{@link #getBottomPattern() <em>Bottom Pattern</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getBottomPattern()
- * @generated
- * @ordered
- */
- protected BottomPattern bottomPattern;
-
- /**
* The cached value of the '{@link #getCheckedProperties() <em>Checked Properties</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -82,14 +58,14 @@ public class ImperativeDomainImpl extends DomainImpl implements ImperativeDomain
protected EList<Property> checkedProperties;
/**
- * The cached value of the '{@link #getEnforcedProperties() <em>Enforced Properties</em>}' reference list.
+ * The cached value of the '{@link #getOwnedGuardVariables() <em>Owned Guard Variables</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getEnforcedProperties()
+ * @see #getOwnedGuardVariables()
* @generated
* @ordered
*/
- protected EList<Property> enforcedProperties;
+ protected EList<GuardVariable> ownedGuardVariables;
/**
* <!-- begin-user-doc -->
@@ -116,96 +92,6 @@ public class ImperativeDomainImpl extends DomainImpl implements ImperativeDomain
* @generated
*/
@Override
- public GuardPattern getGuardPattern() {
- return guardPattern;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetGuardPattern(GuardPattern newGuardPattern, NotificationChain msgs) {
- GuardPattern oldGuardPattern = guardPattern;
- guardPattern = newGuardPattern;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, QVTimperativePackage.IMPERATIVE_DOMAIN__GUARD_PATTERN, oldGuardPattern, newGuardPattern);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void setGuardPattern(GuardPattern newGuardPattern) {
- if (newGuardPattern != guardPattern) {
- NotificationChain msgs = null;
- if (guardPattern != null)
- msgs = ((InternalEObject)guardPattern).eInverseRemove(this, QVTimperativePackage.GUARD_PATTERN__AREA, GuardPattern.class, msgs);
- if (newGuardPattern != null)
- msgs = ((InternalEObject)newGuardPattern).eInverseAdd(this, QVTimperativePackage.GUARD_PATTERN__AREA, GuardPattern.class, msgs);
- msgs = basicSetGuardPattern(newGuardPattern, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativePackage.IMPERATIVE_DOMAIN__GUARD_PATTERN, newGuardPattern, newGuardPattern));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public BottomPattern getBottomPattern() {
- return bottomPattern;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetBottomPattern(BottomPattern newBottomPattern, NotificationChain msgs) {
- BottomPattern oldBottomPattern = bottomPattern;
- bottomPattern = newBottomPattern;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, QVTimperativePackage.IMPERATIVE_DOMAIN__BOTTOM_PATTERN, oldBottomPattern, newBottomPattern);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void setBottomPattern(BottomPattern newBottomPattern) {
- if (newBottomPattern != bottomPattern) {
- NotificationChain msgs = null;
- if (bottomPattern != null)
- msgs = ((InternalEObject)bottomPattern).eInverseRemove(this, QVTimperativePackage.BOTTOM_PATTERN__AREA, BottomPattern.class, msgs);
- if (newBottomPattern != null)
- msgs = ((InternalEObject)newBottomPattern).eInverseAdd(this, QVTimperativePackage.BOTTOM_PATTERN__AREA, BottomPattern.class, msgs);
- msgs = basicSetBottomPattern(newBottomPattern, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativePackage.IMPERATIVE_DOMAIN__BOTTOM_PATTERN, newBottomPattern, newBottomPattern));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
public EList<Property> getCheckedProperties() {
if (checkedProperties == null) {
checkedProperties = new EObjectResolvingEList<Property>(Property.class, this, QVTimperativePackage.IMPERATIVE_DOMAIN__CHECKED_PROPERTIES);
@@ -219,31 +105,11 @@ public class ImperativeDomainImpl extends DomainImpl implements ImperativeDomain
* @generated
*/
@Override
- public EList<Property> getEnforcedProperties() {
- if (enforcedProperties == null) {
- enforcedProperties = new EObjectResolvingEList<Property>(Property.class, this, QVTimperativePackage.IMPERATIVE_DOMAIN__ENFORCED_PROPERTIES);
- }
- return enforcedProperties;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case QVTimperativePackage.IMPERATIVE_DOMAIN__GUARD_PATTERN:
- if (guardPattern != null)
- msgs = ((InternalEObject)guardPattern).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - QVTimperativePackage.IMPERATIVE_DOMAIN__GUARD_PATTERN, null, msgs);
- return basicSetGuardPattern((GuardPattern)otherEnd, msgs);
- case QVTimperativePackage.IMPERATIVE_DOMAIN__BOTTOM_PATTERN:
- if (bottomPattern != null)
- msgs = ((InternalEObject)bottomPattern).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - QVTimperativePackage.IMPERATIVE_DOMAIN__BOTTOM_PATTERN, null, msgs);
- return basicSetBottomPattern((BottomPattern)otherEnd, msgs);
+ public EList<GuardVariable> getOwnedGuardVariables() {
+ if (ownedGuardVariables == null) {
+ ownedGuardVariables = new EObjectContainmentEList<GuardVariable>(GuardVariable.class, this, QVTimperativePackage.IMPERATIVE_DOMAIN__OWNED_GUARD_VARIABLES);
}
- return super.eInverseAdd(otherEnd, featureID, msgs);
+ return ownedGuardVariables;
}
/**
@@ -254,10 +120,8 @@ public class ImperativeDomainImpl extends DomainImpl implements ImperativeDomain
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case QVTimperativePackage.IMPERATIVE_DOMAIN__GUARD_PATTERN:
- return basicSetGuardPattern(null, msgs);
- case QVTimperativePackage.IMPERATIVE_DOMAIN__BOTTOM_PATTERN:
- return basicSetBottomPattern(null, msgs);
+ case QVTimperativePackage.IMPERATIVE_DOMAIN__OWNED_GUARD_VARIABLES:
+ return ((InternalEList<?>)getOwnedGuardVariables()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -270,14 +134,10 @@ public class ImperativeDomainImpl extends DomainImpl implements ImperativeDomain
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case QVTimperativePackage.IMPERATIVE_DOMAIN__GUARD_PATTERN:
- return getGuardPattern();
- case QVTimperativePackage.IMPERATIVE_DOMAIN__BOTTOM_PATTERN:
- return getBottomPattern();
case QVTimperativePackage.IMPERATIVE_DOMAIN__CHECKED_PROPERTIES:
return getCheckedProperties();
- case QVTimperativePackage.IMPERATIVE_DOMAIN__ENFORCED_PROPERTIES:
- return getEnforcedProperties();
+ case QVTimperativePackage.IMPERATIVE_DOMAIN__OWNED_GUARD_VARIABLES:
+ return getOwnedGuardVariables();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -291,19 +151,13 @@ public class ImperativeDomainImpl extends DomainImpl implements ImperativeDomain
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case QVTimperativePackage.IMPERATIVE_DOMAIN__GUARD_PATTERN:
- setGuardPattern((GuardPattern)newValue);
- return;
- case QVTimperativePackage.IMPERATIVE_DOMAIN__BOTTOM_PATTERN:
- setBottomPattern((BottomPattern)newValue);
- return;
case QVTimperativePackage.IMPERATIVE_DOMAIN__CHECKED_PROPERTIES:
getCheckedProperties().clear();
getCheckedProperties().addAll((Collection<? extends Property>)newValue);
return;
- case QVTimperativePackage.IMPERATIVE_DOMAIN__ENFORCED_PROPERTIES:
- getEnforcedProperties().clear();
- getEnforcedProperties().addAll((Collection<? extends Property>)newValue);
+ case QVTimperativePackage.IMPERATIVE_DOMAIN__OWNED_GUARD_VARIABLES:
+ getOwnedGuardVariables().clear();
+ getOwnedGuardVariables().addAll((Collection<? extends GuardVariable>)newValue);
return;
}
super.eSet(featureID, newValue);
@@ -317,17 +171,11 @@ public class ImperativeDomainImpl extends DomainImpl implements ImperativeDomain
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case QVTimperativePackage.IMPERATIVE_DOMAIN__GUARD_PATTERN:
- setGuardPattern((GuardPattern)null);
- return;
- case QVTimperativePackage.IMPERATIVE_DOMAIN__BOTTOM_PATTERN:
- setBottomPattern((BottomPattern)null);
- return;
case QVTimperativePackage.IMPERATIVE_DOMAIN__CHECKED_PROPERTIES:
getCheckedProperties().clear();
return;
- case QVTimperativePackage.IMPERATIVE_DOMAIN__ENFORCED_PROPERTIES:
- getEnforcedProperties().clear();
+ case QVTimperativePackage.IMPERATIVE_DOMAIN__OWNED_GUARD_VARIABLES:
+ getOwnedGuardVariables().clear();
return;
}
super.eUnset(featureID);
@@ -341,57 +189,15 @@ public class ImperativeDomainImpl extends DomainImpl implements ImperativeDomain
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case QVTimperativePackage.IMPERATIVE_DOMAIN__GUARD_PATTERN:
- return guardPattern != null;
- case QVTimperativePackage.IMPERATIVE_DOMAIN__BOTTOM_PATTERN:
- return bottomPattern != null;
case QVTimperativePackage.IMPERATIVE_DOMAIN__CHECKED_PROPERTIES:
return checkedProperties != null && !checkedProperties.isEmpty();
- case QVTimperativePackage.IMPERATIVE_DOMAIN__ENFORCED_PROPERTIES:
- return enforcedProperties != null && !enforcedProperties.isEmpty();
+ case QVTimperativePackage.IMPERATIVE_DOMAIN__OWNED_GUARD_VARIABLES:
+ return ownedGuardVariables != null && !ownedGuardVariables.isEmpty();
}
return super.eIsSet(featureID);
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
- if (baseClass == Area.class) {
- switch (derivedFeatureID) {
- case QVTimperativePackage.IMPERATIVE_DOMAIN__GUARD_PATTERN: return QVTimperativePackage.AREA__GUARD_PATTERN;
- case QVTimperativePackage.IMPERATIVE_DOMAIN__BOTTOM_PATTERN: return QVTimperativePackage.AREA__BOTTOM_PATTERN;
- case QVTimperativePackage.IMPERATIVE_DOMAIN__CHECKED_PROPERTIES: return QVTimperativePackage.AREA__CHECKED_PROPERTIES;
- case QVTimperativePackage.IMPERATIVE_DOMAIN__ENFORCED_PROPERTIES: return QVTimperativePackage.AREA__ENFORCED_PROPERTIES;
- default: return -1;
- }
- }
- return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
- if (baseClass == Area.class) {
- switch (baseFeatureID) {
- case QVTimperativePackage.AREA__GUARD_PATTERN: return QVTimperativePackage.IMPERATIVE_DOMAIN__GUARD_PATTERN;
- case QVTimperativePackage.AREA__BOTTOM_PATTERN: return QVTimperativePackage.IMPERATIVE_DOMAIN__BOTTOM_PATTERN;
- case QVTimperativePackage.AREA__CHECKED_PROPERTIES: return QVTimperativePackage.IMPERATIVE_DOMAIN__CHECKED_PROPERTIES;
- case QVTimperativePackage.AREA__ENFORCED_PROPERTIES: return QVTimperativePackage.IMPERATIVE_DOMAIN__ENFORCED_PROPERTIES;
- default: return -1;
- }
- }
- return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
- }
-
- /**
* {@inheritDoc}
* @generated
*/
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/InConnectionVariableImpl.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/InConnectionVariableImpl.java
new file mode 100644
index 000000000..fedd0461a
--- /dev/null
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/InConnectionVariableImpl.java
@@ -0,0 +1,65 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2013, 2017 Willink Transformations and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * E.D.Willink - Initial API and implementation
+ *
+ * </copyright>
+ */
+package org.eclipse.qvtd.pivot.qvtimperative.impl;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.jdt.annotation.NonNull;
+
+import org.eclipse.ocl.pivot.util.Visitor;
+
+import org.eclipse.qvtd.pivot.qvtimperative.InConnectionVariable;
+import org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage;
+
+import org.eclipse.qvtd.pivot.qvtimperative.util.QVTimperativeVisitor;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>In Connection Variable</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+public class InConnectionVariableImpl extends ConnectionVariableImpl implements InConnectionVariable {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected InConnectionVariableImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return QVTimperativePackage.Literals.IN_CONNECTION_VARIABLE;
+ }
+
+ /**
+ * {@inheritDoc}
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public <R> R accept(@NonNull Visitor<R> visitor) {
+ return (R) ((QVTimperativeVisitor<?>)visitor).visitInConnectionVariable(this);
+ }
+
+} //InConnectionVariableImpl
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/GuardPatternImpl.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/LoopVariableImpl.java
index 0cb9bb807..133f656fd 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/GuardPatternImpl.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/LoopVariableImpl.java
@@ -16,44 +16,38 @@ package org.eclipse.qvtd.pivot.qvtimperative.impl;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
-
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
-
import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
import org.eclipse.emf.ecore.util.EcoreUtil;
-
import org.eclipse.jdt.annotation.NonNull;
-
+import org.eclipse.ocl.pivot.internal.VariableDeclarationImpl;
import org.eclipse.ocl.pivot.util.Visitor;
-
-import org.eclipse.qvtd.pivot.qvtimperative.Area;
-import org.eclipse.qvtd.pivot.qvtimperative.GuardPattern;
+import org.eclipse.qvtd.pivot.qvtimperative.LoopVariable;
+import org.eclipse.qvtd.pivot.qvtimperative.MappingLoop;
import org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage;
-
import org.eclipse.qvtd.pivot.qvtimperative.util.QVTimperativeVisitor;
/**
* <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Guard Pattern</b></em>'.
+ * An implementation of the model object '<em><b>Loop Variable</b></em>'.
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
* </p>
* <ul>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.GuardPatternImpl#getArea <em>Area</em>}</li>
+ * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.LoopVariableImpl#getOwningMappingLoop <em>Owning Mapping Loop</em>}</li>
* </ul>
*
* @generated
*/
-public class GuardPatternImpl extends ImperativePatternImpl implements GuardPattern {
+public class LoopVariableImpl extends VariableDeclarationImpl implements LoopVariable {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- protected GuardPatternImpl() {
+ protected LoopVariableImpl() {
super();
}
@@ -64,7 +58,7 @@ public class GuardPatternImpl extends ImperativePatternImpl implements GuardPatt
*/
@Override
protected EClass eStaticClass() {
- return QVTimperativePackage.Literals.GUARD_PATTERN;
+ return QVTimperativePackage.Literals.LOOP_VARIABLE;
}
/**
@@ -73,9 +67,9 @@ public class GuardPatternImpl extends ImperativePatternImpl implements GuardPatt
* @generated
*/
@Override
- public Area getArea() {
- if (eContainerFeatureID() != QVTimperativePackage.GUARD_PATTERN__AREA) return null;
- return (Area)eInternalContainer();
+ public MappingLoop getOwningMappingLoop() {
+ if (eContainerFeatureID() != QVTimperativePackage.LOOP_VARIABLE__OWNING_MAPPING_LOOP) return null;
+ return (MappingLoop)eInternalContainer();
}
/**
@@ -83,8 +77,8 @@ public class GuardPatternImpl extends ImperativePatternImpl implements GuardPatt
* <!-- end-user-doc -->
* @generated
*/
- public NotificationChain basicSetArea(Area newArea, NotificationChain msgs) {
- msgs = eBasicSetContainer((InternalEObject)newArea, QVTimperativePackage.GUARD_PATTERN__AREA, msgs);
+ public NotificationChain basicSetOwningMappingLoop(MappingLoop newOwningMappingLoop, NotificationChain msgs) {
+ msgs = eBasicSetContainer((InternalEObject)newOwningMappingLoop, QVTimperativePackage.LOOP_VARIABLE__OWNING_MAPPING_LOOP, msgs);
return msgs;
}
@@ -94,20 +88,20 @@ public class GuardPatternImpl extends ImperativePatternImpl implements GuardPatt
* @generated
*/
@Override
- public void setArea(Area newArea) {
- if (newArea != eInternalContainer() || (eContainerFeatureID() != QVTimperativePackage.GUARD_PATTERN__AREA && newArea != null)) {
- if (EcoreUtil.isAncestor(this, newArea))
+ public void setOwningMappingLoop(MappingLoop newOwningMappingLoop) {
+ if (newOwningMappingLoop != eInternalContainer() || (eContainerFeatureID() != QVTimperativePackage.LOOP_VARIABLE__OWNING_MAPPING_LOOP && newOwningMappingLoop != null)) {
+ if (EcoreUtil.isAncestor(this, newOwningMappingLoop))
throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
NotificationChain msgs = null;
if (eInternalContainer() != null)
msgs = eBasicRemoveFromContainer(msgs);
- if (newArea != null)
- msgs = ((InternalEObject)newArea).eInverseAdd(this, QVTimperativePackage.AREA__GUARD_PATTERN, Area.class, msgs);
- msgs = basicSetArea(newArea, msgs);
+ if (newOwningMappingLoop != null)
+ msgs = ((InternalEObject)newOwningMappingLoop).eInverseAdd(this, QVTimperativePackage.MAPPING_LOOP__OWNED_ITERATORS, MappingLoop.class, msgs);
+ msgs = basicSetOwningMappingLoop(newOwningMappingLoop, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativePackage.GUARD_PATTERN__AREA, newArea, newArea));
+ eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativePackage.LOOP_VARIABLE__OWNING_MAPPING_LOOP, newOwningMappingLoop, newOwningMappingLoop));
}
/**
@@ -118,10 +112,10 @@ public class GuardPatternImpl extends ImperativePatternImpl implements GuardPatt
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case QVTimperativePackage.GUARD_PATTERN__AREA:
+ case QVTimperativePackage.LOOP_VARIABLE__OWNING_MAPPING_LOOP:
if (eInternalContainer() != null)
msgs = eBasicRemoveFromContainer(msgs);
- return basicSetArea((Area)otherEnd, msgs);
+ return basicSetOwningMappingLoop((MappingLoop)otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
@@ -134,8 +128,8 @@ public class GuardPatternImpl extends ImperativePatternImpl implements GuardPatt
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case QVTimperativePackage.GUARD_PATTERN__AREA:
- return basicSetArea(null, msgs);
+ case QVTimperativePackage.LOOP_VARIABLE__OWNING_MAPPING_LOOP:
+ return basicSetOwningMappingLoop(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -148,8 +142,8 @@ public class GuardPatternImpl extends ImperativePatternImpl implements GuardPatt
@Override
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
switch (eContainerFeatureID()) {
- case QVTimperativePackage.GUARD_PATTERN__AREA:
- return eInternalContainer().eInverseRemove(this, QVTimperativePackage.AREA__GUARD_PATTERN, Area.class, msgs);
+ case QVTimperativePackage.LOOP_VARIABLE__OWNING_MAPPING_LOOP:
+ return eInternalContainer().eInverseRemove(this, QVTimperativePackage.MAPPING_LOOP__OWNED_ITERATORS, MappingLoop.class, msgs);
}
return super.eBasicRemoveFromContainerFeature(msgs);
}
@@ -162,8 +156,8 @@ public class GuardPatternImpl extends ImperativePatternImpl implements GuardPatt
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case QVTimperativePackage.GUARD_PATTERN__AREA:
- return getArea();
+ case QVTimperativePackage.LOOP_VARIABLE__OWNING_MAPPING_LOOP:
+ return getOwningMappingLoop();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -176,8 +170,8 @@ public class GuardPatternImpl extends ImperativePatternImpl implements GuardPatt
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case QVTimperativePackage.GUARD_PATTERN__AREA:
- setArea((Area)newValue);
+ case QVTimperativePackage.LOOP_VARIABLE__OWNING_MAPPING_LOOP:
+ setOwningMappingLoop((MappingLoop)newValue);
return;
}
super.eSet(featureID, newValue);
@@ -191,8 +185,8 @@ public class GuardPatternImpl extends ImperativePatternImpl implements GuardPatt
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case QVTimperativePackage.GUARD_PATTERN__AREA:
- setArea((Area)null);
+ case QVTimperativePackage.LOOP_VARIABLE__OWNING_MAPPING_LOOP:
+ setOwningMappingLoop((MappingLoop)null);
return;
}
super.eUnset(featureID);
@@ -206,8 +200,8 @@ public class GuardPatternImpl extends ImperativePatternImpl implements GuardPatt
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case QVTimperativePackage.GUARD_PATTERN__AREA:
- return getArea() != null;
+ case QVTimperativePackage.LOOP_VARIABLE__OWNING_MAPPING_LOOP:
+ return getOwningMappingLoop() != null;
}
return super.eIsSet(featureID);
}
@@ -219,7 +213,7 @@ public class GuardPatternImpl extends ImperativePatternImpl implements GuardPatt
@SuppressWarnings("unchecked")
@Override
public <R> R accept(@NonNull Visitor<R> visitor) {
- return (R) ((QVTimperativeVisitor<?>)visitor).visitGuardPattern(this);
+ return (R) ((QVTimperativeVisitor<?>)visitor).visitLoopVariable(this);
}
-} //GuardPatternImpl
+} //LoopVariableImpl
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/MappingCallBindingImpl.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/MappingCallBindingImpl.java
index 476810c9b..464e224f4 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/MappingCallBindingImpl.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/MappingCallBindingImpl.java
@@ -18,7 +18,7 @@ import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.util.EcoreUtil;
import org.eclipse.jdt.annotation.NonNull;
import org.eclipse.ocl.pivot.OCLExpression;
-import org.eclipse.ocl.pivot.Variable;
+import org.eclipse.ocl.pivot.VariableDeclaration;
import org.eclipse.ocl.pivot.internal.ElementImpl;
import org.eclipse.ocl.pivot.util.Visitor;
import org.eclipse.qvtd.pivot.qvtimperative.MappingCall;
@@ -51,7 +51,7 @@ public class MappingCallBindingImpl extends ElementImpl implements MappingCallBi
* @generated
* @ordered
*/
- protected Variable boundVariable;
+ protected VariableDeclaration boundVariable;
/**
* The default value of the '{@link #isIsPolled() <em>Is Polled</em>}' attribute.
@@ -74,15 +74,6 @@ public class MappingCallBindingImpl extends ElementImpl implements MappingCallBi
protected boolean isPolled = IS_POLLED_EDEFAULT;
/**
- * This is true if the Is Polled attribute has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean isPolledESet;
-
- /**
* The cached value of the '{@link #getValue() <em>Value</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -160,10 +151,10 @@ public class MappingCallBindingImpl extends ElementImpl implements MappingCallBi
* @generated
*/
@Override
- public Variable getBoundVariable() {
+ public VariableDeclaration getBoundVariable() {
if (boundVariable != null && boundVariable.eIsProxy()) {
InternalEObject oldBoundVariable = (InternalEObject)boundVariable;
- boundVariable = (Variable)eResolveProxy(oldBoundVariable);
+ boundVariable = (VariableDeclaration)eResolveProxy(oldBoundVariable);
if (boundVariable != oldBoundVariable) {
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE, QVTimperativePackage.MAPPING_CALL_BINDING__BOUND_VARIABLE, oldBoundVariable, boundVariable));
@@ -177,7 +168,7 @@ public class MappingCallBindingImpl extends ElementImpl implements MappingCallBi
* <!-- end-user-doc -->
* @generated
*/
- public Variable basicGetBoundVariable() {
+ public VariableDeclaration basicGetBoundVariable() {
return boundVariable;
}
@@ -187,8 +178,8 @@ public class MappingCallBindingImpl extends ElementImpl implements MappingCallBi
* @generated
*/
@Override
- public void setBoundVariable(Variable newBoundVariable) {
- Variable oldBoundVariable = boundVariable;
+ public void setBoundVariable(VariableDeclaration newBoundVariable) {
+ VariableDeclaration oldBoundVariable = boundVariable;
boundVariable = newBoundVariable;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativePackage.MAPPING_CALL_BINDING__BOUND_VARIABLE, oldBoundVariable, boundVariable));
@@ -213,35 +204,8 @@ public class MappingCallBindingImpl extends ElementImpl implements MappingCallBi
public void setIsPolled(boolean newIsPolled) {
boolean oldIsPolled = isPolled;
isPolled = newIsPolled;
- boolean oldIsPolledESet = isPolledESet;
- isPolledESet = true;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativePackage.MAPPING_CALL_BINDING__IS_POLLED, oldIsPolled, isPolled, !oldIsPolledESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void unsetIsPolled() {
- boolean oldIsPolled = isPolled;
- boolean oldIsPolledESet = isPolledESet;
- isPolled = IS_POLLED_EDEFAULT;
- isPolledESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, QVTimperativePackage.MAPPING_CALL_BINDING__IS_POLLED, oldIsPolled, IS_POLLED_EDEFAULT, oldIsPolledESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean isSetIsPolled() {
- return isPolledESet;
+ eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativePackage.MAPPING_CALL_BINDING__IS_POLLED, oldIsPolled, isPolled));
}
/**
@@ -375,7 +339,7 @@ public class MappingCallBindingImpl extends ElementImpl implements MappingCallBi
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case QVTimperativePackage.MAPPING_CALL_BINDING__BOUND_VARIABLE:
- setBoundVariable((Variable)newValue);
+ setBoundVariable((VariableDeclaration)newValue);
return;
case QVTimperativePackage.MAPPING_CALL_BINDING__IS_POLLED:
setIsPolled((Boolean)newValue);
@@ -399,10 +363,10 @@ public class MappingCallBindingImpl extends ElementImpl implements MappingCallBi
public void eUnset(int featureID) {
switch (featureID) {
case QVTimperativePackage.MAPPING_CALL_BINDING__BOUND_VARIABLE:
- setBoundVariable((Variable)null);
+ setBoundVariable((VariableDeclaration)null);
return;
case QVTimperativePackage.MAPPING_CALL_BINDING__IS_POLLED:
- unsetIsPolled();
+ setIsPolled(IS_POLLED_EDEFAULT);
return;
case QVTimperativePackage.MAPPING_CALL_BINDING__MAPPING_CALL:
setMappingCall((MappingCall)null);
@@ -425,7 +389,7 @@ public class MappingCallBindingImpl extends ElementImpl implements MappingCallBi
case QVTimperativePackage.MAPPING_CALL_BINDING__BOUND_VARIABLE:
return boundVariable != null;
case QVTimperativePackage.MAPPING_CALL_BINDING__IS_POLLED:
- return isSetIsPolled();
+ return isPolled != IS_POLLED_EDEFAULT;
case QVTimperativePackage.MAPPING_CALL_BINDING__MAPPING_CALL:
return getMappingCall() != null;
case QVTimperativePackage.MAPPING_CALL_BINDING__VALUE:
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/MappingCallImpl.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/MappingCallImpl.java
index 9ef2f94f9..d7d43ddb5 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/MappingCallImpl.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/MappingCallImpl.java
@@ -76,15 +76,6 @@ public class MappingCallImpl extends MappingStatementImpl implements MappingCall
protected boolean isInfinite = IS_INFINITE_EDEFAULT;
/**
- * This is true if the Is Infinite attribute has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean isInfiniteESet;
-
- /**
* The cached value of the '{@link #getReferredMapping() <em>Referred Mapping</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -195,35 +186,8 @@ public class MappingCallImpl extends MappingStatementImpl implements MappingCall
public void setIsInfinite(boolean newIsInfinite) {
boolean oldIsInfinite = isInfinite;
isInfinite = newIsInfinite;
- boolean oldIsInfiniteESet = isInfiniteESet;
- isInfiniteESet = true;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativePackage.MAPPING_CALL__IS_INFINITE, oldIsInfinite, isInfinite, !oldIsInfiniteESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void unsetIsInfinite() {
- boolean oldIsInfinite = isInfinite;
- boolean oldIsInfiniteESet = isInfiniteESet;
- isInfinite = IS_INFINITE_EDEFAULT;
- isInfiniteESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, QVTimperativePackage.MAPPING_CALL__IS_INFINITE, oldIsInfinite, IS_INFINITE_EDEFAULT, oldIsInfiniteESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean isSetIsInfinite() {
- return isInfiniteESet;
+ eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativePackage.MAPPING_CALL__IS_INFINITE, oldIsInfinite, isInfinite));
}
/**
@@ -309,7 +273,7 @@ public class MappingCallImpl extends MappingStatementImpl implements MappingCall
getBinding().clear();
return;
case QVTimperativePackage.MAPPING_CALL__IS_INFINITE:
- unsetIsInfinite();
+ setIsInfinite(IS_INFINITE_EDEFAULT);
return;
case QVTimperativePackage.MAPPING_CALL__REFERRED_MAPPING:
setReferredMapping((Mapping)null);
@@ -329,7 +293,7 @@ public class MappingCallImpl extends MappingStatementImpl implements MappingCall
case QVTimperativePackage.MAPPING_CALL__BINDING:
return binding != null && !binding.isEmpty();
case QVTimperativePackage.MAPPING_CALL__IS_INFINITE:
- return isSetIsInfinite();
+ return isInfinite != IS_INFINITE_EDEFAULT;
case QVTimperativePackage.MAPPING_CALL__REFERRED_MAPPING:
return referredMapping != null;
}
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/MappingImpl.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/MappingImpl.java
index c14e38307..3ff478c35 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/MappingImpl.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/MappingImpl.java
@@ -12,12 +12,10 @@ package org.eclipse.qvtd.pivot.qvtimperative.impl;
import java.util.Collection;
-import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
import org.eclipse.emf.ecore.util.EObjectResolvingEList;
import org.eclipse.emf.ecore.util.InternalEList;
@@ -25,9 +23,8 @@ import org.eclipse.jdt.annotation.NonNull;
import org.eclipse.ocl.pivot.Property;
import org.eclipse.ocl.pivot.util.Visitor;
import org.eclipse.qvtd.pivot.qvtbase.impl.RuleImpl;
-import org.eclipse.qvtd.pivot.qvtimperative.Area;
-import org.eclipse.qvtd.pivot.qvtimperative.BottomPattern;
-import org.eclipse.qvtd.pivot.qvtimperative.GuardPattern;
+import org.eclipse.qvtd.pivot.qvtimperative.GuardVariable;
+import org.eclipse.qvtd.pivot.qvtimperative.InConnectionVariable;
import org.eclipse.qvtd.pivot.qvtimperative.Mapping;
import org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage;
import org.eclipse.qvtd.pivot.qvtimperative.Statement;
@@ -41,65 +38,54 @@ import org.eclipse.qvtd.pivot.qvtimperative.util.QVTimperativeVisitor;
* The following features are implemented:
* </p>
* <ul>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.MappingImpl#getGuardPattern <em>Guard Pattern</em>}</li>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.MappingImpl#getBottomPattern <em>Bottom Pattern</em>}</li>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.MappingImpl#getCheckedProperties <em>Checked Properties</em>}</li>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.MappingImpl#getEnforcedProperties <em>Enforced Properties</em>}</li>
+ * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.MappingImpl#getOwnedGuardVariables <em>Owned Guard Variables</em>}</li>
+ * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.MappingImpl#getInoutVariables <em>Inout Variables</em>}</li>
* <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.MappingImpl#getOwnedStatements <em>Owned Statements</em>}</li>
+ * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.MappingImpl#getCheckedProperties <em>Checked Properties</em>}</li>
* </ul>
*
* @generated
*/
public class MappingImpl extends RuleImpl implements Mapping {
/**
- * The cached value of the '{@link #getGuardPattern() <em>Guard Pattern</em>}' containment reference.
+ * The cached value of the '{@link #getOwnedGuardVariables() <em>Owned Guard Variables</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getGuardPattern()
+ * @see #getOwnedGuardVariables()
* @generated
* @ordered
*/
- protected GuardPattern guardPattern;
+ protected EList<GuardVariable> ownedGuardVariables;
/**
- * The cached value of the '{@link #getBottomPattern() <em>Bottom Pattern</em>}' containment reference.
+ * The cached value of the '{@link #getInoutVariables() <em>Inout Variables</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getBottomPattern()
+ * @see #getInoutVariables()
* @generated
* @ordered
*/
- protected BottomPattern bottomPattern;
+ protected EList<InConnectionVariable> inoutVariables;
/**
- * The cached value of the '{@link #getCheckedProperties() <em>Checked Properties</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCheckedProperties()
- * @generated
- * @ordered
- */
- protected EList<Property> checkedProperties;
-
- /**
- * The cached value of the '{@link #getEnforcedProperties() <em>Enforced Properties</em>}' reference list.
+ * The cached value of the '{@link #getOwnedStatements() <em>Owned Statements</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getEnforcedProperties()
+ * @see #getOwnedStatements()
* @generated
* @ordered
*/
- protected EList<Property> enforcedProperties;
+ protected EList<Statement> ownedStatements;
/**
- * The cached value of the '{@link #getOwnedStatements() <em>Owned Statements</em>}' containment reference list.
+ * The cached value of the '{@link #getCheckedProperties() <em>Checked Properties</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getOwnedStatements()
+ * @see #getCheckedProperties()
* @generated
* @ordered
*/
- protected EList<Statement> ownedStatements;
+ protected EList<Property> checkedProperties;
/**
* <!-- begin-user-doc -->
@@ -126,23 +112,11 @@ public class MappingImpl extends RuleImpl implements Mapping {
* @generated
*/
@Override
- public GuardPattern getGuardPattern() {
- return guardPattern;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetGuardPattern(GuardPattern newGuardPattern, NotificationChain msgs) {
- GuardPattern oldGuardPattern = guardPattern;
- guardPattern = newGuardPattern;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, QVTimperativePackage.MAPPING__GUARD_PATTERN, oldGuardPattern, newGuardPattern);
- if (msgs == null) msgs = notification; else msgs.add(notification);
+ public EList<GuardVariable> getOwnedGuardVariables() {
+ if (ownedGuardVariables == null) {
+ ownedGuardVariables = new EObjectContainmentEList<GuardVariable>(GuardVariable.class, this, QVTimperativePackage.MAPPING__OWNED_GUARD_VARIABLES);
}
- return msgs;
+ return ownedGuardVariables;
}
/**
@@ -151,63 +125,11 @@ public class MappingImpl extends RuleImpl implements Mapping {
* @generated
*/
@Override
- public void setGuardPattern(GuardPattern newGuardPattern) {
- if (newGuardPattern != guardPattern) {
- NotificationChain msgs = null;
- if (guardPattern != null)
- msgs = ((InternalEObject)guardPattern).eInverseRemove(this, QVTimperativePackage.GUARD_PATTERN__AREA, GuardPattern.class, msgs);
- if (newGuardPattern != null)
- msgs = ((InternalEObject)newGuardPattern).eInverseAdd(this, QVTimperativePackage.GUARD_PATTERN__AREA, GuardPattern.class, msgs);
- msgs = basicSetGuardPattern(newGuardPattern, msgs);
- if (msgs != null) msgs.dispatch();
+ public EList<InConnectionVariable> getInoutVariables() {
+ if (inoutVariables == null) {
+ inoutVariables = new EObjectContainmentEList<InConnectionVariable>(InConnectionVariable.class, this, QVTimperativePackage.MAPPING__INOUT_VARIABLES);
}
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativePackage.MAPPING__GUARD_PATTERN, newGuardPattern, newGuardPattern));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public BottomPattern getBottomPattern() {
- return bottomPattern;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetBottomPattern(BottomPattern newBottomPattern, NotificationChain msgs) {
- BottomPattern oldBottomPattern = bottomPattern;
- bottomPattern = newBottomPattern;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, QVTimperativePackage.MAPPING__BOTTOM_PATTERN, oldBottomPattern, newBottomPattern);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void setBottomPattern(BottomPattern newBottomPattern) {
- if (newBottomPattern != bottomPattern) {
- NotificationChain msgs = null;
- if (bottomPattern != null)
- msgs = ((InternalEObject)bottomPattern).eInverseRemove(this, QVTimperativePackage.BOTTOM_PATTERN__AREA, BottomPattern.class, msgs);
- if (newBottomPattern != null)
- msgs = ((InternalEObject)newBottomPattern).eInverseAdd(this, QVTimperativePackage.BOTTOM_PATTERN__AREA, BottomPattern.class, msgs);
- msgs = basicSetBottomPattern(newBottomPattern, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativePackage.MAPPING__BOTTOM_PATTERN, newBottomPattern, newBottomPattern));
+ return inoutVariables;
}
/**
@@ -229,19 +151,6 @@ public class MappingImpl extends RuleImpl implements Mapping {
* @generated
*/
@Override
- public EList<Property> getEnforcedProperties() {
- if (enforcedProperties == null) {
- enforcedProperties = new EObjectResolvingEList<Property>(Property.class, this, QVTimperativePackage.MAPPING__ENFORCED_PROPERTIES);
- }
- return enforcedProperties;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
public EList<Statement> getOwnedStatements() {
if (ownedStatements == null) {
ownedStatements = new EObjectContainmentEList<Statement>(Statement.class, this, QVTimperativePackage.MAPPING__OWNED_STATEMENTS);
@@ -255,32 +164,12 @@ public class MappingImpl extends RuleImpl implements Mapping {
* @generated
*/
@Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case QVTimperativePackage.MAPPING__GUARD_PATTERN:
- if (guardPattern != null)
- msgs = ((InternalEObject)guardPattern).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - QVTimperativePackage.MAPPING__GUARD_PATTERN, null, msgs);
- return basicSetGuardPattern((GuardPattern)otherEnd, msgs);
- case QVTimperativePackage.MAPPING__BOTTOM_PATTERN:
- if (bottomPattern != null)
- msgs = ((InternalEObject)bottomPattern).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - QVTimperativePackage.MAPPING__BOTTOM_PATTERN, null, msgs);
- return basicSetBottomPattern((BottomPattern)otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case QVTimperativePackage.MAPPING__GUARD_PATTERN:
- return basicSetGuardPattern(null, msgs);
- case QVTimperativePackage.MAPPING__BOTTOM_PATTERN:
- return basicSetBottomPattern(null, msgs);
+ case QVTimperativePackage.MAPPING__OWNED_GUARD_VARIABLES:
+ return ((InternalEList<?>)getOwnedGuardVariables()).basicRemove(otherEnd, msgs);
+ case QVTimperativePackage.MAPPING__INOUT_VARIABLES:
+ return ((InternalEList<?>)getInoutVariables()).basicRemove(otherEnd, msgs);
case QVTimperativePackage.MAPPING__OWNED_STATEMENTS:
return ((InternalEList<?>)getOwnedStatements()).basicRemove(otherEnd, msgs);
}
@@ -295,16 +184,14 @@ public class MappingImpl extends RuleImpl implements Mapping {
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case QVTimperativePackage.MAPPING__GUARD_PATTERN:
- return getGuardPattern();
- case QVTimperativePackage.MAPPING__BOTTOM_PATTERN:
- return getBottomPattern();
- case QVTimperativePackage.MAPPING__CHECKED_PROPERTIES:
- return getCheckedProperties();
- case QVTimperativePackage.MAPPING__ENFORCED_PROPERTIES:
- return getEnforcedProperties();
+ case QVTimperativePackage.MAPPING__OWNED_GUARD_VARIABLES:
+ return getOwnedGuardVariables();
+ case QVTimperativePackage.MAPPING__INOUT_VARIABLES:
+ return getInoutVariables();
case QVTimperativePackage.MAPPING__OWNED_STATEMENTS:
return getOwnedStatements();
+ case QVTimperativePackage.MAPPING__CHECKED_PROPERTIES:
+ return getCheckedProperties();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -318,24 +205,22 @@ public class MappingImpl extends RuleImpl implements Mapping {
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case QVTimperativePackage.MAPPING__GUARD_PATTERN:
- setGuardPattern((GuardPattern)newValue);
- return;
- case QVTimperativePackage.MAPPING__BOTTOM_PATTERN:
- setBottomPattern((BottomPattern)newValue);
- return;
- case QVTimperativePackage.MAPPING__CHECKED_PROPERTIES:
- getCheckedProperties().clear();
- getCheckedProperties().addAll((Collection<? extends Property>)newValue);
+ case QVTimperativePackage.MAPPING__OWNED_GUARD_VARIABLES:
+ getOwnedGuardVariables().clear();
+ getOwnedGuardVariables().addAll((Collection<? extends GuardVariable>)newValue);
return;
- case QVTimperativePackage.MAPPING__ENFORCED_PROPERTIES:
- getEnforcedProperties().clear();
- getEnforcedProperties().addAll((Collection<? extends Property>)newValue);
+ case QVTimperativePackage.MAPPING__INOUT_VARIABLES:
+ getInoutVariables().clear();
+ getInoutVariables().addAll((Collection<? extends InConnectionVariable>)newValue);
return;
case QVTimperativePackage.MAPPING__OWNED_STATEMENTS:
getOwnedStatements().clear();
getOwnedStatements().addAll((Collection<? extends Statement>)newValue);
return;
+ case QVTimperativePackage.MAPPING__CHECKED_PROPERTIES:
+ getCheckedProperties().clear();
+ getCheckedProperties().addAll((Collection<? extends Property>)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -348,21 +233,18 @@ public class MappingImpl extends RuleImpl implements Mapping {
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case QVTimperativePackage.MAPPING__GUARD_PATTERN:
- setGuardPattern((GuardPattern)null);
+ case QVTimperativePackage.MAPPING__OWNED_GUARD_VARIABLES:
+ getOwnedGuardVariables().clear();
return;
- case QVTimperativePackage.MAPPING__BOTTOM_PATTERN:
- setBottomPattern((BottomPattern)null);
- return;
- case QVTimperativePackage.MAPPING__CHECKED_PROPERTIES:
- getCheckedProperties().clear();
- return;
- case QVTimperativePackage.MAPPING__ENFORCED_PROPERTIES:
- getEnforcedProperties().clear();
+ case QVTimperativePackage.MAPPING__INOUT_VARIABLES:
+ getInoutVariables().clear();
return;
case QVTimperativePackage.MAPPING__OWNED_STATEMENTS:
getOwnedStatements().clear();
return;
+ case QVTimperativePackage.MAPPING__CHECKED_PROPERTIES:
+ getCheckedProperties().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -375,16 +257,14 @@ public class MappingImpl extends RuleImpl implements Mapping {
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case QVTimperativePackage.MAPPING__GUARD_PATTERN:
- return guardPattern != null;
- case QVTimperativePackage.MAPPING__BOTTOM_PATTERN:
- return bottomPattern != null;
- case QVTimperativePackage.MAPPING__CHECKED_PROPERTIES:
- return checkedProperties != null && !checkedProperties.isEmpty();
- case QVTimperativePackage.MAPPING__ENFORCED_PROPERTIES:
- return enforcedProperties != null && !enforcedProperties.isEmpty();
+ case QVTimperativePackage.MAPPING__OWNED_GUARD_VARIABLES:
+ return ownedGuardVariables != null && !ownedGuardVariables.isEmpty();
+ case QVTimperativePackage.MAPPING__INOUT_VARIABLES:
+ return inoutVariables != null && !inoutVariables.isEmpty();
case QVTimperativePackage.MAPPING__OWNED_STATEMENTS:
return ownedStatements != null && !ownedStatements.isEmpty();
+ case QVTimperativePackage.MAPPING__CHECKED_PROPERTIES:
+ return checkedProperties != null && !checkedProperties.isEmpty();
}
return super.eIsSet(featureID);
}
@@ -394,44 +274,6 @@ public class MappingImpl extends RuleImpl implements Mapping {
* <!-- end-user-doc -->
* @generated
*/
- @Override
- public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
- if (baseClass == Area.class) {
- switch (derivedFeatureID) {
- case QVTimperativePackage.MAPPING__GUARD_PATTERN: return QVTimperativePackage.AREA__GUARD_PATTERN;
- case QVTimperativePackage.MAPPING__BOTTOM_PATTERN: return QVTimperativePackage.AREA__BOTTOM_PATTERN;
- case QVTimperativePackage.MAPPING__CHECKED_PROPERTIES: return QVTimperativePackage.AREA__CHECKED_PROPERTIES;
- case QVTimperativePackage.MAPPING__ENFORCED_PROPERTIES: return QVTimperativePackage.AREA__ENFORCED_PROPERTIES;
- default: return -1;
- }
- }
- return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
- if (baseClass == Area.class) {
- switch (baseFeatureID) {
- case QVTimperativePackage.AREA__GUARD_PATTERN: return QVTimperativePackage.MAPPING__GUARD_PATTERN;
- case QVTimperativePackage.AREA__BOTTOM_PATTERN: return QVTimperativePackage.MAPPING__BOTTOM_PATTERN;
- case QVTimperativePackage.AREA__CHECKED_PROPERTIES: return QVTimperativePackage.MAPPING__CHECKED_PROPERTIES;
- case QVTimperativePackage.AREA__ENFORCED_PROPERTIES: return QVTimperativePackage.MAPPING__ENFORCED_PROPERTIES;
- default: return -1;
- }
- }
- return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
@SuppressWarnings("unchecked")
@Override
public <R> R accept(@NonNull Visitor<R> visitor) {
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/MappingLoopImpl.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/MappingLoopImpl.java
index fa5361aa8..5496753b4 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/MappingLoopImpl.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/MappingLoopImpl.java
@@ -19,11 +19,12 @@ import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList;
import org.eclipse.emf.ecore.util.InternalEList;
import org.eclipse.jdt.annotation.NonNull;
import org.eclipse.ocl.pivot.OCLExpression;
-import org.eclipse.ocl.pivot.Variable;
import org.eclipse.ocl.pivot.util.Visitor;
+import org.eclipse.qvtd.pivot.qvtimperative.LoopVariable;
import org.eclipse.qvtd.pivot.qvtimperative.MappingLoop;
import org.eclipse.qvtd.pivot.qvtimperative.MappingStatement;
import org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage;
@@ -53,7 +54,7 @@ public class MappingLoopImpl extends MappingStatementImpl implements MappingLoop
* @generated
* @ordered
*/
- protected EList<Variable> ownedIterators;
+ protected EList<LoopVariable> ownedIterators;
/**
* The cached value of the '{@link #getOwnedMappingStatements() <em>Owned Mapping Statements</em>}' containment reference list.
@@ -100,9 +101,9 @@ public class MappingLoopImpl extends MappingStatementImpl implements MappingLoop
* @generated
*/
@Override
- public EList<Variable> getOwnedIterators() {
+ public EList<LoopVariable> getOwnedIterators() {
if (ownedIterators == null) {
- ownedIterators = new EObjectContainmentEList<Variable>(Variable.class, this, QVTimperativePackage.MAPPING_LOOP__OWNED_ITERATORS);
+ ownedIterators = new EObjectContainmentWithInverseEList<LoopVariable>(LoopVariable.class, this, QVTimperativePackage.MAPPING_LOOP__OWNED_ITERATORS, QVTimperativePackage.LOOP_VARIABLE__OWNING_MAPPING_LOOP);
}
return ownedIterators;
}
@@ -170,6 +171,21 @@ public class MappingLoopImpl extends MappingStatementImpl implements MappingLoop
* <!-- end-user-doc -->
* @generated
*/
+ @SuppressWarnings("unchecked")
+ @Override
+ public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case QVTimperativePackage.MAPPING_LOOP__OWNED_ITERATORS:
+ return ((InternalEList<InternalEObject>)(InternalEList<?>)getOwnedIterators()).basicAdd(otherEnd, msgs);
+ }
+ return super.eInverseAdd(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
@@ -212,7 +228,7 @@ public class MappingLoopImpl extends MappingStatementImpl implements MappingLoop
switch (featureID) {
case QVTimperativePackage.MAPPING_LOOP__OWNED_ITERATORS:
getOwnedIterators().clear();
- getOwnedIterators().addAll((Collection<? extends Variable>)newValue);
+ getOwnedIterators().addAll((Collection<? extends LoopVariable>)newValue);
return;
case QVTimperativePackage.MAPPING_LOOP__OWNED_MAPPING_STATEMENTS:
getOwnedMappingStatements().clear();
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/NewStatementImpl.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/NewStatementImpl.java
index 61a0f6b74..2a3e4cb2a 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/NewStatementImpl.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/NewStatementImpl.java
@@ -15,11 +15,12 @@
package org.eclipse.qvtd.pivot.qvtimperative.impl;
import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.jdt.annotation.NonNull;
-import org.eclipse.ocl.pivot.internal.VariableImpl;
+import org.eclipse.ocl.pivot.OCLExpression;
import org.eclipse.ocl.pivot.util.Visitor;
import org.eclipse.qvtd.pivot.qvtbase.TypedModel;
import org.eclipse.qvtd.pivot.qvtimperative.NewStatement;
@@ -35,11 +36,12 @@ import org.eclipse.qvtd.pivot.qvtimperative.util.QVTimperativeVisitor;
* </p>
* <ul>
* <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.NewStatementImpl#getReferredTypedModel <em>Referred Typed Model</em>}</li>
+ * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.NewStatementImpl#getOwnedInit <em>Owned Init</em>}</li>
* </ul>
*
* @generated
*/
-public class NewStatementImpl extends VariableImpl implements NewStatement {
+public class NewStatementImpl extends VariableStatementImpl implements NewStatement {
/**
* The cached value of the '{@link #getReferredTypedModel() <em>Referred Typed Model</em>}' reference.
* <!-- begin-user-doc -->
@@ -51,6 +53,16 @@ public class NewStatementImpl extends VariableImpl implements NewStatement {
protected TypedModel referredTypedModel;
/**
+ * The cached value of the '{@link #getOwnedInit() <em>Owned Init</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOwnedInit()
+ * @generated
+ * @ordered
+ */
+ protected OCLExpression ownedInit;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -115,11 +127,72 @@ public class NewStatementImpl extends VariableImpl implements NewStatement {
* @generated
*/
@Override
+ public OCLExpression getOwnedInit() {
+ return ownedInit;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetOwnedInit(OCLExpression newOwnedInit, NotificationChain msgs) {
+ OCLExpression oldOwnedInit = ownedInit;
+ ownedInit = newOwnedInit;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, QVTimperativePackage.NEW_STATEMENT__OWNED_INIT, oldOwnedInit, newOwnedInit);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void setOwnedInit(OCLExpression newOwnedInit) {
+ if (newOwnedInit != ownedInit) {
+ NotificationChain msgs = null;
+ if (ownedInit != null)
+ msgs = ((InternalEObject)ownedInit).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - QVTimperativePackage.NEW_STATEMENT__OWNED_INIT, null, msgs);
+ if (newOwnedInit != null)
+ msgs = ((InternalEObject)newOwnedInit).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - QVTimperativePackage.NEW_STATEMENT__OWNED_INIT, null, msgs);
+ msgs = basicSetOwnedInit(newOwnedInit, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativePackage.NEW_STATEMENT__OWNED_INIT, newOwnedInit, newOwnedInit));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case QVTimperativePackage.NEW_STATEMENT__OWNED_INIT:
+ return basicSetOwnedInit(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
case QVTimperativePackage.NEW_STATEMENT__REFERRED_TYPED_MODEL:
if (resolve) return getReferredTypedModel();
return basicGetReferredTypedModel();
+ case QVTimperativePackage.NEW_STATEMENT__OWNED_INIT:
+ return getOwnedInit();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -135,6 +208,9 @@ public class NewStatementImpl extends VariableImpl implements NewStatement {
case QVTimperativePackage.NEW_STATEMENT__REFERRED_TYPED_MODEL:
setReferredTypedModel((TypedModel)newValue);
return;
+ case QVTimperativePackage.NEW_STATEMENT__OWNED_INIT:
+ setOwnedInit((OCLExpression)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -150,6 +226,9 @@ public class NewStatementImpl extends VariableImpl implements NewStatement {
case QVTimperativePackage.NEW_STATEMENT__REFERRED_TYPED_MODEL:
setReferredTypedModel((TypedModel)null);
return;
+ case QVTimperativePackage.NEW_STATEMENT__OWNED_INIT:
+ setOwnedInit((OCLExpression)null);
+ return;
}
super.eUnset(featureID);
}
@@ -164,6 +243,8 @@ public class NewStatementImpl extends VariableImpl implements NewStatement {
switch (featureID) {
case QVTimperativePackage.NEW_STATEMENT__REFERRED_TYPED_MODEL:
return referredTypedModel != null;
+ case QVTimperativePackage.NEW_STATEMENT__OWNED_INIT:
+ return ownedInit != null;
}
return super.eIsSet(featureID);
}
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/ImperativePatternImpl.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/OutConnectionVariableImpl.java
index 692791de4..40b45472d 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/ImperativePatternImpl.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/OutConnectionVariableImpl.java
@@ -14,53 +14,48 @@
*/
package org.eclipse.qvtd.pivot.qvtimperative.impl;
-import java.util.Collection;
-
+import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.jdt.annotation.NonNull;
-import org.eclipse.ocl.pivot.Variable;
+import org.eclipse.ocl.pivot.OCLExpression;
import org.eclipse.ocl.pivot.util.Visitor;
-import org.eclipse.qvtd.pivot.qvtbase.impl.PatternImpl;
-import org.eclipse.qvtd.pivot.qvtimperative.Area;
-import org.eclipse.qvtd.pivot.qvtimperative.ImperativePattern;
+import org.eclipse.qvtd.pivot.qvtimperative.OutConnectionVariable;
import org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage;
import org.eclipse.qvtd.pivot.qvtimperative.util.QVTimperativeVisitor;
/**
* <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Core Pattern</b></em>'.
+ * An implementation of the model object '<em><b>Out Connection Variable</b></em>'.
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
* </p>
* <ul>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.ImperativePatternImpl#getVariable <em>Variable</em>}</li>
+ * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.OutConnectionVariableImpl#getOwnedInit <em>Owned Init</em>}</li>
* </ul>
*
* @generated
*/
-public class ImperativePatternImpl extends PatternImpl implements ImperativePattern {
+public class OutConnectionVariableImpl extends ConnectionVariableImpl implements OutConnectionVariable {
/**
- * The cached value of the '{@link #getVariable() <em>Variable</em>}' containment reference list.
+ * The cached value of the '{@link #getOwnedInit() <em>Owned Init</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getVariable()
+ * @see #getOwnedInit()
* @generated
* @ordered
*/
- protected EList<Variable> variable;
+ protected OCLExpression ownedInit;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- protected ImperativePatternImpl() {
+ protected OutConnectionVariableImpl() {
super();
}
@@ -71,7 +66,7 @@ public class ImperativePatternImpl extends PatternImpl implements ImperativePatt
*/
@Override
protected EClass eStaticClass() {
- return QVTimperativePackage.Literals.IMPERATIVE_PATTERN;
+ return QVTimperativePackage.Literals.OUT_CONNECTION_VARIABLE;
}
/**
@@ -80,11 +75,23 @@ public class ImperativePatternImpl extends PatternImpl implements ImperativePatt
* @generated
*/
@Override
- public EList<Variable> getVariable() {
- if (variable == null) {
- variable = new EObjectContainmentEList<Variable>(Variable.class, this, QVTimperativePackage.IMPERATIVE_PATTERN__VARIABLE);
+ public OCLExpression getOwnedInit() {
+ return ownedInit;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetOwnedInit(OCLExpression newOwnedInit, NotificationChain msgs) {
+ OCLExpression oldOwnedInit = ownedInit;
+ ownedInit = newOwnedInit;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, QVTimperativePackage.OUT_CONNECTION_VARIABLE__OWNED_INIT, oldOwnedInit, newOwnedInit);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
- return variable;
+ return msgs;
}
/**
@@ -93,10 +100,18 @@ public class ImperativePatternImpl extends PatternImpl implements ImperativePatt
* @generated
*/
@Override
- public Area getArea() {
- // TODO: implement this method
- // Ensure that you remove @generated or mark it @generated NOT
- throw new UnsupportedOperationException();
+ public void setOwnedInit(OCLExpression newOwnedInit) {
+ if (newOwnedInit != ownedInit) {
+ NotificationChain msgs = null;
+ if (ownedInit != null)
+ msgs = ((InternalEObject)ownedInit).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - QVTimperativePackage.OUT_CONNECTION_VARIABLE__OWNED_INIT, null, msgs);
+ if (newOwnedInit != null)
+ msgs = ((InternalEObject)newOwnedInit).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - QVTimperativePackage.OUT_CONNECTION_VARIABLE__OWNED_INIT, null, msgs);
+ msgs = basicSetOwnedInit(newOwnedInit, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativePackage.OUT_CONNECTION_VARIABLE__OWNED_INIT, newOwnedInit, newOwnedInit));
}
/**
@@ -107,8 +122,8 @@ public class ImperativePatternImpl extends PatternImpl implements ImperativePatt
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case QVTimperativePackage.IMPERATIVE_PATTERN__VARIABLE:
- return ((InternalEList<?>)getVariable()).basicRemove(otherEnd, msgs);
+ case QVTimperativePackage.OUT_CONNECTION_VARIABLE__OWNED_INIT:
+ return basicSetOwnedInit(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -121,8 +136,8 @@ public class ImperativePatternImpl extends PatternImpl implements ImperativePatt
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case QVTimperativePackage.IMPERATIVE_PATTERN__VARIABLE:
- return getVariable();
+ case QVTimperativePackage.OUT_CONNECTION_VARIABLE__OWNED_INIT:
+ return getOwnedInit();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -132,13 +147,11 @@ public class ImperativePatternImpl extends PatternImpl implements ImperativePatt
* <!-- end-user-doc -->
* @generated
*/
- @SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case QVTimperativePackage.IMPERATIVE_PATTERN__VARIABLE:
- getVariable().clear();
- getVariable().addAll((Collection<? extends Variable>)newValue);
+ case QVTimperativePackage.OUT_CONNECTION_VARIABLE__OWNED_INIT:
+ setOwnedInit((OCLExpression)newValue);
return;
}
super.eSet(featureID, newValue);
@@ -152,8 +165,8 @@ public class ImperativePatternImpl extends PatternImpl implements ImperativePatt
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case QVTimperativePackage.IMPERATIVE_PATTERN__VARIABLE:
- getVariable().clear();
+ case QVTimperativePackage.OUT_CONNECTION_VARIABLE__OWNED_INIT:
+ setOwnedInit((OCLExpression)null);
return;
}
super.eUnset(featureID);
@@ -167,8 +180,8 @@ public class ImperativePatternImpl extends PatternImpl implements ImperativePatt
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case QVTimperativePackage.IMPERATIVE_PATTERN__VARIABLE:
- return variable != null && !variable.isEmpty();
+ case QVTimperativePackage.OUT_CONNECTION_VARIABLE__OWNED_INIT:
+ return ownedInit != null;
}
return super.eIsSet(featureID);
}
@@ -180,7 +193,7 @@ public class ImperativePatternImpl extends PatternImpl implements ImperativePatt
@SuppressWarnings("unchecked")
@Override
public <R> R accept(@NonNull Visitor<R> visitor) {
- return (R) ((QVTimperativeVisitor<?>)visitor).visitImperativePattern(this);
+ return (R) ((QVTimperativeVisitor<?>)visitor).visitOutConnectionVariable(this);
}
-} //CorePatternImpl
+} //OutConnectionVariableImpl
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/PredicateVariableImpl.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/PredicateVariableImpl.java
new file mode 100644
index 000000000..cd66e32de
--- /dev/null
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/PredicateVariableImpl.java
@@ -0,0 +1,270 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2013, 2017 Willink Transformations and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * E.D.Willink - Initial API and implementation
+ *
+ * </copyright>
+ */
+package org.eclipse.qvtd.pivot.qvtimperative.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.jdt.annotation.NonNull;
+
+import org.eclipse.ocl.pivot.OCLExpression;
+
+import org.eclipse.ocl.pivot.util.Visitor;
+
+import org.eclipse.qvtd.pivot.qvtimperative.PredicateVariable;
+import org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage;
+
+import org.eclipse.qvtd.pivot.qvtimperative.util.QVTimperativeVisitor;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Predicate Variable</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * </p>
+ * <ul>
+ * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.PredicateVariableImpl#getOwnedInit <em>Owned Init</em>}</li>
+ * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.PredicateVariableImpl#isIsChecked <em>Is Checked</em>}</li>
+ * </ul>
+ *
+ * @generated
+ */
+public class PredicateVariableImpl extends VariableStatementImpl implements PredicateVariable {
+ /**
+ * The cached value of the '{@link #getOwnedInit() <em>Owned Init</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOwnedInit()
+ * @generated
+ * @ordered
+ */
+ protected OCLExpression ownedInit;
+
+ /**
+ * The default value of the '{@link #isIsChecked() <em>Is Checked</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsChecked()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean IS_CHECKED_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isIsChecked() <em>Is Checked</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsChecked()
+ * @generated
+ * @ordered
+ */
+ protected boolean isChecked = IS_CHECKED_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected PredicateVariableImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return QVTimperativePackage.Literals.PREDICATE_VARIABLE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public OCLExpression getOwnedInit() {
+ return ownedInit;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetOwnedInit(OCLExpression newOwnedInit, NotificationChain msgs) {
+ OCLExpression oldOwnedInit = ownedInit;
+ ownedInit = newOwnedInit;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, QVTimperativePackage.PREDICATE_VARIABLE__OWNED_INIT, oldOwnedInit, newOwnedInit);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void setOwnedInit(OCLExpression newOwnedInit) {
+ if (newOwnedInit != ownedInit) {
+ NotificationChain msgs = null;
+ if (ownedInit != null)
+ msgs = ((InternalEObject)ownedInit).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - QVTimperativePackage.PREDICATE_VARIABLE__OWNED_INIT, null, msgs);
+ if (newOwnedInit != null)
+ msgs = ((InternalEObject)newOwnedInit).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - QVTimperativePackage.PREDICATE_VARIABLE__OWNED_INIT, null, msgs);
+ msgs = basicSetOwnedInit(newOwnedInit, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativePackage.PREDICATE_VARIABLE__OWNED_INIT, newOwnedInit, newOwnedInit));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean isIsChecked() {
+ return isChecked;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void setIsChecked(boolean newIsChecked) {
+ boolean oldIsChecked = isChecked;
+ isChecked = newIsChecked;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativePackage.PREDICATE_VARIABLE__IS_CHECKED, oldIsChecked, isChecked));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ return super.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case QVTimperativePackage.PREDICATE_VARIABLE__OWNED_INIT:
+ return basicSetOwnedInit(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case QVTimperativePackage.PREDICATE_VARIABLE__OWNED_INIT:
+ return getOwnedInit();
+ case QVTimperativePackage.PREDICATE_VARIABLE__IS_CHECKED:
+ return isIsChecked();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case QVTimperativePackage.PREDICATE_VARIABLE__OWNED_INIT:
+ setOwnedInit((OCLExpression)newValue);
+ return;
+ case QVTimperativePackage.PREDICATE_VARIABLE__IS_CHECKED:
+ setIsChecked((Boolean)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case QVTimperativePackage.PREDICATE_VARIABLE__OWNED_INIT:
+ setOwnedInit((OCLExpression)null);
+ return;
+ case QVTimperativePackage.PREDICATE_VARIABLE__IS_CHECKED:
+ setIsChecked(IS_CHECKED_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case QVTimperativePackage.PREDICATE_VARIABLE__OWNED_INIT:
+ return ownedInit != null;
+ case QVTimperativePackage.PREDICATE_VARIABLE__IS_CHECKED:
+ return isChecked != IS_CHECKED_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * {@inheritDoc}
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public <R> R accept(@NonNull Visitor<R> visitor) {
+ return (R) ((QVTimperativeVisitor<?>)visitor).visitPredicateVariable(this);
+ }
+
+} //PredicateVariableImpl
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/QVTimperativeFactoryImpl.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/QVTimperativeFactoryImpl.java
index a11767862..7f1ee6b93 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/QVTimperativeFactoryImpl.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/QVTimperativeFactoryImpl.java
@@ -17,22 +17,22 @@ import org.eclipse.emf.ecore.impl.EFactoryImpl;
import org.eclipse.emf.ecore.plugin.EcorePlugin;
import org.eclipse.jdt.annotation.NonNull;
import org.eclipse.qvtd.pivot.qvtimperative.AddStatement;
-import org.eclipse.qvtd.pivot.qvtimperative.BottomPattern;
-import org.eclipse.qvtd.pivot.qvtimperative.ConnectionVariable;
-import org.eclipse.qvtd.pivot.qvtimperative.GuardPattern;
+import org.eclipse.qvtd.pivot.qvtimperative.CheckStatement;
+import org.eclipse.qvtd.pivot.qvtimperative.GuardVariable;
import org.eclipse.qvtd.pivot.qvtimperative.ImperativeDomain;
import org.eclipse.qvtd.pivot.qvtimperative.ImperativeModel;
-import org.eclipse.qvtd.pivot.qvtimperative.ImperativePattern;
+import org.eclipse.qvtd.pivot.qvtimperative.InConnectionVariable;
+import org.eclipse.qvtd.pivot.qvtimperative.LoopVariable;
import org.eclipse.qvtd.pivot.qvtimperative.Mapping;
import org.eclipse.qvtd.pivot.qvtimperative.MappingCall;
import org.eclipse.qvtd.pivot.qvtimperative.MappingCallBinding;
import org.eclipse.qvtd.pivot.qvtimperative.MappingLoop;
import org.eclipse.qvtd.pivot.qvtimperative.NewStatement;
+import org.eclipse.qvtd.pivot.qvtimperative.OutConnectionVariable;
+import org.eclipse.qvtd.pivot.qvtimperative.PredicateVariable;
import org.eclipse.qvtd.pivot.qvtimperative.QVTimperativeFactory;
import org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage;
import org.eclipse.qvtd.pivot.qvtimperative.SetStatement;
-import org.eclipse.qvtd.pivot.qvtimperative.VariableAssignment;
-import org.eclipse.qvtd.pivot.qvtimperative.VariablePredicate;
/**
* <!-- begin-user-doc -->
@@ -79,20 +79,20 @@ public class QVTimperativeFactoryImpl extends EFactoryImpl implements QVTimperat
public EObject create(EClass eClass) {
switch (eClass.getClassifierID()) {
case QVTimperativePackage.ADD_STATEMENT: return createAddStatement();
- case QVTimperativePackage.BOTTOM_PATTERN: return createBottomPattern();
- case QVTimperativePackage.CONNECTION_VARIABLE: return createConnectionVariable();
- case QVTimperativePackage.GUARD_PATTERN: return createGuardPattern();
+ case QVTimperativePackage.CHECK_STATEMENT: return createCheckStatement();
+ case QVTimperativePackage.GUARD_VARIABLE: return createGuardVariable();
case QVTimperativePackage.IMPERATIVE_DOMAIN: return createImperativeDomain();
case QVTimperativePackage.IMPERATIVE_MODEL: return createImperativeModel();
- case QVTimperativePackage.IMPERATIVE_PATTERN: return createImperativePattern();
+ case QVTimperativePackage.IN_CONNECTION_VARIABLE: return createInConnectionVariable();
+ case QVTimperativePackage.LOOP_VARIABLE: return createLoopVariable();
case QVTimperativePackage.MAPPING: return createMapping();
case QVTimperativePackage.MAPPING_CALL: return createMappingCall();
case QVTimperativePackage.MAPPING_CALL_BINDING: return createMappingCallBinding();
case QVTimperativePackage.MAPPING_LOOP: return createMappingLoop();
case QVTimperativePackage.NEW_STATEMENT: return createNewStatement();
+ case QVTimperativePackage.OUT_CONNECTION_VARIABLE: return createOutConnectionVariable();
+ case QVTimperativePackage.PREDICATE_VARIABLE: return createPredicateVariable();
case QVTimperativePackage.SET_STATEMENT: return createSetStatement();
- case QVTimperativePackage.VARIABLE_ASSIGNMENT: return createVariableAssignment();
- case QVTimperativePackage.VARIABLE_PREDICATE: return createVariablePredicate();
default:
throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
@@ -104,7 +104,7 @@ public class QVTimperativeFactoryImpl extends EFactoryImpl implements QVTimperat
* @generated
*/
@Override
- public AddStatement createAddStatement() {
+ public @NonNull AddStatement createAddStatement() {
AddStatementImpl addStatement = new AddStatementImpl();
return addStatement;
}
@@ -115,9 +115,9 @@ public class QVTimperativeFactoryImpl extends EFactoryImpl implements QVTimperat
* @generated
*/
@Override
- public @NonNull BottomPattern createBottomPattern() {
- BottomPatternImpl bottomPattern = new BottomPatternImpl();
- return bottomPattern;
+ public @NonNull CheckStatement createCheckStatement() {
+ CheckStatementImpl checkStatement = new CheckStatementImpl();
+ return checkStatement;
}
/**
@@ -126,9 +126,9 @@ public class QVTimperativeFactoryImpl extends EFactoryImpl implements QVTimperat
* @generated
*/
@Override
- public @NonNull ConnectionVariable createConnectionVariable() {
- ConnectionVariableImpl connectionVariable = new ConnectionVariableImpl();
- return connectionVariable;
+ public @NonNull GuardVariable createGuardVariable() {
+ GuardVariableImpl guardVariable = new GuardVariableImpl();
+ return guardVariable;
}
/**
@@ -137,9 +137,9 @@ public class QVTimperativeFactoryImpl extends EFactoryImpl implements QVTimperat
* @generated
*/
@Override
- public @NonNull GuardPattern createGuardPattern() {
- GuardPatternImpl guardPattern = new GuardPatternImpl();
- return guardPattern;
+ public @NonNull ImperativeDomain createImperativeDomain() {
+ ImperativeDomainImpl imperativeDomain = new ImperativeDomainImpl();
+ return imperativeDomain;
}
/**
@@ -148,9 +148,9 @@ public class QVTimperativeFactoryImpl extends EFactoryImpl implements QVTimperat
* @generated
*/
@Override
- public @NonNull ImperativeDomain createImperativeDomain() {
- ImperativeDomainImpl imperativeDomain = new ImperativeDomainImpl();
- return imperativeDomain;
+ public @NonNull ImperativeModel createImperativeModel() {
+ ImperativeModelImpl imperativeModel = new ImperativeModelImpl();
+ return imperativeModel;
}
/**
@@ -159,9 +159,9 @@ public class QVTimperativeFactoryImpl extends EFactoryImpl implements QVTimperat
* @generated
*/
@Override
- public @NonNull ImperativeModel createImperativeModel() {
- ImperativeModelImpl imperativeModel = new ImperativeModelImpl();
- return imperativeModel;
+ public @NonNull InConnectionVariable createInConnectionVariable() {
+ InConnectionVariableImpl inConnectionVariable = new InConnectionVariableImpl();
+ return inConnectionVariable;
}
/**
@@ -170,9 +170,9 @@ public class QVTimperativeFactoryImpl extends EFactoryImpl implements QVTimperat
* @generated
*/
@Override
- public @NonNull ImperativePattern createImperativePattern() {
- ImperativePatternImpl imperativePattern = new ImperativePatternImpl();
- return imperativePattern;
+ public @NonNull LoopVariable createLoopVariable() {
+ LoopVariableImpl loopVariable = new LoopVariableImpl();
+ return loopVariable;
}
/**
@@ -236,9 +236,9 @@ public class QVTimperativeFactoryImpl extends EFactoryImpl implements QVTimperat
* @generated
*/
@Override
- public @NonNull SetStatement createSetStatement() {
- SetStatementImpl setStatement = new SetStatementImpl();
- return setStatement;
+ public @NonNull OutConnectionVariable createOutConnectionVariable() {
+ OutConnectionVariableImpl outConnectionVariable = new OutConnectionVariableImpl();
+ return outConnectionVariable;
}
/**
@@ -247,9 +247,9 @@ public class QVTimperativeFactoryImpl extends EFactoryImpl implements QVTimperat
* @generated
*/
@Override
- public @NonNull VariableAssignment createVariableAssignment() {
- VariableAssignmentImpl variableAssignment = new VariableAssignmentImpl();
- return variableAssignment;
+ public @NonNull PredicateVariable createPredicateVariable() {
+ PredicateVariableImpl predicateVariable = new PredicateVariableImpl();
+ return predicateVariable;
}
/**
@@ -258,9 +258,9 @@ public class QVTimperativeFactoryImpl extends EFactoryImpl implements QVTimperat
* @generated
*/
@Override
- public @NonNull VariablePredicate createVariablePredicate() {
- VariablePredicateImpl variablePredicate = new VariablePredicateImpl();
- return variablePredicate;
+ public @NonNull SetStatement createSetStatement() {
+ SetStatementImpl setStatement = new SetStatementImpl();
+ return setStatement;
}
/**
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/QVTimperativePackageImpl.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/QVTimperativePackageImpl.java
index 941433144..8a4c7ee15 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/QVTimperativePackageImpl.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/QVTimperativePackageImpl.java
@@ -18,27 +18,26 @@ import org.eclipse.emf.ecore.impl.EPackageImpl;
import org.eclipse.ocl.pivot.PivotPackage;
import org.eclipse.qvtd.pivot.qvtbase.QVTbasePackage;
import org.eclipse.qvtd.pivot.qvtimperative.AddStatement;
-import org.eclipse.qvtd.pivot.qvtimperative.Area;
-import org.eclipse.qvtd.pivot.qvtimperative.Assignment;
-import org.eclipse.qvtd.pivot.qvtimperative.BottomPattern;
-import org.eclipse.qvtd.pivot.qvtimperative.BottomStatement;
+import org.eclipse.qvtd.pivot.qvtimperative.CheckStatement;
import org.eclipse.qvtd.pivot.qvtimperative.ConnectionVariable;
-import org.eclipse.qvtd.pivot.qvtimperative.GuardPattern;
+import org.eclipse.qvtd.pivot.qvtimperative.GuardVariable;
import org.eclipse.qvtd.pivot.qvtimperative.ImperativeDomain;
import org.eclipse.qvtd.pivot.qvtimperative.ImperativeModel;
-import org.eclipse.qvtd.pivot.qvtimperative.ImperativePattern;
+import org.eclipse.qvtd.pivot.qvtimperative.InConnectionVariable;
+import org.eclipse.qvtd.pivot.qvtimperative.LoopVariable;
import org.eclipse.qvtd.pivot.qvtimperative.Mapping;
import org.eclipse.qvtd.pivot.qvtimperative.MappingCall;
import org.eclipse.qvtd.pivot.qvtimperative.MappingCallBinding;
import org.eclipse.qvtd.pivot.qvtimperative.MappingLoop;
import org.eclipse.qvtd.pivot.qvtimperative.MappingStatement;
import org.eclipse.qvtd.pivot.qvtimperative.NewStatement;
+import org.eclipse.qvtd.pivot.qvtimperative.OutConnectionVariable;
+import org.eclipse.qvtd.pivot.qvtimperative.PredicateVariable;
import org.eclipse.qvtd.pivot.qvtimperative.QVTimperativeFactory;
import org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage;
import org.eclipse.qvtd.pivot.qvtimperative.SetStatement;
import org.eclipse.qvtd.pivot.qvtimperative.Statement;
-import org.eclipse.qvtd.pivot.qvtimperative.VariableAssignment;
-import org.eclipse.qvtd.pivot.qvtimperative.VariablePredicate;
+import org.eclipse.qvtd.pivot.qvtimperative.VariableStatement;
/**
* <!-- begin-user-doc -->
@@ -59,105 +58,105 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* <!-- end-user-doc -->
* @generated
*/
- private EClass areaEClass = null;
+ private EClass checkStatementEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- private EClass assignmentEClass = null;
+ private EClass connectionVariableEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- private EClass bottomPatternEClass = null;
+ private EClass guardVariableEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- private EClass bottomStatementEClass = null;
+ private EClass imperativeDomainEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- private EClass connectionVariableEClass = null;
+ private EClass imperativeModelEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- private EClass guardPatternEClass = null;
+ private EClass inConnectionVariableEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- private EClass imperativeDomainEClass = null;
+ private EClass loopVariableEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- private EClass imperativeModelEClass = null;
+ private EClass mappingEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- private EClass imperativePatternEClass = null;
+ private EClass mappingCallEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- private EClass mappingEClass = null;
+ private EClass mappingCallBindingEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- private EClass mappingCallEClass = null;
+ private EClass mappingLoopEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- private EClass mappingCallBindingEClass = null;
+ private EClass mappingStatementEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- private EClass mappingLoopEClass = null;
+ private EClass newStatementEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- private EClass mappingStatementEClass = null;
+ private EClass outConnectionVariableEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- private EClass newStatementEClass = null;
+ private EClass predicateVariableEClass = null;
/**
* <!-- begin-user-doc -->
@@ -178,14 +177,7 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* <!-- end-user-doc -->
* @generated
*/
- private EClass variableAssignmentEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass variablePredicateEClass = null;
+ private EClass variableStatementEClass = null;
/**
* Creates an instance of the model <b>Package</b>, registered with
@@ -215,7 +207,7 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
/**
* Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
- *
+ *
* <p>This method is used to initialize {@link QVTimperativePackage#eINSTANCE} when that field is accessed.
* Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
* <!-- begin-user-doc -->
@@ -246,7 +238,7 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
// Mark meta-data to indicate it can't be changed
theQVTimperativePackage.freeze();
-
+
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(QVTimperativePackage.eNS_URI, theQVTimperativePackage);
return theQVTimperativePackage;
@@ -288,7 +280,7 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EAttribute getAddStatement_IsEnforceadUnique() {
+ public EAttribute getAddStatement_IsEnforcedUnique() {
return (EAttribute)addStatementEClass.getEStructuralFeatures().get(2);
}
@@ -298,8 +290,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EClass getArea() {
- return areaEClass;
+ public EClass getCheckStatement() {
+ return checkStatementEClass;
}
/**
@@ -308,8 +300,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EReference getArea_GuardPattern() {
- return (EReference)areaEClass.getEStructuralFeatures().get(0);
+ public EReference getCheckStatement_ConditionExpression() {
+ return (EReference)checkStatementEClass.getEStructuralFeatures().get(0);
}
/**
@@ -318,8 +310,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EReference getArea_BottomPattern() {
- return (EReference)areaEClass.getEStructuralFeatures().get(1);
+ public EClass getConnectionVariable() {
+ return connectionVariableEClass;
}
/**
@@ -328,8 +320,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EReference getArea_CheckedProperties() {
- return (EReference)areaEClass.getEStructuralFeatures().get(2);
+ public EClass getGuardVariable() {
+ return guardVariableEClass;
}
/**
@@ -338,8 +330,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EReference getArea_EnforcedProperties() {
- return (EReference)areaEClass.getEStructuralFeatures().get(3);
+ public EReference getGuardVariable_ReferredTypedModel() {
+ return (EReference)guardVariableEClass.getEStructuralFeatures().get(0);
}
/**
@@ -348,8 +340,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EClass getAssignment() {
- return assignmentEClass;
+ public EClass getImperativeDomain() {
+ return imperativeDomainEClass;
}
/**
@@ -358,8 +350,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EReference getAssignment_BottomPattern() {
- return (EReference)assignmentEClass.getEStructuralFeatures().get(0);
+ public EReference getImperativeDomain_CheckedProperties() {
+ return (EReference)imperativeDomainEClass.getEStructuralFeatures().get(0);
}
/**
@@ -368,8 +360,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EReference getAssignment_Value() {
- return (EReference)assignmentEClass.getEStructuralFeatures().get(1);
+ public EReference getImperativeDomain_OwnedGuardVariables() {
+ return (EReference)imperativeDomainEClass.getEStructuralFeatures().get(1);
}
/**
@@ -378,8 +370,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EAttribute getAssignment_IsDefault() {
- return (EAttribute)assignmentEClass.getEStructuralFeatures().get(2);
+ public EClass getImperativeModel() {
+ return imperativeModelEClass;
}
/**
@@ -388,8 +380,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EClass getBottomPattern() {
- return bottomPatternEClass;
+ public EClass getInConnectionVariable() {
+ return inConnectionVariableEClass;
}
/**
@@ -398,8 +390,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EReference getBottomPattern_Area() {
- return (EReference)bottomPatternEClass.getEStructuralFeatures().get(0);
+ public EClass getLoopVariable() {
+ return loopVariableEClass;
}
/**
@@ -408,8 +400,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EReference getBottomPattern_Assignment() {
- return (EReference)bottomPatternEClass.getEStructuralFeatures().get(1);
+ public EReference getLoopVariable_OwningMappingLoop() {
+ return (EReference)loopVariableEClass.getEStructuralFeatures().get(0);
}
/**
@@ -418,8 +410,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EClass getBottomStatement() {
- return bottomStatementEClass;
+ public EClass getMapping() {
+ return mappingEClass;
}
/**
@@ -428,8 +420,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EClass getConnectionVariable() {
- return connectionVariableEClass;
+ public EReference getMapping_OwnedGuardVariables() {
+ return (EReference)mappingEClass.getEStructuralFeatures().get(0);
}
/**
@@ -438,8 +430,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EClass getGuardPattern() {
- return guardPatternEClass;
+ public EReference getMapping_InoutVariables() {
+ return (EReference)mappingEClass.getEStructuralFeatures().get(1);
}
/**
@@ -448,8 +440,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EReference getGuardPattern_Area() {
- return (EReference)guardPatternEClass.getEStructuralFeatures().get(0);
+ public EReference getMapping_OwnedStatements() {
+ return (EReference)mappingEClass.getEStructuralFeatures().get(2);
}
/**
@@ -458,8 +450,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EClass getImperativeDomain() {
- return imperativeDomainEClass;
+ public EReference getMapping_CheckedProperties() {
+ return (EReference)mappingEClass.getEStructuralFeatures().get(3);
}
/**
@@ -468,8 +460,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EClass getImperativeModel() {
- return imperativeModelEClass;
+ public EClass getMappingCall() {
+ return mappingCallEClass;
}
/**
@@ -478,8 +470,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EClass getImperativePattern() {
- return imperativePatternEClass;
+ public EReference getMappingCall_ReferredMapping() {
+ return (EReference)mappingCallEClass.getEStructuralFeatures().get(2);
}
/**
@@ -488,8 +480,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EReference getImperativePattern_Variable() {
- return (EReference)imperativePatternEClass.getEStructuralFeatures().get(0);
+ public EReference getMappingCall_Binding() {
+ return (EReference)mappingCallEClass.getEStructuralFeatures().get(0);
}
/**
@@ -498,8 +490,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EClass getMapping() {
- return mappingEClass;
+ public EAttribute getMappingCall_IsInfinite() {
+ return (EAttribute)mappingCallEClass.getEStructuralFeatures().get(1);
}
/**
@@ -508,8 +500,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EReference getMapping_OwnedStatements() {
- return (EReference)mappingEClass.getEStructuralFeatures().get(0);
+ public EClass getMappingCallBinding() {
+ return mappingCallBindingEClass;
}
/**
@@ -518,8 +510,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EClass getMappingCall() {
- return mappingCallEClass;
+ public EReference getMappingCallBinding_MappingCall() {
+ return (EReference)mappingCallBindingEClass.getEStructuralFeatures().get(2);
}
/**
@@ -528,8 +520,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EReference getMappingCall_ReferredMapping() {
- return (EReference)mappingCallEClass.getEStructuralFeatures().get(2);
+ public EReference getMappingCallBinding_BoundVariable() {
+ return (EReference)mappingCallBindingEClass.getEStructuralFeatures().get(0);
}
/**
@@ -538,8 +530,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EReference getMappingCall_Binding() {
- return (EReference)mappingCallEClass.getEStructuralFeatures().get(0);
+ public EAttribute getMappingCallBinding_IsPolled() {
+ return (EAttribute)mappingCallBindingEClass.getEStructuralFeatures().get(1);
}
/**
@@ -548,8 +540,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EAttribute getMappingCall_IsInfinite() {
- return (EAttribute)mappingCallEClass.getEStructuralFeatures().get(1);
+ public EReference getMappingCallBinding_Value() {
+ return (EReference)mappingCallBindingEClass.getEStructuralFeatures().get(3);
}
/**
@@ -558,8 +550,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EClass getMappingCallBinding() {
- return mappingCallBindingEClass;
+ public EClass getMappingLoop() {
+ return mappingLoopEClass;
}
/**
@@ -568,8 +560,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EReference getMappingCallBinding_MappingCall() {
- return (EReference)mappingCallBindingEClass.getEStructuralFeatures().get(2);
+ public EReference getMappingLoop_OwnedIterators() {
+ return (EReference)mappingLoopEClass.getEStructuralFeatures().get(0);
}
/**
@@ -578,8 +570,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EReference getMappingCallBinding_BoundVariable() {
- return (EReference)mappingCallBindingEClass.getEStructuralFeatures().get(0);
+ public EReference getMappingLoop_OwnedMappingStatements() {
+ return (EReference)mappingLoopEClass.getEStructuralFeatures().get(1);
}
/**
@@ -588,8 +580,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EAttribute getMappingCallBinding_IsPolled() {
- return (EAttribute)mappingCallBindingEClass.getEStructuralFeatures().get(1);
+ public EReference getMappingLoop_OwnedSource() {
+ return (EReference)mappingLoopEClass.getEStructuralFeatures().get(2);
}
/**
@@ -598,8 +590,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EReference getMappingCallBinding_Value() {
- return (EReference)mappingCallBindingEClass.getEStructuralFeatures().get(3);
+ public EClass getMappingStatement() {
+ return mappingStatementEClass;
}
/**
@@ -608,8 +600,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EClass getMappingLoop() {
- return mappingLoopEClass;
+ public EClass getNewStatement() {
+ return newStatementEClass;
}
/**
@@ -618,8 +610,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EReference getMappingLoop_OwnedIterators() {
- return (EReference)mappingLoopEClass.getEStructuralFeatures().get(0);
+ public EReference getNewStatement_ReferredTypedModel() {
+ return (EReference)newStatementEClass.getEStructuralFeatures().get(0);
}
/**
@@ -628,8 +620,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EReference getMappingLoop_OwnedMappingStatements() {
- return (EReference)mappingLoopEClass.getEStructuralFeatures().get(1);
+ public EReference getNewStatement_OwnedInit() {
+ return (EReference)newStatementEClass.getEStructuralFeatures().get(1);
}
/**
@@ -638,8 +630,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EReference getMappingLoop_OwnedSource() {
- return (EReference)mappingLoopEClass.getEStructuralFeatures().get(2);
+ public EClass getOutConnectionVariable() {
+ return outConnectionVariableEClass;
}
/**
@@ -648,8 +640,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EClass getMappingStatement() {
- return mappingStatementEClass;
+ public EReference getOutConnectionVariable_OwnedInit() {
+ return (EReference)outConnectionVariableEClass.getEStructuralFeatures().get(0);
}
/**
@@ -658,8 +650,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EClass getNewStatement() {
- return newStatementEClass;
+ public EClass getPredicateVariable() {
+ return predicateVariableEClass;
}
/**
@@ -668,8 +660,18 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EReference getNewStatement_ReferredTypedModel() {
- return (EReference)newStatementEClass.getEStructuralFeatures().get(0);
+ public EReference getPredicateVariable_OwnedInit() {
+ return (EReference)predicateVariableEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EAttribute getPredicateVariable_IsChecked() {
+ return (EAttribute)predicateVariableEClass.getEStructuralFeatures().get(1);
}
/**
@@ -688,7 +690,7 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EReference getSetStatement_SlotExpression() {
+ public EReference getSetStatement_TargetVariable() {
return (EReference)setStatementEClass.getEStructuralFeatures().get(0);
}
@@ -728,28 +730,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EClass getStatement() {
- return statementEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public EClass getVariableAssignment() {
- return variableAssignmentEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public EReference getVariableAssignment_TargetVariable() {
- return (EReference)variableAssignmentEClass.getEStructuralFeatures().get(0);
+ public EAttribute getSetStatement_IsEmit() {
+ return (EAttribute)setStatementEClass.getEStructuralFeatures().get(4);
}
/**
@@ -758,8 +740,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EClass getVariablePredicate() {
- return variablePredicateEClass;
+ public EClass getStatement() {
+ return statementEClass;
}
/**
@@ -768,8 +750,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EReference getVariablePredicate_TargetVariable() {
- return (EReference)variablePredicateEClass.getEStructuralFeatures().get(0);
+ public EClass getVariableStatement() {
+ return variableStatementEClass;
}
/**
@@ -804,39 +786,32 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
addStatementEClass = createEClass(ADD_STATEMENT);
createEReference(addStatementEClass, ADD_STATEMENT__TARGET_VARIABLE);
createEReference(addStatementEClass, ADD_STATEMENT__VALUE);
- createEAttribute(addStatementEClass, ADD_STATEMENT__IS_ENFORCEAD_UNIQUE);
-
- areaEClass = createEClass(AREA);
- createEReference(areaEClass, AREA__GUARD_PATTERN);
- createEReference(areaEClass, AREA__BOTTOM_PATTERN);
- createEReference(areaEClass, AREA__CHECKED_PROPERTIES);
- createEReference(areaEClass, AREA__ENFORCED_PROPERTIES);
+ createEAttribute(addStatementEClass, ADD_STATEMENT__IS_ENFORCED_UNIQUE);
- assignmentEClass = createEClass(ASSIGNMENT);
- createEReference(assignmentEClass, ASSIGNMENT__BOTTOM_PATTERN);
- createEReference(assignmentEClass, ASSIGNMENT__VALUE);
- createEAttribute(assignmentEClass, ASSIGNMENT__IS_DEFAULT);
-
- bottomPatternEClass = createEClass(BOTTOM_PATTERN);
- createEReference(bottomPatternEClass, BOTTOM_PATTERN__AREA);
- createEReference(bottomPatternEClass, BOTTOM_PATTERN__ASSIGNMENT);
-
- bottomStatementEClass = createEClass(BOTTOM_STATEMENT);
+ checkStatementEClass = createEClass(CHECK_STATEMENT);
+ createEReference(checkStatementEClass, CHECK_STATEMENT__CONDITION_EXPRESSION);
connectionVariableEClass = createEClass(CONNECTION_VARIABLE);
- guardPatternEClass = createEClass(GUARD_PATTERN);
- createEReference(guardPatternEClass, GUARD_PATTERN__AREA);
+ guardVariableEClass = createEClass(GUARD_VARIABLE);
+ createEReference(guardVariableEClass, GUARD_VARIABLE__REFERRED_TYPED_MODEL);
imperativeDomainEClass = createEClass(IMPERATIVE_DOMAIN);
+ createEReference(imperativeDomainEClass, IMPERATIVE_DOMAIN__CHECKED_PROPERTIES);
+ createEReference(imperativeDomainEClass, IMPERATIVE_DOMAIN__OWNED_GUARD_VARIABLES);
imperativeModelEClass = createEClass(IMPERATIVE_MODEL);
- imperativePatternEClass = createEClass(IMPERATIVE_PATTERN);
- createEReference(imperativePatternEClass, IMPERATIVE_PATTERN__VARIABLE);
+ inConnectionVariableEClass = createEClass(IN_CONNECTION_VARIABLE);
+
+ loopVariableEClass = createEClass(LOOP_VARIABLE);
+ createEReference(loopVariableEClass, LOOP_VARIABLE__OWNING_MAPPING_LOOP);
mappingEClass = createEClass(MAPPING);
+ createEReference(mappingEClass, MAPPING__OWNED_GUARD_VARIABLES);
+ createEReference(mappingEClass, MAPPING__INOUT_VARIABLES);
createEReference(mappingEClass, MAPPING__OWNED_STATEMENTS);
+ createEReference(mappingEClass, MAPPING__CHECKED_PROPERTIES);
mappingCallEClass = createEClass(MAPPING_CALL);
createEReference(mappingCallEClass, MAPPING_CALL__BINDING);
@@ -858,20 +833,25 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
newStatementEClass = createEClass(NEW_STATEMENT);
createEReference(newStatementEClass, NEW_STATEMENT__REFERRED_TYPED_MODEL);
+ createEReference(newStatementEClass, NEW_STATEMENT__OWNED_INIT);
+
+ outConnectionVariableEClass = createEClass(OUT_CONNECTION_VARIABLE);
+ createEReference(outConnectionVariableEClass, OUT_CONNECTION_VARIABLE__OWNED_INIT);
+
+ predicateVariableEClass = createEClass(PREDICATE_VARIABLE);
+ createEReference(predicateVariableEClass, PREDICATE_VARIABLE__OWNED_INIT);
+ createEAttribute(predicateVariableEClass, PREDICATE_VARIABLE__IS_CHECKED);
setStatementEClass = createEClass(SET_STATEMENT);
- createEReference(setStatementEClass, SET_STATEMENT__SLOT_EXPRESSION);
+ createEReference(setStatementEClass, SET_STATEMENT__TARGET_VARIABLE);
createEReference(setStatementEClass, SET_STATEMENT__TARGET_PROPERTY);
createEReference(setStatementEClass, SET_STATEMENT__VALUE);
createEAttribute(setStatementEClass, SET_STATEMENT__IS_OPPOSITE);
+ createEAttribute(setStatementEClass, SET_STATEMENT__IS_EMIT);
statementEClass = createEClass(STATEMENT);
- variableAssignmentEClass = createEClass(VARIABLE_ASSIGNMENT);
- createEReference(variableAssignmentEClass, VARIABLE_ASSIGNMENT__TARGET_VARIABLE);
-
- variablePredicateEClass = createEClass(VARIABLE_PREDICATE);
- createEReference(variablePredicateEClass, VARIABLE_PREDICATE__TARGET_VARIABLE);
+ variableStatementEClass = createEClass(VARIABLE_STATEMENT);
}
/**
@@ -907,83 +887,72 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
// Add supertypes to classes
addStatementEClass.getESuperTypes().add(this.getMappingStatement());
- areaEClass.getESuperTypes().add(thePivotPackage.getElement());
- assignmentEClass.getESuperTypes().add(thePivotPackage.getElement());
- bottomPatternEClass.getESuperTypes().add(this.getImperativePattern());
- bottomStatementEClass.getESuperTypes().add(this.getStatement());
- connectionVariableEClass.getESuperTypes().add(thePivotPackage.getVariable());
- guardPatternEClass.getESuperTypes().add(this.getImperativePattern());
+ checkStatementEClass.getESuperTypes().add(this.getStatement());
+ connectionVariableEClass.getESuperTypes().add(thePivotPackage.getVariableDeclaration());
+ guardVariableEClass.getESuperTypes().add(thePivotPackage.getVariableDeclaration());
imperativeDomainEClass.getESuperTypes().add(theQVTbasePackage.getDomain());
- imperativeDomainEClass.getESuperTypes().add(this.getArea());
imperativeModelEClass.getESuperTypes().add(theQVTbasePackage.getBaseModel());
- imperativePatternEClass.getESuperTypes().add(theQVTbasePackage.getPattern());
+ inConnectionVariableEClass.getESuperTypes().add(this.getConnectionVariable());
+ loopVariableEClass.getESuperTypes().add(thePivotPackage.getVariableDeclaration());
mappingEClass.getESuperTypes().add(theQVTbasePackage.getRule());
- mappingEClass.getESuperTypes().add(this.getArea());
mappingCallEClass.getESuperTypes().add(this.getMappingStatement());
mappingCallEClass.getESuperTypes().add(thePivotPackage.getReferringElement());
mappingCallBindingEClass.getESuperTypes().add(thePivotPackage.getElement());
mappingLoopEClass.getESuperTypes().add(this.getMappingStatement());
mappingStatementEClass.getESuperTypes().add(this.getStatement());
- newStatementEClass.getESuperTypes().add(thePivotPackage.getVariable());
- newStatementEClass.getESuperTypes().add(this.getBottomStatement());
- setStatementEClass.getESuperTypes().add(this.getBottomStatement());
+ newStatementEClass.getESuperTypes().add(this.getVariableStatement());
+ outConnectionVariableEClass.getESuperTypes().add(this.getConnectionVariable());
+ outConnectionVariableEClass.getESuperTypes().add(this.getVariableStatement());
+ predicateVariableEClass.getESuperTypes().add(this.getVariableStatement());
+ setStatementEClass.getESuperTypes().add(this.getStatement());
statementEClass.getESuperTypes().add(thePivotPackage.getNamedElement());
- variableAssignmentEClass.getESuperTypes().add(this.getAssignment());
- variablePredicateEClass.getESuperTypes().add(theQVTbasePackage.getPredicate());
+ variableStatementEClass.getESuperTypes().add(thePivotPackage.getVariableDeclaration());
+ variableStatementEClass.getESuperTypes().add(this.getStatement());
// Initialize classes and features; add operations and parameters
initEClass(addStatementEClass, AddStatement.class, "AddStatement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getAddStatement_TargetVariable(), this.getConnectionVariable(), null, "targetVariable", null, 1, 1, AddStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getAddStatement_Value(), thePivotPackage.getOCLExpression(), null, "value", null, 1, 1, AddStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getAddStatement_IsEnforceadUnique(), ecorePackage.getEBoolean(), "isEnforceadUnique", null, 0, 1, AddStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(areaEClass, Area.class, "Area", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getArea_GuardPattern(), this.getGuardPattern(), this.getGuardPattern_Area(), "guardPattern", null, 1, 1, Area.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getArea_BottomPattern(), this.getBottomPattern(), this.getBottomPattern_Area(), "bottomPattern", null, 1, 1, Area.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getArea_CheckedProperties(), thePivotPackage.getProperty(), null, "checkedProperties", null, 0, -1, Area.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getArea_EnforcedProperties(), thePivotPackage.getProperty(), null, "enforcedProperties", null, 0, -1, Area.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(assignmentEClass, Assignment.class, "Assignment", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getAssignment_BottomPattern(), this.getBottomPattern(), this.getBottomPattern_Assignment(), "bottomPattern", null, 1, 1, Assignment.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getAssignment_Value(), thePivotPackage.getOCLExpression(), null, "value", null, 1, 1, Assignment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getAssignment_IsDefault(), thePivotPackage.getBoolean(), "isDefault", null, 0, 1, Assignment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getAddStatement_IsEnforcedUnique(), ecorePackage.getEBoolean(), "isEnforcedUnique", null, 0, 1, AddStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEClass(bottomPatternEClass, BottomPattern.class, "BottomPattern", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getBottomPattern_Area(), this.getArea(), this.getArea_BottomPattern(), "area", null, 1, 1, BottomPattern.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getBottomPattern_Assignment(), this.getAssignment(), this.getAssignment_BottomPattern(), "assignment", null, 0, -1, BottomPattern.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEClass(checkStatementEClass, CheckStatement.class, "CheckStatement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getCheckStatement_ConditionExpression(), thePivotPackage.getOCLExpression(), null, "conditionExpression", null, 1, 1, CheckStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEClass(bottomStatementEClass, BottomStatement.class, "BottomStatement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEClass(connectionVariableEClass, ConnectionVariable.class, "ConnectionVariable", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEClass(connectionVariableEClass, ConnectionVariable.class, "ConnectionVariable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(guardPatternEClass, GuardPattern.class, "GuardPattern", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getGuardPattern_Area(), this.getArea(), this.getArea_GuardPattern(), "area", null, 1, 1, GuardPattern.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEClass(guardVariableEClass, GuardVariable.class, "GuardVariable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getGuardVariable_ReferredTypedModel(), theQVTbasePackage.getTypedModel(), null, "referredTypedModel", null, 1, 1, GuardVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(imperativeDomainEClass, ImperativeDomain.class, "ImperativeDomain", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getImperativeDomain_CheckedProperties(), thePivotPackage.getProperty(), null, "checkedProperties", null, 0, -1, ImperativeDomain.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getImperativeDomain_OwnedGuardVariables(), this.getGuardVariable(), null, "ownedGuardVariables", null, 0, -1, ImperativeDomain.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(imperativeModelEClass, ImperativeModel.class, "ImperativeModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEClass(imperativePatternEClass, ImperativePattern.class, "ImperativePattern", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getImperativePattern_Variable(), thePivotPackage.getVariable(), null, "variable", null, 0, -1, ImperativePattern.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEClass(inConnectionVariableEClass, InConnectionVariable.class, "InConnectionVariable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- addEOperation(imperativePatternEClass, this.getArea(), "getArea", 1, 1, IS_UNIQUE, IS_ORDERED);
+ initEClass(loopVariableEClass, LoopVariable.class, "LoopVariable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getLoopVariable_OwningMappingLoop(), this.getMappingLoop(), this.getMappingLoop_OwnedIterators(), "owningMappingLoop", null, 1, 1, LoopVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(mappingEClass, Mapping.class, "Mapping", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getMapping_OwnedGuardVariables(), this.getGuardVariable(), null, "ownedGuardVariables", null, 0, -1, Mapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getMapping_InoutVariables(), this.getInConnectionVariable(), null, "inoutVariables", null, 0, -1, Mapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEReference(getMapping_OwnedStatements(), this.getStatement(), null, "ownedStatements", null, 0, -1, Mapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getMapping_CheckedProperties(), thePivotPackage.getProperty(), null, "checkedProperties", null, 0, -1, Mapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(mappingCallEClass, MappingCall.class, "MappingCall", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getMappingCall_Binding(), this.getMappingCallBinding(), this.getMappingCallBinding_MappingCall(), "binding", null, 0, -1, MappingCall.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getMappingCall_IsInfinite(), thePivotPackage.getBoolean(), "isInfinite", "false", 0, 1, MappingCall.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getMappingCall_IsInfinite(), thePivotPackage.getBoolean(), "isInfinite", "false", 0, 1, MappingCall.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getMappingCall_ReferredMapping(), this.getMapping(), null, "referredMapping", null, 1, 1, MappingCall.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(mappingCallBindingEClass, MappingCallBinding.class, "MappingCallBinding", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getMappingCallBinding_BoundVariable(), thePivotPackage.getVariable(), null, "boundVariable", null, 1, 1, MappingCallBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getMappingCallBinding_IsPolled(), thePivotPackage.getBoolean(), "isPolled", "false", 0, 1, MappingCallBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getMappingCallBinding_BoundVariable(), thePivotPackage.getVariableDeclaration(), null, "boundVariable", null, 1, 1, MappingCallBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getMappingCallBinding_IsPolled(), thePivotPackage.getBoolean(), "isPolled", "false", 0, 1, MappingCallBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getMappingCallBinding_MappingCall(), this.getMappingCall(), this.getMappingCall_Binding(), "mappingCall", null, 0, 1, MappingCallBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getMappingCallBinding_Value(), thePivotPackage.getOCLExpression(), null, "value", null, 1, 1, MappingCallBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(mappingLoopEClass, MappingLoop.class, "MappingLoop", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getMappingLoop_OwnedIterators(), thePivotPackage.getVariable(), null, "ownedIterators", null, 0, -1, MappingLoop.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getMappingLoop_OwnedIterators(), this.getLoopVariable(), this.getLoopVariable_OwningMappingLoop(), "ownedIterators", null, 0, -1, MappingLoop.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getMappingLoop_OwnedMappingStatements(), this.getMappingStatement(), null, "ownedMappingStatements", null, 0, -1, MappingLoop.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getMappingLoop_OwnedSource(), thePivotPackage.getOCLExpression(), null, "ownedSource", null, 0, 1, MappingLoop.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -991,20 +960,25 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
initEClass(newStatementEClass, NewStatement.class, "NewStatement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getNewStatement_ReferredTypedModel(), theQVTbasePackage.getTypedModel(), null, "referredTypedModel", null, 1, 1, NewStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getNewStatement_OwnedInit(), thePivotPackage.getOCLExpression(), null, "ownedInit", null, 0, 1, NewStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(outConnectionVariableEClass, OutConnectionVariable.class, "OutConnectionVariable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getOutConnectionVariable_OwnedInit(), thePivotPackage.getOCLExpression(), null, "ownedInit", null, 0, 1, OutConnectionVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(predicateVariableEClass, PredicateVariable.class, "PredicateVariable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getPredicateVariable_OwnedInit(), thePivotPackage.getOCLExpression(), null, "ownedInit", null, 1, 1, PredicateVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getPredicateVariable_IsChecked(), ecorePackage.getEBoolean(), "isChecked", "false", 0, 1, PredicateVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(setStatementEClass, SetStatement.class, "SetStatement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getSetStatement_SlotExpression(), thePivotPackage.getVariableExp(), null, "slotExpression", null, 1, 1, SetStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getSetStatement_TargetVariable(), thePivotPackage.getVariableDeclaration(), null, "targetVariable", null, 1, 1, SetStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getSetStatement_TargetProperty(), thePivotPackage.getProperty(), null, "targetProperty", null, 1, 1, SetStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getSetStatement_Value(), thePivotPackage.getOCLExpression(), null, "value", null, 1, 1, SetStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getSetStatement_IsOpposite(), ecorePackage.getEBoolean(), "isOpposite", null, 0, 1, SetStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getSetStatement_IsOpposite(), ecorePackage.getEBoolean(), "isOpposite", null, 0, 1, SetStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getSetStatement_IsEmit(), ecorePackage.getEBoolean(), "isEmit", null, 0, 1, SetStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(statementEClass, Statement.class, "Statement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEClass(variableAssignmentEClass, VariableAssignment.class, "VariableAssignment", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getVariableAssignment_TargetVariable(), thePivotPackage.getVariable(), null, "targetVariable", null, 1, 1, VariableAssignment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(variablePredicateEClass, VariablePredicate.class, "VariablePredicate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getVariablePredicate_TargetVariable(), thePivotPackage.getVariable(), null, "targetVariable", null, 1, 1, VariablePredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEClass(variableStatementEClass, VariableStatement.class, "VariableStatement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
// Create resource
createResource(eNS_URI);
@@ -1023,13 +997,13 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
protected void createImportAnnotations() {
- String source = "http://www.eclipse.org/OCL/Import";
+ String source = "http://www.eclipse.org/OCL/Import";
addAnnotation
- (this,
- source,
- new String[] {
- "qvtb", "../../org.eclipse.qvtd.pivot.qvtbase/model/QVTbase.ecore#/"
- });
+ (this,
+ source,
+ new String[] {
+ "qvtb", "../../org.eclipse.qvtd.pivot.qvtbase/model/QVTbase.ecore#/"
+ });
}
/**
@@ -1039,55 +1013,43 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
protected void createEmofAnnotations() {
- String source = "http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName";
- addAnnotation
- (getAddStatement_TargetVariable(),
- source,
- new String[] {
- "body", "assignment"
- });
- addAnnotation
- (getAddStatement_Value(),
- source,
- new String[] {
- "body", "valueAssignment"
- });
+ String source = "http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName";
addAnnotation
- (getAssignment_Value(),
- source,
- new String[] {
- "body", "valueAssignment"
- });
+ (getAddStatement_TargetVariable(),
+ source,
+ new String[] {
+ "body", "assignment"
+ });
addAnnotation
- (getSetStatement_SlotExpression(),
- source,
- new String[] {
- "body", "slotAssignment"
- });
+ (getAddStatement_Value(),
+ source,
+ new String[] {
+ "body", "valueAssignment"
+ });
addAnnotation
- (getSetStatement_TargetProperty(),
- source,
- new String[] {
- "body", "assignment"
- });
+ (getCheckStatement_ConditionExpression(),
+ source,
+ new String[] {
+ "body", "predicate"
+ });
addAnnotation
- (getSetStatement_Value(),
- source,
- new String[] {
- "body", "valueAssignment"
- });
+ (getSetStatement_TargetVariable(),
+ source,
+ new String[] {
+ "body", "assignment"
+ });
addAnnotation
- (getVariableAssignment_TargetVariable(),
- source,
- new String[] {
- "body", "assignment"
- });
+ (getSetStatement_TargetProperty(),
+ source,
+ new String[] {
+ "body", "assignment"
+ });
addAnnotation
- (getVariablePredicate_TargetVariable(),
- source,
- new String[] {
- "body", "predicate"
- });
+ (getSetStatement_Value(),
+ source,
+ new String[] {
+ "body", "valueAssignment"
+ });
}
} //QVTimperativePackageImpl
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/SetStatementImpl.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/SetStatementImpl.java
index 6d1bd1ba6..ea5129aee 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/SetStatementImpl.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/SetStatementImpl.java
@@ -16,23 +16,16 @@ package org.eclipse.qvtd.pivot.qvtimperative.impl;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
-
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
-
import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
import org.eclipse.jdt.annotation.NonNull;
-
import org.eclipse.ocl.pivot.OCLExpression;
import org.eclipse.ocl.pivot.Property;
-import org.eclipse.ocl.pivot.VariableExp;
-
+import org.eclipse.ocl.pivot.VariableDeclaration;
import org.eclipse.ocl.pivot.util.Visitor;
-
import org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage;
import org.eclipse.qvtd.pivot.qvtimperative.SetStatement;
-
import org.eclipse.qvtd.pivot.qvtimperative.util.QVTimperativeVisitor;
/**
@@ -43,24 +36,25 @@ import org.eclipse.qvtd.pivot.qvtimperative.util.QVTimperativeVisitor;
* The following features are implemented:
* </p>
* <ul>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.SetStatementImpl#getSlotExpression <em>Slot Expression</em>}</li>
+ * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.SetStatementImpl#getTargetVariable <em>Target Variable</em>}</li>
* <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.SetStatementImpl#getTargetProperty <em>Target Property</em>}</li>
* <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.SetStatementImpl#getValue <em>Value</em>}</li>
* <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.SetStatementImpl#isIsOpposite <em>Is Opposite</em>}</li>
+ * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.SetStatementImpl#isIsEmit <em>Is Emit</em>}</li>
* </ul>
*
* @generated
*/
-public class SetStatementImpl extends BottomStatementImpl implements SetStatement {
+public class SetStatementImpl extends StatementImpl implements SetStatement {
/**
- * The cached value of the '{@link #getSlotExpression() <em>Slot Expression</em>}' containment reference.
+ * The cached value of the '{@link #getTargetVariable() <em>Target Variable</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getSlotExpression()
+ * @see #getTargetVariable()
* @generated
* @ordered
*/
- protected VariableExp slotExpression;
+ protected VariableDeclaration targetVariable;
/**
* The cached value of the '{@link #getTargetProperty() <em>Target Property</em>}' reference.
@@ -103,13 +97,24 @@ public class SetStatementImpl extends BottomStatementImpl implements SetStatemen
protected boolean isOpposite = IS_OPPOSITE_EDEFAULT;
/**
- * This is true if the Is Opposite attribute has been set.
+ * The default value of the '{@link #isIsEmit() <em>Is Emit</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsEmit()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean IS_EMIT_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isIsEmit() <em>Is Emit</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see #isIsEmit()
* @generated
* @ordered
*/
- protected boolean isOppositeESet;
+ protected boolean isEmit = IS_EMIT_EDEFAULT;
/**
* <!-- begin-user-doc -->
@@ -136,8 +141,16 @@ public class SetStatementImpl extends BottomStatementImpl implements SetStatemen
* @generated
*/
@Override
- public VariableExp getSlotExpression() {
- return slotExpression;
+ public VariableDeclaration getTargetVariable() {
+ if (targetVariable != null && targetVariable.eIsProxy()) {
+ InternalEObject oldTargetVariable = (InternalEObject)targetVariable;
+ targetVariable = (VariableDeclaration)eResolveProxy(oldTargetVariable);
+ if (targetVariable != oldTargetVariable) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, QVTimperativePackage.SET_STATEMENT__TARGET_VARIABLE, oldTargetVariable, targetVariable));
+ }
+ }
+ return targetVariable;
}
/**
@@ -145,14 +158,8 @@ public class SetStatementImpl extends BottomStatementImpl implements SetStatemen
* <!-- end-user-doc -->
* @generated
*/
- public NotificationChain basicSetSlotExpression(VariableExp newSlotExpression, NotificationChain msgs) {
- VariableExp oldSlotExpression = slotExpression;
- slotExpression = newSlotExpression;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, QVTimperativePackage.SET_STATEMENT__SLOT_EXPRESSION, oldSlotExpression, newSlotExpression);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
+ public VariableDeclaration basicGetTargetVariable() {
+ return targetVariable;
}
/**
@@ -161,18 +168,11 @@ public class SetStatementImpl extends BottomStatementImpl implements SetStatemen
* @generated
*/
@Override
- public void setSlotExpression(VariableExp newSlotExpression) {
- if (newSlotExpression != slotExpression) {
- NotificationChain msgs = null;
- if (slotExpression != null)
- msgs = ((InternalEObject)slotExpression).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - QVTimperativePackage.SET_STATEMENT__SLOT_EXPRESSION, null, msgs);
- if (newSlotExpression != null)
- msgs = ((InternalEObject)newSlotExpression).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - QVTimperativePackage.SET_STATEMENT__SLOT_EXPRESSION, null, msgs);
- msgs = basicSetSlotExpression(newSlotExpression, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativePackage.SET_STATEMENT__SLOT_EXPRESSION, newSlotExpression, newSlotExpression));
+ public void setTargetVariable(VariableDeclaration newTargetVariable) {
+ VariableDeclaration oldTargetVariable = targetVariable;
+ targetVariable = newTargetVariable;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativePackage.SET_STATEMENT__TARGET_VARIABLE, oldTargetVariable, targetVariable));
}
/**
@@ -279,10 +279,8 @@ public class SetStatementImpl extends BottomStatementImpl implements SetStatemen
public void setIsOpposite(boolean newIsOpposite) {
boolean oldIsOpposite = isOpposite;
isOpposite = newIsOpposite;
- boolean oldIsOppositeESet = isOppositeESet;
- isOppositeESet = true;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativePackage.SET_STATEMENT__IS_OPPOSITE, oldIsOpposite, isOpposite, !oldIsOppositeESet));
+ eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativePackage.SET_STATEMENT__IS_OPPOSITE, oldIsOpposite, isOpposite));
}
/**
@@ -291,13 +289,8 @@ public class SetStatementImpl extends BottomStatementImpl implements SetStatemen
* @generated
*/
@Override
- public void unsetIsOpposite() {
- boolean oldIsOpposite = isOpposite;
- boolean oldIsOppositeESet = isOppositeESet;
- isOpposite = IS_OPPOSITE_EDEFAULT;
- isOppositeESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, QVTimperativePackage.SET_STATEMENT__IS_OPPOSITE, oldIsOpposite, IS_OPPOSITE_EDEFAULT, oldIsOppositeESet));
+ public boolean isIsEmit() {
+ return isEmit;
}
/**
@@ -306,8 +299,11 @@ public class SetStatementImpl extends BottomStatementImpl implements SetStatemen
* @generated
*/
@Override
- public boolean isSetIsOpposite() {
- return isOppositeESet;
+ public void setIsEmit(boolean newIsEmit) {
+ boolean oldIsEmit = isEmit;
+ isEmit = newIsEmit;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativePackage.SET_STATEMENT__IS_EMIT, oldIsEmit, isEmit));
}
/**
@@ -328,8 +324,6 @@ public class SetStatementImpl extends BottomStatementImpl implements SetStatemen
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case QVTimperativePackage.SET_STATEMENT__SLOT_EXPRESSION:
- return basicSetSlotExpression(null, msgs);
case QVTimperativePackage.SET_STATEMENT__VALUE:
return basicSetValue(null, msgs);
}
@@ -344,8 +338,9 @@ public class SetStatementImpl extends BottomStatementImpl implements SetStatemen
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case QVTimperativePackage.SET_STATEMENT__SLOT_EXPRESSION:
- return getSlotExpression();
+ case QVTimperativePackage.SET_STATEMENT__TARGET_VARIABLE:
+ if (resolve) return getTargetVariable();
+ return basicGetTargetVariable();
case QVTimperativePackage.SET_STATEMENT__TARGET_PROPERTY:
if (resolve) return getTargetProperty();
return basicGetTargetProperty();
@@ -353,6 +348,8 @@ public class SetStatementImpl extends BottomStatementImpl implements SetStatemen
return getValue();
case QVTimperativePackage.SET_STATEMENT__IS_OPPOSITE:
return isIsOpposite();
+ case QVTimperativePackage.SET_STATEMENT__IS_EMIT:
+ return isIsEmit();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -365,8 +362,8 @@ public class SetStatementImpl extends BottomStatementImpl implements SetStatemen
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case QVTimperativePackage.SET_STATEMENT__SLOT_EXPRESSION:
- setSlotExpression((VariableExp)newValue);
+ case QVTimperativePackage.SET_STATEMENT__TARGET_VARIABLE:
+ setTargetVariable((VariableDeclaration)newValue);
return;
case QVTimperativePackage.SET_STATEMENT__TARGET_PROPERTY:
setTargetProperty((Property)newValue);
@@ -377,6 +374,9 @@ public class SetStatementImpl extends BottomStatementImpl implements SetStatemen
case QVTimperativePackage.SET_STATEMENT__IS_OPPOSITE:
setIsOpposite((Boolean)newValue);
return;
+ case QVTimperativePackage.SET_STATEMENT__IS_EMIT:
+ setIsEmit((Boolean)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -389,8 +389,8 @@ public class SetStatementImpl extends BottomStatementImpl implements SetStatemen
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case QVTimperativePackage.SET_STATEMENT__SLOT_EXPRESSION:
- setSlotExpression((VariableExp)null);
+ case QVTimperativePackage.SET_STATEMENT__TARGET_VARIABLE:
+ setTargetVariable((VariableDeclaration)null);
return;
case QVTimperativePackage.SET_STATEMENT__TARGET_PROPERTY:
setTargetProperty((Property)null);
@@ -399,7 +399,10 @@ public class SetStatementImpl extends BottomStatementImpl implements SetStatemen
setValue((OCLExpression)null);
return;
case QVTimperativePackage.SET_STATEMENT__IS_OPPOSITE:
- unsetIsOpposite();
+ setIsOpposite(IS_OPPOSITE_EDEFAULT);
+ return;
+ case QVTimperativePackage.SET_STATEMENT__IS_EMIT:
+ setIsEmit(IS_EMIT_EDEFAULT);
return;
}
super.eUnset(featureID);
@@ -413,14 +416,16 @@ public class SetStatementImpl extends BottomStatementImpl implements SetStatemen
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case QVTimperativePackage.SET_STATEMENT__SLOT_EXPRESSION:
- return slotExpression != null;
+ case QVTimperativePackage.SET_STATEMENT__TARGET_VARIABLE:
+ return targetVariable != null;
case QVTimperativePackage.SET_STATEMENT__TARGET_PROPERTY:
return targetProperty != null;
case QVTimperativePackage.SET_STATEMENT__VALUE:
return value != null;
case QVTimperativePackage.SET_STATEMENT__IS_OPPOSITE:
- return isSetIsOpposite();
+ return isOpposite != IS_OPPOSITE_EDEFAULT;
+ case QVTimperativePackage.SET_STATEMENT__IS_EMIT:
+ return isEmit != IS_EMIT_EDEFAULT;
}
return super.eIsSet(featureID);
}
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/VariablePredicateImpl.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/VariablePredicateImpl.java
deleted file mode 100644
index 07bdfe65c..000000000
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/VariablePredicateImpl.java
+++ /dev/null
@@ -1,177 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2013, 2016 Willink Transformations and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * E.D.Willink - Initial API and implementation
- *******************************************************************************/
-package org.eclipse.qvtd.pivot.qvtimperative.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.jdt.annotation.NonNull;
-import org.eclipse.ocl.pivot.Variable;
-import org.eclipse.ocl.pivot.util.Visitor;
-import org.eclipse.qvtd.pivot.qvtbase.impl.PredicateImpl;
-import org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage;
-import org.eclipse.qvtd.pivot.qvtimperative.VariablePredicate;
-import org.eclipse.qvtd.pivot.qvtimperative.util.QVTimperativeVisitor;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Variable Predicate</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.VariablePredicateImpl#getTargetVariable <em>Target Variable</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class VariablePredicateImpl extends PredicateImpl implements VariablePredicate {
- /**
- * The cached value of the '{@link #getTargetVariable() <em>Target Variable</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTargetVariable()
- * @generated
- * @ordered
- */
- protected Variable targetVariable;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected VariablePredicateImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return QVTimperativePackage.Literals.VARIABLE_PREDICATE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Variable getTargetVariable() {
- if (targetVariable != null && targetVariable.eIsProxy()) {
- InternalEObject oldTargetVariable = (InternalEObject)targetVariable;
- targetVariable = (Variable)eResolveProxy(oldTargetVariable);
- if (targetVariable != oldTargetVariable) {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, QVTimperativePackage.VARIABLE_PREDICATE__TARGET_VARIABLE, oldTargetVariable, targetVariable));
- }
- }
- return targetVariable;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Variable basicGetTargetVariable() {
- return targetVariable;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void setTargetVariable(Variable newTargetVariable) {
- Variable oldTargetVariable = targetVariable;
- targetVariable = newTargetVariable;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativePackage.VARIABLE_PREDICATE__TARGET_VARIABLE, oldTargetVariable, targetVariable));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case QVTimperativePackage.VARIABLE_PREDICATE__TARGET_VARIABLE:
- if (resolve) return getTargetVariable();
- return basicGetTargetVariable();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case QVTimperativePackage.VARIABLE_PREDICATE__TARGET_VARIABLE:
- setTargetVariable((Variable)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case QVTimperativePackage.VARIABLE_PREDICATE__TARGET_VARIABLE:
- setTargetVariable((Variable)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case QVTimperativePackage.VARIABLE_PREDICATE__TARGET_VARIABLE:
- return targetVariable != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * {@inheritDoc}
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public <R> R accept(@NonNull Visitor<R> visitor) {
- return (R) ((QVTimperativeVisitor<?>)visitor).visitVariablePredicate(this);
- }
-
-} //VariablePredicateImpl
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/BottomStatementImpl.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/VariableStatementImpl.java
index 89b83a46a..c2c4a8545 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/BottomStatementImpl.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/VariableStatementImpl.java
@@ -16,23 +16,25 @@ package org.eclipse.qvtd.pivot.qvtimperative.impl;
import org.eclipse.emf.ecore.EClass;
-import org.eclipse.qvtd.pivot.qvtimperative.BottomStatement;
+import org.eclipse.ocl.pivot.internal.VariableDeclarationImpl;
+
import org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage;
+import org.eclipse.qvtd.pivot.qvtimperative.VariableStatement;
/**
* <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Bottom Statement</b></em>'.
+ * An implementation of the model object '<em><b>Variable Statement</b></em>'.
* <!-- end-user-doc -->
*
* @generated
*/
-public abstract class BottomStatementImpl extends StatementImpl implements BottomStatement {
+public abstract class VariableStatementImpl extends VariableDeclarationImpl implements VariableStatement {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- protected BottomStatementImpl() {
+ protected VariableStatementImpl() {
super();
}
@@ -43,8 +45,8 @@ public abstract class BottomStatementImpl extends StatementImpl implements Botto
*/
@Override
protected EClass eStaticClass() {
- return QVTimperativePackage.Literals.BOTTOM_STATEMENT;
+ return QVTimperativePackage.Literals.VARIABLE_STATEMENT;
}
-} //BottomStatementImpl
+} //VariableStatementImpl
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractDelegatingQVTimperativeVisitor.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractDelegatingQVTimperativeVisitor.java
index c2f4415b8..78f043d64 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractDelegatingQVTimperativeVisitor.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractDelegatingQVTimperativeVisitor.java
@@ -41,18 +41,8 @@ public abstract class AbstractDelegatingQVTimperativeVisitor<R, C, @NonNull D ex
}
@Override
- public R visitAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Assignment object) {
- return delegate.visitAssignment(object);
- }
-
- @Override
- public R visitBottomPattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomPattern object) {
- return delegate.visitBottomPattern(object);
- }
-
- @Override
- public R visitBottomStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomStatement object) {
- return delegate.visitBottomStatement(object);
+ public R visitCheckStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull CheckStatement object) {
+ return delegate.visitCheckStatement(object);
}
@Override
@@ -61,8 +51,8 @@ public abstract class AbstractDelegatingQVTimperativeVisitor<R, C, @NonNull D ex
}
@Override
- public R visitGuardPattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull GuardPattern object) {
- return delegate.visitGuardPattern(object);
+ public R visitGuardVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull GuardVariable object) {
+ return delegate.visitGuardVariable(object);
}
@Override
@@ -76,8 +66,13 @@ public abstract class AbstractDelegatingQVTimperativeVisitor<R, C, @NonNull D ex
}
@Override
- public R visitImperativePattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ImperativePattern object) {
- return delegate.visitImperativePattern(object);
+ public R visitInConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull InConnectionVariable object) {
+ return delegate.visitInConnectionVariable(object);
+ }
+
+ @Override
+ public R visitLoopVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull LoopVariable object) {
+ return delegate.visitLoopVariable(object);
}
@Override
@@ -111,6 +106,16 @@ public abstract class AbstractDelegatingQVTimperativeVisitor<R, C, @NonNull D ex
}
@Override
+ public R visitOutConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull OutConnectionVariable object) {
+ return delegate.visitOutConnectionVariable(object);
+ }
+
+ @Override
+ public R visitPredicateVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull PredicateVariable object) {
+ return delegate.visitPredicateVariable(object);
+ }
+
+ @Override
public R visitSetStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull SetStatement object) {
return delegate.visitSetStatement(object);
}
@@ -121,12 +126,7 @@ public abstract class AbstractDelegatingQVTimperativeVisitor<R, C, @NonNull D ex
}
@Override
- public R visitVariableAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull VariableAssignment object) {
- return delegate.visitVariableAssignment(object);
- }
-
- @Override
- public R visitVariablePredicate(org.eclipse.qvtd.pivot.qvtimperative.@NonNull VariablePredicate object) {
- return delegate.visitVariablePredicate(object);
+ public R visitVariableStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull VariableStatement object) {
+ return delegate.visitVariableStatement(object);
}
}
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractExtendingQVTimperativeVisitor.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractExtendingQVTimperativeVisitor.java
index dab45230d..f7a793bbf 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractExtendingQVTimperativeVisitor.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractExtendingQVTimperativeVisitor.java
@@ -45,28 +45,18 @@ public abstract class AbstractExtendingQVTimperativeVisitor<R, C>
}
@Override
- public R visitAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Assignment object) {
- return visitElement(object);
- }
-
- @Override
- public R visitBottomPattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomPattern object) {
- return visitImperativePattern(object);
- }
-
- @Override
- public R visitBottomStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomStatement object) {
+ public R visitCheckStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull CheckStatement object) {
return visitStatement(object);
}
@Override
public R visitConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionVariable object) {
- return visitVariable(object);
+ return visitVariableDeclaration(object);
}
@Override
- public R visitGuardPattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull GuardPattern object) {
- return visitImperativePattern(object);
+ public R visitGuardVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull GuardVariable object) {
+ return visitVariableDeclaration(object);
}
@Override
@@ -80,8 +70,13 @@ public abstract class AbstractExtendingQVTimperativeVisitor<R, C>
}
@Override
- public R visitImperativePattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ImperativePattern object) {
- return visitPattern(object);
+ public R visitInConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull InConnectionVariable object) {
+ return visitConnectionVariable(object);
+ }
+
+ @Override
+ public R visitLoopVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull LoopVariable object) {
+ return visitVariableDeclaration(object);
}
@Override
@@ -111,26 +106,31 @@ public abstract class AbstractExtendingQVTimperativeVisitor<R, C>
@Override
public R visitNewStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull NewStatement object) {
- return visitVariable(object);
+ return visitVariableStatement(object);
}
@Override
- public R visitSetStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull SetStatement object) {
- return visitBottomStatement(object);
+ public R visitOutConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull OutConnectionVariable object) {
+ return visitConnectionVariable(object);
}
@Override
- public R visitStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Statement object) {
- return visitNamedElement(object);
+ public R visitPredicateVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull PredicateVariable object) {
+ return visitVariableStatement(object);
+ }
+
+ @Override
+ public R visitSetStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull SetStatement object) {
+ return visitStatement(object);
}
@Override
- public R visitVariableAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull VariableAssignment object) {
- return visitAssignment(object);
+ public R visitStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Statement object) {
+ return visitNamedElement(object);
}
@Override
- public R visitVariablePredicate(org.eclipse.qvtd.pivot.qvtimperative.@NonNull VariablePredicate object) {
- return visitPredicate(object);
+ public R visitVariableStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull VariableStatement object) {
+ return visitVariableDeclaration(object);
}
}
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractMergedQVTimperativeVisitor.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractMergedQVTimperativeVisitor.java
index e77ffb6ca..dea859239 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractMergedQVTimperativeVisitor.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractMergedQVTimperativeVisitor.java
@@ -39,42 +39,37 @@ public abstract class AbstractMergedQVTimperativeVisitor<R, C>
}
@Override
- public R visitAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Assignment object) {
+ public R visitCheckStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull CheckStatement object) {
return visiting(object);
}
@Override
- public R visitBottomPattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomPattern object) {
+ public R visitConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionVariable object) {
return visiting(object);
}
@Override
- public R visitBottomStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomStatement object) {
+ public R visitGuardVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull GuardVariable object) {
return visiting(object);
}
@Override
- public R visitConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionVariable object) {
- return visiting(object);
- }
-
- @Override
- public R visitGuardPattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull GuardPattern object) {
+ public R visitImperativeDomain(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ImperativeDomain object) {
return visiting(object);
}
@Override
- public R visitImperativeDomain(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ImperativeDomain object) {
+ public R visitImperativeModel(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ImperativeModel object) {
return visiting(object);
}
@Override
- public R visitImperativeModel(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ImperativeModel object) {
+ public R visitInConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull InConnectionVariable object) {
return visiting(object);
}
@Override
- public R visitImperativePattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ImperativePattern object) {
+ public R visitLoopVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull LoopVariable object) {
return visiting(object);
}
@@ -109,22 +104,27 @@ public abstract class AbstractMergedQVTimperativeVisitor<R, C>
}
@Override
- public R visitSetStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull SetStatement object) {
+ public R visitOutConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull OutConnectionVariable object) {
return visiting(object);
}
@Override
- public R visitStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Statement object) {
+ public R visitPredicateVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull PredicateVariable object) {
return visiting(object);
}
@Override
- public R visitVariableAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull VariableAssignment object) {
+ public R visitSetStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull SetStatement object) {
+ return visiting(object);
+ }
+
+ @Override
+ public R visitStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Statement object) {
return visiting(object);
}
@Override
- public R visitVariablePredicate(org.eclipse.qvtd.pivot.qvtimperative.@NonNull VariablePredicate object) {
+ public R visitVariableStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull VariableStatement object) {
return visiting(object);
}
}
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractNullQVTimperativeVisitor.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractNullQVTimperativeVisitor.java
index b68aed80b..b225266ca 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractNullQVTimperativeVisitor.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractNullQVTimperativeVisitor.java
@@ -45,42 +45,37 @@ public abstract class AbstractNullQVTimperativeVisitor<@Nullable R, C>
}
@Override
- public R visitAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Assignment object) {
+ public R visitCheckStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull CheckStatement object) {
return null;
}
@Override
- public R visitBottomPattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomPattern object) {
+ public R visitConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionVariable object) {
return null;
}
@Override
- public R visitBottomStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomStatement object) {
+ public R visitGuardVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull GuardVariable object) {
return null;
}
@Override
- public R visitConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionVariable object) {
- return null;
- }
-
- @Override
- public R visitGuardPattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull GuardPattern object) {
+ public R visitImperativeDomain(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ImperativeDomain object) {
return null;
}
@Override
- public R visitImperativeDomain(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ImperativeDomain object) {
+ public R visitImperativeModel(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ImperativeModel object) {
return null;
}
@Override
- public R visitImperativeModel(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ImperativeModel object) {
+ public R visitInConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull InConnectionVariable object) {
return null;
}
@Override
- public R visitImperativePattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ImperativePattern object) {
+ public R visitLoopVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull LoopVariable object) {
return null;
}
@@ -115,22 +110,27 @@ public abstract class AbstractNullQVTimperativeVisitor<@Nullable R, C>
}
@Override
- public R visitSetStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull SetStatement object) {
+ public R visitOutConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull OutConnectionVariable object) {
return null;
}
@Override
- public R visitStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Statement object) {
+ public R visitPredicateVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull PredicateVariable object) {
return null;
}
@Override
- public R visitVariableAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull VariableAssignment object) {
+ public R visitSetStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull SetStatement object) {
+ return null;
+ }
+
+ @Override
+ public R visitStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Statement object) {
return null;
}
@Override
- public R visitVariablePredicate(org.eclipse.qvtd.pivot.qvtimperative.@NonNull VariablePredicate object) {
+ public R visitVariableStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull VariableStatement object) {
return null;
}
}
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeAS2MonikerVisitor.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeAS2MonikerVisitor.java
index 934469d11..31f5f804f 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeAS2MonikerVisitor.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeAS2MonikerVisitor.java
@@ -49,28 +49,18 @@ public abstract class AbstractQVTimperativeAS2MonikerVisitor
}
@Override
- public @Nullable Object visitAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Assignment object) {
- return visitElement(object);
- }
-
- @Override
- public @Nullable Object visitBottomPattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomPattern object) {
- return visitImperativePattern(object);
- }
-
- @Override
- public @Nullable Object visitBottomStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomStatement object) {
+ public @Nullable Object visitCheckStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull CheckStatement object) {
return visitStatement(object);
}
@Override
public @Nullable Object visitConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionVariable object) {
- return visitVariable(object);
+ return visitVariableDeclaration(object);
}
@Override
- public @Nullable Object visitGuardPattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull GuardPattern object) {
- return visitImperativePattern(object);
+ public @Nullable Object visitGuardVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull GuardVariable object) {
+ return visitVariableDeclaration(object);
}
@Override
@@ -84,8 +74,13 @@ public abstract class AbstractQVTimperativeAS2MonikerVisitor
}
@Override
- public @Nullable Object visitImperativePattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ImperativePattern object) {
- return visitPattern(object);
+ public @Nullable Object visitInConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull InConnectionVariable object) {
+ return visitConnectionVariable(object);
+ }
+
+ @Override
+ public @Nullable Object visitLoopVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull LoopVariable object) {
+ return visitVariableDeclaration(object);
}
@Override
@@ -115,26 +110,31 @@ public abstract class AbstractQVTimperativeAS2MonikerVisitor
@Override
public @Nullable Object visitNewStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull NewStatement object) {
- return visitVariable(object);
+ return visitVariableStatement(object);
}
@Override
- public @Nullable Object visitSetStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull SetStatement object) {
- return visitBottomStatement(object);
+ public @Nullable Object visitOutConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull OutConnectionVariable object) {
+ return visitConnectionVariable(object);
}
@Override
- public @Nullable Object visitStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Statement object) {
- return visitNamedElement(object);
+ public @Nullable Object visitPredicateVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull PredicateVariable object) {
+ return visitVariableStatement(object);
+ }
+
+ @Override
+ public @Nullable Object visitSetStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull SetStatement object) {
+ return visitStatement(object);
}
@Override
- public @Nullable Object visitVariableAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull VariableAssignment object) {
- return visitAssignment(object);
+ public @Nullable Object visitStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Statement object) {
+ return visitNamedElement(object);
}
@Override
- public @Nullable Object visitVariablePredicate(org.eclipse.qvtd.pivot.qvtimperative.@NonNull VariablePredicate object) {
- return visitPredicate(object);
+ public @Nullable Object visitVariableStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull VariableStatement object) {
+ return visitVariableDeclaration(object);
}
}
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeAS2XMIidVisitor.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeAS2XMIidVisitor.java
index a2192e608..8975ace31 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeAS2XMIidVisitor.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeAS2XMIidVisitor.java
@@ -49,28 +49,18 @@ public abstract class AbstractQVTimperativeAS2XMIidVisitor
}
@Override
- public @Nullable Boolean visitAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Assignment object) {
- return visitElement(object);
- }
-
- @Override
- public @Nullable Boolean visitBottomPattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomPattern object) {
- return visitImperativePattern(object);
- }
-
- @Override
- public @Nullable Boolean visitBottomStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomStatement object) {
+ public @Nullable Boolean visitCheckStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull CheckStatement object) {
return visitStatement(object);
}
@Override
public @Nullable Boolean visitConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionVariable object) {
- return visitVariable(object);
+ return visitVariableDeclaration(object);
}
@Override
- public @Nullable Boolean visitGuardPattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull GuardPattern object) {
- return visitImperativePattern(object);
+ public @Nullable Boolean visitGuardVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull GuardVariable object) {
+ return visitVariableDeclaration(object);
}
@Override
@@ -84,8 +74,13 @@ public abstract class AbstractQVTimperativeAS2XMIidVisitor
}
@Override
- public @Nullable Boolean visitImperativePattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ImperativePattern object) {
- return visitPattern(object);
+ public @Nullable Boolean visitInConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull InConnectionVariable object) {
+ return visitConnectionVariable(object);
+ }
+
+ @Override
+ public @Nullable Boolean visitLoopVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull LoopVariable object) {
+ return visitVariableDeclaration(object);
}
@Override
@@ -115,26 +110,31 @@ public abstract class AbstractQVTimperativeAS2XMIidVisitor
@Override
public @Nullable Boolean visitNewStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull NewStatement object) {
- return visitVariable(object);
+ return visitVariableStatement(object);
}
@Override
- public @Nullable Boolean visitSetStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull SetStatement object) {
- return visitBottomStatement(object);
+ public @Nullable Boolean visitOutConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull OutConnectionVariable object) {
+ return visitConnectionVariable(object);
}
@Override
- public @Nullable Boolean visitStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Statement object) {
- return visitNamedElement(object);
+ public @Nullable Boolean visitPredicateVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull PredicateVariable object) {
+ return visitVariableStatement(object);
+ }
+
+ @Override
+ public @Nullable Boolean visitSetStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull SetStatement object) {
+ return visitStatement(object);
}
@Override
- public @Nullable Boolean visitVariableAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull VariableAssignment object) {
- return visitAssignment(object);
+ public @Nullable Boolean visitStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Statement object) {
+ return visitNamedElement(object);
}
@Override
- public @Nullable Boolean visitVariablePredicate(org.eclipse.qvtd.pivot.qvtimperative.@NonNull VariablePredicate object) {
- return visitPredicate(object);
+ public @Nullable Boolean visitVariableStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull VariableStatement object) {
+ return visitVariableDeclaration(object);
}
}
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeASSaverLocateVisitor.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeASSaverLocateVisitor.java
index 26a79a4e0..b7af0fb2c 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeASSaverLocateVisitor.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeASSaverLocateVisitor.java
@@ -49,28 +49,18 @@ public abstract class AbstractQVTimperativeASSaverLocateVisitor
}
@Override
- public @Nullable Object visitAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Assignment object) {
- return visitElement(object);
- }
-
- @Override
- public @Nullable Object visitBottomPattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomPattern object) {
- return visitImperativePattern(object);
- }
-
- @Override
- public @Nullable Object visitBottomStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomStatement object) {
+ public @Nullable Object visitCheckStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull CheckStatement object) {
return visitStatement(object);
}
@Override
public @Nullable Object visitConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionVariable object) {
- return visitVariable(object);
+ return visitVariableDeclaration(object);
}
@Override
- public @Nullable Object visitGuardPattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull GuardPattern object) {
- return visitImperativePattern(object);
+ public @Nullable Object visitGuardVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull GuardVariable object) {
+ return visitVariableDeclaration(object);
}
@Override
@@ -84,8 +74,13 @@ public abstract class AbstractQVTimperativeASSaverLocateVisitor
}
@Override
- public @Nullable Object visitImperativePattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ImperativePattern object) {
- return visitPattern(object);
+ public @Nullable Object visitInConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull InConnectionVariable object) {
+ return visitConnectionVariable(object);
+ }
+
+ @Override
+ public @Nullable Object visitLoopVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull LoopVariable object) {
+ return visitVariableDeclaration(object);
}
@Override
@@ -115,26 +110,31 @@ public abstract class AbstractQVTimperativeASSaverLocateVisitor
@Override
public @Nullable Object visitNewStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull NewStatement object) {
- return visitVariable(object);
+ return visitVariableStatement(object);
}
@Override
- public @Nullable Object visitSetStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull SetStatement object) {
- return visitBottomStatement(object);
+ public @Nullable Object visitOutConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull OutConnectionVariable object) {
+ return visitConnectionVariable(object);
}
@Override
- public @Nullable Object visitStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Statement object) {
- return visitNamedElement(object);
+ public @Nullable Object visitPredicateVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull PredicateVariable object) {
+ return visitVariableStatement(object);
+ }
+
+ @Override
+ public @Nullable Object visitSetStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull SetStatement object) {
+ return visitStatement(object);
}
@Override
- public @Nullable Object visitVariableAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull VariableAssignment object) {
- return visitAssignment(object);
+ public @Nullable Object visitStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Statement object) {
+ return visitNamedElement(object);
}
@Override
- public @Nullable Object visitVariablePredicate(org.eclipse.qvtd.pivot.qvtimperative.@NonNull VariablePredicate object) {
- return visitPredicate(object);
+ public @Nullable Object visitVariableStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull VariableStatement object) {
+ return visitVariableDeclaration(object);
}
}
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeASSaverNormalizeVisitor.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeASSaverNormalizeVisitor.java
index 8d88ad0f8..af689a9c5 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeASSaverNormalizeVisitor.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeASSaverNormalizeVisitor.java
@@ -51,28 +51,18 @@ public abstract class AbstractQVTimperativeASSaverNormalizeVisitor
}
@Override
- public @Nullable Object visitAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Assignment object) {
- return visitElement(object);
- }
-
- @Override
- public @Nullable Object visitBottomPattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomPattern object) {
- return visitImperativePattern(object);
- }
-
- @Override
- public @Nullable Object visitBottomStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomStatement object) {
+ public @Nullable Object visitCheckStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull CheckStatement object) {
return visitStatement(object);
}
@Override
public @Nullable Object visitConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionVariable object) {
- return visitVariable(object);
+ return visitVariableDeclaration(object);
}
@Override
- public @Nullable Object visitGuardPattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull GuardPattern object) {
- return visitImperativePattern(object);
+ public @Nullable Object visitGuardVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull GuardVariable object) {
+ return visitVariableDeclaration(object);
}
@Override
@@ -86,8 +76,13 @@ public abstract class AbstractQVTimperativeASSaverNormalizeVisitor
}
@Override
- public @Nullable Object visitImperativePattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ImperativePattern object) {
- return visitPattern(object);
+ public @Nullable Object visitInConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull InConnectionVariable object) {
+ return visitConnectionVariable(object);
+ }
+
+ @Override
+ public @Nullable Object visitLoopVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull LoopVariable object) {
+ return visitVariableDeclaration(object);
}
@Override
@@ -117,26 +112,31 @@ public abstract class AbstractQVTimperativeASSaverNormalizeVisitor
@Override
public @Nullable Object visitNewStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull NewStatement object) {
- return visitVariable(object);
+ return visitVariableStatement(object);
}
@Override
- public @Nullable Object visitSetStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull SetStatement object) {
- return visitBottomStatement(object);
+ public @Nullable Object visitOutConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull OutConnectionVariable object) {
+ return visitConnectionVariable(object);
}
@Override
- public @Nullable Object visitStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Statement object) {
- return visitNamedElement(object);
+ public @Nullable Object visitPredicateVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull PredicateVariable object) {
+ return visitVariableStatement(object);
+ }
+
+ @Override
+ public @Nullable Object visitSetStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull SetStatement object) {
+ return visitStatement(object);
}
@Override
- public @Nullable Object visitVariableAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull VariableAssignment object) {
- return visitAssignment(object);
+ public @Nullable Object visitStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Statement object) {
+ return visitNamedElement(object);
}
@Override
- public @Nullable Object visitVariablePredicate(org.eclipse.qvtd.pivot.qvtimperative.@NonNull VariablePredicate object) {
- return visitPredicate(object);
+ public @Nullable Object visitVariableStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull VariableStatement object) {
+ return visitVariableDeclaration(object);
}
}
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeASSaverResolveVisitor.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeASSaverResolveVisitor.java
index 086c47c6c..129529663 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeASSaverResolveVisitor.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeASSaverResolveVisitor.java
@@ -49,28 +49,18 @@ public abstract class AbstractQVTimperativeASSaverResolveVisitor
}
@Override
- public @Nullable Object visitAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Assignment object) {
- return visitElement(object);
- }
-
- @Override
- public @Nullable Object visitBottomPattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomPattern object) {
- return visitImperativePattern(object);
- }
-
- @Override
- public @Nullable Object visitBottomStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomStatement object) {
+ public @Nullable Object visitCheckStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull CheckStatement object) {
return visitStatement(object);
}
@Override
public @Nullable Object visitConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionVariable object) {
- return visitVariable(object);
+ return visitVariableDeclaration(object);
}
@Override
- public @Nullable Object visitGuardPattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull GuardPattern object) {
- return visitImperativePattern(object);
+ public @Nullable Object visitGuardVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull GuardVariable object) {
+ return visitVariableDeclaration(object);
}
@Override
@@ -84,8 +74,13 @@ public abstract class AbstractQVTimperativeASSaverResolveVisitor
}
@Override
- public @Nullable Object visitImperativePattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ImperativePattern object) {
- return visitPattern(object);
+ public @Nullable Object visitInConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull InConnectionVariable object) {
+ return visitConnectionVariable(object);
+ }
+
+ @Override
+ public @Nullable Object visitLoopVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull LoopVariable object) {
+ return visitVariableDeclaration(object);
}
@Override
@@ -115,26 +110,31 @@ public abstract class AbstractQVTimperativeASSaverResolveVisitor
@Override
public @Nullable Object visitNewStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull NewStatement object) {
- return visitVariable(object);
+ return visitVariableStatement(object);
}
@Override
- public @Nullable Object visitSetStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull SetStatement object) {
- return visitBottomStatement(object);
+ public @Nullable Object visitOutConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull OutConnectionVariable object) {
+ return visitConnectionVariable(object);
}
@Override
- public @Nullable Object visitStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Statement object) {
- return visitNamedElement(object);
+ public @Nullable Object visitPredicateVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull PredicateVariable object) {
+ return visitVariableStatement(object);
+ }
+
+ @Override
+ public @Nullable Object visitSetStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull SetStatement object) {
+ return visitStatement(object);
}
@Override
- public @Nullable Object visitVariableAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull VariableAssignment object) {
- return visitAssignment(object);
+ public @Nullable Object visitStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Statement object) {
+ return visitNamedElement(object);
}
@Override
- public @Nullable Object visitVariablePredicate(org.eclipse.qvtd.pivot.qvtimperative.@NonNull VariablePredicate object) {
- return visitPredicate(object);
+ public @Nullable Object visitVariableStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull VariableStatement object) {
+ return visitVariableDeclaration(object);
}
}
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeTemplateParameterSubstitutionVisitor.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeTemplateParameterSubstitutionVisitor.java
index a290a18e2..59d982ec3 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeTemplateParameterSubstitutionVisitor.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeTemplateParameterSubstitutionVisitor.java
@@ -52,28 +52,18 @@ public abstract class AbstractQVTimperativeTemplateParameterSubstitutionVisitor
}
@Override
- public @Nullable Object visitAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Assignment object) {
- return visitElement(object);
- }
-
- @Override
- public @Nullable Object visitBottomPattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomPattern object) {
- return visitImperativePattern(object);
- }
-
- @Override
- public @Nullable Object visitBottomStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomStatement object) {
+ public @Nullable Object visitCheckStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull CheckStatement object) {
return visitStatement(object);
}
@Override
public @Nullable Object visitConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionVariable object) {
- return visitVariable(object);
+ return visitVariableDeclaration(object);
}
@Override
- public @Nullable Object visitGuardPattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull GuardPattern object) {
- return visitImperativePattern(object);
+ public @Nullable Object visitGuardVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull GuardVariable object) {
+ return visitVariableDeclaration(object);
}
@Override
@@ -87,8 +77,13 @@ public abstract class AbstractQVTimperativeTemplateParameterSubstitutionVisitor
}
@Override
- public @Nullable Object visitImperativePattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ImperativePattern object) {
- return visitPattern(object);
+ public @Nullable Object visitInConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull InConnectionVariable object) {
+ return visitConnectionVariable(object);
+ }
+
+ @Override
+ public @Nullable Object visitLoopVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull LoopVariable object) {
+ return visitVariableDeclaration(object);
}
@Override
@@ -118,26 +113,31 @@ public abstract class AbstractQVTimperativeTemplateParameterSubstitutionVisitor
@Override
public @Nullable Object visitNewStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull NewStatement object) {
- return visitVariable(object);
+ return visitVariableStatement(object);
}
@Override
- public @Nullable Object visitSetStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull SetStatement object) {
- return visitBottomStatement(object);
+ public @Nullable Object visitOutConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull OutConnectionVariable object) {
+ return visitConnectionVariable(object);
}
@Override
- public @Nullable Object visitStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Statement object) {
- return visitNamedElement(object);
+ public @Nullable Object visitPredicateVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull PredicateVariable object) {
+ return visitVariableStatement(object);
+ }
+
+ @Override
+ public @Nullable Object visitSetStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull SetStatement object) {
+ return visitStatement(object);
}
@Override
- public @Nullable Object visitVariableAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull VariableAssignment object) {
- return visitAssignment(object);
+ public @Nullable Object visitStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Statement object) {
+ return visitNamedElement(object);
}
@Override
- public @Nullable Object visitVariablePredicate(org.eclipse.qvtd.pivot.qvtimperative.@NonNull VariablePredicate object) {
- return visitPredicate(object);
+ public @Nullable Object visitVariableStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull VariableStatement object) {
+ return visitVariableDeclaration(object);
}
}
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractWrappingQVTimperativeVisitor.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractWrappingQVTimperativeVisitor.java
index 76e5b1355..5be90f639 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractWrappingQVTimperativeVisitor.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractWrappingQVTimperativeVisitor.java
@@ -44,10 +44,10 @@ public abstract class AbstractWrappingQVTimperativeVisitor<R, C, @NonNull D exte
}
@Override
- public R visitAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Assignment object) {
+ public R visitCheckStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull CheckStatement object) {
@Nullable P prologue = preVisit(object);
try {
- R result = delegate.visitAssignment(object);
+ R result = delegate.visitCheckStatement(object);
return postVisit(object, prologue, result);
}
catch (Throwable e) {
@@ -56,22 +56,10 @@ public abstract class AbstractWrappingQVTimperativeVisitor<R, C, @NonNull D exte
}
@Override
- public R visitBottomPattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomPattern object) {
- @Nullable P prologue = preVisit(object);
- try {
- R result = delegate.visitBottomPattern(object);
- return postVisit(object, prologue, result);
- }
- catch (Throwable e) {
- return badVisit(object, prologue, e);
- }
- }
-
- @Override
- public R visitBottomStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomStatement object) {
+ public R visitConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionVariable object) {
@Nullable P prologue = preVisit(object);
try {
- R result = delegate.visitBottomStatement(object);
+ R result = delegate.visitConnectionVariable(object);
return postVisit(object, prologue, result);
}
catch (Throwable e) {
@@ -80,10 +68,10 @@ public abstract class AbstractWrappingQVTimperativeVisitor<R, C, @NonNull D exte
}
@Override
- public R visitConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionVariable object) {
+ public R visitGuardVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull GuardVariable object) {
@Nullable P prologue = preVisit(object);
try {
- R result = delegate.visitConnectionVariable(object);
+ R result = delegate.visitGuardVariable(object);
return postVisit(object, prologue, result);
}
catch (Throwable e) {
@@ -92,10 +80,10 @@ public abstract class AbstractWrappingQVTimperativeVisitor<R, C, @NonNull D exte
}
@Override
- public R visitGuardPattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull GuardPattern object) {
+ public R visitImperativeDomain(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ImperativeDomain object) {
@Nullable P prologue = preVisit(object);
try {
- R result = delegate.visitGuardPattern(object);
+ R result = delegate.visitImperativeDomain(object);
return postVisit(object, prologue, result);
}
catch (Throwable e) {
@@ -104,10 +92,10 @@ public abstract class AbstractWrappingQVTimperativeVisitor<R, C, @NonNull D exte
}
@Override
- public R visitImperativeDomain(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ImperativeDomain object) {
+ public R visitImperativeModel(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ImperativeModel object) {
@Nullable P prologue = preVisit(object);
try {
- R result = delegate.visitImperativeDomain(object);
+ R result = delegate.visitImperativeModel(object);
return postVisit(object, prologue, result);
}
catch (Throwable e) {
@@ -116,10 +104,10 @@ public abstract class AbstractWrappingQVTimperativeVisitor<R, C, @NonNull D exte
}
@Override
- public R visitImperativeModel(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ImperativeModel object) {
+ public R visitInConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull InConnectionVariable object) {
@Nullable P prologue = preVisit(object);
try {
- R result = delegate.visitImperativeModel(object);
+ R result = delegate.visitInConnectionVariable(object);
return postVisit(object, prologue, result);
}
catch (Throwable e) {
@@ -128,10 +116,10 @@ public abstract class AbstractWrappingQVTimperativeVisitor<R, C, @NonNull D exte
}
@Override
- public R visitImperativePattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ImperativePattern object) {
+ public R visitLoopVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull LoopVariable object) {
@Nullable P prologue = preVisit(object);
try {
- R result = delegate.visitImperativePattern(object);
+ R result = delegate.visitLoopVariable(object);
return postVisit(object, prologue, result);
}
catch (Throwable e) {
@@ -212,10 +200,10 @@ public abstract class AbstractWrappingQVTimperativeVisitor<R, C, @NonNull D exte
}
@Override
- public R visitSetStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull SetStatement object) {
+ public R visitOutConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull OutConnectionVariable object) {
@Nullable P prologue = preVisit(object);
try {
- R result = delegate.visitSetStatement(object);
+ R result = delegate.visitOutConnectionVariable(object);
return postVisit(object, prologue, result);
}
catch (Throwable e) {
@@ -224,10 +212,22 @@ public abstract class AbstractWrappingQVTimperativeVisitor<R, C, @NonNull D exte
}
@Override
- public R visitStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Statement object) {
+ public R visitPredicateVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull PredicateVariable object) {
@Nullable P prologue = preVisit(object);
try {
- R result = delegate.visitStatement(object);
+ R result = delegate.visitPredicateVariable(object);
+ return postVisit(object, prologue, result);
+ }
+ catch (Throwable e) {
+ return badVisit(object, prologue, e);
+ }
+ }
+
+ @Override
+ public R visitSetStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull SetStatement object) {
+ @Nullable P prologue = preVisit(object);
+ try {
+ R result = delegate.visitSetStatement(object);
return postVisit(object, prologue, result);
}
catch (Throwable e) {
@@ -236,10 +236,10 @@ public abstract class AbstractWrappingQVTimperativeVisitor<R, C, @NonNull D exte
}
@Override
- public R visitVariableAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull VariableAssignment object) {
+ public R visitStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Statement object) {
@Nullable P prologue = preVisit(object);
try {
- R result = delegate.visitVariableAssignment(object);
+ R result = delegate.visitStatement(object);
return postVisit(object, prologue, result);
}
catch (Throwable e) {
@@ -248,10 +248,10 @@ public abstract class AbstractWrappingQVTimperativeVisitor<R, C, @NonNull D exte
}
@Override
- public R visitVariablePredicate(org.eclipse.qvtd.pivot.qvtimperative.@NonNull VariablePredicate object) {
+ public R visitVariableStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull VariableStatement object) {
@Nullable P prologue = preVisit(object);
try {
- R result = delegate.visitVariablePredicate(object);
+ R result = delegate.visitVariableStatement(object);
return postVisit(object, prologue, result);
}
catch (Throwable e) {
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/QVTimperativeAdapterFactory.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/QVTimperativeAdapterFactory.java
index b2df79473..1a75b666d 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/QVTimperativeAdapterFactory.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/QVTimperativeAdapterFactory.java
@@ -21,36 +21,32 @@ import org.eclipse.ocl.pivot.NamedElement;
import org.eclipse.ocl.pivot.Namespace;
import org.eclipse.ocl.pivot.ReferringElement;
import org.eclipse.ocl.pivot.TypedElement;
-import org.eclipse.ocl.pivot.Variable;
import org.eclipse.ocl.pivot.VariableDeclaration;
import org.eclipse.ocl.pivot.util.Visitable;
import org.eclipse.ocl.pivot.utilities.Nameable;
import org.eclipse.qvtd.pivot.qvtbase.BaseModel;
import org.eclipse.qvtd.pivot.qvtbase.Domain;
-import org.eclipse.qvtd.pivot.qvtbase.Pattern;
-import org.eclipse.qvtd.pivot.qvtbase.Predicate;
import org.eclipse.qvtd.pivot.qvtbase.Rule;
import org.eclipse.qvtd.pivot.qvtimperative.AddStatement;
-import org.eclipse.qvtd.pivot.qvtimperative.Area;
-import org.eclipse.qvtd.pivot.qvtimperative.Assignment;
-import org.eclipse.qvtd.pivot.qvtimperative.BottomPattern;
-import org.eclipse.qvtd.pivot.qvtimperative.BottomStatement;
+import org.eclipse.qvtd.pivot.qvtimperative.CheckStatement;
import org.eclipse.qvtd.pivot.qvtimperative.ConnectionVariable;
-import org.eclipse.qvtd.pivot.qvtimperative.GuardPattern;
+import org.eclipse.qvtd.pivot.qvtimperative.GuardVariable;
import org.eclipse.qvtd.pivot.qvtimperative.ImperativeDomain;
import org.eclipse.qvtd.pivot.qvtimperative.ImperativeModel;
-import org.eclipse.qvtd.pivot.qvtimperative.ImperativePattern;
+import org.eclipse.qvtd.pivot.qvtimperative.InConnectionVariable;
+import org.eclipse.qvtd.pivot.qvtimperative.LoopVariable;
import org.eclipse.qvtd.pivot.qvtimperative.Mapping;
import org.eclipse.qvtd.pivot.qvtimperative.MappingCall;
import org.eclipse.qvtd.pivot.qvtimperative.MappingCallBinding;
import org.eclipse.qvtd.pivot.qvtimperative.MappingLoop;
import org.eclipse.qvtd.pivot.qvtimperative.MappingStatement;
import org.eclipse.qvtd.pivot.qvtimperative.NewStatement;
+import org.eclipse.qvtd.pivot.qvtimperative.OutConnectionVariable;
+import org.eclipse.qvtd.pivot.qvtimperative.PredicateVariable;
import org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage;
import org.eclipse.qvtd.pivot.qvtimperative.SetStatement;
import org.eclipse.qvtd.pivot.qvtimperative.Statement;
-import org.eclipse.qvtd.pivot.qvtimperative.VariableAssignment;
-import org.eclipse.qvtd.pivot.qvtimperative.VariablePredicate;
+import org.eclipse.qvtd.pivot.qvtimperative.VariableStatement;
/**
* <!-- begin-user-doc -->
@@ -108,151 +104,135 @@ public class QVTimperativeAdapterFactory extends AdapterFactoryImpl {
*/
protected QVTimperativeSwitch<@Nullable Adapter> modelSwitch =
new QVTimperativeSwitch<@Nullable Adapter>() {
- @Override
- public Adapter caseAddStatement(AddStatement object) {
- return createAddStatementAdapter();
- }
- @Override
- public Adapter caseArea(Area object) {
- return createAreaAdapter();
- }
- @Override
- public Adapter caseAssignment(Assignment object) {
- return createAssignmentAdapter();
- }
- @Override
- public Adapter caseBottomPattern(BottomPattern object) {
- return createBottomPatternAdapter();
- }
- @Override
- public Adapter caseBottomStatement(BottomStatement object) {
- return createBottomStatementAdapter();
- }
- @Override
- public Adapter caseConnectionVariable(ConnectionVariable object) {
- return createConnectionVariableAdapter();
- }
- @Override
- public Adapter caseGuardPattern(GuardPattern object) {
- return createGuardPatternAdapter();
- }
- @Override
- public Adapter caseImperativeDomain(ImperativeDomain object) {
- return createImperativeDomainAdapter();
- }
- @Override
- public Adapter caseImperativeModel(ImperativeModel object) {
- return createImperativeModelAdapter();
- }
- @Override
- public Adapter caseImperativePattern(ImperativePattern object) {
- return createImperativePatternAdapter();
- }
- @Override
- public Adapter caseMapping(Mapping object) {
- return createMappingAdapter();
- }
- @Override
- public Adapter caseMappingCall(MappingCall object) {
- return createMappingCallAdapter();
- }
- @Override
- public Adapter caseMappingCallBinding(MappingCallBinding object) {
- return createMappingCallBindingAdapter();
- }
- @Override
- public Adapter caseMappingLoop(MappingLoop object) {
- return createMappingLoopAdapter();
- }
- @Override
- public Adapter caseMappingStatement(MappingStatement object) {
- return createMappingStatementAdapter();
- }
- @Override
- public Adapter caseNewStatement(NewStatement object) {
- return createNewStatementAdapter();
- }
- @Override
- public Adapter caseSetStatement(SetStatement object) {
- return createSetStatementAdapter();
- }
- @Override
- public Adapter caseStatement(Statement object) {
- return createStatementAdapter();
- }
- @Override
- public Adapter caseVariableAssignment(VariableAssignment object) {
- return createVariableAssignmentAdapter();
- }
- @Override
- public Adapter caseVariablePredicate(VariablePredicate object) {
- return createVariablePredicateAdapter();
- }
- @Override
- public Adapter caseVisitable(Visitable object) {
- return createVisitableAdapter();
- }
- @Override
- public Adapter caseElement(Element object) {
- return createElementAdapter();
- }
- @Override
- public Adapter caseNameable(Nameable object) {
- return createNameableAdapter();
- }
- @Override
- public Adapter caseNamedElement(NamedElement object) {
- return createNamedElementAdapter();
- }
- @Override
- public Adapter casePattern(Pattern object) {
- return createPatternAdapter();
- }
- @Override
- public Adapter caseTypedElement(TypedElement object) {
- return createTypedElementAdapter();
- }
- @Override
- public Adapter caseVariableDeclaration(VariableDeclaration object) {
- return createVariableDeclarationAdapter();
- }
- @Override
- public Adapter caseVariable(Variable object) {
- return createVariableAdapter();
- }
- @Override
- public Adapter caseReferringElement(ReferringElement object) {
- return createReferringElementAdapter();
- }
- @Override
- public Adapter caseDomain(Domain object) {
- return createDomainAdapter();
- }
- @Override
- public Adapter caseNamespace(Namespace object) {
- return createNamespaceAdapter();
- }
- @Override
- public Adapter caseModel(Model object) {
- return createModelAdapter();
- }
- @Override
- public Adapter caseBaseModel(BaseModel object) {
- return createBaseModelAdapter();
- }
- @Override
- public Adapter caseRule(Rule object) {
- return createRuleAdapter();
- }
- @Override
- public Adapter casePredicate(Predicate object) {
- return createPredicateAdapter();
- }
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
+ @Override
+ public Adapter caseAddStatement(AddStatement object) {
+ return createAddStatementAdapter();
+ }
+ @Override
+ public Adapter caseCheckStatement(CheckStatement object) {
+ return createCheckStatementAdapter();
+ }
+ @Override
+ public Adapter caseConnectionVariable(ConnectionVariable object) {
+ return createConnectionVariableAdapter();
+ }
+ @Override
+ public Adapter caseGuardVariable(GuardVariable object) {
+ return createGuardVariableAdapter();
+ }
+ @Override
+ public Adapter caseImperativeDomain(ImperativeDomain object) {
+ return createImperativeDomainAdapter();
+ }
+ @Override
+ public Adapter caseImperativeModel(ImperativeModel object) {
+ return createImperativeModelAdapter();
+ }
+ @Override
+ public Adapter caseInConnectionVariable(InConnectionVariable object) {
+ return createInConnectionVariableAdapter();
+ }
+ @Override
+ public Adapter caseLoopVariable(LoopVariable object) {
+ return createLoopVariableAdapter();
+ }
+ @Override
+ public Adapter caseMapping(Mapping object) {
+ return createMappingAdapter();
+ }
+ @Override
+ public Adapter caseMappingCall(MappingCall object) {
+ return createMappingCallAdapter();
+ }
+ @Override
+ public Adapter caseMappingCallBinding(MappingCallBinding object) {
+ return createMappingCallBindingAdapter();
+ }
+ @Override
+ public Adapter caseMappingLoop(MappingLoop object) {
+ return createMappingLoopAdapter();
+ }
+ @Override
+ public Adapter caseMappingStatement(MappingStatement object) {
+ return createMappingStatementAdapter();
+ }
+ @Override
+ public Adapter caseNewStatement(NewStatement object) {
+ return createNewStatementAdapter();
+ }
+ @Override
+ public Adapter caseOutConnectionVariable(OutConnectionVariable object) {
+ return createOutConnectionVariableAdapter();
+ }
+ @Override
+ public Adapter casePredicateVariable(PredicateVariable object) {
+ return createPredicateVariableAdapter();
+ }
+ @Override
+ public Adapter caseSetStatement(SetStatement object) {
+ return createSetStatementAdapter();
+ }
+ @Override
+ public Adapter caseStatement(Statement object) {
+ return createStatementAdapter();
+ }
+ @Override
+ public Adapter caseVariableStatement(VariableStatement object) {
+ return createVariableStatementAdapter();
+ }
+ @Override
+ public Adapter caseVisitable(Visitable object) {
+ return createVisitableAdapter();
+ }
+ @Override
+ public Adapter caseElement(Element object) {
+ return createElementAdapter();
+ }
+ @Override
+ public Adapter caseNameable(Nameable object) {
+ return createNameableAdapter();
+ }
+ @Override
+ public Adapter caseNamedElement(NamedElement object) {
+ return createNamedElementAdapter();
+ }
+ @Override
+ public Adapter caseTypedElement(TypedElement object) {
+ return createTypedElementAdapter();
+ }
+ @Override
+ public Adapter caseVariableDeclaration(VariableDeclaration object) {
+ return createVariableDeclarationAdapter();
+ }
+ @Override
+ public Adapter caseReferringElement(ReferringElement object) {
+ return createReferringElementAdapter();
+ }
+ @Override
+ public Adapter caseDomain(Domain object) {
+ return createDomainAdapter();
+ }
+ @Override
+ public Adapter caseNamespace(Namespace object) {
+ return createNamespaceAdapter();
+ }
+ @Override
+ public Adapter caseModel(Model object) {
+ return createModelAdapter();
+ }
+ @Override
+ public Adapter caseBaseModel(BaseModel object) {
+ return createBaseModelAdapter();
+ }
+ @Override
+ public Adapter caseRule(Rule object) {
+ return createRuleAdapter();
+ }
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
/**
* Creates an adapter for the <code>target</code>.
@@ -283,6 +263,20 @@ public class QVTimperativeAdapterFactory extends AdapterFactoryImpl {
}
/**
+ * Creates a new adapter for an object of class '{@link org.eclipse.qvtd.pivot.qvtimperative.CheckStatement <em>Check Statement</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.qvtd.pivot.qvtimperative.CheckStatement
+ * @generated
+ */
+ public Adapter createCheckStatementAdapter() {
+ return null;
+ }
+
+ /**
* Creates a new adapter for an object of class '{@link org.eclipse.qvtd.pivot.qvtimperative.ConnectionVariable <em>Connection Variable</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
@@ -297,6 +291,20 @@ public class QVTimperativeAdapterFactory extends AdapterFactoryImpl {
}
/**
+ * Creates a new adapter for an object of class '{@link org.eclipse.qvtd.pivot.qvtimperative.GuardVariable <em>Guard Variable</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.qvtd.pivot.qvtimperative.GuardVariable
+ * @generated
+ */
+ public Adapter createGuardVariableAdapter() {
+ return null;
+ }
+
+ /**
* Creates a new adapter for an object of class '{@link org.eclipse.qvtd.pivot.qvtimperative.ImperativeModel <em>Imperative Model</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
@@ -311,30 +319,30 @@ public class QVTimperativeAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.qvtd.pivot.qvtimperative.ImperativePattern <em>Imperative Pattern</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.qvtd.pivot.qvtimperative.InConnectionVariable <em>In Connection Variable</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
* @return the new adapter.
- * @see org.eclipse.qvtd.pivot.qvtimperative.ImperativePattern
+ * @see org.eclipse.qvtd.pivot.qvtimperative.InConnectionVariable
* @generated
*/
- public Adapter createImperativePatternAdapter() {
+ public Adapter createInConnectionVariableAdapter() {
return null;
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.qvtd.pivot.qvtimperative.Area <em>Area</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.qvtd.pivot.qvtimperative.LoopVariable <em>Loop Variable</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
* @return the new adapter.
- * @see org.eclipse.qvtd.pivot.qvtimperative.Area
+ * @see org.eclipse.qvtd.pivot.qvtimperative.LoopVariable
* @generated
*/
- public Adapter createAreaAdapter() {
+ public Adapter createLoopVariableAdapter() {
return null;
}
@@ -423,128 +431,100 @@ public class QVTimperativeAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.qvtd.pivot.qvtimperative.SetStatement <em>Set Statement</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.qvtd.pivot.qvtimperative.SetStatement
- * @generated
- */
- public Adapter createSetStatementAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.qvtd.pivot.qvtimperative.Statement <em>Statement</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.qvtd.pivot.qvtimperative.Statement
- * @generated
- */
- public Adapter createStatementAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.qvtd.pivot.qvtimperative.VariableAssignment <em>Variable Assignment</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.qvtd.pivot.qvtimperative.OutConnectionVariable <em>Out Connection Variable</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
* @return the new adapter.
- * @see org.eclipse.qvtd.pivot.qvtimperative.VariableAssignment
+ * @see org.eclipse.qvtd.pivot.qvtimperative.OutConnectionVariable
* @generated
*/
- public Adapter createVariableAssignmentAdapter() {
+ public Adapter createOutConnectionVariableAdapter() {
return null;
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.qvtd.pivot.qvtimperative.VariablePredicate <em>Variable Predicate</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.qvtd.pivot.qvtimperative.PredicateVariable <em>Predicate Variable</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
* @return the new adapter.
- * @see org.eclipse.qvtd.pivot.qvtimperative.VariablePredicate
+ * @see org.eclipse.qvtd.pivot.qvtimperative.PredicateVariable
* @generated
*/
- public Adapter createVariablePredicateAdapter() {
+ public Adapter createPredicateVariableAdapter() {
return null;
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.ocl.pivot.util.Visitable <em>Visitable</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.qvtd.pivot.qvtimperative.SetStatement <em>Set Statement</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
* @return the new adapter.
- * @see org.eclipse.ocl.pivot.util.Visitable
+ * @see org.eclipse.qvtd.pivot.qvtimperative.SetStatement
* @generated
*/
- public Adapter createVisitableAdapter() {
+ public Adapter createSetStatementAdapter() {
return null;
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.ocl.pivot.Element <em>Element</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.qvtd.pivot.qvtimperative.Statement <em>Statement</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
* @return the new adapter.
- * @see org.eclipse.ocl.pivot.Element
+ * @see org.eclipse.qvtd.pivot.qvtimperative.Statement
* @generated
*/
- public Adapter createElementAdapter() {
+ public Adapter createStatementAdapter() {
return null;
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.qvtd.pivot.qvtimperative.Assignment <em>Assignment</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.qvtd.pivot.qvtimperative.VariableStatement <em>Variable Statement</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
* @return the new adapter.
- * @see org.eclipse.qvtd.pivot.qvtimperative.Assignment
+ * @see org.eclipse.qvtd.pivot.qvtimperative.VariableStatement
* @generated
*/
- public Adapter createAssignmentAdapter() {
+ public Adapter createVariableStatementAdapter() {
return null;
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.qvtd.pivot.qvtbase.Pattern <em>Pattern</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.ocl.pivot.util.Visitable <em>Visitable</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
* @return the new adapter.
- * @see org.eclipse.qvtd.pivot.qvtbase.Pattern
+ * @see org.eclipse.ocl.pivot.util.Visitable
* @generated
*/
- public Adapter createPatternAdapter() {
+ public Adapter createVisitableAdapter() {
return null;
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.qvtd.pivot.qvtimperative.GuardPattern <em>Guard Pattern</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.ocl.pivot.Element <em>Element</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
* @return the new adapter.
- * @see org.eclipse.qvtd.pivot.qvtimperative.GuardPattern
+ * @see org.eclipse.ocl.pivot.Element
* @generated
*/
- public Adapter createGuardPatternAdapter() {
+ public Adapter createElementAdapter() {
return null;
}
@@ -563,34 +543,6 @@ public class QVTimperativeAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.qvtd.pivot.qvtimperative.BottomPattern <em>Bottom Pattern</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.qvtd.pivot.qvtimperative.BottomPattern
- * @generated
- */
- public Adapter createBottomPatternAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.qvtd.pivot.qvtimperative.BottomStatement <em>Bottom Statement</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.qvtd.pivot.qvtimperative.BottomStatement
- * @generated
- */
- public Adapter createBottomStatementAdapter() {
- return null;
- }
-
- /**
* Creates a new adapter for an object of class '{@link org.eclipse.ocl.pivot.utilities.Nameable <em>Nameable</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
@@ -703,20 +655,6 @@ public class QVTimperativeAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.ocl.pivot.Variable <em>Variable</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.ocl.pivot.Variable
- * @generated
- */
- public Adapter createVariableAdapter() {
- return null;
- }
-
- /**
* Creates a new adapter for an object of class '{@link org.eclipse.ocl.pivot.ReferringElement <em>Referring Element</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
@@ -745,20 +683,6 @@ public class QVTimperativeAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.qvtd.pivot.qvtbase.Predicate <em>Predicate</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.qvtd.pivot.qvtbase.Predicate
- * @generated
- */
- public Adapter createPredicateAdapter() {
- return null;
- }
-
- /**
* Creates a new adapter for the default case.
* <!-- begin-user-doc -->
* This default implementation returns null.
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/QVTimperativeSwitch.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/QVTimperativeSwitch.java
index 14337b202..4381bfa0d 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/QVTimperativeSwitch.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/QVTimperativeSwitch.java
@@ -20,36 +20,32 @@ import org.eclipse.ocl.pivot.NamedElement;
import org.eclipse.ocl.pivot.Namespace;
import org.eclipse.ocl.pivot.ReferringElement;
import org.eclipse.ocl.pivot.TypedElement;
-import org.eclipse.ocl.pivot.Variable;
import org.eclipse.ocl.pivot.VariableDeclaration;
import org.eclipse.ocl.pivot.util.Visitable;
import org.eclipse.ocl.pivot.utilities.Nameable;
import org.eclipse.qvtd.pivot.qvtbase.BaseModel;
import org.eclipse.qvtd.pivot.qvtbase.Domain;
-import org.eclipse.qvtd.pivot.qvtbase.Pattern;
-import org.eclipse.qvtd.pivot.qvtbase.Predicate;
import org.eclipse.qvtd.pivot.qvtbase.Rule;
import org.eclipse.qvtd.pivot.qvtimperative.AddStatement;
-import org.eclipse.qvtd.pivot.qvtimperative.Area;
-import org.eclipse.qvtd.pivot.qvtimperative.Assignment;
-import org.eclipse.qvtd.pivot.qvtimperative.BottomPattern;
-import org.eclipse.qvtd.pivot.qvtimperative.BottomStatement;
+import org.eclipse.qvtd.pivot.qvtimperative.CheckStatement;
import org.eclipse.qvtd.pivot.qvtimperative.ConnectionVariable;
-import org.eclipse.qvtd.pivot.qvtimperative.GuardPattern;
+import org.eclipse.qvtd.pivot.qvtimperative.GuardVariable;
import org.eclipse.qvtd.pivot.qvtimperative.ImperativeDomain;
import org.eclipse.qvtd.pivot.qvtimperative.ImperativeModel;
-import org.eclipse.qvtd.pivot.qvtimperative.ImperativePattern;
+import org.eclipse.qvtd.pivot.qvtimperative.InConnectionVariable;
+import org.eclipse.qvtd.pivot.qvtimperative.LoopVariable;
import org.eclipse.qvtd.pivot.qvtimperative.Mapping;
import org.eclipse.qvtd.pivot.qvtimperative.MappingCall;
import org.eclipse.qvtd.pivot.qvtimperative.MappingCallBinding;
import org.eclipse.qvtd.pivot.qvtimperative.MappingLoop;
import org.eclipse.qvtd.pivot.qvtimperative.MappingStatement;
import org.eclipse.qvtd.pivot.qvtimperative.NewStatement;
+import org.eclipse.qvtd.pivot.qvtimperative.OutConnectionVariable;
+import org.eclipse.qvtd.pivot.qvtimperative.PredicateVariable;
import org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage;
import org.eclipse.qvtd.pivot.qvtimperative.SetStatement;
import org.eclipse.qvtd.pivot.qvtimperative.Statement;
-import org.eclipse.qvtd.pivot.qvtimperative.VariableAssignment;
-import org.eclipse.qvtd.pivot.qvtimperative.VariablePredicate;
+import org.eclipse.qvtd.pivot.qvtimperative.VariableStatement;
/**
* <!-- begin-user-doc -->
@@ -120,47 +116,20 @@ public class QVTimperativeSwitch<@Nullable T> extends Switch<T> {
if (result == null) result = defaultCase(theEObject);
return result;
}
- case QVTimperativePackage.AREA: {
- Area area = (Area)theEObject;
- T result = caseArea(area);
- if (result == null) result = caseElement(area);
- if (result == null) result = caseVisitable(area);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case QVTimperativePackage.ASSIGNMENT: {
- Assignment assignment = (Assignment)theEObject;
- T result = caseAssignment(assignment);
- if (result == null) result = caseElement(assignment);
- if (result == null) result = caseVisitable(assignment);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case QVTimperativePackage.BOTTOM_PATTERN: {
- BottomPattern bottomPattern = (BottomPattern)theEObject;
- T result = caseBottomPattern(bottomPattern);
- if (result == null) result = caseImperativePattern(bottomPattern);
- if (result == null) result = casePattern(bottomPattern);
- if (result == null) result = caseElement(bottomPattern);
- if (result == null) result = caseVisitable(bottomPattern);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case QVTimperativePackage.BOTTOM_STATEMENT: {
- BottomStatement bottomStatement = (BottomStatement)theEObject;
- T result = caseBottomStatement(bottomStatement);
- if (result == null) result = caseStatement(bottomStatement);
- if (result == null) result = caseNamedElement(bottomStatement);
- if (result == null) result = caseElement(bottomStatement);
- if (result == null) result = caseNameable(bottomStatement);
- if (result == null) result = caseVisitable(bottomStatement);
+ case QVTimperativePackage.CHECK_STATEMENT: {
+ CheckStatement checkStatement = (CheckStatement)theEObject;
+ T result = caseCheckStatement(checkStatement);
+ if (result == null) result = caseStatement(checkStatement);
+ if (result == null) result = caseNamedElement(checkStatement);
+ if (result == null) result = caseElement(checkStatement);
+ if (result == null) result = caseNameable(checkStatement);
+ if (result == null) result = caseVisitable(checkStatement);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTimperativePackage.CONNECTION_VARIABLE: {
ConnectionVariable connectionVariable = (ConnectionVariable)theEObject;
T result = caseConnectionVariable(connectionVariable);
- if (result == null) result = caseVariable(connectionVariable);
if (result == null) result = caseVariableDeclaration(connectionVariable);
if (result == null) result = caseTypedElement(connectionVariable);
if (result == null) result = caseNamedElement(connectionVariable);
@@ -170,13 +139,15 @@ public class QVTimperativeSwitch<@Nullable T> extends Switch<T> {
if (result == null) result = defaultCase(theEObject);
return result;
}
- case QVTimperativePackage.GUARD_PATTERN: {
- GuardPattern guardPattern = (GuardPattern)theEObject;
- T result = caseGuardPattern(guardPattern);
- if (result == null) result = caseImperativePattern(guardPattern);
- if (result == null) result = casePattern(guardPattern);
- if (result == null) result = caseElement(guardPattern);
- if (result == null) result = caseVisitable(guardPattern);
+ case QVTimperativePackage.GUARD_VARIABLE: {
+ GuardVariable guardVariable = (GuardVariable)theEObject;
+ T result = caseGuardVariable(guardVariable);
+ if (result == null) result = caseVariableDeclaration(guardVariable);
+ if (result == null) result = caseTypedElement(guardVariable);
+ if (result == null) result = caseNamedElement(guardVariable);
+ if (result == null) result = caseElement(guardVariable);
+ if (result == null) result = caseNameable(guardVariable);
+ if (result == null) result = caseVisitable(guardVariable);
if (result == null) result = defaultCase(theEObject);
return result;
}
@@ -184,7 +155,6 @@ public class QVTimperativeSwitch<@Nullable T> extends Switch<T> {
ImperativeDomain imperativeDomain = (ImperativeDomain)theEObject;
T result = caseImperativeDomain(imperativeDomain);
if (result == null) result = caseDomain(imperativeDomain);
- if (result == null) result = caseArea(imperativeDomain);
if (result == null) result = caseNamedElement(imperativeDomain);
if (result == null) result = caseReferringElement(imperativeDomain);
if (result == null) result = caseElement(imperativeDomain);
@@ -206,12 +176,28 @@ public class QVTimperativeSwitch<@Nullable T> extends Switch<T> {
if (result == null) result = defaultCase(theEObject);
return result;
}
- case QVTimperativePackage.IMPERATIVE_PATTERN: {
- ImperativePattern imperativePattern = (ImperativePattern)theEObject;
- T result = caseImperativePattern(imperativePattern);
- if (result == null) result = casePattern(imperativePattern);
- if (result == null) result = caseElement(imperativePattern);
- if (result == null) result = caseVisitable(imperativePattern);
+ case QVTimperativePackage.IN_CONNECTION_VARIABLE: {
+ InConnectionVariable inConnectionVariable = (InConnectionVariable)theEObject;
+ T result = caseInConnectionVariable(inConnectionVariable);
+ if (result == null) result = caseConnectionVariable(inConnectionVariable);
+ if (result == null) result = caseVariableDeclaration(inConnectionVariable);
+ if (result == null) result = caseTypedElement(inConnectionVariable);
+ if (result == null) result = caseNamedElement(inConnectionVariable);
+ if (result == null) result = caseElement(inConnectionVariable);
+ if (result == null) result = caseNameable(inConnectionVariable);
+ if (result == null) result = caseVisitable(inConnectionVariable);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case QVTimperativePackage.LOOP_VARIABLE: {
+ LoopVariable loopVariable = (LoopVariable)theEObject;
+ T result = caseLoopVariable(loopVariable);
+ if (result == null) result = caseVariableDeclaration(loopVariable);
+ if (result == null) result = caseTypedElement(loopVariable);
+ if (result == null) result = caseNamedElement(loopVariable);
+ if (result == null) result = caseElement(loopVariable);
+ if (result == null) result = caseNameable(loopVariable);
+ if (result == null) result = caseVisitable(loopVariable);
if (result == null) result = defaultCase(theEObject);
return result;
}
@@ -219,7 +205,6 @@ public class QVTimperativeSwitch<@Nullable T> extends Switch<T> {
Mapping mapping = (Mapping)theEObject;
T result = caseMapping(mapping);
if (result == null) result = caseRule(mapping);
- if (result == null) result = caseArea(mapping);
if (result == null) result = caseNamedElement(mapping);
if (result == null) result = caseElement(mapping);
if (result == null) result = caseNameable(mapping);
@@ -274,8 +259,7 @@ public class QVTimperativeSwitch<@Nullable T> extends Switch<T> {
case QVTimperativePackage.NEW_STATEMENT: {
NewStatement newStatement = (NewStatement)theEObject;
T result = caseNewStatement(newStatement);
- if (result == null) result = caseVariable(newStatement);
- if (result == null) result = caseBottomStatement(newStatement);
+ if (result == null) result = caseVariableStatement(newStatement);
if (result == null) result = caseVariableDeclaration(newStatement);
if (result == null) result = caseStatement(newStatement);
if (result == null) result = caseTypedElement(newStatement);
@@ -286,10 +270,38 @@ public class QVTimperativeSwitch<@Nullable T> extends Switch<T> {
if (result == null) result = defaultCase(theEObject);
return result;
}
+ case QVTimperativePackage.OUT_CONNECTION_VARIABLE: {
+ OutConnectionVariable outConnectionVariable = (OutConnectionVariable)theEObject;
+ T result = caseOutConnectionVariable(outConnectionVariable);
+ if (result == null) result = caseConnectionVariable(outConnectionVariable);
+ if (result == null) result = caseVariableStatement(outConnectionVariable);
+ if (result == null) result = caseVariableDeclaration(outConnectionVariable);
+ if (result == null) result = caseStatement(outConnectionVariable);
+ if (result == null) result = caseTypedElement(outConnectionVariable);
+ if (result == null) result = caseNamedElement(outConnectionVariable);
+ if (result == null) result = caseElement(outConnectionVariable);
+ if (result == null) result = caseNameable(outConnectionVariable);
+ if (result == null) result = caseVisitable(outConnectionVariable);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case QVTimperativePackage.PREDICATE_VARIABLE: {
+ PredicateVariable predicateVariable = (PredicateVariable)theEObject;
+ T result = casePredicateVariable(predicateVariable);
+ if (result == null) result = caseVariableStatement(predicateVariable);
+ if (result == null) result = caseVariableDeclaration(predicateVariable);
+ if (result == null) result = caseStatement(predicateVariable);
+ if (result == null) result = caseTypedElement(predicateVariable);
+ if (result == null) result = caseNamedElement(predicateVariable);
+ if (result == null) result = caseElement(predicateVariable);
+ if (result == null) result = caseNameable(predicateVariable);
+ if (result == null) result = caseVisitable(predicateVariable);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
case QVTimperativePackage.SET_STATEMENT: {
SetStatement setStatement = (SetStatement)theEObject;
T result = caseSetStatement(setStatement);
- if (result == null) result = caseBottomStatement(setStatement);
if (result == null) result = caseStatement(setStatement);
if (result == null) result = caseNamedElement(setStatement);
if (result == null) result = caseElement(setStatement);
@@ -308,21 +320,16 @@ public class QVTimperativeSwitch<@Nullable T> extends Switch<T> {
if (result == null) result = defaultCase(theEObject);
return result;
}
- case QVTimperativePackage.VARIABLE_ASSIGNMENT: {
- VariableAssignment variableAssignment = (VariableAssignment)theEObject;
- T result = caseVariableAssignment(variableAssignment);
- if (result == null) result = caseAssignment(variableAssignment);
- if (result == null) result = caseElement(variableAssignment);
- if (result == null) result = caseVisitable(variableAssignment);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case QVTimperativePackage.VARIABLE_PREDICATE: {
- VariablePredicate variablePredicate = (VariablePredicate)theEObject;
- T result = caseVariablePredicate(variablePredicate);
- if (result == null) result = casePredicate(variablePredicate);
- if (result == null) result = caseElement(variablePredicate);
- if (result == null) result = caseVisitable(variablePredicate);
+ case QVTimperativePackage.VARIABLE_STATEMENT: {
+ VariableStatement variableStatement = (VariableStatement)theEObject;
+ T result = caseVariableStatement(variableStatement);
+ if (result == null) result = caseVariableDeclaration(variableStatement);
+ if (result == null) result = caseStatement(variableStatement);
+ if (result == null) result = caseTypedElement(variableStatement);
+ if (result == null) result = caseNamedElement(variableStatement);
+ if (result == null) result = caseElement(variableStatement);
+ if (result == null) result = caseNameable(variableStatement);
+ if (result == null) result = caseVisitable(variableStatement);
if (result == null) result = defaultCase(theEObject);
return result;
}
@@ -346,137 +353,107 @@ public class QVTimperativeSwitch<@Nullable T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Area</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Area</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseArea(Area object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Assignment</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Assignment</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseAssignment(Assignment object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Bottom Pattern</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>Check Statement</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Bottom Pattern</em>'.
+ * @return the result of interpreting the object as an instance of '<em>Check Statement</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseBottomPattern(BottomPattern object) {
+ public T caseCheckStatement(CheckStatement object) {
return null;
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Bottom Statement</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>Connection Variable</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Bottom Statement</em>'.
+ * @return the result of interpreting the object as an instance of '<em>Connection Variable</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseBottomStatement(BottomStatement object) {
+ public T caseConnectionVariable(ConnectionVariable object) {
return null;
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Connection Variable</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>Guard Variable</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Connection Variable</em>'.
+ * @return the result of interpreting the object as an instance of '<em>Guard Variable</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseConnectionVariable(ConnectionVariable object) {
+ public T caseGuardVariable(GuardVariable object) {
return null;
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Guard Pattern</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>Imperative Domain</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Guard Pattern</em>'.
+ * @return the result of interpreting the object as an instance of '<em>Imperative Domain</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseGuardPattern(GuardPattern object) {
+ public T caseImperativeDomain(ImperativeDomain object) {
return null;
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Imperative Domain</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>Imperative Model</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Imperative Domain</em>'.
+ * @return the result of interpreting the object as an instance of '<em>Imperative Model</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseImperativeDomain(ImperativeDomain object) {
+ public T caseImperativeModel(ImperativeModel object) {
return null;
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Imperative Model</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>In Connection Variable</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Imperative Model</em>'.
+ * @return the result of interpreting the object as an instance of '<em>In Connection Variable</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseImperativeModel(ImperativeModel object) {
+ public T caseInConnectionVariable(InConnectionVariable object) {
return null;
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Imperative Pattern</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>Loop Variable</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Imperative Pattern</em>'.
+ * @return the result of interpreting the object as an instance of '<em>Loop Variable</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseImperativePattern(ImperativePattern object) {
+ public T caseLoopVariable(LoopVariable object) {
return null;
}
@@ -571,107 +548,107 @@ public class QVTimperativeSwitch<@Nullable T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Set Statement</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>Out Connection Variable</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Set Statement</em>'.
+ * @return the result of interpreting the object as an instance of '<em>Out Connection Variable</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseSetStatement(SetStatement object) {
+ public T caseOutConnectionVariable(OutConnectionVariable object) {
return null;
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Statement</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>Predicate Variable</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Statement</em>'.
+ * @return the result of interpreting the object as an instance of '<em>Predicate Variable</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseStatement(Statement object) {
+ public T casePredicateVariable(PredicateVariable object) {
return null;
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Variable Assignment</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>Set Statement</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Variable Assignment</em>'.
+ * @return the result of interpreting the object as an instance of '<em>Set Statement</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseVariableAssignment(VariableAssignment object) {
+ public T caseSetStatement(SetStatement object) {
return null;
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Variable Predicate</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>Statement</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Variable Predicate</em>'.
+ * @return the result of interpreting the object as an instance of '<em>Statement</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseVariablePredicate(VariablePredicate object) {
+ public T caseStatement(Statement object) {
return null;
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Visitable</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>Variable Statement</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Visitable</em>'.
+ * @return the result of interpreting the object as an instance of '<em>Variable Statement</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseVisitable(Visitable object) {
+ public T caseVariableStatement(VariableStatement object) {
return null;
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Element</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>Visitable</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Element</em>'.
+ * @return the result of interpreting the object as an instance of '<em>Visitable</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseElement(Element object) {
+ public T caseVisitable(Visitable object) {
return null;
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Pattern</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>Element</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Pattern</em>'.
+ * @return the result of interpreting the object as an instance of '<em>Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T casePattern(Pattern object) {
+ public T caseElement(Element object) {
return null;
}
@@ -796,21 +773,6 @@ public class QVTimperativeSwitch<@Nullable T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Variable</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Variable</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseVariable(Variable object) {
- return null;
- }
-
- /**
* Returns the result of interpreting the object as an instance of '<em>Referring Element</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
@@ -841,21 +803,6 @@ public class QVTimperativeSwitch<@Nullable T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Predicate</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Predicate</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T casePredicate(Predicate object) {
- return null;
- }
-
- /**
* Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/QVTimperativeVisitor.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/QVTimperativeVisitor.java
index e17adeb75..f7d51e1da 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/QVTimperativeVisitor.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/QVTimperativeVisitor.java
@@ -24,22 +24,22 @@ import org.eclipse.jdt.annotation.NonNull;
public interface QVTimperativeVisitor<R> extends org.eclipse.qvtd.pivot.qvtbase.util.QVTbaseVisitor<R>
{
R visitAddStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull AddStatement object);
- R visitAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Assignment object);
- R visitBottomPattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomPattern object);
- R visitBottomStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomStatement object);
+ R visitCheckStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull CheckStatement object);
R visitConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionVariable object);
- R visitGuardPattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull GuardPattern object);
+ R visitGuardVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull GuardVariable object);
R visitImperativeDomain(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ImperativeDomain object);
R visitImperativeModel(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ImperativeModel object);
- R visitImperativePattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ImperativePattern object);
+ R visitInConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull InConnectionVariable object);
+ R visitLoopVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull LoopVariable object);
R visitMapping(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Mapping object);
R visitMappingCall(org.eclipse.qvtd.pivot.qvtimperative.@NonNull MappingCall object);
R visitMappingCallBinding(org.eclipse.qvtd.pivot.qvtimperative.@NonNull MappingCallBinding object);
R visitMappingLoop(org.eclipse.qvtd.pivot.qvtimperative.@NonNull MappingLoop object);
R visitMappingStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull MappingStatement object);
R visitNewStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull NewStatement object);
+ R visitOutConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull OutConnectionVariable object);
+ R visitPredicateVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull PredicateVariable object);
R visitSetStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull SetStatement object);
R visitStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Statement object);
- R visitVariableAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull VariableAssignment object);
- R visitVariablePredicate(org.eclipse.qvtd.pivot.qvtimperative.@NonNull VariablePredicate object);
+ R visitVariableStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull VariableStatement object);
}
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtrelation/emf-gen/org/eclipse/qvtd/pivot/qvtrelation/util/QVTrelationAdapterFactory.java b/plugins/org.eclipse.qvtd.pivot.qvtrelation/emf-gen/org/eclipse/qvtd/pivot/qvtrelation/util/QVTrelationAdapterFactory.java
index d5e380d7a..1e7bffac2 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtrelation/emf-gen/org/eclipse/qvtd/pivot/qvtrelation/util/QVTrelationAdapterFactory.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtrelation/emf-gen/org/eclipse/qvtd/pivot/qvtrelation/util/QVTrelationAdapterFactory.java
@@ -98,115 +98,115 @@ public class QVTrelationAdapterFactory extends AdapterFactoryImpl {
*/
protected QVTrelationSwitch<@Nullable Adapter> modelSwitch =
new QVTrelationSwitch<@Nullable Adapter>() {
- @Override
- public Adapter caseDomainPattern(DomainPattern object) {
- return createDomainPatternAdapter();
- }
- @Override
- public Adapter caseKey(Key object) {
- return createKeyAdapter();
- }
- @Override
- public Adapter caseRelation(Relation object) {
- return createRelationAdapter();
- }
- @Override
- public Adapter caseRelationCallExp(RelationCallExp object) {
- return createRelationCallExpAdapter();
- }
- @Override
- public Adapter caseRelationDomain(RelationDomain object) {
- return createRelationDomainAdapter();
- }
- @Override
- public Adapter caseRelationDomainAssignment(RelationDomainAssignment object) {
- return createRelationDomainAssignmentAdapter();
- }
- @Override
- public Adapter caseRelationModel(RelationModel object) {
- return createRelationModelAdapter();
- }
- @Override
- public Adapter caseRelationImplementation(RelationImplementation object) {
- return createRelationImplementationAdapter();
- }
- @Override
- public Adapter caseRelationalTransformation(RelationalTransformation object) {
- return createRelationalTransformationAdapter();
- }
- @Override
- public Adapter caseVisitable(Visitable object) {
- return createVisitableAdapter();
- }
- @Override
- public Adapter caseElement(Element object) {
- return createElementAdapter();
- }
- @Override
- public Adapter casePattern(Pattern object) {
- return createPatternAdapter();
- }
- @Override
- public Adapter caseNameable(Nameable object) {
- return createNameableAdapter();
- }
- @Override
- public Adapter caseNamedElement(NamedElement object) {
- return createNamedElementAdapter();
- }
- @Override
- public Adapter caseRule(Rule object) {
- return createRuleAdapter();
- }
- @Override
- public Adapter caseTypedElement(TypedElement object) {
- return createTypedElementAdapter();
- }
- @Override
- public Adapter caseOCLExpression(OCLExpression object) {
- return createOCLExpressionAdapter();
- }
- @Override
- public Adapter caseReferringElement(ReferringElement object) {
- return createReferringElementAdapter();
- }
- @Override
- public Adapter caseDomain(Domain object) {
- return createDomainAdapter();
- }
- @Override
- public Adapter caseNamespace(Namespace object) {
- return createNamespaceAdapter();
- }
- @Override
- public Adapter caseModel(Model object) {
- return createModelAdapter();
- }
- @Override
- public Adapter caseBaseModel(BaseModel object) {
- return createBaseModelAdapter();
- }
- @Override
- public Adapter caseType(Type object) {
- return createTypeAdapter();
- }
- @Override
- public Adapter caseTemplateableElement(TemplateableElement object) {
- return createTemplateableElementAdapter();
- }
- @Override
- public Adapter caseClass(org.eclipse.ocl.pivot.Class object) {
- return createClassAdapter();
- }
- @Override
- public Adapter caseTransformation(Transformation object) {
- return createTransformationAdapter();
- }
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
+ @Override
+ public Adapter caseDomainPattern(DomainPattern object) {
+ return createDomainPatternAdapter();
+ }
+ @Override
+ public Adapter caseKey(Key object) {
+ return createKeyAdapter();
+ }
+ @Override
+ public Adapter caseRelation(Relation object) {
+ return createRelationAdapter();
+ }
+ @Override
+ public Adapter caseRelationCallExp(RelationCallExp object) {
+ return createRelationCallExpAdapter();
+ }
+ @Override
+ public Adapter caseRelationDomain(RelationDomain object) {
+ return createRelationDomainAdapter();
+ }
+ @Override
+ public Adapter caseRelationDomainAssignment(RelationDomainAssignment object) {
+ return createRelationDomainAssignmentAdapter();
+ }
+ @Override
+ public Adapter caseRelationModel(RelationModel object) {
+ return createRelationModelAdapter();
+ }
+ @Override
+ public Adapter caseRelationImplementation(RelationImplementation object) {
+ return createRelationImplementationAdapter();
+ }
+ @Override
+ public Adapter caseRelationalTransformation(RelationalTransformation object) {
+ return createRelationalTransformationAdapter();
+ }
+ @Override
+ public Adapter caseVisitable(Visitable object) {
+ return createVisitableAdapter();
+ }
+ @Override
+ public Adapter caseElement(Element object) {
+ return createElementAdapter();
+ }
+ @Override
+ public Adapter casePattern(Pattern object) {
+ return createPatternAdapter();
+ }
+ @Override
+ public Adapter caseNameable(Nameable object) {
+ return createNameableAdapter();
+ }
+ @Override
+ public Adapter caseNamedElement(NamedElement object) {
+ return createNamedElementAdapter();
+ }
+ @Override
+ public Adapter caseRule(Rule object) {
+ return createRuleAdapter();
+ }
+ @Override
+ public Adapter caseTypedElement(TypedElement object) {
+ return createTypedElementAdapter();
+ }
+ @Override
+ public Adapter caseOCLExpression(OCLExpression object) {
+ return createOCLExpressionAdapter();
+ }
+ @Override
+ public Adapter caseReferringElement(ReferringElement object) {
+ return createReferringElementAdapter();
+ }
+ @Override
+ public Adapter caseDomain(Domain object) {
+ return createDomainAdapter();
+ }
+ @Override
+ public Adapter caseNamespace(Namespace object) {
+ return createNamespaceAdapter();
+ }
+ @Override
+ public Adapter caseModel(Model object) {
+ return createModelAdapter();
+ }
+ @Override
+ public Adapter caseBaseModel(BaseModel object) {
+ return createBaseModelAdapter();
+ }
+ @Override
+ public Adapter caseType(Type object) {
+ return createTypeAdapter();
+ }
+ @Override
+ public Adapter caseTemplateableElement(TemplateableElement object) {
+ return createTemplateableElementAdapter();
+ }
+ @Override
+ public Adapter caseClass(org.eclipse.ocl.pivot.Class object) {
+ return createClassAdapter();
+ }
+ @Override
+ public Adapter caseTransformation(Transformation object) {
+ return createTransformationAdapter();
+ }
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
/**
* Creates an adapter for the <code>target</code>.
diff --git a/plugins/org.eclipse.qvtd.pivot.qvttemplate/emf-gen/org/eclipse/qvtd/pivot/qvttemplate/util/QVTtemplateAdapterFactory.java b/plugins/org.eclipse.qvtd.pivot.qvttemplate/emf-gen/org/eclipse/qvtd/pivot/qvttemplate/util/QVTtemplateAdapterFactory.java
index f7b58c31b..9f2f5c490 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvttemplate/emf-gen/org/eclipse/qvtd/pivot/qvttemplate/util/QVTtemplateAdapterFactory.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvttemplate/emf-gen/org/eclipse/qvtd/pivot/qvttemplate/util/QVTtemplateAdapterFactory.java
@@ -84,55 +84,55 @@ public class QVTtemplateAdapterFactory extends AdapterFactoryImpl {
*/
protected QVTtemplateSwitch<@Nullable Adapter> modelSwitch =
new QVTtemplateSwitch<@Nullable Adapter>() {
- @Override
- public Adapter caseCollectionTemplateExp(CollectionTemplateExp object) {
- return createCollectionTemplateExpAdapter();
- }
- @Override
- public Adapter caseObjectTemplateExp(ObjectTemplateExp object) {
- return createObjectTemplateExpAdapter();
- }
- @Override
- public Adapter casePropertyTemplateItem(PropertyTemplateItem object) {
- return createPropertyTemplateItemAdapter();
- }
- @Override
- public Adapter caseTemplateExp(TemplateExp object) {
- return createTemplateExpAdapter();
- }
- @Override
- public Adapter caseVisitable(Visitable object) {
- return createVisitableAdapter();
- }
- @Override
- public Adapter caseElement(Element object) {
- return createElementAdapter();
- }
- @Override
- public Adapter caseNameable(Nameable object) {
- return createNameableAdapter();
- }
- @Override
- public Adapter caseNamedElement(NamedElement object) {
- return createNamedElementAdapter();
- }
- @Override
- public Adapter caseTypedElement(TypedElement object) {
- return createTypedElementAdapter();
- }
- @Override
- public Adapter caseOCLExpression(OCLExpression object) {
- return createOCLExpressionAdapter();
- }
- @Override
- public Adapter caseLiteralExp(LiteralExp object) {
- return createLiteralExpAdapter();
- }
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
+ @Override
+ public Adapter caseCollectionTemplateExp(CollectionTemplateExp object) {
+ return createCollectionTemplateExpAdapter();
+ }
+ @Override
+ public Adapter caseObjectTemplateExp(ObjectTemplateExp object) {
+ return createObjectTemplateExpAdapter();
+ }
+ @Override
+ public Adapter casePropertyTemplateItem(PropertyTemplateItem object) {
+ return createPropertyTemplateItemAdapter();
+ }
+ @Override
+ public Adapter caseTemplateExp(TemplateExp object) {
+ return createTemplateExpAdapter();
+ }
+ @Override
+ public Adapter caseVisitable(Visitable object) {
+ return createVisitableAdapter();
+ }
+ @Override
+ public Adapter caseElement(Element object) {
+ return createElementAdapter();
+ }
+ @Override
+ public Adapter caseNameable(Nameable object) {
+ return createNameableAdapter();
+ }
+ @Override
+ public Adapter caseNamedElement(NamedElement object) {
+ return createNamedElementAdapter();
+ }
+ @Override
+ public Adapter caseTypedElement(TypedElement object) {
+ return createTypedElementAdapter();
+ }
+ @Override
+ public Adapter caseOCLExpression(OCLExpression object) {
+ return createOCLExpressionAdapter();
+ }
+ @Override
+ public Adapter caseLiteralExp(LiteralExp object) {
+ return createLiteralExpAdapter();
+ }
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
/**
* Creates an adapter for the <code>target</code>.
diff --git a/plugins/org.eclipse.qvtd.xtext.qvtimperative.ui/src-gen/org/eclipse/qvtd/xtext/qvtimperative/ui/contentassist/AbstractQVTimperativeProposalProvider.java b/plugins/org.eclipse.qvtd.xtext.qvtimperative.ui/src-gen/org/eclipse/qvtd/xtext/qvtimperative/ui/contentassist/AbstractQVTimperativeProposalProvider.java
index 416fdf54b..67e6fb9d2 100644
--- a/plugins/org.eclipse.qvtd.xtext.qvtimperative.ui/src-gen/org/eclipse/qvtd/xtext/qvtimperative/ui/contentassist/AbstractQVTimperativeProposalProvider.java
+++ b/plugins/org.eclipse.qvtd.xtext.qvtimperative.ui/src-gen/org/eclipse/qvtd/xtext/qvtimperative/ui/contentassist/AbstractQVTimperativeProposalProvider.java
@@ -44,16 +44,7 @@ public class AbstractQVTimperativeProposalProvider extends org.eclipse.qvtd.xtex
public void completeAddStatementCS_OwnedExpression(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
- public void completeBottomPatternCS_OwnedUnrealizedVariables(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeBottomPatternCS_OwnedConstraints(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeConstraintCS_OwnedTarget(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeConstraintCS_OwnedInitExpression(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ public void completeCheckStatementCS_OwnedCondition(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeDirectionCS_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
@@ -65,14 +56,8 @@ public class AbstractQVTimperativeProposalProvider extends org.eclipse.qvtd.xtex
public void completeDirectionCS_Uses(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
}
- public void completeGuardPatternCS_OwnedUnrealizedVariables(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeGuardPatternCS_OwnedPredicates(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeGuardVariableCS_IsConnection(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
+ public void completeGuardVariableCS_ReferredTypedModel(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
}
public void completeGuardVariableCS_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
@@ -89,19 +74,25 @@ public class AbstractQVTimperativeProposalProvider extends org.eclipse.qvtd.xtex
public void completeImportCS_IsAll(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
+ public void completeInoutVariableCS_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
+ }
+ public void completeInoutVariableCS_OwnedType(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
+ }
public void completeMappingCS_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeMappingCS_OwnedInPathName(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
+ public void completeMappingCS_OwnedInoutVariables(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
+ }
public void completeMappingCS_OwnedDomains(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)((Alternatives)assignment.getTerminal()).getElements().get(0)), context, acceptor);
completeRuleCall(((RuleCall)((Alternatives)assignment.getTerminal()).getElements().get(1)), context, acceptor);
}
- public void completeMappingCS_OwnedMiddle(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
public void completeMappingCS_OwnedStatements(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
@@ -138,31 +129,40 @@ public class AbstractQVTimperativeProposalProvider extends org.eclipse.qvtd.xtex
public void completeMappingIteratorCS_OwnedType(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
- public void completeMiddleDomainCS_CheckedProperties(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ public void completeNewStatementCS_ReferredTypedModel(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
+ }
+ public void completeNewStatementCS_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
- public void completeMiddleDomainCS_EnforcedProperties(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ public void completeNewStatementCS_OwnedType(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
- public void completeMiddleDomainCS_OwnedGuardPattern(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ public void completeNewStatementCS_OwnedInit(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
- public void completeMiddleDomainCS_OwnedBottomPattern(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ public void completeOutVariableCS_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
- public void completeNamedDomainCS_IsCheck(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
+ public void completeOutVariableCS_OwnedType(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
+ }
+ public void completeParamDeclarationCS_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
+ }
+ public void completeParamDeclarationCS_OwnedType(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
- public void completeNamedDomainCS_IsEnforce(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ public void completePredicateVariableCS_IsChecked(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
- public void completeNamedDomainCS_Direction(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
+ public void completePredicateVariableCS_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
- public void completeNamedDomainCS_OwnedGuardPattern(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ public void completePredicateVariableCS_OwnedType(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
- public void completeNamedDomainCS_OwnedBottomPattern(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ public void completePredicateVariableCS_OwnedInit(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeQualifiedPackageCS_OwnedPathName(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
@@ -184,15 +184,6 @@ public class AbstractQVTimperativeProposalProvider extends org.eclipse.qvtd.xtex
completeRuleCall(((RuleCall)((Alternatives)assignment.getTerminal()).getElements().get(0)), context, acceptor);
completeRuleCall(((RuleCall)((Alternatives)assignment.getTerminal()).getElements().get(1)), context, acceptor);
}
- public void completeParamDeclarationCS_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeParamDeclarationCS_OwnedType(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completePredicateCS_OwnedCondition(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
public void completeQueryCS_IsTransient(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
@@ -211,28 +202,19 @@ public class AbstractQVTimperativeProposalProvider extends org.eclipse.qvtd.xtex
public void completeQueryCS_OwnedExpression(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
- public void completeNewStatementCS_ReferredTypedModel(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
- }
- public void completeNewStatementCS_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeNewStatementCS_OwnedType(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeNewStatementCS_OwnedInitExpression(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
public void completeScopeNameCS_OwnedPathElements(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
+ public void completeSetStatementCS_IsEmit(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
public void completeSetStatementCS_ReferredVariable(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
}
public void completeSetStatementCS_ReferredProperty(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
}
- public void completeSetStatementCS_OwnedInitExpression(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ public void completeSetStatementCS_OwnedInit(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeSourceDomainCS_IsCheck(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
@@ -244,13 +226,7 @@ public class AbstractQVTimperativeProposalProvider extends org.eclipse.qvtd.xtex
public void completeSourceDomainCS_CheckedProperties(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
- public void completeSourceDomainCS_EnforcedProperties(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeSourceDomainCS_OwnedGuardPattern(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeSourceDomainCS_OwnedBottomPattern(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ public void completeSourceDomainCS_OwnedGuardVariables(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeTransformationCS_OwnedPathName(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
@@ -271,40 +247,7 @@ public class AbstractQVTimperativeProposalProvider extends org.eclipse.qvtd.xtex
public void completeTargetDomainCS_CheckedProperties(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
- public void completeTargetDomainCS_EnforcedProperties(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeTargetDomainCS_OwnedGuardPattern(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeTargetDomainCS_OwnedBottomPattern(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeUnnamedDomainCS_OwnedGuardPattern(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeUnnamedDomainCS_OwnedBottomPattern(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeUnrealizedVariableCS_IsConnection(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void completeUnrealizedVariableCS_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeUnrealizedVariableCS_OwnedType(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeUnrealizedVariableCS_OwnedInitExpression(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeVariablePredicateCS_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeVariablePredicateCS_OwnedType(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeVariablePredicateCS_OwnedInitExpression(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ public void completeTargetDomainCS_OwnedGuardVariables(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
@@ -314,13 +257,7 @@ public class AbstractQVTimperativeProposalProvider extends org.eclipse.qvtd.xtex
public void complete_AddStatementCS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
- public void complete_BottomPatternCS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_BottomStatementCS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_ConstraintCS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ public void complete_CheckStatementCS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_ControlStatementCS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
@@ -329,15 +266,15 @@ public class AbstractQVTimperativeProposalProvider extends org.eclipse.qvtd.xtex
public void complete_DirectionCS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
- public void complete_GuardPatternCS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
public void complete_GuardVariableCS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_ImportCS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
+ public void complete_InoutVariableCS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
public void complete_MappingCS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
@@ -353,25 +290,22 @@ public class AbstractQVTimperativeProposalProvider extends org.eclipse.qvtd.xtex
public void complete_MappingIteratorCS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
- public void complete_MiddleDomainCS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_NamedDomainCS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ public void complete_NewStatementCS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
- public void complete_QualifiedPackageCS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ public void complete_OutVariableCS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_ParamDeclarationCS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
- public void complete_PredicateCS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ public void complete_PredicateVariableCS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
- public void complete_QueryCS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ public void complete_QualifiedPackageCS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
- public void complete_NewStatementCS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ public void complete_QueryCS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_ScopeNameCS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
@@ -392,13 +326,4 @@ public class AbstractQVTimperativeProposalProvider extends org.eclipse.qvtd.xtex
public void complete_TargetDomainCS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
- public void complete_UnnamedDomainCS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_UnrealizedVariableCS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_VariablePredicateCS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
}
diff --git a/plugins/org.eclipse.qvtd.xtext.qvtimperative.ui/src-gen/org/eclipse/qvtd/xtext/qvtimperative/ui/contentassist/antlr/QVTimperativeParser.java b/plugins/org.eclipse.qvtd.xtext.qvtimperative.ui/src-gen/org/eclipse/qvtd/xtext/qvtimperative/ui/contentassist/antlr/QVTimperativeParser.java
index 88a2fef45..73bcf00c1 100644
--- a/plugins/org.eclipse.qvtd.xtext.qvtimperative.ui/src-gen/org/eclipse/qvtd/xtext/qvtimperative/ui/contentassist/antlr/QVTimperativeParser.java
+++ b/plugins/org.eclipse.qvtd.xtext.qvtimperative.ui/src-gen/org/eclipse/qvtd/xtext/qvtimperative/ui/contentassist/antlr/QVTimperativeParser.java
@@ -45,18 +45,17 @@ public class QVTimperativeParser extends AbstractContentAssistParser {
private static final long serialVersionUID = 1L;
{
put(grammarAccess.getTopLevelCSAccess().getAlternatives_1(), "rule__TopLevelCS__Alternatives_1");
- put(grammarAccess.getBottomPatternCSAccess().getAlternatives_2(), "rule__BottomPatternCS__Alternatives_2");
- put(grammarAccess.getBottomStatementCSAccess().getAlternatives(), "rule__BottomStatementCS__Alternatives");
put(grammarAccess.getControlStatementCSAccess().getAlternatives(), "rule__ControlStatementCS__Alternatives");
- put(grammarAccess.getGuardPatternCSAccess().getAlternatives_2(), "rule__GuardPatternCS__Alternatives_2");
- put(grammarAccess.getGuardVariableCSAccess().getAlternatives_0(), "rule__GuardVariableCS__Alternatives_0");
- put(grammarAccess.getMappingCSAccess().getOwnedDomainsAlternatives_5_0(), "rule__MappingCS__OwnedDomainsAlternatives_5_0");
+ put(grammarAccess.getMappingCSAccess().getOwnedDomainsAlternatives_6_0(), "rule__MappingCS__OwnedDomainsAlternatives_6_0");
+ put(grammarAccess.getMappingCSAccess().getAlternatives_7(), "rule__MappingCS__Alternatives_7");
+ put(grammarAccess.getMappingCSAccess().getAlternatives_8(), "rule__MappingCS__Alternatives_8");
put(grammarAccess.getMappingCallBindingCSAccess().getAlternatives_1(), "rule__MappingCallBindingCS__Alternatives_1");
+ put(grammarAccess.getPredicateVariableCSAccess().getAlternatives_0(), "rule__PredicateVariableCS__Alternatives_0");
put(grammarAccess.getQualifiedPackageCSAccess().getAlternatives_5(), "rule__QualifiedPackageCS__Alternatives_5");
put(grammarAccess.getQualifiedPackageCSAccess().getAlternatives_5_0_1(), "rule__QualifiedPackageCS__Alternatives_5_0_1");
put(grammarAccess.getQualifiedPackageCSAccess().getOwnedClassesAlternatives_5_0_1_1_0(), "rule__QualifiedPackageCS__OwnedClassesAlternatives_5_0_1_1_0");
put(grammarAccess.getQueryCSAccess().getAlternatives_9(), "rule__QueryCS__Alternatives_9");
- put(grammarAccess.getUnrealizedVariableCSAccess().getAlternatives_0(), "rule__UnrealizedVariableCS__Alternatives_0");
+ put(grammarAccess.getSetStatementCSAccess().getAlternatives_0(), "rule__SetStatementCS__Alternatives_0");
put(grammarAccess.getUnrestrictedNameAccess().getAlternatives(), "rule__UnrestrictedName__Alternatives");
put(grammarAccess.getAttributeCSAccess().getAlternatives_0(), "rule__AttributeCS__Alternatives_0");
put(grammarAccess.getAttributeCSAccess().getAlternatives_5_1_0(), "rule__AttributeCS__Alternatives_5_1_0");
@@ -113,45 +112,37 @@ public class QVTimperativeParser extends AbstractContentAssistParser {
put(grammarAccess.getUPPERAccess().getAlternatives(), "rule__UPPER__Alternatives");
put(grammarAccess.getTopLevelCSAccess().getGroup(), "rule__TopLevelCS__Group__0");
put(grammarAccess.getAddStatementCSAccess().getGroup(), "rule__AddStatementCS__Group__0");
- put(grammarAccess.getBottomPatternCSAccess().getGroup(), "rule__BottomPatternCS__Group__0");
- put(grammarAccess.getConstraintCSAccess().getGroup(), "rule__ConstraintCS__Group__0");
- put(grammarAccess.getConstraintCSAccess().getGroup_2(), "rule__ConstraintCS__Group_2__0");
+ put(grammarAccess.getCheckStatementCSAccess().getGroup(), "rule__CheckStatementCS__Group__0");
put(grammarAccess.getDirectionCSAccess().getGroup(), "rule__DirectionCS__Group__0");
put(grammarAccess.getDirectionCSAccess().getGroup_4(), "rule__DirectionCS__Group_4__0");
put(grammarAccess.getDirectionCSAccess().getGroup_5(), "rule__DirectionCS__Group_5__0");
put(grammarAccess.getDirectionCSAccess().getGroup_5_2(), "rule__DirectionCS__Group_5_2__0");
- put(grammarAccess.getGuardPatternCSAccess().getGroup(), "rule__GuardPatternCS__Group__0");
put(grammarAccess.getGuardVariableCSAccess().getGroup(), "rule__GuardVariableCS__Group__0");
put(grammarAccess.getImportCSAccess().getGroup(), "rule__ImportCS__Group__0");
put(grammarAccess.getImportCSAccess().getGroup_1(), "rule__ImportCS__Group_1__0");
put(grammarAccess.getImportCSAccess().getGroup_3(), "rule__ImportCS__Group_3__0");
+ put(grammarAccess.getInoutVariableCSAccess().getGroup(), "rule__InoutVariableCS__Group__0");
put(grammarAccess.getMappingCSAccess().getGroup(), "rule__MappingCS__Group__0");
put(grammarAccess.getMappingCSAccess().getGroup_3(), "rule__MappingCS__Group_3__0");
- put(grammarAccess.getMappingCSAccess().getGroup_6(), "rule__MappingCS__Group_6__0");
put(grammarAccess.getMappingCallCSAccess().getGroup(), "rule__MappingCallCS__Group__0");
put(grammarAccess.getMappingCallBindingCSAccess().getGroup(), "rule__MappingCallBindingCS__Group__0");
put(grammarAccess.getMappingLoopCSAccess().getGroup(), "rule__MappingLoopCS__Group__0");
put(grammarAccess.getMappingIteratorCSAccess().getGroup(), "rule__MappingIteratorCS__Group__0");
put(grammarAccess.getMappingIteratorCSAccess().getGroup_1(), "rule__MappingIteratorCS__Group_1__0");
- put(grammarAccess.getMiddleDomainCSAccess().getGroup(), "rule__MiddleDomainCS__Group__0");
- put(grammarAccess.getMiddleDomainCSAccess().getGroup_0(), "rule__MiddleDomainCS__Group_0__0");
- put(grammarAccess.getMiddleDomainCSAccess().getGroup_0_1(), "rule__MiddleDomainCS__Group_0_1__0");
- put(grammarAccess.getMiddleDomainCSAccess().getGroup_0_1_2(), "rule__MiddleDomainCS__Group_0_1_2__0");
- put(grammarAccess.getMiddleDomainCSAccess().getGroup_0_2(), "rule__MiddleDomainCS__Group_0_2__0");
- put(grammarAccess.getMiddleDomainCSAccess().getGroup_0_2_2(), "rule__MiddleDomainCS__Group_0_2_2__0");
- put(grammarAccess.getNamedDomainCSAccess().getGroup(), "rule__NamedDomainCS__Group__0");
+ put(grammarAccess.getNewStatementCSAccess().getGroup(), "rule__NewStatementCS__Group__0");
+ put(grammarAccess.getNewStatementCSAccess().getGroup_6(), "rule__NewStatementCS__Group_6__0");
+ put(grammarAccess.getOutVariableCSAccess().getGroup(), "rule__OutVariableCS__Group__0");
+ put(grammarAccess.getParamDeclarationCSAccess().getGroup(), "rule__ParamDeclarationCS__Group__0");
+ put(grammarAccess.getPredicateVariableCSAccess().getGroup(), "rule__PredicateVariableCS__Group__0");
+ put(grammarAccess.getPredicateVariableCSAccess().getGroup_2(), "rule__PredicateVariableCS__Group_2__0");
put(grammarAccess.getQualifiedPackageCSAccess().getGroup(), "rule__QualifiedPackageCS__Group__0");
put(grammarAccess.getQualifiedPackageCSAccess().getGroup_3(), "rule__QualifiedPackageCS__Group_3__0");
put(grammarAccess.getQualifiedPackageCSAccess().getGroup_4(), "rule__QualifiedPackageCS__Group_4__0");
put(grammarAccess.getQualifiedPackageCSAccess().getGroup_5_0(), "rule__QualifiedPackageCS__Group_5_0__0");
- put(grammarAccess.getParamDeclarationCSAccess().getGroup(), "rule__ParamDeclarationCS__Group__0");
- put(grammarAccess.getPredicateCSAccess().getGroup(), "rule__PredicateCS__Group__0");
put(grammarAccess.getQueryCSAccess().getGroup(), "rule__QueryCS__Group__0");
put(grammarAccess.getQueryCSAccess().getGroup_5(), "rule__QueryCS__Group_5__0");
put(grammarAccess.getQueryCSAccess().getGroup_5_1(), "rule__QueryCS__Group_5_1__0");
put(grammarAccess.getQueryCSAccess().getGroup_9_1(), "rule__QueryCS__Group_9_1__0");
- put(grammarAccess.getNewStatementCSAccess().getGroup(), "rule__NewStatementCS__Group__0");
- put(grammarAccess.getNewStatementCSAccess().getGroup_6(), "rule__NewStatementCS__Group_6__0");
put(grammarAccess.getScopeNameCSAccess().getGroup(), "rule__ScopeNameCS__Group__0");
put(grammarAccess.getScopeNameCSAccess().getGroup_2(), "rule__ScopeNameCS__Group_2__0");
put(grammarAccess.getSetStatementCSAccess().getGroup(), "rule__SetStatementCS__Group__0");
@@ -159,22 +150,12 @@ public class QVTimperativeParser extends AbstractContentAssistParser {
put(grammarAccess.getSourceDomainCSAccess().getGroup_2(), "rule__SourceDomainCS__Group_2__0");
put(grammarAccess.getSourceDomainCSAccess().getGroup_2_1(), "rule__SourceDomainCS__Group_2_1__0");
put(grammarAccess.getSourceDomainCSAccess().getGroup_2_1_2(), "rule__SourceDomainCS__Group_2_1_2__0");
- put(grammarAccess.getSourceDomainCSAccess().getGroup_2_2(), "rule__SourceDomainCS__Group_2_2__0");
- put(grammarAccess.getSourceDomainCSAccess().getGroup_2_2_2(), "rule__SourceDomainCS__Group_2_2_2__0");
put(grammarAccess.getTransformationCSAccess().getGroup(), "rule__TransformationCS__Group__0");
put(grammarAccess.getTransformationCSAccess().getGroup_4(), "rule__TransformationCS__Group_4__0");
put(grammarAccess.getTargetDomainCSAccess().getGroup(), "rule__TargetDomainCS__Group__0");
put(grammarAccess.getTargetDomainCSAccess().getGroup_2(), "rule__TargetDomainCS__Group_2__0");
put(grammarAccess.getTargetDomainCSAccess().getGroup_2_1(), "rule__TargetDomainCS__Group_2_1__0");
put(grammarAccess.getTargetDomainCSAccess().getGroup_2_1_2(), "rule__TargetDomainCS__Group_2_1_2__0");
- put(grammarAccess.getTargetDomainCSAccess().getGroup_2_2(), "rule__TargetDomainCS__Group_2_2__0");
- put(grammarAccess.getTargetDomainCSAccess().getGroup_2_2_2(), "rule__TargetDomainCS__Group_2_2_2__0");
- put(grammarAccess.getUnnamedDomainCSAccess().getGroup(), "rule__UnnamedDomainCS__Group__0");
- put(grammarAccess.getUnrealizedVariableCSAccess().getGroup(), "rule__UnrealizedVariableCS__Group__0");
- put(grammarAccess.getUnrealizedVariableCSAccess().getGroup_2(), "rule__UnrealizedVariableCS__Group_2__0");
- put(grammarAccess.getUnrealizedVariableCSAccess().getGroup_3(), "rule__UnrealizedVariableCS__Group_3__0");
- put(grammarAccess.getVariablePredicateCSAccess().getGroup(), "rule__VariablePredicateCS__Group__0");
- put(grammarAccess.getVariablePredicateCSAccess().getGroup_2(), "rule__VariablePredicateCS__Group_2__0");
put(grammarAccess.getAttributeCSAccess().getGroup(), "rule__AttributeCS__Group__0");
put(grammarAccess.getAttributeCSAccess().getGroup_0_0(), "rule__AttributeCS__Group_0_0__0");
put(grammarAccess.getAttributeCSAccess().getGroup_0_1(), "rule__AttributeCS__Group_0_1__0");
@@ -334,30 +315,30 @@ public class QVTimperativeParser extends AbstractContentAssistParser {
put(grammarAccess.getTopLevelCSAccess().getOwnedQueriesAssignment_1_3(), "rule__TopLevelCS__OwnedQueriesAssignment_1_3");
put(grammarAccess.getAddStatementCSAccess().getTargetVariableAssignment_1(), "rule__AddStatementCS__TargetVariableAssignment_1");
put(grammarAccess.getAddStatementCSAccess().getOwnedExpressionAssignment_3(), "rule__AddStatementCS__OwnedExpressionAssignment_3");
- put(grammarAccess.getBottomPatternCSAccess().getOwnedUnrealizedVariablesAssignment_2_0(), "rule__BottomPatternCS__OwnedUnrealizedVariablesAssignment_2_0");
- put(grammarAccess.getBottomPatternCSAccess().getOwnedConstraintsAssignment_2_1(), "rule__BottomPatternCS__OwnedConstraintsAssignment_2_1");
- put(grammarAccess.getConstraintCSAccess().getOwnedTargetAssignment_1(), "rule__ConstraintCS__OwnedTargetAssignment_1");
- put(grammarAccess.getConstraintCSAccess().getOwnedInitExpressionAssignment_2_1(), "rule__ConstraintCS__OwnedInitExpressionAssignment_2_1");
+ put(grammarAccess.getCheckStatementCSAccess().getOwnedConditionAssignment_1(), "rule__CheckStatementCS__OwnedConditionAssignment_1");
put(grammarAccess.getDirectionCSAccess().getNameAssignment_1(), "rule__DirectionCS__NameAssignment_1");
put(grammarAccess.getDirectionCSAccess().getImportsAssignment_3(), "rule__DirectionCS__ImportsAssignment_3");
put(grammarAccess.getDirectionCSAccess().getImportsAssignment_4_1(), "rule__DirectionCS__ImportsAssignment_4_1");
put(grammarAccess.getDirectionCSAccess().getUsesAssignment_5_1(), "rule__DirectionCS__UsesAssignment_5_1");
put(grammarAccess.getDirectionCSAccess().getUsesAssignment_5_2_1(), "rule__DirectionCS__UsesAssignment_5_2_1");
- put(grammarAccess.getGuardPatternCSAccess().getOwnedUnrealizedVariablesAssignment_2_0(), "rule__GuardPatternCS__OwnedUnrealizedVariablesAssignment_2_0");
- put(grammarAccess.getGuardPatternCSAccess().getOwnedUnrealizedVariablesAssignment_2_1(), "rule__GuardPatternCS__OwnedUnrealizedVariablesAssignment_2_1");
- put(grammarAccess.getGuardPatternCSAccess().getOwnedPredicatesAssignment_2_2(), "rule__GuardPatternCS__OwnedPredicatesAssignment_2_2");
- put(grammarAccess.getGuardVariableCSAccess().getIsConnectionAssignment_0_1(), "rule__GuardVariableCS__IsConnectionAssignment_0_1");
- put(grammarAccess.getGuardVariableCSAccess().getNameAssignment_1(), "rule__GuardVariableCS__NameAssignment_1");
- put(grammarAccess.getGuardVariableCSAccess().getOwnedTypeAssignment_3(), "rule__GuardVariableCS__OwnedTypeAssignment_3");
+ put(grammarAccess.getGuardVariableCSAccess().getReferredTypedModelAssignment_2(), "rule__GuardVariableCS__ReferredTypedModelAssignment_2");
+ put(grammarAccess.getGuardVariableCSAccess().getNameAssignment_3(), "rule__GuardVariableCS__NameAssignment_3");
+ put(grammarAccess.getGuardVariableCSAccess().getOwnedTypeAssignment_5(), "rule__GuardVariableCS__OwnedTypeAssignment_5");
put(grammarAccess.getImportCSAccess().getNameAssignment_1_0(), "rule__ImportCS__NameAssignment_1_0");
put(grammarAccess.getImportCSAccess().getOwnedPathNameAssignment_2(), "rule__ImportCS__OwnedPathNameAssignment_2");
put(grammarAccess.getImportCSAccess().getIsAllAssignment_3_0(), "rule__ImportCS__IsAllAssignment_3_0");
+ put(grammarAccess.getInoutVariableCSAccess().getNameAssignment_1(), "rule__InoutVariableCS__NameAssignment_1");
+ put(grammarAccess.getInoutVariableCSAccess().getOwnedTypeAssignment_3(), "rule__InoutVariableCS__OwnedTypeAssignment_3");
put(grammarAccess.getMappingCSAccess().getNameAssignment_2(), "rule__MappingCS__NameAssignment_2");
put(grammarAccess.getMappingCSAccess().getOwnedInPathNameAssignment_3_1(), "rule__MappingCS__OwnedInPathNameAssignment_3_1");
- put(grammarAccess.getMappingCSAccess().getOwnedDomainsAssignment_5(), "rule__MappingCS__OwnedDomainsAssignment_5");
- put(grammarAccess.getMappingCSAccess().getOwnedMiddleAssignment_6_1(), "rule__MappingCS__OwnedMiddleAssignment_6_1");
- put(grammarAccess.getMappingCSAccess().getOwnedStatementsAssignment_7(), "rule__MappingCS__OwnedStatementsAssignment_7");
- put(grammarAccess.getMappingCSAccess().getOwnedStatementsAssignment_8(), "rule__MappingCS__OwnedStatementsAssignment_8");
+ put(grammarAccess.getMappingCSAccess().getOwnedInoutVariablesAssignment_5(), "rule__MappingCS__OwnedInoutVariablesAssignment_5");
+ put(grammarAccess.getMappingCSAccess().getOwnedDomainsAssignment_6(), "rule__MappingCS__OwnedDomainsAssignment_6");
+ put(grammarAccess.getMappingCSAccess().getOwnedStatementsAssignment_7_0(), "rule__MappingCS__OwnedStatementsAssignment_7_0");
+ put(grammarAccess.getMappingCSAccess().getOwnedStatementsAssignment_7_1(), "rule__MappingCS__OwnedStatementsAssignment_7_1");
+ put(grammarAccess.getMappingCSAccess().getOwnedStatementsAssignment_7_2(), "rule__MappingCS__OwnedStatementsAssignment_7_2");
+ put(grammarAccess.getMappingCSAccess().getOwnedStatementsAssignment_8_0(), "rule__MappingCS__OwnedStatementsAssignment_8_0");
+ put(grammarAccess.getMappingCSAccess().getOwnedStatementsAssignment_8_1(), "rule__MappingCS__OwnedStatementsAssignment_8_1");
+ put(grammarAccess.getMappingCSAccess().getOwnedStatementsAssignment_9(), "rule__MappingCS__OwnedStatementsAssignment_9");
put(grammarAccess.getMappingCallCSAccess().getIsInfiniteAssignment_1(), "rule__MappingCallCS__IsInfiniteAssignment_1");
put(grammarAccess.getMappingCallCSAccess().getOwnedPathNameAssignment_3(), "rule__MappingCallCS__OwnedPathNameAssignment_3");
put(grammarAccess.getMappingCallCSAccess().getOwnedBindingsAssignment_5(), "rule__MappingCallCS__OwnedBindingsAssignment_5");
@@ -369,26 +350,24 @@ public class QVTimperativeParser extends AbstractContentAssistParser {
put(grammarAccess.getMappingLoopCSAccess().getOwnedMappingStatementsAssignment_5(), "rule__MappingLoopCS__OwnedMappingStatementsAssignment_5");
put(grammarAccess.getMappingIteratorCSAccess().getNameAssignment_0(), "rule__MappingIteratorCS__NameAssignment_0");
put(grammarAccess.getMappingIteratorCSAccess().getOwnedTypeAssignment_1_1(), "rule__MappingIteratorCS__OwnedTypeAssignment_1_1");
- put(grammarAccess.getMiddleDomainCSAccess().getCheckedPropertiesAssignment_0_1_1(), "rule__MiddleDomainCS__CheckedPropertiesAssignment_0_1_1");
- put(grammarAccess.getMiddleDomainCSAccess().getCheckedPropertiesAssignment_0_1_2_1(), "rule__MiddleDomainCS__CheckedPropertiesAssignment_0_1_2_1");
- put(grammarAccess.getMiddleDomainCSAccess().getEnforcedPropertiesAssignment_0_2_1(), "rule__MiddleDomainCS__EnforcedPropertiesAssignment_0_2_1");
- put(grammarAccess.getMiddleDomainCSAccess().getEnforcedPropertiesAssignment_0_2_2_1(), "rule__MiddleDomainCS__EnforcedPropertiesAssignment_0_2_2_1");
- put(grammarAccess.getMiddleDomainCSAccess().getOwnedGuardPatternAssignment_1(), "rule__MiddleDomainCS__OwnedGuardPatternAssignment_1");
- put(grammarAccess.getMiddleDomainCSAccess().getOwnedBottomPatternAssignment_2(), "rule__MiddleDomainCS__OwnedBottomPatternAssignment_2");
- put(grammarAccess.getNamedDomainCSAccess().getIsCheckAssignment_0(), "rule__NamedDomainCS__IsCheckAssignment_0");
- put(grammarAccess.getNamedDomainCSAccess().getIsEnforceAssignment_1(), "rule__NamedDomainCS__IsEnforceAssignment_1");
- put(grammarAccess.getNamedDomainCSAccess().getDirectionAssignment_2(), "rule__NamedDomainCS__DirectionAssignment_2");
- put(grammarAccess.getNamedDomainCSAccess().getOwnedGuardPatternAssignment_3(), "rule__NamedDomainCS__OwnedGuardPatternAssignment_3");
- put(grammarAccess.getNamedDomainCSAccess().getOwnedBottomPatternAssignment_4(), "rule__NamedDomainCS__OwnedBottomPatternAssignment_4");
+ put(grammarAccess.getNewStatementCSAccess().getReferredTypedModelAssignment_2(), "rule__NewStatementCS__ReferredTypedModelAssignment_2");
+ put(grammarAccess.getNewStatementCSAccess().getNameAssignment_3(), "rule__NewStatementCS__NameAssignment_3");
+ put(grammarAccess.getNewStatementCSAccess().getOwnedTypeAssignment_5(), "rule__NewStatementCS__OwnedTypeAssignment_5");
+ put(grammarAccess.getNewStatementCSAccess().getOwnedInitAssignment_6_1(), "rule__NewStatementCS__OwnedInitAssignment_6_1");
+ put(grammarAccess.getOutVariableCSAccess().getNameAssignment_1(), "rule__OutVariableCS__NameAssignment_1");
+ put(grammarAccess.getOutVariableCSAccess().getOwnedTypeAssignment_3(), "rule__OutVariableCS__OwnedTypeAssignment_3");
+ put(grammarAccess.getParamDeclarationCSAccess().getNameAssignment_0(), "rule__ParamDeclarationCS__NameAssignment_0");
+ put(grammarAccess.getParamDeclarationCSAccess().getOwnedTypeAssignment_2(), "rule__ParamDeclarationCS__OwnedTypeAssignment_2");
+ put(grammarAccess.getPredicateVariableCSAccess().getIsCheckedAssignment_0_1(), "rule__PredicateVariableCS__IsCheckedAssignment_0_1");
+ put(grammarAccess.getPredicateVariableCSAccess().getNameAssignment_1(), "rule__PredicateVariableCS__NameAssignment_1");
+ put(grammarAccess.getPredicateVariableCSAccess().getOwnedTypeAssignment_2_1(), "rule__PredicateVariableCS__OwnedTypeAssignment_2_1");
+ put(grammarAccess.getPredicateVariableCSAccess().getOwnedInitAssignment_4(), "rule__PredicateVariableCS__OwnedInitAssignment_4");
put(grammarAccess.getQualifiedPackageCSAccess().getOwnedPathNameAssignment_1(), "rule__QualifiedPackageCS__OwnedPathNameAssignment_1");
put(grammarAccess.getQualifiedPackageCSAccess().getNameAssignment_2(), "rule__QualifiedPackageCS__NameAssignment_2");
put(grammarAccess.getQualifiedPackageCSAccess().getNsPrefixAssignment_3_1(), "rule__QualifiedPackageCS__NsPrefixAssignment_3_1");
put(grammarAccess.getQualifiedPackageCSAccess().getNsURIAssignment_4_1(), "rule__QualifiedPackageCS__NsURIAssignment_4_1");
put(grammarAccess.getQualifiedPackageCSAccess().getOwnedPackagesAssignment_5_0_1_0(), "rule__QualifiedPackageCS__OwnedPackagesAssignment_5_0_1_0");
put(grammarAccess.getQualifiedPackageCSAccess().getOwnedClassesAssignment_5_0_1_1(), "rule__QualifiedPackageCS__OwnedClassesAssignment_5_0_1_1");
- put(grammarAccess.getParamDeclarationCSAccess().getNameAssignment_0(), "rule__ParamDeclarationCS__NameAssignment_0");
- put(grammarAccess.getParamDeclarationCSAccess().getOwnedTypeAssignment_2(), "rule__ParamDeclarationCS__OwnedTypeAssignment_2");
- put(grammarAccess.getPredicateCSAccess().getOwnedConditionAssignment_1(), "rule__PredicateCS__OwnedConditionAssignment_1");
put(grammarAccess.getQueryCSAccess().getIsTransientAssignment_0(), "rule__QueryCS__IsTransientAssignment_0");
put(grammarAccess.getQueryCSAccess().getOwnedPathNameAssignment_2(), "rule__QueryCS__OwnedPathNameAssignment_2");
put(grammarAccess.getQueryCSAccess().getNameAssignment_3(), "rule__QueryCS__NameAssignment_3");
@@ -396,23 +375,17 @@ public class QVTimperativeParser extends AbstractContentAssistParser {
put(grammarAccess.getQueryCSAccess().getOwnedParametersAssignment_5_1_1(), "rule__QueryCS__OwnedParametersAssignment_5_1_1");
put(grammarAccess.getQueryCSAccess().getOwnedTypeAssignment_8(), "rule__QueryCS__OwnedTypeAssignment_8");
put(grammarAccess.getQueryCSAccess().getOwnedExpressionAssignment_9_1_1(), "rule__QueryCS__OwnedExpressionAssignment_9_1_1");
- put(grammarAccess.getNewStatementCSAccess().getReferredTypedModelAssignment_2(), "rule__NewStatementCS__ReferredTypedModelAssignment_2");
- put(grammarAccess.getNewStatementCSAccess().getNameAssignment_3(), "rule__NewStatementCS__NameAssignment_3");
- put(grammarAccess.getNewStatementCSAccess().getOwnedTypeAssignment_5(), "rule__NewStatementCS__OwnedTypeAssignment_5");
- put(grammarAccess.getNewStatementCSAccess().getOwnedInitExpressionAssignment_6_1(), "rule__NewStatementCS__OwnedInitExpressionAssignment_6_1");
put(grammarAccess.getScopeNameCSAccess().getOwnedPathElementsAssignment_0(), "rule__ScopeNameCS__OwnedPathElementsAssignment_0");
put(grammarAccess.getScopeNameCSAccess().getOwnedPathElementsAssignment_2_0(), "rule__ScopeNameCS__OwnedPathElementsAssignment_2_0");
+ put(grammarAccess.getSetStatementCSAccess().getIsEmitAssignment_0_1(), "rule__SetStatementCS__IsEmitAssignment_0_1");
put(grammarAccess.getSetStatementCSAccess().getReferredVariableAssignment_1(), "rule__SetStatementCS__ReferredVariableAssignment_1");
put(grammarAccess.getSetStatementCSAccess().getReferredPropertyAssignment_3(), "rule__SetStatementCS__ReferredPropertyAssignment_3");
- put(grammarAccess.getSetStatementCSAccess().getOwnedInitExpressionAssignment_5(), "rule__SetStatementCS__OwnedInitExpressionAssignment_5");
+ put(grammarAccess.getSetStatementCSAccess().getOwnedInitAssignment_5(), "rule__SetStatementCS__OwnedInitAssignment_5");
put(grammarAccess.getSourceDomainCSAccess().getIsCheckAssignment_0(), "rule__SourceDomainCS__IsCheckAssignment_0");
put(grammarAccess.getSourceDomainCSAccess().getDirectionAssignment_1(), "rule__SourceDomainCS__DirectionAssignment_1");
put(grammarAccess.getSourceDomainCSAccess().getCheckedPropertiesAssignment_2_1_1(), "rule__SourceDomainCS__CheckedPropertiesAssignment_2_1_1");
put(grammarAccess.getSourceDomainCSAccess().getCheckedPropertiesAssignment_2_1_2_1(), "rule__SourceDomainCS__CheckedPropertiesAssignment_2_1_2_1");
- put(grammarAccess.getSourceDomainCSAccess().getEnforcedPropertiesAssignment_2_2_1(), "rule__SourceDomainCS__EnforcedPropertiesAssignment_2_2_1");
- put(grammarAccess.getSourceDomainCSAccess().getEnforcedPropertiesAssignment_2_2_2_1(), "rule__SourceDomainCS__EnforcedPropertiesAssignment_2_2_2_1");
- put(grammarAccess.getSourceDomainCSAccess().getOwnedGuardPatternAssignment_3(), "rule__SourceDomainCS__OwnedGuardPatternAssignment_3");
- put(grammarAccess.getSourceDomainCSAccess().getOwnedBottomPatternAssignment_4(), "rule__SourceDomainCS__OwnedBottomPatternAssignment_4");
+ put(grammarAccess.getSourceDomainCSAccess().getOwnedGuardVariablesAssignment_4(), "rule__SourceDomainCS__OwnedGuardVariablesAssignment_4");
put(grammarAccess.getTransformationCSAccess().getOwnedPathNameAssignment_1(), "rule__TransformationCS__OwnedPathNameAssignment_1");
put(grammarAccess.getTransformationCSAccess().getNameAssignment_2(), "rule__TransformationCS__NameAssignment_2");
put(grammarAccess.getTransformationCSAccess().getOwnedDirectionsAssignment_4_0(), "rule__TransformationCS__OwnedDirectionsAssignment_4_0");
@@ -420,19 +393,7 @@ public class QVTimperativeParser extends AbstractContentAssistParser {
put(grammarAccess.getTargetDomainCSAccess().getDirectionAssignment_1(), "rule__TargetDomainCS__DirectionAssignment_1");
put(grammarAccess.getTargetDomainCSAccess().getCheckedPropertiesAssignment_2_1_1(), "rule__TargetDomainCS__CheckedPropertiesAssignment_2_1_1");
put(grammarAccess.getTargetDomainCSAccess().getCheckedPropertiesAssignment_2_1_2_1(), "rule__TargetDomainCS__CheckedPropertiesAssignment_2_1_2_1");
- put(grammarAccess.getTargetDomainCSAccess().getEnforcedPropertiesAssignment_2_2_1(), "rule__TargetDomainCS__EnforcedPropertiesAssignment_2_2_1");
- put(grammarAccess.getTargetDomainCSAccess().getEnforcedPropertiesAssignment_2_2_2_1(), "rule__TargetDomainCS__EnforcedPropertiesAssignment_2_2_2_1");
- put(grammarAccess.getTargetDomainCSAccess().getOwnedGuardPatternAssignment_3(), "rule__TargetDomainCS__OwnedGuardPatternAssignment_3");
- put(grammarAccess.getTargetDomainCSAccess().getOwnedBottomPatternAssignment_4(), "rule__TargetDomainCS__OwnedBottomPatternAssignment_4");
- put(grammarAccess.getUnnamedDomainCSAccess().getOwnedGuardPatternAssignment_1(), "rule__UnnamedDomainCS__OwnedGuardPatternAssignment_1");
- put(grammarAccess.getUnnamedDomainCSAccess().getOwnedBottomPatternAssignment_2(), "rule__UnnamedDomainCS__OwnedBottomPatternAssignment_2");
- put(grammarAccess.getUnrealizedVariableCSAccess().getIsConnectionAssignment_0_1(), "rule__UnrealizedVariableCS__IsConnectionAssignment_0_1");
- put(grammarAccess.getUnrealizedVariableCSAccess().getNameAssignment_1(), "rule__UnrealizedVariableCS__NameAssignment_1");
- put(grammarAccess.getUnrealizedVariableCSAccess().getOwnedTypeAssignment_2_1(), "rule__UnrealizedVariableCS__OwnedTypeAssignment_2_1");
- put(grammarAccess.getUnrealizedVariableCSAccess().getOwnedInitExpressionAssignment_3_1(), "rule__UnrealizedVariableCS__OwnedInitExpressionAssignment_3_1");
- put(grammarAccess.getVariablePredicateCSAccess().getNameAssignment_1(), "rule__VariablePredicateCS__NameAssignment_1");
- put(grammarAccess.getVariablePredicateCSAccess().getOwnedTypeAssignment_2_1(), "rule__VariablePredicateCS__OwnedTypeAssignment_2_1");
- put(grammarAccess.getVariablePredicateCSAccess().getOwnedInitExpressionAssignment_4(), "rule__VariablePredicateCS__OwnedInitExpressionAssignment_4");
+ put(grammarAccess.getTargetDomainCSAccess().getOwnedGuardVariablesAssignment_4(), "rule__TargetDomainCS__OwnedGuardVariablesAssignment_4");
put(grammarAccess.getAttributeCSAccess().getQualifiersAssignment_0_0_0(), "rule__AttributeCS__QualifiersAssignment_0_0_0");
put(grammarAccess.getAttributeCSAccess().getQualifiersAssignment_0_0_1(), "rule__AttributeCS__QualifiersAssignment_0_0_1");
put(grammarAccess.getAttributeCSAccess().getQualifiersAssignment_0_1_0(), "rule__AttributeCS__QualifiersAssignment_0_1_0");
diff --git a/plugins/org.eclipse.qvtd.xtext.qvtimperative.ui/src-gen/org/eclipse/qvtd/xtext/qvtimperative/ui/contentassist/antlr/internal/InternalQVTimperative.g b/plugins/org.eclipse.qvtd.xtext.qvtimperative.ui/src-gen/org/eclipse/qvtd/xtext/qvtimperative/ui/contentassist/antlr/internal/InternalQVTimperative.g
index ac755d305..fcd1670d1 100644
--- a/plugins/org.eclipse.qvtd.xtext.qvtimperative.ui/src-gen/org/eclipse/qvtd/xtext/qvtimperative/ui/contentassist/antlr/internal/InternalQVTimperative.g
+++ b/plugins/org.eclipse.qvtd.xtext.qvtimperative.ui/src-gen/org/eclipse/qvtd/xtext/qvtimperative/ui/contentassist/antlr/internal/InternalQVTimperative.g
@@ -120,81 +120,25 @@ finally {
-// Entry rule entryRuleBottomPatternCS
-entryRuleBottomPatternCS
+// Entry rule entryRuleCheckStatementCS
+entryRuleCheckStatementCS
:
-{ before(grammarAccess.getBottomPatternCSRule()); }
- ruleBottomPatternCS
-{ after(grammarAccess.getBottomPatternCSRule()); }
+{ before(grammarAccess.getCheckStatementCSRule()); }
+ ruleCheckStatementCS
+{ after(grammarAccess.getCheckStatementCSRule()); }
EOF
;
-// Rule BottomPatternCS
-ruleBottomPatternCS
+// Rule CheckStatementCS
+ruleCheckStatementCS
@init {
int stackSize = keepStackSize();
}
:
(
-{ before(grammarAccess.getBottomPatternCSAccess().getGroup()); }
-(rule__BottomPatternCS__Group__0)
-{ after(grammarAccess.getBottomPatternCSAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRuleBottomStatementCS
-entryRuleBottomStatementCS
-:
-{ before(grammarAccess.getBottomStatementCSRule()); }
- ruleBottomStatementCS
-{ after(grammarAccess.getBottomStatementCSRule()); }
- EOF
-;
-
-// Rule BottomStatementCS
-ruleBottomStatementCS
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getBottomStatementCSAccess().getAlternatives()); }
-(rule__BottomStatementCS__Alternatives)
-{ after(grammarAccess.getBottomStatementCSAccess().getAlternatives()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRuleConstraintCS
-entryRuleConstraintCS
-:
-{ before(grammarAccess.getConstraintCSRule()); }
- ruleConstraintCS
-{ after(grammarAccess.getConstraintCSRule()); }
- EOF
-;
-
-// Rule ConstraintCS
-ruleConstraintCS
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getConstraintCSAccess().getGroup()); }
-(rule__ConstraintCS__Group__0)
-{ after(grammarAccess.getConstraintCSAccess().getGroup()); }
+{ before(grammarAccess.getCheckStatementCSAccess().getGroup()); }
+(rule__CheckStatementCS__Group__0)
+{ after(grammarAccess.getCheckStatementCSAccess().getGroup()); }
)
;
@@ -260,34 +204,6 @@ finally {
-// Entry rule entryRuleGuardPatternCS
-entryRuleGuardPatternCS
-:
-{ before(grammarAccess.getGuardPatternCSRule()); }
- ruleGuardPatternCS
-{ after(grammarAccess.getGuardPatternCSRule()); }
- EOF
-;
-
-// Rule GuardPatternCS
-ruleGuardPatternCS
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getGuardPatternCSAccess().getGroup()); }
-(rule__GuardPatternCS__Group__0)
-{ after(grammarAccess.getGuardPatternCSAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
// Entry rule entryRuleGuardVariableCS
entryRuleGuardVariableCS
:
@@ -344,6 +260,34 @@ finally {
+// Entry rule entryRuleInoutVariableCS
+entryRuleInoutVariableCS
+:
+{ before(grammarAccess.getInoutVariableCSRule()); }
+ ruleInoutVariableCS
+{ after(grammarAccess.getInoutVariableCSRule()); }
+ EOF
+;
+
+// Rule InoutVariableCS
+ruleInoutVariableCS
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getInoutVariableCSAccess().getGroup()); }
+(rule__InoutVariableCS__Group__0)
+{ after(grammarAccess.getInoutVariableCSAccess().getGroup()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
// Entry rule entryRuleMappingCS
entryRuleMappingCS
:
@@ -484,25 +428,25 @@ finally {
-// Entry rule entryRuleMiddleDomainCS
-entryRuleMiddleDomainCS
+// Entry rule entryRuleNewStatementCS
+entryRuleNewStatementCS
:
-{ before(grammarAccess.getMiddleDomainCSRule()); }
- ruleMiddleDomainCS
-{ after(grammarAccess.getMiddleDomainCSRule()); }
+{ before(grammarAccess.getNewStatementCSRule()); }
+ ruleNewStatementCS
+{ after(grammarAccess.getNewStatementCSRule()); }
EOF
;
-// Rule MiddleDomainCS
-ruleMiddleDomainCS
+// Rule NewStatementCS
+ruleNewStatementCS
@init {
int stackSize = keepStackSize();
}
:
(
-{ before(grammarAccess.getMiddleDomainCSAccess().getGroup()); }
-(rule__MiddleDomainCS__Group__0)
-{ after(grammarAccess.getMiddleDomainCSAccess().getGroup()); }
+{ before(grammarAccess.getNewStatementCSAccess().getGroup()); }
+(rule__NewStatementCS__Group__0)
+{ after(grammarAccess.getNewStatementCSAccess().getGroup()); }
)
;
@@ -512,27 +456,25 @@ finally {
-
-
-// Entry rule entryRuleQualifiedPackageCS
-entryRuleQualifiedPackageCS
+// Entry rule entryRuleOutVariableCS
+entryRuleOutVariableCS
:
-{ before(grammarAccess.getQualifiedPackageCSRule()); }
- ruleQualifiedPackageCS
-{ after(grammarAccess.getQualifiedPackageCSRule()); }
+{ before(grammarAccess.getOutVariableCSRule()); }
+ ruleOutVariableCS
+{ after(grammarAccess.getOutVariableCSRule()); }
EOF
;
-// Rule QualifiedPackageCS
-ruleQualifiedPackageCS
+// Rule OutVariableCS
+ruleOutVariableCS
@init {
int stackSize = keepStackSize();
}
:
(
-{ before(grammarAccess.getQualifiedPackageCSAccess().getGroup()); }
-(rule__QualifiedPackageCS__Group__0)
-{ after(grammarAccess.getQualifiedPackageCSAccess().getGroup()); }
+{ before(grammarAccess.getOutVariableCSAccess().getGroup()); }
+(rule__OutVariableCS__Group__0)
+{ after(grammarAccess.getOutVariableCSAccess().getGroup()); }
)
;
@@ -570,25 +512,25 @@ finally {
-// Entry rule entryRulePredicateCS
-entryRulePredicateCS
+// Entry rule entryRulePredicateVariableCS
+entryRulePredicateVariableCS
:
-{ before(grammarAccess.getPredicateCSRule()); }
- rulePredicateCS
-{ after(grammarAccess.getPredicateCSRule()); }
+{ before(grammarAccess.getPredicateVariableCSRule()); }
+ rulePredicateVariableCS
+{ after(grammarAccess.getPredicateVariableCSRule()); }
EOF
;
-// Rule PredicateCS
-rulePredicateCS
+// Rule PredicateVariableCS
+rulePredicateVariableCS
@init {
int stackSize = keepStackSize();
}
:
(
-{ before(grammarAccess.getPredicateCSAccess().getGroup()); }
-(rule__PredicateCS__Group__0)
-{ after(grammarAccess.getPredicateCSAccess().getGroup()); }
+{ before(grammarAccess.getPredicateVariableCSAccess().getGroup()); }
+(rule__PredicateVariableCS__Group__0)
+{ after(grammarAccess.getPredicateVariableCSAccess().getGroup()); }
)
;
@@ -598,25 +540,25 @@ finally {
-// Entry rule entryRuleQueryCS
-entryRuleQueryCS
+// Entry rule entryRuleQualifiedPackageCS
+entryRuleQualifiedPackageCS
:
-{ before(grammarAccess.getQueryCSRule()); }
- ruleQueryCS
-{ after(grammarAccess.getQueryCSRule()); }
+{ before(grammarAccess.getQualifiedPackageCSRule()); }
+ ruleQualifiedPackageCS
+{ after(grammarAccess.getQualifiedPackageCSRule()); }
EOF
;
-// Rule QueryCS
-ruleQueryCS
+// Rule QualifiedPackageCS
+ruleQualifiedPackageCS
@init {
int stackSize = keepStackSize();
}
:
(
-{ before(grammarAccess.getQueryCSAccess().getGroup()); }
-(rule__QueryCS__Group__0)
-{ after(grammarAccess.getQueryCSAccess().getGroup()); }
+{ before(grammarAccess.getQualifiedPackageCSAccess().getGroup()); }
+(rule__QualifiedPackageCS__Group__0)
+{ after(grammarAccess.getQualifiedPackageCSAccess().getGroup()); }
)
;
@@ -626,25 +568,25 @@ finally {
-// Entry rule entryRuleNewStatementCS
-entryRuleNewStatementCS
+// Entry rule entryRuleQueryCS
+entryRuleQueryCS
:
-{ before(grammarAccess.getNewStatementCSRule()); }
- ruleNewStatementCS
-{ after(grammarAccess.getNewStatementCSRule()); }
+{ before(grammarAccess.getQueryCSRule()); }
+ ruleQueryCS
+{ after(grammarAccess.getQueryCSRule()); }
EOF
;
-// Rule NewStatementCS
-ruleNewStatementCS
+// Rule QueryCS
+ruleQueryCS
@init {
int stackSize = keepStackSize();
}
:
(
-{ before(grammarAccess.getNewStatementCSAccess().getGroup()); }
-(rule__NewStatementCS__Group__0)
-{ after(grammarAccess.getNewStatementCSAccess().getGroup()); }
+{ before(grammarAccess.getQueryCSAccess().getGroup()); }
+(rule__QueryCS__Group__0)
+{ after(grammarAccess.getQueryCSAccess().getGroup()); }
)
;
@@ -796,64 +738,6 @@ finally {
-
-
-// Entry rule entryRuleUnrealizedVariableCS
-entryRuleUnrealizedVariableCS
-:
-{ before(grammarAccess.getUnrealizedVariableCSRule()); }
- ruleUnrealizedVariableCS
-{ after(grammarAccess.getUnrealizedVariableCSRule()); }
- EOF
-;
-
-// Rule UnrealizedVariableCS
-ruleUnrealizedVariableCS
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getUnrealizedVariableCSAccess().getGroup()); }
-(rule__UnrealizedVariableCS__Group__0)
-{ after(grammarAccess.getUnrealizedVariableCSAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRuleVariablePredicateCS
-entryRuleVariablePredicateCS
-:
-{ before(grammarAccess.getVariablePredicateCSRule()); }
- ruleVariablePredicateCS
-{ after(grammarAccess.getVariablePredicateCSRule()); }
- EOF
-;
-
-// Rule VariablePredicateCS
-ruleVariablePredicateCS
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getVariablePredicateCSAccess().getGroup()); }
-(rule__VariablePredicateCS__Group__0)
-{ after(grammarAccess.getVariablePredicateCSAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
// Entry rule entryRuleUnrestrictedName
entryRuleUnrestrictedName
:
@@ -3588,50 +3472,6 @@ finally {
restoreStackSize(stackSize);
}
-rule__BottomPatternCS__Alternatives_2
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getBottomPatternCSAccess().getOwnedUnrealizedVariablesAssignment_2_0()); }
-(rule__BottomPatternCS__OwnedUnrealizedVariablesAssignment_2_0)
-{ after(grammarAccess.getBottomPatternCSAccess().getOwnedUnrealizedVariablesAssignment_2_0()); }
-)
-
- |(
-{ before(grammarAccess.getBottomPatternCSAccess().getOwnedConstraintsAssignment_2_1()); }
-(rule__BottomPatternCS__OwnedConstraintsAssignment_2_1)
-{ after(grammarAccess.getBottomPatternCSAccess().getOwnedConstraintsAssignment_2_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BottomStatementCS__Alternatives
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getBottomStatementCSAccess().getNewStatementCSParserRuleCall_0()); }
- ruleNewStatementCS
-{ after(grammarAccess.getBottomStatementCSAccess().getNewStatementCSParserRuleCall_0()); }
-)
-
- |(
-{ before(grammarAccess.getBottomStatementCSAccess().getSetStatementCSParserRuleCall_1()); }
- ruleSetStatementCS
-{ after(grammarAccess.getBottomStatementCSAccess().getSetStatementCSParserRuleCall_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
rule__ControlStatementCS__Alternatives
@init {
int stackSize = keepStackSize();
@@ -3660,27 +3500,21 @@ finally {
restoreStackSize(stackSize);
}
-rule__GuardPatternCS__Alternatives_2
+rule__MappingCS__OwnedDomainsAlternatives_6_0
@init {
int stackSize = keepStackSize();
}
:
(
-{ before(grammarAccess.getGuardPatternCSAccess().getOwnedUnrealizedVariablesAssignment_2_0()); }
-(rule__GuardPatternCS__OwnedUnrealizedVariablesAssignment_2_0)
-{ after(grammarAccess.getGuardPatternCSAccess().getOwnedUnrealizedVariablesAssignment_2_0()); }
-)
-
- |(
-{ before(grammarAccess.getGuardPatternCSAccess().getOwnedUnrealizedVariablesAssignment_2_1()); }
-(rule__GuardPatternCS__OwnedUnrealizedVariablesAssignment_2_1)
-{ after(grammarAccess.getGuardPatternCSAccess().getOwnedUnrealizedVariablesAssignment_2_1()); }
+{ before(grammarAccess.getMappingCSAccess().getOwnedDomainsSourceDomainCSParserRuleCall_6_0_0()); }
+ ruleSourceDomainCS
+{ after(grammarAccess.getMappingCSAccess().getOwnedDomainsSourceDomainCSParserRuleCall_6_0_0()); }
)
|(
-{ before(grammarAccess.getGuardPatternCSAccess().getOwnedPredicatesAssignment_2_2()); }
-(rule__GuardPatternCS__OwnedPredicatesAssignment_2_2)
-{ after(grammarAccess.getGuardPatternCSAccess().getOwnedPredicatesAssignment_2_2()); }
+{ before(grammarAccess.getMappingCSAccess().getOwnedDomainsTargetDomainCSParserRuleCall_6_0_1()); }
+ ruleTargetDomainCS
+{ after(grammarAccess.getMappingCSAccess().getOwnedDomainsTargetDomainCSParserRuleCall_6_0_1()); }
)
;
@@ -3688,23 +3522,27 @@ finally {
restoreStackSize(stackSize);
}
-rule__GuardVariableCS__Alternatives_0
+rule__MappingCS__Alternatives_7
@init {
int stackSize = keepStackSize();
}
:
(
-{ before(grammarAccess.getGuardVariableCSAccess().getInKeyword_0_0()); }
-
- 'in'
+{ before(grammarAccess.getMappingCSAccess().getOwnedStatementsAssignment_7_0()); }
+(rule__MappingCS__OwnedStatementsAssignment_7_0)
+{ after(grammarAccess.getMappingCSAccess().getOwnedStatementsAssignment_7_0()); }
+)
-{ after(grammarAccess.getGuardVariableCSAccess().getInKeyword_0_0()); }
+ |(
+{ before(grammarAccess.getMappingCSAccess().getOwnedStatementsAssignment_7_1()); }
+(rule__MappingCS__OwnedStatementsAssignment_7_1)
+{ after(grammarAccess.getMappingCSAccess().getOwnedStatementsAssignment_7_1()); }
)
|(
-{ before(grammarAccess.getGuardVariableCSAccess().getIsConnectionAssignment_0_1()); }
-(rule__GuardVariableCS__IsConnectionAssignment_0_1)
-{ after(grammarAccess.getGuardVariableCSAccess().getIsConnectionAssignment_0_1()); }
+{ before(grammarAccess.getMappingCSAccess().getOwnedStatementsAssignment_7_2()); }
+(rule__MappingCS__OwnedStatementsAssignment_7_2)
+{ after(grammarAccess.getMappingCSAccess().getOwnedStatementsAssignment_7_2()); }
)
;
@@ -3712,21 +3550,21 @@ finally {
restoreStackSize(stackSize);
}
-rule__MappingCS__OwnedDomainsAlternatives_5_0
+rule__MappingCS__Alternatives_8
@init {
int stackSize = keepStackSize();
}
:
(
-{ before(grammarAccess.getMappingCSAccess().getOwnedDomainsSourceDomainCSParserRuleCall_5_0_0()); }
- ruleSourceDomainCS
-{ after(grammarAccess.getMappingCSAccess().getOwnedDomainsSourceDomainCSParserRuleCall_5_0_0()); }
+{ before(grammarAccess.getMappingCSAccess().getOwnedStatementsAssignment_8_0()); }
+(rule__MappingCS__OwnedStatementsAssignment_8_0)
+{ after(grammarAccess.getMappingCSAccess().getOwnedStatementsAssignment_8_0()); }
)
|(
-{ before(grammarAccess.getMappingCSAccess().getOwnedDomainsTargetDomainCSParserRuleCall_5_0_1()); }
- ruleTargetDomainCS
-{ after(grammarAccess.getMappingCSAccess().getOwnedDomainsTargetDomainCSParserRuleCall_5_0_1()); }
+{ before(grammarAccess.getMappingCSAccess().getOwnedStatementsAssignment_8_1()); }
+(rule__MappingCS__OwnedStatementsAssignment_8_1)
+{ after(grammarAccess.getMappingCSAccess().getOwnedStatementsAssignment_8_1()); }
)
;
@@ -3758,6 +3596,30 @@ finally {
restoreStackSize(stackSize);
}
+rule__PredicateVariableCS__Alternatives_0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getPredicateVariableCSAccess().getVarKeyword_0_0()); }
+
+ 'var'
+
+{ after(grammarAccess.getPredicateVariableCSAccess().getVarKeyword_0_0()); }
+)
+
+ |(
+{ before(grammarAccess.getPredicateVariableCSAccess().getIsCheckedAssignment_0_1()); }
+(rule__PredicateVariableCS__IsCheckedAssignment_0_1)
+{ after(grammarAccess.getPredicateVariableCSAccess().getIsCheckedAssignment_0_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
rule__QualifiedPackageCS__Alternatives_5
@init {
int stackSize = keepStackSize();
@@ -3850,23 +3712,23 @@ finally {
restoreStackSize(stackSize);
}
-rule__UnrealizedVariableCS__Alternatives_0
+rule__SetStatementCS__Alternatives_0
@init {
int stackSize = keepStackSize();
}
:
(
-{ before(grammarAccess.getUnrealizedVariableCSAccess().getVarKeyword_0_0()); }
+{ before(grammarAccess.getSetStatementCSAccess().getSetKeyword_0_0()); }
- 'var'
+ 'set'
-{ after(grammarAccess.getUnrealizedVariableCSAccess().getVarKeyword_0_0()); }
+{ after(grammarAccess.getSetStatementCSAccess().getSetKeyword_0_0()); }
)
|(
-{ before(grammarAccess.getUnrealizedVariableCSAccess().getIsConnectionAssignment_0_1()); }
-(rule__UnrealizedVariableCS__IsConnectionAssignment_0_1)
-{ after(grammarAccess.getUnrealizedVariableCSAccess().getIsConnectionAssignment_0_1()); }
+{ before(grammarAccess.getSetStatementCSAccess().getIsEmitAssignment_0_1()); }
+(rule__SetStatementCS__IsEmitAssignment_0_1)
+{ after(grammarAccess.getSetStatementCSAccess().getIsEmitAssignment_0_1()); }
)
;
@@ -5918,187 +5780,29 @@ finally {
-rule__BottomPatternCS__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__BottomPatternCS__Group__0__Impl
- rule__BottomPatternCS__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BottomPatternCS__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getBottomPatternCSAccess().getBottomPatternCSAction_0()); }
-(
-
-)
-{ after(grammarAccess.getBottomPatternCSAccess().getBottomPatternCSAction_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__BottomPatternCS__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__BottomPatternCS__Group__1__Impl
- rule__BottomPatternCS__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BottomPatternCS__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getBottomPatternCSAccess().getLeftCurlyBracketKeyword_1()); }
-
- '{'
-
-{ after(grammarAccess.getBottomPatternCSAccess().getLeftCurlyBracketKeyword_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__BottomPatternCS__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__BottomPatternCS__Group__2__Impl
- rule__BottomPatternCS__Group__3
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BottomPatternCS__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getBottomPatternCSAccess().getAlternatives_2()); }
-(rule__BottomPatternCS__Alternatives_2)*
-{ after(grammarAccess.getBottomPatternCSAccess().getAlternatives_2()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__BottomPatternCS__Group__3
+rule__CheckStatementCS__Group__0
@init {
int stackSize = keepStackSize();
}
:
- rule__BottomPatternCS__Group__3__Impl
+ rule__CheckStatementCS__Group__0__Impl
+ rule__CheckStatementCS__Group__1
;
finally {
restoreStackSize(stackSize);
}
-rule__BottomPatternCS__Group__3__Impl
+rule__CheckStatementCS__Group__0__Impl
@init {
int stackSize = keepStackSize();
}
:
(
-{ before(grammarAccess.getBottomPatternCSAccess().getRightCurlyBracketKeyword_3()); }
-
- '}'
-
-{ after(grammarAccess.getBottomPatternCSAccess().getRightCurlyBracketKeyword_3()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-
-
-
-
-rule__ConstraintCS__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ConstraintCS__Group__0__Impl
- rule__ConstraintCS__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ConstraintCS__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getConstraintCSAccess().getCheckKeyword_0()); }
+{ before(grammarAccess.getCheckStatementCSAccess().getCheckKeyword_0()); }
'check'
-{ after(grammarAccess.getConstraintCSAccess().getCheckKeyword_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ConstraintCS__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ConstraintCS__Group__1__Impl
- rule__ConstraintCS__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ConstraintCS__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getConstraintCSAccess().getOwnedTargetAssignment_1()); }
-(rule__ConstraintCS__OwnedTargetAssignment_1)
-{ after(grammarAccess.getConstraintCSAccess().getOwnedTargetAssignment_1()); }
+{ after(grammarAccess.getCheckStatementCSAccess().getCheckKeyword_0()); }
)
;
@@ -6107,27 +5811,27 @@ finally {
}
-rule__ConstraintCS__Group__2
+rule__CheckStatementCS__Group__1
@init {
int stackSize = keepStackSize();
}
:
- rule__ConstraintCS__Group__2__Impl
- rule__ConstraintCS__Group__3
+ rule__CheckStatementCS__Group__1__Impl
+ rule__CheckStatementCS__Group__2
;
finally {
restoreStackSize(stackSize);
}
-rule__ConstraintCS__Group__2__Impl
+rule__CheckStatementCS__Group__1__Impl
@init {
int stackSize = keepStackSize();
}
:
(
-{ before(grammarAccess.getConstraintCSAccess().getGroup_2()); }
-(rule__ConstraintCS__Group_2__0)?
-{ after(grammarAccess.getConstraintCSAccess().getGroup_2()); }
+{ before(grammarAccess.getCheckStatementCSAccess().getOwnedConditionAssignment_1()); }
+(rule__CheckStatementCS__OwnedConditionAssignment_1)
+{ after(grammarAccess.getCheckStatementCSAccess().getOwnedConditionAssignment_1()); }
)
;
@@ -6136,67 +5840,28 @@ finally {
}
-rule__ConstraintCS__Group__3
+rule__CheckStatementCS__Group__2
@init {
int stackSize = keepStackSize();
}
:
- rule__ConstraintCS__Group__3__Impl
+ rule__CheckStatementCS__Group__2__Impl
;
finally {
restoreStackSize(stackSize);
}
-rule__ConstraintCS__Group__3__Impl
+rule__CheckStatementCS__Group__2__Impl
@init {
int stackSize = keepStackSize();
}
:
(
-{ before(grammarAccess.getConstraintCSAccess().getSemicolonKeyword_3()); }
+{ before(grammarAccess.getCheckStatementCSAccess().getSemicolonKeyword_2()); }
';'
-{ after(grammarAccess.getConstraintCSAccess().getSemicolonKeyword_3()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-
-
-
-
-rule__ConstraintCS__Group_2__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ConstraintCS__Group_2__0__Impl
- rule__ConstraintCS__Group_2__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ConstraintCS__Group_2__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getConstraintCSAccess().getColonEqualsSignKeyword_2_0()); }
-
- ':='
-
-{ after(grammarAccess.getConstraintCSAccess().getColonEqualsSignKeyword_2_0()); }
+{ after(grammarAccess.getCheckStatementCSAccess().getSemicolonKeyword_2()); }
)
;
@@ -6205,32 +5870,6 @@ finally {
}
-rule__ConstraintCS__Group_2__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ConstraintCS__Group_2__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ConstraintCS__Group_2__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getConstraintCSAccess().getOwnedInitExpressionAssignment_2_1()); }
-(rule__ConstraintCS__OwnedInitExpressionAssignment_2_1)
-{ after(grammarAccess.getConstraintCSAccess().getOwnedInitExpressionAssignment_2_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
@@ -6646,89 +6285,29 @@ finally {
-rule__GuardPatternCS__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__GuardPatternCS__Group__0__Impl
- rule__GuardPatternCS__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__GuardPatternCS__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getGuardPatternCSAccess().getGuardPatternCSAction_0()); }
-(
-
-)
-{ after(grammarAccess.getGuardPatternCSAccess().getGuardPatternCSAction_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__GuardPatternCS__Group__1
+rule__GuardVariableCS__Group__0
@init {
int stackSize = keepStackSize();
}
:
- rule__GuardPatternCS__Group__1__Impl
- rule__GuardPatternCS__Group__2
+ rule__GuardVariableCS__Group__0__Impl
+ rule__GuardVariableCS__Group__1
;
finally {
restoreStackSize(stackSize);
}
-rule__GuardPatternCS__Group__1__Impl
+rule__GuardVariableCS__Group__0__Impl
@init {
int stackSize = keepStackSize();
}
:
(
-{ before(grammarAccess.getGuardPatternCSAccess().getLeftParenthesisKeyword_1()); }
-
- '('
-
-{ after(grammarAccess.getGuardPatternCSAccess().getLeftParenthesisKeyword_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
+{ before(grammarAccess.getGuardVariableCSAccess().getInKeyword_0()); }
-rule__GuardPatternCS__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__GuardPatternCS__Group__2__Impl
- rule__GuardPatternCS__Group__3
-;
-finally {
- restoreStackSize(stackSize);
-}
+ 'in'
-rule__GuardPatternCS__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getGuardPatternCSAccess().getAlternatives_2()); }
-(rule__GuardPatternCS__Alternatives_2)*
-{ after(grammarAccess.getGuardPatternCSAccess().getAlternatives_2()); }
+{ after(grammarAccess.getGuardVariableCSAccess().getInKeyword_0()); }
)
;
@@ -6737,28 +6316,29 @@ finally {
}
-rule__GuardPatternCS__Group__3
+rule__GuardVariableCS__Group__1
@init {
int stackSize = keepStackSize();
}
:
- rule__GuardPatternCS__Group__3__Impl
+ rule__GuardVariableCS__Group__1__Impl
+ rule__GuardVariableCS__Group__2
;
finally {
restoreStackSize(stackSize);
}
-rule__GuardPatternCS__Group__3__Impl
+rule__GuardVariableCS__Group__1__Impl
@init {
int stackSize = keepStackSize();
}
:
(
-{ before(grammarAccess.getGuardPatternCSAccess().getRightParenthesisKeyword_3()); }
+{ before(grammarAccess.getGuardVariableCSAccess().getColonKeyword_1()); }
- ')'
+ ':'
-{ after(grammarAccess.getGuardPatternCSAccess().getRightParenthesisKeyword_3()); }
+{ after(grammarAccess.getGuardVariableCSAccess().getColonKeyword_1()); }
)
;
@@ -6767,35 +6347,27 @@ finally {
}
-
-
-
-
-
-
-
-
-rule__GuardVariableCS__Group__0
+rule__GuardVariableCS__Group__2
@init {
int stackSize = keepStackSize();
}
:
- rule__GuardVariableCS__Group__0__Impl
- rule__GuardVariableCS__Group__1
+ rule__GuardVariableCS__Group__2__Impl
+ rule__GuardVariableCS__Group__3
;
finally {
restoreStackSize(stackSize);
}
-rule__GuardVariableCS__Group__0__Impl
+rule__GuardVariableCS__Group__2__Impl
@init {
int stackSize = keepStackSize();
}
:
(
-{ before(grammarAccess.getGuardVariableCSAccess().getAlternatives_0()); }
-(rule__GuardVariableCS__Alternatives_0)
-{ after(grammarAccess.getGuardVariableCSAccess().getAlternatives_0()); }
+{ before(grammarAccess.getGuardVariableCSAccess().getReferredTypedModelAssignment_2()); }
+(rule__GuardVariableCS__ReferredTypedModelAssignment_2)
+{ after(grammarAccess.getGuardVariableCSAccess().getReferredTypedModelAssignment_2()); }
)
;
@@ -6804,27 +6376,27 @@ finally {
}
-rule__GuardVariableCS__Group__1
+rule__GuardVariableCS__Group__3
@init {
int stackSize = keepStackSize();
}
:
- rule__GuardVariableCS__Group__1__Impl
- rule__GuardVariableCS__Group__2
+ rule__GuardVariableCS__Group__3__Impl
+ rule__GuardVariableCS__Group__4
;
finally {
restoreStackSize(stackSize);
}
-rule__GuardVariableCS__Group__1__Impl
+rule__GuardVariableCS__Group__3__Impl
@init {
int stackSize = keepStackSize();
}
:
(
-{ before(grammarAccess.getGuardVariableCSAccess().getNameAssignment_1()); }
-(rule__GuardVariableCS__NameAssignment_1)
-{ after(grammarAccess.getGuardVariableCSAccess().getNameAssignment_1()); }
+{ before(grammarAccess.getGuardVariableCSAccess().getNameAssignment_3()); }
+(rule__GuardVariableCS__NameAssignment_3)
+{ after(grammarAccess.getGuardVariableCSAccess().getNameAssignment_3()); }
)
;
@@ -6833,29 +6405,29 @@ finally {
}
-rule__GuardVariableCS__Group__2
+rule__GuardVariableCS__Group__4
@init {
int stackSize = keepStackSize();
}
:
- rule__GuardVariableCS__Group__2__Impl
- rule__GuardVariableCS__Group__3
+ rule__GuardVariableCS__Group__4__Impl
+ rule__GuardVariableCS__Group__5
;
finally {
restoreStackSize(stackSize);
}
-rule__GuardVariableCS__Group__2__Impl
+rule__GuardVariableCS__Group__4__Impl
@init {
int stackSize = keepStackSize();
}
:
(
-{ before(grammarAccess.getGuardVariableCSAccess().getColonKeyword_2()); }
+{ before(grammarAccess.getGuardVariableCSAccess().getColonKeyword_4()); }
':'
-{ after(grammarAccess.getGuardVariableCSAccess().getColonKeyword_2()); }
+{ after(grammarAccess.getGuardVariableCSAccess().getColonKeyword_4()); }
)
;
@@ -6864,27 +6436,27 @@ finally {
}
-rule__GuardVariableCS__Group__3
+rule__GuardVariableCS__Group__5
@init {
int stackSize = keepStackSize();
}
:
- rule__GuardVariableCS__Group__3__Impl
- rul