Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2018-11-06 03:45:59 -0500
committerVincent Lorenzo2018-11-28 09:56:45 -0500
commit6e99889b81f2ce61920c24ac0f5233e8db82ed57 (patch)
tree488a6c3228544c695c0f0243bab0aa3c20b55118
parent6326a3ec71938d190d57f2e2dbc0f622ee3551f7 (diff)
downloadorg.eclipse.papyrus-collaborativemodeling-6e99889b81f2ce61920c24ac0f5233e8db82ed57.tar.gz
org.eclipse.papyrus-collaborativemodeling-6e99889b81f2ce61920c24ac0f5233e8db82ed57.tar.xz
org.eclipse.papyrus-collaborativemodeling-6e99889b81f2ce61920c24ac0f5233e8db82ed57.zip
Bug [540814]: Provide a CDO-native implementation of UML2
+ contribute to feature + add pom.xml TODO in another commit: provided JUnit tests are not yet included into the build Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=540814 Change-Id: I26dba58f7b2804abe895e6c75fb8bfddbcea895b Signed-off-by: Eike Stepper <stepper@esc-net.de> Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
-rw-r--r--cdo/bundles/org.eclipse.papyrus.infra.gmfdiag.css.cdo/plugin.xml4
-rwxr-xr-xcdo/bundles/pom.xml1
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/.classpath7
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/.gitignore2
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/.project38
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/.settings/org.eclipse.jdt.core.prefs430
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/.settings/org.eclipse.jdt.ui.prefs131
-rwxr-xr-xcdo/bundles/uml/org.eclipse.uml2.uml.cdo/META-INF/MANIFEST.MF24
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/Migrate UML2.launch20
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/UML Explorer.launch36
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/UML2CDOConfiguration.setup93
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/about.html28
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/build.properties32
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/migrate.ant212
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/plugin.properties14
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/plugin.xml54
-rwxr-xr-xcdo/bundles/uml/org.eclipse.uml2.uml.cdo/pom.xml16
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/UMLCDOPlugin.java51
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/AbstractionImpl.java420
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/AcceptCallActionImpl.java826
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/AcceptEventActionImpl.java973
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ActionExecutionSpecificationImpl.java482
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ActionImpl.java1010
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ActionInputPinImpl.java909
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ActivityEdgeImpl.java1297
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ActivityFinalNodeImpl.java50
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ActivityGroupImpl.java834
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ActivityImpl.java2153
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ActivityNodeImpl.java1110
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ActivityParameterNodeImpl.java676
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ActivityPartitionImpl.java1095
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ActorImpl.java382
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/AddStructuralFeatureValueActionImpl.java899
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/AddVariableValueActionImpl.java848
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/AnyReceiveEventImpl.java50
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ArtifactImpl.java1501
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/AssociationClassImpl.java1956
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/AssociationImpl.java1644
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/BehaviorExecutionSpecificationImpl.java319
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/BehaviorImpl.java1994
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/BehavioralFeatureImpl.java1519
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/BehavioredClassifierImpl.java1336
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/BroadcastSignalActionImpl.java654
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/CallActionImpl.java878
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/CallBehaviorActionImpl.java708
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/CallEventImpl.java261
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/CallOperationActionImpl.java904
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/CentralBufferNodeImpl.java50
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ChangeEventImpl.java386
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ClassImpl.java2265
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ClassifierImpl.java3268
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ClassifierTemplateParameterImpl.java680
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ClauseImpl.java601
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ClearAssociationActionImpl.java809
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ClearStructuralFeatureActionImpl.java792
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ClearVariableActionImpl.java50
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/CollaborationImpl.java1594
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/CollaborationUseImpl.java592
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/CombinedFragmentImpl.java721
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/CommentImpl.java230
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/CommunicationPathImpl.java385
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ComponentImpl.java1591
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ComponentRealizationImpl.java642
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ConditionalNodeImpl.java1255
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ConnectableElementImpl.java758
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ConnectableElementTemplateParameterImpl.java374
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ConnectionPointReferenceImpl.java674
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ConnectorEndImpl.java544
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ConnectorImpl.java766
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ConsiderIgnoreFragmentImpl.java518
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ConstraintImpl.java759
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ContinuationImpl.java472
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ControlFlowImpl.java231
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ControlNodeImpl.java50
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/CreateLinkActionImpl.java684
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/CreateLinkObjectActionImpl.java817
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/CreateObjectActionImpl.java826
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/DataStoreNodeImpl.java50
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/DataTypeImpl.java1288
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/DecisionNodeImpl.java684
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/DependencyImpl.java544
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/DeployedArtifactImpl.java50
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/DeploymentImpl.java746
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/DeploymentSpecificationImpl.java1278
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/DeploymentTargetImpl.java429
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/DestroyLinkActionImpl.java482
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/DestroyObjectActionImpl.java851
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/DestructionOccurrenceSpecificationImpl.java225
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/DeviceImpl.java50
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/DirectedRelationshipImpl.java238
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/DurationConstraintImpl.java601
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/DurationImpl.java633
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/DurationIntervalImpl.java352
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/DurationObservationImpl.java465
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ElementImpl.java1023
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ElementImportImpl.java731
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/EncapsulatedClassifierImpl.java691
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/EnumerationImpl.java1081
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/EnumerationLiteralImpl.java713
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/EventImpl.java50
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ExceptionHandlerImpl.java659
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ExecutableNodeImpl.java481
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ExecutionEnvironmentImpl.java50
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ExecutionOccurrenceSpecificationImpl.java318
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ExecutionSpecificationImpl.java493
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ExpansionNodeImpl.java777
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ExpansionRegionImpl.java814
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ExpressionImpl.java460
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ExtendImpl.java959
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ExtensionEndImpl.java977
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ExtensionImpl.java1197
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ExtensionPointImpl.java549
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/FeatureImpl.java358
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/FinalNodeImpl.java230
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/FinalStateImpl.java383
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/FlowFinalNodeImpl.java50
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ForkNodeImpl.java243
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/FunctionBehaviorImpl.java442
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/GateImpl.java415
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/GeneralOrderingImpl.java523
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/GeneralizationImpl.java570
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/GeneralizationSetImpl.java665
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ImageImpl.java329
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/IncludeImpl.java619
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/InformationFlowImpl.java986
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/InformationItemImpl.java862
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/InitialNodeImpl.java244
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/InputPinImpl.java295
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/InstanceSpecificationImpl.java1143
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/InstanceValueImpl.java451
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/InteractionConstraintImpl.java756
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/InteractionFragmentImpl.java633
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/InteractionImpl.java2104
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/InteractionOperandImpl.java1170
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/InteractionUseImpl.java898
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/InterfaceImpl.java1687
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/InterfaceRealizationImpl.java625
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/InterruptibleActivityRegionImpl.java615
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/IntervalConstraintImpl.java380
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/IntervalImpl.java319
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/InvocationActionImpl.java604
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/JoinNodeImpl.java718
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/LifelineImpl.java844
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/LinkActionImpl.java887
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/LinkEndCreationDataImpl.java438
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/LinkEndDataImpl.java556
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/LinkEndDestructionDataImpl.java441
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/LiteralBooleanImpl.java468
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/LiteralIntegerImpl.java467
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/LiteralNullImpl.java237
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/LiteralRealImpl.java471
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/LiteralSpecificationImpl.java50
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/LiteralStringImpl.java499
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/LiteralUnlimitedNaturalImpl.java468
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/LoopNodeImpl.java1699
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ManifestationImpl.java376
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/MergeNodeImpl.java243
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/MessageEndImpl.java447
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/MessageEventImpl.java50
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/MessageImpl.java1014
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/MessageOccurrenceSpecificationImpl.java594
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ModelImpl.java710
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/MultiplicityElementImpl.java827
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/NamedElementImpl.java969
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/NamespaceImpl.java1063
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/NodeImpl.java1523
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ObjectFlowImpl.java792
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ObjectNodeImpl.java958
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ObservationImpl.java50
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/OccurrenceSpecificationImpl.java639
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/OpaqueActionImpl.java973
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/OpaqueBehaviorImpl.java792
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/OpaqueExpressionImpl.java669
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/OperationImpl.java2529
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/OperationTemplateParameterImpl.java496
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/OutputPinImpl.java295
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/PackageImpl.java2190
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/PackageImportImpl.java642
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/PackageMergeImpl.java472
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/PackageableElementImpl.java769
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ParameterImpl.java1761
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ParameterSetImpl.java622
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ParameterableElementImpl.java551
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/PartDecompositionImpl.java261
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/PinImpl.java1310
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/PortImpl.java1357
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/PrimitiveTypeImpl.java50
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ProfileApplicationImpl.java658
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ProfileImpl.java1177
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/PropertyImpl.java2764
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ProtocolConformanceImpl.java482
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ProtocolStateMachineImpl.java1511
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ProtocolTransitionImpl.java1087
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/PseudostateImpl.java786
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/QualifierValueImpl.java386
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/RaiseExceptionActionImpl.java560
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ReadExtentActionImpl.java797
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ReadIsClassifiedObjectActionImpl.java1026
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ReadLinkActionImpl.java847
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ReadLinkObjectEndActionImpl.java1013
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ReadLinkObjectEndQualifierActionImpl.java1039
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ReadSelfActionImpl.java774
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ReadStructuralFeatureActionImpl.java797
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ReadVariableActionImpl.java767
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/RealizationImpl.java50
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ReceptionImpl.java635
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ReclassifyObjectActionImpl.java930
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/RedefinableElementImpl.java631
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/RedefinableTemplateSignatureImpl.java1161
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ReduceActionImpl.java984
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/RegionImpl.java1380
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/RelationshipImpl.java144
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/RemoveStructuralFeatureValueActionImpl.java886
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/RemoveVariableValueActionImpl.java835
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ReplyActionImpl.java893
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/SendObjectActionImpl.java887
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/SendSignalActionImpl.java846
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/SequenceNodeImpl.java750
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/SignalEventImpl.java261
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/SignalImpl.java1032
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/SlotImpl.java482
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/StartClassifierBehaviorActionImpl.java763
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/StartObjectBehaviorActionImpl.java903
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/StateImpl.java2161
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/StateInvariantImpl.java502
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/StateMachineImpl.java1773
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/StereotypeImpl.java1391
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/StringExpressionImpl.java1072
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/StructuralFeatureActionImpl.java855
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/StructuralFeatureImpl.java1181
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/StructuredActivityNodeImpl.java2604
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/StructuredClassifierImpl.java1432
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/SubstitutionImpl.java621
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/TemplateBindingImpl.java704
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/TemplateParameterImpl.java831
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/TemplateParameterSubstitutionImpl.java699
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/TemplateSignatureImpl.java640
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/TemplateableElementImpl.java562
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/TestIdentityActionImpl.java983
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/TimeConstraintImpl.java600
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/TimeEventImpl.java594
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/TimeExpressionImpl.java636
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/TimeIntervalImpl.java352
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/TimeObservationImpl.java307
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/TransitionImpl.java1629
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/TriggerImpl.java446
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/TypeImpl.java539
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/TypedElementImpl.java236
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/UMLFactoryImpl.java3065
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/UMLPackageImpl.java17573
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/UnmarshallActionImpl.java984
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/UsageImpl.java50
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/UseCaseImpl.java1372
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ValuePinImpl.java892
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ValueSpecificationActionImpl.java892
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ValueSpecificationImpl.java541
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/VariableActionImpl.java599
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/VariableImpl.java1305
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/VertexImpl.java620
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/WriteLinkActionImpl.java249
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/WriteStructuralFeatureActionImpl.java969
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/WriteVariableActionImpl.java773
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/util/CDOCacheAdapter.java301
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/util/CDOElementImpl.java52
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/util/SubsetSupersetEDataTypeEList.java258
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/util/SubsetSupersetEDataTypeUniqueEList.java55
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/util/SubsetSupersetEObjectContainmentEList.java146
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/util/SubsetSupersetEObjectContainmentWithInverseEList.java142
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/util/SubsetSupersetEObjectEList.java259
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/util/SubsetSupersetEObjectResolvingEList.java82
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/util/SubsetSupersetEObjectWithInverseEList.java135
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/util/SubsetSupersetEObjectWithInverseResolvingEList.java120
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/templates/model/Class/basicSetGenFeature.post.insert.javajetinc40
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/templates/model/Class/basicSetGenFeature.post.insert.javajetinc.orig38
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/templates/model/Class/dynamicDelegation.javajetinc.does-not-work30
-rw-r--r--cdo/bundles/uml/org.eclipse.uml2.uml.cdo/templates/model/Class/dynamicSetGenFeature.post.insert.javajetinc1
-rwxr-xr-xcdo/bundles/uml/pom.xml20
-rwxr-xr-xcdo/features/org.eclipse.papyrus.cdo.feature/feature.xml2
-rwxr-xr-xcdo/features/org.eclipse.papyrus.cdo.models.feature/feature.xml6
-rwxr-xr-xcdo/releng/targetplatforms/eclipse/org.eclipse.papyrus.cdo.targetplatform.target12
-rwxr-xr-xcdo/releng/targetplatforms/org.eclipse.papyrus.cdo.targetplatform/org.eclipse.papyrus.cdo.targetplatform.target12
-rwxr-xr-xcdo/releng/targetplatforms/org.eclipse.papyrus.cdo.targetplatform/org.eclipse.papyrus.cdo.targetplatform.tpd14
-rwxr-xr-xcdo/tests/pom.xml3
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/.classpath7
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/.gitignore4
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/.project38
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/.settings/org.eclipse.jdt.core.prefs430
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/.settings/org.eclipse.jdt.ui.prefs131
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/META-INF/MANIFEST.MF26
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/UML Bug Tests (CDO).launch45
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/UML Bug Tests (EMF).launch21
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/UML Cache Adapter Test (CDO).launch20
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/UML Cache Adapter Test (EMF).launch20
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/UML Compliance Tests (CDO).launch20
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/UML Compliance Tests (EMF).launch20
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/UML Self Test.launch20
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/about.html28
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/build.properties33
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/plugin.properties14
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/pom.xml16
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/AbstractUMLTest.java291
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/CacheAdapterTest.java192
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/UMLSelfTest.java130
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/AbstractionTest.java2152
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/AcceptCallActionTest.java771
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/AcceptEventActionTest.java762
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ActionExecutionSpecificationTest.java523
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ActionInputPinTest.java1524
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ActivityFinalNodeTest.java627
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ActivityParameterNodeTest.java1027
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ActivityPartitionTest.java1815
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ActivityTest.java1513
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ActorTest.java554
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/AddStructuralFeatureValueActionTest.java942
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/AddVariableValueActionTest.java838
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/AnyReceiveEventTest.java98
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ArtifactTest.java578
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/AssociationClassTest.java952
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/AssociationTest.java610
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/BehaviorExecutionSpecificationTest.java222
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/BroadcastSignalActionTest.java818
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/CallBehaviorActionTest.java801
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/CallEventTest.java105
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/CallOperationActionTest.java850
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/CentralBufferNodeTest.java967
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ChangeEventTest.java218
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ClassTest.java854
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ClassifierTemplateParameterTest.java412
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ClauseTest.java521
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ClearAssociationActionTest.java831
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ClearStructuralFeatureActionTest.java870
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ClearVariableActionTest.java780
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/CollaborationTest.java676
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/CollaborationUseTest.java155
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/CombinedFragmentTest.java143
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/CommentTest.java1068
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/CommunicationPathTest.java641
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ComponentRealizationTest.java2496
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ComponentTest.java1255
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ConditionalNodeTest.java1401
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ConnectableElementTemplateParameterTest.java882
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ConnectionPointReferenceTest.java134
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ConnectorEndTest.java347
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ConnectorTest.java172
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ConsiderIgnoreFragmentTest.java1051
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ConstraintTest.java1506
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ContinuationTest.java119
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ControlFlowTest.java1162
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/CreateLinkActionTest.java780
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/CreateLinkObjectActionTest.java829
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/CreateObjectActionTest.java941
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/DataStoreNodeTest.java949
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/DataTypeTest.java550
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/DecisionNodeTest.java635
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/DependencyTest.java2133
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/DeploymentSpecificationTest.java684
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/DeploymentTest.java2238
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/DestroyLinkActionTest.java781
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/DestroyObjectActionTest.java795
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/DestructionOccurrenceSpecificationTest.java168
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/DeviceTest.java851
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/DurationConstraintTest.java1453
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/DurationIntervalTest.java299
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/DurationObservationTest.java1225
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/DurationTest.java408
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ElementImportTest.java974
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/EnumerationLiteralTest.java418
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/EnumerationTest.java574
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ExceptionHandlerTest.java854
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ExecutionEnvironmentTest.java984
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ExecutionOccurrenceSpecificationTest.java177
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ExpansionNodeTest.java967
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ExpansionRegionTest.java1400
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ExpressionTest.java375
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ExtendTest.java173
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ExtensionEndTest.java722
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ExtensionPointTest.java108
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ExtensionTest.java579
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/FinalStateTest.java362
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/FlowFinalNodeTest.java613
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ForkNodeTest.java598
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/FunctionBehaviorTest.java992
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/GateTest.java84
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/GeneralOrderingTest.java136
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/GeneralizationSetTest.java290
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/GeneralizationTest.java513
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ImageTest.java54
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/IncludeTest.java120
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/InformationFlowTest.java2477
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/InformationItemTest.java660
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/InitialNodeTest.java609
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/InputPinTest.java1131
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/InstanceSpecificationTest.java428
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/InstanceValueTest.java294
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/InteractionConstraintTest.java1857
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/InteractionOperandTest.java337
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/InteractionTest.java1443
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/InteractionUseTest.java381
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/InterfaceRealizationTest.java2480
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/InterfaceTest.java740
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/InterruptibleActivityRegionTest.java570
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/IntervalConstraintTest.java1468
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/IntervalTest.java463
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/JoinNodeTest.java715
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/LifelineTest.java328
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/LinkEndCreationDataTest.java143
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/LinkEndDataTest.java111
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/LinkEndDestructionDataTest.java143
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/LiteralBooleanTest.java278
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/LiteralIntegerTest.java278
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/LiteralNullTest.java277
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/LiteralRealTest.java277
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/LiteralStringTest.java278
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/LiteralUnlimitedNaturalTest.java302
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/LoopNodeTest.java1924
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ManifestationTest.java2658
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/MergeNodeTest.java601
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/MessageOccurrenceSpecificationTest.java167
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/MessageTest.java1362
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ModelTest.java678
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/NodeTest.java844
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ObjectFlowTest.java1187
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/OccurrenceSpecificationTest.java152
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/OpaqueActionTest.java752
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/OpaqueBehaviorTest.java975
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/OpaqueExpressionTest.java316
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/OperationTemplateParameterTest.java91
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/OperationTest.java725
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/OutputPinTest.java1143
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/PackageImportTest.java478
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/PackageMergeTest.java129
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/PackageTest.java687
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ParameterSetTest.java125
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ParameterTest.java623
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/PartDecompositionTest.java388
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/PortTest.java872
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/PrimitiveTypeTest.java572
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ProfileApplicationTest.java116
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ProfileTest.java705
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/PropertyTest.java844
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ProtocolConformanceTest.java113
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ProtocolStateMachineTest.java1199
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ProtocolTransitionTest.java438
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/PseudostateTest.java121
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/QualifierValueTest.java100
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/RaiseExceptionActionTest.java797
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ReadExtentActionTest.java931
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ReadIsClassifiedObjectActionTest.java1040
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ReadLinkActionTest.java790
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ReadLinkObjectEndActionTest.java842
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ReadLinkObjectEndQualifierActionTest.java891
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ReadSelfActionTest.java743
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ReadStructuralFeatureActionTest.java863
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ReadVariableActionTest.java765
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/RealizationTest.java2152
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ReceptionTest.java394
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ReclassifyObjectActionTest.java1061
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/RedefinableTemplateSignatureTest.java444
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ReduceActionTest.java771
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/RegionTest.java272
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/RemoveStructuralFeatureValueActionTest.java956
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/RemoveVariableValueActionTest.java856
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ReplyActionTest.java772
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/SendObjectActionTest.java802
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/SendSignalActionTest.java803
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/SequenceNodeTest.java1085
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/SignalEventTest.java106
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/SignalTest.java536
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/SlotTest.java192
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/StartClassifierBehaviorActionTest.java838
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/StartObjectBehaviorActionTest.java864
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/StateInvariantTest.java165
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/StateMachineTest.java994
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/StateTest.java353
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/StereotypeTest.java883
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/StringExpressionTest.java432
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/StructuredActivityNodeTest.java1460
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/SubstitutionTest.java2561
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/TemplateBindingTest.java158
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/TemplateParameterSubstitutionTest.java850
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/TemplateParameterTest.java1886
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/TemplateSignatureTest.java164
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/TestIdentityActionTest.java803
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/TimeConstraintTest.java1425
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/TimeEventTest.java106
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/TimeExpressionTest.java421
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/TimeIntervalTest.java297
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/TimeObservationTest.java1241
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/TransitionTest.java335
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/TriggerTest.java120
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/UnmarshallActionTest.java954
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/UsageTest.java2104
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/UseCaseTest.java710
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ValuePinTest.java1234
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/ValueSpecificationActionTest.java937
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/VariableTest.java553
-rwxr-xr-xcdo/tests/uml/org.eclipse.uml2.uml.cdo.tests/src/org/eclipse/uml2/uml/cdo/tests/compliance/_Abstract_Compliance_Test_.java52
-rwxr-xr-xcdo/tests/uml/pom.xml15
498 files changed, 359334 insertions, 9 deletions
diff --git a/cdo/bundles/org.eclipse.papyrus.infra.gmfdiag.css.cdo/plugin.xml b/cdo/bundles/org.eclipse.papyrus.infra.gmfdiag.css.cdo/plugin.xml
index 9f7232e..db9b626 100644
--- a/cdo/bundles/org.eclipse.papyrus.infra.gmfdiag.css.cdo/plugin.xml
+++ b/cdo/bundles/org.eclipse.papyrus.infra.gmfdiag.css.cdo/plugin.xml
@@ -5,6 +5,6 @@
<factory
uri="http://www.eclipse.org/gmf/runtime/1.0.2/notation"
class="org.eclipse.papyrus.infra.gmfdiag.css.cdo.factory.CSSNotationFactory"
- predecessor="org.eclipse.papyrus.infra.gmfdiag.css.factory.CSSNotationFactory" />
- </extension>
+ predecessor="org.eclipse.emf.cdo.gmf.notation.impl.NotationFactoryImpl org.eclipse.papyrus.infra.gmfdiag.css.factory.CSSNotationFactory" />
+ </extension>
</plugin>
diff --git a/cdo/bundles/pom.xml b/cdo/bundles/pom.xml
index 3326adb..b1b8eea 100755
--- a/cdo/bundles/pom.xml
+++ b/cdo/bundles/pom.xml
@@ -29,6 +29,7 @@
<module>org.eclipse.papyrus.infra.gmfdiag.css.cdo</module>
<module>org.eclipse.papyrus.infra.gmfdiag.style.cdo</module>
+ <module>uml</module>
</modules>
diff --git a/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/.classpath b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/.classpath
new file mode 100644
index 0000000..304e861
--- /dev/null
+++ b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/.classpath
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/.gitignore b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/.gitignore
new file mode 100644
index 0000000..8000a78
--- /dev/null
+++ b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/.gitignore
@@ -0,0 +1,2 @@
+bin
+/target/
diff --git a/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/.project b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/.project
new file mode 100644
index 0000000..00579f8
--- /dev/null
+++ b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/.project
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.uml2.uml.cdo</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <!--
+ <buildCommand>
+ <name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ -->
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <!--
+ <nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
+ -->
+ </natures>
+</projectDescription>
diff --git a/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/.settings/org.eclipse.jdt.core.prefs b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000..b0f04ee
--- /dev/null
+++ b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,430 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.codeComplete.argumentPrefixes=
+org.eclipse.jdt.core.codeComplete.argumentSuffixes=
+org.eclipse.jdt.core.codeComplete.fieldPrefixes=
+org.eclipse.jdt.core.codeComplete.fieldSuffixes=
+org.eclipse.jdt.core.codeComplete.localPrefixes=
+org.eclipse.jdt.core.codeComplete.localSuffixes=
+org.eclipse.jdt.core.codeComplete.staticFieldPrefixes=
+org.eclipse.jdt.core.codeComplete.staticFieldSuffixes=
+org.eclipse.jdt.core.codeComplete.staticFinalFieldPrefixes=
+org.eclipse.jdt.core.codeComplete.staticFinalFieldSuffixes=
+org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled
+org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
+org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
+org.eclipse.jdt.core.compiler.annotation.nonnull.secondary=
+org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
+org.eclipse.jdt.core.compiler.annotation.nonnullbydefault.secondary=
+org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
+org.eclipse.jdt.core.compiler.annotation.nullable.secondary=
+org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.APILeak=warning
+org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
+org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
+org.eclipse.jdt.core.compiler.problem.deadCode=ignore
+org.eclipse.jdt.core.compiler.problem.deprecation=warning
+org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
+org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
+org.eclipse.jdt.core.compiler.problem.discouragedReference=ignore
+org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore
+org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
+org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
+org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
+org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
+org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
+org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
+org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
+org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
+org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
+org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
+org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
+org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
+org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
+org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
+org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
+org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
+org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
+org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
+org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
+org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
+org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
+org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
+org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
+org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning
+org.eclipse.jdt.core.compiler.problem.nonnullTypeVariableFromLegacyInvocation=warning
+org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
+org.eclipse.jdt.core.compiler.problem.nullReference=warning
+org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
+org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
+org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
+org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
+org.eclipse.jdt.core.compiler.problem.pessimisticNullAnalysisForFreeTypeVariables=warning
+org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
+org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
+org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore
+org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
+org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
+org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
+org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore
+org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
+org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
+org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
+org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
+org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
+org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
+org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
+org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled
+org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
+org.eclipse.jdt.core.compiler.problem.terminalDeprecation=warning
+org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
+org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
+org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
+org.eclipse.jdt.core.compiler.problem.unclosedCloseable=ignore
+org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
+org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
+org.eclipse.jdt.core.compiler.problem.unlikelyCollectionMethodArgumentType=ignore
+org.eclipse.jdt.core.compiler.problem.unlikelyCollectionMethodArgumentTypeStrict=disabled
+org.eclipse.jdt.core.compiler.problem.unlikelyEqualsArgumentType=ignore
+org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
+org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
+org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
+org.eclipse.jdt.core.compiler.problem.unstableAutoModuleName=warning
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
+org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=ignore
+org.eclipse.jdt.core.compiler.problem.unusedImport=warning
+org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
+org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
+org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
+org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
+org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
+org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
+org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
+org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
+org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
+org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
+org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
+org.eclipse.jdt.core.compiler.source=1.5
+org.eclipse.jdt.core.formatter.align_assignment_statements_on_columns=false
+org.eclipse.jdt.core.formatter.align_fields_grouping_blank_lines=2147483647
+org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
+org.eclipse.jdt.core.formatter.align_variable_declarations_on_columns=false
+org.eclipse.jdt.core.formatter.align_with_spaces=false
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=20
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=20
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=20
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=20
+org.eclipse.jdt.core.formatter.alignment_for_assignment=0
+org.eclipse.jdt.core.formatter.alignment_for_binary_expression=20
+org.eclipse.jdt.core.formatter.alignment_for_compact_if=53
+org.eclipse.jdt.core.formatter.alignment_for_compact_loops=16
+org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=53
+org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
+org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=20
+org.eclipse.jdt.core.formatter.alignment_for_expressions_in_for_loop_header=0
+org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0
+org.eclipse.jdt.core.formatter.alignment_for_module_statements=16
+org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
+org.eclipse.jdt.core.formatter.alignment_for_parameterized_type_references=0
+org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80
+org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=20
+org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=33
+org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=33
+org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=33
+org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=17
+org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=33
+org.eclipse.jdt.core.formatter.alignment_for_type_arguments=0
+org.eclipse.jdt.core.formatter.alignment_for_type_parameters=0
+org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16
+org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
+org.eclipse.jdt.core.formatter.blank_lines_after_package=0
+org.eclipse.jdt.core.formatter.blank_lines_before_field=1
+org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=1
+org.eclipse.jdt.core.formatter.blank_lines_before_imports=1
+org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1
+org.eclipse.jdt.core.formatter.blank_lines_before_method=1
+org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1
+org.eclipse.jdt.core.formatter.blank_lines_before_package=0
+org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1
+org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1
+org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line
+org.eclipse.jdt.core.formatter.comment.align_tags_descriptions_grouped=false
+org.eclipse.jdt.core.formatter.comment.align_tags_names_descriptions=false
+org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false
+org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false
+org.eclipse.jdt.core.formatter.comment.count_line_length_from_starting_position=false
+org.eclipse.jdt.core.formatter.comment.format_block_comments=true
+org.eclipse.jdt.core.formatter.comment.format_header=false
+org.eclipse.jdt.core.formatter.comment.format_html=true
+org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true
+org.eclipse.jdt.core.formatter.comment.format_line_comments=true
+org.eclipse.jdt.core.formatter.comment.format_source_code=true
+org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true
+org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
+org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
+org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert
+org.eclipse.jdt.core.formatter.comment.line_length=80
+org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true
+org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true
+org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false
+org.eclipse.jdt.core.formatter.compact_else_if=true
+org.eclipse.jdt.core.formatter.continuation_indentation=2
+org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
+org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off
+org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on
+org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
+org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true
+org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true
+org.eclipse.jdt.core.formatter.indent_empty_lines=false
+org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
+org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
+org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
+org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=true
+org.eclipse.jdt.core.formatter.indentation.size=4
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_enum_constant=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
+org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
+org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert
+org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
+org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
+org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
+org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert
+org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.join_lines_in_comments=true
+org.eclipse.jdt.core.formatter.join_wrapped_lines=true
+org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
+org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
+org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false
+org.eclipse.jdt.core.formatter.keep_simple_do_while_body_on_same_line=false
+org.eclipse.jdt.core.formatter.keep_simple_for_body_on_same_line=false
+org.eclipse.jdt.core.formatter.keep_simple_while_body_on_same_line=false
+org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
+org.eclipse.jdt.core.formatter.lineSplit=80
+org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false
+org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false
+org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
+org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
+org.eclipse.jdt.core.formatter.parentheses_positions_in_annotation=common_lines
+org.eclipse.jdt.core.formatter.parentheses_positions_in_catch_clause=common_lines
+org.eclipse.jdt.core.formatter.parentheses_positions_in_enum_constant_declaration=common_lines
+org.eclipse.jdt.core.formatter.parentheses_positions_in_for_statment=common_lines
+org.eclipse.jdt.core.formatter.parentheses_positions_in_if_while_statement=common_lines
+org.eclipse.jdt.core.formatter.parentheses_positions_in_lambda_declaration=common_lines
+org.eclipse.jdt.core.formatter.parentheses_positions_in_method_delcaration=common_lines
+org.eclipse.jdt.core.formatter.parentheses_positions_in_method_invocation=common_lines
+org.eclipse.jdt.core.formatter.parentheses_positions_in_switch_statement=common_lines
+org.eclipse.jdt.core.formatter.parentheses_positions_in_try_clause=common_lines
+org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=false
+org.eclipse.jdt.core.formatter.tabulation.char=tab
+org.eclipse.jdt.core.formatter.tabulation.size=4
+org.eclipse.jdt.core.formatter.use_on_off_tags=false
+org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
+org.eclipse.jdt.core.formatter.wrap_before_assignment_operator=false
+org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true
+org.eclipse.jdt.core.formatter.wrap_before_conditional_operator=true
+org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true
+org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true
+org.eclipse.jdt.core.javaFormatter=org.eclipse.jdt.core.defaultJavaFormatter
diff --git a/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/.settings/org.eclipse.jdt.ui.prefs b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/.settings/org.eclipse.jdt.ui.prefs
new file mode 100644
index 0000000..d4efc62
--- /dev/null
+++ b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/.settings/org.eclipse.jdt.ui.prefs
@@ -0,0 +1,131 @@
+cleanup.add_default_serial_version_id=true
+cleanup.add_generated_serial_version_id=false
+cleanup.add_missing_annotations=true
+cleanup.add_missing_deprecated_annotations=true
+cleanup.add_missing_methods=false
+cleanup.add_missing_nls_tags=false
+cleanup.add_missing_override_annotations=true
+cleanup.add_missing_override_annotations_interface_methods=true
+cleanup.add_serial_version_id=false
+cleanup.always_use_blocks=true
+cleanup.always_use_parentheses_in_expressions=false
+cleanup.always_use_this_for_non_static_field_access=false
+cleanup.always_use_this_for_non_static_method_access=false
+cleanup.convert_functional_interfaces=false
+cleanup.convert_to_enhanced_for_loop=false
+cleanup.correct_indentation=false
+cleanup.format_source_code=false
+cleanup.format_source_code_changes_only=false
+cleanup.insert_inferred_type_arguments=false
+cleanup.make_local_variable_final=true
+cleanup.make_parameters_final=false
+cleanup.make_private_fields_final=true
+cleanup.make_type_abstract_if_missing_method=false
+cleanup.make_variable_declarations_final=false
+cleanup.never_use_blocks=false
+cleanup.never_use_parentheses_in_expressions=true
+cleanup.organize_imports=false
+cleanup.qualify_static_field_accesses_with_declaring_class=false
+cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
+cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
+cleanup.qualify_static_member_accesses_with_declaring_class=true
+cleanup.qualify_static_method_accesses_with_declaring_class=false
+cleanup.remove_private_constructors=true
+cleanup.remove_redundant_modifiers=false
+cleanup.remove_redundant_semicolons=false
+cleanup.remove_redundant_type_arguments=false
+cleanup.remove_trailing_whitespaces=false
+cleanup.remove_trailing_whitespaces_all=true
+cleanup.remove_trailing_whitespaces_ignore_empty=false
+cleanup.remove_unnecessary_casts=true
+cleanup.remove_unnecessary_nls_tags=true
+cleanup.remove_unused_imports=true
+cleanup.remove_unused_local_variables=false
+cleanup.remove_unused_private_fields=true
+cleanup.remove_unused_private_members=false
+cleanup.remove_unused_private_methods=true
+cleanup.remove_unused_private_types=true
+cleanup.sort_members=false
+cleanup.sort_members_all=false
+cleanup.use_anonymous_class_creation=false
+cleanup.use_blocks=false
+cleanup.use_blocks_only_for_return_and_throw=false
+cleanup.use_lambda=true
+cleanup.use_parentheses_in_expressions=false
+cleanup.use_this_for_non_static_field_access=false
+cleanup.use_this_for_non_static_field_access_only_if_necessary=true
+cleanup.use_this_for_non_static_method_access=false
+cleanup.use_this_for_non_static_method_access_only_if_necessary=true
+cleanup_profile=org.eclipse.jdt.ui.default.eclipse_clean_up_profile
+cleanup_settings_version=2
+eclipse.preferences.version=1
+editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=false
+formatter_profile=_UML2CodeFormatter.profile
+formatter_settings_version=14
+org.eclipse.jdt.ui.exception.name=e
+org.eclipse.jdt.ui.gettersetter.use.is=true
+org.eclipse.jdt.ui.ignorelowercasenames=true
+org.eclipse.jdt.ui.importorder=java;javax;org;com;
+org.eclipse.jdt.ui.keywordthis=false
+org.eclipse.jdt.ui.ondemandthreshold=99
+org.eclipse.jdt.ui.overrideannotation=true
+org.eclipse.jdt.ui.staticondemandthreshold=99
+sp_cleanup.add_default_serial_version_id=true
+sp_cleanup.add_generated_serial_version_id=false
+sp_cleanup.add_missing_annotations=true
+sp_cleanup.add_missing_deprecated_annotations=true
+sp_cleanup.add_missing_methods=false
+sp_cleanup.add_missing_nls_tags=false
+sp_cleanup.add_missing_override_annotations=true
+sp_cleanup.add_missing_override_annotations_interface_methods=true
+sp_cleanup.add_serial_version_id=false
+sp_cleanup.always_use_blocks=true
+sp_cleanup.always_use_parentheses_in_expressions=false
+sp_cleanup.always_use_this_for_non_static_field_access=false
+sp_cleanup.always_use_this_for_non_static_method_access=false
+sp_cleanup.convert_functional_interfaces=false
+sp_cleanup.convert_to_enhanced_for_loop=false
+sp_cleanup.correct_indentation=false
+sp_cleanup.format_source_code=true
+sp_cleanup.format_source_code_changes_only=false
+sp_cleanup.insert_inferred_type_arguments=false
+sp_cleanup.make_local_variable_final=true
+sp_cleanup.make_parameters_final=false
+sp_cleanup.make_private_fields_final=true
+sp_cleanup.make_type_abstract_if_missing_method=false
+sp_cleanup.make_variable_declarations_final=false
+sp_cleanup.never_use_blocks=false
+sp_cleanup.never_use_parentheses_in_expressions=true
+sp_cleanup.on_save_use_additional_actions=false
+sp_cleanup.organize_imports=true
+sp_cleanup.qualify_static_field_accesses_with_declaring_class=false
+sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
+sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
+sp_cleanup.qualify_static_member_accesses_with_declaring_class=false
+sp_cleanup.qualify_static_method_accesses_with_declaring_class=false
+sp_cleanup.remove_private_constructors=true
+sp_cleanup.remove_redundant_modifiers=false
+sp_cleanup.remove_redundant_semicolons=false
+sp_cleanup.remove_redundant_type_arguments=false
+sp_cleanup.remove_trailing_whitespaces=false
+sp_cleanup.remove_trailing_whitespaces_all=true
+sp_cleanup.remove_trailing_whitespaces_ignore_empty=false
+sp_cleanup.remove_unnecessary_casts=true
+sp_cleanup.remove_unnecessary_nls_tags=false
+sp_cleanup.remove_unused_imports=false
+sp_cleanup.remove_unused_local_variables=false
+sp_cleanup.remove_unused_private_fields=true
+sp_cleanup.remove_unused_private_members=false
+sp_cleanup.remove_unused_private_methods=true
+sp_cleanup.remove_unused_private_types=true
+sp_cleanup.sort_members=false
+sp_cleanup.sort_members_all=false
+sp_cleanup.use_anonymous_class_creation=false
+sp_cleanup.use_blocks=false
+sp_cleanup.use_blocks_only_for_return_and_throw=false
+sp_cleanup.use_lambda=true
+sp_cleanup.use_parentheses_in_expressions=false
+sp_cleanup.use_this_for_non_static_field_access=false
+sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true
+sp_cleanup.use_this_for_non_static_method_access=false
+sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true
diff --git a/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/META-INF/MANIFEST.MF b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/META-INF/MANIFEST.MF
new file mode 100755
index 0000000..9520e97
--- /dev/null
+++ b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/META-INF/MANIFEST.MF
@@ -0,0 +1,24 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-SymbolicName: org.eclipse.uml2.uml.cdo; singleton:=true
+Bundle-Version: 5.4.0.qualifier
+Bundle-ClassPath: .
+Bundle-Activator: org.eclipse.uml2.uml.cdo.internal.UMLCDOPlugin$Implementation
+Bundle-Vendor: %providerName
+Bundle-Localization: plugin
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Export-Package: org.eclipse.uml2.uml.cdo.internal.impl;x-friends:="org.eclipse.uml2.uml.cdo.tests",
+ org.eclipse.uml2.uml.cdo.internal.util;x-friends:="org.eclipse.uml2.uml.cdo.tests"
+Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.5.0,4.0.0)";resolution:=optional;x-installation:=greedy,
+ org.eclipse.emf.ecore;bundle-version="[2.14.0,3.0.0)";visibility:=reexport,
+ org.eclipse.emf.ecore.xmi;bundle-version="[2.14.0,3.0.0)";visibility:=reexport,
+ org.eclipse.uml2.common;bundle-version="[2.4.0,3.0.0)";visibility:=reexport,
+ org.eclipse.uml2.types;bundle-version="[2.4.0,3.0.0)";visibility:=reexport,
+ org.eclipse.emf.mapping.ecore2xml;bundle-version="[2.9.0,3.0.0)";visibility:=reexport,
+ org.eclipse.uml2.uml;bundle-version="[5.5.0,5.6.0)";visibility:=reexport,
+ org.eclipse.emf.cdo;bundle-version="[4.5.0,5.0.0)",
+ org.eclipse.emf.cdo.ecore;bundle-version="[1.0.0,2.0.0)"
+Eclipse-LazyStart: true
+Bundle-ActivationPolicy: lazy
+Automatic-Module-Name: org.eclipse.uml2.uml.cdo
diff --git a/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/Migrate UML2.launch b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/Migrate UML2.launch
new file mode 100644
index 0000000..5551c6e
--- /dev/null
+++ b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/Migrate UML2.launch
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.ant.AntLaunchConfigurationType">
+<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
+<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${working_set:&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#13;&#10;&lt;resources&gt;&#13;&#10;&lt;item path=&quot;/org.eclipse.uml2.uml.cdo&quot; type=&quot;4&quot;/&gt;&#13;&#10;&lt;/resources&gt;}"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/org.eclipse.uml2.uml.cdo/migrate.ant"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="1"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
+<listEntry value="org.eclipse.ui.externaltools.launchGroup"/>
+</listAttribute>
+<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.eclipse.uml2.uml.cdo"/>
+<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/org.eclipse.uml2.uml.cdo/migrate.ant}"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS" value="-Dgit.clone.uml2=${git.clone.uml2}"/>
+<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
+</launchConfiguration>
diff --git a/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/UML Explorer.launch b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/UML Explorer.launch
new file mode 100644
index 0000000..7c8f9d2
--- /dev/null
+++ b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/UML Explorer.launch
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.pde.ui.RuntimeWorkbench">
+<booleanAttribute key="append.args" value="true"/>
+<booleanAttribute key="askclear" value="true"/>
+<booleanAttribute key="automaticAdd" value="false"/>
+<booleanAttribute key="automaticValidate" value="true"/>
+<stringAttribute key="bootstrap" value=""/>
+<stringAttribute key="checked" value="[NONE]"/>
+<booleanAttribute key="clearConfig" value="false"/>
+<booleanAttribute key="clearws" value="false"/>
+<booleanAttribute key="clearwslog" value="false"/>
+<stringAttribute key="configLocation" value="${workspace_loc}/.metadata/.plugins/org.eclipse.pde.core/UML Explorer"/>
+<booleanAttribute key="default" value="false"/>
+<booleanAttribute key="includeOptional" value="false"/>
+<stringAttribute key="location" value="${workspace_loc}/../runtime-New_configuration"/>
+<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
+<listEntry value="org.eclipse.debug.ui.launchGroup.debug"/>
+<listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
+</listAttribute>
+<booleanAttribute key="org.eclipse.jdt.launching.ATTR_USE_START_ON_FIRST_THREAD" value="true"/>
+<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -consoleLog"/>
+<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.pde.ui.workbenchClasspathProvider"/>
+<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dorg.eclipse.emf.cdo.ui.team.history.test=false"/>
+<stringAttribute key="pde.version" value="3.3"/>
+<stringAttribute key="product" value="org.eclipse.sdk.ide"/>
+<stringAttribute key="selected_target_plugins" value="com.db4o@default:default,com.google.guava@default:default,com.ibm.icu@default:default,com.jcraft.jsch@default:default,com.mysql.jdbc@default:default,com.sun.el@default:default,javax.activation@default:default,javax.annotation@default:default,javax.el@default:default,javax.inject@default:default,javax.persistence@default:default,javax.servlet.jsp@default:default,javax.servlet@default:default,javax.xml@default:default,lpg.runtime.java@default:default,oracle.database.driver@default:default,org.apache.ant@default:default,org.apache.batik.constants@default:default,org.apache.batik.css@default:default,org.apache.batik.i18n@default:default,org.apache.batik.util@default:default,org.apache.commons.codec@default:default,org.apache.commons.httpclient@default:default,org.apache.commons.io@default:default,org.apache.commons.jxpath@default:default,org.apache.commons.lang@default:default,org.apache.commons.logging@default:default,org.apache.derby@default:default,org.apache.felix.gogo.command@default:default,org.apache.felix.gogo.runtime@default:default,org.apache.felix.gogo.shell@default:default,org.apache.felix.scr@1:true,org.apache.httpcomponents.httpclient@default:default,org.apache.httpcomponents.httpcore@default:default,org.apache.jasper.glassfish@default:default,org.apache.log4j@default:default,org.apache.lucene.analyzers-common@default:default,org.apache.lucene.analyzers-smartcn@default:default,org.apache.lucene.core@default:default,org.apache.xmlgraphics@default:default,org.apiguardian@default:default,org.aspectj.runtime@default:default,org.aspectj.weaver@default:default,org.eclipse.ant.core@default:default,org.eclipse.ant.launching@default:default,org.eclipse.ant.ui@default:default,org.eclipse.compare.core@default:default,org.eclipse.compare.win32@default:default,org.eclipse.compare@default:default,org.eclipse.core.commands@default:default,org.eclipse.core.contenttype@default:default,org.eclipse.core.databinding.beans@default:default,org.eclipse.core.databinding.observable@default:default,org.eclipse.core.databinding.property@default:default,org.eclipse.core.databinding@default:default,org.eclipse.core.expressions@default:default,org.eclipse.core.externaltools@default:default,org.eclipse.core.filebuffers@default:default,org.eclipse.core.filesystem.win32.x86_64@default:false,org.eclipse.core.filesystem@default:default,org.eclipse.core.jobs@default:default,org.eclipse.core.net.win32.x86_64@default:false,org.eclipse.core.net@default:default,org.eclipse.core.resources.win32.x86_64@default:false,org.eclipse.core.resources@default:default,org.eclipse.core.runtime@default:true,org.eclipse.core.variables@default:default,org.eclipse.debug.core@default:default,org.eclipse.debug.ui@default:default,org.eclipse.draw2d@default:default,org.eclipse.e4.core.commands@default:default,org.eclipse.e4.core.contexts@default:default,org.eclipse.e4.core.di.annotations@default:default,org.eclipse.e4.core.di.extensions.supplier@default:default,org.eclipse.e4.core.di.extensions@default:default,org.eclipse.e4.core.di@default:default,org.eclipse.e4.core.services@default:default,org.eclipse.e4.emf.xpath@default:default,org.eclipse.e4.ui.bindings@default:default,org.eclipse.e4.ui.css.core@default:default,org.eclipse.e4.ui.css.swt.theme@default:default,org.eclipse.e4.ui.css.swt@default:default,org.eclipse.e4.ui.di@default:default,org.eclipse.e4.ui.dialogs@default:default,org.eclipse.e4.ui.model.workbench@default:default,org.eclipse.e4.ui.services@default:default,org.eclipse.e4.ui.widgets@default:default,org.eclipse.e4.ui.workbench.addons.swt@default:default,org.eclipse.e4.ui.workbench.renderers.swt@default:default,org.eclipse.e4.ui.workbench.swt@default:default,org.eclipse.e4.ui.workbench3@default:default,org.eclipse.e4.ui.workbench@default:default,org.eclipse.ecf.filetransfer@default:default,org.eclipse.ecf.identity@default:default,org.eclipse.ecf.provider.filetransfer.httpclient4.ssl@default:false,org.eclipse.ecf.provider.filetransfer.httpclient4@default:default,org.eclipse.ecf.provider.filetransfer.ssl@default:false,org.eclipse.ecf.provider.filetransfer@default:default,org.eclipse.ecf.ssl@default:false,org.eclipse.ecf@default:default,org.eclipse.emf.ant@default:default,org.eclipse.emf.cheatsheets@default:default,org.eclipse.emf.codegen.ecore.ui@default:default,org.eclipse.emf.codegen.ui@default:default,org.eclipse.emf.codegen@default:default,org.eclipse.emf.common.ui@default:default,org.eclipse.emf.common@default:default,org.eclipse.emf.compare.edit@default:default,org.eclipse.emf.compare.ide.ui@default:default,org.eclipse.emf.compare.ide@default:default,org.eclipse.emf.compare.rcp.ui@default:default,org.eclipse.emf.compare.rcp@default:default,org.eclipse.emf.compare@default:default,org.eclipse.emf.converter@default:default,org.eclipse.emf.databinding.edit@default:default,org.eclipse.emf.databinding@default:default,org.eclipse.emf.doc@default:default,org.eclipse.emf.ecore.change.edit@default:default,org.eclipse.emf.ecore.change@default:default,org.eclipse.emf.ecore.edit@default:default,org.eclipse.emf.ecore.editor@default:default,org.eclipse.emf.ecore.xmi@default:default,org.eclipse.emf.ecore@default:default,org.eclipse.emf.edit.ui@default:default,org.eclipse.emf.edit@default:default,org.eclipse.emf.example.installer@default:default,org.eclipse.emf.exporter@default:default,org.eclipse.emf.importer.ecore@default:default,org.eclipse.emf.importer.java@default:default,org.eclipse.emf.importer.rose@default:default,org.eclipse.emf.importer@default:default,org.eclipse.emf.mapping.ecore.editor@default:default,org.eclipse.emf.mapping.ecore2ecore.editor@default:default,org.eclipse.emf.mapping.ecore2ecore@default:default,org.eclipse.emf.mapping.ecore2xml.ui@default:default,org.eclipse.emf.mapping.ecore2xml@default:default,org.eclipse.emf.mapping.ecore@default:default,org.eclipse.emf.mapping.ui@default:default,org.eclipse.emf.mapping@default:default,org.eclipse.emf.teneo.annotations@default:default,org.eclipse.emf.teneo.hibernate.mapper@default:default,org.eclipse.emf.teneo.hibernate@default:default,org.eclipse.emf.teneo@default:default,org.eclipse.emf.transaction@default:default,org.eclipse.emf.validation@default:default,org.eclipse.emf.workspace@default:default,org.eclipse.emf@default:default,org.eclipse.equinox.app@default:default,org.eclipse.equinox.bidi@default:default,org.eclipse.equinox.common@2:true,org.eclipse.equinox.concurrent@default:default,org.eclipse.equinox.console@default:default,org.eclipse.equinox.ds@1:true,org.eclipse.equinox.event@default:default,org.eclipse.equinox.frameworkadmin.equinox@default:default,org.eclipse.equinox.frameworkadmin@default:default,org.eclipse.equinox.http.jetty@default:default,org.eclipse.equinox.http.registry@default:default,org.eclipse.equinox.http.servlet@default:default,org.eclipse.equinox.jsp.jasper.registry@default:default,org.eclipse.equinox.jsp.jasper@default:default,org.eclipse.equinox.launcher.win32.win32.x86_64@default:false,org.eclipse.equinox.launcher@default:default,org.eclipse.equinox.p2.artifact.repository@default:default,org.eclipse.equinox.p2.console@default:default,org.eclipse.equinox.p2.core@default:default,org.eclipse.equinox.p2.director.app@default:default,org.eclipse.equinox.p2.director@default:default,org.eclipse.equinox.p2.directorywatcher@default:default,org.eclipse.equinox.p2.engine@default:default,org.eclipse.equinox.p2.extensionlocation@default:default,org.eclipse.equinox.p2.garbagecollector@default:default,org.eclipse.equinox.p2.jarprocessor@default:default,org.eclipse.equinox.p2.metadata.repository@default:default,org.eclipse.equinox.p2.metadata@default:default,org.eclipse.equinox.p2.operations@default:default,org.eclipse.equinox.p2.publisher.eclipse@default:default,org.eclipse.equinox.p2.publisher@default:default,org.eclipse.equinox.p2.reconciler.dropins@default:default,org.eclipse.equinox.p2.repository.tools@default:default,org.eclipse.equinox.p2.repository@default:default,org.eclipse.equinox.p2.touchpoint.eclipse@default:default,org.eclipse.equinox.p2.touchpoint.natives@default:default,org.eclipse.equinox.p2.transport.ecf@default:default,org.eclipse.equinox.p2.ui.importexport@default:default,org.eclipse.equinox.p2.ui.sdk.scheduler@default:default,org.eclipse.equinox.p2.ui.sdk@default:default,org.eclipse.equinox.p2.ui@default:default,org.eclipse.equinox.p2.updatechecker@default:default,org.eclipse.equinox.p2.updatesite@default:default,org.eclipse.equinox.preferences@default:default,org.eclipse.equinox.registry@default:default,org.eclipse.equinox.security.ui@default:default,org.eclipse.equinox.security.win32.x86_64@default:false,org.eclipse.equinox.security@default:default,org.eclipse.equinox.simpleconfigurator.manipulator@default:default,org.eclipse.equinox.simpleconfigurator@1:true,org.eclipse.equinox.util@default:default,org.eclipse.equinox.weaving.aspectj@default:default,org.eclipse.equinox.weaving.hook@default:false,org.eclipse.gef@default:default,org.eclipse.gmf.runtime.common.core@default:default,org.eclipse.gmf.runtime.common.ui.action@default:default,org.eclipse.gmf.runtime.common.ui.services.action@default:default,org.eclipse.gmf.runtime.common.ui.services.properties@default:default,org.eclipse.gmf.runtime.common.ui.services@default:default,org.eclipse.gmf.runtime.common.ui@default:default,org.eclipse.gmf.runtime.diagram.core@default:default,org.eclipse.gmf.runtime.diagram.ui.actions@default:default,org.eclipse.gmf.runtime.diagram.ui.properties@default:default,org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide@default:default,org.eclipse.gmf.runtime.diagram.ui.resources.editor@default:default,org.eclipse.gmf.runtime.diagram.ui@default:default,org.eclipse.gmf.runtime.draw2d.ui.render@default:default,org.eclipse.gmf.runtime.draw2d.ui@default:default,org.eclipse.gmf.runtime.emf.clipboard.core@default:default,org.eclipse.gmf.runtime.emf.commands.core@default:default,org.eclipse.gmf.runtime.emf.core@default:default,org.eclipse.gmf.runtime.emf.type.core@default:default,org.eclipse.gmf.runtime.emf.ui.properties@default:default,org.eclipse.gmf.runtime.emf.ui@default:default,org.eclipse.gmf.runtime.gef.ui@default:default,org.eclipse.gmf.runtime.notation.edit@default:default,org.eclipse.gmf.runtime.notation.providers@default:default,org.eclipse.gmf.runtime.notation@default:default,org.eclipse.graphiti.mm@default:default,org.eclipse.graphiti.ui@default:default,org.eclipse.graphiti@default:default,org.eclipse.help.base@default:default,org.eclipse.help.ui@default:default,org.eclipse.help.webapp@default:default,org.eclipse.help@default:default,org.eclipse.jdt.annotation*1.1.300.v20180905-0314@default:default,org.eclipse.jdt.annotation*2.2.100.v20180905-0314@default:default,org.eclipse.jdt.apt.core@default:default,org.eclipse.jdt.apt.pluggable.core@default:default,org.eclipse.jdt.apt.ui@default:default,org.eclipse.jdt.compiler.apt@default:false,org.eclipse.jdt.compiler.tool@default:false,org.eclipse.jdt.core.manipulation@default:default,org.eclipse.jdt.core@default:default,org.eclipse.jdt.debug.ui@default:default,org.eclipse.jdt.debug@default:default,org.eclipse.jdt.doc.isv@default:default,org.eclipse.jdt.doc.user@default:default,org.eclipse.jdt.junit.core@default:default,org.eclipse.jdt.junit.runtime@default:default,org.eclipse.jdt.junit4.runtime@default:default,org.eclipse.jdt.junit5.runtime@default:default,org.eclipse.jdt.junit@default:default,org.eclipse.jdt.launching@default:default,org.eclipse.jdt.ui@default:default,org.eclipse.jdt@default:default,org.eclipse.jetty.continuation@default:default,org.eclipse.jetty.http@default:default,org.eclipse.jetty.io@default:default,org.eclipse.jetty.security@default:default,org.eclipse.jetty.server@default:default,org.eclipse.jetty.servlet@default:default,org.eclipse.jetty.util@default:default,org.eclipse.jface.databinding@default:default,org.eclipse.jface.text@default:default,org.eclipse.jface@default:default,org.eclipse.jsch.core@default:default,org.eclipse.jsch.ui@default:default,org.eclipse.ltk.core.refactoring@default:default,org.eclipse.ltk.ui.refactoring@default:default,org.eclipse.nebula.cwt@default:default,org.eclipse.nebula.widgets.cdatetime@default:default,org.eclipse.nebula.widgets.gallery@default:default,org.eclipse.nebula.widgets.pshelf@default:default,org.eclipse.ocl.common@default:default,org.eclipse.ocl.ecore@default:default,org.eclipse.ocl@default:default,org.eclipse.osgi.compatibility.state@default:false,org.eclipse.osgi.services@default:default,org.eclipse.osgi.util@default:default,org.eclipse.osgi@-1:true,org.eclipse.pde.api.tools.annotations@default:default,org.eclipse.pde.api.tools.ui@default:default,org.eclipse.pde.api.tools@default:default,org.eclipse.pde.build@default:default,org.eclipse.pde.core@default:default,org.eclipse.pde.doc.user@default:default,org.eclipse.pde.ds.annotations@default:default,org.eclipse.pde.ds.core@default:default,org.eclipse.pde.ds.lib@default:default,org.eclipse.pde.ds.ui@default:default,org.eclipse.pde.ds1_2.lib@default:default,org.eclipse.pde.genericeditor.extension@default:default,org.eclipse.pde.junit.runtime@default:default,org.eclipse.pde.launching@default:default,org.eclipse.pde.runtime@default:default,org.eclipse.pde.ua.core@default:default,org.eclipse.pde.ua.ui@default:default,org.eclipse.pde.ui.templates@default:default,org.eclipse.pde.ui@default:default,org.eclipse.pde@default:default,org.eclipse.platform.doc.isv@default:default,org.eclipse.platform.doc.user@default:default,org.eclipse.platform@default:default,org.eclipse.rcp@default:default,org.eclipse.sdk@default:default,org.eclipse.search@default:default,org.eclipse.swt.win32.win32.x86_64@default:false,org.eclipse.swt@default:default,org.eclipse.team.core@default:default,org.eclipse.team.genericeditor.diff.extension@default:default,org.eclipse.team.ui@default:default,org.eclipse.text@default:default,org.eclipse.tools.layout.spy@default:default,org.eclipse.ui.browser@default:default,org.eclipse.ui.cheatsheets@default:default,org.eclipse.ui.console@default:default,org.eclipse.ui.editors@default:default,org.eclipse.ui.externaltools@default:default,org.eclipse.ui.forms@default:default,org.eclipse.ui.genericeditor@default:default,org.eclipse.ui.ide.application@default:default,org.eclipse.ui.ide@default:default,org.eclipse.ui.intro.quicklinks@default:default,org.eclipse.ui.intro.universal@default:default,org.eclipse.ui.intro@default:default,org.eclipse.ui.monitoring@default:default,org.eclipse.ui.navigator.resources@default:default,org.eclipse.ui.navigator@default:default,org.eclipse.ui.net@default:default,org.eclipse.ui.themes@default:default,org.eclipse.ui.trace@default:default,org.eclipse.ui.views.log@default:default,org.eclipse.ui.views.properties.tabbed@default:default,org.eclipse.ui.views@default:default,org.eclipse.ui.win32@default:false,org.eclipse.ui.workbench.texteditor@default:default,org.eclipse.ui.workbench@default:default,org.eclipse.ui@default:default,org.eclipse.update.configurator@default:default,org.eclipse.urischeme@default:default,org.h2@default:default,org.hamcrest.core@default:default,org.hibernate@default:default,org.hsqldb@default:default,org.junit.jupiter.api@default:default,org.junit.jupiter.engine@default:default,org.junit.jupiter.migrationsupport@default:default,org.junit.jupiter.params@default:default,org.junit.platform.commons@default:default,org.junit.platform.engine@default:default,org.junit.platform.launcher@default:default,org.junit.platform.runner@default:default,org.junit.platform.suite.api@default:default,org.junit.vintage.engine@default:default,org.junit@default:default,org.objectweb.asm.tree@default:default,org.objectweb.asm@default:default,org.opentest4j@default:default,org.postgresql@default:default,org.sat4j.core@default:default,org.sat4j.pb@default:default,org.slf4j.api@default:default,org.tukaani.xz@default:default,org.w3c.css.sac@default:default,org.w3c.dom.events@default:default,org.w3c.dom.smil@default:default,org.w3c.dom.svg@default:default"/>
+<stringAttribute key="selected_workspace_plugins" value="org.eclipse.emf.cdo.admin@default:default,org.eclipse.emf.cdo.common@default:default,org.eclipse.emf.cdo.compare@default:default,org.eclipse.emf.cdo.ecore@default:default,org.eclipse.emf.cdo.edit@default:default,org.eclipse.emf.cdo.explorer.ui@default:default,org.eclipse.emf.cdo.explorer@default:default,org.eclipse.emf.cdo.expressions@default:default,org.eclipse.emf.cdo.net4j@default:default,org.eclipse.emf.cdo.security@default:default,org.eclipse.emf.cdo.server.admin@default:default,org.eclipse.emf.cdo.server.db@default:default,org.eclipse.emf.cdo.server.embedded@default:default,org.eclipse.emf.cdo.server.net4j@default:default,org.eclipse.emf.cdo.server.ocl@default:default,org.eclipse.emf.cdo.server.security@default:default,org.eclipse.emf.cdo.server@default:default,org.eclipse.emf.cdo.transfer.repository@default:default,org.eclipse.emf.cdo.transfer.ui@default:default,org.eclipse.emf.cdo.transfer.workspace.ui@default:default,org.eclipse.emf.cdo.transfer.workspace@default:default,org.eclipse.emf.cdo.transfer@default:default,org.eclipse.emf.cdo.ui.admin@default:default,org.eclipse.emf.cdo.ui.compare@default:default,org.eclipse.emf.cdo.ui.shared@default:default,org.eclipse.emf.cdo.ui.team@default:default,org.eclipse.emf.cdo.workspace@default:default,org.eclipse.emf.cdo@default:default,org.eclipse.emf.codegen.ecore@default:default,org.eclipse.net4j.db.h2@default:default,org.eclipse.net4j.db.jdbc@default:default,org.eclipse.net4j.db@default:default,org.eclipse.net4j.jvm@default:default,org.eclipse.net4j.tcp@default:default,org.eclipse.net4j.trace@default:default,org.eclipse.net4j.ui.shared@default:default,org.eclipse.net4j.ui@default:default,org.eclipse.net4j.util.ui@default:default,org.eclipse.net4j.util@default:default,org.eclipse.net4j@default:default,org.eclipse.uml2.common@default:default,org.eclipse.uml2.types@default:default,org.eclipse.uml2.uml.cdo@default:default,org.eclipse.uml2.uml@default:default"/>
+<booleanAttribute key="show_selected_only" value="false"/>
+<stringAttribute key="templateConfig" value="${target_home}\configuration\config.ini"/>
+<booleanAttribute key="tracing" value="false"/>
+<booleanAttribute key="useCustomFeatures" value="false"/>
+<booleanAttribute key="useDefaultConfig" value="true"/>
+<booleanAttribute key="useDefaultConfigArea" value="true"/>
+<booleanAttribute key="useProduct" value="true"/>
+</launchConfiguration>
diff --git a/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/UML2CDOConfiguration.setup b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/UML2CDOConfiguration.setup
new file mode 100644
index 0000000..4f623c7
--- /dev/null
+++ b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/UML2CDOConfiguration.setup
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<setup:Configuration
+ xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:git="http://www.eclipse.org/oomph/setup/git/1.0"
+ xmlns:predicates="http://www.eclipse.org/oomph/predicates/1.0"
+ xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
+ xmlns:setup.targlets="http://www.eclipse.org/oomph/setup/targlets/1.0"
+ xmlns:setup.workingsets="http://www.eclipse.org/oomph/setup/workingsets/1.0"
+ xsi:schemaLocation="http://www.eclipse.org/oomph/setup/git/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Git.ecore http://www.eclipse.org/oomph/predicates/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Predicates.ecore http://www.eclipse.org/oomph/setup/targlets/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/SetupTarglets.ecore http://www.eclipse.org/oomph/setup/workingsets/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/SetupWorkingSets.ecore"
+ label="UML2CDO">
+ <installation
+ name="uml2cdo.installation"
+ label="UML2CDO Installation">
+ <setupTask
+ xsi:type="setup:VariableTask"
+ name="installation.id.default"
+ value="uml2cdo"/>
+ <productVersion
+ href="index:/org.eclipse.setup#//@productCatalogs[name='org.eclipse.products']/@products[name='epp.package.committers']/@versions[name='latest']"/>
+ <description>The UML2CDO installation provides the automated migration of the UML2 model to CDO.</description>
+ </installation>
+ <workspace
+ name="uml2cdo.workspace"
+ label="UML2CDO Workspace">
+ <setupTask
+ xsi:type="setup:RedirectionTask"
+ sourceURL="http://download.eclipse.org/modeling/emf/validation/updates/interim"
+ targetURL="http://download.eclipse.org/modeling/emf/validation/updates/interim/I201810221554">
+ <description>The composite repo under the source URI is way to large (currently 44 children)</description>
+ </setupTask>
+ <setupTask
+ xsi:type="git:GitCloneTask"
+ id="git.clone.papyruscollaborativemodeling"
+ remoteURI="papyrus/org.eclipse.papyrus-collaborativemodeling"
+ pushURI=""
+ checkoutBranch="master">
+ <annotation
+ source="http://www.eclipse.org/oomph/setup/InducedChoices">
+ <detail
+ key="inherit">
+ <value>eclipse.git.gerrit.remoteURIs</value>
+ </detail>
+ <detail
+ key="label">
+ <value>Papyrus Git or Gerrit Repository</value>
+ </detail>
+ <detail
+ key="target">
+ <value>remoteURI</value>
+ </detail>
+ </annotation>
+ <description>Papyrus Collaborative Modeling</description>
+ </setupTask>
+ <setupTask
+ xsi:type="setup:StringSubstitutionTask"
+ name="git.clone.papyruscollaborativemodeling"
+ value="${git.clone.papyruscollaborativemodeling}"/>
+ <setupTask
+ xsi:type="setup:StringSubstitutionTask"
+ name="git.clone.uml2"
+ value="${git.clone.uml2}"/>
+ <setupTask
+ xsi:type="setup.targlets:TargletTask">
+ <targlet
+ name="UML2CDO"
+ activeRepositoryList="${eclipse.target.platform}">
+ <requirement
+ name="org.eclipse.uml2.uml.cdo"/>
+ <sourceLocator
+ rootFolder="${git.clone.papyruscollaborativemodeling/cdo/bundles/uml}"/>
+ </targlet>
+ </setupTask>
+ <setupTask
+ xsi:type="setup.workingsets:WorkingSetTask"
+ prefix="org.eclipse.uml2-">
+ <workingSet
+ name="UML2CDO">
+ <predicate
+ xsi:type="predicates:NamePredicate"
+ pattern="org.eclipse.uml2.uml.cdo"/>
+ </workingSet>
+ <description>The dynamic working sets for ${scope.project.label}</description>
+ </setupTask>
+ <stream
+ href="index:/org.eclipse.setup#//@projectCatalogs[name='org.eclipse']/@projects[name='uml2']/@streams[name='master']"/>
+ <stream
+ href="index:/org.eclipse.setup#//@projectCatalogs[name='org.eclipse']/@projects[name='cdo']/@streams[name='master']"/>
+ <description>The UML2CDO workspace provides the automated migration of the UML2 model to CDO.</description>
+ </workspace>
+ <description>The UML2CDO configuration provides the automated migration of the UML2 model to CDO.</description>
+</setup:Configuration>
diff --git a/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/about.html b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/about.html
new file mode 100644
index 0000000..598b368
--- /dev/null
+++ b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/about.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
+<title>About</title>
+</head>
+<body lang="EN-US">
+<h2>About This Content</h2>
+
+<p>May 12, 2008</p>
+<h3>License</h3>
+
+<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
+indicated below, the Content is provided to you under the terms and conditions of the
+Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
+at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
+For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
+
+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
+being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
+apply to your use of any object code in the Content. Check the Redistributor's license that was
+provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
+indicated below, the terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
+
+</body>
+</html> \ No newline at end of file
diff --git a/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/build.properties b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/build.properties
new file mode 100644
index 0000000..26daba6
--- /dev/null
+++ b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/build.properties
@@ -0,0 +1,32 @@
+# Copyright (c) 2005, 2013 IBM Corporation, CEA, 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:
+# IBM - initial API and implementation
+# Kenn Hussey (CEA) - 327039
+# Christian W. Damus (CEA) - 227616
+#
+
+# NLS_MESSAGEFORMAT_VAR
+
+source.. = src/
+output.. = bin/
+bin.includes = about.*,\
+ plugin.*,\
+ .,\
+ META-INF/,\
+ plugin.xml,\
+ plugin.properties,\
+ about.html
+src.includes = about.html,\
+ migrate.ant,\
+ Migrate UML2.launch,\
+ templates/,\
+ UML2CDOConfiguration.setup,\
+ UML Explorer.launch
+exclude.. = **/doc-files/**
+javacSource = 1.5
+javacTarget = 1.5
diff --git a/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/migrate.ant b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/migrate.ant
new file mode 100644
index 0000000..32718a6
--- /dev/null
+++ b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/migrate.ant
@@ -0,0 +1,212 @@
+<?xml version="1.0"?>
+<!--
+ Copyright (c) 2018 CEA LIST and others.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License 2.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-2.0/
+
+ SPDX-License-Identifier: EPL-2.0
+
+ Contributors:
+ Eike Stepper - initial API and implementation
+-->
+<project name="migrate" default="migrate">
+
+ <!--
+ The migration of the UML2 model to CDO is completely automated.
+ The following preconditions must be met before executing the 'migrate.ant' script:
+
+ 1. A recent 'EMF SDK' feature must be installed into the Eclipse IDE.
+
+ 2. The 'org.eclipse.emf.cdo.migrator' plugin must be installed into the Eclipse IDE.
+
+ 3. UML2's Git repository must be cloned from
+ https://git.eclipse.org/r/uml2/org.eclipse.uml2
+ to the local disk. Its disk location must then be passed into this script
+ through the 'git.clone.uml2' property.
+
+ 4. This Ant script must be executed in the JRE of the running IDE!
+
+ Ideally this script is executed via the accompanying 'Migrate UML2.launch'.
+
+ Do NOT apply hand-written changes to the classes in the
+ org.eclipse.uml2.uml.cdo.internal.impl package.
+ This script will eventually overwrite them!
+ Rather modify the underlying UML2 code or this script.
+ -->
+ <target name="migrate">
+ <property name="project.name" value="org.eclipse.uml2.uml" />
+
+ <!--
+ Ensure that UML2's Git clone exists and is reachable.
+ -->
+ <fail unless="git.clone.uml2" message="Property 'git.clone.uml2' is undefined!" />
+ <property name="uml" location="${git.clone.uml2}/plugins/${project.name}" />
+ <fail message="The directory '${uml}' does not exist!">
+ <condition>
+ <not>
+ <available file="${uml}" type="dir" />
+ </not>
+ </condition>
+ </fail>
+
+ <property name="uml.tmp" location="${basedir}/target/${project.name}" />
+ <echo message="Migrating in ${uml.tmp} ..." />
+
+ <cdo.automaticBuild enable="false" />
+ <cdo.deleteProject projectname=".JETEmitters" deletecontent="true" />
+
+ <backup.project project.name="${project.name}" />
+ <backup.project project.name="org.eclipse.uml2" />
+
+ <copy todir="${basedir}/target/org.eclipse.uml2/templates" overwrite="true" verbose="true">
+ <fileset dir="${basedir}/templates">
+ <include name="**/*.javajet" />
+ <include name="**/*.javajetinc" />
+ </fileset>
+ </copy>
+
+ <!--
+ Migrate the 'UML.genmodel' to CDO and regenerate the model within the
+ imported 'org.eclipse.uml2.uml' project.
+ -->
+ <property name="model.path" value="/${project.name}/model/UML.genmodel" />
+ <cdo.migrateModel modelpath="${model.path}" dynamicfeaturedelegation="true" />
+ <cdo.generateModel modelpath="${model.path}" />
+
+ <!--
+ Copy all Java files from the generated 'impl' folder to the 'impl' folder of the
+ 'org.eclipse.uml2.uml.cdo' project.
+ -->
+ <property name="impl" location="${basedir}/src/org/eclipse/uml2/uml/cdo/internal/impl" />
+ <delete>
+ <fileset dir="${impl}">
+ <include name="*.java" />
+ </fileset>
+ </delete>
+ <copy todir="${impl}">
+ <fileset dir="${uml.tmp}/src/org/eclipse/uml2/uml/internal/impl">
+ <include name="*.java" />
+ </fileset>
+
+ <!--
+ Apply the following refactorings:
+ -->
+ <filterchain>
+ <!--
+ Rename the Java package to 'org.eclipse.uml2.uml.cdo.internal.impl'.
+ -->
+ <replacestring from="org.eclipse.uml2.uml.internal.impl" to="org.eclipse.uml2.uml.cdo.internal.impl" />
+
+ <!--
+ Replace EMF's EModelElementImpl base class with CDO's variant of that class.
+ -->
+ <replacestring from="extends EModelElementImpl" to="extends org.eclipse.uml2.uml.cdo.internal.util.CDOElementImpl" />
+
+ <!--
+ Replace the eAnnotations field accesses that the generator has left in some
+ eIsSet() methods with calls to the getEAnnotations() method.
+ -->
+ <replacestring from="eAnnotations != null &amp;&amp; !eAnnotations.isEmpty()" to="!getEAnnotations().isEmpty()" />
+
+ <!--
+ Decrease the generated ESTATIC_FEATURE_COUNT from 1 to 0 because the inherited
+ EModelElement.eAnnotations feature is implemented dynamically, too.
+ -->
+ <replacestring from="ESTATIC_FEATURE_COUNT = 1" to="ESTATIC_FEATURE_COUNT = 0" />
+
+ <!--
+ Fix hand-written code around ElementImpl.eAdapters() to not refer to eFlags anymore.
+ -->
+ <replacestring from="private static final int ADAPTING = 1 &lt;&lt; 7;" to="private boolean adapting;" />
+ <replacestring from="(eFlags &amp; ADAPTING) == 0" to="!adapting" />
+ <replacestring from="eFlags |= ADAPTING;" to="adapting = true;" />
+ <replacestring from="eFlags &amp;= ~ADAPTING;" to="adapting = false;" />
+
+ <tokenfilter>
+ <filetokenizer />
+ <!--
+ Fix generated type mismatches:
+ * CreateLinkActionImpl.getEndData()
+ * DestroyLinkActionImpl.getEndData()
+ * ExtensionImpl.getOwnedEndsGen() ### UNUSED?!
+ -->
+ <replaceregex pattern="(public\s+EList&lt;([^>]+)>\s*get[^(]+\(\)\s*\{\s*return\s*\(EList&lt;)[^>]+(>\)\s*eDynamicGet)" replace="\1\2\3" flags="sg" />
+
+ <!--
+ Replace all SubsetSuperset lists with CDO-specific variants.
+ -->
+ <replaceregex pattern="org.eclipse.uml2.common.util.SubsetSuperset([^;]+)EList;" replace="org.eclipse.uml2.uml.cdo.internal.util.SubsetSuperset\1EList;" flags="sg" />
+
+ <!--
+ Insert the createList() method into all classes that contain a createSpecialList() method.
+ -->
+ <replaceregex pattern="@SuppressWarnings\(&quot;unused&quot;\)([\r\n]+[ \t]*?)private EList&lt;\?> createSpecialList\(EStructuralFeature eStructuralFeature\)" replace="@Override\1protected EList&lt;?> createList(EStructuralFeature eStructuralFeature) {\1&#x9;EList&lt;?> result = createSpecialList(eStructuralFeature);\1&#x9;if (result != null) {\1&#x9;&#x9;return result;\1&#x9;}\1&#x9;\1&#x9;return super.createList(eStructuralFeature);\1}\1\1private EList&lt;?> createSpecialList(EStructuralFeature eStructuralFeature)" flags="sg" />
+ </tokenfilter>
+ </filterchain>
+ </copy>
+
+ <!--
+ Special persistence handling in:
+ * ActivityImpl.groups
+ * ActivityImpl.nodes
+ -->
+ <replaceregexp file="${impl}/ActivityImpl.java" match="([\r\n]+[ \t]*?)public EList&lt;ActivityGroup> getGroups\(\)[^}]+?}[^}]+?}" replace="\1@SuppressWarnings(&quot;unchecked&quot;)\1public EList&lt;ActivityGroup> getGroups() {\1&#x9;return (EList&lt;ActivityGroup>) eDynamicGet(\1&#x9;&#x9;UMLPackage.ACTIVITY__GROUP - ESTATIC_FEATURE_COUNT,\1&#x9;&#x9;UMLPackage.Literals.ACTIVITY__GROUP, true, true);\1}" flags="sg" />
+ <replaceregexp file="${impl}/ActivityImpl.java" match="([\r\n]+[ \t]*?)public EList&lt;ActivityNode> getNodes\(\)[^}]+?}[^}]+?}" replace="\1@SuppressWarnings(&quot;unchecked&quot;)\1public EList&lt;ActivityNode> getNodes() {\1&#x9;return (EList&lt;ActivityNode>) eDynamicGet(\1&#x9;&#x9;UMLPackage.ACTIVITY__NODE - ESTATIC_FEATURE_COUNT,\1&#x9;&#x9;UMLPackage.Literals.ACTIVITY__NODE, true, true);\1}" flags="sg" />
+
+ <restore.project project.name="org.eclipse.uml2" />
+ <restore.project project.name="${project.name}" />
+
+ <!--
+ Apply source cleanup to the 'org.eclipse.uml2.uml.cdo' project.
+ This ensures that only relevant changes appear in the Git history.
+ -->
+ <cdo.cleanupProject projectname="org.eclipse.uml2.uml.cdo" />
+ <cdo.automaticBuild enable="true" />
+ </target>
+
+
+ <!--
+ This macro copies a project from the UML2 Git repository to the
+ 'target' folder of the 'org.eclipse.uml2.uml.cdo' project and then
+ re-imports it from the new, temporary location into the workspace.
+ -->
+ <macrodef name="backup.project">
+ <attribute name="project.name" />
+ <sequential>
+ <echo message="Backing up project @{project.name}" />
+ <delete failonerror="false" includeemptydirs="true">
+ <fileset dir="${basedir}/target/@{project.name}">
+ <include name="**" />
+ </fileset>
+ </delete>
+ <copy todir="${basedir}/target/@{project.name}" verbose="false" failonerror="true" overwrite="true" includeemptydirs="false">
+ <fileset dir="${git.clone.uml2}/plugins/@{project.name}" defaultexcludes="true">
+ <include name="**/*" />
+ <exclude name="bin/**" />
+ </fileset>
+ </copy>
+ <replace dir="${basedir}/target/@{project.name}" token="@generated NOT_CDO" value="@generated">
+ <include name="**/*.java" />
+ </replace>
+ <cdo.deleteProject projectname="@{project.name}" />
+ <cdo.importProject projectname="@{project.name}" fromlocation="${basedir}/target/@{project.name}" />
+ </sequential>
+ </macrodef>
+
+ <!--
+ This macro reverts the effect of the "backup.project" macro for
+ the given workspace project, i.e., it re-imports the project from
+ its original location in the UML2 Git repository.
+ -->
+ <macrodef name="restore.project">
+ <attribute name="project.name" />
+ <sequential>
+ <echo message="Restoring project @{project.name}" />
+ <cdo.deleteProject projectname="@{project.name}" />
+ <cdo.importProject projectname="@{project.name}" fromlocation="${git.clone.uml2}/plugins/@{project.name}" />
+ </sequential>
+ </macrodef>
+
+</project>
diff --git a/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/plugin.properties b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/plugin.properties
new file mode 100644
index 0000000..190e080
--- /dev/null
+++ b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/plugin.properties
@@ -0,0 +1,14 @@
+# Copyright (c) 2005, 2016 IBM Corporation, Embarcadero Technologies, CEA, 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:
+# Eike Stepper - initial API and implementation
+#
+
+# NLS_MESSAGEFORMAT_VAR
+
+pluginName = UML2 UML Model (CDO Version)
+providerName = Eclipse Modeling Project
diff --git a/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/plugin.xml b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/plugin.xml
new file mode 100644
index 0000000..b34ad04
--- /dev/null
+++ b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/plugin.xml
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+
+<!--
+ Copyright (c) 2018 CEA LIST and others.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License 2.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-2.0/
+
+ SPDX-License-Identifier: EPL-2.0
+
+ Contributors:
+ Eike Stepper - initial API and implementation
+-->
+
+<plugin>
+
+ <extension point="org.eclipse.emf.ecore.factory_override">
+ <factory
+ uri="http://www.eclipse.org/uml2/2.0.0/UML"
+ class="org.eclipse.uml2.uml.cdo.internal.impl.UMLFactoryImpl" />
+ </extension>
+
+ <extension point="org.eclipse.emf.ecore.factory_override">
+ <factory
+ uri="http://www.eclipse.org/uml2/2.1.0/UML"
+ class="org.eclipse.uml2.uml.cdo.internal.impl.UMLFactoryImpl" />
+ </extension>
+
+ <extension point="org.eclipse.emf.ecore.factory_override">
+ <factory
+ uri="http://www.eclipse.org/uml2/3.0.0/UML"
+ class="org.eclipse.uml2.uml.cdo.internal.impl.UMLFactoryImpl" />
+ </extension>
+
+ <extension point="org.eclipse.emf.ecore.factory_override">
+ <factory
+ uri="http://www.eclipse.org/uml2/4.0.0/UML"
+ class="org.eclipse.uml2.uml.cdo.internal.impl.UMLFactoryImpl" />
+ </extension>
+
+ <extension point="org.eclipse.emf.ecore.factory_override">
+ <factory
+ uri="http://www.eclipse.org/uml2/5.0.0/UML"
+ class="org.eclipse.uml2.uml.cdo.internal.impl.UMLFactoryImpl" />
+ </extension>
+
+ <extension point="org.eclipse.uml2.common.cache_adapter_override">
+ <cacheAdapter
+ class="org.eclipse.uml2.uml.cdo.internal.util.CDOCacheAdapter"/>
+ </extension>
+
+</plugin>
diff --git a/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/pom.xml b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/pom.xml
new file mode 100755
index 0000000..8dae97f
--- /dev/null
+++ b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/pom.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <artifactId>uml</artifactId>
+ <groupId>org.eclipse.papyrus.cdo</groupId>
+ <version>1.2.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>org.eclipse.uml2.uml.cdo</artifactId>
+ <packaging>eclipse-plugin</packaging>
+ <version>5.4.0-SNAPSHOT</version>
+</project>
diff --git a/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/UMLCDOPlugin.java b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/UMLCDOPlugin.java
new file mode 100644
index 0000000..969a82b
--- /dev/null
+++ b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/UMLCDOPlugin.java
@@ -0,0 +1,51 @@
+/*
+ * Copyright (c) 2018 CEA 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:
+ * Eike Stepper - initial API and implementation
+ */
+package org.eclipse.uml2.uml.cdo.internal;
+
+import org.eclipse.emf.common.EMFPlugin;
+import org.eclipse.emf.common.util.ResourceLocator;
+import org.eclipse.uml2.uml.UMLPlugin;
+
+/**
+ * This is the central singleton for the UML CDO plugin.
+ *
+ * @author Eike Stepper
+ */
+public final class UMLCDOPlugin
+ extends EMFPlugin {
+
+ public static final UMLCDOPlugin INSTANCE = new UMLCDOPlugin();
+
+ private static Implementation plugin;
+
+ public UMLCDOPlugin() {
+ super(new ResourceLocator[]{UMLPlugin.INSTANCE});
+ }
+
+ @Override
+ public ResourceLocator getPluginResourceLocator() {
+ return plugin;
+ }
+
+ public static Implementation getPlugin() {
+ return plugin;
+ }
+
+ public static class Implementation
+ extends EclipsePlugin {
+
+ public Implementation() {
+ super();
+ plugin = this;
+ }
+ }
+
+}
diff --git a/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/AbstractionImpl.java b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/AbstractionImpl.java
new file mode 100644
index 0000000..02a7322
--- /dev/null
+++ b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/AbstractionImpl.java
@@ -0,0 +1,420 @@
+/*
+ * Copyright (c) 2005, 2016 IBM Corporation, CEA, 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:
+ * IBM - initial API and implementation
+ * Kenn Hussey (CEA) - 327039, 418466, 451350, 485756
+ *
+ */
+package org.eclipse.uml2.uml.cdo.internal.impl;
+
+import java.util.Collection;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EAnnotation;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.eclipse.uml2.common.util.CacheAdapter;
+import org.eclipse.uml2.common.util.DerivedUnionEObjectEList;
+
+import org.eclipse.uml2.uml.Abstraction;
+import org.eclipse.uml2.uml.Comment;
+import org.eclipse.uml2.uml.Element;
+import org.eclipse.uml2.uml.NamedElement;
+import org.eclipse.uml2.uml.OpaqueExpression;
+import org.eclipse.uml2.uml.StringExpression;
+import org.eclipse.uml2.uml.TemplateParameter;
+import org.eclipse.uml2.uml.Type;
+import org.eclipse.uml2.uml.UMLPackage;
+import org.eclipse.uml2.uml.VisibilityKind;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Abstraction</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * </p>
+ * <ul>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.AbstractionImpl#getOwnedElements <em>Owned Element</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.AbstractionImpl#getMapping <em>Mapping</em>}</li>
+ * </ul>
+ *
+ * @generated
+ */
+public class AbstractionImpl
+ extends DependencyImpl
+ implements Abstraction {
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected AbstractionImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return UMLPackage.Literals.ABSTRACTION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EList<Element> getOwnedElements() {
+ CacheAdapter cache = getCacheAdapter();
+ if (cache != null) {
+ Resource eResource = eResource();
+ @SuppressWarnings("unchecked")
+ EList<Element> ownedElements = (EList<Element>) cache.get(eResource,
+ this, UMLPackage.Literals.ELEMENT__OWNED_ELEMENT);
+ if (ownedElements == null) {
+ cache.put(eResource, this,
+ UMLPackage.Literals.ELEMENT__OWNED_ELEMENT,
+ ownedElements = new DerivedUnionEObjectEList<Element>(
+ Element.class, this,
+ UMLPackage.ABSTRACTION__OWNED_ELEMENT,
+ OWNED_ELEMENT_ESUBSETS));
+ }
+ return ownedElements;
+ }
+ return new DerivedUnionEObjectEList<Element>(Element.class, this,
+ UMLPackage.ABSTRACTION__OWNED_ELEMENT, OWNED_ELEMENT_ESUBSETS);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OpaqueExpression getMapping() {
+ return (OpaqueExpression) eDynamicGet(
+ UMLPackage.ABSTRACTION__MAPPING - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ABSTRACTION__MAPPING, true, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OpaqueExpression basicGetMapping() {
+ return (OpaqueExpression) eDynamicGet(
+ UMLPackage.ABSTRACTION__MAPPING - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ABSTRACTION__MAPPING, false, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetMapping(OpaqueExpression newMapping,
+ NotificationChain msgs) {
+ msgs = eDynamicInverseAdd((InternalEObject) newMapping,
+ UMLPackage.ABSTRACTION__MAPPING, msgs);
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMapping(OpaqueExpression newMapping) {
+ eDynamicSet(UMLPackage.ABSTRACTION__MAPPING - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ABSTRACTION__MAPPING, newMapping);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OpaqueExpression createMapping(String name, Type type) {
+ OpaqueExpression newMapping = (OpaqueExpression) create(
+ UMLPackage.Literals.OPAQUE_EXPRESSION);
+ setMapping(newMapping);
+ if (name != null)
+ newMapping.setName(name);
+ if (type != null)
+ newMapping.setType(type);
+ return newMapping;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case UMLPackage.ABSTRACTION__EANNOTATIONS :
+ return ((InternalEList<?>) getEAnnotations())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ABSTRACTION__OWNED_COMMENT :
+ return ((InternalEList<?>) getOwnedComments())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ABSTRACTION__NAME_EXPRESSION :
+ return basicSetNameExpression(null, msgs);
+ case UMLPackage.ABSTRACTION__OWNING_TEMPLATE_PARAMETER :
+ return basicSetOwningTemplateParameter(null, msgs);
+ case UMLPackage.ABSTRACTION__TEMPLATE_PARAMETER :
+ return basicSetTemplateParameter(null, msgs);
+ case UMLPackage.ABSTRACTION__MAPPING :
+ return basicSetMapping(null, msgs);
+ }
+ return eDynamicInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case UMLPackage.ABSTRACTION__EANNOTATIONS :
+ return getEAnnotations();
+ case UMLPackage.ABSTRACTION__OWNED_COMMENT :
+ return getOwnedComments();
+ case UMLPackage.ABSTRACTION__OWNED_ELEMENT :
+ return getOwnedElements();
+ case UMLPackage.ABSTRACTION__OWNER :
+ if (resolve)
+ return getOwner();
+ return basicGetOwner();
+ case UMLPackage.ABSTRACTION__CLIENT_DEPENDENCY :
+ return getClientDependencies();
+ case UMLPackage.ABSTRACTION__NAME :
+ return getName();
+ case UMLPackage.ABSTRACTION__NAME_EXPRESSION :
+ if (resolve)
+ return getNameExpression();
+ return basicGetNameExpression();
+ case UMLPackage.ABSTRACTION__NAMESPACE :
+ if (resolve)
+ return getNamespace();
+ return basicGetNamespace();
+ case UMLPackage.ABSTRACTION__QUALIFIED_NAME :
+ return getQualifiedName();
+ case UMLPackage.ABSTRACTION__VISIBILITY :
+ return getVisibility();
+ case UMLPackage.ABSTRACTION__OWNING_TEMPLATE_PARAMETER :
+ if (resolve)
+ return getOwningTemplateParameter();
+ return basicGetOwningTemplateParameter();
+ case UMLPackage.ABSTRACTION__TEMPLATE_PARAMETER :
+ if (resolve)
+ return getTemplateParameter();
+ return basicGetTemplateParameter();
+ case UMLPackage.ABSTRACTION__RELATED_ELEMENT :
+ return getRelatedElements();
+ case UMLPackage.ABSTRACTION__SOURCE :
+ return getSources();
+ case UMLPackage.ABSTRACTION__TARGET :
+ return getTargets();
+ case UMLPackage.ABSTRACTION__CLIENT :
+ return getClients();
+ case UMLPackage.ABSTRACTION__SUPPLIER :
+ return getSuppliers();
+ case UMLPackage.ABSTRACTION__MAPPING :
+ if (resolve)
+ return getMapping();
+ return basicGetMapping();
+ }
+ return eDynamicGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case UMLPackage.ABSTRACTION__EANNOTATIONS :
+ getEAnnotations().clear();
+ getEAnnotations()
+ .addAll((Collection<? extends EAnnotation>) newValue);
+ return;
+ case UMLPackage.ABSTRACTION__OWNED_COMMENT :
+ getOwnedComments().clear();
+ getOwnedComments()
+ .addAll((Collection<? extends Comment>) newValue);
+ return;
+ case UMLPackage.ABSTRACTION__NAME :
+ setName((String) newValue);
+ return;
+ case UMLPackage.ABSTRACTION__NAME_EXPRESSION :
+ setNameExpression((StringExpression) newValue);
+ return;
+ case UMLPackage.ABSTRACTION__VISIBILITY :
+ setVisibility((VisibilityKind) newValue);
+ return;
+ case UMLPackage.ABSTRACTION__OWNING_TEMPLATE_PARAMETER :
+ setOwningTemplateParameter((TemplateParameter) newValue);
+ return;
+ case UMLPackage.ABSTRACTION__TEMPLATE_PARAMETER :
+ setTemplateParameter((TemplateParameter) newValue);
+ return;
+ case UMLPackage.ABSTRACTION__CLIENT :
+ getClients().clear();
+ getClients()
+ .addAll((Collection<? extends NamedElement>) newValue);
+ return;
+ case UMLPackage.ABSTRACTION__SUPPLIER :
+ getSuppliers().clear();
+ getSuppliers()
+ .addAll((Collection<? extends NamedElement>) newValue);
+ return;
+ case UMLPackage.ABSTRACTION__MAPPING :
+ setMapping((OpaqueExpression) newValue);
+ return;
+ }
+ eDynamicSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case UMLPackage.ABSTRACTION__EANNOTATIONS :
+ getEAnnotations().clear();
+ return;
+ case UMLPackage.ABSTRACTION__OWNED_COMMENT :
+ getOwnedComments().clear();
+ return;
+ case UMLPackage.ABSTRACTION__NAME :
+ unsetName();
+ return;
+ case UMLPackage.ABSTRACTION__NAME_EXPRESSION :
+ setNameExpression((StringExpression) null);
+ return;
+ case UMLPackage.ABSTRACTION__VISIBILITY :
+ unsetVisibility();
+ return;
+ case UMLPackage.ABSTRACTION__OWNING_TEMPLATE_PARAMETER :
+ setOwningTemplateParameter((TemplateParameter) null);
+ return;
+ case UMLPackage.ABSTRACTION__TEMPLATE_PARAMETER :
+ setTemplateParameter((TemplateParameter) null);
+ return;
+ case UMLPackage.ABSTRACTION__CLIENT :
+ getClients().clear();
+ return;
+ case UMLPackage.ABSTRACTION__SUPPLIER :
+ getSuppliers().clear();
+ return;
+ case UMLPackage.ABSTRACTION__MAPPING :
+ setMapping((OpaqueExpression) null);
+ return;
+ }
+ eDynamicUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case UMLPackage.ABSTRACTION__EANNOTATIONS :
+ return !getEAnnotations().isEmpty();
+ case UMLPackage.ABSTRACTION__OWNED_COMMENT :
+ return !getOwnedComments().isEmpty();
+ case UMLPackage.ABSTRACTION__OWNED_ELEMENT :
+ return isSetOwnedElements();
+ case UMLPackage.ABSTRACTION__OWNER :
+ return isSetOwner();
+ case UMLPackage.ABSTRACTION__CLIENT_DEPENDENCY :
+ return !getClientDependencies().isEmpty();
+ case UMLPackage.ABSTRACTION__NAME :
+ return isSetName();
+ case UMLPackage.ABSTRACTION__NAME_EXPRESSION :
+ return basicGetNameExpression() != null;
+ case UMLPackage.ABSTRACTION__NAMESPACE :
+ return isSetNamespace();
+ case UMLPackage.ABSTRACTION__QUALIFIED_NAME :
+ return QUALIFIED_NAME_EDEFAULT == null
+ ? getQualifiedName() != null
+ : !QUALIFIED_NAME_EDEFAULT.equals(getQualifiedName());
+ case UMLPackage.ABSTRACTION__VISIBILITY :
+ return isSetVisibility();
+ case UMLPackage.ABSTRACTION__OWNING_TEMPLATE_PARAMETER :
+ return basicGetOwningTemplateParameter() != null;
+ case UMLPackage.ABSTRACTION__TEMPLATE_PARAMETER :
+ return basicGetTemplateParameter() != null;
+ case UMLPackage.ABSTRACTION__RELATED_ELEMENT :
+ return isSetRelatedElements();
+ case UMLPackage.ABSTRACTION__SOURCE :
+ return isSetSources();
+ case UMLPackage.ABSTRACTION__TARGET :
+ return isSetTargets();
+ case UMLPackage.ABSTRACTION__CLIENT :
+ return !getClients().isEmpty();
+ case UMLPackage.ABSTRACTION__SUPPLIER :
+ return !getSuppliers().isEmpty();
+ case UMLPackage.ABSTRACTION__MAPPING :
+ return basicGetMapping() != null;
+ }
+ return eDynamicIsSet(featureID);
+ }
+
+ /**
+ * The array of subset feature identifiers for the '{@link #getOwnedElements() <em>Owned Element</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOwnedElements()
+ * @generated
+ * @ordered
+ */
+ protected static final int[] OWNED_ELEMENT_ESUBSETS = new int[]{
+ UMLPackage.ABSTRACTION__OWNED_COMMENT,
+ UMLPackage.ABSTRACTION__NAME_EXPRESSION,
+ UMLPackage.ABSTRACTION__MAPPING};
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean isSetOwnedElements() {
+ return super.isSetOwnedElements()
+ || eIsSet(UMLPackage.ABSTRACTION__MAPPING);
+ }
+
+} //AbstractionImpl
diff --git a/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/AcceptCallActionImpl.java b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/AcceptCallActionImpl.java
new file mode 100644
index 0000000..6e6749b
--- /dev/null
+++ b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/AcceptCallActionImpl.java
@@ -0,0 +1,826 @@
+/*
+ * Copyright (c) 2005, 2016 IBM Corporation, CEA, 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:
+ * IBM - initial API and implementation
+ * Kenn Hussey - 286329, 323181
+ * Kenn Hussey (CEA) - 327039, 351774, 418466, 451350, 485756
+ *
+ */
+package org.eclipse.uml2.uml.cdo.internal.impl;
+
+import java.lang.reflect.InvocationTargetException;
+import java.util.Collection;
+import java.util.Map;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.DiagnosticChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EAnnotation;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.eclipse.uml2.common.util.CacheAdapter;
+import org.eclipse.uml2.common.util.DerivedUnionEObjectEList;
+
+import org.eclipse.uml2.uml.AcceptCallAction;
+import org.eclipse.uml2.uml.Activity;
+import org.eclipse.uml2.uml.ActivityEdge;
+import org.eclipse.uml2.uml.ActivityNode;
+import org.eclipse.uml2.uml.ActivityPartition;
+import org.eclipse.uml2.uml.Comment;
+import org.eclipse.uml2.uml.Constraint;
+import org.eclipse.uml2.uml.ExceptionHandler;
+import org.eclipse.uml2.uml.InterruptibleActivityRegion;
+import org.eclipse.uml2.uml.NamedElement;
+import org.eclipse.uml2.uml.Namespace;
+import org.eclipse.uml2.uml.OutputPin;
+import org.eclipse.uml2.uml.RedefinableElement;
+import org.eclipse.uml2.uml.Stereotype;
+import org.eclipse.uml2.uml.StringExpression;
+import org.eclipse.uml2.uml.StructuredActivityNode;
+import org.eclipse.uml2.uml.Trigger;
+import org.eclipse.uml2.uml.Type;
+import org.eclipse.uml2.uml.UMLPackage;
+import org.eclipse.uml2.uml.VisibilityKind;
+
+import org.eclipse.uml2.uml.internal.operations.AcceptCallActionOperations;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Accept Call Action</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * </p>
+ * <ul>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.AcceptCallActionImpl#getOutputs <em>Output</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.AcceptCallActionImpl#getReturnInformation <em>Return Information</em>}</li>
+ * </ul>
+ *
+ * @generated
+ */
+public class AcceptCallActionImpl
+ extends AcceptEventActionImpl
+ implements AcceptCallAction {
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected AcceptCallActionImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return UMLPackage.Literals.ACCEPT_CALL_ACTION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EList<OutputPin> getOutputs() {
+ CacheAdapter cache = getCacheAdapter();
+ if (cache != null) {
+ Resource eResource = eResource();
+ @SuppressWarnings("unchecked")
+ EList<OutputPin> outputs = (EList<OutputPin>) cache.get(eResource,
+ this, UMLPackage.Literals.ACTION__OUTPUT);
+ if (outputs == null) {
+ cache.put(eResource, this, UMLPackage.Literals.ACTION__OUTPUT,
+ outputs = new DerivedUnionEObjectEList<OutputPin>(
+ OutputPin.class, this,
+ UMLPackage.ACCEPT_CALL_ACTION__OUTPUT,
+ OUTPUT_ESUBSETS));
+ }
+ return outputs;
+ }
+ return new DerivedUnionEObjectEList<OutputPin>(OutputPin.class, this,
+ UMLPackage.ACCEPT_CALL_ACTION__OUTPUT, OUTPUT_ESUBSETS);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OutputPin getReturnInformation() {
+ return (OutputPin) eDynamicGet(
+ UMLPackage.ACCEPT_CALL_ACTION__RETURN_INFORMATION
+ - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACCEPT_CALL_ACTION__RETURN_INFORMATION, true,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OutputPin basicGetReturnInformation() {
+ return (OutputPin) eDynamicGet(
+ UMLPackage.ACCEPT_CALL_ACTION__RETURN_INFORMATION
+ - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACCEPT_CALL_ACTION__RETURN_INFORMATION, false,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetReturnInformation(
+ OutputPin newReturnInformation, NotificationChain msgs) {
+ msgs = eDynamicInverseAdd((InternalEObject) newReturnInformation,
+ UMLPackage.ACCEPT_CALL_ACTION__RETURN_INFORMATION, msgs);
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setReturnInformation(OutputPin newReturnInformation) {
+ eDynamicSet(
+ UMLPackage.ACCEPT_CALL_ACTION__RETURN_INFORMATION
+ - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACCEPT_CALL_ACTION__RETURN_INFORMATION,
+ newReturnInformation);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OutputPin createReturnInformation(String name, Type type) {
+ OutputPin newReturnInformation = (OutputPin) create(
+ UMLPackage.Literals.OUTPUT_PIN);
+ setReturnInformation(newReturnInformation);
+ if (name != null)
+ newReturnInformation.setName(name);
+ if (type != null)
+ newReturnInformation.setType(type);
+ return newReturnInformation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateResultPins(DiagnosticChain diagnostics,
+ Map<Object, Object> context) {
+ return AcceptCallActionOperations.validateResultPins(this, diagnostics,
+ context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateTriggerCallEvent(DiagnosticChain diagnostics,
+ Map<Object, Object> context) {
+ return AcceptCallActionOperations.validateTriggerCallEvent(this,
+ diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateUnmarshall(DiagnosticChain diagnostics,
+ Map<Object, Object> context) {
+ return AcceptCallActionOperations.validateUnmarshall(this, diagnostics,
+ context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case UMLPackage.ACCEPT_CALL_ACTION__EANNOTATIONS :
+ return ((InternalEList<?>) getEAnnotations())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACCEPT_CALL_ACTION__OWNED_COMMENT :
+ return ((InternalEList<?>) getOwnedComments())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACCEPT_CALL_ACTION__NAME_EXPRESSION :
+ return basicSetNameExpression(null, msgs);
+ case UMLPackage.ACCEPT_CALL_ACTION__IN_INTERRUPTIBLE_REGION :
+ return ((InternalEList<?>) getInInterruptibleRegions())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACCEPT_CALL_ACTION__IN_STRUCTURED_NODE :
+ return basicSetInStructuredNode(null, msgs);
+ case UMLPackage.ACCEPT_CALL_ACTION__INCOMING :
+ return ((InternalEList<?>) getIncomings()).basicRemove(otherEnd,
+ msgs);
+ case UMLPackage.ACCEPT_CALL_ACTION__OUTGOING :
+ return ((InternalEList<?>) getOutgoings()).basicRemove(otherEnd,
+ msgs);
+ case UMLPackage.ACCEPT_CALL_ACTION__IN_PARTITION :
+ return ((InternalEList<?>) getInPartitions())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACCEPT_CALL_ACTION__HANDLER :
+ return ((InternalEList<?>) getHandlers()).basicRemove(otherEnd,
+ msgs);
+ case UMLPackage.ACCEPT_CALL_ACTION__LOCAL_POSTCONDITION :
+ return ((InternalEList<?>) getLocalPostconditions())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACCEPT_CALL_ACTION__LOCAL_PRECONDITION :
+ return ((InternalEList<?>) getLocalPreconditions())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACCEPT_CALL_ACTION__RESULT :
+ return ((InternalEList<?>) getResults()).basicRemove(otherEnd,
+ msgs);
+ case UMLPackage.ACCEPT_CALL_ACTION__TRIGGER :
+ return ((InternalEList<?>) getTriggers()).basicRemove(otherEnd,
+ msgs);
+ case UMLPackage.ACCEPT_CALL_ACTION__RETURN_INFORMATION :
+ return basicSetReturnInformation(null, msgs);
+ }
+ return eDynamicInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case UMLPackage.ACCEPT_CALL_ACTION__EANNOTATIONS :
+ return getEAnnotations();
+ case UMLPackage.ACCEPT_CALL_ACTION__OWNED_COMMENT :
+ return getOwnedComments();
+ case UMLPackage.ACCEPT_CALL_ACTION__OWNED_ELEMENT :
+ return getOwnedElements();
+ case UMLPackage.ACCEPT_CALL_ACTION__OWNER :
+ if (resolve)
+ return getOwner();
+ return basicGetOwner();
+ case UMLPackage.ACCEPT_CALL_ACTION__CLIENT_DEPENDENCY :
+ return getClientDependencies();
+ case UMLPackage.ACCEPT_CALL_ACTION__NAME :
+ return getName();
+ case UMLPackage.ACCEPT_CALL_ACTION__NAME_EXPRESSION :
+ if (resolve)
+ return getNameExpression();
+ return basicGetNameExpression();
+ case UMLPackage.ACCEPT_CALL_ACTION__NAMESPACE :
+ if (resolve)
+ return getNamespace();
+ return basicGetNamespace();
+ case UMLPackage.ACCEPT_CALL_ACTION__QUALIFIED_NAME :
+ return getQualifiedName();
+ case UMLPackage.ACCEPT_CALL_ACTION__VISIBILITY :
+ return getVisibility();
+ case UMLPackage.ACCEPT_CALL_ACTION__IS_LEAF :
+ return isLeaf();
+ case UMLPackage.ACCEPT_CALL_ACTION__REDEFINED_ELEMENT :
+ return getRedefinedElements();
+ case UMLPackage.ACCEPT_CALL_ACTION__REDEFINITION_CONTEXT :
+ return getRedefinitionContexts();
+ case UMLPackage.ACCEPT_CALL_ACTION__ACTIVITY :
+ if (resolve)
+ return getActivity();
+ return basicGetActivity();
+ case UMLPackage.ACCEPT_CALL_ACTION__IN_GROUP :
+ return getInGroups();
+ case UMLPackage.ACCEPT_CALL_ACTION__IN_INTERRUPTIBLE_REGION :
+ return getInInterruptibleRegions();
+ case UMLPackage.ACCEPT_CALL_ACTION__IN_STRUCTURED_NODE :
+ if (resolve)
+ return getInStructuredNode();
+ return basicGetInStructuredNode();
+ case UMLPackage.ACCEPT_CALL_ACTION__INCOMING :
+ return getIncomings();
+ case UMLPackage.ACCEPT_CALL_ACTION__OUTGOING :
+ return getOutgoings();
+ case UMLPackage.ACCEPT_CALL_ACTION__REDEFINED_NODE :
+ return getRedefinedNodes();
+ case UMLPackage.ACCEPT_CALL_ACTION__IN_PARTITION :
+ return getInPartitions();
+ case UMLPackage.ACCEPT_CALL_ACTION__HANDLER :
+ return getHandlers();
+ case UMLPackage.ACCEPT_CALL_ACTION__CONTEXT :
+ if (resolve)
+ return getContext();
+ return basicGetContext();
+ case UMLPackage.ACCEPT_CALL_ACTION__INPUT :
+ return getInputs();
+ case UMLPackage.ACCEPT_CALL_ACTION__IS_LOCALLY_REENTRANT :
+ return isLocallyReentrant();
+ case UMLPackage.ACCEPT_CALL_ACTION__LOCAL_POSTCONDITION :
+ return getLocalPostconditions();
+ case UMLPackage.ACCEPT_CALL_ACTION__LOCAL_PRECONDITION :
+ return getLocalPreconditions();
+ case UMLPackage.ACCEPT_CALL_ACTION__OUTPUT :
+ return getOutputs();
+ case UMLPackage.ACCEPT_CALL_ACTION__IS_UNMARSHALL :
+ return isUnmarshall();
+ case UMLPackage.ACCEPT_CALL_ACTION__RESULT :
+ return getResults();
+ case UMLPackage.ACCEPT_CALL_ACTION__TRIGGER :
+ return getTriggers();
+ case UMLPackage.ACCEPT_CALL_ACTION__RETURN_INFORMATION :
+ if (resolve)
+ return getReturnInformation();
+ return basicGetReturnInformation();
+ }
+ return eDynamicGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case UMLPackage.ACCEPT_CALL_ACTION__EANNOTATIONS :
+ getEAnnotations().clear();
+ getEAnnotations()
+ .addAll((Collection<? extends EAnnotation>) newValue);
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__OWNED_COMMENT :
+ getOwnedComments().clear();
+ getOwnedComments()
+ .addAll((Collection<? extends Comment>) newValue);
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__NAME :
+ setName((String) newValue);
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__NAME_EXPRESSION :
+ setNameExpression((StringExpression) newValue);
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__VISIBILITY :
+ setVisibility((VisibilityKind) newValue);
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__IS_LEAF :
+ setIsLeaf((Boolean) newValue);
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__ACTIVITY :
+ setActivity((Activity) newValue);
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__IN_INTERRUPTIBLE_REGION :
+ getInInterruptibleRegions().clear();
+ getInInterruptibleRegions().addAll(
+ (Collection<? extends InterruptibleActivityRegion>) newValue);
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__IN_STRUCTURED_NODE :
+ setInStructuredNode((StructuredActivityNode) newValue);
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__INCOMING :
+ getIncomings().clear();
+ getIncomings()
+ .addAll((Collection<? extends ActivityEdge>) newValue);
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__OUTGOING :
+ getOutgoings().clear();
+ getOutgoings()
+ .addAll((Collection<? extends ActivityEdge>) newValue);
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__REDEFINED_NODE :
+ getRedefinedNodes().clear();
+ getRedefinedNodes()
+ .addAll((Collection<? extends ActivityNode>) newValue);
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__IN_PARTITION :
+ getInPartitions().clear();
+ getInPartitions()
+ .addAll((Collection<? extends ActivityPartition>) newValue);
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__HANDLER :
+ getHandlers().clear();
+ getHandlers()
+ .addAll((Collection<? extends ExceptionHandler>) newValue);
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__IS_LOCALLY_REENTRANT :
+ setIsLocallyReentrant((Boolean) newValue);
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__LOCAL_POSTCONDITION :
+ getLocalPostconditions().clear();
+ getLocalPostconditions()
+ .addAll((Collection<? extends Constraint>) newValue);
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__LOCAL_PRECONDITION :
+ getLocalPreconditions().clear();
+ getLocalPreconditions()
+ .addAll((Collection<? extends Constraint>) newValue);
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__IS_UNMARSHALL :
+ setIsUnmarshall((Boolean) newValue);
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__RESULT :
+ getResults().clear();
+ getResults().addAll((Collection<? extends OutputPin>) newValue);
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__TRIGGER :
+ getTriggers().clear();
+ getTriggers().addAll((Collection<? extends Trigger>) newValue);
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__RETURN_INFORMATION :
+ setReturnInformation((OutputPin) newValue);
+ return;
+ }
+ eDynamicSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case UMLPackage.ACCEPT_CALL_ACTION__EANNOTATIONS :
+ getEAnnotations().clear();
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__OWNED_COMMENT :
+ getOwnedComments().clear();
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__NAME :
+ unsetName();
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__NAME_EXPRESSION :
+ setNameExpression((StringExpression) null);
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__VISIBILITY :
+ unsetVisibility();
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__IS_LEAF :
+ setIsLeaf(IS_LEAF_EDEFAULT);
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__ACTIVITY :
+ setActivity((Activity) null);
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__IN_INTERRUPTIBLE_REGION :
+ getInInterruptibleRegions().clear();
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__IN_STRUCTURED_NODE :
+ setInStructuredNode((StructuredActivityNode) null);
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__INCOMING :
+ getIncomings().clear();
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__OUTGOING :
+ getOutgoings().clear();
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__REDEFINED_NODE :
+ getRedefinedNodes().clear();
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__IN_PARTITION :
+ getInPartitions().clear();
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__HANDLER :
+ getHandlers().clear();
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__IS_LOCALLY_REENTRANT :
+ setIsLocallyReentrant(IS_LOCALLY_REENTRANT_EDEFAULT);
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__LOCAL_POSTCONDITION :
+ getLocalPostconditions().clear();
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__LOCAL_PRECONDITION :
+ getLocalPreconditions().clear();
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__IS_UNMARSHALL :
+ setIsUnmarshall(IS_UNMARSHALL_EDEFAULT);
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__RESULT :
+ getResults().clear();
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__TRIGGER :
+ getTriggers().clear();
+ return;
+ case UMLPackage.ACCEPT_CALL_ACTION__RETURN_INFORMATION :
+ setReturnInformation((OutputPin) null);
+ return;
+ }
+ eDynamicUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case UMLPackage.ACCEPT_CALL_ACTION__EANNOTATIONS :
+ return !getEAnnotations().isEmpty();
+ case UMLPackage.ACCEPT_CALL_ACTION__OWNED_COMMENT :
+ return !getOwnedComments().isEmpty();
+ case UMLPackage.ACCEPT_CALL_ACTION__OWNED_ELEMENT :
+ return isSetOwnedElements();
+ case UMLPackage.ACCEPT_CALL_ACTION__OWNER :
+ return isSetOwner();
+ case UMLPackage.ACCEPT_CALL_ACTION__CLIENT_DEPENDENCY :
+ return !getClientDependencies().isEmpty();
+ case UMLPackage.ACCEPT_CALL_ACTION__NAME :
+ return isSetName();
+ case UMLPackage.ACCEPT_CALL_ACTION__NAME_EXPRESSION :
+ return basicGetNameExpression() != null;
+ case UMLPackage.ACCEPT_CALL_ACTION__NAMESPACE :
+ return isSetNamespace();
+ case UMLPackage.ACCEPT_CALL_ACTION__QUALIFIED_NAME :
+ return QUALIFIED_NAME_EDEFAULT == null
+ ? getQualifiedName() != null
+ : !QUALIFIED_NAME_EDEFAULT.equals(getQualifiedName());
+ case UMLPackage.ACCEPT_CALL_ACTION__VISIBILITY :
+ return isSetVisibility();
+ case UMLPackage.ACCEPT_CALL_ACTION__IS_LEAF :
+ return isLeaf() != IS_LEAF_EDEFAULT;
+ case UMLPackage.ACCEPT_CALL_ACTION__REDEFINED_ELEMENT :
+ return isSetRedefinedElements();
+ case UMLPackage.ACCEPT_CALL_ACTION__REDEFINITION_CONTEXT :
+ return isSetRedefinitionContexts();
+ case UMLPackage.ACCEPT_CALL_ACTION__ACTIVITY :
+ return basicGetActivity() != null;
+ case UMLPackage.ACCEPT_CALL_ACTION__IN_GROUP :
+ return isSetInGroups();
+ case UMLPackage.ACCEPT_CALL_ACTION__IN_INTERRUPTIBLE_REGION :
+ return !getInInterruptibleRegions().isEmpty();
+ case UMLPackage.ACCEPT_CALL_ACTION__IN_STRUCTURED_NODE :
+ return basicGetInStructuredNode() != null;
+ case UMLPackage.ACCEPT_CALL_ACTION__INCOMING :
+ return !getIncomings().isEmpty();
+ case UMLPackage.ACCEPT_CALL_ACTION__OUTGOING :
+ return !getOutgoings().isEmpty();
+ case UMLPackage.ACCEPT_CALL_ACTION__REDEFINED_NODE :
+ return !getRedefinedNodes().isEmpty();
+ case UMLPackage.ACCEPT_CALL_ACTION__IN_PARTITION :
+ return !getInPartitions().isEmpty();
+ case UMLPackage.ACCEPT_CALL_ACTION__HANDLER :
+ return !getHandlers().isEmpty();
+ case UMLPackage.ACCEPT_CALL_ACTION__CONTEXT :
+ return basicGetContext() != null;
+ case UMLPackage.ACCEPT_CALL_ACTION__INPUT :
+ return isSetInputs();
+ case UMLPackage.ACCEPT_CALL_ACTION__IS_LOCALLY_REENTRANT :
+ return isLocallyReentrant() != IS_LOCALLY_REENTRANT_EDEFAULT;
+ case UMLPackage.ACCEPT_CALL_ACTION__LOCAL_POSTCONDITION :
+ return !getLocalPostconditions().isEmpty();
+ case UMLPackage.ACCEPT_CALL_ACTION__LOCAL_PRECONDITION :
+ return !getLocalPreconditions().isEmpty();
+ case UMLPackage.ACCEPT_CALL_ACTION__OUTPUT :
+ return isSetOutputs();
+ case UMLPackage.ACCEPT_CALL_ACTION__IS_UNMARSHALL :
+ return isUnmarshall() != IS_UNMARSHALL_EDEFAULT;
+ case UMLPackage.ACCEPT_CALL_ACTION__RESULT :
+ return !getResults().isEmpty();
+ case UMLPackage.ACCEPT_CALL_ACTION__TRIGGER :
+ return !getTriggers().isEmpty();
+ case UMLPackage.ACCEPT_CALL_ACTION__RETURN_INFORMATION :
+ return basicGetReturnInformation() != null;
+ }
+ return eDynamicIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ @SuppressWarnings("unchecked")
+ public Object eInvoke(int operationID, EList<?> arguments)
+ throws InvocationTargetException {
+ switch (operationID) {
+ case UMLPackage.ACCEPT_CALL_ACTION___GET_EANNOTATION__STRING :
+ return getEAnnotation((String) arguments.get(0));
+ case UMLPackage.ACCEPT_CALL_ACTION___VALIDATE_HAS_OWNER__DIAGNOSTICCHAIN_MAP :
+ return validateHasOwner((DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACCEPT_CALL_ACTION___VALIDATE_NOT_OWN_SELF__DIAGNOSTICCHAIN_MAP :
+ return validateNotOwnSelf((DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACCEPT_CALL_ACTION___ADD_KEYWORD__STRING :
+ return addKeyword((String) arguments.get(0));
+ case UMLPackage.ACCEPT_CALL_ACTION___APPLY_STEREOTYPE__STEREOTYPE :
+ return applyStereotype((Stereotype) arguments.get(0));
+ case UMLPackage.ACCEPT_CALL_ACTION___CREATE_EANNOTATION__STRING :
+ return createEAnnotation((String) arguments.get(0));
+ case UMLPackage.ACCEPT_CALL_ACTION___DESTROY :
+ destroy();
+ return null;
+ case UMLPackage.ACCEPT_CALL_ACTION___GET_KEYWORDS :
+ return getKeywords();
+ case UMLPackage.ACCEPT_CALL_ACTION___GET_APPLICABLE_STEREOTYPE__STRING :
+ return getApplicableStereotype((String) arguments.get(0));
+ case UMLPackage.ACCEPT_CALL_ACTION___GET_APPLICABLE_STEREOTYPES :
+ return getApplicableStereotypes();
+ case UMLPackage.ACCEPT_CALL_ACTION___GET_APPLIED_STEREOTYPE__STRING :
+ return getAppliedStereotype((String) arguments.get(0));
+ case UMLPackage.ACCEPT_CALL_ACTION___GET_APPLIED_STEREOTYPES :
+ return getAppliedStereotypes();
+ case UMLPackage.ACCEPT_CALL_ACTION___GET_APPLIED_SUBSTEREOTYPE__STEREOTYPE_STRING :
+ return getAppliedSubstereotype((Stereotype) arguments.get(0),
+ (String) arguments.get(1));
+ case UMLPackage.ACCEPT_CALL_ACTION___GET_APPLIED_SUBSTEREOTYPES__STEREOTYPE :
+ return getAppliedSubstereotypes((Stereotype) arguments.get(0));
+ case UMLPackage.ACCEPT_CALL_ACTION___GET_MODEL :
+ return getModel();
+ case UMLPackage.ACCEPT_CALL_ACTION___GET_NEAREST_PACKAGE :
+ return getNearestPackage();
+ case UMLPackage.ACCEPT_CALL_ACTION___GET_RELATIONSHIPS :
+ return getRelationships();
+ case UMLPackage.ACCEPT_CALL_ACTION___GET_RELATIONSHIPS__ECLASS :
+ return getRelationships((EClass) arguments.get(0));
+ case UMLPackage.ACCEPT_CALL_ACTION___GET_REQUIRED_STEREOTYPE__STRING :
+ return getRequiredStereotype((String) arguments.get(0));
+ case UMLPackage.ACCEPT_CALL_ACTION___GET_REQUIRED_STEREOTYPES :
+ return getRequiredStereotypes();
+ case UMLPackage.ACCEPT_CALL_ACTION___GET_SOURCE_DIRECTED_RELATIONSHIPS :
+ return getSourceDirectedRelationships();
+ case UMLPackage.ACCEPT_CALL_ACTION___GET_SOURCE_DIRECTED_RELATIONSHIPS__ECLASS :
+ return getSourceDirectedRelationships(
+ (EClass) arguments.get(0));
+ case UMLPackage.ACCEPT_CALL_ACTION___GET_STEREOTYPE_APPLICATION__STEREOTYPE :
+ return getStereotypeApplication((Stereotype) arguments.get(0));
+ case UMLPackage.ACCEPT_CALL_ACTION___GET_STEREOTYPE_APPLICATIONS :
+ return getStereotypeApplications();
+ case UMLPackage.ACCEPT_CALL_ACTION___GET_TARGET_DIRECTED_RELATIONSHIPS :
+ return getTargetDirectedRelationships();
+ case UMLPackage.ACCEPT_CALL_ACTION___GET_TARGET_DIRECTED_RELATIONSHIPS__ECLASS :
+ return getTargetDirectedRelationships(
+ (EClass) arguments.get(0));
+ case UMLPackage.ACCEPT_CALL_ACTION___GET_VALUE__STEREOTYPE_STRING :
+ return getValue((Stereotype) arguments.get(0),
+ (String) arguments.get(1));
+ case UMLPackage.ACCEPT_CALL_ACTION___HAS_KEYWORD__STRING :
+ return hasKeyword((String) arguments.get(0));
+ case UMLPackage.ACCEPT_CALL_ACTION___HAS_VALUE__STEREOTYPE_STRING :
+ return hasValue((Stereotype) arguments.get(0),
+ (String) arguments.get(1));
+ case UMLPackage.ACCEPT_CALL_ACTION___IS_STEREOTYPE_APPLICABLE__STEREOTYPE :
+ return isStereotypeApplicable((Stereotype) arguments.get(0));
+ case UMLPackage.ACCEPT_CALL_ACTION___IS_STEREOTYPE_APPLIED__STEREOTYPE :
+ return isStereotypeApplied((Stereotype) arguments.get(0));
+ case UMLPackage.ACCEPT_CALL_ACTION___IS_STEREOTYPE_REQUIRED__STEREOTYPE :
+ return isStereotypeRequired((Stereotype) arguments.get(0));
+ case UMLPackage.ACCEPT_CALL_ACTION___REMOVE_KEYWORD__STRING :
+ return removeKeyword((String) arguments.get(0));
+ case UMLPackage.ACCEPT_CALL_ACTION___SET_VALUE__STEREOTYPE_STRING_OBJECT :
+ setValue((Stereotype) arguments.get(0),
+ (String) arguments.get(1), arguments.get(2));
+ return null;
+ case UMLPackage.ACCEPT_CALL_ACTION___UNAPPLY_STEREOTYPE__STEREOTYPE :
+ return unapplyStereotype((Stereotype) arguments.get(0));
+ case UMLPackage.ACCEPT_CALL_ACTION___ALL_OWNED_ELEMENTS :
+ return allOwnedElements();
+ case UMLPackage.ACCEPT_CALL_ACTION___MUST_BE_OWNED :
+ return mustBeOwned();
+ case UMLPackage.ACCEPT_CALL_ACTION___VALIDATE_VISIBILITY_NEEDS_OWNERSHIP__DIAGNOSTICCHAIN_MAP :
+ return validateVisibilityNeedsOwnership(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACCEPT_CALL_ACTION___VALIDATE_HAS_QUALIFIED_NAME__DIAGNOSTICCHAIN_MAP :
+ return validateHasQualifiedName(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACCEPT_CALL_ACTION___VALIDATE_HAS_NO_QUALIFIED_NAME__DIAGNOSTICCHAIN_MAP :
+ return validateHasNoQualifiedName(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACCEPT_CALL_ACTION___CREATE_DEPENDENCY__NAMEDELEMENT :
+ return createDependency((NamedElement) arguments.get(0));
+ case UMLPackage.ACCEPT_CALL_ACTION___CREATE_USAGE__NAMEDELEMENT :
+ return createUsage((NamedElement) arguments.get(0));
+ case UMLPackage.ACCEPT_CALL_ACTION___GET_LABEL :
+ return getLabel();
+ case UMLPackage.ACCEPT_CALL_ACTION___GET_LABEL__BOOLEAN :
+ return getLabel((Boolean) arguments.get(0));
+ case UMLPackage.ACCEPT_CALL_ACTION___GET_NAMESPACE :
+ return getNamespace();
+ case UMLPackage.ACCEPT_CALL_ACTION___ALL_NAMESPACES :
+ return allNamespaces();
+ case UMLPackage.ACCEPT_CALL_ACTION___ALL_OWNING_PACKAGES :
+ return allOwningPackages();
+ case UMLPackage.ACCEPT_CALL_ACTION___IS_DISTINGUISHABLE_FROM__NAMEDELEMENT_NAMESPACE :
+ return isDistinguishableFrom((NamedElement) arguments.get(0),
+ (Namespace) arguments.get(1));
+ case UMLPackage.ACCEPT_CALL_ACTION___GET_QUALIFIED_NAME :
+ return getQualifiedName();
+ case UMLPackage.ACCEPT_CALL_ACTION___SEPARATOR :
+ return separator();
+ case UMLPackage.ACCEPT_CALL_ACTION___GET_CLIENT_DEPENDENCIES :
+ return getClientDependencies();
+ case UMLPackage.ACCEPT_CALL_ACTION___VALIDATE_REDEFINITION_CONSISTENT__DIAGNOSTICCHAIN_MAP :
+ return validateRedefinitionConsistent(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACCEPT_CALL_ACTION___VALIDATE_NON_LEAF_REDEFINITION__DIAGNOSTICCHAIN_MAP :
+ return validateNonLeafRedefinition(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACCEPT_CALL_ACTION___VALIDATE_REDEFINITION_CONTEXT_VALID__DIAGNOSTICCHAIN_MAP :
+ return validateRedefinitionContextValid(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACCEPT_CALL_ACTION___IS_CONSISTENT_WITH__REDEFINABLEELEMENT :
+ return isConsistentWith((RedefinableElement) arguments.get(0));
+ case UMLPackage.ACCEPT_CALL_ACTION___IS_REDEFINITION_CONTEXT_VALID__REDEFINABLEELEMENT :
+ return isRedefinitionContextValid(
+ (RedefinableElement) arguments.get(0));
+ case UMLPackage.ACCEPT_CALL_ACTION___CONTAINING_ACTIVITY :
+ return containingActivity();
+ case UMLPackage.ACCEPT_CALL_ACTION___GET_CONTEXT :
+ return getContext();
+ case UMLPackage.ACCEPT_CALL_ACTION___ALL_ACTIONS :
+ return allActions();
+ case UMLPackage.ACCEPT_CALL_ACTION___ALL_OWNED_NODES :
+ return allOwnedNodes();
+ case UMLPackage.ACCEPT_CALL_ACTION___CONTAINING_BEHAVIOR :
+ return containingBehavior();
+ case UMLPackage.ACCEPT_CALL_ACTION___VALIDATE_ONE_OUTPUT_PIN__DIAGNOSTICCHAIN_MAP :
+ return validateOneOutputPin((DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACCEPT_CALL_ACTION___VALIDATE_NO_INPUT_PINS__DIAGNOSTICCHAIN_MAP :
+ return validateNoInputPins((DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACCEPT_CALL_ACTION___VALIDATE_NO_OUTPUT_PINS__DIAGNOSTICCHAIN_MAP :
+ return validateNoOutputPins((DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACCEPT_CALL_ACTION___VALIDATE_UNMARSHALL_SIGNAL_EVENTS__DIAGNOSTICCHAIN_MAP :
+ return validateUnmarshallSignalEvents(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACCEPT_CALL_ACTION___VALIDATE_CONFORMING_TYPE__DIAGNOSTICCHAIN_MAP :
+ return validateConformingType(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACCEPT_CALL_ACTION___VALIDATE_RESULT_PINS__DIAGNOSTICCHAIN_MAP :
+ return validateResultPins((DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACCEPT_CALL_ACTION___VALIDATE_TRIGGER_CALL_EVENT__DIAGNOSTICCHAIN_MAP :
+ return validateTriggerCallEvent(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACCEPT_CALL_ACTION___VALIDATE_UNMARSHALL__DIAGNOSTICCHAIN_MAP :
+ return validateUnmarshall((DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ }
+ return eDynamicInvoke(operationID, arguments);
+ }
+
+ /**
+ * The array of subset feature identifiers for the '{@link #getOutputs() <em>Output</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOutputs()
+ * @generated
+ * @ordered
+ */
+ protected static final int[] OUTPUT_ESUBSETS = new int[]{
+ UMLPackage.ACCEPT_CALL_ACTION__RESULT,
+ UMLPackage.ACCEPT_CALL_ACTION__RETURN_INFORMATION};
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean isSetOutputs() {
+ return super.isSetOutputs()
+ || eIsSet(UMLPackage.ACCEPT_CALL_ACTION__RETURN_INFORMATION);
+ }
+
+} //AcceptCallActionImpl
diff --git a/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/AcceptEventActionImpl.java b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/AcceptEventActionImpl.java
new file mode 100644
index 0000000..88f56c3
--- /dev/null
+++ b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/AcceptEventActionImpl.java
@@ -0,0 +1,973 @@
+/*
+ * Copyright (c) 2005, 2017 IBM Corporation, Embarcadero Technologies, CEA, 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:
+ * IBM - initial API and implementation
+ * Kenn Hussey (Embarcadero Technologies) - 204200
+ * Kenn Hussey - 286329, 323181, 519572
+ * Kenn Hussey (CEA) - 327039, 351774, 418466, 451350, 485756
+ *
+ */
+package org.eclipse.uml2.uml.cdo.internal.impl;
+
+import java.lang.reflect.InvocationTargetException;
+import java.util.Collection;
+import java.util.Map;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.DiagnosticChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EAnnotation;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.eclipse.uml2.common.util.CacheAdapter;
+import org.eclipse.uml2.common.util.DerivedUnionEObjectEList;
+
+import org.eclipse.uml2.uml.AcceptEventAction;
+import org.eclipse.uml2.uml.Activity;
+import org.eclipse.uml2.uml.ActivityEdge;
+import org.eclipse.uml2.uml.ActivityNode;
+import org.eclipse.uml2.uml.ActivityPartition;
+import org.eclipse.uml2.uml.Comment;
+import org.eclipse.uml2.uml.Constraint;
+import org.eclipse.uml2.uml.Element;
+import org.eclipse.uml2.uml.ExceptionHandler;
+import org.eclipse.uml2.uml.InterruptibleActivityRegion;
+import org.eclipse.uml2.uml.NamedElement;
+import org.eclipse.uml2.uml.Namespace;
+import org.eclipse.uml2.uml.OutputPin;
+import org.eclipse.uml2.uml.RedefinableElement;
+import org.eclipse.uml2.uml.Stereotype;
+import org.eclipse.uml2.uml.StringExpression;
+import org.eclipse.uml2.uml.StructuredActivityNode;
+import org.eclipse.uml2.uml.Trigger;
+import org.eclipse.uml2.uml.Type;
+import org.eclipse.uml2.uml.UMLPackage;
+import org.eclipse.uml2.uml.VisibilityKind;
+
+import org.eclipse.uml2.uml.internal.operations.AcceptEventActionOperations;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Accept Event Action</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * </p>
+ * <ul>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.AcceptEventActionImpl#getOutputs <em>Output</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.AcceptEventActionImpl#getOwnedElements <em>Owned Element</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.AcceptEventActionImpl#isUnmarshall <em>Is Unmarshall</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.AcceptEventActionImpl#getResults <em>Result</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.AcceptEventActionImpl#getTriggers <em>Trigger</em>}</li>
+ * </ul>
+ *
+ * @generated
+ */
+public class AcceptEventActionImpl
+ extends ActionImpl
+ implements AcceptEventAction {
+
+ /**
+ * The default value of the '{@link #isUnmarshall() <em>Is Unmarshall</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isUnmarshall()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean IS_UNMARSHALL_EDEFAULT = false;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected AcceptEventActionImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return UMLPackage.Literals.ACCEPT_EVENT_ACTION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EList<OutputPin> getOutputs() {
+ CacheAdapter cache = getCacheAdapter();
+ if (cache != null) {
+ Resource eResource = eResource();
+ @SuppressWarnings("unchecked")
+ EList<OutputPin> outputs = (EList<OutputPin>) cache.get(eResource,
+ this, UMLPackage.Literals.ACTION__OUTPUT);
+ if (outputs == null) {
+ cache.put(eResource, this, UMLPackage.Literals.ACTION__OUTPUT,
+ outputs = new DerivedUnionEObjectEList<OutputPin>(
+ OutputPin.class, this,
+ UMLPackage.ACCEPT_EVENT_ACTION__OUTPUT,
+ OUTPUT_ESUBSETS));
+ }
+ return outputs;
+ }
+ return new DerivedUnionEObjectEList<OutputPin>(OutputPin.class, this,
+ UMLPackage.ACCEPT_EVENT_ACTION__OUTPUT, OUTPUT_ESUBSETS);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isUnmarshall() {
+ return (Boolean) eDynamicGet(
+ UMLPackage.ACCEPT_EVENT_ACTION__IS_UNMARSHALL
+ - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACCEPT_EVENT_ACTION__IS_UNMARSHALL, true, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIsUnmarshall(boolean newIsUnmarshall) {
+ eDynamicSet(
+ UMLPackage.ACCEPT_EVENT_ACTION__IS_UNMARSHALL
+ - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACCEPT_EVENT_ACTION__IS_UNMARSHALL,
+ newIsUnmarshall);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ public EList<OutputPin> getResults() {
+ return (EList<OutputPin>) eDynamicGet(
+ UMLPackage.ACCEPT_EVENT_ACTION__RESULT - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACCEPT_EVENT_ACTION__RESULT, true, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OutputPin createResult(String name, Type type) {
+ OutputPin newResult = (OutputPin) create(
+ UMLPackage.Literals.OUTPUT_PIN);
+ getResults().add(newResult);
+ if (name != null)
+ newResult.setName(name);
+ if (type != null)
+ newResult.setType(type);
+ return newResult;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OutputPin getResult(String name, Type type) {
+ return getResult(name, type, false, false);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OutputPin getResult(String name, Type type, boolean ignoreCase,
+ boolean createOnDemand) {
+ resultLoop : for (OutputPin result : getResults()) {
+ if (name != null && !(ignoreCase
+ ? name.equalsIgnoreCase(result.getName())
+ : name.equals(result.getName())))
+ continue resultLoop;
+ if (type != null && !type.equals(result.getType()))
+ continue resultLoop;
+ return result;
+ }
+ return createOnDemand
+ ? createResult(name, type)
+ : null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated NOT
+ */
+ public OutputPin getResult(String name, Type type, boolean ignoreCase) {
+ return getResult(name, type, ignoreCase, false);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ public EList<Trigger> getTriggers() {
+ return (EList<Trigger>) eDynamicGet(
+ UMLPackage.ACCEPT_EVENT_ACTION__TRIGGER - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACCEPT_EVENT_ACTION__TRIGGER, true, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Trigger createTrigger(String name) {
+ Trigger newTrigger = (Trigger) create(UMLPackage.Literals.TRIGGER);
+ getTriggers().add(newTrigger);
+ if (name != null)
+ newTrigger.setName(name);
+ return newTrigger;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Trigger getTrigger(String name) {
+ return getTrigger(name, false, false);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Trigger getTrigger(String name, boolean ignoreCase,
+ boolean createOnDemand) {
+ triggerLoop : for (Trigger trigger : getTriggers()) {
+ if (name != null && !(ignoreCase
+ ? name.equalsIgnoreCase(trigger.getName())
+ : name.equals(trigger.getName())))
+ continue triggerLoop;
+ return trigger;
+ }
+ return createOnDemand
+ ? createTrigger(name)
+ : null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateOneOutputPin(DiagnosticChain diagnostics,
+ Map<Object, Object> context) {
+ return AcceptEventActionOperations.validateOneOutputPin(this,
+ diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateNoInputPins(DiagnosticChain diagnostics,
+ Map<Object, Object> context) {
+ return AcceptEventActionOperations.validateNoInputPins(this,
+ diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateNoOutputPins(DiagnosticChain diagnostics,
+ Map<Object, Object> context) {
+ return AcceptEventActionOperations.validateNoOutputPins(this,
+ diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateUnmarshallSignalEvents(DiagnosticChain diagnostics,
+ Map<Object, Object> context) {
+ return AcceptEventActionOperations.validateUnmarshallSignalEvents(this,
+ diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateConformingType(DiagnosticChain diagnostics,
+ Map<Object, Object> context) {
+ return AcceptEventActionOperations.validateConformingType(this,
+ diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case UMLPackage.ACCEPT_EVENT_ACTION__EANNOTATIONS :
+ return ((InternalEList<?>) getEAnnotations())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACCEPT_EVENT_ACTION__OWNED_COMMENT :
+ return ((InternalEList<?>) getOwnedComments())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACCEPT_EVENT_ACTION__NAME_EXPRESSION :
+ return basicSetNameExpression(null, msgs);
+ case UMLPackage.ACCEPT_EVENT_ACTION__IN_INTERRUPTIBLE_REGION :
+ return ((InternalEList<?>) getInInterruptibleRegions())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACCEPT_EVENT_ACTION__IN_STRUCTURED_NODE :
+ return basicSetInStructuredNode(null, msgs);
+ case UMLPackage.ACCEPT_EVENT_ACTION__INCOMING :
+ return ((InternalEList<?>) getIncomings()).basicRemove(otherEnd,
+ msgs);
+ case UMLPackage.ACCEPT_EVENT_ACTION__OUTGOING :
+ return ((InternalEList<?>) getOutgoings()).basicRemove(otherEnd,
+ msgs);
+ case UMLPackage.ACCEPT_EVENT_ACTION__IN_PARTITION :
+ return ((InternalEList<?>) getInPartitions())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACCEPT_EVENT_ACTION__HANDLER :
+ return ((InternalEList<?>) getHandlers()).basicRemove(otherEnd,
+ msgs);
+ case UMLPackage.ACCEPT_EVENT_ACTION__LOCAL_POSTCONDITION :
+ return ((InternalEList<?>) getLocalPostconditions())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACCEPT_EVENT_ACTION__LOCAL_PRECONDITION :
+ return ((InternalEList<?>) getLocalPreconditions())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACCEPT_EVENT_ACTION__RESULT :
+ return ((InternalEList<?>) getResults()).basicRemove(otherEnd,
+ msgs);
+ case UMLPackage.ACCEPT_EVENT_ACTION__TRIGGER :
+ return ((InternalEList<?>) getTriggers()).basicRemove(otherEnd,
+ msgs);
+ }
+ return eDynamicInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case UMLPackage.ACCEPT_EVENT_ACTION__EANNOTATIONS :
+ return getEAnnotations();
+ case UMLPackage.ACCEPT_EVENT_ACTION__OWNED_COMMENT :
+ return getOwnedComments();
+ case UMLPackage.ACCEPT_EVENT_ACTION__OWNED_ELEMENT :
+ return getOwnedElements();
+ case UMLPackage.ACCEPT_EVENT_ACTION__OWNER :
+ if (resolve)
+ return getOwner();
+ return basicGetOwner();
+ case UMLPackage.ACCEPT_EVENT_ACTION__CLIENT_DEPENDENCY :
+ return getClientDependencies();
+ case UMLPackage.ACCEPT_EVENT_ACTION__NAME :
+ return getName();
+ case UMLPackage.ACCEPT_EVENT_ACTION__NAME_EXPRESSION :
+ if (resolve)
+ return getNameExpression();
+ return basicGetNameExpression();
+ case UMLPackage.ACCEPT_EVENT_ACTION__NAMESPACE :
+ if (resolve)
+ return getNamespace();
+ return basicGetNamespace();
+ case UMLPackage.ACCEPT_EVENT_ACTION__QUALIFIED_NAME :
+ return getQualifiedName();
+ case UMLPackage.ACCEPT_EVENT_ACTION__VISIBILITY :
+ return getVisibility();
+ case UMLPackage.ACCEPT_EVENT_ACTION__IS_LEAF :
+ return isLeaf();
+ case UMLPackage.ACCEPT_EVENT_ACTION__REDEFINED_ELEMENT :
+ return getRedefinedElements();
+ case UMLPackage.ACCEPT_EVENT_ACTION__REDEFINITION_CONTEXT :
+ return getRedefinitionContexts();
+ case UMLPackage.ACCEPT_EVENT_ACTION__ACTIVITY :
+ if (resolve)
+ return getActivity();
+ return basicGetActivity();
+ case UMLPackage.ACCEPT_EVENT_ACTION__IN_GROUP :
+ return getInGroups();
+ case UMLPackage.ACCEPT_EVENT_ACTION__IN_INTERRUPTIBLE_REGION :
+ return getInInterruptibleRegions();
+ case UMLPackage.ACCEPT_EVENT_ACTION__IN_STRUCTURED_NODE :
+ if (resolve)
+ return getInStructuredNode();
+ return basicGetInStructuredNode();
+ case UMLPackage.ACCEPT_EVENT_ACTION__INCOMING :
+ return getIncomings();
+ case UMLPackage.ACCEPT_EVENT_ACTION__OUTGOING :
+ return getOutgoings();
+ case UMLPackage.ACCEPT_EVENT_ACTION__REDEFINED_NODE :
+ return getRedefinedNodes();
+ case UMLPackage.ACCEPT_EVENT_ACTION__IN_PARTITION :
+ return getInPartitions();
+ case UMLPackage.ACCEPT_EVENT_ACTION__HANDLER :
+ return getHandlers();
+ case UMLPackage.ACCEPT_EVENT_ACTION__CONTEXT :
+ if (resolve)
+ return getContext();
+ return basicGetContext();
+ case UMLPackage.ACCEPT_EVENT_ACTION__INPUT :
+ return getInputs();
+ case UMLPackage.ACCEPT_EVENT_ACTION__IS_LOCALLY_REENTRANT :
+ return isLocallyReentrant();
+ case UMLPackage.ACCEPT_EVENT_ACTION__LOCAL_POSTCONDITION :
+ return getLocalPostconditions();
+ case UMLPackage.ACCEPT_EVENT_ACTION__LOCAL_PRECONDITION :
+ return getLocalPreconditions();
+ case UMLPackage.ACCEPT_EVENT_ACTION__OUTPUT :
+ return getOutputs();
+ case UMLPackage.ACCEPT_EVENT_ACTION__IS_UNMARSHALL :
+ return isUnmarshall();
+ case UMLPackage.ACCEPT_EVENT_ACTION__RESULT :
+ return getResults();
+ case UMLPackage.ACCEPT_EVENT_ACTION__TRIGGER :
+ return getTriggers();
+ }
+ return eDynamicGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case UMLPackage.ACCEPT_EVENT_ACTION__EANNOTATIONS :
+ getEAnnotations().clear();
+ getEAnnotations()
+ .addAll((Collection<? extends EAnnotation>) newValue);
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__OWNED_COMMENT :
+ getOwnedComments().clear();
+ getOwnedComments()
+ .addAll((Collection<? extends Comment>) newValue);
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__NAME :
+ setName((String) newValue);
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__NAME_EXPRESSION :
+ setNameExpression((StringExpression) newValue);
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__VISIBILITY :
+ setVisibility((VisibilityKind) newValue);
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__IS_LEAF :
+ setIsLeaf((Boolean) newValue);
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__ACTIVITY :
+ setActivity((Activity) newValue);
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__IN_INTERRUPTIBLE_REGION :
+ getInInterruptibleRegions().clear();
+ getInInterruptibleRegions().addAll(
+ (Collection<? extends InterruptibleActivityRegion>) newValue);
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__IN_STRUCTURED_NODE :
+ setInStructuredNode((StructuredActivityNode) newValue);
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__INCOMING :
+ getIncomings().clear();
+ getIncomings()
+ .addAll((Collection<? extends ActivityEdge>) newValue);
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__OUTGOING :
+ getOutgoings().clear();
+ getOutgoings()
+ .addAll((Collection<? extends ActivityEdge>) newValue);
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__REDEFINED_NODE :
+ getRedefinedNodes().clear();
+ getRedefinedNodes()
+ .addAll((Collection<? extends ActivityNode>) newValue);
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__IN_PARTITION :
+ getInPartitions().clear();
+ getInPartitions()
+ .addAll((Collection<? extends ActivityPartition>) newValue);
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__HANDLER :
+ getHandlers().clear();
+ getHandlers()
+ .addAll((Collection<? extends ExceptionHandler>) newValue);
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__IS_LOCALLY_REENTRANT :
+ setIsLocallyReentrant((Boolean) newValue);
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__LOCAL_POSTCONDITION :
+ getLocalPostconditions().clear();
+ getLocalPostconditions()
+ .addAll((Collection<? extends Constraint>) newValue);
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__LOCAL_PRECONDITION :
+ getLocalPreconditions().clear();
+ getLocalPreconditions()
+ .addAll((Collection<? extends Constraint>) newValue);
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__IS_UNMARSHALL :
+ setIsUnmarshall((Boolean) newValue);
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__RESULT :
+ getResults().clear();
+ getResults().addAll((Collection<? extends OutputPin>) newValue);
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__TRIGGER :
+ getTriggers().clear();
+ getTriggers().addAll((Collection<? extends Trigger>) newValue);
+ return;
+ }
+ eDynamicSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case UMLPackage.ACCEPT_EVENT_ACTION__EANNOTATIONS :
+ getEAnnotations().clear();
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__OWNED_COMMENT :
+ getOwnedComments().clear();
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__NAME :
+ unsetName();
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__NAME_EXPRESSION :
+ setNameExpression((StringExpression) null);
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__VISIBILITY :
+ unsetVisibility();
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__IS_LEAF :
+ setIsLeaf(IS_LEAF_EDEFAULT);
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__ACTIVITY :
+ setActivity((Activity) null);
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__IN_INTERRUPTIBLE_REGION :
+ getInInterruptibleRegions().clear();
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__IN_STRUCTURED_NODE :
+ setInStructuredNode((StructuredActivityNode) null);
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__INCOMING :
+ getIncomings().clear();
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__OUTGOING :
+ getOutgoings().clear();
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__REDEFINED_NODE :
+ getRedefinedNodes().clear();
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__IN_PARTITION :
+ getInPartitions().clear();
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__HANDLER :
+ getHandlers().clear();
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__IS_LOCALLY_REENTRANT :
+ setIsLocallyReentrant(IS_LOCALLY_REENTRANT_EDEFAULT);
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__LOCAL_POSTCONDITION :
+ getLocalPostconditions().clear();
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__LOCAL_PRECONDITION :
+ getLocalPreconditions().clear();
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__IS_UNMARSHALL :
+ setIsUnmarshall(IS_UNMARSHALL_EDEFAULT);
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__RESULT :
+ getResults().clear();
+ return;
+ case UMLPackage.ACCEPT_EVENT_ACTION__TRIGGER :
+ getTriggers().clear();
+ return;
+ }
+ eDynamicUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case UMLPackage.ACCEPT_EVENT_ACTION__EANNOTATIONS :
+ return !getEAnnotations().isEmpty();
+ case UMLPackage.ACCEPT_EVENT_ACTION__OWNED_COMMENT :
+ return !getOwnedComments().isEmpty();
+ case UMLPackage.ACCEPT_EVENT_ACTION__OWNED_ELEMENT :
+ return isSetOwnedElements();
+ case UMLPackage.ACCEPT_EVENT_ACTION__OWNER :
+ return isSetOwner();
+ case UMLPackage.ACCEPT_EVENT_ACTION__CLIENT_DEPENDENCY :
+ return !getClientDependencies().isEmpty();
+ case UMLPackage.ACCEPT_EVENT_ACTION__NAME :
+ return isSetName();
+ case UMLPackage.ACCEPT_EVENT_ACTION__NAME_EXPRESSION :
+ return basicGetNameExpression() != null;
+ case UMLPackage.ACCEPT_EVENT_ACTION__NAMESPACE :
+ return isSetNamespace();
+ case UMLPackage.ACCEPT_EVENT_ACTION__QUALIFIED_NAME :
+ return QUALIFIED_NAME_EDEFAULT == null
+ ? getQualifiedName() != null
+ : !QUALIFIED_NAME_EDEFAULT.equals(getQualifiedName());
+ case UMLPackage.ACCEPT_EVENT_ACTION__VISIBILITY :
+ return isSetVisibility();
+ case UMLPackage.ACCEPT_EVENT_ACTION__IS_LEAF :
+ return isLeaf() != IS_LEAF_EDEFAULT;
+ case UMLPackage.ACCEPT_EVENT_ACTION__REDEFINED_ELEMENT :
+ return isSetRedefinedElements();
+ case UMLPackage.ACCEPT_EVENT_ACTION__REDEFINITION_CONTEXT :
+ return isSetRedefinitionContexts();
+ case UMLPackage.ACCEPT_EVENT_ACTION__ACTIVITY :
+ return basicGetActivity() != null;
+ case UMLPackage.ACCEPT_EVENT_ACTION__IN_GROUP :
+ return isSetInGroups();
+ case UMLPackage.ACCEPT_EVENT_ACTION__IN_INTERRUPTIBLE_REGION :
+ return !getInInterruptibleRegions().isEmpty();
+ case UMLPackage.ACCEPT_EVENT_ACTION__IN_STRUCTURED_NODE :
+ return basicGetInStructuredNode() != null;
+ case UMLPackage.ACCEPT_EVENT_ACTION__INCOMING :
+ return !getIncomings().isEmpty();
+ case UMLPackage.ACCEPT_EVENT_ACTION__OUTGOING :
+ return !getOutgoings().isEmpty();
+ case UMLPackage.ACCEPT_EVENT_ACTION__REDEFINED_NODE :
+ return !getRedefinedNodes().isEmpty();
+ case UMLPackage.ACCEPT_EVENT_ACTION__IN_PARTITION :
+ return !getInPartitions().isEmpty();
+ case UMLPackage.ACCEPT_EVENT_ACTION__HANDLER :
+ return !getHandlers().isEmpty();
+ case UMLPackage.ACCEPT_EVENT_ACTION__CONTEXT :
+ return basicGetContext() != null;
+ case UMLPackage.ACCEPT_EVENT_ACTION__INPUT :
+ return isSetInputs();
+ case UMLPackage.ACCEPT_EVENT_ACTION__IS_LOCALLY_REENTRANT :
+ return isLocallyReentrant() != IS_LOCALLY_REENTRANT_EDEFAULT;
+ case UMLPackage.ACCEPT_EVENT_ACTION__LOCAL_POSTCONDITION :
+ return !getLocalPostconditions().isEmpty();
+ case UMLPackage.ACCEPT_EVENT_ACTION__LOCAL_PRECONDITION :
+ return !getLocalPreconditions().isEmpty();
+ case UMLPackage.ACCEPT_EVENT_ACTION__OUTPUT :
+ return isSetOutputs();
+ case UMLPackage.ACCEPT_EVENT_ACTION__IS_UNMARSHALL :
+ return isUnmarshall() != IS_UNMARSHALL_EDEFAULT;
+ case UMLPackage.ACCEPT_EVENT_ACTION__RESULT :
+ return !getResults().isEmpty();
+ case UMLPackage.ACCEPT_EVENT_ACTION__TRIGGER :
+ return !getTriggers().isEmpty();
+ }
+ return eDynamicIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ @SuppressWarnings("unchecked")
+ public Object eInvoke(int operationID, EList<?> arguments)
+ throws InvocationTargetException {
+ switch (operationID) {
+ case UMLPackage.ACCEPT_EVENT_ACTION___GET_EANNOTATION__STRING :
+ return getEAnnotation((String) arguments.get(0));
+ case UMLPackage.ACCEPT_EVENT_ACTION___VALIDATE_HAS_OWNER__DIAGNOSTICCHAIN_MAP :
+ return validateHasOwner((DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACCEPT_EVENT_ACTION___VALIDATE_NOT_OWN_SELF__DIAGNOSTICCHAIN_MAP :
+ return validateNotOwnSelf((DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACCEPT_EVENT_ACTION___ADD_KEYWORD__STRING :
+ return addKeyword((String) arguments.get(0));
+ case UMLPackage.ACCEPT_EVENT_ACTION___APPLY_STEREOTYPE__STEREOTYPE :
+ return applyStereotype((Stereotype) arguments.get(0));
+ case UMLPackage.ACCEPT_EVENT_ACTION___CREATE_EANNOTATION__STRING :
+ return createEAnnotation((String) arguments.get(0));
+ case UMLPackage.ACCEPT_EVENT_ACTION___DESTROY :
+ destroy();
+ return null;
+ case UMLPackage.ACCEPT_EVENT_ACTION___GET_KEYWORDS :
+ return getKeywords();
+ case UMLPackage.ACCEPT_EVENT_ACTION___GET_APPLICABLE_STEREOTYPE__STRING :
+ return getApplicableStereotype((String) arguments.get(0));
+ case UMLPackage.ACCEPT_EVENT_ACTION___GET_APPLICABLE_STEREOTYPES :
+ return getApplicableStereotypes();
+ case UMLPackage.ACCEPT_EVENT_ACTION___GET_APPLIED_STEREOTYPE__STRING :
+ return getAppliedStereotype((String) arguments.get(0));
+ case UMLPackage.ACCEPT_EVENT_ACTION___GET_APPLIED_STEREOTYPES :
+ return getAppliedStereotypes();
+ case UMLPackage.ACCEPT_EVENT_ACTION___GET_APPLIED_SUBSTEREOTYPE__STEREOTYPE_STRING :
+ return getAppliedSubstereotype((Stereotype) arguments.get(0),
+ (String) arguments.get(1));
+ case UMLPackage.ACCEPT_EVENT_ACTION___GET_APPLIED_SUBSTEREOTYPES__STEREOTYPE :
+ return getAppliedSubstereotypes((Stereotype) arguments.get(0));
+ case UMLPackage.ACCEPT_EVENT_ACTION___GET_MODEL :
+ return getModel();
+ case UMLPackage.ACCEPT_EVENT_ACTION___GET_NEAREST_PACKAGE :
+ return getNearestPackage();
+ case UMLPackage.ACCEPT_EVENT_ACTION___GET_RELATIONSHIPS :
+ return getRelationships();
+ case UMLPackage.ACCEPT_EVENT_ACTION___GET_RELATIONSHIPS__ECLASS :
+ return getRelationships((EClass) arguments.get(0));
+ case UMLPackage.ACCEPT_EVENT_ACTION___GET_REQUIRED_STEREOTYPE__STRING :
+ return getRequiredStereotype((String) arguments.get(0));
+ case UMLPackage.ACCEPT_EVENT_ACTION___GET_REQUIRED_STEREOTYPES :
+ return getRequiredStereotypes();
+ case UMLPackage.ACCEPT_EVENT_ACTION___GET_SOURCE_DIRECTED_RELATIONSHIPS :
+ return getSourceDirectedRelationships();
+ case UMLPackage.ACCEPT_EVENT_ACTION___GET_SOURCE_DIRECTED_RELATIONSHIPS__ECLASS :
+ return getSourceDirectedRelationships(
+ (EClass) arguments.get(0));
+ case UMLPackage.ACCEPT_EVENT_ACTION___GET_STEREOTYPE_APPLICATION__STEREOTYPE :
+ return getStereotypeApplication((Stereotype) arguments.get(0));
+ case UMLPackage.ACCEPT_EVENT_ACTION___GET_STEREOTYPE_APPLICATIONS :
+ return getStereotypeApplications();
+ case UMLPackage.ACCEPT_EVENT_ACTION___GET_TARGET_DIRECTED_RELATIONSHIPS :
+ return getTargetDirectedRelationships();
+ case UMLPackage.ACCEPT_EVENT_ACTION___GET_TARGET_DIRECTED_RELATIONSHIPS__ECLASS :
+ return getTargetDirectedRelationships(
+ (EClass) arguments.get(0));
+ case UMLPackage.ACCEPT_EVENT_ACTION___GET_VALUE__STEREOTYPE_STRING :
+ return getValue((Stereotype) arguments.get(0),
+ (String) arguments.get(1));
+ case UMLPackage.ACCEPT_EVENT_ACTION___HAS_KEYWORD__STRING :
+ return hasKeyword((String) arguments.get(0));
+ case UMLPackage.ACCEPT_EVENT_ACTION___HAS_VALUE__STEREOTYPE_STRING :
+ return hasValue((Stereotype) arguments.get(0),
+ (String) arguments.get(1));
+ case UMLPackage.ACCEPT_EVENT_ACTION___IS_STEREOTYPE_APPLICABLE__STEREOTYPE :
+ return isStereotypeApplicable((Stereotype) arguments.get(0));
+ case UMLPackage.ACCEPT_EVENT_ACTION___IS_STEREOTYPE_APPLIED__STEREOTYPE :
+ return isStereotypeApplied((Stereotype) arguments.get(0));
+ case UMLPackage.ACCEPT_EVENT_ACTION___IS_STEREOTYPE_REQUIRED__STEREOTYPE :
+ return isStereotypeRequired((Stereotype) arguments.get(0));
+ case UMLPackage.ACCEPT_EVENT_ACTION___REMOVE_KEYWORD__STRING :
+ return removeKeyword((String) arguments.get(0));
+ case UMLPackage.ACCEPT_EVENT_ACTION___SET_VALUE__STEREOTYPE_STRING_OBJECT :
+ setValue((Stereotype) arguments.get(0),
+ (String) arguments.get(1), arguments.get(2));
+ return null;
+ case UMLPackage.ACCEPT_EVENT_ACTION___UNAPPLY_STEREOTYPE__STEREOTYPE :
+ return unapplyStereotype((Stereotype) arguments.get(0));
+ case UMLPackage.ACCEPT_EVENT_ACTION___ALL_OWNED_ELEMENTS :
+ return allOwnedElements();
+ case UMLPackage.ACCEPT_EVENT_ACTION___MUST_BE_OWNED :
+ return mustBeOwned();
+ case UMLPackage.ACCEPT_EVENT_ACTION___VALIDATE_VISIBILITY_NEEDS_OWNERSHIP__DIAGNOSTICCHAIN_MAP :
+ return validateVisibilityNeedsOwnership(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACCEPT_EVENT_ACTION___VALIDATE_HAS_QUALIFIED_NAME__DIAGNOSTICCHAIN_MAP :
+ return validateHasQualifiedName(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACCEPT_EVENT_ACTION___VALIDATE_HAS_NO_QUALIFIED_NAME__DIAGNOSTICCHAIN_MAP :
+ return validateHasNoQualifiedName(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACCEPT_EVENT_ACTION___CREATE_DEPENDENCY__NAMEDELEMENT :
+ return createDependency((NamedElement) arguments.get(0));
+ case UMLPackage.ACCEPT_EVENT_ACTION___CREATE_USAGE__NAMEDELEMENT :
+ return createUsage((NamedElement) arguments.get(0));
+ case UMLPackage.ACCEPT_EVENT_ACTION___GET_LABEL :
+ return getLabel();
+ case UMLPackage.ACCEPT_EVENT_ACTION___GET_LABEL__BOOLEAN :
+ return getLabel((Boolean) arguments.get(0));
+ case UMLPackage.ACCEPT_EVENT_ACTION___GET_NAMESPACE :
+ return getNamespace();
+ case UMLPackage.ACCEPT_EVENT_ACTION___ALL_NAMESPACES :
+ return allNamespaces();
+ case UMLPackage.ACCEPT_EVENT_ACTION___ALL_OWNING_PACKAGES :
+ return allOwningPackages();
+ case UMLPackage.ACCEPT_EVENT_ACTION___IS_DISTINGUISHABLE_FROM__NAMEDELEMENT_NAMESPACE :
+ return isDistinguishableFrom((NamedElement) arguments.get(0),
+ (Namespace) arguments.get(1));
+ case UMLPackage.ACCEPT_EVENT_ACTION___GET_QUALIFIED_NAME :
+ return getQualifiedName();
+ case UMLPackage.ACCEPT_EVENT_ACTION___SEPARATOR :
+ return separator();
+ case UMLPackage.ACCEPT_EVENT_ACTION___GET_CLIENT_DEPENDENCIES :
+ return getClientDependencies();
+ case UMLPackage.ACCEPT_EVENT_ACTION___VALIDATE_REDEFINITION_CONSISTENT__DIAGNOSTICCHAIN_MAP :
+ return validateRedefinitionConsistent(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACCEPT_EVENT_ACTION___VALIDATE_NON_LEAF_REDEFINITION__DIAGNOSTICCHAIN_MAP :
+ return validateNonLeafRedefinition(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACCEPT_EVENT_ACTION___VALIDATE_REDEFINITION_CONTEXT_VALID__DIAGNOSTICCHAIN_MAP :
+ return validateRedefinitionContextValid(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACCEPT_EVENT_ACTION___IS_CONSISTENT_WITH__REDEFINABLEELEMENT :
+ return isConsistentWith((RedefinableElement) arguments.get(0));
+ case UMLPackage.ACCEPT_EVENT_ACTION___IS_REDEFINITION_CONTEXT_VALID__REDEFINABLEELEMENT :
+ return isRedefinitionContextValid(
+ (RedefinableElement) arguments.get(0));
+ case UMLPackage.ACCEPT_EVENT_ACTION___CONTAINING_ACTIVITY :
+ return containingActivity();
+ case UMLPackage.ACCEPT_EVENT_ACTION___GET_CONTEXT :
+ return getContext();
+ case UMLPackage.ACCEPT_EVENT_ACTION___ALL_ACTIONS :
+ return allActions();
+ case UMLPackage.ACCEPT_EVENT_ACTION___ALL_OWNED_NODES :
+ return allOwnedNodes();
+ case UMLPackage.ACCEPT_EVENT_ACTION___CONTAINING_BEHAVIOR :
+ return containingBehavior();
+ case UMLPackage.ACCEPT_EVENT_ACTION___VALIDATE_ONE_OUTPUT_PIN__DIAGNOSTICCHAIN_MAP :
+ return validateOneOutputPin((DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACCEPT_EVENT_ACTION___VALIDATE_NO_INPUT_PINS__DIAGNOSTICCHAIN_MAP :
+ return validateNoInputPins((DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACCEPT_EVENT_ACTION___VALIDATE_NO_OUTPUT_PINS__DIAGNOSTICCHAIN_MAP :
+ return validateNoOutputPins((DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACCEPT_EVENT_ACTION___VALIDATE_UNMARSHALL_SIGNAL_EVENTS__DIAGNOSTICCHAIN_MAP :
+ return validateUnmarshallSignalEvents(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACCEPT_EVENT_ACTION___VALIDATE_CONFORMING_TYPE__DIAGNOSTICCHAIN_MAP :
+ return validateConformingType(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ }
+ return eDynamicInvoke(operationID, arguments);
+ }
+
+ /**
+ * The array of subset feature identifiers for the '{@link #getOutputs() <em>Output</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOutputs()
+ * @generated
+ * @ordered
+ */
+ protected static final int[] OUTPUT_ESUBSETS = new int[]{
+ UMLPackage.ACCEPT_EVENT_ACTION__RESULT};
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EList<Element> getOwnedElements() {
+ CacheAdapter cache = getCacheAdapter();
+ if (cache != null) {
+ Resource eResource = eResource();
+ @SuppressWarnings("unchecked")
+ EList<Element> ownedElements = (EList<Element>) cache.get(eResource,
+ this, UMLPackage.Literals.ELEMENT__OWNED_ELEMENT);
+ if (ownedElements == null) {
+ cache.put(eResource, this,
+ UMLPackage.Literals.ELEMENT__OWNED_ELEMENT,
+ ownedElements = new DerivedUnionEObjectEList<Element>(
+ Element.class, this,
+ UMLPackage.ACCEPT_EVENT_ACTION__OWNED_ELEMENT,
+ OWNED_ELEMENT_ESUBSETS));
+ }
+ return ownedElements;
+ }
+ return new DerivedUnionEObjectEList<Element>(Element.class, this,
+ UMLPackage.ACCEPT_EVENT_ACTION__OWNED_ELEMENT,
+ OWNED_ELEMENT_ESUBSETS);
+ }
+
+ /**
+ * The array of subset feature identifiers for the '{@link #getOwnedElements() <em>Owned Element</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOwnedElements()
+ * @generated
+ * @ordered
+ */
+ protected static final int[] OWNED_ELEMENT_ESUBSETS = new int[]{
+ UMLPackage.ACCEPT_EVENT_ACTION__OWNED_COMMENT,
+ UMLPackage.ACCEPT_EVENT_ACTION__NAME_EXPRESSION,
+ UMLPackage.ACCEPT_EVENT_ACTION__HANDLER,
+ UMLPackage.ACCEPT_EVENT_ACTION__INPUT,
+ UMLPackage.ACCEPT_EVENT_ACTION__LOCAL_POSTCONDITION,
+ UMLPackage.ACCEPT_EVENT_ACTION__LOCAL_PRECONDITION,
+ UMLPackage.ACCEPT_EVENT_ACTION__OUTPUT,
+ UMLPackage.ACCEPT_EVENT_ACTION__TRIGGER};
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean isSetOutputs() {
+ return super.isSetOutputs()
+ || eIsSet(UMLPackage.ACCEPT_EVENT_ACTION__RESULT);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean isSetOwnedElements() {
+ return super.isSetOwnedElements()
+ || eIsSet(UMLPackage.ACCEPT_EVENT_ACTION__TRIGGER);
+ }
+
+} //AcceptEventActionImpl
diff --git a/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ActionExecutionSpecificationImpl.java b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ActionExecutionSpecificationImpl.java
new file mode 100644
index 0000000..efffc05
--- /dev/null
+++ b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ActionExecutionSpecificationImpl.java
@@ -0,0 +1,482 @@
+/*
+ * Copyright (c) 2005, 2016 IBM Corporation, CEA, 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:
+ * IBM - initial API and implementation
+ * Kenn Hussey - 286329, 323181
+ * Kenn Hussey (CEA) - 327039, 351774, 418466, 451350, 485756
+ *
+ */
+package org.eclipse.uml2.uml.cdo.internal.impl;
+
+import java.lang.reflect.InvocationTargetException;
+import java.util.Collection;
+import java.util.Map;
+
+import org.eclipse.emf.common.util.DiagnosticChain;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.ecore.EAnnotation;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.uml2.uml.Action;
+import org.eclipse.uml2.uml.ActionExecutionSpecification;
+import org.eclipse.uml2.uml.Comment;
+import org.eclipse.uml2.uml.GeneralOrdering;
+import org.eclipse.uml2.uml.Interaction;
+import org.eclipse.uml2.uml.InteractionOperand;
+import org.eclipse.uml2.uml.Lifeline;
+import org.eclipse.uml2.uml.NamedElement;
+import org.eclipse.uml2.uml.Namespace;
+import org.eclipse.uml2.uml.OccurrenceSpecification;
+import org.eclipse.uml2.uml.Stereotype;
+import org.eclipse.uml2.uml.StringExpression;
+import org.eclipse.uml2.uml.UMLPackage;
+import org.eclipse.uml2.uml.VisibilityKind;
+
+import org.eclipse.uml2.uml.internal.operations.ActionExecutionSpecificationOperations;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Action Execution Specification</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * </p>
+ * <ul>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActionExecutionSpecificationImpl#getAction <em>Action</em>}</li>
+ * </ul>
+ *
+ * @generated
+ */
+public class ActionExecutionSpecificationImpl
+ extends ExecutionSpecificationImpl
+ implements ActionExecutionSpecification {
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ActionExecutionSpecificationImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return UMLPackage.Literals.ACTION_EXECUTION_SPECIFICATION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Action getAction() {
+ return (Action) eDynamicGet(
+ UMLPackage.ACTION_EXECUTION_SPECIFICATION__ACTION
+ - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTION_EXECUTION_SPECIFICATION__ACTION, true,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Action basicGetAction() {
+ return (Action) eDynamicGet(
+ UMLPackage.ACTION_EXECUTION_SPECIFICATION__ACTION
+ - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTION_EXECUTION_SPECIFICATION__ACTION, false,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAction(Action newAction) {
+ eDynamicSet(
+ UMLPackage.ACTION_EXECUTION_SPECIFICATION__ACTION
+ - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTION_EXECUTION_SPECIFICATION__ACTION,
+ newAction);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateActionReferenced(DiagnosticChain diagnostics,
+ Map<Object, Object> context) {
+ return ActionExecutionSpecificationOperations
+ .validateActionReferenced(this, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__EANNOTATIONS :
+ return getEAnnotations();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__OWNED_COMMENT :
+ return getOwnedComments();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__OWNED_ELEMENT :
+ return getOwnedElements();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__OWNER :
+ if (resolve)
+ return getOwner();
+ return basicGetOwner();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__CLIENT_DEPENDENCY :
+ return getClientDependencies();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__NAME :
+ return getName();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__NAME_EXPRESSION :
+ if (resolve)
+ return getNameExpression();
+ return basicGetNameExpression();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__NAMESPACE :
+ if (resolve)
+ return getNamespace();
+ return basicGetNamespace();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__QUALIFIED_NAME :
+ return getQualifiedName();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__VISIBILITY :
+ return getVisibility();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__COVERED :
+ return getCovereds();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__ENCLOSING_OPERAND :
+ if (resolve)
+ return getEnclosingOperand();
+ return basicGetEnclosingOperand();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__ENCLOSING_INTERACTION :
+ if (resolve)
+ return getEnclosingInteraction();
+ return basicGetEnclosingInteraction();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__GENERAL_ORDERING :
+ return getGeneralOrderings();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__FINISH :
+ if (resolve)
+ return getFinish();
+ return basicGetFinish();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__START :
+ if (resolve)
+ return getStart();
+ return basicGetStart();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__ACTION :
+ if (resolve)
+ return getAction();
+ return basicGetAction();
+ }
+ return eDynamicGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__EANNOTATIONS :
+ getEAnnotations().clear();
+ getEAnnotations()
+ .addAll((Collection<? extends EAnnotation>) newValue);
+ return;
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__OWNED_COMMENT :
+ getOwnedComments().clear();
+ getOwnedComments()
+ .addAll((Collection<? extends Comment>) newValue);
+ return;
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__NAME :
+ setName((String) newValue);
+ return;
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__NAME_EXPRESSION :
+ setNameExpression((StringExpression) newValue);
+ return;
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__VISIBILITY :
+ setVisibility((VisibilityKind) newValue);
+ return;
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__COVERED :
+ getCovereds().clear();
+ getCovereds().addAll((Collection<? extends Lifeline>) newValue);
+ return;
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__ENCLOSING_OPERAND :
+ setEnclosingOperand((InteractionOperand) newValue);
+ return;
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__ENCLOSING_INTERACTION :
+ setEnclosingInteraction((Interaction) newValue);
+ return;
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__GENERAL_ORDERING :
+ getGeneralOrderings().clear();
+ getGeneralOrderings()
+ .addAll((Collection<? extends GeneralOrdering>) newValue);
+ return;
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__FINISH :
+ setFinish((OccurrenceSpecification) newValue);
+ return;
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__START :
+ setStart((OccurrenceSpecification) newValue);
+ return;
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__ACTION :
+ setAction((Action) newValue);
+ return;
+ }
+ eDynamicSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__EANNOTATIONS :
+ getEAnnotations().clear();
+ return;
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__OWNED_COMMENT :
+ getOwnedComments().clear();
+ return;
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__NAME :
+ unsetName();
+ return;
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__NAME_EXPRESSION :
+ setNameExpression((StringExpression) null);
+ return;
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__VISIBILITY :
+ unsetVisibility();
+ return;
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__COVERED :
+ getCovereds().clear();
+ return;
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__ENCLOSING_OPERAND :
+ setEnclosingOperand((InteractionOperand) null);
+ return;
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__ENCLOSING_INTERACTION :
+ setEnclosingInteraction((Interaction) null);
+ return;
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__GENERAL_ORDERING :
+ getGeneralOrderings().clear();
+ return;
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__FINISH :
+ setFinish((OccurrenceSpecification) null);
+ return;
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__START :
+ setStart((OccurrenceSpecification) null);
+ return;
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__ACTION :
+ setAction((Action) null);
+ return;
+ }
+ eDynamicUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__EANNOTATIONS :
+ return !getEAnnotations().isEmpty();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__OWNED_COMMENT :
+ return !getOwnedComments().isEmpty();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__OWNED_ELEMENT :
+ return isSetOwnedElements();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__OWNER :
+ return isSetOwner();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__CLIENT_DEPENDENCY :
+ return !getClientDependencies().isEmpty();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__NAME :
+ return isSetName();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__NAME_EXPRESSION :
+ return basicGetNameExpression() != null;
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__NAMESPACE :
+ return isSetNamespace();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__QUALIFIED_NAME :
+ return QUALIFIED_NAME_EDEFAULT == null
+ ? getQualifiedName() != null
+ : !QUALIFIED_NAME_EDEFAULT.equals(getQualifiedName());
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__VISIBILITY :
+ return isSetVisibility();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__COVERED :
+ return !getCovereds().isEmpty();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__ENCLOSING_OPERAND :
+ return basicGetEnclosingOperand() != null;
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__ENCLOSING_INTERACTION :
+ return basicGetEnclosingInteraction() != null;
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__GENERAL_ORDERING :
+ return !getGeneralOrderings().isEmpty();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__FINISH :
+ return basicGetFinish() != null;
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__START :
+ return basicGetStart() != null;
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION__ACTION :
+ return basicGetAction() != null;
+ }
+ return eDynamicIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ @SuppressWarnings("unchecked")
+ public Object eInvoke(int operationID, EList<?> arguments)
+ throws InvocationTargetException {
+ switch (operationID) {
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___GET_EANNOTATION__STRING :
+ return getEAnnotation((String) arguments.get(0));
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___VALIDATE_HAS_OWNER__DIAGNOSTICCHAIN_MAP :
+ return validateHasOwner((DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___VALIDATE_NOT_OWN_SELF__DIAGNOSTICCHAIN_MAP :
+ return validateNotOwnSelf((DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___ADD_KEYWORD__STRING :
+ return addKeyword((String) arguments.get(0));
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___APPLY_STEREOTYPE__STEREOTYPE :
+ return applyStereotype((Stereotype) arguments.get(0));
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___CREATE_EANNOTATION__STRING :
+ return createEAnnotation((String) arguments.get(0));
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___DESTROY :
+ destroy();
+ return null;
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___GET_KEYWORDS :
+ return getKeywords();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___GET_APPLICABLE_STEREOTYPE__STRING :
+ return getApplicableStereotype((String) arguments.get(0));
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___GET_APPLICABLE_STEREOTYPES :
+ return getApplicableStereotypes();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___GET_APPLIED_STEREOTYPE__STRING :
+ return getAppliedStereotype((String) arguments.get(0));
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___GET_APPLIED_STEREOTYPES :
+ return getAppliedStereotypes();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___GET_APPLIED_SUBSTEREOTYPE__STEREOTYPE_STRING :
+ return getAppliedSubstereotype((Stereotype) arguments.get(0),
+ (String) arguments.get(1));
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___GET_APPLIED_SUBSTEREOTYPES__STEREOTYPE :
+ return getAppliedSubstereotypes((Stereotype) arguments.get(0));
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___GET_MODEL :
+ return getModel();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___GET_NEAREST_PACKAGE :
+ return getNearestPackage();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___GET_RELATIONSHIPS :
+ return getRelationships();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___GET_RELATIONSHIPS__ECLASS :
+ return getRelationships((EClass) arguments.get(0));
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___GET_REQUIRED_STEREOTYPE__STRING :
+ return getRequiredStereotype((String) arguments.get(0));
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___GET_REQUIRED_STEREOTYPES :
+ return getRequiredStereotypes();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___GET_SOURCE_DIRECTED_RELATIONSHIPS :
+ return getSourceDirectedRelationships();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___GET_SOURCE_DIRECTED_RELATIONSHIPS__ECLASS :
+ return getSourceDirectedRelationships(
+ (EClass) arguments.get(0));
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___GET_STEREOTYPE_APPLICATION__STEREOTYPE :
+ return getStereotypeApplication((Stereotype) arguments.get(0));
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___GET_STEREOTYPE_APPLICATIONS :
+ return getStereotypeApplications();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___GET_TARGET_DIRECTED_RELATIONSHIPS :
+ return getTargetDirectedRelationships();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___GET_TARGET_DIRECTED_RELATIONSHIPS__ECLASS :
+ return getTargetDirectedRelationships(
+ (EClass) arguments.get(0));
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___GET_VALUE__STEREOTYPE_STRING :
+ return getValue((Stereotype) arguments.get(0),
+ (String) arguments.get(1));
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___HAS_KEYWORD__STRING :
+ return hasKeyword((String) arguments.get(0));
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___HAS_VALUE__STEREOTYPE_STRING :
+ return hasValue((Stereotype) arguments.get(0),
+ (String) arguments.get(1));
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___IS_STEREOTYPE_APPLICABLE__STEREOTYPE :
+ return isStereotypeApplicable((Stereotype) arguments.get(0));
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___IS_STEREOTYPE_APPLIED__STEREOTYPE :
+ return isStereotypeApplied((Stereotype) arguments.get(0));
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___IS_STEREOTYPE_REQUIRED__STEREOTYPE :
+ return isStereotypeRequired((Stereotype) arguments.get(0));
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___REMOVE_KEYWORD__STRING :
+ return removeKeyword((String) arguments.get(0));
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___SET_VALUE__STEREOTYPE_STRING_OBJECT :
+ setValue((Stereotype) arguments.get(0),
+ (String) arguments.get(1), arguments.get(2));
+ return null;
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___UNAPPLY_STEREOTYPE__STEREOTYPE :
+ return unapplyStereotype((Stereotype) arguments.get(0));
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___ALL_OWNED_ELEMENTS :
+ return allOwnedElements();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___MUST_BE_OWNED :
+ return mustBeOwned();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___VALIDATE_VISIBILITY_NEEDS_OWNERSHIP__DIAGNOSTICCHAIN_MAP :
+ return validateVisibilityNeedsOwnership(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___VALIDATE_HAS_QUALIFIED_NAME__DIAGNOSTICCHAIN_MAP :
+ return validateHasQualifiedName(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___VALIDATE_HAS_NO_QUALIFIED_NAME__DIAGNOSTICCHAIN_MAP :
+ return validateHasNoQualifiedName(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___CREATE_DEPENDENCY__NAMEDELEMENT :
+ return createDependency((NamedElement) arguments.get(0));
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___CREATE_USAGE__NAMEDELEMENT :
+ return createUsage((NamedElement) arguments.get(0));
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___GET_LABEL :
+ return getLabel();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___GET_LABEL__BOOLEAN :
+ return getLabel((Boolean) arguments.get(0));
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___GET_NAMESPACE :
+ return getNamespace();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___ALL_NAMESPACES :
+ return allNamespaces();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___ALL_OWNING_PACKAGES :
+ return allOwningPackages();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___IS_DISTINGUISHABLE_FROM__NAMEDELEMENT_NAMESPACE :
+ return isDistinguishableFrom((NamedElement) arguments.get(0),
+ (Namespace) arguments.get(1));
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___GET_QUALIFIED_NAME :
+ return getQualifiedName();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___SEPARATOR :
+ return separator();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___GET_CLIENT_DEPENDENCIES :
+ return getClientDependencies();
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___VALIDATE_SAME_LIFELINE__DIAGNOSTICCHAIN_MAP :
+ return validateSameLifeline((DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTION_EXECUTION_SPECIFICATION___VALIDATE_ACTION_REFERENCED__DIAGNOSTICCHAIN_MAP :
+ return validateActionReferenced(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ }
+ return eDynamicInvoke(operationID, arguments);
+ }
+
+} //ActionExecutionSpecificationImpl
diff --git a/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ActionImpl.java b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ActionImpl.java
new file mode 100644
index 0000000..d2c25bb
--- /dev/null
+++ b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ActionImpl.java
@@ -0,0 +1,1010 @@
+/*
+ * Copyright (c) 2005, 2017 IBM Corporation, CEA, 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:
+ * IBM - initial API and implementation
+ * Kenn Hussey (CEA) - 327039, 351774, 418466, 451350, 485756
+ * Kenn Hussey - 519572
+ *
+ */
+package org.eclipse.uml2.uml.cdo.internal.impl;
+
+import java.lang.reflect.InvocationTargetException;
+import java.util.Collection;
+import java.util.Map;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.DiagnosticChain;
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EAnnotation;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.eclipse.uml2.common.util.CacheAdapter;
+import org.eclipse.uml2.common.util.DerivedUnionEObjectEList;
+
+import org.eclipse.uml2.uml.Action;
+import org.eclipse.uml2.uml.Activity;
+import org.eclipse.uml2.uml.ActivityEdge;
+import org.eclipse.uml2.uml.ActivityNode;
+import org.eclipse.uml2.uml.ActivityPartition;
+import org.eclipse.uml2.uml.Behavior;
+import org.eclipse.uml2.uml.Classifier;
+import org.eclipse.uml2.uml.Comment;
+import org.eclipse.uml2.uml.Constraint;
+import org.eclipse.uml2.uml.Element;
+import org.eclipse.uml2.uml.ExceptionHandler;
+import org.eclipse.uml2.uml.InputPin;
+import org.eclipse.uml2.uml.InterruptibleActivityRegion;
+import org.eclipse.uml2.uml.NamedElement;
+import org.eclipse.uml2.uml.Namespace;
+import org.eclipse.uml2.uml.OutputPin;
+import org.eclipse.uml2.uml.RedefinableElement;
+import org.eclipse.uml2.uml.Stereotype;
+import org.eclipse.uml2.uml.StringExpression;
+import org.eclipse.uml2.uml.StructuredActivityNode;
+import org.eclipse.uml2.uml.Type;
+import org.eclipse.uml2.uml.UMLPackage;
+import org.eclipse.uml2.uml.VisibilityKind;
+import org.eclipse.uml2.uml.internal.operations.ActionOperations;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Action</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * </p>
+ * <ul>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActionImpl#getInputs <em>Input</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActionImpl#getOwnedElements <em>Owned Element</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActionImpl#getOutputs <em>Output</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActionImpl#getContext <em>Context</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActionImpl#isLocallyReentrant <em>Is Locally Reentrant</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActionImpl#getLocalPostconditions <em>Local Postcondition</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActionImpl#getLocalPreconditions <em>Local Precondition</em>}</li>
+ * </ul>
+ *
+ * @generated
+ */
+public abstract class ActionImpl
+ extends ExecutableNodeImpl
+ implements Action {
+
+ /**
+ * The default value of the '{@link #isLocallyReentrant() <em>Is Locally Reentrant</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isLocallyReentrant()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean IS_LOCALLY_REENTRANT_EDEFAULT = false;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ActionImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return UMLPackage.Literals.ACTION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<OutputPin> getOutputs() {
+ CacheAdapter cache = getCacheAdapter();
+ if (cache != null) {
+ Resource eResource = eResource();
+ @SuppressWarnings("unchecked")
+ EList<OutputPin> outputs = (EList<OutputPin>) cache.get(eResource,
+ this, UMLPackage.Literals.ACTION__OUTPUT);
+ if (outputs == null) {
+ cache.put(eResource, this, UMLPackage.Literals.ACTION__OUTPUT,
+ outputs = new DerivedUnionEObjectEList<OutputPin>(
+ OutputPin.class, this, UMLPackage.ACTION__OUTPUT,
+ null));
+ }
+ return outputs;
+ }
+ return new DerivedUnionEObjectEList<OutputPin>(OutputPin.class, this,
+ UMLPackage.ACTION__OUTPUT, null);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OutputPin getOutput(String name, Type type) {
+ return getOutput(name, type, false);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OutputPin getOutput(String name, Type type, boolean ignoreCase) {
+ outputLoop : for (OutputPin output : getOutputs()) {
+ if (name != null && !(ignoreCase
+ ? name.equalsIgnoreCase(output.getName())
+ : name.equals(output.getName())))
+ continue outputLoop;
+ if (type != null && !type.equals(output.getType()))
+ continue outputLoop;
+ return output;
+ }
+ return null;
+ }
+
+ /**
+ * The array of subset feature identifiers for the '{@link #getOwnedElements() <em>Owned Element</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOwnedElements()
+ * @generated
+ * @ordered
+ */
+ protected static final int[] OWNED_ELEMENT_ESUBSETS = new int[]{
+ UMLPackage.ACTION__OWNED_COMMENT, UMLPackage.ACTION__NAME_EXPRESSION,
+ UMLPackage.ACTION__HANDLER, UMLPackage.ACTION__INPUT,
+ UMLPackage.ACTION__LOCAL_POSTCONDITION,
+ UMLPackage.ACTION__LOCAL_PRECONDITION, UMLPackage.ACTION__OUTPUT};
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EList<Element> getOwnedElements() {
+ CacheAdapter cache = getCacheAdapter();
+ if (cache != null) {
+ Resource eResource = eResource();
+ @SuppressWarnings("unchecked")
+ EList<Element> ownedElements = (EList<Element>) cache.get(eResource,
+ this, UMLPackage.Literals.ELEMENT__OWNED_ELEMENT);
+ if (ownedElements == null) {
+ cache.put(eResource, this,
+ UMLPackage.Literals.ELEMENT__OWNED_ELEMENT,
+ ownedElements = new DerivedUnionEObjectEList<Element>(
+ Element.class, this, UMLPackage.ACTION__OWNED_ELEMENT,
+ OWNED_ELEMENT_ESUBSETS));
+ }
+ return ownedElements;
+ }
+ return new DerivedUnionEObjectEList<Element>(Element.class, this,
+ UMLPackage.ACTION__OWNED_ELEMENT, OWNED_ELEMENT_ESUBSETS);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<InputPin> getInputs() {
+ CacheAdapter cache = getCacheAdapter();
+ if (cache != null) {
+ Resource eResource = eResource();
+ @SuppressWarnings("unchecked")
+ EList<InputPin> inputs = (EList<InputPin>) cache.get(eResource,
+ this, UMLPackage.Literals.ACTION__INPUT);
+ if (inputs == null) {
+ cache
+ .put(eResource, this, UMLPackage.Literals.ACTION__INPUT,
+ inputs = new DerivedUnionEObjectEList<InputPin>(
+ InputPin.class, this, UMLPackage.ACTION__INPUT,
+ null));
+ }
+ return inputs;
+ }
+ return new DerivedUnionEObjectEList<InputPin>(InputPin.class, this,
+ UMLPackage.ACTION__INPUT, null);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public InputPin getInput(String name, Type type) {
+ return getInput(name, type, false, null);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public InputPin getInput(String name, Type type, boolean ignoreCase,
+ EClass eClass) {
+ inputLoop : for (InputPin input : getInputs()) {
+ if (eClass != null && !eClass.isInstance(input))
+ continue inputLoop;
+ if (name != null && !(ignoreCase
+ ? name.equalsIgnoreCase(input.getName())
+ : name.equals(input.getName())))
+ continue inputLoop;
+ if (type != null && !type.equals(input.getType()))
+ continue inputLoop;
+ return input;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Classifier getContext() {
+ Classifier context = basicGetContext();
+ return context != null && context.eIsProxy()
+ ? (Classifier) eResolveProxy((InternalEObject) context)
+ : context;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated NOT
+ */
+ public Classifier basicGetContext() {
+ return ActionOperations.getContext(this);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isLocallyReentrant() {
+ return (Boolean) eDynamicGet(
+ UMLPackage.ACTION__IS_LOCALLY_REENTRANT - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTION__IS_LOCALLY_REENTRANT, true, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIsLocallyReentrant(boolean newIsLocallyReentrant) {
+ eDynamicSet(
+ UMLPackage.ACTION__IS_LOCALLY_REENTRANT - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTION__IS_LOCALLY_REENTRANT,
+ newIsLocallyReentrant);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ public EList<Constraint> getLocalPreconditions() {
+ return (EList<Constraint>) eDynamicGet(
+ UMLPackage.ACTION__LOCAL_PRECONDITION - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTION__LOCAL_PRECONDITION, true, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Constraint createLocalPrecondition(String name, EClass eClass) {
+ Constraint newLocalPrecondition = (Constraint) create(eClass);
+ getLocalPreconditions().add(newLocalPrecondition);
+ if (name != null)
+ newLocalPrecondition.setName(name);
+ return newLocalPrecondition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Constraint createLocalPrecondition(String name) {
+ return createLocalPrecondition(name, UMLPackage.Literals.CONSTRAINT);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Constraint getLocalPrecondition(String name) {
+ return getLocalPrecondition(name, false, null, false);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Constraint getLocalPrecondition(String name, boolean ignoreCase,
+ EClass eClass, boolean createOnDemand) {
+ localPreconditionLoop : for (Constraint localPrecondition : getLocalPreconditions()) {
+ if (eClass != null && !eClass.isInstance(localPrecondition))
+ continue localPreconditionLoop;
+ if (name != null && !(ignoreCase
+ ? name.equalsIgnoreCase(localPrecondition.getName())
+ : name.equals(localPrecondition.getName())))
+ continue localPreconditionLoop;
+ return localPrecondition;
+ }
+ return createOnDemand && eClass != null
+ ? createLocalPrecondition(name, eClass)
+ : null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<Action> allActions() {
+ CacheAdapter cache = getCacheAdapter();
+ if (cache != null) {
+ @SuppressWarnings("unchecked")
+ EList<Action> result = (EList<Action>) cache.get(this,
+ UMLPackage.Literals.ACTION___ALL_ACTIONS);
+ if (result == null) {
+ cache.put(this, UMLPackage.Literals.ACTION___ALL_ACTIONS,
+ result = ActionOperations.allActions(this));
+ }
+ return result;
+ }
+ return ActionOperations.allActions(this);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<ActivityNode> allOwnedNodes() {
+ CacheAdapter cache = getCacheAdapter();
+ if (cache != null) {
+ @SuppressWarnings("unchecked")
+ EList<ActivityNode> result = (EList<ActivityNode>) cache.get(this,
+ UMLPackage.Literals.ACTION___ALL_OWNED_NODES);
+ if (result == null) {
+ cache.put(this, UMLPackage.Literals.ACTION___ALL_OWNED_NODES,
+ result = ActionOperations.allOwnedNodes(this));
+ }
+ return result;
+ }
+ return ActionOperations.allOwnedNodes(this);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Behavior containingBehavior() {
+ return ActionOperations.containingBehavior(this);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ public EList<Constraint> getLocalPostconditions() {
+ return (EList<Constraint>) eDynamicGet(
+ UMLPackage.ACTION__LOCAL_POSTCONDITION - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTION__LOCAL_POSTCONDITION, true, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Constraint createLocalPostcondition(String name, EClass eClass) {
+ Constraint newLocalPostcondition = (Constraint) create(eClass);
+ getLocalPostconditions().add(newLocalPostcondition);
+ if (name != null)
+ newLocalPostcondition.setName(name);
+ return newLocalPostcondition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Constraint createLocalPostcondition(String name) {
+ return createLocalPostcondition(name, UMLPackage.Literals.CONSTRAINT);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Constraint getLocalPostcondition(String name) {
+ return getLocalPostcondition(name, false, null, false);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Constraint getLocalPostcondition(String name, boolean ignoreCase,
+ EClass eClass, boolean createOnDemand) {
+ localPostconditionLoop : for (Constraint localPostcondition : getLocalPostconditions()) {
+ if (eClass != null && !eClass.isInstance(localPostcondition))
+ continue localPostconditionLoop;
+ if (name != null && !(ignoreCase
+ ? name.equalsIgnoreCase(localPostcondition.getName())
+ : name.equals(localPostcondition.getName())))
+ continue localPostconditionLoop;
+ return localPostcondition;
+ }
+ return createOnDemand && eClass != null
+ ? createLocalPostcondition(name, eClass)
+ : null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case UMLPackage.ACTION__EANNOTATIONS :
+ return ((InternalEList<?>) getEAnnotations())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACTION__OWNED_COMMENT :
+ return ((InternalEList<?>) getOwnedComments())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACTION__NAME_EXPRESSION :
+ return basicSetNameExpression(null, msgs);
+ case UMLPackage.ACTION__IN_INTERRUPTIBLE_REGION :
+ return ((InternalEList<?>) getInInterruptibleRegions())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACTION__IN_STRUCTURED_NODE :
+ return basicSetInStructuredNode(null, msgs);
+ case UMLPackage.ACTION__INCOMING :
+ return ((InternalEList<?>) getIncomings()).basicRemove(otherEnd,
+ msgs);
+ case UMLPackage.ACTION__OUTGOING :
+ return ((InternalEList<?>) getOutgoings()).basicRemove(otherEnd,
+ msgs);
+ case UMLPackage.ACTION__IN_PARTITION :
+ return ((InternalEList<?>) getInPartitions())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACTION__HANDLER :
+ return ((InternalEList<?>) getHandlers()).basicRemove(otherEnd,
+ msgs);
+ case UMLPackage.ACTION__LOCAL_POSTCONDITION :
+ return ((InternalEList<?>) getLocalPostconditions())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACTION__LOCAL_PRECONDITION :
+ return ((InternalEList<?>) getLocalPreconditions())
+ .basicRemove(otherEnd, msgs);
+ }
+ return eDynamicInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case UMLPackage.ACTION__EANNOTATIONS :
+ return getEAnnotations();
+ case UMLPackage.ACTION__OWNED_COMMENT :
+ return getOwnedComments();
+ case UMLPackage.ACTION__OWNED_ELEMENT :
+ return getOwnedElements();
+ case UMLPackage.ACTION__OWNER :
+ if (resolve)
+ return getOwner();
+ return basicGetOwner();
+ case UMLPackage.ACTION__CLIENT_DEPENDENCY :
+ return getClientDependencies();
+ case UMLPackage.ACTION__NAME :
+ return getName();
+ case UMLPackage.ACTION__NAME_EXPRESSION :
+ if (resolve)
+ return getNameExpression();
+ return basicGetNameExpression();
+ case UMLPackage.ACTION__NAMESPACE :
+ if (resolve)
+ return getNamespace();
+ return basicGetNamespace();
+ case UMLPackage.ACTION__QUALIFIED_NAME :
+ return getQualifiedName();
+ case UMLPackage.ACTION__VISIBILITY :
+ return getVisibility();
+ case UMLPackage.ACTION__IS_LEAF :
+ return isLeaf();
+ case UMLPackage.ACTION__REDEFINED_ELEMENT :
+ return getRedefinedElements();
+ case UMLPackage.ACTION__REDEFINITION_CONTEXT :
+ return getRedefinitionContexts();
+ case UMLPackage.ACTION__ACTIVITY :
+ if (resolve)
+ return getActivity();
+ return basicGetActivity();
+ case UMLPackage.ACTION__IN_GROUP :
+ return getInGroups();
+ case UMLPackage.ACTION__IN_INTERRUPTIBLE_REGION :
+ return getInInterruptibleRegions();
+ case UMLPackage.ACTION__IN_STRUCTURED_NODE :
+ if (resolve)
+ return getInStructuredNode();
+ return basicGetInStructuredNode();
+ case UMLPackage.ACTION__INCOMING :
+ return getIncomings();
+ case UMLPackage.ACTION__OUTGOING :
+ return getOutgoings();
+ case UMLPackage.ACTION__REDEFINED_NODE :
+ return getRedefinedNodes();
+ case UMLPackage.ACTION__IN_PARTITION :
+ return getInPartitions();
+ case UMLPackage.ACTION__HANDLER :
+ return getHandlers();
+ case UMLPackage.ACTION__CONTEXT :
+ if (resolve)
+ return getContext();
+ return basicGetContext();
+ case UMLPackage.ACTION__INPUT :
+ return getInputs();
+ case UMLPackage.ACTION__IS_LOCALLY_REENTRANT :
+ return isLocallyReentrant();
+ case UMLPackage.ACTION__LOCAL_POSTCONDITION :
+ return getLocalPostconditions();
+ case UMLPackage.ACTION__LOCAL_PRECONDITION :
+ return getLocalPreconditions();
+ case UMLPackage.ACTION__OUTPUT :
+ return getOutputs();
+ }
+ return eDynamicGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case UMLPackage.ACTION__EANNOTATIONS :
+ getEAnnotations().clear();
+ getEAnnotations()
+ .addAll((Collection<? extends EAnnotation>) newValue);
+ return;
+ case UMLPackage.ACTION__OWNED_COMMENT :
+ getOwnedComments().clear();
+ getOwnedComments()
+ .addAll((Collection<? extends Comment>) newValue);
+ return;
+ case UMLPackage.ACTION__NAME :
+ setName((String) newValue);
+ return;
+ case UMLPackage.ACTION__NAME_EXPRESSION :
+ setNameExpression((StringExpression) newValue);
+ return;
+ case UMLPackage.ACTION__VISIBILITY :
+ setVisibility((VisibilityKind) newValue);
+ return;
+ case UMLPackage.ACTION__IS_LEAF :
+ setIsLeaf((Boolean) newValue);
+ return;
+ case UMLPackage.ACTION__ACTIVITY :
+ setActivity((Activity) newValue);
+ return;
+ case UMLPackage.ACTION__IN_INTERRUPTIBLE_REGION :
+ getInInterruptibleRegions().clear();
+ getInInterruptibleRegions().addAll(
+ (Collection<? extends InterruptibleActivityRegion>) newValue);
+ return;
+ case UMLPackage.ACTION__IN_STRUCTURED_NODE :
+ setInStructuredNode((StructuredActivityNode) newValue);
+ return;
+ case UMLPackage.ACTION__INCOMING :
+ getIncomings().clear();
+ getIncomings()
+ .addAll((Collection<? extends ActivityEdge>) newValue);
+ return;
+ case UMLPackage.ACTION__OUTGOING :
+ getOutgoings().clear();
+ getOutgoings()
+ .addAll((Collection<? extends ActivityEdge>) newValue);
+ return;
+ case UMLPackage.ACTION__REDEFINED_NODE :
+ getRedefinedNodes().clear();
+ getRedefinedNodes()
+ .addAll((Collection<? extends ActivityNode>) newValue);
+ return;
+ case UMLPackage.ACTION__IN_PARTITION :
+ getInPartitions().clear();
+ getInPartitions()
+ .addAll((Collection<? extends ActivityPartition>) newValue);
+ return;
+ case UMLPackage.ACTION__HANDLER :
+ getHandlers().clear();
+ getHandlers()
+ .addAll((Collection<? extends ExceptionHandler>) newValue);
+ return;
+ case UMLPackage.ACTION__IS_LOCALLY_REENTRANT :
+ setIsLocallyReentrant((Boolean) newValue);
+ return;
+ case UMLPackage.ACTION__LOCAL_POSTCONDITION :
+ getLocalPostconditions().clear();
+ getLocalPostconditions()
+ .addAll((Collection<? extends Constraint>) newValue);
+ return;
+ case UMLPackage.ACTION__LOCAL_PRECONDITION :
+ getLocalPreconditions().clear();
+ getLocalPreconditions()
+ .addAll((Collection<? extends Constraint>) newValue);
+ return;
+ }
+ eDynamicSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case UMLPackage.ACTION__EANNOTATIONS :
+ getEAnnotations().clear();
+ return;
+ case UMLPackage.ACTION__OWNED_COMMENT :
+ getOwnedComments().clear();
+ return;
+ case UMLPackage.ACTION__NAME :
+ unsetName();
+ return;
+ case UMLPackage.ACTION__NAME_EXPRESSION :
+ setNameExpression((StringExpression) null);
+ return;
+ case UMLPackage.ACTION__VISIBILITY :
+ unsetVisibility();
+ return;
+ case UMLPackage.ACTION__IS_LEAF :
+ setIsLeaf(IS_LEAF_EDEFAULT);
+ return;
+ case UMLPackage.ACTION__ACTIVITY :
+ setActivity((Activity) null);
+ return;
+ case UMLPackage.ACTION__IN_INTERRUPTIBLE_REGION :
+ getInInterruptibleRegions().clear();
+ return;
+ case UMLPackage.ACTION__IN_STRUCTURED_NODE :
+ setInStructuredNode((StructuredActivityNode) null);
+ return;
+ case UMLPackage.ACTION__INCOMING :
+ getIncomings().clear();
+ return;
+ case UMLPackage.ACTION__OUTGOING :
+ getOutgoings().clear();
+ return;
+ case UMLPackage.ACTION__REDEFINED_NODE :
+ getRedefinedNodes().clear();
+ return;
+ case UMLPackage.ACTION__IN_PARTITION :
+ getInPartitions().clear();
+ return;
+ case UMLPackage.ACTION__HANDLER :
+ getHandlers().clear();
+ return;
+ case UMLPackage.ACTION__IS_LOCALLY_REENTRANT :
+ setIsLocallyReentrant(IS_LOCALLY_REENTRANT_EDEFAULT);
+ return;
+ case UMLPackage.ACTION__LOCAL_POSTCONDITION :
+ getLocalPostconditions().clear();
+ return;
+ case UMLPackage.ACTION__LOCAL_PRECONDITION :
+ getLocalPreconditions().clear();
+ return;
+ }
+ eDynamicUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case UMLPackage.ACTION__EANNOTATIONS :
+ return !getEAnnotations().isEmpty();
+ case UMLPackage.ACTION__OWNED_COMMENT :
+ return !getOwnedComments().isEmpty();
+ case UMLPackage.ACTION__OWNED_ELEMENT :
+ return isSetOwnedElements();
+ case UMLPackage.ACTION__OWNER :
+ return isSetOwner();
+ case UMLPackage.ACTION__CLIENT_DEPENDENCY :
+ return !getClientDependencies().isEmpty();
+ case UMLPackage.ACTION__NAME :
+ return isSetName();
+ case UMLPackage.ACTION__NAME_EXPRESSION :
+ return basicGetNameExpression() != null;
+ case UMLPackage.ACTION__NAMESPACE :
+ return isSetNamespace();
+ case UMLPackage.ACTION__QUALIFIED_NAME :
+ return QUALIFIED_NAME_EDEFAULT == null
+ ? getQualifiedName() != null
+ : !QUALIFIED_NAME_EDEFAULT.equals(getQualifiedName());
+ case UMLPackage.ACTION__VISIBILITY :
+ return isSetVisibility();
+ case UMLPackage.ACTION__IS_LEAF :
+ return isLeaf() != IS_LEAF_EDEFAULT;
+ case UMLPackage.ACTION__REDEFINED_ELEMENT :
+ return isSetRedefinedElements();
+ case UMLPackage.ACTION__REDEFINITION_CONTEXT :
+ return isSetRedefinitionContexts();
+ case UMLPackage.ACTION__ACTIVITY :
+ return basicGetActivity() != null;
+ case UMLPackage.ACTION__IN_GROUP :
+ return isSetInGroups();
+ case UMLPackage.ACTION__IN_INTERRUPTIBLE_REGION :
+ return !getInInterruptibleRegions().isEmpty();
+ case UMLPackage.ACTION__IN_STRUCTURED_NODE :
+ return basicGetInStructuredNode() != null;
+ case UMLPackage.ACTION__INCOMING :
+ return !getIncomings().isEmpty();
+ case UMLPackage.ACTION__OUTGOING :
+ return !getOutgoings().isEmpty();
+ case UMLPackage.ACTION__REDEFINED_NODE :
+ return !getRedefinedNodes().isEmpty();
+ case UMLPackage.ACTION__IN_PARTITION :
+ return !getInPartitions().isEmpty();
+ case UMLPackage.ACTION__HANDLER :
+ return !getHandlers().isEmpty();
+ case UMLPackage.ACTION__CONTEXT :
+ return basicGetContext() != null;
+ case UMLPackage.ACTION__INPUT :
+ return isSetInputs();
+ case UMLPackage.ACTION__IS_LOCALLY_REENTRANT :
+ return isLocallyReentrant() != IS_LOCALLY_REENTRANT_EDEFAULT;
+ case UMLPackage.ACTION__LOCAL_POSTCONDITION :
+ return !getLocalPostconditions().isEmpty();
+ case UMLPackage.ACTION__LOCAL_PRECONDITION :
+ return !getLocalPreconditions().isEmpty();
+ case UMLPackage.ACTION__OUTPUT :
+ return isSetOutputs();
+ }
+ return eDynamicIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ @SuppressWarnings("unchecked")
+ public Object eInvoke(int operationID, EList<?> arguments)
+ throws InvocationTargetException {
+ switch (operationID) {
+ case UMLPackage.ACTION___GET_EANNOTATION__STRING :
+ return getEAnnotation((String) arguments.get(0));
+ case UMLPackage.ACTION___VALIDATE_HAS_OWNER__DIAGNOSTICCHAIN_MAP :
+ return validateHasOwner((DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTION___VALIDATE_NOT_OWN_SELF__DIAGNOSTICCHAIN_MAP :
+ return validateNotOwnSelf((DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTION___ADD_KEYWORD__STRING :
+ return addKeyword((String) arguments.get(0));
+ case UMLPackage.ACTION___APPLY_STEREOTYPE__STEREOTYPE :
+ return applyStereotype((Stereotype) arguments.get(0));
+ case UMLPackage.ACTION___CREATE_EANNOTATION__STRING :
+ return createEAnnotation((String) arguments.get(0));
+ case UMLPackage.ACTION___DESTROY :
+ destroy();
+ return null;
+ case UMLPackage.ACTION___GET_KEYWORDS :
+ return getKeywords();
+ case UMLPackage.ACTION___GET_APPLICABLE_STEREOTYPE__STRING :
+ return getApplicableStereotype((String) arguments.get(0));
+ case UMLPackage.ACTION___GET_APPLICABLE_STEREOTYPES :
+ return getApplicableStereotypes();
+ case UMLPackage.ACTION___GET_APPLIED_STEREOTYPE__STRING :
+ return getAppliedStereotype((String) arguments.get(0));
+ case UMLPackage.ACTION___GET_APPLIED_STEREOTYPES :
+ return getAppliedStereotypes();
+ case UMLPackage.ACTION___GET_APPLIED_SUBSTEREOTYPE__STEREOTYPE_STRING :
+ return getAppliedSubstereotype((Stereotype) arguments.get(0),
+ (String) arguments.get(1));
+ case UMLPackage.ACTION___GET_APPLIED_SUBSTEREOTYPES__STEREOTYPE :
+ return getAppliedSubstereotypes((Stereotype) arguments.get(0));
+ case UMLPackage.ACTION___GET_MODEL :
+ return getModel();
+ case UMLPackage.ACTION___GET_NEAREST_PACKAGE :
+ return getNearestPackage();
+ case UMLPackage.ACTION___GET_RELATIONSHIPS :
+ return getRelationships();
+ case UMLPackage.ACTION___GET_RELATIONSHIPS__ECLASS :
+ return getRelationships((EClass) arguments.get(0));
+ case UMLPackage.ACTION___GET_REQUIRED_STEREOTYPE__STRING :
+ return getRequiredStereotype((String) arguments.get(0));
+ case UMLPackage.ACTION___GET_REQUIRED_STEREOTYPES :
+ return getRequiredStereotypes();
+ case UMLPackage.ACTION___GET_SOURCE_DIRECTED_RELATIONSHIPS :
+ return getSourceDirectedRelationships();
+ case UMLPackage.ACTION___GET_SOURCE_DIRECTED_RELATIONSHIPS__ECLASS :
+ return getSourceDirectedRelationships(
+ (EClass) arguments.get(0));
+ case UMLPackage.ACTION___GET_STEREOTYPE_APPLICATION__STEREOTYPE :
+ return getStereotypeApplication((Stereotype) arguments.get(0));
+ case UMLPackage.ACTION___GET_STEREOTYPE_APPLICATIONS :
+ return getStereotypeApplications();
+ case UMLPackage.ACTION___GET_TARGET_DIRECTED_RELATIONSHIPS :
+ return getTargetDirectedRelationships();
+ case UMLPackage.ACTION___GET_TARGET_DIRECTED_RELATIONSHIPS__ECLASS :
+ return getTargetDirectedRelationships(
+ (EClass) arguments.get(0));
+ case UMLPackage.ACTION___GET_VALUE__STEREOTYPE_STRING :
+ return getValue((Stereotype) arguments.get(0),
+ (String) arguments.get(1));
+ case UMLPackage.ACTION___HAS_KEYWORD__STRING :
+ return hasKeyword((String) arguments.get(0));
+ case UMLPackage.ACTION___HAS_VALUE__STEREOTYPE_STRING :
+ return hasValue((Stereotype) arguments.get(0),
+ (String) arguments.get(1));
+ case UMLPackage.ACTION___IS_STEREOTYPE_APPLICABLE__STEREOTYPE :
+ return isStereotypeApplicable((Stereotype) arguments.get(0));
+ case UMLPackage.ACTION___IS_STEREOTYPE_APPLIED__STEREOTYPE :
+ return isStereotypeApplied((Stereotype) arguments.get(0));
+ case UMLPackage.ACTION___IS_STEREOTYPE_REQUIRED__STEREOTYPE :
+ return isStereotypeRequired((Stereotype) arguments.get(0));
+ case UMLPackage.ACTION___REMOVE_KEYWORD__STRING :
+ return removeKeyword((String) arguments.get(0));
+ case UMLPackage.ACTION___SET_VALUE__STEREOTYPE_STRING_OBJECT :
+ setValue((Stereotype) arguments.get(0),
+ (String) arguments.get(1), arguments.get(2));
+ return null;
+ case UMLPackage.ACTION___UNAPPLY_STEREOTYPE__STEREOTYPE :
+ return unapplyStereotype((Stereotype) arguments.get(0));
+ case UMLPackage.ACTION___ALL_OWNED_ELEMENTS :
+ return allOwnedElements();
+ case UMLPackage.ACTION___MUST_BE_OWNED :
+ return mustBeOwned();
+ case UMLPackage.ACTION___VALIDATE_VISIBILITY_NEEDS_OWNERSHIP__DIAGNOSTICCHAIN_MAP :
+ return validateVisibilityNeedsOwnership(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTION___VALIDATE_HAS_QUALIFIED_NAME__DIAGNOSTICCHAIN_MAP :
+ return validateHasQualifiedName(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTION___VALIDATE_HAS_NO_QUALIFIED_NAME__DIAGNOSTICCHAIN_MAP :
+ return validateHasNoQualifiedName(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTION___CREATE_DEPENDENCY__NAMEDELEMENT :
+ return createDependency((NamedElement) arguments.get(0));
+ case UMLPackage.ACTION___CREATE_USAGE__NAMEDELEMENT :
+ return createUsage((NamedElement) arguments.get(0));
+ case UMLPackage.ACTION___GET_LABEL :
+ return getLabel();
+ case UMLPackage.ACTION___GET_LABEL__BOOLEAN :
+ return getLabel((Boolean) arguments.get(0));
+ case UMLPackage.ACTION___GET_NAMESPACE :
+ return getNamespace();
+ case UMLPackage.ACTION___ALL_NAMESPACES :
+ return allNamespaces();
+ case UMLPackage.ACTION___ALL_OWNING_PACKAGES :
+ return allOwningPackages();
+ case UMLPackage.ACTION___IS_DISTINGUISHABLE_FROM__NAMEDELEMENT_NAMESPACE :
+ return isDistinguishableFrom((NamedElement) arguments.get(0),
+ (Namespace) arguments.get(1));
+ case UMLPackage.ACTION___GET_QUALIFIED_NAME :
+ return getQualifiedName();
+ case UMLPackage.ACTION___SEPARATOR :
+ return separator();
+ case UMLPackage.ACTION___GET_CLIENT_DEPENDENCIES :
+ return getClientDependencies();
+ case UMLPackage.ACTION___VALIDATE_REDEFINITION_CONSISTENT__DIAGNOSTICCHAIN_MAP :
+ return validateRedefinitionConsistent(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTION___VALIDATE_NON_LEAF_REDEFINITION__DIAGNOSTICCHAIN_MAP :
+ return validateNonLeafRedefinition(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTION___VALIDATE_REDEFINITION_CONTEXT_VALID__DIAGNOSTICCHAIN_MAP :
+ return validateRedefinitionContextValid(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTION___IS_CONSISTENT_WITH__REDEFINABLEELEMENT :
+ return isConsistentWith((RedefinableElement) arguments.get(0));
+ case UMLPackage.ACTION___IS_REDEFINITION_CONTEXT_VALID__REDEFINABLEELEMENT :
+ return isRedefinitionContextValid(
+ (RedefinableElement) arguments.get(0));
+ case UMLPackage.ACTION___CONTAINING_ACTIVITY :
+ return containingActivity();
+ case UMLPackage.ACTION___GET_CONTEXT :
+ return getContext();
+ case UMLPackage.ACTION___ALL_ACTIONS :
+ return allActions();
+ case UMLPackage.ACTION___ALL_OWNED_NODES :
+ return allOwnedNodes();
+ case UMLPackage.ACTION___CONTAINING_BEHAVIOR :
+ return containingBehavior();
+ }
+ return eDynamicInvoke(operationID, arguments);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetOutputs() {
+ return false;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean isSetOwnedElements() {
+ return super.isSetOwnedElements() || isSetInputs()
+ || eIsSet(UMLPackage.ACTION__LOCAL_POSTCONDITION)
+ || eIsSet(UMLPackage.ACTION__LOCAL_PRECONDITION) || isSetOutputs();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetInputs() {
+ return false;
+ }
+
+} //ActionImpl
diff --git a/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ActionInputPinImpl.java b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ActionInputPinImpl.java
new file mode 100644
index 0000000..22a50c1
--- /dev/null
+++ b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ActionInputPinImpl.java
@@ -0,0 +1,909 @@
+/*
+ * Copyright (c) 2005, 2016 IBM Corporation, Embarcadero Technologies, CEA, 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:
+ * IBM - initial API and implementation
+ * Kenn Hussey (Embarcadero Technologies) - 204200
+ * Kenn Hussey - 286329, 323181
+ * Kenn Hussey (CEA) - 327039, 351774, 418466, 451350, 485756
+ *
+ */
+package org.eclipse.uml2.uml.cdo.internal.impl;
+
+import java.lang.reflect.InvocationTargetException;
+import java.util.Collection;
+import java.util.Map;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.DiagnosticChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EAnnotation;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.eclipse.uml2.common.util.CacheAdapter;
+import org.eclipse.uml2.common.util.DerivedUnionEObjectEList;
+
+import org.eclipse.uml2.uml.Action;
+import org.eclipse.uml2.uml.ActionInputPin;
+import org.eclipse.uml2.uml.Activity;
+import org.eclipse.uml2.uml.ActivityEdge;
+import org.eclipse.uml2.uml.ActivityNode;
+import org.eclipse.uml2.uml.ActivityPartition;
+import org.eclipse.uml2.uml.Behavior;
+import org.eclipse.uml2.uml.Comment;
+import org.eclipse.uml2.uml.Element;
+import org.eclipse.uml2.uml.InterruptibleActivityRegion;
+import org.eclipse.uml2.uml.MultiplicityElement;
+import org.eclipse.uml2.uml.NamedElement;
+import org.eclipse.uml2.uml.Namespace;
+import org.eclipse.uml2.uml.ObjectNodeOrderingKind;
+import org.eclipse.uml2.uml.RedefinableElement;
+import org.eclipse.uml2.uml.State;
+import org.eclipse.uml2.uml.Stereotype;
+import org.eclipse.uml2.uml.StringExpression;
+import org.eclipse.uml2.uml.StructuredActivityNode;
+import org.eclipse.uml2.uml.Type;
+import org.eclipse.uml2.uml.UMLPackage;
+import org.eclipse.uml2.uml.ValueSpecification;
+import org.eclipse.uml2.uml.VisibilityKind;
+
+import org.eclipse.uml2.uml.internal.operations.ActionInputPinOperations;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Action Input Pin</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * </p>
+ * <ul>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActionInputPinImpl#getOwnedElements <em>Owned Element</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActionInputPinImpl#getFromAction <em>From Action</em>}</li>
+ * </ul>
+ *
+ * @generated
+ */
+public class ActionInputPinImpl
+ extends InputPinImpl
+ implements ActionInputPin {
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ActionInputPinImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return UMLPackage.Literals.ACTION_INPUT_PIN;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EList<Element> getOwnedElements() {
+ CacheAdapter cache = getCacheAdapter();
+ if (cache != null) {
+ Resource eResource = eResource();
+ @SuppressWarnings("unchecked")
+ EList<Element> ownedElements = (EList<Element>) cache.get(eResource,
+ this, UMLPackage.Literals.ELEMENT__OWNED_ELEMENT);
+ if (ownedElements == null) {
+ cache.put(eResource, this,
+ UMLPackage.Literals.ELEMENT__OWNED_ELEMENT,
+ ownedElements = new DerivedUnionEObjectEList<Element>(
+ Element.class, this,
+ UMLPackage.ACTION_INPUT_PIN__OWNED_ELEMENT,
+ OWNED_ELEMENT_ESUBSETS));
+ }
+ return ownedElements;
+ }
+ return new DerivedUnionEObjectEList<Element>(Element.class, this,
+ UMLPackage.ACTION_INPUT_PIN__OWNED_ELEMENT, OWNED_ELEMENT_ESUBSETS);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Action getFromAction() {
+ return (Action) eDynamicGet(
+ UMLPackage.ACTION_INPUT_PIN__FROM_ACTION - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTION_INPUT_PIN__FROM_ACTION, true, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Action basicGetFromAction() {
+ return (Action) eDynamicGet(
+ UMLPackage.ACTION_INPUT_PIN__FROM_ACTION - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTION_INPUT_PIN__FROM_ACTION, false, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetFromAction(Action newFromAction,
+ NotificationChain msgs) {
+ msgs = eDynamicInverseAdd((InternalEObject) newFromAction,
+ UMLPackage.ACTION_INPUT_PIN__FROM_ACTION, msgs);
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFromAction(Action newFromAction) {
+ eDynamicSet(
+ UMLPackage.ACTION_INPUT_PIN__FROM_ACTION - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTION_INPUT_PIN__FROM_ACTION, newFromAction);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Action createFromAction(String name, EClass eClass) {
+ Action newFromAction = (Action) create(eClass);
+ setFromAction(newFromAction);
+ if (name != null)
+ newFromAction.setName(name);
+ return newFromAction;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateOneOutputPin(DiagnosticChain diagnostics,
+ Map<Object, Object> context) {
+ return ActionInputPinOperations.validateOneOutputPin(this, diagnostics,
+ context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateNoControlOrObjectFlow(DiagnosticChain diagnostics,
+ Map<Object, Object> context) {
+ return ActionInputPinOperations.validateNoControlOrObjectFlow(this,
+ diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateInputPin(DiagnosticChain diagnostics,
+ Map<Object, Object> context) {
+ return ActionInputPinOperations.validateInputPin(this, diagnostics,
+ context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case UMLPackage.ACTION_INPUT_PIN__EANNOTATIONS :
+ return ((InternalEList<?>) getEAnnotations())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACTION_INPUT_PIN__OWNED_COMMENT :
+ return ((InternalEList<?>) getOwnedComments())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACTION_INPUT_PIN__NAME_EXPRESSION :
+ return basicSetNameExpression(null, msgs);
+ case UMLPackage.ACTION_INPUT_PIN__IN_INTERRUPTIBLE_REGION :
+ return ((InternalEList<?>) getInInterruptibleRegions())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACTION_INPUT_PIN__IN_STRUCTURED_NODE :
+ return basicSetInStructuredNode(null, msgs);
+ case UMLPackage.ACTION_INPUT_PIN__INCOMING :
+ return ((InternalEList<?>) getIncomings()).basicRemove(otherEnd,
+ msgs);
+ case UMLPackage.ACTION_INPUT_PIN__OUTGOING :
+ return ((InternalEList<?>) getOutgoings()).basicRemove(otherEnd,
+ msgs);
+ case UMLPackage.ACTION_INPUT_PIN__IN_PARTITION :
+ return ((InternalEList<?>) getInPartitions())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACTION_INPUT_PIN__UPPER_BOUND :
+ return basicSetUpperBound(null, msgs);
+ case UMLPackage.ACTION_INPUT_PIN__LOWER_VALUE :
+ return basicSetLowerValue(null, msgs);
+ case UMLPackage.ACTION_INPUT_PIN__UPPER_VALUE :
+ return basicSetUpperValue(null, msgs);
+ case UMLPackage.ACTION_INPUT_PIN__FROM_ACTION :
+ return basicSetFromAction(null, msgs);
+ }
+ return eDynamicInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case UMLPackage.ACTION_INPUT_PIN__EANNOTATIONS :
+ return getEAnnotations();
+ case UMLPackage.ACTION_INPUT_PIN__OWNED_COMMENT :
+ return getOwnedComments();
+ case UMLPackage.ACTION_INPUT_PIN__OWNED_ELEMENT :
+ return getOwnedElements();
+ case UMLPackage.ACTION_INPUT_PIN__OWNER :
+ if (resolve)
+ return getOwner();
+ return basicGetOwner();
+ case UMLPackage.ACTION_INPUT_PIN__CLIENT_DEPENDENCY :
+ return getClientDependencies();
+ case UMLPackage.ACTION_INPUT_PIN__NAME :
+ return getName();
+ case UMLPackage.ACTION_INPUT_PIN__NAME_EXPRESSION :
+ if (resolve)
+ return getNameExpression();
+ return basicGetNameExpression();
+ case UMLPackage.ACTION_INPUT_PIN__NAMESPACE :
+ if (resolve)
+ return getNamespace();
+ return basicGetNamespace();
+ case UMLPackage.ACTION_INPUT_PIN__QUALIFIED_NAME :
+ return getQualifiedName();
+ case UMLPackage.ACTION_INPUT_PIN__VISIBILITY :
+ return getVisibility();
+ case UMLPackage.ACTION_INPUT_PIN__IS_LEAF :
+ return isLeaf();
+ case UMLPackage.ACTION_INPUT_PIN__REDEFINED_ELEMENT :
+ return getRedefinedElements();
+ case UMLPackage.ACTION_INPUT_PIN__REDEFINITION_CONTEXT :
+ return getRedefinitionContexts();
+ case UMLPackage.ACTION_INPUT_PIN__ACTIVITY :
+ if (resolve)
+ return getActivity();
+ return basicGetActivity();
+ case UMLPackage.ACTION_INPUT_PIN__IN_GROUP :
+ return getInGroups();
+ case UMLPackage.ACTION_INPUT_PIN__IN_INTERRUPTIBLE_REGION :
+ return getInInterruptibleRegions();
+ case UMLPackage.ACTION_INPUT_PIN__IN_STRUCTURED_NODE :
+ if (resolve)
+ return getInStructuredNode();
+ return basicGetInStructuredNode();
+ case UMLPackage.ACTION_INPUT_PIN__INCOMING :
+ return getIncomings();
+ case UMLPackage.ACTION_INPUT_PIN__OUTGOING :
+ return getOutgoings();
+ case UMLPackage.ACTION_INPUT_PIN__REDEFINED_NODE :
+ return getRedefinedNodes();
+ case UMLPackage.ACTION_INPUT_PIN__IN_PARTITION :
+ return getInPartitions();
+ case UMLPackage.ACTION_INPUT_PIN__TYPE :
+ if (resolve)
+ return getType();
+ return basicGetType();
+ case UMLPackage.ACTION_INPUT_PIN__IN_STATE :
+ return getInStates();
+ case UMLPackage.ACTION_INPUT_PIN__IS_CONTROL_TYPE :
+ return isControlType();
+ case UMLPackage.ACTION_INPUT_PIN__ORDERING :
+ return getOrdering();
+ case UMLPackage.ACTION_INPUT_PIN__SELECTION :
+ if (resolve)
+ return getSelection();
+ return basicGetSelection();
+ case UMLPackage.ACTION_INPUT_PIN__UPPER_BOUND :
+ if (resolve)
+ return getUpperBound();
+ return basicGetUpperBound();
+ case UMLPackage.ACTION_INPUT_PIN__IS_ORDERED :
+ return isOrdered();
+ case UMLPackage.ACTION_INPUT_PIN__IS_UNIQUE :
+ return isUnique();
+ case UMLPackage.ACTION_INPUT_PIN__LOWER :
+ return getLower();
+ case UMLPackage.ACTION_INPUT_PIN__LOWER_VALUE :
+ if (resolve)
+ return getLowerValue();
+ return basicGetLowerValue();
+ case UMLPackage.ACTION_INPUT_PIN__UPPER :
+ return getUpper();
+ case UMLPackage.ACTION_INPUT_PIN__UPPER_VALUE :
+ if (resolve)
+ return getUpperValue();
+ return basicGetUpperValue();
+ case UMLPackage.ACTION_INPUT_PIN__IS_CONTROL :
+ return isControl();
+ case UMLPackage.ACTION_INPUT_PIN__FROM_ACTION :
+ if (resolve)
+ return getFromAction();
+ return basicGetFromAction();
+ }
+ return eDynamicGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case UMLPackage.ACTION_INPUT_PIN__EANNOTATIONS :
+ getEAnnotations().clear();
+ getEAnnotations()
+ .addAll((Collection<? extends EAnnotation>) newValue);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__OWNED_COMMENT :
+ getOwnedComments().clear();
+ getOwnedComments()
+ .addAll((Collection<? extends Comment>) newValue);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__NAME :
+ setName((String) newValue);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__NAME_EXPRESSION :
+ setNameExpression((StringExpression) newValue);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__VISIBILITY :
+ setVisibility((VisibilityKind) newValue);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__IS_LEAF :
+ setIsLeaf((Boolean) newValue);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__ACTIVITY :
+ setActivity((Activity) newValue);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__IN_INTERRUPTIBLE_REGION :
+ getInInterruptibleRegions().clear();
+ getInInterruptibleRegions().addAll(
+ (Collection<? extends InterruptibleActivityRegion>) newValue);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__IN_STRUCTURED_NODE :
+ setInStructuredNode((StructuredActivityNode) newValue);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__INCOMING :
+ getIncomings().clear();
+ getIncomings()
+ .addAll((Collection<? extends ActivityEdge>) newValue);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__OUTGOING :
+ getOutgoings().clear();
+ getOutgoings()
+ .addAll((Collection<? extends ActivityEdge>) newValue);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__REDEFINED_NODE :
+ getRedefinedNodes().clear();
+ getRedefinedNodes()
+ .addAll((Collection<? extends ActivityNode>) newValue);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__IN_PARTITION :
+ getInPartitions().clear();
+ getInPartitions()
+ .addAll((Collection<? extends ActivityPartition>) newValue);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__TYPE :
+ setType((Type) newValue);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__IN_STATE :
+ getInStates().clear();
+ getInStates().addAll((Collection<? extends State>) newValue);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__IS_CONTROL_TYPE :
+ setIsControlType((Boolean) newValue);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__ORDERING :
+ setOrdering((ObjectNodeOrderingKind) newValue);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__SELECTION :
+ setSelection((Behavior) newValue);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__UPPER_BOUND :
+ setUpperBound((ValueSpecification) newValue);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__IS_ORDERED :
+ setIsOrdered((Boolean) newValue);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__IS_UNIQUE :
+ setIsUnique((Boolean) newValue);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__LOWER :
+ setLower((Integer) newValue);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__LOWER_VALUE :
+ setLowerValue((ValueSpecification) newValue);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__UPPER :
+ setUpper((Integer) newValue);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__UPPER_VALUE :
+ setUpperValue((ValueSpecification) newValue);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__IS_CONTROL :
+ setIsControl((Boolean) newValue);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__FROM_ACTION :
+ setFromAction((Action) newValue);
+ return;
+ }
+ eDynamicSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case UMLPackage.ACTION_INPUT_PIN__EANNOTATIONS :
+ getEAnnotations().clear();
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__OWNED_COMMENT :
+ getOwnedComments().clear();
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__NAME :
+ unsetName();
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__NAME_EXPRESSION :
+ setNameExpression((StringExpression) null);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__VISIBILITY :
+ unsetVisibility();
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__IS_LEAF :
+ setIsLeaf(IS_LEAF_EDEFAULT);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__ACTIVITY :
+ setActivity((Activity) null);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__IN_INTERRUPTIBLE_REGION :
+ getInInterruptibleRegions().clear();
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__IN_STRUCTURED_NODE :
+ setInStructuredNode((StructuredActivityNode) null);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__INCOMING :
+ getIncomings().clear();
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__OUTGOING :
+ getOutgoings().clear();
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__REDEFINED_NODE :
+ getRedefinedNodes().clear();
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__IN_PARTITION :
+ getInPartitions().clear();
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__TYPE :
+ setType((Type) null);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__IN_STATE :
+ getInStates().clear();
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__IS_CONTROL_TYPE :
+ setIsControlType(IS_CONTROL_TYPE_EDEFAULT);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__ORDERING :
+ setOrdering(ORDERING_EDEFAULT);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__SELECTION :
+ setSelection((Behavior) null);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__UPPER_BOUND :
+ setUpperBound((ValueSpecification) null);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__IS_ORDERED :
+ setIsOrdered(IS_ORDERED_EDEFAULT);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__IS_UNIQUE :
+ setIsUnique(IS_UNIQUE_EDEFAULT);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__LOWER :
+ setLower(LOWER_EDEFAULT);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__LOWER_VALUE :
+ setLowerValue((ValueSpecification) null);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__UPPER :
+ setUpper(UPPER_EDEFAULT);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__UPPER_VALUE :
+ setUpperValue((ValueSpecification) null);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__IS_CONTROL :
+ setIsControl(IS_CONTROL_EDEFAULT);
+ return;
+ case UMLPackage.ACTION_INPUT_PIN__FROM_ACTION :
+ setFromAction((Action) null);
+ return;
+ }
+ eDynamicUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case UMLPackage.ACTION_INPUT_PIN__EANNOTATIONS :
+ return !getEAnnotations().isEmpty();
+ case UMLPackage.ACTION_INPUT_PIN__OWNED_COMMENT :
+ return !getOwnedComments().isEmpty();
+ case UMLPackage.ACTION_INPUT_PIN__OWNED_ELEMENT :
+ return isSetOwnedElements();
+ case UMLPackage.ACTION_INPUT_PIN__OWNER :
+ return isSetOwner();
+ case UMLPackage.ACTION_INPUT_PIN__CLIENT_DEPENDENCY :
+ return !getClientDependencies().isEmpty();
+ case UMLPackage.ACTION_INPUT_PIN__NAME :
+ return isSetName();
+ case UMLPackage.ACTION_INPUT_PIN__NAME_EXPRESSION :
+ return basicGetNameExpression() != null;
+ case UMLPackage.ACTION_INPUT_PIN__NAMESPACE :
+ return isSetNamespace();
+ case UMLPackage.ACTION_INPUT_PIN__QUALIFIED_NAME :
+ return QUALIFIED_NAME_EDEFAULT == null
+ ? getQualifiedName() != null
+ : !QUALIFIED_NAME_EDEFAULT.equals(getQualifiedName());
+ case UMLPackage.ACTION_INPUT_PIN__VISIBILITY :
+ return isSetVisibility();
+ case UMLPackage.ACTION_INPUT_PIN__IS_LEAF :
+ return isLeaf() != IS_LEAF_EDEFAULT;
+ case UMLPackage.ACTION_INPUT_PIN__REDEFINED_ELEMENT :
+ return isSetRedefinedElements();
+ case UMLPackage.ACTION_INPUT_PIN__REDEFINITION_CONTEXT :
+ return isSetRedefinitionContexts();
+ case UMLPackage.ACTION_INPUT_PIN__ACTIVITY :
+ return basicGetActivity() != null;
+ case UMLPackage.ACTION_INPUT_PIN__IN_GROUP :
+ return isSetInGroups();
+ case UMLPackage.ACTION_INPUT_PIN__IN_INTERRUPTIBLE_REGION :
+ return !getInInterruptibleRegions().isEmpty();
+ case UMLPackage.ACTION_INPUT_PIN__IN_STRUCTURED_NODE :
+ return basicGetInStructuredNode() != null;
+ case UMLPackage.ACTION_INPUT_PIN__INCOMING :
+ return !getIncomings().isEmpty();
+ case UMLPackage.ACTION_INPUT_PIN__OUTGOING :
+ return !getOutgoings().isEmpty();
+ case UMLPackage.ACTION_INPUT_PIN__REDEFINED_NODE :
+ return !getRedefinedNodes().isEmpty();
+ case UMLPackage.ACTION_INPUT_PIN__IN_PARTITION :
+ return !getInPartitions().isEmpty();
+ case UMLPackage.ACTION_INPUT_PIN__TYPE :
+ return basicGetType() != null;
+ case UMLPackage.ACTION_INPUT_PIN__IN_STATE :
+ return !getInStates().isEmpty();
+ case UMLPackage.ACTION_INPUT_PIN__IS_CONTROL_TYPE :
+ return isControlType() != IS_CONTROL_TYPE_EDEFAULT;
+ case UMLPackage.ACTION_INPUT_PIN__ORDERING :
+ return getOrdering() != ORDERING_EDEFAULT;
+ case UMLPackage.ACTION_INPUT_PIN__SELECTION :
+ return basicGetSelection() != null;
+ case UMLPackage.ACTION_INPUT_PIN__UPPER_BOUND :
+ return basicGetUpperBound() != null;
+ case UMLPackage.ACTION_INPUT_PIN__IS_ORDERED :
+ return isOrdered() != IS_ORDERED_EDEFAULT;
+ case UMLPackage.ACTION_INPUT_PIN__IS_UNIQUE :
+ return isUnique() != IS_UNIQUE_EDEFAULT;
+ case UMLPackage.ACTION_INPUT_PIN__LOWER :
+ return getLower() != LOWER_EDEFAULT;
+ case UMLPackage.ACTION_INPUT_PIN__LOWER_VALUE :
+ return basicGetLowerValue() != null;
+ case UMLPackage.ACTION_INPUT_PIN__UPPER :
+ return getUpper() != UPPER_EDEFAULT;
+ case UMLPackage.ACTION_INPUT_PIN__UPPER_VALUE :
+ return basicGetUpperValue() != null;
+ case UMLPackage.ACTION_INPUT_PIN__IS_CONTROL :
+ return isControl() != IS_CONTROL_EDEFAULT;
+ case UMLPackage.ACTION_INPUT_PIN__FROM_ACTION :
+ return basicGetFromAction() != null;
+ }
+ return eDynamicIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ @SuppressWarnings("unchecked")
+ public Object eInvoke(int operationID, EList<?> arguments)
+ throws InvocationTargetException {
+ switch (operationID) {
+ case UMLPackage.ACTION_INPUT_PIN___GET_EANNOTATION__STRING :
+ return getEAnnotation((String) arguments.get(0));
+ case UMLPackage.ACTION_INPUT_PIN___VALIDATE_HAS_OWNER__DIAGNOSTICCHAIN_MAP :
+ return validateHasOwner((DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTION_INPUT_PIN___VALIDATE_NOT_OWN_SELF__DIAGNOSTICCHAIN_MAP :
+ return validateNotOwnSelf((DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTION_INPUT_PIN___ADD_KEYWORD__STRING :
+ return addKeyword((String) arguments.get(0));
+ case UMLPackage.ACTION_INPUT_PIN___APPLY_STEREOTYPE__STEREOTYPE :
+ return applyStereotype((Stereotype) arguments.get(0));
+ case UMLPackage.ACTION_INPUT_PIN___CREATE_EANNOTATION__STRING :
+ return createEAnnotation((String) arguments.get(0));
+ case UMLPackage.ACTION_INPUT_PIN___DESTROY :
+ destroy();
+ return null;
+ case UMLPackage.ACTION_INPUT_PIN___GET_KEYWORDS :
+ return getKeywords();
+ case UMLPackage.ACTION_INPUT_PIN___GET_APPLICABLE_STEREOTYPE__STRING :
+ return getApplicableStereotype((String) arguments.get(0));
+ case UMLPackage.ACTION_INPUT_PIN___GET_APPLICABLE_STEREOTYPES :
+ return getApplicableStereotypes();
+ case UMLPackage.ACTION_INPUT_PIN___GET_APPLIED_STEREOTYPE__STRING :
+ return getAppliedStereotype((String) arguments.get(0));
+ case UMLPackage.ACTION_INPUT_PIN___GET_APPLIED_STEREOTYPES :
+ return getAppliedStereotypes();
+ case UMLPackage.ACTION_INPUT_PIN___GET_APPLIED_SUBSTEREOTYPE__STEREOTYPE_STRING :
+ return getAppliedSubstereotype((Stereotype) arguments.get(0),
+ (String) arguments.get(1));
+ case UMLPackage.ACTION_INPUT_PIN___GET_APPLIED_SUBSTEREOTYPES__STEREOTYPE :
+ return getAppliedSubstereotypes((Stereotype) arguments.get(0));
+ case UMLPackage.ACTION_INPUT_PIN___GET_MODEL :
+ return getModel();
+ case UMLPackage.ACTION_INPUT_PIN___GET_NEAREST_PACKAGE :
+ return getNearestPackage();
+ case UMLPackage.ACTION_INPUT_PIN___GET_RELATIONSHIPS :
+ return getRelationships();
+ case UMLPackage.ACTION_INPUT_PIN___GET_RELATIONSHIPS__ECLASS :
+ return getRelationships((EClass) arguments.get(0));
+ case UMLPackage.ACTION_INPUT_PIN___GET_REQUIRED_STEREOTYPE__STRING :
+ return getRequiredStereotype((String) arguments.get(0));
+ case UMLPackage.ACTION_INPUT_PIN___GET_REQUIRED_STEREOTYPES :
+ return getRequiredStereotypes();
+ case UMLPackage.ACTION_INPUT_PIN___GET_SOURCE_DIRECTED_RELATIONSHIPS :
+ return getSourceDirectedRelationships();
+ case UMLPackage.ACTION_INPUT_PIN___GET_SOURCE_DIRECTED_RELATIONSHIPS__ECLASS :
+ return getSourceDirectedRelationships(
+ (EClass) arguments.get(0));
+ case UMLPackage.ACTION_INPUT_PIN___GET_STEREOTYPE_APPLICATION__STEREOTYPE :
+ return getStereotypeApplication((Stereotype) arguments.get(0));
+ case UMLPackage.ACTION_INPUT_PIN___GET_STEREOTYPE_APPLICATIONS :
+ return getStereotypeApplications();
+ case UMLPackage.ACTION_INPUT_PIN___GET_TARGET_DIRECTED_RELATIONSHIPS :
+ return getTargetDirectedRelationships();
+ case UMLPackage.ACTION_INPUT_PIN___GET_TARGET_DIRECTED_RELATIONSHIPS__ECLASS :
+ return getTargetDirectedRelationships(
+ (EClass) arguments.get(0));
+ case UMLPackage.ACTION_INPUT_PIN___GET_VALUE__STEREOTYPE_STRING :
+ return getValue((Stereotype) arguments.get(0),
+ (String) arguments.get(1));
+ case UMLPackage.ACTION_INPUT_PIN___HAS_KEYWORD__STRING :
+ return hasKeyword((String) arguments.get(0));
+ case UMLPackage.ACTION_INPUT_PIN___HAS_VALUE__STEREOTYPE_STRING :
+ return hasValue((Stereotype) arguments.get(0),
+ (String) arguments.get(1));
+ case UMLPackage.ACTION_INPUT_PIN___IS_STEREOTYPE_APPLICABLE__STEREOTYPE :
+ return isStereotypeApplicable((Stereotype) arguments.get(0));
+ case UMLPackage.ACTION_INPUT_PIN___IS_STEREOTYPE_APPLIED__STEREOTYPE :
+ return isStereotypeApplied((Stereotype) arguments.get(0));
+ case UMLPackage.ACTION_INPUT_PIN___IS_STEREOTYPE_REQUIRED__STEREOTYPE :
+ return isStereotypeRequired((Stereotype) arguments.get(0));
+ case UMLPackage.ACTION_INPUT_PIN___REMOVE_KEYWORD__STRING :
+ return removeKeyword((String) arguments.get(0));
+ case UMLPackage.ACTION_INPUT_PIN___SET_VALUE__STEREOTYPE_STRING_OBJECT :
+ setValue((Stereotype) arguments.get(0),
+ (String) arguments.get(1), arguments.get(2));
+ return null;
+ case UMLPackage.ACTION_INPUT_PIN___UNAPPLY_STEREOTYPE__STEREOTYPE :
+ return unapplyStereotype((Stereotype) arguments.get(0));
+ case UMLPackage.ACTION_INPUT_PIN___ALL_OWNED_ELEMENTS :
+ return allOwnedElements();
+ case UMLPackage.ACTION_INPUT_PIN___MUST_BE_OWNED :
+ return mustBeOwned();
+ case UMLPackage.ACTION_INPUT_PIN___VALIDATE_VISIBILITY_NEEDS_OWNERSHIP__DIAGNOSTICCHAIN_MAP :
+ return validateVisibilityNeedsOwnership(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTION_INPUT_PIN___VALIDATE_HAS_QUALIFIED_NAME__DIAGNOSTICCHAIN_MAP :
+ return validateHasQualifiedName(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTION_INPUT_PIN___VALIDATE_HAS_NO_QUALIFIED_NAME__DIAGNOSTICCHAIN_MAP :
+ return validateHasNoQualifiedName(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTION_INPUT_PIN___CREATE_DEPENDENCY__NAMEDELEMENT :
+ return createDependency((NamedElement) arguments.get(0));
+ case UMLPackage.ACTION_INPUT_PIN___CREATE_USAGE__NAMEDELEMENT :
+ return createUsage((NamedElement) arguments.get(0));
+ case UMLPackage.ACTION_INPUT_PIN___GET_LABEL :
+ return getLabel();
+ case UMLPackage.ACTION_INPUT_PIN___GET_LABEL__BOOLEAN :
+ return getLabel((Boolean) arguments.get(0));
+ case UMLPackage.ACTION_INPUT_PIN___GET_NAMESPACE :
+ return getNamespace();
+ case UMLPackage.ACTION_INPUT_PIN___ALL_NAMESPACES :
+ return allNamespaces();
+ case UMLPackage.ACTION_INPUT_PIN___ALL_OWNING_PACKAGES :
+ return allOwningPackages();
+ case UMLPackage.ACTION_INPUT_PIN___IS_DISTINGUISHABLE_FROM__NAMEDELEMENT_NAMESPACE :
+ return isDistinguishableFrom((NamedElement) arguments.get(0),
+ (Namespace) arguments.get(1));
+ case UMLPackage.ACTION_INPUT_PIN___GET_QUALIFIED_NAME :
+ return getQualifiedName();
+ case UMLPackage.ACTION_INPUT_PIN___SEPARATOR :
+ return separator();
+ case UMLPackage.ACTION_INPUT_PIN___GET_CLIENT_DEPENDENCIES :
+ return getClientDependencies();
+ case UMLPackage.ACTION_INPUT_PIN___VALIDATE_REDEFINITION_CONSISTENT__DIAGNOSTICCHAIN_MAP :
+ return validateRedefinitionConsistent(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTION_INPUT_PIN___VALIDATE_NON_LEAF_REDEFINITION__DIAGNOSTICCHAIN_MAP :
+ return validateNonLeafRedefinition(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTION_INPUT_PIN___VALIDATE_REDEFINITION_CONTEXT_VALID__DIAGNOSTICCHAIN_MAP :
+ return validateRedefinitionContextValid(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTION_INPUT_PIN___IS_CONSISTENT_WITH__REDEFINABLEELEMENT :
+ return isConsistentWith((RedefinableElement) arguments.get(0));
+ case UMLPackage.ACTION_INPUT_PIN___IS_REDEFINITION_CONTEXT_VALID__REDEFINABLEELEMENT :
+ return isRedefinitionContextValid(
+ (RedefinableElement) arguments.get(0));
+ case UMLPackage.ACTION_INPUT_PIN___CONTAINING_ACTIVITY :
+ return containingActivity();
+ case UMLPackage.ACTION_INPUT_PIN___VALIDATE_INPUT_OUTPUT_PARAMETER__DIAGNOSTICCHAIN_MAP :
+ return validateInputOutputParameter(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTION_INPUT_PIN___VALIDATE_SELECTION_BEHAVIOR__DIAGNOSTICCHAIN_MAP :
+ return validateSelectionBehavior(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTION_INPUT_PIN___VALIDATE_OBJECT_FLOW_EDGES__DIAGNOSTICCHAIN_MAP :
+ return validateObjectFlowEdges(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTION_INPUT_PIN___VALIDATE_UPPER_GE_LOWER__DIAGNOSTICCHAIN_MAP :
+ return validateUpperGeLower((DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTION_INPUT_PIN___VALIDATE_LOWER_GE0__DIAGNOSTICCHAIN_MAP :
+ return validateLowerGe0((DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTION_INPUT_PIN___VALIDATE_VALUE_SPECIFICATION_NO_SIDE_EFFECTS__DIAGNOSTICCHAIN_MAP :
+ return validateValueSpecificationNoSideEffects(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTION_INPUT_PIN___VALIDATE_VALUE_SPECIFICATION_CONSTANT__DIAGNOSTICCHAIN_MAP :
+ return validateValueSpecificationConstant(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTION_INPUT_PIN___VALIDATE_LOWER_IS_INTEGER__DIAGNOSTICCHAIN_MAP :
+ return validateLowerIsInteger(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTION_INPUT_PIN___VALIDATE_UPPER_IS_UNLIMITED_NATURAL__DIAGNOSTICCHAIN_MAP :
+ return validateUpperIsUnlimitedNatural(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTION_INPUT_PIN___SET_LOWER__INT :
+ setLower((Integer) arguments.get(0));
+ return null;
+ case UMLPackage.ACTION_INPUT_PIN___SET_UPPER__INT :
+ setUpper((Integer) arguments.get(0));
+ return null;
+ case UMLPackage.ACTION_INPUT_PIN___COMPATIBLE_WITH__MULTIPLICITYELEMENT :
+ return compatibleWith((MultiplicityElement) arguments.get(0));
+ case UMLPackage.ACTION_INPUT_PIN___INCLUDES_MULTIPLICITY__MULTIPLICITYELEMENT :
+ return includesMultiplicity(
+ (MultiplicityElement) arguments.get(0));
+ case UMLPackage.ACTION_INPUT_PIN___IS__INT_INT :
+ return is((Integer) arguments.get(0),
+ (Integer) arguments.get(1));
+ case UMLPackage.ACTION_INPUT_PIN___IS_MULTIVALUED :
+ return isMultivalued();
+ case UMLPackage.ACTION_INPUT_PIN___GET_LOWER :
+ return getLower();
+ case UMLPackage.ACTION_INPUT_PIN___LOWER_BOUND :
+ return lowerBound();
+ case UMLPackage.ACTION_INPUT_PIN___GET_UPPER :
+ return getUpper();
+ case UMLPackage.ACTION_INPUT_PIN___UPPER_BOUND :
+ return upperBound();
+ case UMLPackage.ACTION_INPUT_PIN___VALIDATE_CONTROL_PINS__DIAGNOSTICCHAIN_MAP :
+ return validateControlPins((DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTION_INPUT_PIN___VALIDATE_NOT_UNIQUE__DIAGNOSTICCHAIN_MAP :
+ return validateNotUnique((DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTION_INPUT_PIN___VALIDATE_OUTGOING_EDGES_STRUCTURED_ONLY__DIAGNOSTICCHAIN_MAP :
+ return validateOutgoingEdgesStructuredOnly(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTION_INPUT_PIN___VALIDATE_INPUT_PIN__DIAGNOSTICCHAIN_MAP :
+ return validateInputPin((DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTION_INPUT_PIN___VALIDATE_ONE_OUTPUT_PIN__DIAGNOSTICCHAIN_MAP :
+ return validateOneOutputPin((DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTION_INPUT_PIN___VALIDATE_NO_CONTROL_OR_OBJECT_FLOW__DIAGNOSTICCHAIN_MAP :
+ return validateNoControlOrObjectFlow(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ }
+ return eDynamicInvoke(operationID, arguments);
+ }
+
+ /**
+ * The array of subset feature identifiers for the '{@link #getOwnedElements() <em>Owned Element</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOwnedElements()
+ * @generated
+ * @ordered
+ */
+ protected static final int[] OWNED_ELEMENT_ESUBSETS = new int[]{
+ UMLPackage.ACTION_INPUT_PIN__OWNED_COMMENT,
+ UMLPackage.ACTION_INPUT_PIN__NAME_EXPRESSION,
+ UMLPackage.ACTION_INPUT_PIN__UPPER_BOUND,
+ UMLPackage.ACTION_INPUT_PIN__LOWER_VALUE,
+ UMLPackage.ACTION_INPUT_PIN__UPPER_VALUE,
+ UMLPackage.ACTION_INPUT_PIN__FROM_ACTION};
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean isSetOwnedElements() {
+ return super.isSetOwnedElements()
+ || eIsSet(UMLPackage.ACTION_INPUT_PIN__FROM_ACTION);
+ }
+
+} //ActionInputPinImpl
diff --git a/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ActivityEdgeImpl.java b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ActivityEdgeImpl.java
new file mode 100644
index 0000000..b548dcf
--- /dev/null
+++ b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ActivityEdgeImpl.java
@@ -0,0 +1,1297 @@
+/*
+ * Copyright (c) 2005, 2016 IBM Corporation, CEA, 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:
+ * IBM - initial API and implementation
+ * Kenn Hussey - 286329, 323181
+ * Kenn Hussey (CEA) - 327039, 351774, 418466, 451350, 485756
+ *
+ */
+package org.eclipse.uml2.uml.cdo.internal.impl;
+
+import java.lang.reflect.InvocationTargetException;
+import java.util.Collection;
+import java.util.Map;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.DiagnosticChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EAnnotation;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.eclipse.uml2.common.util.CacheAdapter;
+import org.eclipse.uml2.common.util.DerivedUnionEObjectEList;
+
+import org.eclipse.uml2.uml.Activity;
+import org.eclipse.uml2.uml.ActivityEdge;
+import org.eclipse.uml2.uml.ActivityGroup;
+import org.eclipse.uml2.uml.ActivityNode;
+import org.eclipse.uml2.uml.ActivityPartition;
+import org.eclipse.uml2.uml.Comment;
+import org.eclipse.uml2.uml.Element;
+import org.eclipse.uml2.uml.InterruptibleActivityRegion;
+import org.eclipse.uml2.uml.NamedElement;
+import org.eclipse.uml2.uml.Namespace;
+import org.eclipse.uml2.uml.RedefinableElement;
+import org.eclipse.uml2.uml.Stereotype;
+import org.eclipse.uml2.uml.StringExpression;
+import org.eclipse.uml2.uml.StructuredActivityNode;
+import org.eclipse.uml2.uml.Type;
+import org.eclipse.uml2.uml.UMLPackage;
+import org.eclipse.uml2.uml.ValueSpecification;
+import org.eclipse.uml2.uml.VisibilityKind;
+
+import org.eclipse.uml2.uml.internal.operations.ActivityEdgeOperations;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Activity Edge</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * </p>
+ * <ul>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityEdgeImpl#getOwner <em>Owner</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityEdgeImpl#getOwnedElements <em>Owned Element</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityEdgeImpl#getInGroups <em>In Group</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityEdgeImpl#getRedefinedElements <em>Redefined Element</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityEdgeImpl#getActivity <em>Activity</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityEdgeImpl#getGuard <em>Guard</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityEdgeImpl#getInPartitions <em>In Partition</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityEdgeImpl#getInterrupts <em>Interrupts</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityEdgeImpl#getInStructuredNode <em>In Structured Node</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityEdgeImpl#getTarget <em>Target</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityEdgeImpl#getSource <em>Source</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityEdgeImpl#getRedefinedEdges <em>Redefined Edge</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityEdgeImpl#getWeight <em>Weight</em>}</li>
+ * </ul>
+ *
+ * @generated
+ */
+public abstract class ActivityEdgeImpl
+ extends RedefinableElementImpl
+ implements ActivityEdge {
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ActivityEdgeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return UMLPackage.Literals.ACTIVITY_EDGE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<ActivityGroup> getInGroups() {
+ CacheAdapter cache = getCacheAdapter();
+ if (cache != null) {
+ Resource eResource = eResource();
+ @SuppressWarnings("unchecked")
+ EList<ActivityGroup> inGroups = (EList<ActivityGroup>) cache.get(
+ eResource, this, UMLPackage.Literals.ACTIVITY_EDGE__IN_GROUP);
+ if (inGroups == null) {
+ cache.put(eResource, this,
+ UMLPackage.Literals.ACTIVITY_EDGE__IN_GROUP,
+ inGroups = new DerivedUnionEObjectEList<ActivityGroup>(
+ ActivityGroup.class, this,
+ UMLPackage.ACTIVITY_EDGE__IN_GROUP, IN_GROUP_ESUBSETS));
+ }
+ return inGroups;
+ }
+ return new DerivedUnionEObjectEList<ActivityGroup>(ActivityGroup.class,
+ this, UMLPackage.ACTIVITY_EDGE__IN_GROUP, IN_GROUP_ESUBSETS);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EList<RedefinableElement> getRedefinedElements() {
+ CacheAdapter cache = getCacheAdapter();
+ if (cache != null) {
+ Resource eResource = eResource();
+ @SuppressWarnings("unchecked")
+ EList<RedefinableElement> redefinedElements = (EList<RedefinableElement>) cache
+ .get(eResource, this,
+ UMLPackage.Literals.REDEFINABLE_ELEMENT__REDEFINED_ELEMENT);
+ if (redefinedElements == null) {
+ cache.put(eResource, this,
+ UMLPackage.Literals.REDEFINABLE_ELEMENT__REDEFINED_ELEMENT,
+ redefinedElements = new DerivedUnionEObjectEList<RedefinableElement>(
+ RedefinableElement.class, this,
+ UMLPackage.ACTIVITY_EDGE__REDEFINED_ELEMENT,
+ REDEFINED_ELEMENT_ESUBSETS));
+ }
+ return redefinedElements;
+ }
+ return new DerivedUnionEObjectEList<RedefinableElement>(
+ RedefinableElement.class, this,
+ UMLPackage.ACTIVITY_EDGE__REDEFINED_ELEMENT,
+ REDEFINED_ELEMENT_ESUBSETS);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EList<Element> getOwnedElements() {
+ CacheAdapter cache = getCacheAdapter();
+ if (cache != null) {
+ Resource eResource = eResource();
+ @SuppressWarnings("unchecked")
+ EList<Element> ownedElements = (EList<Element>) cache.get(eResource,
+ this, UMLPackage.Literals.ELEMENT__OWNED_ELEMENT);
+ if (ownedElements == null) {
+ cache.put(eResource, this,
+ UMLPackage.Literals.ELEMENT__OWNED_ELEMENT,
+ ownedElements = new DerivedUnionEObjectEList<Element>(
+ Element.class, this,
+ UMLPackage.ACTIVITY_EDGE__OWNED_ELEMENT,
+ OWNED_ELEMENT_ESUBSETS));
+ }
+ return ownedElements;
+ }
+ return new DerivedUnionEObjectEList<Element>(Element.class, this,
+ UMLPackage.ACTIVITY_EDGE__OWNED_ELEMENT, OWNED_ELEMENT_ESUBSETS);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Activity getActivity() {
+ return (Activity) eDynamicGet(
+ UMLPackage.ACTIVITY_EDGE__ACTIVITY - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY_EDGE__ACTIVITY, true, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Activity basicGetActivity() {
+ return (Activity) eDynamicGet(
+ UMLPackage.ACTIVITY_EDGE__ACTIVITY - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY_EDGE__ACTIVITY, false, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetActivity(Activity newActivity,
+ NotificationChain msgs) {
+ msgs = eBasicSetContainer((InternalEObject) newActivity,
+ UMLPackage.ACTIVITY_EDGE__ACTIVITY, msgs);
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setActivity(Activity newActivity) {
+ eDynamicSet(UMLPackage.ACTIVITY_EDGE__ACTIVITY - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY_EDGE__ACTIVITY, newActivity);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ public EList<ActivityPartition> getInPartitions() {
+ return (EList<ActivityPartition>) eDynamicGet(
+ UMLPackage.ACTIVITY_EDGE__IN_PARTITION - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY_EDGE__IN_PARTITION, true, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityPartition getInPartition(String name) {
+ return getInPartition(name, false);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityPartition getInPartition(String name, boolean ignoreCase) {
+ inPartitionLoop : for (ActivityPartition inPartition : getInPartitions()) {
+ if (name != null && !(ignoreCase
+ ? name.equalsIgnoreCase(inPartition.getName())
+ : name.equals(inPartition.getName())))
+ continue inPartitionLoop;
+ return inPartition;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public StructuredActivityNode getInStructuredNode() {
+ return (StructuredActivityNode) eDynamicGet(
+ UMLPackage.ACTIVITY_EDGE__IN_STRUCTURED_NODE
+ - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY_EDGE__IN_STRUCTURED_NODE, true, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public StructuredActivityNode basicGetInStructuredNode() {
+ return (StructuredActivityNode) eDynamicGet(
+ UMLPackage.ACTIVITY_EDGE__IN_STRUCTURED_NODE
+ - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY_EDGE__IN_STRUCTURED_NODE, false, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetInStructuredNode(
+ StructuredActivityNode newInStructuredNode,
+ NotificationChain msgs) {
+ msgs = eBasicSetContainer((InternalEObject) newInStructuredNode,
+ UMLPackage.ACTIVITY_EDGE__IN_STRUCTURED_NODE, msgs);
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setInStructuredNode(
+ StructuredActivityNode newInStructuredNode) {
+ eDynamicSet(
+ UMLPackage.ACTIVITY_EDGE__IN_STRUCTURED_NODE
+ - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY_EDGE__IN_STRUCTURED_NODE,
+ newInStructuredNode);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityNode getTarget() {
+ return (ActivityNode) eDynamicGet(
+ UMLPackage.ACTIVITY_EDGE__TARGET - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY_EDGE__TARGET, true, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityNode basicGetTarget() {
+ return (ActivityNode) eDynamicGet(
+ UMLPackage.ACTIVITY_EDGE__TARGET - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY_EDGE__TARGET, false, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetTarget(ActivityNode newTarget,
+ NotificationChain msgs) {
+ msgs = eDynamicInverseAdd((InternalEObject) newTarget,
+ UMLPackage.ACTIVITY_EDGE__TARGET, msgs);
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTarget(ActivityNode newTarget) {
+ eDynamicSet(UMLPackage.ACTIVITY_EDGE__TARGET - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY_EDGE__TARGET, newTarget);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ public EList<ActivityEdge> getRedefinedEdges() {
+ return (EList<ActivityEdge>) eDynamicGet(
+ UMLPackage.ACTIVITY_EDGE__REDEFINED_EDGE - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY_EDGE__REDEFINED_EDGE, true, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityEdge getRedefinedEdge(String name) {
+ return getRedefinedEdge(name, false, null);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityEdge getRedefinedEdge(String name, boolean ignoreCase,
+ EClass eClass) {
+ redefinedEdgeLoop : for (ActivityEdge redefinedEdge : getRedefinedEdges()) {
+ if (eClass != null && !eClass.isInstance(redefinedEdge))
+ continue redefinedEdgeLoop;
+ if (name != null && !(ignoreCase
+ ? name.equalsIgnoreCase(redefinedEdge.getName())
+ : name.equals(redefinedEdge.getName())))
+ continue redefinedEdgeLoop;
+ return redefinedEdge;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ValueSpecification getGuard() {
+ return (ValueSpecification) eDynamicGet(
+ UMLPackage.ACTIVITY_EDGE__GUARD - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY_EDGE__GUARD, true, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ValueSpecification basicGetGuard() {
+ return (ValueSpecification) eDynamicGet(
+ UMLPackage.ACTIVITY_EDGE__GUARD - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY_EDGE__GUARD, false, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetGuard(ValueSpecification newGuard,
+ NotificationChain msgs) {
+ msgs = eDynamicInverseAdd((InternalEObject) newGuard,
+ UMLPackage.ACTIVITY_EDGE__GUARD, msgs);
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setGuard(ValueSpecification newGuard) {
+ eDynamicSet(UMLPackage.ACTIVITY_EDGE__GUARD - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY_EDGE__GUARD, newGuard);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ValueSpecification createGuard(String name, Type type,
+ EClass eClass) {
+ ValueSpecification newGuard = (ValueSpecification) create(eClass);
+ setGuard(newGuard);
+ if (name != null)
+ newGuard.setName(name);
+ if (type != null)
+ newGuard.setType(type);
+ return newGuard;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ValueSpecification getWeight() {
+ return (ValueSpecification) eDynamicGet(
+ UMLPackage.ACTIVITY_EDGE__WEIGHT - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY_EDGE__WEIGHT, true, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ValueSpecification basicGetWeight() {
+ return (ValueSpecification) eDynamicGet(
+ UMLPackage.ACTIVITY_EDGE__WEIGHT - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY_EDGE__WEIGHT, false, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetWeight(ValueSpecification newWeight,
+ NotificationChain msgs) {
+ msgs = eDynamicInverseAdd((InternalEObject) newWeight,
+ UMLPackage.ACTIVITY_EDGE__WEIGHT, msgs);
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setWeight(ValueSpecification newWeight) {
+ eDynamicSet(UMLPackage.ACTIVITY_EDGE__WEIGHT - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY_EDGE__WEIGHT, newWeight);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ValueSpecification createWeight(String name, Type type,
+ EClass eClass) {
+ ValueSpecification newWeight = (ValueSpecification) create(eClass);
+ setWeight(newWeight);
+ if (name != null)
+ newWeight.setName(name);
+ if (type != null)
+ newWeight.setType(type);
+ return newWeight;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public InterruptibleActivityRegion getInterrupts() {
+ return (InterruptibleActivityRegion) eDynamicGet(
+ UMLPackage.ACTIVITY_EDGE__INTERRUPTS - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY_EDGE__INTERRUPTS, true, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public InterruptibleActivityRegion basicGetInterrupts() {
+ return (InterruptibleActivityRegion) eDynamicGet(
+ UMLPackage.ACTIVITY_EDGE__INTERRUPTS - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY_EDGE__INTERRUPTS, false, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetInterrupts(
+ InterruptibleActivityRegion newInterrupts, NotificationChain msgs) {
+ msgs = eDynamicInverseAdd((InternalEObject) newInterrupts,
+ UMLPackage.ACTIVITY_EDGE__INTERRUPTS, msgs);
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setInterrupts(InterruptibleActivityRegion newInterrupts) {
+ eDynamicSet(
+ UMLPackage.ACTIVITY_EDGE__INTERRUPTS - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY_EDGE__INTERRUPTS, newInterrupts);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityNode getSource() {
+ return (ActivityNode) eDynamicGet(
+ UMLPackage.ACTIVITY_EDGE__SOURCE - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY_EDGE__SOURCE, true, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityNode basicGetSource() {
+ return (ActivityNode) eDynamicGet(
+ UMLPackage.ACTIVITY_EDGE__SOURCE - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY_EDGE__SOURCE, false, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetSource(ActivityNode newSource,
+ NotificationChain msgs) {
+ msgs = eDynamicInverseAdd((InternalEObject) newSource,
+ UMLPackage.ACTIVITY_EDGE__SOURCE, msgs);
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSource(ActivityNode newSource) {
+ eDynamicSet(UMLPackage.ACTIVITY_EDGE__SOURCE - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY_EDGE__SOURCE, newSource);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateSourceAndTarget(DiagnosticChain diagnostics,
+ Map<Object, Object> context) {
+ return ActivityEdgeOperations.validateSourceAndTarget(this, diagnostics,
+ context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean isConsistentWith(RedefinableElement redefiningElement) {
+ return ActivityEdgeOperations.isConsistentWith(this, redefiningElement);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public NotificationChain eInverseAdd(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case UMLPackage.ACTIVITY_EDGE__EANNOTATIONS :
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getEAnnotations())
+ .basicAdd(otherEnd, msgs);
+ case UMLPackage.ACTIVITY_EDGE__ACTIVITY :
+ if (eInternalContainer() != null)
+ msgs = eBasicRemoveFromContainer(msgs);
+ return basicSetActivity((Activity) otherEnd, msgs);
+ case UMLPackage.ACTIVITY_EDGE__IN_PARTITION :
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getInPartitions())
+ .basicAdd(otherEnd, msgs);
+ case UMLPackage.ACTIVITY_EDGE__INTERRUPTS :
+ InterruptibleActivityRegion interrupts = basicGetInterrupts();
+ if (interrupts != null)
+ msgs = ((InternalEObject) interrupts).eInverseRemove(this,
+ UMLPackage.INTERRUPTIBLE_ACTIVITY_REGION__INTERRUPTING_EDGE,
+ InterruptibleActivityRegion.class, msgs);
+ return basicSetInterrupts(
+ (InterruptibleActivityRegion) otherEnd, msgs);
+ case UMLPackage.ACTIVITY_EDGE__IN_STRUCTURED_NODE :
+ if (eInternalContainer() != null)
+ msgs = eBasicRemoveFromContainer(msgs);
+ return basicSetInStructuredNode(
+ (StructuredActivityNode) otherEnd, msgs);
+ case UMLPackage.ACTIVITY_EDGE__TARGET :
+ ActivityNode target = basicGetTarget();
+ if (target != null)
+ msgs = ((InternalEObject) target).eInverseRemove(this,
+ UMLPackage.ACTIVITY_NODE__INCOMING, ActivityNode.class,
+ msgs);
+ return basicSetTarget((ActivityNode) otherEnd, msgs);
+ case UMLPackage.ACTIVITY_EDGE__SOURCE :
+ ActivityNode source = basicGetSource();
+ if (source != null)
+ msgs = ((InternalEObject) source).eInverseRemove(this,
+ UMLPackage.ACTIVITY_NODE__OUTGOING, ActivityNode.class,
+ msgs);
+ return basicSetSource((ActivityNode) otherEnd, msgs);
+ }
+ return eDynamicInverseAdd(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case UMLPackage.ACTIVITY_EDGE__EANNOTATIONS :
+ return ((InternalEList<?>) getEAnnotations())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACTIVITY_EDGE__OWNED_COMMENT :
+ return ((InternalEList<?>) getOwnedComments())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACTIVITY_EDGE__NAME_EXPRESSION :
+ return basicSetNameExpression(null, msgs);
+ case UMLPackage.ACTIVITY_EDGE__ACTIVITY :
+ return basicSetActivity(null, msgs);
+ case UMLPackage.ACTIVITY_EDGE__GUARD :
+ return basicSetGuard(null, msgs);
+ case UMLPackage.ACTIVITY_EDGE__IN_PARTITION :
+ return ((InternalEList<?>) getInPartitions())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACTIVITY_EDGE__INTERRUPTS :
+ return basicSetInterrupts(null, msgs);
+ case UMLPackage.ACTIVITY_EDGE__IN_STRUCTURED_NODE :
+ return basicSetInStructuredNode(null, msgs);
+ case UMLPackage.ACTIVITY_EDGE__TARGET :
+ return basicSetTarget(null, msgs);
+ case UMLPackage.ACTIVITY_EDGE__SOURCE :
+ return basicSetSource(null, msgs);
+ case UMLPackage.ACTIVITY_EDGE__WEIGHT :
+ return basicSetWeight(null, msgs);
+ }
+ return eDynamicInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eBasicRemoveFromContainerFeature(
+ NotificationChain msgs) {
+ switch (eContainerFeatureID()) {
+ case UMLPackage.ACTIVITY_EDGE__ACTIVITY :
+ return eInternalContainer().eInverseRemove(this,
+ UMLPackage.ACTIVITY__EDGE, Activity.class, msgs);
+ case UMLPackage.ACTIVITY_EDGE__IN_STRUCTURED_NODE :
+ return eInternalContainer().eInverseRemove(this,
+ UMLPackage.STRUCTURED_ACTIVITY_NODE__EDGE,
+ StructuredActivityNode.class, msgs);
+ }
+ return eDynamicBasicRemoveFromContainer(msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case UMLPackage.ACTIVITY_EDGE__EANNOTATIONS :
+ return getEAnnotations();
+ case UMLPackage.ACTIVITY_EDGE__OWNED_COMMENT :
+ return getOwnedComments();
+ case UMLPackage.ACTIVITY_EDGE__OWNED_ELEMENT :
+ return getOwnedElements();
+ case UMLPackage.ACTIVITY_EDGE__OWNER :
+ if (resolve)
+ return getOwner();
+ return basicGetOwner();
+ case UMLPackage.ACTIVITY_EDGE__CLIENT_DEPENDENCY :
+ return getClientDependencies();
+ case UMLPackage.ACTIVITY_EDGE__NAME :
+ return getName();
+ case UMLPackage.ACTIVITY_EDGE__NAME_EXPRESSION :
+ if (resolve)
+ return getNameExpression();
+ return basicGetNameExpression();
+ case UMLPackage.ACTIVITY_EDGE__NAMESPACE :
+ if (resolve)
+ return getNamespace();
+ return basicGetNamespace();
+ case UMLPackage.ACTIVITY_EDGE__QUALIFIED_NAME :
+ return getQualifiedName();
+ case UMLPackage.ACTIVITY_EDGE__VISIBILITY :
+ return getVisibility();
+ case UMLPackage.ACTIVITY_EDGE__IS_LEAF :
+ return isLeaf();
+ case UMLPackage.ACTIVITY_EDGE__REDEFINED_ELEMENT :
+ return getRedefinedElements();
+ case UMLPackage.ACTIVITY_EDGE__REDEFINITION_CONTEXT :
+ return getRedefinitionContexts();
+ case UMLPackage.ACTIVITY_EDGE__ACTIVITY :
+ if (resolve)
+ return getActivity();
+ return basicGetActivity();
+ case UMLPackage.ACTIVITY_EDGE__GUARD :
+ if (resolve)
+ return getGuard();
+ return basicGetGuard();
+ case UMLPackage.ACTIVITY_EDGE__IN_PARTITION :
+ return getInPartitions();
+ case UMLPackage.ACTIVITY_EDGE__INTERRUPTS :
+ if (resolve)
+ return getInterrupts();
+ return basicGetInterrupts();
+ case UMLPackage.ACTIVITY_EDGE__IN_STRUCTURED_NODE :
+ if (resolve)
+ return getInStructuredNode();
+ return basicGetInStructuredNode();
+ case UMLPackage.ACTIVITY_EDGE__TARGET :
+ if (resolve)
+ return getTarget();
+ return basicGetTarget();
+ case UMLPackage.ACTIVITY_EDGE__SOURCE :
+ if (resolve)
+ return getSource();
+ return basicGetSource();
+ case UMLPackage.ACTIVITY_EDGE__REDEFINED_EDGE :
+ return getRedefinedEdges();
+ case UMLPackage.ACTIVITY_EDGE__WEIGHT :
+ if (resolve)
+ return getWeight();
+ return basicGetWeight();
+ case UMLPackage.ACTIVITY_EDGE__IN_GROUP :
+ return getInGroups();
+ }
+ return eDynamicGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case UMLPackage.ACTIVITY_EDGE__EANNOTATIONS :
+ getEAnnotations().clear();
+ getEAnnotations()
+ .addAll((Collection<? extends EAnnotation>) newValue);
+ return;
+ case UMLPackage.ACTIVITY_EDGE__OWNED_COMMENT :
+ getOwnedComments().clear();
+ getOwnedComments()
+ .addAll((Collection<? extends Comment>) newValue);
+ return;
+ case UMLPackage.ACTIVITY_EDGE__NAME :
+ setName((String) newValue);
+ return;
+ case UMLPackage.ACTIVITY_EDGE__NAME_EXPRESSION :
+ setNameExpression((StringExpression) newValue);
+ return;
+ case UMLPackage.ACTIVITY_EDGE__VISIBILITY :
+ setVisibility((VisibilityKind) newValue);
+ return;
+ case UMLPackage.ACTIVITY_EDGE__IS_LEAF :
+ setIsLeaf((Boolean) newValue);
+ return;
+ case UMLPackage.ACTIVITY_EDGE__ACTIVITY :
+ setActivity((Activity) newValue);
+ return;
+ case UMLPackage.ACTIVITY_EDGE__GUARD :
+ setGuard((ValueSpecification) newValue);
+ return;
+ case UMLPackage.ACTIVITY_EDGE__IN_PARTITION :
+ getInPartitions().clear();
+ getInPartitions()
+ .addAll((Collection<? extends ActivityPartition>) newValue);
+ return;
+ case UMLPackage.ACTIVITY_EDGE__INTERRUPTS :
+ setInterrupts((InterruptibleActivityRegion) newValue);
+ return;
+ case UMLPackage.ACTIVITY_EDGE__IN_STRUCTURED_NODE :
+ setInStructuredNode((StructuredActivityNode) newValue);
+ return;
+ case UMLPackage.ACTIVITY_EDGE__TARGET :
+ setTarget((ActivityNode) newValue);
+ return;
+ case UMLPackage.ACTIVITY_EDGE__SOURCE :
+ setSource((ActivityNode) newValue);
+ return;
+ case UMLPackage.ACTIVITY_EDGE__REDEFINED_EDGE :
+ getRedefinedEdges().clear();
+ getRedefinedEdges()
+ .addAll((Collection<? extends ActivityEdge>) newValue);
+ return;
+ case UMLPackage.ACTIVITY_EDGE__WEIGHT :
+ setWeight((ValueSpecification) newValue);
+ return;
+ }
+ eDynamicSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case UMLPackage.ACTIVITY_EDGE__EANNOTATIONS :
+ getEAnnotations().clear();
+ return;
+ case UMLPackage.ACTIVITY_EDGE__OWNED_COMMENT :
+ getOwnedComments().clear();
+ return;
+ case UMLPackage.ACTIVITY_EDGE__NAME :
+ unsetName();
+ return;
+ case UMLPackage.ACTIVITY_EDGE__NAME_EXPRESSION :
+ setNameExpression((StringExpression) null);
+ return;
+ case UMLPackage.ACTIVITY_EDGE__VISIBILITY :
+ unsetVisibility();
+ return;
+ case UMLPackage.ACTIVITY_EDGE__IS_LEAF :
+ setIsLeaf(IS_LEAF_EDEFAULT);
+ return;
+ case UMLPackage.ACTIVITY_EDGE__ACTIVITY :
+ setActivity((Activity) null);
+ return;
+ case UMLPackage.ACTIVITY_EDGE__GUARD :
+ setGuard((ValueSpecification) null);
+ return;
+ case UMLPackage.ACTIVITY_EDGE__IN_PARTITION :
+ getInPartitions().clear();
+ return;
+ case UMLPackage.ACTIVITY_EDGE__INTERRUPTS :
+ setInterrupts((InterruptibleActivityRegion) null);
+ return;
+ case UMLPackage.ACTIVITY_EDGE__IN_STRUCTURED_NODE :
+ setInStructuredNode((StructuredActivityNode) null);
+ return;
+ case UMLPackage.ACTIVITY_EDGE__TARGET :
+ setTarget((ActivityNode) null);
+ return;
+ case UMLPackage.ACTIVITY_EDGE__SOURCE :
+ setSource((ActivityNode) null);
+ return;
+ case UMLPackage.ACTIVITY_EDGE__REDEFINED_EDGE :
+ getRedefinedEdges().clear();
+ return;
+ case UMLPackage.ACTIVITY_EDGE__WEIGHT :
+ setWeight((ValueSpecification) null);
+ return;
+ }
+ eDynamicUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case UMLPackage.ACTIVITY_EDGE__EANNOTATIONS :
+ return !getEAnnotations().isEmpty();
+ case UMLPackage.ACTIVITY_EDGE__OWNED_COMMENT :
+ return !getOwnedComments().isEmpty();
+ case UMLPackage.ACTIVITY_EDGE__OWNED_ELEMENT :
+ return isSetOwnedElements();
+ case UMLPackage.ACTIVITY_EDGE__OWNER :
+ return isSetOwner();
+ case UMLPackage.ACTIVITY_EDGE__CLIENT_DEPENDENCY :
+ return !getClientDependencies().isEmpty();
+ case UMLPackage.ACTIVITY_EDGE__NAME :
+ return isSetName();
+ case UMLPackage.ACTIVITY_EDGE__NAME_EXPRESSION :
+ return basicGetNameExpression() != null;
+ case UMLPackage.ACTIVITY_EDGE__NAMESPACE :
+ return isSetNamespace();
+ case UMLPackage.ACTIVITY_EDGE__QUALIFIED_NAME :
+ return QUALIFIED_NAME_EDEFAULT == null
+ ? getQualifiedName() != null
+ : !QUALIFIED_NAME_EDEFAULT.equals(getQualifiedName());
+ case UMLPackage.ACTIVITY_EDGE__VISIBILITY :
+ return isSetVisibility();
+ case UMLPackage.ACTIVITY_EDGE__IS_LEAF :
+ return isLeaf() != IS_LEAF_EDEFAULT;
+ case UMLPackage.ACTIVITY_EDGE__REDEFINED_ELEMENT :
+ return isSetRedefinedElements();
+ case UMLPackage.ACTIVITY_EDGE__REDEFINITION_CONTEXT :
+ return isSetRedefinitionContexts();
+ case UMLPackage.ACTIVITY_EDGE__ACTIVITY :
+ return basicGetActivity() != null;
+ case UMLPackage.ACTIVITY_EDGE__GUARD :
+ return basicGetGuard() != null;
+ case UMLPackage.ACTIVITY_EDGE__IN_PARTITION :
+ return !getInPartitions().isEmpty();
+ case UMLPackage.ACTIVITY_EDGE__INTERRUPTS :
+ return basicGetInterrupts() != null;
+ case UMLPackage.ACTIVITY_EDGE__IN_STRUCTURED_NODE :
+ return basicGetInStructuredNode() != null;
+ case UMLPackage.ACTIVITY_EDGE__TARGET :
+ return basicGetTarget() != null;
+ case UMLPackage.ACTIVITY_EDGE__SOURCE :
+ return basicGetSource() != null;
+ case UMLPackage.ACTIVITY_EDGE__REDEFINED_EDGE :
+ return !getRedefinedEdges().isEmpty();
+ case UMLPackage.ACTIVITY_EDGE__WEIGHT :
+ return basicGetWeight() != null;
+ case UMLPackage.ACTIVITY_EDGE__IN_GROUP :
+ return isSetInGroups();
+ }
+ return eDynamicIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ @SuppressWarnings("unchecked")
+ public Object eInvoke(int operationID, EList<?> arguments)
+ throws InvocationTargetException {
+ switch (operationID) {
+ case UMLPackage.ACTIVITY_EDGE___GET_EANNOTATION__STRING :
+ return getEAnnotation((String) arguments.get(0));
+ case UMLPackage.ACTIVITY_EDGE___VALIDATE_HAS_OWNER__DIAGNOSTICCHAIN_MAP :
+ return validateHasOwner((DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY_EDGE___VALIDATE_NOT_OWN_SELF__DIAGNOSTICCHAIN_MAP :
+ return validateNotOwnSelf((DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY_EDGE___ADD_KEYWORD__STRING :
+ return addKeyword((String) arguments.get(0));
+ case UMLPackage.ACTIVITY_EDGE___APPLY_STEREOTYPE__STEREOTYPE :
+ return applyStereotype((Stereotype) arguments.get(0));
+ case UMLPackage.ACTIVITY_EDGE___CREATE_EANNOTATION__STRING :
+ return createEAnnotation((String) arguments.get(0));
+ case UMLPackage.ACTIVITY_EDGE___DESTROY :
+ destroy();
+ return null;
+ case UMLPackage.ACTIVITY_EDGE___GET_KEYWORDS :
+ return getKeywords();
+ case UMLPackage.ACTIVITY_EDGE___GET_APPLICABLE_STEREOTYPE__STRING :
+ return getApplicableStereotype((String) arguments.get(0));
+ case UMLPackage.ACTIVITY_EDGE___GET_APPLICABLE_STEREOTYPES :
+ return getApplicableStereotypes();
+ case UMLPackage.ACTIVITY_EDGE___GET_APPLIED_STEREOTYPE__STRING :
+ return getAppliedStereotype((String) arguments.get(0));
+ case UMLPackage.ACTIVITY_EDGE___GET_APPLIED_STEREOTYPES :
+ return getAppliedStereotypes();
+ case UMLPackage.ACTIVITY_EDGE___GET_APPLIED_SUBSTEREOTYPE__STEREOTYPE_STRING :
+ return getAppliedSubstereotype((Stereotype) arguments.get(0),
+ (String) arguments.get(1));
+ case UMLPackage.ACTIVITY_EDGE___GET_APPLIED_SUBSTEREOTYPES__STEREOTYPE :
+ return getAppliedSubstereotypes((Stereotype) arguments.get(0));
+ case UMLPackage.ACTIVITY_EDGE___GET_MODEL :
+ return getModel();
+ case UMLPackage.ACTIVITY_EDGE___GET_NEAREST_PACKAGE :
+ return getNearestPackage();
+ case UMLPackage.ACTIVITY_EDGE___GET_RELATIONSHIPS :
+ return getRelationships();
+ case UMLPackage.ACTIVITY_EDGE___GET_RELATIONSHIPS__ECLASS :
+ return getRelationships((EClass) arguments.get(0));
+ case UMLPackage.ACTIVITY_EDGE___GET_REQUIRED_STEREOTYPE__STRING :
+ return getRequiredStereotype((String) arguments.get(0));
+ case UMLPackage.ACTIVITY_EDGE___GET_REQUIRED_STEREOTYPES :
+ return getRequiredStereotypes();
+ case UMLPackage.ACTIVITY_EDGE___GET_SOURCE_DIRECTED_RELATIONSHIPS :
+ return getSourceDirectedRelationships();
+ case UMLPackage.ACTIVITY_EDGE___GET_SOURCE_DIRECTED_RELATIONSHIPS__ECLASS :
+ return getSourceDirectedRelationships(
+ (EClass) arguments.get(0));
+ case UMLPackage.ACTIVITY_EDGE___GET_STEREOTYPE_APPLICATION__STEREOTYPE :
+ return getStereotypeApplication((Stereotype) arguments.get(0));
+ case UMLPackage.ACTIVITY_EDGE___GET_STEREOTYPE_APPLICATIONS :
+ return getStereotypeApplications();
+ case UMLPackage.ACTIVITY_EDGE___GET_TARGET_DIRECTED_RELATIONSHIPS :
+ return getTargetDirectedRelationships();
+ case UMLPackage.ACTIVITY_EDGE___GET_TARGET_DIRECTED_RELATIONSHIPS__ECLASS :
+ return getTargetDirectedRelationships(
+ (EClass) arguments.get(0));
+ case UMLPackage.ACTIVITY_EDGE___GET_VALUE__STEREOTYPE_STRING :
+ return getValue((Stereotype) arguments.get(0),
+ (String) arguments.get(1));
+ case UMLPackage.ACTIVITY_EDGE___HAS_KEYWORD__STRING :
+ return hasKeyword((String) arguments.get(0));
+ case UMLPackage.ACTIVITY_EDGE___HAS_VALUE__STEREOTYPE_STRING :
+ return hasValue((Stereotype) arguments.get(0),
+ (String) arguments.get(1));
+ case UMLPackage.ACTIVITY_EDGE___IS_STEREOTYPE_APPLICABLE__STEREOTYPE :
+ return isStereotypeApplicable((Stereotype) arguments.get(0));
+ case UMLPackage.ACTIVITY_EDGE___IS_STEREOTYPE_APPLIED__STEREOTYPE :
+ return isStereotypeApplied((Stereotype) arguments.get(0));
+ case UMLPackage.ACTIVITY_EDGE___IS_STEREOTYPE_REQUIRED__STEREOTYPE :
+ return isStereotypeRequired((Stereotype) arguments.get(0));
+ case UMLPackage.ACTIVITY_EDGE___REMOVE_KEYWORD__STRING :
+ return removeKeyword((String) arguments.get(0));
+ case UMLPackage.ACTIVITY_EDGE___SET_VALUE__STEREOTYPE_STRING_OBJECT :
+ setValue((Stereotype) arguments.get(0),
+ (String) arguments.get(1), arguments.get(2));
+ return null;
+ case UMLPackage.ACTIVITY_EDGE___UNAPPLY_STEREOTYPE__STEREOTYPE :
+ return unapplyStereotype((Stereotype) arguments.get(0));
+ case UMLPackage.ACTIVITY_EDGE___ALL_OWNED_ELEMENTS :
+ return allOwnedElements();
+ case UMLPackage.ACTIVITY_EDGE___MUST_BE_OWNED :
+ return mustBeOwned();
+ case UMLPackage.ACTIVITY_EDGE___VALIDATE_VISIBILITY_NEEDS_OWNERSHIP__DIAGNOSTICCHAIN_MAP :
+ return validateVisibilityNeedsOwnership(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY_EDGE___VALIDATE_HAS_QUALIFIED_NAME__DIAGNOSTICCHAIN_MAP :
+ return validateHasQualifiedName(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY_EDGE___VALIDATE_HAS_NO_QUALIFIED_NAME__DIAGNOSTICCHAIN_MAP :
+ return validateHasNoQualifiedName(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY_EDGE___CREATE_DEPENDENCY__NAMEDELEMENT :
+ return createDependency((NamedElement) arguments.get(0));
+ case UMLPackage.ACTIVITY_EDGE___CREATE_USAGE__NAMEDELEMENT :
+ return createUsage((NamedElement) arguments.get(0));
+ case UMLPackage.ACTIVITY_EDGE___GET_LABEL :
+ return getLabel();
+ case UMLPackage.ACTIVITY_EDGE___GET_LABEL__BOOLEAN :
+ return getLabel((Boolean) arguments.get(0));
+ case UMLPackage.ACTIVITY_EDGE___GET_NAMESPACE :
+ return getNamespace();
+ case UMLPackage.ACTIVITY_EDGE___ALL_NAMESPACES :
+ return allNamespaces();
+ case UMLPackage.ACTIVITY_EDGE___ALL_OWNING_PACKAGES :
+ return allOwningPackages();
+ case UMLPackage.ACTIVITY_EDGE___IS_DISTINGUISHABLE_FROM__NAMEDELEMENT_NAMESPACE :
+ return isDistinguishableFrom((NamedElement) arguments.get(0),
+ (Namespace) arguments.get(1));
+ case UMLPackage.ACTIVITY_EDGE___GET_QUALIFIED_NAME :
+ return getQualifiedName();
+ case UMLPackage.ACTIVITY_EDGE___SEPARATOR :
+ return separator();
+ case UMLPackage.ACTIVITY_EDGE___GET_CLIENT_DEPENDENCIES :
+ return getClientDependencies();
+ case UMLPackage.ACTIVITY_EDGE___VALIDATE_REDEFINITION_CONSISTENT__DIAGNOSTICCHAIN_MAP :
+ return validateRedefinitionConsistent(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY_EDGE___VALIDATE_NON_LEAF_REDEFINITION__DIAGNOSTICCHAIN_MAP :
+ return validateNonLeafRedefinition(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY_EDGE___VALIDATE_REDEFINITION_CONTEXT_VALID__DIAGNOSTICCHAIN_MAP :
+ return validateRedefinitionContextValid(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY_EDGE___IS_CONSISTENT_WITH__REDEFINABLEELEMENT :
+ return isConsistentWith((RedefinableElement) arguments.get(0));
+ case UMLPackage.ACTIVITY_EDGE___IS_REDEFINITION_CONTEXT_VALID__REDEFINABLEELEMENT :
+ return isRedefinitionContextValid(
+ (RedefinableElement) arguments.get(0));
+ case UMLPackage.ACTIVITY_EDGE___VALIDATE_SOURCE_AND_TARGET__DIAGNOSTICCHAIN_MAP :
+ return validateSourceAndTarget(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ }
+ return eDynamicInvoke(operationID, arguments);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Element basicGetOwner() {
+ Activity activity = basicGetActivity();
+ if (activity != null) {
+ return activity;
+ }
+ StructuredActivityNode inStructuredNode = basicGetInStructuredNode();
+ if (inStructuredNode != null) {
+ return inStructuredNode;
+ }
+ return super.basicGetOwner();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean isSetOwner() {
+ return super.isSetOwner() || eIsSet(UMLPackage.ACTIVITY_EDGE__ACTIVITY)
+ || eIsSet(UMLPackage.ACTIVITY_EDGE__IN_STRUCTURED_NODE);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetInGroups() {
+ return eIsSet(UMLPackage.ACTIVITY_EDGE__IN_PARTITION)
+ || eIsSet(UMLPackage.ACTIVITY_EDGE__IN_STRUCTURED_NODE);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean isSetRedefinedElements() {
+ return super.isSetRedefinedElements()
+ || eIsSet(UMLPackage.ACTIVITY_EDGE__REDEFINED_EDGE);
+ }
+
+ /**
+ * The array of subset feature identifiers for the '{@link #getOwnedElements() <em>Owned Element</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOwnedElements()
+ * @generated
+ * @ordered
+ */
+ protected static final int[] OWNED_ELEMENT_ESUBSETS = new int[]{
+ UMLPackage.ACTIVITY_EDGE__OWNED_COMMENT,
+ UMLPackage.ACTIVITY_EDGE__NAME_EXPRESSION,
+ UMLPackage.ACTIVITY_EDGE__GUARD, UMLPackage.ACTIVITY_EDGE__WEIGHT};
+
+ /**
+ * The array of subset feature identifiers for the '{@link #getInGroups() <em>In Group</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getInGroups()
+ * @generated
+ * @ordered
+ */
+ protected static final int[] IN_GROUP_ESUBSETS = new int[]{
+ UMLPackage.ACTIVITY_EDGE__IN_PARTITION,
+ UMLPackage.ACTIVITY_EDGE__IN_STRUCTURED_NODE};
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityGroup getInGroup(String name) {
+ return getInGroup(name, false, null);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityGroup getInGroup(String name, boolean ignoreCase,
+ EClass eClass) {
+ inGroupLoop : for (ActivityGroup inGroup : getInGroups()) {
+ if (eClass != null && !eClass.isInstance(inGroup))
+ continue inGroupLoop;
+ if (name != null && !(ignoreCase
+ ? name.equalsIgnoreCase(inGroup.getName())
+ : name.equals(inGroup.getName())))
+ continue inGroupLoop;
+ return inGroup;
+ }
+ return null;
+ }
+
+ /**
+ * The array of subset feature identifiers for the '{@link #getRedefinedElements() <em>Redefined Element</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRedefinedElements()
+ * @generated
+ * @ordered
+ */
+ protected static final int[] REDEFINED_ELEMENT_ESUBSETS = new int[]{
+ UMLPackage.ACTIVITY_EDGE__REDEFINED_EDGE};
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Element getOwner() {
+ Element owner = basicGetOwner();
+ return owner != null && owner.eIsProxy()
+ ? (Element) eResolveProxy((InternalEObject) owner)
+ : owner;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean isSetOwnedElements() {
+ return super.isSetOwnedElements()
+ || eIsSet(UMLPackage.ACTIVITY_EDGE__GUARD)
+ || eIsSet(UMLPackage.ACTIVITY_EDGE__WEIGHT);
+ }
+
+} //ActivityEdgeImpl
diff --git a/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ActivityFinalNodeImpl.java b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ActivityFinalNodeImpl.java
new file mode 100644
index 0000000..b1e7b10
--- /dev/null
+++ b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ActivityFinalNodeImpl.java
@@ -0,0 +1,50 @@
+/*
+ * Copyright (c) 2005, 2015 IBM Corporation, CEA, 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:
+ * IBM - initial API and implementation
+ * Kenn Hussey (CEA) - 451350
+ *
+ */
+package org.eclipse.uml2.uml.cdo.internal.impl;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.uml2.uml.ActivityFinalNode;
+import org.eclipse.uml2.uml.UMLPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Activity Final Node</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+public class ActivityFinalNodeImpl
+ extends FinalNodeImpl
+ implements ActivityFinalNode {
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ActivityFinalNodeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return UMLPackage.Literals.ACTIVITY_FINAL_NODE;
+ }
+
+} //ActivityFinalNodeImpl
diff --git a/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ActivityGroupImpl.java b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ActivityGroupImpl.java
new file mode 100644
index 0000000..567e42b
--- /dev/null
+++ b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ActivityGroupImpl.java
@@ -0,0 +1,834 @@
+/*
+ * Copyright (c) 2005, 2016 IBM Corporation, CEA, 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:
+ * IBM - initial API and implementation
+ * Kenn Hussey - 286329, 323181
+ * Kenn Hussey (CEA) - 327039, 351774, 418466, 451350, 465214, 485756
+ *
+ */
+package org.eclipse.uml2.uml.cdo.internal.impl;
+
+import java.lang.reflect.InvocationTargetException;
+import java.util.Collection;
+import java.util.Map;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.DiagnosticChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EAnnotation;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.util.EcoreUtil;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.eclipse.uml2.common.util.CacheAdapter;
+import org.eclipse.uml2.common.util.DerivedUnionEObjectEList;
+
+import org.eclipse.uml2.uml.Activity;
+import org.eclipse.uml2.uml.ActivityContent;
+import org.eclipse.uml2.uml.ActivityEdge;
+import org.eclipse.uml2.uml.ActivityGroup;
+import org.eclipse.uml2.uml.ActivityNode;
+import org.eclipse.uml2.uml.Comment;
+import org.eclipse.uml2.uml.Element;
+import org.eclipse.uml2.uml.NamedElement;
+import org.eclipse.uml2.uml.Namespace;
+import org.eclipse.uml2.uml.Stereotype;
+import org.eclipse.uml2.uml.StringExpression;
+import org.eclipse.uml2.uml.UMLPackage;
+
+import org.eclipse.uml2.uml.VisibilityKind;
+import org.eclipse.uml2.uml.internal.operations.ActivityGroupOperations;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Activity Group</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * </p>
+ * <ul>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityGroupImpl#getContainedEdges <em>Contained Edge</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityGroupImpl#getContainedNodes <em>Contained Node</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityGroupImpl#getOwner <em>Owner</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityGroupImpl#getSubgroups <em>Subgroup</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityGroupImpl#getOwnedElements <em>Owned Element</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityGroupImpl#getSuperGroup <em>Super Group</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityGroupImpl#getInActivity <em>In Activity</em>}</li>
+ * </ul>
+ *
+ * @generated
+ */
+public abstract class ActivityGroupImpl
+ extends NamedElementImpl
+ implements ActivityGroup {
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ActivityGroupImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return UMLPackage.Literals.ACTIVITY_GROUP;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<ActivityGroup> getSubgroups() {
+ CacheAdapter cache = getCacheAdapter();
+ if (cache != null) {
+ Resource eResource = eResource();
+ @SuppressWarnings("unchecked")
+ EList<ActivityGroup> subgroups = (EList<ActivityGroup>) cache.get(
+ eResource, this, UMLPackage.Literals.ACTIVITY_GROUP__SUBGROUP);
+ if (subgroups == null) {
+ cache.put(eResource, this,
+ UMLPackage.Literals.ACTIVITY_GROUP__SUBGROUP,
+ subgroups = new DerivedUnionEObjectEList<ActivityGroup>(
+ ActivityGroup.class, this,
+ UMLPackage.ACTIVITY_GROUP__SUBGROUP, null));
+ }
+ return subgroups;
+ }
+ return new DerivedUnionEObjectEList<ActivityGroup>(ActivityGroup.class,
+ this, UMLPackage.ACTIVITY_GROUP__SUBGROUP, null);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityGroup getSubgroup(String name) {
+ return getSubgroup(name, false, null);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityGroup getSubgroup(String name, boolean ignoreCase,
+ EClass eClass) {
+ subgroupLoop : for (ActivityGroup subgroup : getSubgroups()) {
+ if (eClass != null && !eClass.isInstance(subgroup))
+ continue subgroupLoop;
+ if (name != null && !(ignoreCase
+ ? name.equalsIgnoreCase(subgroup.getName())
+ : name.equals(subgroup.getName())))
+ continue subgroupLoop;
+ return subgroup;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EList<Element> getOwnedElements() {
+ CacheAdapter cache = getCacheAdapter();
+ if (cache != null) {
+ Resource eResource = eResource();
+ @SuppressWarnings("unchecked")
+ EList<Element> ownedElements = (EList<Element>) cache.get(eResource,
+ this, UMLPackage.Literals.ELEMENT__OWNED_ELEMENT);
+ if (ownedElements == null) {
+ cache.put(eResource, this,
+ UMLPackage.Literals.ELEMENT__OWNED_ELEMENT,
+ ownedElements = new DerivedUnionEObjectEList<Element>(
+ Element.class, this,
+ UMLPackage.ACTIVITY_GROUP__OWNED_ELEMENT,
+ OWNED_ELEMENT_ESUBSETS));
+ }
+ return ownedElements;
+ }
+ return new DerivedUnionEObjectEList<Element>(Element.class, this,
+ UMLPackage.ACTIVITY_GROUP__OWNED_ELEMENT, OWNED_ELEMENT_ESUBSETS);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<ActivityNode> getContainedNodes() {
+ CacheAdapter cache = getCacheAdapter();
+ if (cache != null) {
+ Resource eResource = eResource();
+ @SuppressWarnings("unchecked")
+ EList<ActivityNode> containedNodes = (EList<ActivityNode>) cache
+ .get(eResource, this,
+ UMLPackage.Literals.ACTIVITY_GROUP__CONTAINED_NODE);
+ if (containedNodes == null) {
+ cache.put(eResource, this,
+ UMLPackage.Literals.ACTIVITY_GROUP__CONTAINED_NODE,
+ containedNodes = new DerivedUnionEObjectEList<ActivityNode>(
+ ActivityNode.class, this,
+ UMLPackage.ACTIVITY_GROUP__CONTAINED_NODE, null));
+ }
+ return containedNodes;
+ }
+ return new DerivedUnionEObjectEList<ActivityNode>(ActivityNode.class,
+ this, UMLPackage.ACTIVITY_GROUP__CONTAINED_NODE, null);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityNode getContainedNode(String name) {
+ return getContainedNode(name, false, null);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityNode getContainedNode(String name, boolean ignoreCase,
+ EClass eClass) {
+ containedNodeLoop : for (ActivityNode containedNode : getContainedNodes()) {
+ if (eClass != null && !eClass.isInstance(containedNode))
+ continue containedNodeLoop;
+ if (name != null && !(ignoreCase
+ ? name.equalsIgnoreCase(containedNode.getName())
+ : name.equals(containedNode.getName())))
+ continue containedNodeLoop;
+ return containedNode;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<ActivityEdge> getContainedEdges() {
+ CacheAdapter cache = getCacheAdapter();
+ if (cache != null) {
+ Resource eResource = eResource();
+ @SuppressWarnings("unchecked")
+ EList<ActivityEdge> containedEdges = (EList<ActivityEdge>) cache
+ .get(eResource, this,
+ UMLPackage.Literals.ACTIVITY_GROUP__CONTAINED_EDGE);
+ if (containedEdges == null) {
+ cache.put(eResource, this,
+ UMLPackage.Literals.ACTIVITY_GROUP__CONTAINED_EDGE,
+ containedEdges = new DerivedUnionEObjectEList<ActivityEdge>(
+ ActivityEdge.class, this,
+ UMLPackage.ACTIVITY_GROUP__CONTAINED_EDGE, null));
+ }
+ return containedEdges;
+ }
+ return new DerivedUnionEObjectEList<ActivityEdge>(ActivityEdge.class,
+ this, UMLPackage.ACTIVITY_GROUP__CONTAINED_EDGE, null);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityEdge getContainedEdge(String name) {
+ return getContainedEdge(name, false, null);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityEdge getContainedEdge(String name, boolean ignoreCase,
+ EClass eClass) {
+ containedEdgeLoop : for (ActivityEdge containedEdge : getContainedEdges()) {
+ if (eClass != null && !eClass.isInstance(containedEdge))
+ continue containedEdgeLoop;
+ if (name != null && !(ignoreCase
+ ? name.equalsIgnoreCase(containedEdge.getName())
+ : name.equals(containedEdge.getName())))
+ continue containedEdgeLoop;
+ return containedEdge;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Activity getInActivity() {
+ Activity inActivity = basicGetInActivity();
+ return inActivity != null && inActivity.eIsProxy()
+ ? (Activity) eResolveProxy((InternalEObject) inActivity)
+ : inActivity;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated NOT
+ */
+ public Activity basicGetInActivity() {
+ InternalEObject eInternalContainer = eInternalContainer();
+ return eInternalContainer instanceof Activity
+ ? (Activity) eInternalContainer
+ : null;
+ }
+
+ @Override
+ public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs) {
+ InternalEObject eInternalContainer = eInternalContainer();
+ if (eInternalContainer instanceof Activity) {
+ return ((InternalEList<ActivityGroup>) ((Activity) eInternalContainer)
+ .getGroups()).basicRemove(this, msgs);
+ }
+ return super.eBasicRemoveFromContainer(msgs);
+ }
+
+ @Override
+ public NotificationChain eBasicSetContainer(InternalEObject newContainer,
+ int newContainerFeatureID, NotificationChain msgs) {
+ InternalEObject eInternalContainer = eInternalContainer();
+ if (eInternalContainer instanceof Activity) {
+ msgs = ((InternalEList<ActivityGroup>) ((Activity) eInternalContainer)
+ .getGroups()).basicRemove(this, msgs);
+ }
+ return super.eBasicSetContainer(newContainer, newContainerFeatureID,
+ msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated NOT
+ */
+ public void setInActivity(Activity newInActivity) {
+ if (newInActivity != eInternalContainer()) {
+ if (EcoreUtil.isAncestor(this, newInActivity))
+ throw new IllegalArgumentException(
+ "Recursive containment not allowed for " + toString()); //$NON-NLS-1$
+ NotificationChain msgs = null;
+ if (eInternalContainer() != null)
+ msgs = eBasicRemoveFromContainer(msgs);
+ if (newInActivity != null)
+ msgs = ((InternalEList<ActivityGroup>) newInActivity
+ .getOwnedGroups()).basicAdd(this, msgs);
+ msgs = eBasicSetContainer((InternalEObject) newInActivity,
+ InternalEObject.EOPPOSITE_FEATURE_BASE
+ - UMLPackage.ACTIVITY__OWNED_GROUP,
+ msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ UMLPackage.ACTIVITY_GROUP__IN_ACTIVITY, newInActivity,
+ newInActivity));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Activity containingActivity() {
+ return ActivityGroupOperations.containingActivity(this);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateNodesAndEdges(DiagnosticChain diagnostics,
+ Map<Object, Object> context) {
+ return ActivityGroupOperations.validateNodesAndEdges(this, diagnostics,
+ context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateNotContained(DiagnosticChain diagnostics,
+ Map<Object, Object> context) {
+ return ActivityGroupOperations.validateNotContained(this, diagnostics,
+ context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case UMLPackage.ACTIVITY_GROUP__EANNOTATIONS :
+ return getEAnnotations();
+ case UMLPackage.ACTIVITY_GROUP__OWNED_COMMENT :
+ return getOwnedComments();
+ case UMLPackage.ACTIVITY_GROUP__OWNED_ELEMENT :
+ return getOwnedElements();
+ case UMLPackage.ACTIVITY_GROUP__OWNER :
+ if (resolve)
+ return getOwner();
+ return basicGetOwner();
+ case UMLPackage.ACTIVITY_GROUP__CLIENT_DEPENDENCY :
+ return getClientDependencies();
+ case UMLPackage.ACTIVITY_GROUP__NAME :
+ return getName();
+ case UMLPackage.ACTIVITY_GROUP__NAME_EXPRESSION :
+ if (resolve)
+ return getNameExpression();
+ return basicGetNameExpression();
+ case UMLPackage.ACTIVITY_GROUP__NAMESPACE :
+ if (resolve)
+ return getNamespace();
+ return basicGetNamespace();
+ case UMLPackage.ACTIVITY_GROUP__QUALIFIED_NAME :
+ return getQualifiedName();
+ case UMLPackage.ACTIVITY_GROUP__VISIBILITY :
+ return getVisibility();
+ case UMLPackage.ACTIVITY_GROUP__CONTAINED_EDGE :
+ return getContainedEdges();
+ case UMLPackage.ACTIVITY_GROUP__CONTAINED_NODE :
+ return getContainedNodes();
+ case UMLPackage.ACTIVITY_GROUP__IN_ACTIVITY :
+ if (resolve)
+ return getInActivity();
+ return basicGetInActivity();
+ case UMLPackage.ACTIVITY_GROUP__SUBGROUP :
+ return getSubgroups();
+ case UMLPackage.ACTIVITY_GROUP__SUPER_GROUP :
+ if (resolve)
+ return getSuperGroup();
+ return basicGetSuperGroup();
+ }
+ return eDynamicGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case UMLPackage.ACTIVITY_GROUP__EANNOTATIONS :
+ getEAnnotations().clear();
+ getEAnnotations()
+ .addAll((Collection<? extends EAnnotation>) newValue);
+ return;
+ case UMLPackage.ACTIVITY_GROUP__OWNED_COMMENT :
+ getOwnedComments().clear();
+ getOwnedComments()
+ .addAll((Collection<? extends Comment>) newValue);
+ return;
+ case UMLPackage.ACTIVITY_GROUP__NAME :
+ setName((String) newValue);
+ return;
+ case UMLPackage.ACTIVITY_GROUP__NAME_EXPRESSION :
+ setNameExpression((StringExpression) newValue);
+ return;
+ case UMLPackage.ACTIVITY_GROUP__VISIBILITY :
+ setVisibility((VisibilityKind) newValue);
+ return;
+ case UMLPackage.ACTIVITY_GROUP__IN_ACTIVITY :
+ setInActivity((Activity) newValue);
+ return;
+ }
+ eDynamicSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case UMLPackage.ACTIVITY_GROUP__EANNOTATIONS :
+ getEAnnotations().clear();
+ return;
+ case UMLPackage.ACTIVITY_GROUP__OWNED_COMMENT :
+ getOwnedComments().clear();
+ return;
+ case UMLPackage.ACTIVITY_GROUP__NAME :
+ unsetName();
+ return;
+ case UMLPackage.ACTIVITY_GROUP__NAME_EXPRESSION :
+ setNameExpression((StringExpression) null);
+ return;
+ case UMLPackage.ACTIVITY_GROUP__VISIBILITY :
+ unsetVisibility();
+ return;
+ case UMLPackage.ACTIVITY_GROUP__IN_ACTIVITY :
+ setInActivity((Activity) null);
+ return;
+ }
+ eDynamicUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case UMLPackage.ACTIVITY_GROUP__EANNOTATIONS :
+ return !getEAnnotations().isEmpty();
+ case UMLPackage.ACTIVITY_GROUP__OWNED_COMMENT :
+ return !getOwnedComments().isEmpty();
+ case UMLPackage.ACTIVITY_GROUP__OWNED_ELEMENT :
+ return isSetOwnedElements();
+ case UMLPackage.ACTIVITY_GROUP__OWNER :
+ return isSetOwner();
+ case UMLPackage.ACTIVITY_GROUP__CLIENT_DEPENDENCY :
+ return !getClientDependencies().isEmpty();
+ case UMLPackage.ACTIVITY_GROUP__NAME :
+ return isSetName();
+ case UMLPackage.ACTIVITY_GROUP__NAME_EXPRESSION :
+ return basicGetNameExpression() != null;
+ case UMLPackage.ACTIVITY_GROUP__NAMESPACE :
+ return isSetNamespace();
+ case UMLPackage.ACTIVITY_GROUP__QUALIFIED_NAME :
+ return QUALIFIED_NAME_EDEFAULT == null
+ ? getQualifiedName() != null
+ : !QUALIFIED_NAME_EDEFAULT.equals(getQualifiedName());
+ case UMLPackage.ACTIVITY_GROUP__VISIBILITY :
+ return isSetVisibility();
+ case UMLPackage.ACTIVITY_GROUP__CONTAINED_EDGE :
+ return isSetContainedEdges();
+ case UMLPackage.ACTIVITY_GROUP__CONTAINED_NODE :
+ return isSetContainedNodes();
+ case UMLPackage.ACTIVITY_GROUP__IN_ACTIVITY :
+ return basicGetInActivity() != null;
+ case UMLPackage.ACTIVITY_GROUP__SUBGROUP :
+ return isSetSubgroups();
+ case UMLPackage.ACTIVITY_GROUP__SUPER_GROUP :
+ return isSetSuperGroup();
+ }
+ return eDynamicIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eDerivedOperationID(int baseOperationID, Class<?> baseClass) {
+ if (baseClass == ActivityContent.class) {
+ switch (baseOperationID) {
+ case UMLPackage.ACTIVITY_CONTENT___CONTAINING_ACTIVITY :
+ return UMLPackage.ACTIVITY_GROUP___CONTAINING_ACTIVITY;
+ default :
+ return -1;
+ }
+ }
+ return super.eDerivedOperationID(baseOperationID, baseClass);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ @SuppressWarnings("unchecked")
+ public Object eInvoke(int operationID, EList<?> arguments)
+ throws InvocationTargetException {
+ switch (operationID) {
+ case UMLPackage.ACTIVITY_GROUP___GET_EANNOTATION__STRING :
+ return getEAnnotation((String) arguments.get(0));
+ case UMLPackage.ACTIVITY_GROUP___VALIDATE_HAS_OWNER__DIAGNOSTICCHAIN_MAP :
+ return validateHasOwner((DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY_GROUP___VALIDATE_NOT_OWN_SELF__DIAGNOSTICCHAIN_MAP :
+ return validateNotOwnSelf((DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY_GROUP___ADD_KEYWORD__STRING :
+ return addKeyword((String) arguments.get(0));
+ case UMLPackage.ACTIVITY_GROUP___APPLY_STEREOTYPE__STEREOTYPE :
+ return applyStereotype((Stereotype) arguments.get(0));
+ case UMLPackage.ACTIVITY_GROUP___CREATE_EANNOTATION__STRING :
+ return createEAnnotation((String) arguments.get(0));
+ case UMLPackage.ACTIVITY_GROUP___DESTROY :
+ destroy();
+ return null;
+ case UMLPackage.ACTIVITY_GROUP___GET_KEYWORDS :
+ return getKeywords();
+ case UMLPackage.ACTIVITY_GROUP___GET_APPLICABLE_STEREOTYPE__STRING :
+ return getApplicableStereotype((String) arguments.get(0));
+ case UMLPackage.ACTIVITY_GROUP___GET_APPLICABLE_STEREOTYPES :
+ return getApplicableStereotypes();
+ case UMLPackage.ACTIVITY_GROUP___GET_APPLIED_STEREOTYPE__STRING :
+ return getAppliedStereotype((String) arguments.get(0));
+ case UMLPackage.ACTIVITY_GROUP___GET_APPLIED_STEREOTYPES :
+ return getAppliedStereotypes();
+ case UMLPackage.ACTIVITY_GROUP___GET_APPLIED_SUBSTEREOTYPE__STEREOTYPE_STRING :
+ return getAppliedSubstereotype((Stereotype) arguments.get(0),
+ (String) arguments.get(1));
+ case UMLPackage.ACTIVITY_GROUP___GET_APPLIED_SUBSTEREOTYPES__STEREOTYPE :
+ return getAppliedSubstereotypes((Stereotype) arguments.get(0));
+ case UMLPackage.ACTIVITY_GROUP___GET_MODEL :
+ return getModel();
+ case UMLPackage.ACTIVITY_GROUP___GET_NEAREST_PACKAGE :
+ return getNearestPackage();
+ case UMLPackage.ACTIVITY_GROUP___GET_RELATIONSHIPS :
+ return getRelationships();
+ case UMLPackage.ACTIVITY_GROUP___GET_RELATIONSHIPS__ECLASS :
+ return getRelationships((EClass) arguments.get(0));
+ case UMLPackage.ACTIVITY_GROUP___GET_REQUIRED_STEREOTYPE__STRING :
+ return getRequiredStereotype((String) arguments.get(0));
+ case UMLPackage.ACTIVITY_GROUP___GET_REQUIRED_STEREOTYPES :
+ return getRequiredStereotypes();
+ case UMLPackage.ACTIVITY_GROUP___GET_SOURCE_DIRECTED_RELATIONSHIPS :
+ return getSourceDirectedRelationships();
+ case UMLPackage.ACTIVITY_GROUP___GET_SOURCE_DIRECTED_RELATIONSHIPS__ECLASS :
+ return getSourceDirectedRelationships(
+ (EClass) arguments.get(0));
+ case UMLPackage.ACTIVITY_GROUP___GET_STEREOTYPE_APPLICATION__STEREOTYPE :
+ return getStereotypeApplication((Stereotype) arguments.get(0));
+ case UMLPackage.ACTIVITY_GROUP___GET_STEREOTYPE_APPLICATIONS :
+ return getStereotypeApplications();
+ case UMLPackage.ACTIVITY_GROUP___GET_TARGET_DIRECTED_RELATIONSHIPS :
+ return getTargetDirectedRelationships();
+ case UMLPackage.ACTIVITY_GROUP___GET_TARGET_DIRECTED_RELATIONSHIPS__ECLASS :
+ return getTargetDirectedRelationships(
+ (EClass) arguments.get(0));
+ case UMLPackage.ACTIVITY_GROUP___GET_VALUE__STEREOTYPE_STRING :
+ return getValue((Stereotype) arguments.get(0),
+ (String) arguments.get(1));
+ case UMLPackage.ACTIVITY_GROUP___HAS_KEYWORD__STRING :
+ return hasKeyword((String) arguments.get(0));
+ case UMLPackage.ACTIVITY_GROUP___HAS_VALUE__STEREOTYPE_STRING :
+ return hasValue((Stereotype) arguments.get(0),
+ (String) arguments.get(1));
+ case UMLPackage.ACTIVITY_GROUP___IS_STEREOTYPE_APPLICABLE__STEREOTYPE :
+ return isStereotypeApplicable((Stereotype) arguments.get(0));
+ case UMLPackage.ACTIVITY_GROUP___IS_STEREOTYPE_APPLIED__STEREOTYPE :
+ return isStereotypeApplied((Stereotype) arguments.get(0));
+ case UMLPackage.ACTIVITY_GROUP___IS_STEREOTYPE_REQUIRED__STEREOTYPE :
+ return isStereotypeRequired((Stereotype) arguments.get(0));
+ case UMLPackage.ACTIVITY_GROUP___REMOVE_KEYWORD__STRING :
+ return removeKeyword((String) arguments.get(0));
+ case UMLPackage.ACTIVITY_GROUP___SET_VALUE__STEREOTYPE_STRING_OBJECT :
+ setValue((Stereotype) arguments.get(0),
+ (String) arguments.get(1), arguments.get(2));
+ return null;
+ case UMLPackage.ACTIVITY_GROUP___UNAPPLY_STEREOTYPE__STEREOTYPE :
+ return unapplyStereotype((Stereotype) arguments.get(0));
+ case UMLPackage.ACTIVITY_GROUP___ALL_OWNED_ELEMENTS :
+ return allOwnedElements();
+ case UMLPackage.ACTIVITY_GROUP___MUST_BE_OWNED :
+ return mustBeOwned();
+ case UMLPackage.ACTIVITY_GROUP___VALIDATE_VISIBILITY_NEEDS_OWNERSHIP__DIAGNOSTICCHAIN_MAP :
+ return validateVisibilityNeedsOwnership(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY_GROUP___VALIDATE_HAS_QUALIFIED_NAME__DIAGNOSTICCHAIN_MAP :
+ return validateHasQualifiedName(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY_GROUP___VALIDATE_HAS_NO_QUALIFIED_NAME__DIAGNOSTICCHAIN_MAP :
+ return validateHasNoQualifiedName(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY_GROUP___CREATE_DEPENDENCY__NAMEDELEMENT :
+ return createDependency((NamedElement) arguments.get(0));
+ case UMLPackage.ACTIVITY_GROUP___CREATE_USAGE__NAMEDELEMENT :
+ return createUsage((NamedElement) arguments.get(0));
+ case UMLPackage.ACTIVITY_GROUP___GET_LABEL :
+ return getLabel();
+ case UMLPackage.ACTIVITY_GROUP___GET_LABEL__BOOLEAN :
+ return getLabel((Boolean) arguments.get(0));
+ case UMLPackage.ACTIVITY_GROUP___GET_NAMESPACE :
+ return getNamespace();
+ case UMLPackage.ACTIVITY_GROUP___ALL_NAMESPACES :
+ return allNamespaces();
+ case UMLPackage.ACTIVITY_GROUP___ALL_OWNING_PACKAGES :
+ return allOwningPackages();
+ case UMLPackage.ACTIVITY_GROUP___IS_DISTINGUISHABLE_FROM__NAMEDELEMENT_NAMESPACE :
+ return isDistinguishableFrom((NamedElement) arguments.get(0),
+ (Namespace) arguments.get(1));
+ case UMLPackage.ACTIVITY_GROUP___GET_QUALIFIED_NAME :
+ return getQualifiedName();
+ case UMLPackage.ACTIVITY_GROUP___SEPARATOR :
+ return separator();
+ case UMLPackage.ACTIVITY_GROUP___GET_CLIENT_DEPENDENCIES :
+ return getClientDependencies();
+ case UMLPackage.ACTIVITY_GROUP___CONTAINING_ACTIVITY :
+ return containingActivity();
+ case UMLPackage.ACTIVITY_GROUP___VALIDATE_NODES_AND_EDGES__DIAGNOSTICCHAIN_MAP :
+ return validateNodesAndEdges((DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY_GROUP___VALIDATE_NOT_CONTAINED__DIAGNOSTICCHAIN_MAP :
+ return validateNotContained((DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ }
+ return eDynamicInvoke(operationID, arguments);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetSubgroups() {
+ return false;
+ }
+
+ /**
+ * The array of subset feature identifiers for the '{@link #getOwnedElements() <em>Owned Element</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOwnedElements()
+ * @generated
+ * @ordered
+ */
+ protected static final int[] OWNED_ELEMENT_ESUBSETS = new int[]{
+ UMLPackage.ACTIVITY_GROUP__OWNED_COMMENT,
+ UMLPackage.ACTIVITY_GROUP__NAME_EXPRESSION,
+ UMLPackage.ACTIVITY_GROUP__SUBGROUP};
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean isSetOwnedElements() {
+ return super.isSetOwnedElements() || isSetSubgroups();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityGroup basicGetSuperGroup() {
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Element getOwner() {
+ Element owner = basicGetOwner();
+ return owner != null && owner.eIsProxy()
+ ? (Element) eResolveProxy((InternalEObject) owner)
+ : owner;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityGroup getSuperGroup() {
+ ActivityGroup superGroup = basicGetSuperGroup();
+ return superGroup != null && superGroup.eIsProxy()
+ ? (ActivityGroup) eResolveProxy((InternalEObject) superGroup)
+ : superGroup;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetSuperGroup() {
+ return false;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Element basicGetOwner() {
+ Activity inActivity = basicGetInActivity();
+ if (inActivity != null) {
+ return inActivity;
+ }
+ if (isSetSuperGroup()) {
+ return basicGetSuperGroup();
+ }
+ return super.basicGetOwner();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean isSetOwner() {
+ return super.isSetOwner()
+ || eIsSet(UMLPackage.ACTIVITY_GROUP__IN_ACTIVITY)
+ || isSetSuperGroup();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetContainedNodes() {
+ return false;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetContainedEdges() {
+ return false;
+ }
+
+} //ActivityGroupImpl
diff --git a/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ActivityImpl.java b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ActivityImpl.java
new file mode 100644
index 0000000..20c0f90
--- /dev/null
+++ b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ActivityImpl.java
@@ -0,0 +1,2153 @@
+/*
+ * Copyright (c) 2005, 2017 IBM Corporation, Embarcadero Technologies, CEA, 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:
+ * IBM - initial API and implementation
+ * Kenn Hussey (Embarcadero Technologies) - 204200
+ * Kenn Hussey - 286329, 323181, 519572
+ * Kenn Hussey (CEA) - 327039, 351774, 418466, 451350, 485756
+ *
+ */
+package org.eclipse.uml2.uml.cdo.internal.impl;
+
+import java.lang.reflect.InvocationTargetException;
+import java.util.Collection;
+import java.util.Map;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+import org.eclipse.emf.common.util.DiagnosticChain;
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.ecore.EAnnotation;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.resource.Resource;
+import org.eclipse.emf.ecore.util.InternalEList;
+import org.eclipse.uml2.common.util.CacheAdapter;
+import org.eclipse.uml2.common.util.DerivedUnionEObjectEList;
+import org.eclipse.uml2.uml.cdo.internal.util.SubsetSupersetEObjectContainmentEList;
+import org.eclipse.uml2.uml.cdo.internal.util.SubsetSupersetEObjectResolvingEList;
+import org.eclipse.uml2.uml.Activity;
+import org.eclipse.uml2.uml.ActivityEdge;
+import org.eclipse.uml2.uml.ActivityGroup;
+import org.eclipse.uml2.uml.ActivityNode;
+import org.eclipse.uml2.uml.ActivityPartition;
+import org.eclipse.uml2.uml.AggregationKind;
+import org.eclipse.uml2.uml.Behavior;
+import org.eclipse.uml2.uml.BehavioralFeature;
+import org.eclipse.uml2.uml.Classifier;
+import org.eclipse.uml2.uml.CollaborationUse;
+import org.eclipse.uml2.uml.Comment;
+import org.eclipse.uml2.uml.Connector;
+import org.eclipse.uml2.uml.Constraint;
+import org.eclipse.uml2.uml.Element;
+import org.eclipse.uml2.uml.ElementImport;
+import org.eclipse.uml2.uml.Generalization;
+import org.eclipse.uml2.uml.GeneralizationSet;
+import org.eclipse.uml2.uml.InterfaceRealization;
+import org.eclipse.uml2.uml.NamedElement;
+import org.eclipse.uml2.uml.Namespace;
+import org.eclipse.uml2.uml.Operation;
+import org.eclipse.uml2.uml.PackageImport;
+import org.eclipse.uml2.uml.PackageableElement;
+import org.eclipse.uml2.uml.Parameter;
+import org.eclipse.uml2.uml.ParameterSet;
+import org.eclipse.uml2.uml.ParameterableElement;
+import org.eclipse.uml2.uml.Property;
+import org.eclipse.uml2.uml.Reception;
+import org.eclipse.uml2.uml.RedefinableElement;
+import org.eclipse.uml2.uml.Stereotype;
+import org.eclipse.uml2.uml.StringExpression;
+import org.eclipse.uml2.uml.StructuredActivityNode;
+import org.eclipse.uml2.uml.Substitution;
+import org.eclipse.uml2.uml.TemplateBinding;
+import org.eclipse.uml2.uml.TemplateParameter;
+import org.eclipse.uml2.uml.TemplateSignature;
+import org.eclipse.uml2.uml.Type;
+import org.eclipse.uml2.uml.UMLPackage;
+import org.eclipse.uml2.uml.UseCase;
+import org.eclipse.uml2.uml.Variable;
+import org.eclipse.uml2.uml.VisibilityKind;
+import org.eclipse.uml2.uml.internal.operations.ActivityOperations;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Activity</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * </p>
+ * <ul>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityImpl#getOwnedElements <em>Owned Element</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityImpl#getOwnedMembers <em>Owned Member</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityImpl#getOwnedGroups <em>Owned Group</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityImpl#getEdges <em>Edge</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityImpl#getNodes <em>Node</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityImpl#getVariables <em>Variable</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityImpl#getGroups <em>Group</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityImpl#getOwnedNodes <em>Owned Node</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityImpl#isReadOnly <em>Is Read Only</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityImpl#isSingleExecution <em>Is Single Execution</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityImpl#getPartitions <em>Partition</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityImpl#getStructuredNodes <em>Structured Node</em>}</li>
+ * </ul>
+ *
+ * @generated
+ */
+public class ActivityImpl
+ extends BehaviorImpl
+ implements Activity {
+
+ /**
+ * The default value of the '{@link #isReadOnly() <em>Is Read Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isReadOnly()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean IS_READ_ONLY_EDEFAULT = false;
+
+ /**
+ * The default value of the '{@link #isSingleExecution() <em>Is Single Execution</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSingleExecution()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean IS_SINGLE_EXECUTION_EDEFAULT = false;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ActivityImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return UMLPackage.Literals.ACTIVITY;
+ }
+
+ @Override
+ protected EList<?> createList(EStructuralFeature eStructuralFeature) {
+ EList<?> result = createSpecialList(eStructuralFeature);
+ if (result != null) {
+ return result;
+ }
+
+ return super.createList(eStructuralFeature);
+ }
+
+ private EList<?> createSpecialList(EStructuralFeature eStructuralFeature) {
+ if (eStructuralFeature == UMLPackage.Literals.ACTIVITY__GROUP) {
+ return createGroupsList();
+ }
+
+ if (eStructuralFeature == UMLPackage.Literals.ACTIVITY__NODE) {
+ return createNodesList();
+ }
+
+ if (eStructuralFeature == UMLPackage.Literals.ACTIVITY__STRUCTURED_NODE) {
+ return createStructuredNodesList();
+ }
+
+ if (eStructuralFeature == UMLPackage.Literals.ACTIVITY__PARTITION) {
+ return createPartitionsList();
+ }
+
+ if (eStructuralFeature == UMLPackage.Literals.ACTIVITY__OWNED_GROUP) {
+ return createOwnedGroupsList();
+ }
+
+ if (eStructuralFeature == UMLPackage.Literals.ACTIVITY__OWNED_NODE) {
+ return createOwnedNodesList();
+ }
+
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EList<Element> getOwnedElements() {
+ CacheAdapter cache = getCacheAdapter();
+ if (cache != null) {
+ Resource eResource = eResource();
+ @SuppressWarnings("unchecked")
+ EList<Element> ownedElements = (EList<Element>) cache.get(eResource,
+ this, UMLPackage.Literals.ELEMENT__OWNED_ELEMENT);
+ if (ownedElements == null) {
+ cache.put(eResource, this,
+ UMLPackage.Literals.ELEMENT__OWNED_ELEMENT,
+ ownedElements = new DerivedUnionEObjectEList<Element>(
+ Element.class, this, UMLPackage.ACTIVITY__OWNED_ELEMENT,
+ OWNED_ELEMENT_ESUBSETS));
+ }
+ return ownedElements;
+ }
+ return new DerivedUnionEObjectEList<Element>(Element.class, this,
+ UMLPackage.ACTIVITY__OWNED_ELEMENT, OWNED_ELEMENT_ESUBSETS);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EList<NamedElement> getOwnedMembers() {
+ CacheAdapter cache = getCacheAdapter();
+ if (cache != null) {
+ Resource eResource = eResource();
+ @SuppressWarnings("unchecked")
+ EList<NamedElement> ownedMembers = (EList<NamedElement>) cache.get(
+ eResource, this, UMLPackage.Literals.NAMESPACE__OWNED_MEMBER);
+ if (ownedMembers == null) {
+ cache.put(eResource, this,
+ UMLPackage.Literals.NAMESPACE__OWNED_MEMBER,
+ ownedMembers = new DerivedUnionEObjectEList<NamedElement>(
+ NamedElement.class, this,
+ UMLPackage.ACTIVITY__OWNED_MEMBER,
+ OWNED_MEMBER_ESUBSETS));
+ }
+ return ownedMembers;
+ }
+ return new DerivedUnionEObjectEList<NamedElement>(NamedElement.class,
+ this, UMLPackage.ACTIVITY__OWNED_MEMBER, OWNED_MEMBER_ESUBSETS);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated NOT
+ */
+ @SuppressWarnings("unchecked")
+ public EList<ActivityGroup> getGroups() {
+ return (EList<ActivityGroup>) eDynamicGet(
+ UMLPackage.ACTIVITY__GROUP - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY__GROUP, true, true);
+ }
+
+ private EList<ActivityGroup> createGroupsList() {
+ return new SubsetSupersetEObjectResolvingEList<ActivityGroup>(
+ ActivityGroup.class, this, UMLPackage.ACTIVITY__GROUP, null,
+ GROUP_ESUBSETS);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated NOT
+ */
+ @SuppressWarnings("unchecked")
+ public EList<ActivityNode> getNodes() {
+ return (EList<ActivityNode>) eDynamicGet(
+ UMLPackage.ACTIVITY__NODE - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY__NODE, true, true);
+ }
+
+ private EList<ActivityNode> createNodesList() {
+ return new SubsetSupersetEObjectResolvingEList<ActivityNode>(
+ ActivityNode.class, this, UMLPackage.ACTIVITY__NODE, null,
+ NODE_ESUBSETS);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityNode getNode(String name) {
+ return getNode(name, false, null);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated NOT
+ */
+ public ActivityNode getNode(String name, boolean ignoreCase,
+ EClass eClass) {
+ nodeLoop : for (ActivityNode node : getNodes()) {
+ if (eClass != null && !eClass.isInstance(node))
+ continue nodeLoop;
+ if (name != null && !(ignoreCase
+ ? name.equalsIgnoreCase(node.getName())
+ : name.equals(node.getName())))
+ continue nodeLoop;
+ return node;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isReadOnly() {
+ return (Boolean) eDynamicGet(
+ UMLPackage.ACTIVITY__IS_READ_ONLY - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY__IS_READ_ONLY, true, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIsReadOnly(boolean newIsReadOnly) {
+ eDynamicSet(UMLPackage.ACTIVITY__IS_READ_ONLY - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY__IS_READ_ONLY, newIsReadOnly);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSingleExecution() {
+ return (Boolean) eDynamicGet(
+ UMLPackage.ACTIVITY__IS_SINGLE_EXECUTION - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY__IS_SINGLE_EXECUTION, true, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIsSingleExecution(boolean newIsSingleExecution) {
+ eDynamicSet(
+ UMLPackage.ACTIVITY__IS_SINGLE_EXECUTION - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY__IS_SINGLE_EXECUTION,
+ newIsSingleExecution);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ public EList<StructuredActivityNode> getStructuredNodes() {
+ return (EList<StructuredActivityNode>) eDynamicGet(
+ UMLPackage.ACTIVITY__STRUCTURED_NODE - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY__STRUCTURED_NODE, true, true);
+ }
+
+ private EList<StructuredActivityNode> createStructuredNodesList() {
+ return new SubsetSupersetEObjectContainmentEList.Resolving<StructuredActivityNode>(
+ StructuredActivityNode.class, this,
+ UMLPackage.ACTIVITY__STRUCTURED_NODE, STRUCTURED_NODE_ESUPERSETS,
+ null);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public StructuredActivityNode createStructuredNode(String name,
+ EClass eClass) {
+ StructuredActivityNode newStructuredNode = (StructuredActivityNode) create(
+ eClass);
+ getStructuredNodes().add(newStructuredNode);
+ if (name != null)
+ newStructuredNode.setName(name);
+ return newStructuredNode;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public StructuredActivityNode createStructuredNode(String name) {
+ return createStructuredNode(name,
+ UMLPackage.Literals.STRUCTURED_ACTIVITY_NODE);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ public EList<Variable> getVariables() {
+ return (EList<Variable>) eDynamicGet(
+ UMLPackage.ACTIVITY__VARIABLE - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY__VARIABLE, true, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Variable createVariable(String name, Type type) {
+ Variable newVariable = (Variable) create(UMLPackage.Literals.VARIABLE);
+ getVariables().add(newVariable);
+ if (name != null)
+ newVariable.setName(name);
+ if (type != null)
+ newVariable.setType(type);
+ return newVariable;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Variable getVariable(String name, Type type) {
+ return getVariable(name, type, false, false);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Variable getVariable(String name, Type type, boolean ignoreCase,
+ boolean createOnDemand) {
+ variableLoop : for (Variable variable : getVariables()) {
+ if (name != null && !(ignoreCase
+ ? name.equalsIgnoreCase(variable.getName())
+ : name.equals(variable.getName())))
+ continue variableLoop;
+ if (type != null && !type.equals(variable.getType()))
+ continue variableLoop;
+ return variable;
+ }
+ return createOnDemand
+ ? createVariable(name, type)
+ : null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ public EList<ActivityEdge> getEdges() {
+ return (EList<ActivityEdge>) eDynamicGet(
+ UMLPackage.ACTIVITY__EDGE - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY__EDGE, true, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityEdge createEdge(String name, EClass eClass) {
+ ActivityEdge newEdge = (ActivityEdge) create(eClass);
+ getEdges().add(newEdge);
+ if (name != null)
+ newEdge.setName(name);
+ return newEdge;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityEdge getEdge(String name) {
+ return getEdge(name, false, null, false);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityEdge getEdge(String name, boolean ignoreCase, EClass eClass,
+ boolean createOnDemand) {
+ edgeLoop : for (ActivityEdge edge : getEdges()) {
+ if (eClass != null && !eClass.isInstance(edge))
+ continue edgeLoop;
+ if (name != null && !(ignoreCase
+ ? name.equalsIgnoreCase(edge.getName())
+ : name.equals(edge.getName())))
+ continue edgeLoop;
+ return edge;
+ }
+ return createOnDemand && eClass != null
+ ? createEdge(name, eClass)
+ : null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ public EList<ActivityPartition> getPartitions() {
+ return (EList<ActivityPartition>) eDynamicGet(
+ UMLPackage.ACTIVITY__PARTITION - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY__PARTITION, true, true);
+ }
+
+ private EList<ActivityPartition> createPartitionsList() {
+ return new SubsetSupersetEObjectResolvingEList<ActivityPartition>(
+ ActivityPartition.class, this, UMLPackage.ACTIVITY__PARTITION,
+ PARTITION_ESUPERSETS, null);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public NotificationChain eInverseAdd(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case UMLPackage.ACTIVITY__EANNOTATIONS :
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getEAnnotations())
+ .basicAdd(otherEnd, msgs);
+ case UMLPackage.ACTIVITY__OWNED_RULE :
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getOwnedRules())
+ .basicAdd(otherEnd, msgs);
+ case UMLPackage.ACTIVITY__ELEMENT_IMPORT :
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getElementImports())
+ .basicAdd(otherEnd, msgs);
+ case UMLPackage.ACTIVITY__PACKAGE_IMPORT :
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getPackageImports())
+ .basicAdd(otherEnd, msgs);
+ case UMLPackage.ACTIVITY__OWNING_TEMPLATE_PARAMETER :
+ if (eInternalContainer() != null)
+ msgs = eBasicRemoveFromContainer(msgs);
+ return basicSetOwningTemplateParameter(
+ (TemplateParameter) otherEnd, msgs);
+ case UMLPackage.ACTIVITY__TEMPLATE_PARAMETER :
+ TemplateParameter templateParameter = basicGetTemplateParameter();
+ if (templateParameter != null)
+ msgs = ((InternalEObject) templateParameter).eInverseRemove(
+ this,
+ UMLPackage.TEMPLATE_PARAMETER__PARAMETERED_ELEMENT,
+ TemplateParameter.class, msgs);
+ return basicSetTemplateParameter((TemplateParameter) otherEnd,
+ msgs);
+ case UMLPackage.ACTIVITY__TEMPLATE_BINDING :
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getTemplateBindings())
+ .basicAdd(otherEnd, msgs);
+ case UMLPackage.ACTIVITY__OWNED_TEMPLATE_SIGNATURE :
+ TemplateSignature ownedTemplateSignature = basicGetOwnedTemplateSignature();
+ if (ownedTemplateSignature != null)
+ msgs = ((InternalEObject) ownedTemplateSignature)
+ .eInverseRemove(this,
+ EOPPOSITE_FEATURE_BASE
+ - UMLPackage.ACTIVITY__OWNED_TEMPLATE_SIGNATURE,
+ null, msgs);
+ return basicSetOwnedTemplateSignature(
+ (TemplateSignature) otherEnd, msgs);
+ case UMLPackage.ACTIVITY__GENERALIZATION :
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getGeneralizations())
+ .basicAdd(otherEnd, msgs);
+ case UMLPackage.ACTIVITY__POWERTYPE_EXTENT :
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getPowertypeExtents())
+ .basicAdd(otherEnd, msgs);
+ case UMLPackage.ACTIVITY__USE_CASE :
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getUseCases())
+ .basicAdd(otherEnd, msgs);
+ case UMLPackage.ACTIVITY__SUBSTITUTION :
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getSubstitutions())
+ .basicAdd(otherEnd, msgs);
+ case UMLPackage.ACTIVITY__INTERFACE_REALIZATION :
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getInterfaceRealizations())
+ .basicAdd(otherEnd, msgs);
+ case UMLPackage.ACTIVITY__OWNED_OPERATION :
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getOwnedOperations())
+ .basicAdd(otherEnd, msgs);
+ case UMLPackage.ACTIVITY__SPECIFICATION :
+ BehavioralFeature specification = basicGetSpecification();
+ if (specification != null)
+ msgs = ((InternalEObject) specification).eInverseRemove(
+ this, UMLPackage.BEHAVIORAL_FEATURE__METHOD,
+ BehavioralFeature.class, msgs);
+ return basicSetSpecification((BehavioralFeature) otherEnd,
+ msgs);
+ case UMLPackage.ACTIVITY__EDGE :
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getEdges())
+ .basicAdd(otherEnd, msgs);
+ case UMLPackage.ACTIVITY__VARIABLE :
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getVariables())
+ .basicAdd(otherEnd, msgs);
+ }
+ return eDynamicInverseAdd(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case UMLPackage.ACTIVITY__EANNOTATIONS :
+ return ((InternalEList<?>) getEAnnotations())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACTIVITY__OWNED_COMMENT :
+ return ((InternalEList<?>) getOwnedComments())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACTIVITY__NAME_EXPRESSION :
+ return basicSetNameExpression(null, msgs);
+ case UMLPackage.ACTIVITY__OWNED_RULE :
+ return ((InternalEList<?>) getOwnedRules())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACTIVITY__ELEMENT_IMPORT :
+ return ((InternalEList<?>) getElementImports())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACTIVITY__PACKAGE_IMPORT :
+ return ((InternalEList<?>) getPackageImports())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACTIVITY__OWNING_TEMPLATE_PARAMETER :
+ return basicSetOwningTemplateParameter(null, msgs);
+ case UMLPackage.ACTIVITY__TEMPLATE_PARAMETER :
+ return basicSetTemplateParameter(null, msgs);
+ case UMLPackage.ACTIVITY__TEMPLATE_BINDING :
+ return ((InternalEList<?>) getTemplateBindings())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACTIVITY__OWNED_TEMPLATE_SIGNATURE :
+ return basicSetOwnedTemplateSignature(null, msgs);
+ case UMLPackage.ACTIVITY__COLLABORATION_USE :
+ return ((InternalEList<?>) getCollaborationUses())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACTIVITY__GENERALIZATION :
+ return ((InternalEList<?>) getGeneralizations())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACTIVITY__POWERTYPE_EXTENT :
+ return ((InternalEList<?>) getPowertypeExtents())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACTIVITY__OWNED_USE_CASE :
+ return ((InternalEList<?>) getOwnedUseCases())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACTIVITY__USE_CASE :
+ return ((InternalEList<?>) getUseCases()).basicRemove(otherEnd,
+ msgs);
+ case UMLPackage.ACTIVITY__SUBSTITUTION :
+ return ((InternalEList<?>) getSubstitutions())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACTIVITY__OWNED_ATTRIBUTE :
+ return ((InternalEList<?>) getOwnedAttributes())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACTIVITY__OWNED_CONNECTOR :
+ return ((InternalEList<?>) getOwnedConnectors())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACTIVITY__INTERFACE_REALIZATION :
+ return ((InternalEList<?>) getInterfaceRealizations())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACTIVITY__OWNED_BEHAVIOR :
+ return ((InternalEList<?>) getOwnedBehaviors())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACTIVITY__OWNED_OPERATION :
+ return ((InternalEList<?>) getOwnedOperations())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACTIVITY__NESTED_CLASSIFIER :
+ return ((InternalEList<?>) getNestedClassifiers())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACTIVITY__OWNED_RECEPTION :
+ return ((InternalEList<?>) getOwnedReceptions())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACTIVITY__SPECIFICATION :
+ return basicSetSpecification(null, msgs);
+ case UMLPackage.ACTIVITY__OWNED_PARAMETER :
+ return ((InternalEList<?>) getOwnedParameters())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACTIVITY__OWNED_PARAMETER_SET :
+ return ((InternalEList<?>) getOwnedParameterSets())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACTIVITY__OWNED_GROUP :
+ return ((InternalEList<?>) getOwnedGroups())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACTIVITY__EDGE :
+ return ((InternalEList<?>) getEdges()).basicRemove(otherEnd,
+ msgs);
+ case UMLPackage.ACTIVITY__VARIABLE :
+ return ((InternalEList<?>) getVariables()).basicRemove(otherEnd,
+ msgs);
+ case UMLPackage.ACTIVITY__OWNED_NODE :
+ return ((InternalEList<?>) getOwnedNodes())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACTIVITY__STRUCTURED_NODE :
+ return ((InternalEList<?>) getStructuredNodes())
+ .basicRemove(otherEnd, msgs);
+ }
+ return eDynamicInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case UMLPackage.ACTIVITY__EANNOTATIONS :
+ return getEAnnotations();
+ case UMLPackage.ACTIVITY__OWNED_COMMENT :
+ return getOwnedComments();
+ case UMLPackage.ACTIVITY__OWNED_ELEMENT :
+ return getOwnedElements();
+ case UMLPackage.ACTIVITY__OWNER :
+ if (resolve)
+ return getOwner();
+ return basicGetOwner();
+ case UMLPackage.ACTIVITY__CLIENT_DEPENDENCY :
+ return getClientDependencies();
+ case UMLPackage.ACTIVITY__NAME :
+ return getName();
+ case UMLPackage.ACTIVITY__NAME_EXPRESSION :
+ if (resolve)
+ return getNameExpression();
+ return basicGetNameExpression();
+ case UMLPackage.ACTIVITY__NAMESPACE :
+ if (resolve)
+ return getNamespace();
+ return basicGetNamespace();
+ case UMLPackage.ACTIVITY__QUALIFIED_NAME :
+ return getQualifiedName();
+ case UMLPackage.ACTIVITY__VISIBILITY :
+ return getVisibility();
+ case UMLPackage.ACTIVITY__OWNED_RULE :
+ return getOwnedRules();
+ case UMLPackage.ACTIVITY__ELEMENT_IMPORT :
+ return getElementImports();
+ case UMLPackage.ACTIVITY__PACKAGE_IMPORT :
+ return getPackageImports();
+ case UMLPackage.ACTIVITY__OWNED_MEMBER :
+ return getOwnedMembers();
+ case UMLPackage.ACTIVITY__IMPORTED_MEMBER :
+ return getImportedMembers();
+ case UMLPackage.ACTIVITY__MEMBER :
+ return getMembers();
+ case UMLPackage.ACTIVITY__IS_LEAF :
+ return isLeaf();
+ case UMLPackage.ACTIVITY__REDEFINED_ELEMENT :
+ return getRedefinedElements();
+ case UMLPackage.ACTIVITY__REDEFINITION_CONTEXT :
+ return getRedefinitionContexts();
+ case UMLPackage.ACTIVITY__OWNING_TEMPLATE_PARAMETER :
+ if (resolve)
+ return getOwningTemplateParameter();
+ return basicGetOwningTemplateParameter();
+ case UMLPackage.ACTIVITY__TEMPLATE_PARAMETER :
+ if (resolve)
+ return getTemplateParameter();
+ return basicGetTemplateParameter();
+ case UMLPackage.ACTIVITY__PACKAGE :
+ if (resolve)
+ return getPackage();
+ return basicGetPackage();
+ case UMLPackage.ACTIVITY__TEMPLATE_BINDING :
+ return getTemplateBindings();
+ case UMLPackage.ACTIVITY__OWNED_TEMPLATE_SIGNATURE :
+ if (resolve)
+ return getOwnedTemplateSignature();
+ return basicGetOwnedTemplateSignature();
+ case UMLPackage.ACTIVITY__FEATURE :
+ return getFeatures();
+ case UMLPackage.ACTIVITY__ATTRIBUTE :
+ return getAttributes();
+ case UMLPackage.ACTIVITY__COLLABORATION_USE :
+ return getCollaborationUses();
+ case UMLPackage.ACTIVITY__GENERAL :
+ return getGenerals();
+ case UMLPackage.ACTIVITY__GENERALIZATION :
+ return getGeneralizations();
+ case UMLPackage.ACTIVITY__POWERTYPE_EXTENT :
+ return getPowertypeExtents();
+ case UMLPackage.ACTIVITY__INHERITED_MEMBER :
+ return getInheritedMembers();
+ case UMLPackage.ACTIVITY__IS_ABSTRACT :
+ return isAbstract();
+ case UMLPackage.ACTIVITY__IS_FINAL_SPECIALIZATION :
+ return isFinalSpecialization();
+ case UMLPackage.ACTIVITY__OWNED_USE_CASE :
+ return getOwnedUseCases();
+ case UMLPackage.ACTIVITY__USE_CASE :
+ return getUseCases();
+ case UMLPackage.ACTIVITY__REDEFINED_CLASSIFIER :
+ return getRedefinedClassifiers();
+ case UMLPackage.ACTIVITY__REPRESENTATION :
+ if (resolve)
+ return getRepresentation();
+ return basicGetRepresentation();
+ case UMLPackage.ACTIVITY__SUBSTITUTION :
+ return getSubstitutions();
+ case UMLPackage.ACTIVITY__OWNED_ATTRIBUTE :
+ return getOwnedAttributes();
+ case UMLPackage.ACTIVITY__OWNED_CONNECTOR :
+ return getOwnedConnectors();
+ case UMLPackage.ACTIVITY__PART :
+ return getParts();
+ case UMLPackage.ACTIVITY__ROLE :
+ return getRoles();
+ case UMLPackage.ACTIVITY__OWNED_PORT :
+ return getOwnedPorts();
+ case UMLPackage.ACTIVITY__CLASSIFIER_BEHAVIOR :
+ if (resolve)
+ return getClassifierBehavior();
+ return basicGetClassifierBehavior();
+ case UMLPackage.ACTIVITY__INTERFACE_REALIZATION :
+ return getInterfaceRealizations();
+ case UMLPackage.ACTIVITY__OWNED_BEHAVIOR :
+ return getOwnedBehaviors();
+ case UMLPackage.ACTIVITY__OWNED_OPERATION :
+ return getOwnedOperations();
+ case UMLPackage.ACTIVITY__EXTENSION :
+ return getExtensions();
+ case UMLPackage.ACTIVITY__IS_ACTIVE :
+ return isActive();
+ case UMLPackage.ACTIVITY__NESTED_CLASSIFIER :
+ return getNestedClassifiers();
+ case UMLPackage.ACTIVITY__OWNED_RECEPTION :
+ return getOwnedReceptions();
+ case UMLPackage.ACTIVITY__SUPER_CLASS :
+ return getSuperClasses();
+ case UMLPackage.ACTIVITY__SPECIFICATION :
+ if (resolve)
+ return getSpecification();
+ return basicGetSpecification();
+ case UMLPackage.ACTIVITY__CONTEXT :
+ if (resolve)
+ return getContext();
+ return basicGetContext();
+ case UMLPackage.ACTIVITY__IS_REENTRANT :
+ return isReentrant();
+ case UMLPackage.ACTIVITY__OWNED_PARAMETER :
+ return getOwnedParameters();
+ case UMLPackage.ACTIVITY__OWNED_PARAMETER_SET :
+ return getOwnedParameterSets();
+ case UMLPackage.ACTIVITY__POSTCONDITION :
+ return getPostconditions();
+ case UMLPackage.ACTIVITY__PRECONDITION :
+ return getPreconditions();
+ case UMLPackage.ACTIVITY__REDEFINED_BEHAVIOR :
+ return getRedefinedBehaviors();
+ case UMLPackage.ACTIVITY__OWNED_GROUP :
+ return getOwnedGroups();
+ case UMLPackage.ACTIVITY__EDGE :
+ return getEdges();
+ case UMLPackage.ACTIVITY__NODE :
+ return getNodes();
+ case UMLPackage.ACTIVITY__VARIABLE :
+ return getVariables();
+ case UMLPackage.ACTIVITY__GROUP :
+ return getGroups();
+ case UMLPackage.ACTIVITY__OWNED_NODE :
+ return getOwnedNodes();
+ case UMLPackage.ACTIVITY__IS_READ_ONLY :
+ return isReadOnly();
+ case UMLPackage.ACTIVITY__IS_SINGLE_EXECUTION :
+ return isSingleExecution();
+ case UMLPackage.ACTIVITY__PARTITION :
+ return getPartitions();
+ case UMLPackage.ACTIVITY__STRUCTURED_NODE :
+ return getStructuredNodes();
+ }
+ return eDynamicGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case UMLPackage.ACTIVITY__EANNOTATIONS :
+ getEAnnotations().clear();
+ getEAnnotations()
+ .addAll((Collection<? extends EAnnotation>) newValue);
+ return;
+ case UMLPackage.ACTIVITY__OWNED_COMMENT :
+ getOwnedComments().clear();
+ getOwnedComments()
+ .addAll((Collection<? extends Comment>) newValue);
+ return;
+ case UMLPackage.ACTIVITY__NAME :
+ setName((String) newValue);
+ return;
+ case UMLPackage.ACTIVITY__NAME_EXPRESSION :
+ setNameExpression((StringExpression) newValue);
+ return;
+ case UMLPackage.ACTIVITY__VISIBILITY :
+ setVisibility((VisibilityKind) newValue);
+ return;
+ case UMLPackage.ACTIVITY__OWNED_RULE :
+ getOwnedRules().clear();
+ getOwnedRules()
+ .addAll((Collection<? extends Constraint>) newValue);
+ return;
+ case UMLPackage.ACTIVITY__ELEMENT_IMPORT :
+ getElementImports().clear();
+ getElementImports()
+ .addAll((Collection<? extends ElementImport>) newValue);
+ return;
+ case UMLPackage.ACTIVITY__PACKAGE_IMPORT :
+ getPackageImports().clear();
+ getPackageImports()
+ .addAll((Collection<? extends PackageImport>) newValue);
+ return;
+ case UMLPackage.ACTIVITY__IS_LEAF :
+ setIsLeaf((Boolean) newValue);
+ return;
+ case UMLPackage.ACTIVITY__OWNING_TEMPLATE_PARAMETER :
+ setOwningTemplateParameter((TemplateParameter) newValue);
+ return;
+ case UMLPackage.ACTIVITY__TEMPLATE_PARAMETER :
+ setTemplateParameter((TemplateParameter) newValue);
+ return;
+ case UMLPackage.ACTIVITY__PACKAGE :
+ setPackage((org.eclipse.uml2.uml.Package) newValue);
+ return;
+ case UMLPackage.ACTIVITY__TEMPLATE_BINDING :
+ getTemplateBindings().clear();
+ getTemplateBindings()
+ .addAll((Collection<? extends TemplateBinding>) newValue);
+ return;
+ case UMLPackage.ACTIVITY__OWNED_TEMPLATE_SIGNATURE :
+ setOwnedTemplateSignature((TemplateSignature) newValue);
+ return;
+ case UMLPackage.ACTIVITY__COLLABORATION_USE :
+ getCollaborationUses().clear();
+ getCollaborationUses()
+ .addAll((Collection<? extends CollaborationUse>) newValue);
+ return;
+ case UMLPackage.ACTIVITY__GENERAL :
+ getGenerals().clear();
+ getGenerals()
+ .addAll((Collection<? extends Classifier>) newValue);
+ return;
+ case UMLPackage.ACTIVITY__GENERALIZATION :
+ getGeneralizations().clear();
+ getGeneralizations()
+ .addAll((Collection<? extends Generalization>) newValue);
+ return;
+ case UMLPackage.ACTIVITY__POWERTYPE_EXTENT :
+ getPowertypeExtents().clear();
+ getPowertypeExtents()
+ .addAll((Collection<? extends GeneralizationSet>) newValue);
+ return;
+ case UMLPackage.ACTIVITY__IS_ABSTRACT :
+ setIsAbstract((Boolean) newValue);
+ return;
+ case UMLPackage.ACTIVITY__IS_FINAL_SPECIALIZATION :
+ setIsFinalSpecialization((Boolean) newValue);
+ return;
+ case UMLPackage.ACTIVITY__OWNED_USE_CASE :
+ getOwnedUseCases().clear();
+ getOwnedUseCases()
+ .addAll((Collection<? extends UseCase>) newValue);
+ return;
+ case UMLPackage.ACTIVITY__USE_CASE :
+ getUseCases().clear();
+ getUseCases().addAll((Collection<? extends UseCase>) newValue);
+ return;
+ case UMLPackage.ACTIVITY__REDEFINED_CLASSIFIER :
+ getRedefinedClassifiers().clear();
+ getRedefinedClassifiers()
+ .addAll((Collection<? extends Classifier>) newValue);
+ return;
+ case UMLPackage.ACTIVITY__REPRESENTATION :
+ setRepresentation((CollaborationUse) newValue);
+ return;
+ case UMLPackage.ACTIVITY__SUBSTITUTION :
+ getSubstitutions().clear();
+ getSubstitutions()
+ .addAll((Collection<? extends Substitution>) newValue);
+ return;
+ case UMLPackage.ACTIVITY__OWNED_ATTRIBUTE :
+ getOwnedAttributes().clear();
+ getOwnedAttributes()
+ .addAll((Collection<? extends Property>) newValue);
+ return;
+ case UMLPackage.ACTIVITY__OWNED_CONNECTOR :
+ getOwnedConnectors().clear();
+ getOwnedConnectors()
+ .addAll((Collection<? extends Connector>) newValue);
+ return;
+ case UMLPackage.ACTIVITY__CLASSIFIER_BEHAVIOR :
+ setClassifierBehavior((Behavior) newValue);
+ return;
+ case UMLPackage.ACTIVITY__INTERFACE_REALIZATION :
+ getInterfaceRealizations().clear();
+ getInterfaceRealizations().addAll(
+ (Collection<? extends InterfaceRealization>) newValue);
+ return;
+ case UMLPackage.ACTIVITY__OWNED_BEHAVIOR :
+ getOwnedBehaviors().clear();
+ getOwnedBehaviors()
+ .addAll((Collection<? extends Behavior>) newValue);
+ return;
+ case UMLPackage.ACTIVITY__OWNED_OPERATION :
+ getOwnedOperations().clear();
+ getOwnedOperations()
+ .addAll((Collection<? extends Operation>) newValue);
+ return;
+ case UMLPackage.ACTIVITY__IS_ACTIVE :
+ setIsActive((Boolean) newValue);
+ return;
+ case UMLPackage.ACTIVITY__NESTED_CLASSIFIER :
+ getNestedClassifiers().clear();
+ getNestedClassifiers()
+ .addAll((Collection<? extends Classifier>) newValue);
+ return;
+ case UMLPackage.ACTIVITY__OWNED_RECEPTION :
+ getOwnedReceptions().clear();
+ getOwnedReceptions()
+ .addAll((Collection<? extends Reception>) newValue);
+ return;
+ case UMLPackage.ACTIVITY__SUPER_CLASS :
+ getSuperClasses().clear();
+ getSuperClasses().addAll(
+ (Collection<? extends org.eclipse.uml2.uml.Class>) newValue);
+ return;
+ case UMLPackage.ACTIVITY__SPECIFICATION :
+ setSpecification((BehavioralFeature) newValue);
+ return;
+ case UMLPackage.ACTIVITY__IS_REENTRANT :
+ setIsReentrant((Boolean) newValue);
+ return;
+ case UMLPackage.ACTIVITY__OWNED_PARAMETER :
+ getOwnedParameters().clear();
+ getOwnedParameters()
+ .addAll((Collection<? extends Parameter>) newValue);
+ return;
+ case UMLPackage.ACTIVITY__OWNED_PARAMETER_SET :
+ getOwnedParameterSets().clear();
+ getOwnedParameterSets()
+ .addAll((Collection<? extends ParameterSet>) newValue);
+ return;
+ case UMLPackage.ACTIVITY__POSTCONDITION :
+ getPostconditions().clear();
+ getPostconditions()
+ .addAll((Collection<? extends Constraint>) newValue);
+ return;
+ case UMLPackage.ACTIVITY__PRECONDITION :
+ getPreconditions().clear();
+ getPreconditions()
+ .addAll((Collection<? extends Constraint>) newValue);
+ return;
+ case UMLPackage.ACTIVITY__REDEFINED_BEHAVIOR :
+ getRedefinedBehaviors().clear();
+ getRedefinedBehaviors()
+ .addAll((Collection<? extends Behavior>) newValue);
+ return;
+ case UMLPackage.ACTIVITY__OWNED_GROUP :
+ getOwnedGroups().clear();
+ getOwnedGroups()
+ .addAll((Collection<? extends ActivityGroup>) newValue);
+ return;
+ case UMLPackage.ACTIVITY__EDGE :
+ getEdges().clear();
+ getEdges()
+ .addAll((Collection<? extends ActivityEdge>) newValue);
+ return;
+ case UMLPackage.ACTIVITY__NODE :
+ getNodes().clear();
+ getNodes()
+ .addAll((Collection<? extends ActivityNode>) newValue);
+ return;
+ case UMLPackage.ACTIVITY__VARIABLE :
+ getVariables().clear();
+ getVariables()
+ .addAll((Collection<? extends Variable>) newValue);
+ return;
+ case UMLPackage.ACTIVITY__GROUP :
+ getGroups().clear();
+ getGroups()
+ .addAll((Collection<? extends ActivityGroup>) newValue);
+ return;
+ case UMLPackage.ACTIVITY__OWNED_NODE :
+ getOwnedNodes().clear();
+ getOwnedNodes()
+ .addAll((Collection<? extends ActivityNode>) newValue);
+ return;
+ case UMLPackage.ACTIVITY__IS_READ_ONLY :
+ setIsReadOnly((Boolean) newValue);
+ return;
+ case UMLPackage.ACTIVITY__IS_SINGLE_EXECUTION :
+ setIsSingleExecution((Boolean) newValue);
+ return;
+ case UMLPackage.ACTIVITY__PARTITION :
+ getPartitions().clear();
+ getPartitions()
+ .addAll((Collection<? extends ActivityPartition>) newValue);
+ return;
+ case UMLPackage.ACTIVITY__STRUCTURED_NODE :
+ getStructuredNodes().clear();
+ getStructuredNodes().addAll(
+ (Collection<? extends StructuredActivityNode>) newValue);
+ return;
+ }
+ eDynamicSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case UMLPackage.ACTIVITY__EANNOTATIONS :
+ getEAnnotations().clear();
+ return;
+ case UMLPackage.ACTIVITY__OWNED_COMMENT :
+ getOwnedComments().clear();
+ return;
+ case UMLPackage.ACTIVITY__NAME :
+ unsetName();
+ return;
+ case UMLPackage.ACTIVITY__NAME_EXPRESSION :
+ setNameExpression((StringExpression) null);
+ return;
+ case UMLPackage.ACTIVITY__VISIBILITY :
+ unsetVisibility();
+ return;
+ case UMLPackage.ACTIVITY__OWNED_RULE :
+ getOwnedRules().clear();
+ return;
+ case UMLPackage.ACTIVITY__ELEMENT_IMPORT :
+ getElementImports().clear();
+ return;
+ case UMLPackage.ACTIVITY__PACKAGE_IMPORT :
+ getPackageImports().clear();
+ return;
+ case UMLPackage.ACTIVITY__IS_LEAF :
+ setIsLeaf(IS_LEAF_EDEFAULT);
+ return;
+ case UMLPackage.ACTIVITY__OWNING_TEMPLATE_PARAMETER :
+ setOwningTemplateParameter((TemplateParameter) null);
+ return;
+ case UMLPackage.ACTIVITY__TEMPLATE_PARAMETER :
+ setTemplateParameter((TemplateParameter) null);
+ return;
+ case UMLPackage.ACTIVITY__PACKAGE :
+ setPackage((org.eclipse.uml2.uml.Package) null);
+ return;
+ case UMLPackage.ACTIVITY__TEMPLATE_BINDING :
+ getTemplateBindings().clear();
+ return;
+ case UMLPackage.ACTIVITY__OWNED_TEMPLATE_SIGNATURE :
+ setOwnedTemplateSignature((TemplateSignature) null);
+ return;
+ case UMLPackage.ACTIVITY__COLLABORATION_USE :
+ getCollaborationUses().clear();
+ return;
+ case UMLPackage.ACTIVITY__GENERAL :
+ getGenerals().clear();
+ return;
+ case UMLPackage.ACTIVITY__GENERALIZATION :
+ getGeneralizations().clear();
+ return;
+ case UMLPackage.ACTIVITY__POWERTYPE_EXTENT :
+ getPowertypeExtents().clear();
+ return;
+ case UMLPackage.ACTIVITY__IS_ABSTRACT :
+ setIsAbstract(IS_ABSTRACT_EDEFAULT);
+ return;
+ case UMLPackage.ACTIVITY__IS_FINAL_SPECIALIZATION :
+ setIsFinalSpecialization(IS_FINAL_SPECIALIZATION_EDEFAULT);
+ return;
+ case UMLPackage.ACTIVITY__OWNED_USE_CASE :
+ getOwnedUseCases().clear();
+ return;
+ case UMLPackage.ACTIVITY__USE_CASE :
+ getUseCases().clear();
+ return;
+ case UMLPackage.ACTIVITY__REDEFINED_CLASSIFIER :
+ getRedefinedClassifiers().clear();
+ return;
+ case UMLPackage.ACTIVITY__REPRESENTATION :
+ setRepresentation((CollaborationUse) null);
+ return;
+ case UMLPackage.ACTIVITY__SUBSTITUTION :
+ getSubstitutions().clear();
+ return;
+ case UMLPackage.ACTIVITY__OWNED_ATTRIBUTE :
+ getOwnedAttributes().clear();
+ return;
+ case UMLPackage.ACTIVITY__OWNED_CONNECTOR :
+ getOwnedConnectors().clear();
+ return;
+ case UMLPackage.ACTIVITY__CLASSIFIER_BEHAVIOR :
+ setClassifierBehavior((Behavior) null);
+ return;
+ case UMLPackage.ACTIVITY__INTERFACE_REALIZATION :
+ getInterfaceRealizations().clear();
+ return;
+ case UMLPackage.ACTIVITY__OWNED_BEHAVIOR :
+ getOwnedBehaviors().clear();
+ return;
+ case UMLPackage.ACTIVITY__OWNED_OPERATION :
+ getOwnedOperations().clear();
+ return;
+ case UMLPackage.ACTIVITY__IS_ACTIVE :
+ setIsActive(IS_ACTIVE_EDEFAULT);
+ return;
+ case UMLPackage.ACTIVITY__NESTED_CLASSIFIER :
+ getNestedClassifiers().clear();
+ return;
+ case UMLPackage.ACTIVITY__OWNED_RECEPTION :
+ getOwnedReceptions().clear();
+ return;
+ case UMLPackage.ACTIVITY__SUPER_CLASS :
+ getSuperClasses().clear();
+ return;
+ case UMLPackage.ACTIVITY__SPECIFICATION :
+ setSpecification((BehavioralFeature) null);
+ return;
+ case UMLPackage.ACTIVITY__IS_REENTRANT :
+ unsetIsReentrant();
+ return;
+ case UMLPackage.ACTIVITY__OWNED_PARAMETER :
+ getOwnedParameters().clear();
+ return;
+ case UMLPackage.ACTIVITY__OWNED_PARAMETER_SET :
+ getOwnedParameterSets().clear();
+ return;
+ case UMLPackage.ACTIVITY__POSTCONDITION :
+ getPostconditions().clear();
+ return;
+ case UMLPackage.ACTIVITY__PRECONDITION :
+ getPreconditions().clear();
+ return;
+ case UMLPackage.ACTIVITY__REDEFINED_BEHAVIOR :
+ getRedefinedBehaviors().clear();
+ return;
+ case UMLPackage.ACTIVITY__OWNED_GROUP :
+ getOwnedGroups().clear();
+ return;
+ case UMLPackage.ACTIVITY__EDGE :
+ getEdges().clear();
+ return;
+ case UMLPackage.ACTIVITY__NODE :
+ getNodes().clear();
+ return;
+ case UMLPackage.ACTIVITY__VARIABLE :
+ getVariables().clear();
+ return;
+ case UMLPackage.ACTIVITY__GROUP :
+ getGroups().clear();
+ return;
+ case UMLPackage.ACTIVITY__OWNED_NODE :
+ getOwnedNodes().clear();
+ return;
+ case UMLPackage.ACTIVITY__IS_READ_ONLY :
+ setIsReadOnly(IS_READ_ONLY_EDEFAULT);
+ return;
+ case UMLPackage.ACTIVITY__IS_SINGLE_EXECUTION :
+ setIsSingleExecution(IS_SINGLE_EXECUTION_EDEFAULT);
+ return;
+ case UMLPackage.ACTIVITY__PARTITION :
+ getPartitions().clear();
+ return;
+ case UMLPackage.ACTIVITY__STRUCTURED_NODE :
+ getStructuredNodes().clear();
+ return;
+ }
+ eDynamicUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case UMLPackage.ACTIVITY__EANNOTATIONS :
+ return !getEAnnotations().isEmpty();
+ case UMLPackage.ACTIVITY__OWNED_COMMENT :
+ return !getOwnedComments().isEmpty();
+ case UMLPackage.ACTIVITY__OWNED_ELEMENT :
+ return isSetOwnedElements();
+ case UMLPackage.ACTIVITY__OWNER :
+ return isSetOwner();
+ case UMLPackage.ACTIVITY__CLIENT_DEPENDENCY :
+ return !getClientDependencies().isEmpty();
+ case UMLPackage.ACTIVITY__NAME :
+ return isSetName();
+ case UMLPackage.ACTIVITY__NAME_EXPRESSION :
+ return basicGetNameExpression() != null;
+ case UMLPackage.ACTIVITY__NAMESPACE :
+ return isSetNamespace();
+ case UMLPackage.ACTIVITY__QUALIFIED_NAME :
+ return QUALIFIED_NAME_EDEFAULT == null
+ ? getQualifiedName() != null
+ : !QUALIFIED_NAME_EDEFAULT.equals(getQualifiedName());
+ case UMLPackage.ACTIVITY__VISIBILITY :
+ return isSetVisibility();
+ case UMLPackage.ACTIVITY__OWNED_RULE :
+ return !getOwnedRules().isEmpty();
+ case UMLPackage.ACTIVITY__ELEMENT_IMPORT :
+ return !getElementImports().isEmpty();
+ case UMLPackage.ACTIVITY__PACKAGE_IMPORT :
+ return !getPackageImports().isEmpty();
+ case UMLPackage.ACTIVITY__OWNED_MEMBER :
+ return isSetOwnedMembers();
+ case UMLPackage.ACTIVITY__IMPORTED_MEMBER :
+ return !getImportedMembers().isEmpty();
+ case UMLPackage.ACTIVITY__MEMBER :
+ return isSetMembers();
+ case UMLPackage.ACTIVITY__IS_LEAF :
+ return isLeaf() != IS_LEAF_EDEFAULT;
+ case UMLPackage.ACTIVITY__REDEFINED_ELEMENT :
+ return isSetRedefinedElements();
+ case UMLPackage.ACTIVITY__REDEFINITION_CONTEXT :
+ return isSetRedefinitionContexts();
+ case UMLPackage.ACTIVITY__OWNING_TEMPLATE_PARAMETER :
+ return basicGetOwningTemplateParameter() != null;
+ case UMLPackage.ACTIVITY__TEMPLATE_PARAMETER :
+ return isSetTemplateParameter();
+ case UMLPackage.ACTIVITY__PACKAGE :
+ return basicGetPackage() != null;
+ case UMLPackage.ACTIVITY__TEMPLATE_BINDING :
+ return !getTemplateBindings().isEmpty();
+ case UMLPackage.ACTIVITY__OWNED_TEMPLATE_SIGNATURE :
+ return isSetOwnedTemplateSignature();
+ case UMLPackage.ACTIVITY__FEATURE :
+ return isSetFeatures();
+ case UMLPackage.ACTIVITY__ATTRIBUTE :
+ return isSetAttributes();
+ case UMLPackage.ACTIVITY__COLLABORATION_USE :
+ return !getCollaborationUses().isEmpty();
+ case UMLPackage.ACTIVITY__GENERAL :
+ return isSetGenerals();
+ case UMLPackage.ACTIVITY__GENERALIZATION :
+ return !getGeneralizations().isEmpty();
+ case UMLPackage.ACTIVITY__POWERTYPE_EXTENT :
+ return !getPowertypeExtents().isEmpty();
+ case UMLPackage.ACTIVITY__INHERITED_MEMBER :
+ return !getInheritedMembers().isEmpty();
+ case UMLPackage.ACTIVITY__IS_ABSTRACT :
+ return isSetIsAbstract();
+ case UMLPackage.ACTIVITY__IS_FINAL_SPECIALIZATION :
+ return isFinalSpecialization() != IS_FINAL_SPECIALIZATION_EDEFAULT;
+ case UMLPackage.ACTIVITY__OWNED_USE_CASE :
+ return !getOwnedUseCases().isEmpty();
+ case UMLPackage.ACTIVITY__USE_CASE :
+ return !getUseCases().isEmpty();
+ case UMLPackage.ACTIVITY__REDEFINED_CLASSIFIER :
+ return !getRedefinedClassifiers().isEmpty();
+ case UMLPackage.ACTIVITY__REPRESENTATION :
+ return basicGetRepresentation() != null;
+ case UMLPackage.ACTIVITY__SUBSTITUTION :
+ return !getSubstitutions().isEmpty();
+ case UMLPackage.ACTIVITY__OWNED_ATTRIBUTE :
+ return isSetOwnedAttributes();
+ case UMLPackage.ACTIVITY__OWNED_CONNECTOR :
+ return !getOwnedConnectors().isEmpty();
+ case UMLPackage.ACTIVITY__PART :
+ return !getParts().isEmpty();
+ case UMLPackage.ACTIVITY__ROLE :
+ return isSetRoles();
+ case UMLPackage.ACTIVITY__OWNED_PORT :
+ return !getOwnedPorts().isEmpty();
+ case UMLPackage.ACTIVITY__CLASSIFIER_BEHAVIOR :
+ return basicGetClassifierBehavior() != null;
+ case UMLPackage.ACTIVITY__INTERFACE_REALIZATION :
+ return !getInterfaceRealizations().isEmpty();
+ case UMLPackage.ACTIVITY__OWNED_BEHAVIOR :
+ return !getOwnedBehaviors().isEmpty();
+ case UMLPackage.ACTIVITY__OWNED_OPERATION :
+ return !getOwnedOperations().isEmpty();
+ case UMLPackage.ACTIVITY__EXTENSION :
+ return !getExtensions().isEmpty();
+ case UMLPackage.ACTIVITY__IS_ACTIVE :
+ return isActive() != IS_ACTIVE_EDEFAULT;
+ case UMLPackage.ACTIVITY__NESTED_CLASSIFIER :
+ return !getNestedClassifiers().isEmpty();
+ case UMLPackage.ACTIVITY__OWNED_RECEPTION :
+ return !getOwnedReceptions().isEmpty();
+ case UMLPackage.ACTIVITY__SUPER_CLASS :
+ return isSetSuperClasses();
+ case UMLPackage.ACTIVITY__SPECIFICATION :
+ return basicGetSpecification() != null;
+ case UMLPackage.ACTIVITY__CONTEXT :
+ return basicGetContext() != null;
+ case UMLPackage.ACTIVITY__IS_REENTRANT :
+ return isSetIsReentrant();
+ case UMLPackage.ACTIVITY__OWNED_PARAMETER :
+ return !getOwnedParameters().isEmpty();
+ case UMLPackage.ACTIVITY__OWNED_PARAMETER_SET :
+ return !getOwnedParameterSets().isEmpty();
+ case UMLPackage.ACTIVITY__POSTCONDITION :
+ return !getPostconditions().isEmpty();
+ case UMLPackage.ACTIVITY__PRECONDITION :
+ return !getPreconditions().isEmpty();
+ case UMLPackage.ACTIVITY__REDEFINED_BEHAVIOR :
+ return !getRedefinedBehaviors().isEmpty();
+ case UMLPackage.ACTIVITY__OWNED_GROUP :
+ return !getOwnedGroups().isEmpty();
+ case UMLPackage.ACTIVITY__EDGE :
+ return !getEdges().isEmpty();
+ case UMLPackage.ACTIVITY__NODE :
+ return !getNodes().isEmpty();
+ case UMLPackage.ACTIVITY__VARIABLE :
+ return !getVariables().isEmpty();
+ case UMLPackage.ACTIVITY__GROUP :
+ return !getGroups().isEmpty();
+ case UMLPackage.ACTIVITY__OWNED_NODE :
+ return !getOwnedNodes().isEmpty();
+ case UMLPackage.ACTIVITY__IS_READ_ONLY :
+ return isReadOnly() != IS_READ_ONLY_EDEFAULT;
+ case UMLPackage.ACTIVITY__IS_SINGLE_EXECUTION :
+ return isSingleExecution() != IS_SINGLE_EXECUTION_EDEFAULT;
+ case UMLPackage.ACTIVITY__PARTITION :
+ return !getPartitions().isEmpty();
+ case UMLPackage.ACTIVITY__STRUCTURED_NODE :
+ return !getStructuredNodes().isEmpty();
+ }
+ return eDynamicIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ @SuppressWarnings("unchecked")
+ public Object eInvoke(int operationID, EList<?> arguments)
+ throws InvocationTargetException {
+ switch (operationID) {
+ case UMLPackage.ACTIVITY___GET_EANNOTATION__STRING :
+ return getEAnnotation((String) arguments.get(0));
+ case UMLPackage.ACTIVITY___VALIDATE_HAS_OWNER__DIAGNOSTICCHAIN_MAP :
+ return validateHasOwner((DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY___VALIDATE_NOT_OWN_SELF__DIAGNOSTICCHAIN_MAP :
+ return validateNotOwnSelf((DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY___ADD_KEYWORD__STRING :
+ return addKeyword((String) arguments.get(0));
+ case UMLPackage.ACTIVITY___APPLY_STEREOTYPE__STEREOTYPE :
+ return applyStereotype((Stereotype) arguments.get(0));
+ case UMLPackage.ACTIVITY___CREATE_EANNOTATION__STRING :
+ return createEAnnotation((String) arguments.get(0));
+ case UMLPackage.ACTIVITY___DESTROY :
+ destroy();
+ return null;
+ case UMLPackage.ACTIVITY___GET_KEYWORDS :
+ return getKeywords();
+ case UMLPackage.ACTIVITY___GET_APPLICABLE_STEREOTYPE__STRING :
+ return getApplicableStereotype((String) arguments.get(0));
+ case UMLPackage.ACTIVITY___GET_APPLICABLE_STEREOTYPES :
+ return getApplicableStereotypes();
+ case UMLPackage.ACTIVITY___GET_APPLIED_STEREOTYPE__STRING :
+ return getAppliedStereotype((String) arguments.get(0));
+ case UMLPackage.ACTIVITY___GET_APPLIED_STEREOTYPES :
+ return getAppliedStereotypes();
+ case UMLPackage.ACTIVITY___GET_APPLIED_SUBSTEREOTYPE__STEREOTYPE_STRING :
+ return getAppliedSubstereotype((Stereotype) arguments.get(0),
+ (String) arguments.get(1));
+ case UMLPackage.ACTIVITY___GET_APPLIED_SUBSTEREOTYPES__STEREOTYPE :
+ return getAppliedSubstereotypes((Stereotype) arguments.get(0));
+ case UMLPackage.ACTIVITY___GET_MODEL :
+ return getModel();
+ case UMLPackage.ACTIVITY___GET_NEAREST_PACKAGE :
+ return getNearestPackage();
+ case UMLPackage.ACTIVITY___GET_RELATIONSHIPS :
+ return getRelationships();
+ case UMLPackage.ACTIVITY___GET_RELATIONSHIPS__ECLASS :
+ return getRelationships((EClass) arguments.get(0));
+ case UMLPackage.ACTIVITY___GET_REQUIRED_STEREOTYPE__STRING :
+ return getRequiredStereotype((String) arguments.get(0));
+ case UMLPackage.ACTIVITY___GET_REQUIRED_STEREOTYPES :
+ return getRequiredStereotypes();
+ case UMLPackage.ACTIVITY___GET_SOURCE_DIRECTED_RELATIONSHIPS :
+ return getSourceDirectedRelationships();
+ case UMLPackage.ACTIVITY___GET_SOURCE_DIRECTED_RELATIONSHIPS__ECLASS :
+ return getSourceDirectedRelationships(
+ (EClass) arguments.get(0));
+ case UMLPackage.ACTIVITY___GET_STEREOTYPE_APPLICATION__STEREOTYPE :
+ return getStereotypeApplication((Stereotype) arguments.get(0));
+ case UMLPackage.ACTIVITY___GET_STEREOTYPE_APPLICATIONS :
+ return getStereotypeApplications();
+ case UMLPackage.ACTIVITY___GET_TARGET_DIRECTED_RELATIONSHIPS :
+ return getTargetDirectedRelationships();
+ case UMLPackage.ACTIVITY___GET_TARGET_DIRECTED_RELATIONSHIPS__ECLASS :
+ return getTargetDirectedRelationships(
+ (EClass) arguments.get(0));
+ case UMLPackage.ACTIVITY___GET_VALUE__STEREOTYPE_STRING :
+ return getValue((Stereotype) arguments.get(0),
+ (String) arguments.get(1));
+ case UMLPackage.ACTIVITY___HAS_KEYWORD__STRING :
+ return hasKeyword((String) arguments.get(0));
+ case UMLPackage.ACTIVITY___HAS_VALUE__STEREOTYPE_STRING :
+ return hasValue((Stereotype) arguments.get(0),
+ (String) arguments.get(1));
+ case UMLPackage.ACTIVITY___IS_STEREOTYPE_APPLICABLE__STEREOTYPE :
+ return isStereotypeApplicable((Stereotype) arguments.get(0));
+ case UMLPackage.ACTIVITY___IS_STEREOTYPE_APPLIED__STEREOTYPE :
+ return isStereotypeApplied((Stereotype) arguments.get(0));
+ case UMLPackage.ACTIVITY___IS_STEREOTYPE_REQUIRED__STEREOTYPE :
+ return isStereotypeRequired((Stereotype) arguments.get(0));
+ case UMLPackage.ACTIVITY___REMOVE_KEYWORD__STRING :
+ return removeKeyword((String) arguments.get(0));
+ case UMLPackage.ACTIVITY___SET_VALUE__STEREOTYPE_STRING_OBJECT :
+ setValue((Stereotype) arguments.get(0),
+ (String) arguments.get(1), arguments.get(2));
+ return null;
+ case UMLPackage.ACTIVITY___UNAPPLY_STEREOTYPE__STEREOTYPE :
+ return unapplyStereotype((Stereotype) arguments.get(0));
+ case UMLPackage.ACTIVITY___ALL_OWNED_ELEMENTS :
+ return allOwnedElements();
+ case UMLPackage.ACTIVITY___MUST_BE_OWNED :
+ return mustBeOwned();
+ case UMLPackage.ACTIVITY___VALIDATE_VISIBILITY_NEEDS_OWNERSHIP__DIAGNOSTICCHAIN_MAP :
+ return validateVisibilityNeedsOwnership(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY___VALIDATE_HAS_QUALIFIED_NAME__DIAGNOSTICCHAIN_MAP :
+ return validateHasQualifiedName(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY___VALIDATE_HAS_NO_QUALIFIED_NAME__DIAGNOSTICCHAIN_MAP :
+ return validateHasNoQualifiedName(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY___CREATE_DEPENDENCY__NAMEDELEMENT :
+ return createDependency((NamedElement) arguments.get(0));
+ case UMLPackage.ACTIVITY___CREATE_USAGE__NAMEDELEMENT :
+ return createUsage((NamedElement) arguments.get(0));
+ case UMLPackage.ACTIVITY___GET_LABEL :
+ return getLabel();
+ case UMLPackage.ACTIVITY___GET_LABEL__BOOLEAN :
+ return getLabel((Boolean) arguments.get(0));
+ case UMLPackage.ACTIVITY___GET_NAMESPACE :
+ return getNamespace();
+ case UMLPackage.ACTIVITY___ALL_NAMESPACES :
+ return allNamespaces();
+ case UMLPackage.ACTIVITY___ALL_OWNING_PACKAGES :
+ return allOwningPackages();
+ case UMLPackage.ACTIVITY___IS_DISTINGUISHABLE_FROM__NAMEDELEMENT_NAMESPACE :
+ return isDistinguishableFrom((NamedElement) arguments.get(0),
+ (Namespace) arguments.get(1));
+ case UMLPackage.ACTIVITY___GET_QUALIFIED_NAME :
+ return getQualifiedName();
+ case UMLPackage.ACTIVITY___SEPARATOR :
+ return separator();
+ case UMLPackage.ACTIVITY___GET_CLIENT_DEPENDENCIES :
+ return getClientDependencies();
+ case UMLPackage.ACTIVITY___VALIDATE_MEMBERS_DISTINGUISHABLE__DIAGNOSTICCHAIN_MAP :
+ return validateMembersDistinguishable(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY___VALIDATE_CANNOT_IMPORT_SELF__DIAGNOSTICCHAIN_MAP :
+ return validateCannotImportSelf(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY___VALIDATE_CANNOT_IMPORT_OWNED_MEMBERS__DIAGNOSTICCHAIN_MAP :
+ return validateCannotImportOwnedMembers(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY___CREATE_ELEMENT_IMPORT__PACKAGEABLEELEMENT_VISIBILITYKIND :
+ return createElementImport(
+ (PackageableElement) arguments.get(0),
+ (VisibilityKind) arguments.get(1));
+ case UMLPackage.ACTIVITY___CREATE_PACKAGE_IMPORT__PACKAGE_VISIBILITYKIND :
+ return createPackageImport(
+ (org.eclipse.uml2.uml.Package) arguments.get(0),
+ (VisibilityKind) arguments.get(1));
+ case UMLPackage.ACTIVITY___GET_IMPORTED_ELEMENTS :
+ return getImportedElements();
+ case UMLPackage.ACTIVITY___GET_IMPORTED_PACKAGES :
+ return getImportedPackages();
+ case UMLPackage.ACTIVITY___GET_OWNED_MEMBERS :
+ return getOwnedMembers();
+ case UMLPackage.ACTIVITY___EXCLUDE_COLLISIONS__ELIST :
+ return excludeCollisions(
+ (EList<PackageableElement>) arguments.get(0));
+ case UMLPackage.ACTIVITY___GET_NAMES_OF_MEMBER__NAMEDELEMENT :
+ return getNamesOfMember((NamedElement) arguments.get(0));
+ case UMLPackage.ACTIVITY___IMPORT_MEMBERS__ELIST :
+ return importMembers(
+ (EList<PackageableElement>) arguments.get(0));
+ case UMLPackage.ACTIVITY___GET_IMPORTED_MEMBERS :
+ return getImportedMembers();
+ case UMLPackage.ACTIVITY___MEMBERS_ARE_DISTINGUISHABLE :
+ return membersAreDistinguishable();
+ case UMLPackage.ACTIVITY___VALIDATE_REDEFINITION_CONSISTENT__DIAGNOSTICCHAIN_MAP :
+ return validateRedefinitionConsistent(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY___VALIDATE_NON_LEAF_REDEFINITION__DIAGNOSTICCHAIN_MAP :
+ return validateNonLeafRedefinition(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY___VALIDATE_REDEFINITION_CONTEXT_VALID__DIAGNOSTICCHAIN_MAP :
+ return validateRedefinitionContextValid(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY___IS_CONSISTENT_WITH__REDEFINABLEELEMENT :
+ return isConsistentWith((RedefinableElement) arguments.get(0));
+ case UMLPackage.ACTIVITY___IS_REDEFINITION_CONTEXT_VALID__REDEFINABLEELEMENT :
+ return isRedefinitionContextValid(
+ (RedefinableElement) arguments.get(0));
+ case UMLPackage.ACTIVITY___IS_COMPATIBLE_WITH__PARAMETERABLEELEMENT :
+ return isCompatibleWith(
+ (ParameterableElement) arguments.get(0));
+ case UMLPackage.ACTIVITY___IS_TEMPLATE_PARAMETER :
+ return isTemplateParameter();
+ case UMLPackage.ACTIVITY___VALIDATE_NAMESPACE_NEEDS_VISIBILITY__DIAGNOSTICCHAIN_MAP :
+ return validateNamespaceNeedsVisibility(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY___CREATE_ASSOCIATION__BOOLEAN_AGGREGATIONKIND_STRING_INT_INT_TYPE_BOOLEAN_AGGREGATIONKIND_STRING_INT_INT :
+ return createAssociation((Boolean) arguments.get(0),
+ (AggregationKind) arguments.get(1),
+ (String) arguments.get(2), (Integer) arguments.get(3),
+ (Integer) arguments.get(4), (Type) arguments.get(5),
+ (Boolean) arguments.get(6),
+ (AggregationKind) arguments.get(7),
+ (String) arguments.get(8), (Integer) arguments.get(9),
+ (Integer) arguments.get(10));
+ case UMLPackage.ACTIVITY___GET_ASSOCIATIONS :
+ return getAssociations();
+ case UMLPackage.ACTIVITY___CONFORMS_TO__TYPE :
+ return conformsTo((Type) arguments.get(0));
+ case UMLPackage.ACTIVITY___IS_TEMPLATE :
+ return isTemplate();
+ case UMLPackage.ACTIVITY___PARAMETERABLE_ELEMENTS :
+ return parameterableElements();
+ case UMLPackage.ACTIVITY___VALIDATE_SPECIALIZE_TYPE__DIAGNOSTICCHAIN_MAP :
+ return validateSpecializeType(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY___VALIDATE_MAPS_TO_GENERALIZATION_SET__DIAGNOSTICCHAIN_MAP :
+ return validateMapsToGeneralizationSet(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY___VALIDATE_NON_FINAL_PARENTS__DIAGNOSTICCHAIN_MAP :
+ return validateNonFinalParents(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY___VALIDATE_NO_CYCLES_IN_GENERALIZATION__DIAGNOSTICCHAIN_MAP :
+ return validateNoCyclesInGeneralization(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY___GET_ALL_ATTRIBUTES :
+ return getAllAttributes();
+ case UMLPackage.ACTIVITY___GET_ALL_OPERATIONS :
+ return getAllOperations();
+ case UMLPackage.ACTIVITY___GET_ALL_USED_INTERFACES :
+ return getAllUsedInterfaces();
+ case UMLPackage.ACTIVITY___GET_OPERATION__STRING_ELIST_ELIST :
+ return getOperation((String) arguments.get(0),
+ (EList<String>) arguments.get(1),
+ (EList<Type>) arguments.get(2));
+ case UMLPackage.ACTIVITY___GET_OPERATION__STRING_ELIST_ELIST_BOOLEAN :
+ return getOperation((String) arguments.get(0),
+ (EList<String>) arguments.get(1),
+ (EList<Type>) arguments.get(2), (Boolean) arguments.get(3));
+ case UMLPackage.ACTIVITY___GET_OPERATIONS :
+ return getOperations();
+ case UMLPackage.ACTIVITY___GET_USED_INTERFACES :
+ return getUsedInterfaces();
+ case UMLPackage.ACTIVITY___ALL_FEATURES :
+ return allFeatures();
+ case UMLPackage.ACTIVITY___ALL_PARENTS :
+ return allParents();
+ case UMLPackage.ACTIVITY___GET_GENERALS :
+ return getGenerals();
+ case UMLPackage.ACTIVITY___HAS_VISIBILITY_OF__NAMEDELEMENT :
+ return hasVisibilityOf((NamedElement) arguments.get(0));
+ case UMLPackage.ACTIVITY___INHERIT__ELIST :
+ return inherit((EList<NamedElement>) arguments.get(0));
+ case UMLPackage.ACTIVITY___INHERITABLE_MEMBERS__CLASSIFIER :
+ return inheritableMembers((Classifier) arguments.get(0));
+ case UMLPackage.ACTIVITY___GET_INHERITED_MEMBERS :
+ return getInheritedMembers();
+ case UMLPackage.ACTIVITY___MAY_SPECIALIZE_TYPE__CLASSIFIER :
+ return maySpecializeType((Classifier) arguments.get(0));
+ case UMLPackage.ACTIVITY___PARENTS :
+ return parents();
+ case UMLPackage.ACTIVITY___DIRECTLY_REALIZED_INTERFACES :
+ return directlyRealizedInterfaces();
+ case UMLPackage.ACTIVITY___DIRECTLY_USED_INTERFACES :
+ return directlyUsedInterfaces();
+ case UMLPackage.ACTIVITY___ALL_REALIZED_INTERFACES :
+ return allRealizedInterfaces();
+ case UMLPackage.ACTIVITY___ALL_USED_INTERFACES :
+ return allUsedInterfaces();
+ case UMLPackage.ACTIVITY___IS_SUBSTITUTABLE_FOR__CLASSIFIER :
+ return isSubstitutableFor((Classifier) arguments.get(0));
+ case UMLPackage.ACTIVITY___ALL_ATTRIBUTES :
+ return allAttributes();
+ case UMLPackage.ACTIVITY___ALL_SLOTTABLE_FEATURES :
+ return allSlottableFeatures();
+ case UMLPackage.ACTIVITY___CREATE_OWNED_ATTRIBUTE__STRING_TYPE_INT_INT :
+ return createOwnedAttribute((String) arguments.get(0),
+ (Type) arguments.get(1), (Integer) arguments.get(2),
+ (Integer) arguments.get(3));
+ case UMLPackage.ACTIVITY___GET_PARTS :
+ return getParts();
+ case UMLPackage.ACTIVITY___ALL_ROLES :
+ return allRoles();
+ case UMLPackage.ACTIVITY___GET_OWNED_PORTS :
+ return getOwnedPorts();
+ case UMLPackage.ACTIVITY___VALIDATE_CLASS_BEHAVIOR__DIAGNOSTICCHAIN_MAP :
+ return validateClassBehavior((DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY___GET_ALL_IMPLEMENTED_INTERFACES :
+ return getAllImplementedInterfaces();
+ case UMLPackage.ACTIVITY___GET_IMPLEMENTED_INTERFACES :
+ return getImplementedInterfaces();
+ case UMLPackage.ACTIVITY___VALIDATE_PASSIVE_CLASS__DIAGNOSTICCHAIN_MAP :
+ return validatePassiveClass((DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY___CREATE_OWNED_OPERATION__STRING_ELIST_ELIST_TYPE :
+ return createOwnedOperation((String) arguments.get(0),
+ (EList<String>) arguments.get(1),
+ (EList<Type>) arguments.get(2), (Type) arguments.get(3));
+ case UMLPackage.ACTIVITY___IS_METACLASS :
+ return isMetaclass();
+ case UMLPackage.ACTIVITY___GET_EXTENSIONS :
+ return getExtensions();
+ case UMLPackage.ACTIVITY___GET_SUPER_CLASSES :
+ return getSuperClasses();
+ case UMLPackage.ACTIVITY___VALIDATE_MOST_ONE_BEHAVIOR__DIAGNOSTICCHAIN_MAP :
+ return validateMostOneBehavior(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY___VALIDATE_PARAMETERS_MATCH__DIAGNOSTICCHAIN_MAP :
+ return validateParametersMatch(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY___VALIDATE_FEATURE_OF_CONTEXT_CLASSIFIER__DIAGNOSTICCHAIN_MAP :
+ return validateFeatureOfContextClassifier(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY___GET_CONTEXT :
+ return getContext();
+ case UMLPackage.ACTIVITY___BEHAVIORED_CLASSIFIER__ELEMENT :
+ return behavioredClassifier((Element) arguments.get(0));
+ case UMLPackage.ACTIVITY___INPUT_PARAMETERS :
+ return inputParameters();
+ case UMLPackage.ACTIVITY___OUTPUT_PARAMETERS :
+ return outputParameters();
+ case UMLPackage.ACTIVITY___VALIDATE_MAXIMUM_ONE_PARAMETER_NODE__DIAGNOSTICCHAIN_MAP :
+ return validateMaximumOneParameterNode(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY___VALIDATE_MAXIMUM_TWO_PARAMETER_NODES__DIAGNOSTICCHAIN_MAP :
+ return validateMaximumTwoParameterNodes(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ }
+ return eDynamicInvoke(operationID, arguments);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean isSetOwnedElements() {
+ return super.isSetOwnedElements() || eIsSet(UMLPackage.ACTIVITY__EDGE)
+ || eIsSet(UMLPackage.ACTIVITY__NODE)
+ || eIsSet(UMLPackage.ACTIVITY__GROUP);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean isSetOwnedMembers() {
+ return super.isSetOwnedMembers()
+ || eIsSet(UMLPackage.ACTIVITY__VARIABLE);
+ }
+
+ /**
+ * The array of subset feature identifiers for the '{@link #getOwnedElements() <em>Owned Element</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOwnedElements()
+ * @generated
+ * @ordered
+ */
+ protected static final int[] OWNED_ELEMENT_ESUBSETS = new int[]{
+ UMLPackage.ACTIVITY__OWNED_COMMENT,
+ UMLPackage.ACTIVITY__NAME_EXPRESSION,
+ UMLPackage.ACTIVITY__ELEMENT_IMPORT,
+ UMLPackage.ACTIVITY__PACKAGE_IMPORT, UMLPackage.ACTIVITY__OWNED_MEMBER,
+ UMLPackage.ACTIVITY__TEMPLATE_BINDING,
+ UMLPackage.ACTIVITY__OWNED_TEMPLATE_SIGNATURE,
+ UMLPackage.ACTIVITY__COLLABORATION_USE,
+ UMLPackage.ACTIVITY__GENERALIZATION, UMLPackage.ACTIVITY__SUBSTITUTION,
+ UMLPackage.ACTIVITY__INTERFACE_REALIZATION, UMLPackage.ACTIVITY__EDGE,
+ UMLPackage.ACTIVITY__NODE, UMLPackage.ACTIVITY__GROUP};
+
+ /**
+ * The array of subset feature identifiers for the '{@link #getOwnedMembers() <em>Owned Member</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOwnedMembers()
+ * @generated
+ * @ordered
+ */
+ protected static final int[] OWNED_MEMBER_ESUBSETS = new int[]{
+ UMLPackage.ACTIVITY__OWNED_RULE, UMLPackage.ACTIVITY__OWNED_USE_CASE,
+ UMLPackage.ACTIVITY__OWNED_ATTRIBUTE,
+ UMLPackage.ACTIVITY__OWNED_CONNECTOR,
+ UMLPackage.ACTIVITY__OWNED_BEHAVIOR,
+ UMLPackage.ACTIVITY__OWNED_OPERATION,
+ UMLPackage.ACTIVITY__NESTED_CLASSIFIER,
+ UMLPackage.ACTIVITY__OWNED_RECEPTION,
+ UMLPackage.ACTIVITY__OWNED_PARAMETER,
+ UMLPackage.ACTIVITY__OWNED_PARAMETER_SET,
+ UMLPackage.ACTIVITY__VARIABLE};
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ public EList<ActivityGroup> getOwnedGroups() {
+ return (EList<ActivityGroup>) eDynamicGet(
+ UMLPackage.ACTIVITY__OWNED_GROUP - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY__OWNED_GROUP, true, true);
+ }
+
+ private EList<ActivityGroup> createOwnedGroupsList() {
+ return new SubsetSupersetEObjectContainmentEList.Resolving<ActivityGroup>(
+ ActivityGroup.class, this, UMLPackage.ACTIVITY__OWNED_GROUP,
+ OWNED_GROUP_ESUPERSETS, OWNED_GROUP_ESUBSETS);
+ }
+
+ /**
+ * The array of subset feature identifiers for the '{@link #getOwnedGroups() <em>Owned Group</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOwnedGroups()
+ * @generated
+ * @ordered
+ */
+ protected static final int[] OWNED_GROUP_ESUBSETS = new int[]{
+ UMLPackage.ACTIVITY__PARTITION};
+
+ protected static final int[] OWNED_GROUP_ESUPERSETS = new int[]{
+ UMLPackage.ACTIVITY__GROUP};
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityGroup createOwnedGroup(String name, EClass eClass) {
+ ActivityGroup newOwnedGroup = (ActivityGroup) create(eClass);
+ getOwnedGroups().add(newOwnedGroup);
+ if (name != null)
+ newOwnedGroup.setName(name);
+ return newOwnedGroup;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityGroup getOwnedGroup(String name) {
+ return getOwnedGroup(name, false, null, false);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityGroup getOwnedGroup(String name, boolean ignoreCase,
+ EClass eClass, boolean createOnDemand) {
+ ownedGroupLoop : for (ActivityGroup ownedGroup : getOwnedGroups()) {
+ if (eClass != null && !eClass.isInstance(ownedGroup))
+ continue ownedGroupLoop;
+ if (name != null && !(ignoreCase
+ ? name.equalsIgnoreCase(ownedGroup.getName())
+ : name.equals(ownedGroup.getName())))
+ continue ownedGroupLoop;
+ return ownedGroup;
+ }
+ return createOnDemand && eClass != null
+ ? createOwnedGroup(name, eClass)
+ : null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityGroup getGroup(String name) {
+ return getGroup(name, false, null);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated NOT
+ */
+ public ActivityGroup getGroup(String name, boolean ignoreCase,
+ EClass eClass) {
+ groupLoop : for (ActivityGroup group : getGroups()) {
+ if (eClass != null && !eClass.isInstance(group))
+ continue groupLoop;
+ if (name != null && !(ignoreCase
+ ? name.equalsIgnoreCase(group.getName())
+ : name.equals(group.getName())))
+ continue groupLoop;
+ return group;
+ }
+ return null;
+ }
+
+ /**
+ * The array of superset feature identifiers for the '{@link #getStructuredNodes() <em>Structured Node</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getStructuredNodes()
+ * @generated NOT
+ * @ordered
+ */
+ protected static final int[] STRUCTURED_NODE_ESUPERSETS = new int[]{
+ UMLPackage.ACTIVITY__GROUP, UMLPackage.ACTIVITY__NODE};
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ public EList<ActivityNode> getOwnedNodes() {
+ return (EList<ActivityNode>) eDynamicGet(
+ UMLPackage.ACTIVITY__OWNED_NODE - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY__OWNED_NODE, true, true);
+ }
+
+ private EList<ActivityNode> createOwnedNodesList() {
+ return new SubsetSupersetEObjectContainmentEList.Resolving<ActivityNode>(
+ ActivityNode.class, this, UMLPackage.ACTIVITY__OWNED_NODE,
+ OWNED_NODE_ESUPERSETS, null);
+ }
+
+ protected static final int[] OWNED_NODE_ESUPERSETS = new int[]{
+ UMLPackage.ACTIVITY__NODE};
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityNode createOwnedNode(String name, EClass eClass) {
+ ActivityNode newOwnedNode = (ActivityNode) create(eClass);
+ getOwnedNodes().add(newOwnedNode);
+ if (name != null)
+ newOwnedNode.setName(name);
+ return newOwnedNode;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityNode getOwnedNode(String name) {
+ return getOwnedNode(name, false, null, false);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityNode getOwnedNode(String name, boolean ignoreCase,
+ EClass eClass, boolean createOnDemand) {
+ ownedNodeLoop : for (ActivityNode ownedNode : getOwnedNodes()) {
+ if (eClass != null && !eClass.isInstance(ownedNode))
+ continue ownedNodeLoop;
+ if (name != null && !(ignoreCase
+ ? name.equalsIgnoreCase(ownedNode.getName())
+ : name.equals(ownedNode.getName())))
+ continue ownedNodeLoop;
+ return ownedNode;
+ }
+ return createOnDemand && eClass != null
+ ? createOwnedNode(name, eClass)
+ : null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public StructuredActivityNode getStructuredNode(String name) {
+ return getStructuredNode(name, false, null, false);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated NOT
+ */
+ public StructuredActivityNode getStructuredNode(String name,
+ boolean ignoreCase, EClass eClass) {
+ return getStructuredNode(name, ignoreCase, eClass, false);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public StructuredActivityNode getStructuredNode(String name,
+ boolean ignoreCase, EClass eClass, boolean createOnDemand) {
+ structuredNodeLoop : for (StructuredActivityNode structuredNode : getStructuredNodes()) {
+ if (eClass != null && !eClass.isInstance(structuredNode))
+ continue structuredNodeLoop;
+ if (name != null && !(ignoreCase
+ ? name.equalsIgnoreCase(structuredNode.getName())
+ : name.equals(structuredNode.getName())))
+ continue structuredNodeLoop;
+ return structuredNode;
+ }
+ return createOnDemand && eClass != null
+ ? createStructuredNode(name, eClass)
+ : null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateMaximumOneParameterNode(DiagnosticChain diagnostics,
+ Map<Object, Object> context) {
+ return ActivityOperations.validateMaximumOneParameterNode(this,
+ diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateMaximumTwoParameterNodes(DiagnosticChain diagnostics,
+ Map<Object, Object> context) {
+ return ActivityOperations.validateMaximumTwoParameterNodes(this,
+ diagnostics, context);
+ }
+
+ /**
+ * The array of subset feature identifiers for the '{@link #getNodes() <em>Node</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNodes()
+ * @generated
+ * @ordered
+ */
+ protected static final int[] NODE_ESUBSETS = new int[]{
+ UMLPackage.ACTIVITY__OWNED_NODE, UMLPackage.ACTIVITY__STRUCTURED_NODE};
+
+ /**
+ * The array of subset feature identifiers for the '{@link #getGroups() <em>Group</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getGroups()
+ * @generated NOT
+ * @ordered
+ */
+ protected static final int[] GROUP_ESUBSETS = new int[]{
+ UMLPackage.ACTIVITY__OWNED_GROUP, UMLPackage.ACTIVITY__STRUCTURED_NODE};
+
+ /**
+ * The array of superset feature identifiers for the '{@link #getPartitions() <em>Partition</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPartitions()
+ * @generated
+ * @ordered
+ */
+ protected static final int[] PARTITION_ESUPERSETS = new int[]{
+ UMLPackage.ACTIVITY__OWNED_GROUP};
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityPartition createPartition(String name) {
+ ActivityPartition newPartition = (ActivityPartition) create(
+ UMLPackage.Literals.ACTIVITY_PARTITION);
+ getPartitions().add(newPartition);
+ if (name != null)
+ newPartition.setName(name);
+ return newPartition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityPartition getPartition(String name) {
+ return getPartition(name, false, false);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityPartition getPartition(String name, boolean ignoreCase,
+ boolean createOnDemand) {
+ partitionLoop : for (ActivityPartition partition : getPartitions()) {
+ if (name != null && !(ignoreCase
+ ? name.equalsIgnoreCase(partition.getName())
+ : name.equals(partition.getName())))
+ continue partitionLoop;
+ return partition;
+ }
+ return createOnDemand
+ ? createPartition(name)
+ : null;
+ }
+
+} //ActivityImpl
diff --git a/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ActivityNodeImpl.java b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ActivityNodeImpl.java
new file mode 100644
index 0000000..62d3f1e
--- /dev/null
+++ b/cdo/bundles/uml/org.eclipse.uml2.uml.cdo/src/org/eclipse/uml2/uml/cdo/internal/impl/ActivityNodeImpl.java
@@ -0,0 +1,1110 @@
+/*
+ * Copyright (c) 2005, 2016 IBM Corporation, CEA, 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:
+ * IBM - initial API and implementation
+ * Kenn Hussey - 323181
+ * Kenn Hussey (CEA) - 327039, 351774, 418466, 451350, 465214, 485756
+ *
+ */
+package org.eclipse.uml2.uml.cdo.internal.impl;
+
+import java.lang.reflect.InvocationTargetException;
+import java.util.Collection;
+import java.util.Map;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.DiagnosticChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EAnnotation;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.util.EcoreUtil;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.eclipse.uml2.common.util.CacheAdapter;
+import org.eclipse.uml2.common.util.DerivedUnionEObjectEList;
+
+import org.eclipse.uml2.uml.Activity;
+import org.eclipse.uml2.uml.ActivityContent;
+import org.eclipse.uml2.uml.ActivityEdge;
+import org.eclipse.uml2.uml.ActivityGroup;
+import org.eclipse.uml2.uml.ActivityNode;
+import org.eclipse.uml2.uml.ActivityPartition;
+import org.eclipse.uml2.uml.Comment;
+import org.eclipse.uml2.uml.Element;
+import org.eclipse.uml2.uml.InterruptibleActivityRegion;
+import org.eclipse.uml2.uml.NamedElement;
+import org.eclipse.uml2.uml.Namespace;
+import org.eclipse.uml2.uml.RedefinableElement;
+import org.eclipse.uml2.uml.Stereotype;
+import org.eclipse.uml2.uml.StringExpression;
+import org.eclipse.uml2.uml.StructuredActivityNode;
+import org.eclipse.uml2.uml.UMLPackage;
+import org.eclipse.uml2.uml.VisibilityKind;
+
+import org.eclipse.uml2.uml.internal.operations.ActivityNodeOperations;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Activity Node</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * </p>
+ * <ul>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityNodeImpl#getOwner <em>Owner</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityNodeImpl#getInGroups <em>In Group</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityNodeImpl#getRedefinedElements <em>Redefined Element</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityNodeImpl#getActivity <em>Activity</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityNodeImpl#getInInterruptibleRegions <em>In Interruptible Region</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityNodeImpl#getInStructuredNode <em>In Structured Node</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityNodeImpl#getIncomings <em>Incoming</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityNodeImpl#getOutgoings <em>Outgoing</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityNodeImpl#getRedefinedNodes <em>Redefined Node</em>}</li>
+ * <li>{@link org.eclipse.uml2.uml.cdo.internal.impl.ActivityNodeImpl#getInPartitions <em>In Partition</em>}</li>
+ * </ul>
+ *
+ * @generated
+ */
+public abstract class ActivityNodeImpl
+ extends RedefinableElementImpl
+ implements ActivityNode {
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ActivityNodeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return UMLPackage.Literals.ACTIVITY_NODE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<ActivityGroup> getInGroups() {
+ CacheAdapter cache = getCacheAdapter();
+ if (cache != null) {
+ Resource eResource = eResource();
+ @SuppressWarnings("unchecked")
+ EList<ActivityGroup> inGroups = (EList<ActivityGroup>) cache.get(
+ eResource, this, UMLPackage.Literals.ACTIVITY_NODE__IN_GROUP);
+ if (inGroups == null) {
+ cache.put(eResource, this,
+ UMLPackage.Literals.ACTIVITY_NODE__IN_GROUP,
+ inGroups = new DerivedUnionEObjectEList<ActivityGroup>(
+ ActivityGroup.class, this,
+ UMLPackage.ACTIVITY_NODE__IN_GROUP, IN_GROUP_ESUBSETS));
+ }
+ return inGroups;
+ }
+ return new DerivedUnionEObjectEList<ActivityGroup>(ActivityGroup.class,
+ this, UMLPackage.ACTIVITY_NODE__IN_GROUP, IN_GROUP_ESUBSETS);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EList<RedefinableElement> getRedefinedElements() {
+ CacheAdapter cache = getCacheAdapter();
+ if (cache != null) {
+ Resource eResource = eResource();
+ @SuppressWarnings("unchecked")
+ EList<RedefinableElement> redefinedElements = (EList<RedefinableElement>) cache
+ .get(eResource, this,
+ UMLPackage.Literals.REDEFINABLE_ELEMENT__REDEFINED_ELEMENT);
+ if (redefinedElements == null) {
+ cache.put(eResource, this,
+ UMLPackage.Literals.REDEFINABLE_ELEMENT__REDEFINED_ELEMENT,
+ redefinedElements = new DerivedUnionEObjectEList<RedefinableElement>(
+ RedefinableElement.class, this,
+ UMLPackage.ACTIVITY_NODE__REDEFINED_ELEMENT,
+ REDEFINED_ELEMENT_ESUBSETS));
+ }
+ return redefinedElements;
+ }
+ return new DerivedUnionEObjectEList<RedefinableElement>(
+ RedefinableElement.class, this,
+ UMLPackage.ACTIVITY_NODE__REDEFINED_ELEMENT,
+ REDEFINED_ELEMENT_ESUBSETS);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ public EList<ActivityEdge> getOutgoings() {
+ return (EList<ActivityEdge>) eDynamicGet(
+ UMLPackage.ACTIVITY_NODE__OUTGOING - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY_NODE__OUTGOING, true, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityEdge getOutgoing(String name) {
+ return getOutgoing(name, false, null);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityEdge getOutgoing(String name, boolean ignoreCase,
+ EClass eClass) {
+ outgoingLoop : for (ActivityEdge outgoing : getOutgoings()) {
+ if (eClass != null && !eClass.isInstance(outgoing))
+ continue outgoingLoop;
+ if (name != null && !(ignoreCase
+ ? name.equalsIgnoreCase(outgoing.getName())
+ : name.equals(outgoing.getName())))
+ continue outgoingLoop;
+ return outgoing;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ public EList<ActivityPartition> getInPartitions() {
+ return (EList<ActivityPartition>) eDynamicGet(
+ UMLPackage.ACTIVITY_NODE__IN_PARTITION - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY_NODE__IN_PARTITION, true, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityPartition getInPartition(String name) {
+ return getInPartition(name, false);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityPartition getInPartition(String name, boolean ignoreCase) {
+ inPartitionLoop : for (ActivityPartition inPartition : getInPartitions()) {
+ if (name != null && !(ignoreCase
+ ? name.equalsIgnoreCase(inPartition.getName())
+ : name.equals(inPartition.getName())))
+ continue inPartitionLoop;
+ return inPartition;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Activity containingActivity() {
+ return ActivityNodeOperations.containingActivity(this);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean isConsistentWith(RedefinableElement redefiningElement) {
+ return ActivityNodeOperations.isConsistentWith(this, redefiningElement);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public StructuredActivityNode getInStructuredNode() {
+ return (StructuredActivityNode) eDynamicGet(
+ UMLPackage.ACTIVITY_NODE__IN_STRUCTURED_NODE
+ - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY_NODE__IN_STRUCTURED_NODE, true, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public StructuredActivityNode basicGetInStructuredNode() {
+ return (StructuredActivityNode) eDynamicGet(
+ UMLPackage.ACTIVITY_NODE__IN_STRUCTURED_NODE
+ - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY_NODE__IN_STRUCTURED_NODE, false, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetInStructuredNode(
+ StructuredActivityNode newInStructuredNode,
+ NotificationChain msgs) {
+ msgs = eBasicSetContainer((InternalEObject) newInStructuredNode,
+ UMLPackage.ACTIVITY_NODE__IN_STRUCTURED_NODE, msgs);
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setInStructuredNode(
+ StructuredActivityNode newInStructuredNode) {
+ eDynamicSet(
+ UMLPackage.ACTIVITY_NODE__IN_STRUCTURED_NODE
+ - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY_NODE__IN_STRUCTURED_NODE,
+ newInStructuredNode);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Activity getActivity() {
+ Activity activity = basicGetActivity();
+ return activity != null && activity.eIsProxy()
+ ? (Activity) eResolveProxy((InternalEObject) activity)
+ : activity;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated NOT
+ */
+ public Activity basicGetActivity() {
+ InternalEObject eInternalContainer = eInternalContainer();
+ return eInternalContainer instanceof Activity
+ ? (Activity) eInternalContainer
+ : null;
+ }
+
+ @Override
+ public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs) {
+ InternalEObject eInternalContainer = eInternalContainer();
+ if (eInternalContainer instanceof Activity) {
+ return ((InternalEList<ActivityNode>) ((Activity) eInternalContainer)
+ .getNodes()).basicRemove(this, msgs);
+ }
+ return super.eBasicRemoveFromContainer(msgs);
+ }
+
+ @Override
+ public NotificationChain eBasicSetContainer(InternalEObject newContainer,
+ int newContainerFeatureID, NotificationChain msgs) {
+ InternalEObject eInternalContainer = eInternalContainer();
+ if (eInternalContainer instanceof Activity) {
+ msgs = ((InternalEList<ActivityNode>) ((Activity) eInternalContainer)
+ .getNodes()).basicRemove(this, msgs);
+ }
+ return super.eBasicSetContainer(newContainer, newContainerFeatureID,
+ msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated NOT
+ */
+ public void setActivity(Activity newActivity) {
+ if (newActivity != eInternalContainer()) {
+ if (EcoreUtil.isAncestor(this, newActivity))
+ throw new IllegalArgumentException(
+ "Recursive containment not allowed for " + toString()); //$NON-NLS-1$
+ NotificationChain msgs = null;
+ if (eInternalContainer() != null)
+ msgs = eBasicRemoveFromContainer(msgs);
+ if (newActivity != null)
+ msgs = ((InternalEList<ActivityNode>) newActivity
+ .getOwnedNodes()).basicAdd(this, msgs);
+ msgs = eBasicSetContainer((InternalEObject) newActivity,
+ InternalEObject.EOPPOSITE_FEATURE_BASE
+ - UMLPackage.ACTIVITY__OWNED_NODE,
+ msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ UMLPackage.ACTIVITY_NODE__ACTIVITY, newActivity, newActivity));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ public EList<ActivityEdge> getIncomings() {
+ return (EList<ActivityEdge>) eDynamicGet(
+ UMLPackage.ACTIVITY_NODE__INCOMING - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY_NODE__INCOMING, true, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityEdge getIncoming(String name) {
+ return getIncoming(name, false, null);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityEdge getIncoming(String name, boolean ignoreCase,
+ EClass eClass) {
+ incomingLoop : for (ActivityEdge incoming : getIncomings()) {
+ if (eClass != null && !eClass.isInstance(incoming))
+ continue incomingLoop;
+ if (name != null && !(ignoreCase
+ ? name.equalsIgnoreCase(incoming.getName())
+ : name.equals(incoming.getName())))
+ continue incomingLoop;
+ return incoming;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ public EList<InterruptibleActivityRegion> getInInterruptibleRegions() {
+ return (EList<InterruptibleActivityRegion>) eDynamicGet(
+ UMLPackage.ACTIVITY_NODE__IN_INTERRUPTIBLE_REGION
+ - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY_NODE__IN_INTERRUPTIBLE_REGION, true,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public InterruptibleActivityRegion getInInterruptibleRegion(String name) {
+ return getInInterruptibleRegion(name, false);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public InterruptibleActivityRegion getInInterruptibleRegion(String name,
+ boolean ignoreCase) {
+ inInterruptibleRegionLoop : for (InterruptibleActivityRegion inInterruptibleRegion : getInInterruptibleRegions()) {
+ if (name != null && !(ignoreCase
+ ? name.equalsIgnoreCase(inInterruptibleRegion.getName())
+ : name.equals(inInterruptibleRegion.getName())))
+ continue inInterruptibleRegionLoop;
+ return inInterruptibleRegion;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ public EList<ActivityNode> getRedefinedNodes() {
+ return (EList<ActivityNode>) eDynamicGet(
+ UMLPackage.ACTIVITY_NODE__REDEFINED_NODE - ESTATIC_FEATURE_COUNT,
+ UMLPackage.Literals.ACTIVITY_NODE__REDEFINED_NODE, true, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityNode getRedefinedNode(String name) {
+ return getRedefinedNode(name, false, null);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ActivityNode getRedefinedNode(String name, boolean ignoreCase,
+ EClass eClass) {
+ redefinedNodeLoop : for (ActivityNode redefinedNode : getRedefinedNodes()) {
+ if (eClass != null && !eClass.isInstance(redefinedNode))
+ continue redefinedNodeLoop;
+ if (name != null && !(ignoreCase
+ ? name.equalsIgnoreCase(redefinedNode.getName())
+ : name.equals(redefinedNode.getName())))
+ continue redefinedNodeLoop;
+ return redefinedNode;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public NotificationChain eInverseAdd(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case UMLPackage.ACTIVITY_NODE__EANNOTATIONS :
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getEAnnotations())
+ .basicAdd(otherEnd, msgs);
+ case UMLPackage.ACTIVITY_NODE__IN_INTERRUPTIBLE_REGION :
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getInInterruptibleRegions())
+ .basicAdd(otherEnd, msgs);
+ case UMLPackage.ACTIVITY_NODE__IN_STRUCTURED_NODE :
+ if (eInternalContainer() != null)
+ msgs = eBasicRemoveFromContainer(msgs);
+ return basicSetInStructuredNode(
+ (StructuredActivityNode) otherEnd, msgs);
+ case UMLPackage.ACTIVITY_NODE__INCOMING :
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getIncomings())
+ .basicAdd(otherEnd, msgs);
+ case UMLPackage.ACTIVITY_NODE__OUTGOING :
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getOutgoings())
+ .basicAdd(otherEnd, msgs);
+ case UMLPackage.ACTIVITY_NODE__IN_PARTITION :
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getInPartitions())
+ .basicAdd(otherEnd, msgs);
+ }
+ return eDynamicInverseAdd(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case UMLPackage.ACTIVITY_NODE__EANNOTATIONS :
+ return ((InternalEList<?>) getEAnnotations())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACTIVITY_NODE__OWNED_COMMENT :
+ return ((InternalEList<?>) getOwnedComments())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACTIVITY_NODE__NAME_EXPRESSION :
+ return basicSetNameExpression(null, msgs);
+ case UMLPackage.ACTIVITY_NODE__IN_INTERRUPTIBLE_REGION :
+ return ((InternalEList<?>) getInInterruptibleRegions())
+ .basicRemove(otherEnd, msgs);
+ case UMLPackage.ACTIVITY_NODE__IN_STRUCTURED_NODE :
+ return basicSetInStructuredNode(null, msgs);
+ case UMLPackage.ACTIVITY_NODE__INCOMING :
+ return ((InternalEList<?>) getIncomings()).basicRemove(otherEnd,
+ msgs);
+ case UMLPackage.ACTIVITY_NODE__OUTGOING :
+ return ((InternalEList<?>) getOutgoings()).basicRemove(otherEnd,
+ msgs);
+ case UMLPackage.ACTIVITY_NODE__IN_PARTITION :
+ return ((InternalEList<?>) getInPartitions())
+ .basicRemove(otherEnd, msgs);
+ }
+ return eDynamicInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eBasicRemoveFromContainerFeature(
+ NotificationChain msgs) {
+ switch (eContainerFeatureID()) {
+ case UMLPackage.ACTIVITY_NODE__IN_STRUCTURED_NODE :
+ return eInternalContainer().eInverseRemove(this,
+ UMLPackage.STRUCTURED_ACTIVITY_NODE__NODE,
+ StructuredActivityNode.class, msgs);
+ }
+ return eDynamicBasicRemoveFromContainer(msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case UMLPackage.ACTIVITY_NODE__EANNOTATIONS :
+ return getEAnnotations();
+ case UMLPackage.ACTIVITY_NODE__OWNED_COMMENT :
+ return getOwnedComments();
+ case UMLPackage.ACTIVITY_NODE__OWNED_ELEMENT :
+ return getOwnedElements();
+ case UMLPackage.ACTIVITY_NODE__OWNER :
+ if (resolve)
+ return getOwner();
+ return basicGetOwner();
+ case UMLPackage.ACTIVITY_NODE__CLIENT_DEPENDENCY :
+ return getClientDependencies();
+ case UMLPackage.ACTIVITY_NODE__NAME :
+ return getName();
+ case UMLPackage.ACTIVITY_NODE__NAME_EXPRESSION :
+ if (resolve)
+ return getNameExpression();
+ return basicGetNameExpression();
+ case UMLPackage.ACTIVITY_NODE__NAMESPACE :
+ if (resolve)
+ return getNamespace();
+ return basicGetNamespace();
+ case UMLPackage.ACTIVITY_NODE__QUALIFIED_NAME :
+ return getQualifiedName();
+ case UMLPackage.ACTIVITY_NODE__VISIBILITY :
+ return getVisibility();
+ case UMLPackage.ACTIVITY_NODE__IS_LEAF :
+ return isLeaf();
+ case UMLPackage.ACTIVITY_NODE__REDEFINED_ELEMENT :
+ return getRedefinedElements();
+ case UMLPackage.ACTIVITY_NODE__REDEFINITION_CONTEXT :
+ return getRedefinitionContexts();
+ case UMLPackage.ACTIVITY_NODE__ACTIVITY :
+ if (resolve)
+ return getActivity();
+ return basicGetActivity();
+ case UMLPackage.ACTIVITY_NODE__IN_GROUP :
+ return getInGroups();
+ case UMLPackage.ACTIVITY_NODE__IN_INTERRUPTIBLE_REGION :
+ return getInInterruptibleRegions();
+ case UMLPackage.ACTIVITY_NODE__IN_STRUCTURED_NODE :
+ if (resolve)
+ return getInStructuredNode();
+ return basicGetInStructuredNode();
+ case UMLPackage.ACTIVITY_NODE__INCOMING :
+ return getIncomings();
+ case UMLPackage.ACTIVITY_NODE__OUTGOING :
+ return getOutgoings();
+ case UMLPackage.ACTIVITY_NODE__REDEFINED_NODE :
+ return getRedefinedNodes();
+ case UMLPackage.ACTIVITY_NODE__IN_PARTITION :
+ return getInPartitions();
+ }
+ return eDynamicGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case UMLPackage.ACTIVITY_NODE__EANNOTATIONS :
+ getEAnnotations().clear();
+ getEAnnotations()
+ .addAll((Collection<? extends EAnnotation>) newValue);
+ return;
+ case UMLPackage.ACTIVITY_NODE__OWNED_COMMENT :
+ getOwnedComments().clear();
+ getOwnedComments()
+ .addAll((Collection<? extends Comment>) newValue);
+ return;
+ case UMLPackage.ACTIVITY_NODE__NAME :
+ setName((String) newValue);
+ return;
+ case UMLPackage.ACTIVITY_NODE__NAME_EXPRESSION :
+ setNameExpression((StringExpression) newValue);
+ return;
+ case UMLPackage.ACTIVITY_NODE__VISIBILITY :
+ setVisibility((VisibilityKind) newValue);
+ return;
+ case UMLPackage.ACTIVITY_NODE__IS_LEAF :
+ setIsLeaf((Boolean) newValue);
+ return;
+ case UMLPackage.ACTIVITY_NODE__ACTIVITY :
+ setActivity((Activity) newValue);
+ return;
+ case UMLPackage.ACTIVITY_NODE__IN_INTERRUPTIBLE_REGION :
+ getInInterruptibleRegions().clear();
+ getInInterruptibleRegions().addAll(
+ (Collection<? extends InterruptibleActivityRegion>) newValue);
+ return;
+ case UMLPackage.ACTIVITY_NODE__IN_STRUCTURED_NODE :
+ setInStructuredNode((StructuredActivityNode) newValue);
+ return;
+ case UMLPackage.ACTIVITY_NODE__INCOMING :
+ getIncomings().clear();
+ getIncomings()
+ .addAll((Collection<? extends ActivityEdge>) newValue);
+ return;
+ case UMLPackage.ACTIVITY_NODE__OUTGOING :
+ getOutgoings().clear();
+ getOutgoings()
+ .addAll((Collection<? extends ActivityEdge>) newValue);
+ return;
+ case UMLPackage.ACTIVITY_NODE__REDEFINED_NODE :
+ getRedefinedNodes().clear();
+ getRedefinedNodes()
+ .addAll((Collection<? extends ActivityNode>) newValue);
+ return;
+ case UMLPackage.ACTIVITY_NODE__IN_PARTITION :
+ getInPartitions().clear();
+ getInPartitions()
+ .addAll((Collection<? extends ActivityPartition>) newValue);
+ return;
+ }
+ eDynamicSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case UMLPackage.ACTIVITY_NODE__EANNOTATIONS :
+ getEAnnotations().clear();
+ return;
+ case UMLPackage.ACTIVITY_NODE__OWNED_COMMENT :
+ getOwnedComments().clear();
+ return;
+ case UMLPackage.ACTIVITY_NODE__NAME :
+ unsetName();
+ return;
+ case UMLPackage.ACTIVITY_NODE__NAME_EXPRESSION :
+ setNameExpression((StringExpression) null);
+ return;
+ case UMLPackage.ACTIVITY_NODE__VISIBILITY :
+ unsetVisibility();
+ return;
+ case UMLPackage.ACTIVITY_NODE__IS_LEAF :
+ setIsLeaf(IS_LEAF_EDEFAULT);
+ return;
+ case UMLPackage.ACTIVITY_NODE__ACTIVITY :
+ setActivity((Activity) null);
+ return;
+ case UMLPackage.ACTIVITY_NODE__IN_INTERRUPTIBLE_REGION :
+ getInInterruptibleRegions().clear();
+ return;
+ case UMLPackage.ACTIVITY_NODE__IN_STRUCTURED_NODE :
+ setInStructuredNode((StructuredActivityNode) null);
+ return;
+ case UMLPackage.ACTIVITY_NODE__INCOMING :
+ getIncomings().clear();
+ return;
+ case UMLPackage.ACTIVITY_NODE__OUTGOING :
+ getOutgoings().clear();
+ return;
+ case UMLPackage.ACTIVITY_NODE__REDEFINED_NODE :
+ getRedefinedNodes().clear();
+ return;
+ case UMLPackage.ACTIVITY_NODE__IN_PARTITION :
+ getInPartitions().clear();
+ return;
+ }
+ eDynamicUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case UMLPackage.ACTIVITY_NODE__EANNOTATIONS :
+ return !getEAnnotations().isEmpty();
+ case UMLPackage.ACTIVITY_NODE__OWNED_COMMENT :
+ return !getOwnedComments().isEmpty();
+ case UMLPackage.ACTIVITY_NODE__OWNED_ELEMENT :
+ return isSetOwnedElements();
+ case UMLPackage.ACTIVITY_NODE__OWNER :
+ return isSetOwner();
+ case UMLPackage.ACTIVITY_NODE__CLIENT_DEPENDENCY :
+ return !getClientDependencies().isEmpty();
+ case UMLPackage.ACTIVITY_NODE__NAME :
+ return isSetName();
+ case UMLPackage.ACTIVITY_NODE__NAME_EXPRESSION :
+ return basicGetNameExpression() != null;
+ case UMLPackage.ACTIVITY_NODE__NAMESPACE :
+ return isSetNamespace();
+ case UMLPackage.ACTIVITY_NODE__QUALIFIED_NAME :
+ return QUALIFIED_NAME_EDEFAULT == null
+ ? getQualifiedName() != null
+ : !QUALIFIED_NAME_EDEFAULT.equals(getQualifiedName());
+ case UMLPackage.ACTIVITY_NODE__VISIBILITY :
+ return isSetVisibility();
+ case UMLPackage.ACTIVITY_NODE__IS_LEAF :
+ return isLeaf() != IS_LEAF_EDEFAULT;
+ case UMLPackage.ACTIVITY_NODE__REDEFINED_ELEMENT :
+ return isSetRedefinedElements();
+ case UMLPackage.ACTIVITY_NODE__REDEFINITION_CONTEXT :
+ return isSetRedefinitionContexts();
+ case UMLPackage.ACTIVITY_NODE__ACTIVITY :
+ return basicGetActivity() != null;
+ case UMLPackage.ACTIVITY_NODE__IN_GROUP :
+ return isSetInGroups();
+ case UMLPackage.ACTIVITY_NODE__IN_INTERRUPTIBLE_REGION :
+ return !getInInterruptibleRegions().isEmpty();
+ case UMLPackage.ACTIVITY_NODE__IN_STRUCTURED_NODE :
+ return basicGetInStructuredNode() != null;
+ case UMLPackage.ACTIVITY_NODE__INCOMING :
+ return !getIncomings().isEmpty();
+ case UMLPackage.ACTIVITY_NODE__OUTGOING :
+ return !getOutgoings().isEmpty();
+ case UMLPackage.ACTIVITY_NODE__REDEFINED_NODE :
+ return !getRedefinedNodes().isEmpty();
+ case UMLPackage.ACTIVITY_NODE__IN_PARTITION :
+ return !getInPartitions().isEmpty();
+ }
+ return eDynamicIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eDerivedOperationID(int baseOperationID, Class<?> baseClass) {
+ if (baseClass == ActivityContent.class) {
+ switch (baseOperationID) {
+ case UMLPackage.ACTIVITY_CONTENT___CONTAINING_ACTIVITY :
+ return UMLPackage.ACTIVITY_NODE___CONTAINING_ACTIVITY;
+ default :
+ return -1;
+ }
+ }
+ return super.eDerivedOperationID(baseOperationID, baseClass);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ @SuppressWarnings("unchecked")
+ public Object eInvoke(int operationID, EList<?> arguments)
+ throws InvocationTargetException {
+ switch (operationID) {
+ case UMLPackage.ACTIVITY_NODE___GET_EANNOTATION__STRING :
+ return getEAnnotation((String) arguments.get(0));
+ case UMLPackage.ACTIVITY_NODE___VALIDATE_HAS_OWNER__DIAGNOSTICCHAIN_MAP :
+ return validateHasOwner((DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY_NODE___VALIDATE_NOT_OWN_SELF__DIAGNOSTICCHAIN_MAP :
+ return validateNotOwnSelf((DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY_NODE___ADD_KEYWORD__STRING :
+ return addKeyword((String) arguments.get(0));
+ case UMLPackage.ACTIVITY_NODE___APPLY_STEREOTYPE__STEREOTYPE :
+ return applyStereotype((Stereotype) arguments.get(0));
+ case UMLPackage.ACTIVITY_NODE___CREATE_EANNOTATION__STRING :
+ return createEAnnotation((String) arguments.get(0));
+ case UMLPackage.ACTIVITY_NODE___DESTROY :
+ destroy();
+ return null;
+ case UMLPackage.ACTIVITY_NODE___GET_KEYWORDS :
+ return getKeywords();
+ case UMLPackage.ACTIVITY_NODE___GET_APPLICABLE_STEREOTYPE__STRING :
+ return getApplicableStereotype((String) arguments.get(0));
+ case UMLPackage.ACTIVITY_NODE___GET_APPLICABLE_STEREOTYPES :
+ return getApplicableStereotypes();
+ case UMLPackage.ACTIVITY_NODE___GET_APPLIED_STEREOTYPE__STRING :
+ return getAppliedStereotype((String) arguments.get(0));
+ case UMLPackage.ACTIVITY_NODE___GET_APPLIED_STEREOTYPES :
+ return getAppliedStereotypes();
+ case UMLPackage.ACTIVITY_NODE___GET_APPLIED_SUBSTEREOTYPE__STEREOTYPE_STRING :
+ return getAppliedSubstereotype((Stereotype) arguments.get(0),
+ (String) arguments.get(1));
+ case UMLPackage.ACTIVITY_NODE___GET_APPLIED_SUBSTEREOTYPES__STEREOTYPE :
+ return getAppliedSubstereotypes((Stereotype) arguments.get(0));
+ case UMLPackage.ACTIVITY_NODE___GET_MODEL :
+ return getModel();
+ case UMLPackage.ACTIVITY_NODE___GET_NEAREST_PACKAGE :
+ return getNearestPackage();
+ case UMLPackage.ACTIVITY_NODE___GET_RELATIONSHIPS :
+ return getRelationships();
+ case UMLPackage.ACTIVITY_NODE___GET_RELATIONSHIPS__ECLASS :
+ return getRelationships((EClass) arguments.get(0));
+ case UMLPackage.ACTIVITY_NODE___GET_REQUIRED_STEREOTYPE__STRING :
+ return getRequiredStereotype((String) arguments.get(0));
+ case UMLPackage.ACTIVITY_NODE___GET_REQUIRED_STEREOTYPES :
+ return getRequiredStereotypes();
+ case UMLPackage.ACTIVITY_NODE___GET_SOURCE_DIRECTED_RELATIONSHIPS :
+ return getSourceDirectedRelationships();
+ case UMLPackage.ACTIVITY_NODE___GET_SOURCE_DIRECTED_RELATIONSHIPS__ECLASS :
+ return getSourceDirectedRelationships(
+ (EClass) arguments.get(0));
+ case UMLPackage.ACTIVITY_NODE___GET_STEREOTYPE_APPLICATION__STEREOTYPE :
+ return getStereotypeApplication((Stereotype) arguments.get(0));
+ case UMLPackage.ACTIVITY_NODE___GET_STEREOTYPE_APPLICATIONS :
+ return getStereotypeApplications();
+ case UMLPackage.ACTIVITY_NODE___GET_TARGET_DIRECTED_RELATIONSHIPS :
+ return getTargetDirectedRelationships();
+ case UMLPackage.ACTIVITY_NODE___GET_TARGET_DIRECTED_RELATIONSHIPS__ECLASS :
+ return getTargetDirectedRelationships(
+ (EClass) arguments.get(0));
+ case UMLPackage.ACTIVITY_NODE___GET_VALUE__STEREOTYPE_STRING :
+ return getValue((Stereotype) arguments.get(0),
+ (String) arguments.get(1));
+ case UMLPackage.ACTIVITY_NODE___HAS_KEYWORD__STRING :
+ return hasKeyword((String) arguments.get(0));
+ case UMLPackage.ACTIVITY_NODE___HAS_VALUE__STEREOTYPE_STRING :
+ return hasValue((Stereotype) arguments.get(0),
+ (String) arguments.get(1));
+ case UMLPackage.ACTIVITY_NODE___IS_STEREOTYPE_APPLICABLE__STEREOTYPE :
+ return isStereotypeApplicable((Stereotype) arguments.get(0));
+ case UMLPackage.ACTIVITY_NODE___IS_STEREOTYPE_APPLIED__STEREOTYPE :
+ return isStereotypeApplied((Stereotype) arguments.get(0));
+ case UMLPackage.ACTIVITY_NODE___IS_STEREOTYPE_REQUIRED__STEREOTYPE :
+ return isStereotypeRequired((Stereotype) arguments.get(0));
+ case UMLPackage.ACTIVITY_NODE___REMOVE_KEYWORD__STRING :
+ return removeKeyword((String) arguments.get(0));
+ case UMLPackage.ACTIVITY_NODE___SET_VALUE__STEREOTYPE_STRING_OBJECT :
+ setValue((Stereotype) arguments.get(0),
+ (String) arguments.get(1), arguments.get(2));
+ return null;
+ case UMLPackage.ACTIVITY_NODE___UNAPPLY_STEREOTYPE__STEREOTYPE :
+ return unapplyStereotype((Stereotype) arguments.get(0));
+ case UMLPackage.ACTIVITY_NODE___ALL_OWNED_ELEMENTS :
+ return allOwnedElements();
+ case UMLPackage.ACTIVITY_NODE___MUST_BE_OWNED :
+ return mustBeOwned();
+ case UMLPackage.ACTIVITY_NODE___VALIDATE_VISIBILITY_NEEDS_OWNERSHIP__DIAGNOSTICCHAIN_MAP :
+ return validateVisibilityNeedsOwnership(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY_NODE___VALIDATE_HAS_QUALIFIED_NAME__DIAGNOSTICCHAIN_MAP :
+ return validateHasQualifiedName(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY_NODE___VALIDATE_HAS_NO_QUALIFIED_NAME__DIAGNOSTICCHAIN_MAP :
+ return validateHasNoQualifiedName(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY_NODE___CREATE_DEPENDENCY__NAMEDELEMENT :
+ return createDependency((NamedElement) arguments.get(0));
+ case UMLPackage.ACTIVITY_NODE___CREATE_USAGE__NAMEDELEMENT :
+ return createUsage((NamedElement) arguments.get(0));
+ case UMLPackage.ACTIVITY_NODE___GET_LABEL :
+ return getLabel();
+ case UMLPackage.ACTIVITY_NODE___GET_LABEL__BOOLEAN :
+ return getLabel((Boolean) arguments.get(0));
+ case UMLPackage.ACTIVITY_NODE___GET_NAMESPACE :
+ return getNamespace();
+ case UMLPackage.ACTIVITY_NODE___ALL_NAMESPACES :
+ return allNamespaces();
+ case UMLPackage.ACTIVITY_NODE___ALL_OWNING_PACKAGES :
+ return allOwningPackages();
+ case UMLPackage.ACTIVITY_NODE___IS_DISTINGUISHABLE_FROM__NAMEDELEMENT_NAMESPACE :
+ return isDistinguishableFrom((NamedElement) arguments.get(0),
+ (Namespace) arguments.get(1));
+ case UMLPackage.ACTIVITY_NODE___GET_QUALIFIED_NAME :
+ return getQualifiedName();
+ case UMLPackage.ACTIVITY_NODE___SEPARATOR :
+ return separator();
+ case UMLPackage.ACTIVITY_NODE___GET_CLIENT_DEPENDENCIES :
+ return getClientDependencies();
+ case UMLPackage.ACTIVITY_NODE___VALIDATE_REDEFINITION_CONSISTENT__DIAGNOSTICCHAIN_MAP :
+ return validateRedefinitionConsistent(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY_NODE___VALIDATE_NON_LEAF_REDEFINITION__DIAGNOSTICCHAIN_MAP :
+ return validateNonLeafRedefinition(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY_NODE___VALIDATE_REDEFINITION_CONTEXT_VALID__DIAGNOSTICCHAIN_MAP :
+ return validateRedefinitionContextValid(
+ (DiagnosticChain) arguments.get(0),
+ (Map<Object, Object>) arguments.get(1));
+ case UMLPackage.ACTIVITY_NODE___IS_CONSISTENT_WITH__REDEFINABLEELEMENT :
+ return isConsistentWith((Redefinabl