Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Taal2012-09-17 21:12:38 +0000
committerMartin Taal2012-09-17 21:12:38 +0000
commit4aaca78783da7a34e5df316db0780fc5674cb62c (patch)
treecc74ca458336ce8e6457b2986ad2850add0425d0 /tests/org.eclipse.emf.teneo.samples/src/org/eclipse
parent3beda87f76bf426f2754cb49b231519a7e67df2b (diff)
downloadorg.eclipse.emf.teneo-4aaca78783da7a34e5df316db0780fc5674cb62c.tar.gz
org.eclipse.emf.teneo-4aaca78783da7a34e5df316db0780fc5674cb62c.tar.xz
org.eclipse.emf.teneo-4aaca78783da7a34e5df316db0780fc5674cb62c.zip
Fixes for issue 387421
Diffstat (limited to 'tests/org.eclipse.emf.teneo.samples/src/org/eclipse')
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Activity.java297
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/AdHocOrdering.java220
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/AdHocSubProcess.java121
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Artifact.java28
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Assignment.java89
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Association.java121
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/AssociationDirection.java247
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Auditing.java28
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/BaseElement.java138
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/BoundaryEvent.java92
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Bpmn2Factory.java1206
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Bpmn2Package.java30259
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/BusinessRuleTask.java61
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CallActivity.java61
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CallChoreography.java81
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CallConversation.java81
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CallableElement.java127
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CancelEventDefinition.java28
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CatchEvent.java164
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Category.java81
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CategoryValue.java80
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Choreography.java28
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ChoreographyActivity.java132
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ChoreographyLoopType.java275
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ChoreographyTask.java53
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Collaboration.java271
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CompensateEventDefinition.java89
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ComplexBehaviorDefinition.java89
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ComplexGateway.java89
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ConditionalEventDefinition.java61
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Conversation.java28
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ConversationAssociation.java89
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ConversationLink.java117
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ConversationNode.java117
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CorrelationKey.java81
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CorrelationProperty.java109
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CorrelationPropertyBinding.java89
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CorrelationPropertyRetrievalExpression.java89
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CorrelationSubscription.java81
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataAssociation.java127
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataInput.java149
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataInputAssociation.java28
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataObject.java62
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataObjectReference.java61
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataOutput.java149
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataOutputAssociation.java28
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataState.java61
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataStore.java118
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataStoreReference.java61
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Definitions.java297
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DocumentRoot.java3866
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Documentation.java109
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/EndEvent.java28
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/EndPoint.java28
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Error.java117
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ErrorEventDefinition.java61
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Escalation.java117
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/EscalationEventDefinition.java61
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Event.java54
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/EventBasedGateway.java94
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/EventBasedGatewayType.java220
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/EventDefinition.java28
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ExclusiveGateway.java61
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Expression.java28
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Extension.java121
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ExtensionAttributeDefinition.java146
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ExtensionAttributeValue.java109
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ExtensionDefinition.java83
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/FlowElement.java138
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/FlowElementsContainer.java71
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/FlowNode.java95
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/FormalExpression.java136
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Gateway.java66
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/GatewayDirection.java274
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/GlobalBusinessRuleTask.java61
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/GlobalChoreographyTask.java61
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/GlobalConversation.java28
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/GlobalManualTask.java28
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/GlobalScriptTask.java89
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/GlobalTask.java53
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/GlobalUserTask.java81
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Group.java61
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/HumanPerformer.java28
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ImplicitThrowEvent.java28
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Import.java119
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/InclusiveGateway.java61
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/InputOutputBinding.java117
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/InputOutputSpecification.java107
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/InputSet.java143
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/InteractionNode.java71
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Interface.java109
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/IntermediateCatchEvent.java28
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/IntermediateThrowEvent.java28
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ItemAwareElement.java89
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ItemDefinition.java149
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ItemKind.java220
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Lane.java167
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/LaneSet.java81
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/LinkEventDefinition.java113
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/LoopCharacteristics.java29
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ManualTask.java28
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Message.java89
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/MessageEventDefinition.java89
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/MessageFlow.java145
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/MessageFlowAssociation.java89
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Monitoring.java28
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/MultiInstanceBehavior.java274
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/MultiInstanceLoopCharacteristics.java338
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Operation.java165
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/OutputSet.java143
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ParallelGateway.java28
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Participant.java155
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ParticipantAssociation.java89
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ParticipantMultiplicity.java91
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/PartnerEntity.java81
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/PartnerRole.java81
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Performer.java28
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/PotentialOwner.java28
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Process.java297
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ProcessType.java247
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Property.java61
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ReceiveTask.java146
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Relationship.java132
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/RelationshipDirection.java274
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Rendering.java28
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Resource.java81
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ResourceAssignmentExpression.java61
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ResourceParameter.java117
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ResourceParameterBinding.java89
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ResourceRole.java137
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/RootElement.java28
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ScriptTask.java89
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/SendTask.java117
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/SequenceFlow.java149
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ServiceTask.java89
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Signal.java89
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/SignalEventDefinition.java61
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/StandardLoopCharacteristics.java118
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/StartEvent.java62
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/SubChoreography.java54
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/SubConversation.java53
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/SubProcess.java82
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Task.java28
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/TerminateEventDefinition.java28
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/TextAnnotation.java90
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ThrowEvent.java136
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/TimerEventDefinition.java117
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Transaction.java88
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/UserTask.java81
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/BPMNDiagram.java83
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/BPMNEdge.java181
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/BPMNLabel.java63
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/BPMNLabelStyle.java65
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/BPMNPlane.java65
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/BPMNShape.java264
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/BpmnDiFactory.java109
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/BpmnDiPackage.java1560
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/DocumentRoot.java263
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/MessageVisibleKind.java220
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/ParticipantBandKind.java329
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/impl/BPMNDiagramImpl.java251
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/impl/BPMNEdgeImpl.java473
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/impl/BPMNLabelImpl.java175
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/impl/BPMNLabelStyleImpl.java203
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/impl/BPMNPlaneImpl.java176
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/impl/BPMNShapeImpl.java636
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/impl/BpmnDiFactoryImpl.java268
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/impl/BpmnDiPackageImpl.java913
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/impl/DocumentRootImpl.java553
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/util/BpmnDiAdapterFactory.java446
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/util/BpmnDiResourceFactoryImpl.java70
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/util/BpmnDiResourceImpl.java40
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/util/BpmnDiSwitch.java460
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/util/BpmnDiXMLProcessor.java62
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ActivityImpl.java744
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/AdHocSubProcessImpl.java338
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ArtifactImpl.java51
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/AssignmentImpl.java274
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/AssociationImpl.java312
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/AuditingImpl.java51
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/BaseElementImpl.java366
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/BoundaryEventImpl.java291
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/Bpmn2FactoryImpl.java2078
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/Bpmn2PackageImpl.java7551
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/BusinessRuleTaskImpl.java178
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CallActivityImpl.java173
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CallChoreographyImpl.java241
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CallConversationImpl.java242
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CallableElementImpl.java369
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CancelEventDefinitionImpl.java52
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CatchEventImpl.java445
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CategoryImpl.java242
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CategoryValueImpl.java198
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ChoreographyActivityImpl.java355
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ChoreographyImpl.java248
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ChoreographyTaskImpl.java149
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CollaborationImpl.java666
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CompensateEventDefinitionImpl.java249
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ComplexBehaviorDefinitionImpl.java294
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ComplexGatewayImpl.java251
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ConditionalEventDefinitionImpl.java208
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ConversationAssociationImpl.java253
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ConversationImpl.java52
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ConversationLinkImpl.java310
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ConversationNodeImpl.java398
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CorrelationKeyImpl.java225
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CorrelationPropertyBindingImpl.java279
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CorrelationPropertyImpl.java310
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CorrelationPropertyRetrievalExpressionImpl.java281
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CorrelationSubscriptionImpl.java242
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataAssociationImpl.java340
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataInputAssociationImpl.java52
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataInputImpl.java405
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataObjectImpl.java380
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataObjectReferenceImpl.java362
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataOutputAssociationImpl.java52
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataOutputImpl.java406
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataStateImpl.java177
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataStoreImpl.java288
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataStoreReferenceImpl.java383
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DefinitionsImpl.java685
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DocumentRootImpl.java6651
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DocumentationImpl.java280
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/EndEventImpl.java51
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/EndPointImpl.java51
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ErrorEventDefinitionImpl.java173
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ErrorImpl.java300
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/EscalationEventDefinitionImpl.java176
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/EscalationImpl.java301
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/EventBasedGatewayImpl.java236
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/EventDefinitionImpl.java52
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/EventImpl.java244
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ExclusiveGatewayImpl.java152
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ExpressionImpl.java51
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ExtensionAttributeDefinitionImpl.java418
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ExtensionAttributeValueImpl.java322
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ExtensionDefinitionImpl.java264
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ExtensionImpl.java333
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/FlowElementImpl.java401
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/FlowElementsContainerImpl.java208
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/FlowNodeImpl.java269
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/FormalExpressionImpl.java350
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/GatewayImpl.java179
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/GlobalBusinessRuleTaskImpl.java179
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/GlobalChoreographyTaskImpl.java181
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/GlobalConversationImpl.java52
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/GlobalManualTaskImpl.java52
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/GlobalScriptTaskImpl.java235
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/GlobalTaskImpl.java168
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/GlobalUserTaskImpl.java243
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/GroupImpl.java173
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/HumanPerformerImpl.java51
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ImplicitThrowEventImpl.java52
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ImportImpl.java290
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/InclusiveGatewayImpl.java152
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/InputOutputBindingImpl.java264
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/InputOutputSpecificationImpl.java288
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/InputSetImpl.java394
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/InteractionNodeImpl.java119
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/InterfaceImpl.java306
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/IntermediateCatchEventImpl.java52
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/IntermediateThrowEventImpl.java52
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ItemAwareElementImpl.java270
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ItemDefinitionImpl.java367
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/LaneImpl.java483
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/LaneSetImpl.java239
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/LinkEventDefinitionImpl.java365
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/LoopCharacteristicsImpl.java52
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ManualTaskImpl.java51
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/MessageEventDefinitionImpl.java242
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/MessageFlowAssociationImpl.java247
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/MessageFlowImpl.java375
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/MessageImpl.java242
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/MonitoringImpl.java51
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/MultiInstanceLoopCharacteristicsImpl.java937
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/OperationImpl.java420
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/OutputSetImpl.java393
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ParallelGatewayImpl.java51
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ParticipantAssociationImpl.java247
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ParticipantImpl.java506
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ParticipantMultiplicityImpl.java234
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/PartnerEntityImpl.java223
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/PartnerRoleImpl.java223
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/PerformerImpl.java51
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/PotentialOwnerImpl.java52
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ProcessImpl.java862
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/PropertyImpl.java177
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ReceiveTaskImpl.java367
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/RelationshipImpl.java313
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/RenderingImpl.java51
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ResourceAssignmentExpressionImpl.java208
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ResourceImpl.java242
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ResourceParameterBindingImpl.java276
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ResourceParameterImpl.java300
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ResourceRoleImpl.java400
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/RootElementImpl.java51
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ScriptTaskImpl.java234
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/SendTaskImpl.java311
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/SequenceFlowImpl.java454
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ServiceTaskImpl.java245
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/SignalEventDefinitionImpl.java174
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/SignalImpl.java244
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/StandardLoopCharacteristicsImpl.java364
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/StartEventImpl.java177
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/SubChoreographyImpl.java288
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/SubConversationImpl.java169
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/SubProcessImpl.java361
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/TaskImpl.java158
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/TerminateEventDefinitionImpl.java52
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/TextAnnotationImpl.java234
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ThrowEventImpl.java373
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/TimerEventDefinitionImpl.java378
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/TransactionImpl.java233
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/UserTaskImpl.java241
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/bpmn2.ecore4473
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/util/Bpmn2AdapterFactory.java2887
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/util/Bpmn2ResourceFactoryImpl.java70
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/util/Bpmn2ResourceImpl.java40
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/util/Bpmn2Switch.java3999
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/util/Bpmn2XMLProcessor.java62
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/Bounds.java149
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/DcFactory.java81
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/DcPackage.java757
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/DocumentRoot.java179
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/Font.java221
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/Point.java93
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/impl/BoundsImpl.java342
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/impl/DcFactoryImpl.java145
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/impl/DcPackageImpl.java618
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/impl/DocumentRootImpl.java408
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/impl/FontImpl.java495
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/impl/PointImpl.java232
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/util/DcAdapterFactory.java188
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/util/DcResourceFactoryImpl.java70
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/util/DcResourceImpl.java40
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/util/DcSwitch.java203
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/util/DcValidator.java207
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/util/DcXMLProcessor.java62
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/DiFactory.java63
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/DiPackage.java1901
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/Diagram.java185
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/DiagramElement.java152
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/DocumentRoot.java375
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/Edge.java88
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/Label.java64
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/LabeledEdge.java53
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/LabeledShape.java53
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/Node.java29
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/Plane.java71
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/Shape.java64
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/Style.java64
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/DiFactoryImpl.java121
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/DiPackageImpl.java1074
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/DiagramElementImpl.java411
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/DiagramImpl.java397
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/DocumentRootImpl.java727
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/EdgeImpl.java259
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/LabelImpl.java200
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/LabeledEdgeImpl.java113
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/LabeledShapeImpl.java114
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/NodeImpl.java51
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/PlaneImpl.java205
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/ShapeImpl.java200
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/StyleImpl.java177
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/util/DiAdapterFactory.java321
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/util/DiResourceFactoryImpl.java70
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/util/DiResourceImpl.java40
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/util/DiSwitch.java383
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/util/DiValidator.java298
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/util/DiXMLProcessor.java62
370 files changed, 133949 insertions, 0 deletions
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Activity.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Activity.java
new file mode 100644
index 000000000..b30c0c9b9
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Activity.java
@@ -0,0 +1,297 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Activity</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.Activity#getIoSpecification <em>Io Specification</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Activity#getBoundaryEventRefs <em>Boundary Event Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Activity#getProperties <em>Properties</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Activity#getDataInputAssociations <em>Data Input Associations</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Activity#getDataOutputAssociations <em>Data Output Associations</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Activity#getResources <em>Resources</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Activity#getLoopCharacteristics <em>Loop Characteristics</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Activity#getCompletionQuantity <em>Completion Quantity</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Activity#getDefault <em>Default</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Activity#isIsForCompensation <em>Is For Compensation</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Activity#getStartQuantity <em>Start Quantity</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getActivity()
+ * @model extendedMetaData="name='tActivity' kind='elementOnly' abstract='true'"
+ * @generated
+ */
+public interface Activity extends FlowNode {
+ /**
+ * Returns the value of the '<em><b>Io Specification</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Io Specification</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Io Specification</em>' containment reference.
+ * @see #setIoSpecification(InputOutputSpecification)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getActivity_IoSpecification()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='ioSpecification' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ InputOutputSpecification getIoSpecification();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Activity#getIoSpecification <em>Io Specification</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Io Specification</em>' containment reference.
+ * @see #getIoSpecification()
+ * @generated
+ */
+ void setIoSpecification(InputOutputSpecification value);
+
+ /**
+ * Returns the value of the '<em><b>Boundary Event Refs</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.BoundaryEvent}.
+ * It is bidirectional and its opposite is '{@link org.eclipse.bpmn2.BoundaryEvent#getAttachedToRef <em>Attached To Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Boundary Event Refs</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Boundary Event Refs</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getActivity_BoundaryEventRefs()
+ * @see org.eclipse.bpmn2.BoundaryEvent#getAttachedToRef
+ * @model opposite="attachedToRef" resolveProxies="false" transient="true" derived="true" ordered="false"
+ * @generated
+ */
+ List<BoundaryEvent> getBoundaryEventRefs();
+
+ /**
+ * Returns the value of the '<em><b>Properties</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.Property}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Properties</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Properties</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getActivity_Properties()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='property' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<Property> getProperties();
+
+ /**
+ * Returns the value of the '<em><b>Data Input Associations</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.DataInputAssociation}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Data Input Associations</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Data Input Associations</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getActivity_DataInputAssociations()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='dataInputAssociation' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<DataInputAssociation> getDataInputAssociations();
+
+ /**
+ * Returns the value of the '<em><b>Data Output Associations</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.DataOutputAssociation}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Data Output Associations</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Data Output Associations</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getActivity_DataOutputAssociations()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='dataOutputAssociation' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<DataOutputAssociation> getDataOutputAssociations();
+
+ /**
+ * Returns the value of the '<em><b>Resources</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.ResourceRole}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Resources</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Resources</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getActivity_Resources()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='resourceRole' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' group='http://www.omg.org/spec/BPMN/20100524/MODEL#resourceRole'"
+ * @generated
+ */
+ List<ResourceRole> getResources();
+
+ /**
+ * Returns the value of the '<em><b>Loop Characteristics</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Loop Characteristics</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Loop Characteristics</em>' containment reference.
+ * @see #setLoopCharacteristics(LoopCharacteristics)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getActivity_LoopCharacteristics()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='loopCharacteristics' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' group='http://www.omg.org/spec/BPMN/20100524/MODEL#loopCharacteristics'"
+ * @generated
+ */
+ LoopCharacteristics getLoopCharacteristics();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Activity#getLoopCharacteristics <em>Loop Characteristics</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Loop Characteristics</em>' containment reference.
+ * @see #getLoopCharacteristics()
+ * @generated
+ */
+ void setLoopCharacteristics(LoopCharacteristics value);
+
+ /**
+ * Returns the value of the '<em><b>Completion Quantity</b></em>' attribute.
+ * The default value is <code>"1"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Completion Quantity</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Completion Quantity</em>' attribute.
+ * @see #setCompletionQuantity(int)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getActivity_CompletionQuantity()
+ * @model default="1" ordered="false"
+ * extendedMetaData="kind='attribute' name='completionQuantity'"
+ * @generated
+ */
+ int getCompletionQuantity();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Activity#getCompletionQuantity <em>Completion Quantity</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Completion Quantity</em>' attribute.
+ * @see #getCompletionQuantity()
+ * @generated
+ */
+ void setCompletionQuantity(int value);
+
+ /**
+ * Returns the value of the '<em><b>Default</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Default</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Default</em>' reference.
+ * @see #setDefault(SequenceFlow)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getActivity_Default()
+ * @model resolveProxies="false" ordered="false"
+ * extendedMetaData="kind='attribute' name='default'"
+ * @generated
+ */
+ SequenceFlow getDefault();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Activity#getDefault <em>Default</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Default</em>' reference.
+ * @see #getDefault()
+ * @generated
+ */
+ void setDefault(SequenceFlow value);
+
+ /**
+ * Returns the value of the '<em><b>Is For Compensation</b></em>' attribute.
+ * The default value is <code>"false"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Is For Compensation</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Is For Compensation</em>' attribute.
+ * @see #setIsForCompensation(boolean)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getActivity_IsForCompensation()
+ * @model default="false" ordered="false"
+ * extendedMetaData="kind='attribute' name='isForCompensation'"
+ * @generated
+ */
+ boolean isIsForCompensation();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Activity#isIsForCompensation <em>Is For Compensation</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Is For Compensation</em>' attribute.
+ * @see #isIsForCompensation()
+ * @generated
+ */
+ void setIsForCompensation(boolean value);
+
+ /**
+ * Returns the value of the '<em><b>Start Quantity</b></em>' attribute.
+ * The default value is <code>"1"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Start Quantity</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Start Quantity</em>' attribute.
+ * @see #setStartQuantity(int)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getActivity_StartQuantity()
+ * @model default="1" ordered="false"
+ * extendedMetaData="kind='attribute' name='startQuantity'"
+ * @generated
+ */
+ int getStartQuantity();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Activity#getStartQuantity <em>Start Quantity</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Start Quantity</em>' attribute.
+ * @see #getStartQuantity()
+ * @generated
+ */
+ void setStartQuantity(int value);
+
+} // Activity
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/AdHocOrdering.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/AdHocOrdering.java
new file mode 100644
index 000000000..c460c3fd8
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/AdHocOrdering.java
@@ -0,0 +1,220 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+import org.eclipse.emf.common.util.Enumerator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the literals of the enumeration '<em><b>Ad Hoc Ordering</b></em>',
+ * and utility methods for working with them.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.Bpmn2Package#getAdHocOrdering()
+ * @model extendedMetaData="name='tAdHocOrdering'"
+ * @generated
+ */
+public enum AdHocOrdering implements Enumerator {
+ /**
+ * The '<em><b>Parallel</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #PARALLEL_VALUE
+ * @generated
+ * @ordered
+ */
+ PARALLEL(0, "Parallel", "Parallel"),
+
+ /**
+ * The '<em><b>Sequential</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #SEQUENTIAL_VALUE
+ * @generated
+ * @ordered
+ */
+ SEQUENTIAL(1, "Sequential", "Sequential");
+
+ /**
+ * The '<em><b>Parallel</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Parallel</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #PARALLEL
+ * @model name="Parallel"
+ * @generated
+ * @ordered
+ */
+ public static final int PARALLEL_VALUE = 0;
+
+ /**
+ * The '<em><b>Sequential</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Sequential</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #SEQUENTIAL
+ * @model name="Sequential"
+ * @generated
+ * @ordered
+ */
+ public static final int SEQUENTIAL_VALUE = 1;
+
+ /**
+ * An array of all the '<em><b>Ad Hoc Ordering</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final AdHocOrdering[] VALUES_ARRAY = new AdHocOrdering[] {
+ PARALLEL, SEQUENTIAL, };
+
+ /**
+ * A public read-only list of all the '<em><b>Ad Hoc Ordering</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<AdHocOrdering> VALUES = Collections
+ .unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>Ad Hoc Ordering</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static AdHocOrdering get(String literal) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ AdHocOrdering result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Ad Hoc Ordering</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static AdHocOrdering getByName(String name) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ AdHocOrdering result = VALUES_ARRAY[i];
+ if (result.getName().equals(name)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Ad Hoc Ordering</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static AdHocOrdering get(int value) {
+ switch (value) {
+ case PARALLEL_VALUE:
+ return PARALLEL;
+ case SEQUENTIAL_VALUE:
+ return SEQUENTIAL;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final int value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String name;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String literal;
+
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private AdHocOrdering(int value, String name, String literal) {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLiteral() {
+ return literal;
+ }
+
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ return literal;
+ }
+
+} //AdHocOrdering
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/AdHocSubProcess.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/AdHocSubProcess.java
new file mode 100644
index 000000000..6eeed00f8
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/AdHocSubProcess.java
@@ -0,0 +1,121 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Ad Hoc Sub Process</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.AdHocSubProcess#getCompletionCondition <em>Completion Condition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.AdHocSubProcess#isCancelRemainingInstances <em>Cancel Remaining Instances</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.AdHocSubProcess#getOrdering <em>Ordering</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getAdHocSubProcess()
+ * @model extendedMetaData="name='tAdHocSubProcess' kind='elementOnly'"
+ * @generated
+ */
+public interface AdHocSubProcess extends SubProcess {
+ /**
+ * Returns the value of the '<em><b>Completion Condition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Completion Condition</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Completion Condition</em>' containment reference.
+ * @see #setCompletionCondition(Expression)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getAdHocSubProcess_CompletionCondition()
+ * @model containment="true" required="true" ordered="false"
+ * extendedMetaData="kind='element' name='completionCondition' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Expression getCompletionCondition();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.AdHocSubProcess#getCompletionCondition <em>Completion Condition</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Completion Condition</em>' containment reference.
+ * @see #getCompletionCondition()
+ * @generated
+ */
+ void setCompletionCondition(Expression value);
+
+ /**
+ * Returns the value of the '<em><b>Cancel Remaining Instances</b></em>' attribute.
+ * The default value is <code>"true"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Cancel Remaining Instances</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Cancel Remaining Instances</em>' attribute.
+ * @see #setCancelRemainingInstances(boolean)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getAdHocSubProcess_CancelRemainingInstances()
+ * @model default="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='cancelRemainingInstances'"
+ * @generated
+ */
+ boolean isCancelRemainingInstances();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.AdHocSubProcess#isCancelRemainingInstances <em>Cancel Remaining Instances</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Cancel Remaining Instances</em>' attribute.
+ * @see #isCancelRemainingInstances()
+ * @generated
+ */
+ void setCancelRemainingInstances(boolean value);
+
+ /**
+ * Returns the value of the '<em><b>Ordering</b></em>' attribute.
+ * The literals are from the enumeration {@link org.eclipse.bpmn2.AdHocOrdering}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Ordering</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Ordering</em>' attribute.
+ * @see org.eclipse.bpmn2.AdHocOrdering
+ * @see #setOrdering(AdHocOrdering)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getAdHocSubProcess_Ordering()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='ordering'"
+ * @generated
+ */
+ AdHocOrdering getOrdering();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.AdHocSubProcess#getOrdering <em>Ordering</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Ordering</em>' attribute.
+ * @see org.eclipse.bpmn2.AdHocOrdering
+ * @see #getOrdering()
+ * @generated
+ */
+ void setOrdering(AdHocOrdering value);
+
+} // AdHocSubProcess
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Artifact.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Artifact.java
new file mode 100644
index 000000000..0dabd10e1
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Artifact.java
@@ -0,0 +1,28 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Artifact</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getArtifact()
+ * @model extendedMetaData="name='tArtifact' kind='elementOnly' abstract='true'"
+ * @generated
+ */
+public interface Artifact extends BaseElement {
+} // Artifact
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Assignment.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Assignment.java
new file mode 100644
index 000000000..33836a164
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Assignment.java
@@ -0,0 +1,89 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Assignment</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.Assignment#getFrom <em>From</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Assignment#getTo <em>To</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getAssignment()
+ * @model extendedMetaData="name='tAssignment' kind='elementOnly'"
+ * @generated
+ */
+public interface Assignment extends BaseElement {
+ /**
+ * Returns the value of the '<em><b>From</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>From</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>From</em>' containment reference.
+ * @see #setFrom(Expression)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getAssignment_From()
+ * @model containment="true" required="true" ordered="false"
+ * extendedMetaData="kind='element' name='from' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Expression getFrom();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Assignment#getFrom <em>From</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>From</em>' containment reference.
+ * @see #getFrom()
+ * @generated
+ */
+ void setFrom(Expression value);
+
+ /**
+ * Returns the value of the '<em><b>To</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>To</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>To</em>' containment reference.
+ * @see #setTo(Expression)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getAssignment_To()
+ * @model containment="true" required="true" ordered="false"
+ * extendedMetaData="kind='element' name='to' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Expression getTo();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Assignment#getTo <em>To</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>To</em>' containment reference.
+ * @see #getTo()
+ * @generated
+ */
+ void setTo(Expression value);
+
+} // Assignment
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Association.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Association.java
new file mode 100644
index 000000000..1d5c29ab3
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Association.java
@@ -0,0 +1,121 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Association</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.Association#getAssociationDirection <em>Association Direction</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Association#getSourceRef <em>Source Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Association#getTargetRef <em>Target Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getAssociation()
+ * @model extendedMetaData="name='tAssociation' kind='elementOnly'"
+ * @generated
+ */
+public interface Association extends Artifact {
+ /**
+ * Returns the value of the '<em><b>Association Direction</b></em>' attribute.
+ * The default value is <code>"None"</code>.
+ * The literals are from the enumeration {@link org.eclipse.bpmn2.AssociationDirection}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Association Direction</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Association Direction</em>' attribute.
+ * @see org.eclipse.bpmn2.AssociationDirection
+ * @see #setAssociationDirection(AssociationDirection)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getAssociation_AssociationDirection()
+ * @model default="None" ordered="false"
+ * extendedMetaData="kind='attribute' name='associationDirection'"
+ * @generated
+ */
+ AssociationDirection getAssociationDirection();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Association#getAssociationDirection <em>Association Direction</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Association Direction</em>' attribute.
+ * @see org.eclipse.bpmn2.AssociationDirection
+ * @see #getAssociationDirection()
+ * @generated
+ */
+ void setAssociationDirection(AssociationDirection value);
+
+ /**
+ * Returns the value of the '<em><b>Source Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Source Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Source Ref</em>' reference.
+ * @see #setSourceRef(BaseElement)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getAssociation_SourceRef()
+ * @model required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='sourceRef'"
+ * @generated
+ */
+ BaseElement getSourceRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Association#getSourceRef <em>Source Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Source Ref</em>' reference.
+ * @see #getSourceRef()
+ * @generated
+ */
+ void setSourceRef(BaseElement value);
+
+ /**
+ * Returns the value of the '<em><b>Target Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Target Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Target Ref</em>' reference.
+ * @see #setTargetRef(BaseElement)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getAssociation_TargetRef()
+ * @model required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='targetRef'"
+ * @generated
+ */
+ BaseElement getTargetRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Association#getTargetRef <em>Target Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Target Ref</em>' reference.
+ * @see #getTargetRef()
+ * @generated
+ */
+ void setTargetRef(BaseElement value);
+
+} // Association
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/AssociationDirection.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/AssociationDirection.java
new file mode 100644
index 000000000..21529909e
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/AssociationDirection.java
@@ -0,0 +1,247 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+import org.eclipse.emf.common.util.Enumerator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the literals of the enumeration '<em><b>Association Direction</b></em>',
+ * and utility methods for working with them.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.Bpmn2Package#getAssociationDirection()
+ * @model extendedMetaData="name='tAssociationDirection'"
+ * @generated
+ */
+public enum AssociationDirection implements Enumerator {
+ /**
+ * The '<em><b>None</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #NONE_VALUE
+ * @generated
+ * @ordered
+ */
+ NONE(0, "None", "None"),
+
+ /**
+ * The '<em><b>One</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #ONE_VALUE
+ * @generated
+ * @ordered
+ */
+ ONE(1, "One", "One"),
+
+ /**
+ * The '<em><b>Both</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #BOTH_VALUE
+ * @generated
+ * @ordered
+ */
+ BOTH(2, "Both", "Both");
+
+ /**
+ * The '<em><b>None</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>None</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #NONE
+ * @model name="None"
+ * @generated
+ * @ordered
+ */
+ public static final int NONE_VALUE = 0;
+
+ /**
+ * The '<em><b>One</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>One</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #ONE
+ * @model name="One"
+ * @generated
+ * @ordered
+ */
+ public static final int ONE_VALUE = 1;
+
+ /**
+ * The '<em><b>Both</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Both</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #BOTH
+ * @model name="Both"
+ * @generated
+ * @ordered
+ */
+ public static final int BOTH_VALUE = 2;
+
+ /**
+ * An array of all the '<em><b>Association Direction</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final AssociationDirection[] VALUES_ARRAY = new AssociationDirection[] {
+ NONE, ONE, BOTH, };
+
+ /**
+ * A public read-only list of all the '<em><b>Association Direction</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<AssociationDirection> VALUES = Collections
+ .unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>Association Direction</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static AssociationDirection get(String literal) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ AssociationDirection result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Association Direction</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static AssociationDirection getByName(String name) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ AssociationDirection result = VALUES_ARRAY[i];
+ if (result.getName().equals(name)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Association Direction</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static AssociationDirection get(int value) {
+ switch (value) {
+ case NONE_VALUE:
+ return NONE;
+ case ONE_VALUE:
+ return ONE;
+ case BOTH_VALUE:
+ return BOTH;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final int value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String name;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String literal;
+
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private AssociationDirection(int value, String name, String literal) {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLiteral() {
+ return literal;
+ }
+
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ return literal;
+ }
+
+} //AssociationDirection
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Auditing.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Auditing.java
new file mode 100644
index 000000000..abfae92fd
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Auditing.java
@@ -0,0 +1,28 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Auditing</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getAuditing()
+ * @model extendedMetaData="name='tAuditing' kind='elementOnly'"
+ * @generated
+ */
+public interface Auditing extends BaseElement {
+} // Auditing
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/BaseElement.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/BaseElement.java
new file mode 100644
index 000000000..c00c11f5e
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/BaseElement.java
@@ -0,0 +1,138 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.ecore.util.FeatureMap;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Base Element</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.BaseElement#getExtensionValues <em>Extension Values</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.BaseElement#getDocumentation <em>Documentation</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.BaseElement#getExtensionDefinitions <em>Extension Definitions</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.BaseElement#getId <em>Id</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.BaseElement#getAnyAttribute <em>Any Attribute</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getBaseElement()
+ * @model extendedMetaData="name='tBaseElement' kind='elementOnly' abstract='true'"
+ * @generated
+ */
+public interface BaseElement extends EObject {
+ /**
+ * Returns the value of the '<em><b>Extension Values</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.ExtensionAttributeValue}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Extension Values</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Extension Values</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getBaseElement_ExtensionValues()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='extensionElements' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<ExtensionAttributeValue> getExtensionValues();
+
+ /**
+ * Returns the value of the '<em><b>Documentation</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.Documentation}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Documentation</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Documentation</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getBaseElement_Documentation()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='documentation' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<Documentation> getDocumentation();
+
+ /**
+ * Returns the value of the '<em><b>Extension Definitions</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.ExtensionDefinition}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Extension Definitions</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Extension Definitions</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getBaseElement_ExtensionDefinitions()
+ * @model ordered="false"
+ * @generated
+ */
+ List<ExtensionDefinition> getExtensionDefinitions();
+
+ /**
+ * Returns the value of the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Id</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Id</em>' attribute.
+ * @see #setId(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getBaseElement_Id()
+ * @model id="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='id'"
+ * @generated
+ */
+ String getId();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.BaseElement#getId <em>Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Id</em>' attribute.
+ * @see #getId()
+ * @generated
+ */
+ void setId(String value);
+
+ /**
+ * Returns the value of the '<em><b>Any Attribute</b></em>' attribute list.
+ * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Any Attribute</em>' attribute list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Any Attribute</em>' attribute list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getBaseElement_AnyAttribute()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
+ * extendedMetaData="kind='attributeWildcard' wildcards='##other' name=':3' processing='lax'"
+ * @generated
+ */
+ FeatureMap getAnyAttribute();
+
+} // BaseElement
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/BoundaryEvent.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/BoundaryEvent.java
new file mode 100644
index 000000000..9029ac0ee
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/BoundaryEvent.java
@@ -0,0 +1,92 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Boundary Event</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.BoundaryEvent#getAttachedToRef <em>Attached To Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.BoundaryEvent#isCancelActivity <em>Cancel Activity</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getBoundaryEvent()
+ * @model extendedMetaData="name='tBoundaryEvent' kind='elementOnly'"
+ * @generated
+ */
+public interface BoundaryEvent extends CatchEvent {
+ /**
+ * Returns the value of the '<em><b>Attached To Ref</b></em>' reference.
+ * It is bidirectional and its opposite is '{@link org.eclipse.bpmn2.Activity#getBoundaryEventRefs <em>Boundary Event Refs</em>}'.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Attached To Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Attached To Ref</em>' reference.
+ * @see #setAttachedToRef(Activity)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getBoundaryEvent_AttachedToRef()
+ * @see org.eclipse.bpmn2.Activity#getBoundaryEventRefs
+ * @model opposite="boundaryEventRefs" resolveProxies="false" required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='attachedToRef'"
+ * @generated
+ */
+ Activity getAttachedToRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.BoundaryEvent#getAttachedToRef <em>Attached To Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Attached To Ref</em>' reference.
+ * @see #getAttachedToRef()
+ * @generated
+ */
+ void setAttachedToRef(Activity value);
+
+ /**
+ * Returns the value of the '<em><b>Cancel Activity</b></em>' attribute.
+ * The default value is <code>"true"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Cancel Activity</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Cancel Activity</em>' attribute.
+ * @see #setCancelActivity(boolean)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getBoundaryEvent_CancelActivity()
+ * @model default="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='cancelActivity'"
+ * @generated
+ */
+ boolean isCancelActivity();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.BoundaryEvent#isCancelActivity <em>Cancel Activity</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Cancel Activity</em>' attribute.
+ * @see #isCancelActivity()
+ * @generated
+ */
+ void setCancelActivity(boolean value);
+
+} // BoundaryEvent
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Bpmn2Factory.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Bpmn2Factory.java
new file mode 100644
index 000000000..b3b64ef90
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Bpmn2Factory.java
@@ -0,0 +1,1206 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import org.eclipse.emf.ecore.EFactory;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Factory</b> for the model.
+ * It provides a create method for each non-abstract class of the model.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.Bpmn2Package
+ * @generated
+ */
+public interface Bpmn2Factory extends EFactory {
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ Bpmn2Factory eINSTANCE = org.eclipse.bpmn2.impl.Bpmn2FactoryImpl.init();
+
+ /**
+ * Returns a new object of class '<em>Document Root</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Document Root</em>'.
+ * @generated
+ */
+ DocumentRoot createDocumentRoot();
+
+ /**
+ * Returns a new object of class '<em>Activity</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Activity</em>'.
+ * @generated
+ */
+ Activity createActivity();
+
+ /**
+ * Returns a new object of class '<em>Ad Hoc Sub Process</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Ad Hoc Sub Process</em>'.
+ * @generated
+ */
+ AdHocSubProcess createAdHocSubProcess();
+
+ /**
+ * Returns a new object of class '<em>Artifact</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Artifact</em>'.
+ * @generated
+ */
+ Artifact createArtifact();
+
+ /**
+ * Returns a new object of class '<em>Assignment</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Assignment</em>'.
+ * @generated
+ */
+ Assignment createAssignment();
+
+ /**
+ * Returns a new object of class '<em>Association</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Association</em>'.
+ * @generated
+ */
+ Association createAssociation();
+
+ /**
+ * Returns a new object of class '<em>Auditing</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Auditing</em>'.
+ * @generated
+ */
+ Auditing createAuditing();
+
+ /**
+ * Returns a new object of class '<em>Base Element</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Base Element</em>'.
+ * @generated
+ */
+ BaseElement createBaseElement();
+
+ /**
+ * Returns a new object of class '<em>Boundary Event</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Boundary Event</em>'.
+ * @generated
+ */
+ BoundaryEvent createBoundaryEvent();
+
+ /**
+ * Returns a new object of class '<em>Business Rule Task</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Business Rule Task</em>'.
+ * @generated
+ */
+ BusinessRuleTask createBusinessRuleTask();
+
+ /**
+ * Returns a new object of class '<em>Call Activity</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Call Activity</em>'.
+ * @generated
+ */
+ CallActivity createCallActivity();
+
+ /**
+ * Returns a new object of class '<em>Call Choreography</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Call Choreography</em>'.
+ * @generated
+ */
+ CallChoreography createCallChoreography();
+
+ /**
+ * Returns a new object of class '<em>Call Conversation</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Call Conversation</em>'.
+ * @generated
+ */
+ CallConversation createCallConversation();
+
+ /**
+ * Returns a new object of class '<em>Callable Element</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Callable Element</em>'.
+ * @generated
+ */
+ CallableElement createCallableElement();
+
+ /**
+ * Returns a new object of class '<em>Cancel Event Definition</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Cancel Event Definition</em>'.
+ * @generated
+ */
+ CancelEventDefinition createCancelEventDefinition();
+
+ /**
+ * Returns a new object of class '<em>Category</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Category</em>'.
+ * @generated
+ */
+ Category createCategory();
+
+ /**
+ * Returns a new object of class '<em>Category Value</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Category Value</em>'.
+ * @generated
+ */
+ CategoryValue createCategoryValue();
+
+ /**
+ * Returns a new object of class '<em>Choreography</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Choreography</em>'.
+ * @generated
+ */
+ Choreography createChoreography();
+
+ /**
+ * Returns a new object of class '<em>Choreography Task</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Choreography Task</em>'.
+ * @generated
+ */
+ ChoreographyTask createChoreographyTask();
+
+ /**
+ * Returns a new object of class '<em>Collaboration</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Collaboration</em>'.
+ * @generated
+ */
+ Collaboration createCollaboration();
+
+ /**
+ * Returns a new object of class '<em>Compensate Event Definition</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Compensate Event Definition</em>'.
+ * @generated
+ */
+ CompensateEventDefinition createCompensateEventDefinition();
+
+ /**
+ * Returns a new object of class '<em>Complex Behavior Definition</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Complex Behavior Definition</em>'.
+ * @generated
+ */
+ ComplexBehaviorDefinition createComplexBehaviorDefinition();
+
+ /**
+ * Returns a new object of class '<em>Complex Gateway</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Complex Gateway</em>'.
+ * @generated
+ */
+ ComplexGateway createComplexGateway();
+
+ /**
+ * Returns a new object of class '<em>Conditional Event Definition</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Conditional Event Definition</em>'.
+ * @generated
+ */
+ ConditionalEventDefinition createConditionalEventDefinition();
+
+ /**
+ * Returns a new object of class '<em>Conversation</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Conversation</em>'.
+ * @generated
+ */
+ Conversation createConversation();
+
+ /**
+ * Returns a new object of class '<em>Conversation Association</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Conversation Association</em>'.
+ * @generated
+ */
+ ConversationAssociation createConversationAssociation();
+
+ /**
+ * Returns a new object of class '<em>Conversation Link</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Conversation Link</em>'.
+ * @generated
+ */
+ ConversationLink createConversationLink();
+
+ /**
+ * Returns a new object of class '<em>Conversation Node</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Conversation Node</em>'.
+ * @generated
+ */
+ ConversationNode createConversationNode();
+
+ /**
+ * Returns a new object of class '<em>Correlation Key</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Correlation Key</em>'.
+ * @generated
+ */
+ CorrelationKey createCorrelationKey();
+
+ /**
+ * Returns a new object of class '<em>Correlation Property</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Correlation Property</em>'.
+ * @generated
+ */
+ CorrelationProperty createCorrelationProperty();
+
+ /**
+ * Returns a new object of class '<em>Correlation Property Binding</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Correlation Property Binding</em>'.
+ * @generated
+ */
+ CorrelationPropertyBinding createCorrelationPropertyBinding();
+
+ /**
+ * Returns a new object of class '<em>Correlation Property Retrieval Expression</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Correlation Property Retrieval Expression</em>'.
+ * @generated
+ */
+ CorrelationPropertyRetrievalExpression createCorrelationPropertyRetrievalExpression();
+
+ /**
+ * Returns a new object of class '<em>Correlation Subscription</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Correlation Subscription</em>'.
+ * @generated
+ */
+ CorrelationSubscription createCorrelationSubscription();
+
+ /**
+ * Returns a new object of class '<em>Data Association</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Data Association</em>'.
+ * @generated
+ */
+ DataAssociation createDataAssociation();
+
+ /**
+ * Returns a new object of class '<em>Data Input</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Data Input</em>'.
+ * @generated
+ */
+ DataInput createDataInput();
+
+ /**
+ * Returns a new object of class '<em>Data Input Association</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Data Input Association</em>'.
+ * @generated
+ */
+ DataInputAssociation createDataInputAssociation();
+
+ /**
+ * Returns a new object of class '<em>Data Object</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Data Object</em>'.
+ * @generated
+ */
+ DataObject createDataObject();
+
+ /**
+ * Returns a new object of class '<em>Data Object Reference</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Data Object Reference</em>'.
+ * @generated
+ */
+ DataObjectReference createDataObjectReference();
+
+ /**
+ * Returns a new object of class '<em>Data Output</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Data Output</em>'.
+ * @generated
+ */
+ DataOutput createDataOutput();
+
+ /**
+ * Returns a new object of class '<em>Data Output Association</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Data Output Association</em>'.
+ * @generated
+ */
+ DataOutputAssociation createDataOutputAssociation();
+
+ /**
+ * Returns a new object of class '<em>Data State</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Data State</em>'.
+ * @generated
+ */
+ DataState createDataState();
+
+ /**
+ * Returns a new object of class '<em>Data Store</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Data Store</em>'.
+ * @generated
+ */
+ DataStore createDataStore();
+
+ /**
+ * Returns a new object of class '<em>Data Store Reference</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Data Store Reference</em>'.
+ * @generated
+ */
+ DataStoreReference createDataStoreReference();
+
+ /**
+ * Returns a new object of class '<em>Definitions</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Definitions</em>'.
+ * @generated
+ */
+ Definitions createDefinitions();
+
+ /**
+ * Returns a new object of class '<em>Documentation</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Documentation</em>'.
+ * @generated
+ */
+ Documentation createDocumentation();
+
+ /**
+ * Returns a new object of class '<em>End Event</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>End Event</em>'.
+ * @generated
+ */
+ EndEvent createEndEvent();
+
+ /**
+ * Returns a new object of class '<em>End Point</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>End Point</em>'.
+ * @generated
+ */
+ EndPoint createEndPoint();
+
+ /**
+ * Returns a new object of class '<em>Error</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Error</em>'.
+ * @generated
+ */
+ Error createError();
+
+ /**
+ * Returns a new object of class '<em>Error Event Definition</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Error Event Definition</em>'.
+ * @generated
+ */
+ ErrorEventDefinition createErrorEventDefinition();
+
+ /**
+ * Returns a new object of class '<em>Escalation</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Escalation</em>'.
+ * @generated
+ */
+ Escalation createEscalation();
+
+ /**
+ * Returns a new object of class '<em>Escalation Event Definition</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Escalation Event Definition</em>'.
+ * @generated
+ */
+ EscalationEventDefinition createEscalationEventDefinition();
+
+ /**
+ * Returns a new object of class '<em>Event Based Gateway</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Event Based Gateway</em>'.
+ * @generated
+ */
+ EventBasedGateway createEventBasedGateway();
+
+ /**
+ * Returns a new object of class '<em>Event Definition</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Event Definition</em>'.
+ * @generated
+ */
+ EventDefinition createEventDefinition();
+
+ /**
+ * Returns a new object of class '<em>Exclusive Gateway</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Exclusive Gateway</em>'.
+ * @generated
+ */
+ ExclusiveGateway createExclusiveGateway();
+
+ /**
+ * Returns a new object of class '<em>Expression</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Expression</em>'.
+ * @generated
+ */
+ Expression createExpression();
+
+ /**
+ * Returns a new object of class '<em>Extension</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Extension</em>'.
+ * @generated
+ */
+ Extension createExtension();
+
+ /**
+ * Returns a new object of class '<em>Extension Attribute Definition</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Extension Attribute Definition</em>'.
+ * @generated
+ */
+ ExtensionAttributeDefinition createExtensionAttributeDefinition();
+
+ /**
+ * Returns a new object of class '<em>Extension Attribute Value</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Extension Attribute Value</em>'.
+ * @generated
+ */
+ ExtensionAttributeValue createExtensionAttributeValue();
+
+ /**
+ * Returns a new object of class '<em>Extension Definition</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Extension Definition</em>'.
+ * @generated
+ */
+ ExtensionDefinition createExtensionDefinition();
+
+ /**
+ * Returns a new object of class '<em>Formal Expression</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Formal Expression</em>'.
+ * @generated
+ */
+ FormalExpression createFormalExpression();
+
+ /**
+ * Returns a new object of class '<em>Global Business Rule Task</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Global Business Rule Task</em>'.
+ * @generated
+ */
+ GlobalBusinessRuleTask createGlobalBusinessRuleTask();
+
+ /**
+ * Returns a new object of class '<em>Global Choreography Task</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Global Choreography Task</em>'.
+ * @generated
+ */
+ GlobalChoreographyTask createGlobalChoreographyTask();
+
+ /**
+ * Returns a new object of class '<em>Global Conversation</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Global Conversation</em>'.
+ * @generated
+ */
+ GlobalConversation createGlobalConversation();
+
+ /**
+ * Returns a new object of class '<em>Global Manual Task</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Global Manual Task</em>'.
+ * @generated
+ */
+ GlobalManualTask createGlobalManualTask();
+
+ /**
+ * Returns a new object of class '<em>Global Script Task</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Global Script Task</em>'.
+ * @generated
+ */
+ GlobalScriptTask createGlobalScriptTask();
+
+ /**
+ * Returns a new object of class '<em>Global Task</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Global Task</em>'.
+ * @generated
+ */
+ GlobalTask createGlobalTask();
+
+ /**
+ * Returns a new object of class '<em>Global User Task</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Global User Task</em>'.
+ * @generated
+ */
+ GlobalUserTask createGlobalUserTask();
+
+ /**
+ * Returns a new object of class '<em>Group</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Group</em>'.
+ * @generated
+ */
+ Group createGroup();
+
+ /**
+ * Returns a new object of class '<em>Human Performer</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Human Performer</em>'.
+ * @generated
+ */
+ HumanPerformer createHumanPerformer();
+
+ /**
+ * Returns a new object of class '<em>Implicit Throw Event</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Implicit Throw Event</em>'.
+ * @generated
+ */
+ ImplicitThrowEvent createImplicitThrowEvent();
+
+ /**
+ * Returns a new object of class '<em>Import</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Import</em>'.
+ * @generated
+ */
+ Import createImport();
+
+ /**
+ * Returns a new object of class '<em>Inclusive Gateway</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Inclusive Gateway</em>'.
+ * @generated
+ */
+ InclusiveGateway createInclusiveGateway();
+
+ /**
+ * Returns a new object of class '<em>Input Output Binding</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Input Output Binding</em>'.
+ * @generated
+ */
+ InputOutputBinding createInputOutputBinding();
+
+ /**
+ * Returns a new object of class '<em>Input Output Specification</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Input Output Specification</em>'.
+ * @generated
+ */
+ InputOutputSpecification createInputOutputSpecification();
+
+ /**
+ * Returns a new object of class '<em>Input Set</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Input Set</em>'.
+ * @generated
+ */
+ InputSet createInputSet();
+
+ /**
+ * Returns a new object of class '<em>Interaction Node</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Interaction Node</em>'.
+ * @generated
+ */
+ InteractionNode createInteractionNode();
+
+ /**
+ * Returns a new object of class '<em>Interface</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Interface</em>'.
+ * @generated
+ */
+ Interface createInterface();
+
+ /**
+ * Returns a new object of class '<em>Intermediate Catch Event</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Intermediate Catch Event</em>'.
+ * @generated
+ */
+ IntermediateCatchEvent createIntermediateCatchEvent();
+
+ /**
+ * Returns a new object of class '<em>Intermediate Throw Event</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Intermediate Throw Event</em>'.
+ * @generated
+ */
+ IntermediateThrowEvent createIntermediateThrowEvent();
+
+ /**
+ * Returns a new object of class '<em>Item Aware Element</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Item Aware Element</em>'.
+ * @generated
+ */
+ ItemAwareElement createItemAwareElement();
+
+ /**
+ * Returns a new object of class '<em>Item Definition</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Item Definition</em>'.
+ * @generated
+ */
+ ItemDefinition createItemDefinition();
+
+ /**
+ * Returns a new object of class '<em>Lane</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Lane</em>'.
+ * @generated
+ */
+ Lane createLane();
+
+ /**
+ * Returns a new object of class '<em>Lane Set</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Lane Set</em>'.
+ * @generated
+ */
+ LaneSet createLaneSet();
+
+ /**
+ * Returns a new object of class '<em>Link Event Definition</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Link Event Definition</em>'.
+ * @generated
+ */
+ LinkEventDefinition createLinkEventDefinition();
+
+ /**
+ * Returns a new object of class '<em>Manual Task</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Manual Task</em>'.
+ * @generated
+ */
+ ManualTask createManualTask();
+
+ /**
+ * Returns a new object of class '<em>Message</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Message</em>'.
+ * @generated
+ */
+ Message createMessage();
+
+ /**
+ * Returns a new object of class '<em>Message Event Definition</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Message Event Definition</em>'.
+ * @generated
+ */
+ MessageEventDefinition createMessageEventDefinition();
+
+ /**
+ * Returns a new object of class '<em>Message Flow</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Message Flow</em>'.
+ * @generated
+ */
+ MessageFlow createMessageFlow();
+
+ /**
+ * Returns a new object of class '<em>Message Flow Association</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Message Flow Association</em>'.
+ * @generated
+ */
+ MessageFlowAssociation createMessageFlowAssociation();
+
+ /**
+ * Returns a new object of class '<em>Monitoring</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Monitoring</em>'.
+ * @generated
+ */
+ Monitoring createMonitoring();
+
+ /**
+ * Returns a new object of class '<em>Multi Instance Loop Characteristics</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Multi Instance Loop Characteristics</em>'.
+ * @generated
+ */
+ MultiInstanceLoopCharacteristics createMultiInstanceLoopCharacteristics();
+
+ /**
+ * Returns a new object of class '<em>Operation</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Operation</em>'.
+ * @generated
+ */
+ Operation createOperation();
+
+ /**
+ * Returns a new object of class '<em>Output Set</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Output Set</em>'.
+ * @generated
+ */
+ OutputSet createOutputSet();
+
+ /**
+ * Returns a new object of class '<em>Parallel Gateway</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Parallel Gateway</em>'.
+ * @generated
+ */
+ ParallelGateway createParallelGateway();
+
+ /**
+ * Returns a new object of class '<em>Participant</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Participant</em>'.
+ * @generated
+ */
+ Participant createParticipant();
+
+ /**
+ * Returns a new object of class '<em>Participant Association</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Participant Association</em>'.
+ * @generated
+ */
+ ParticipantAssociation createParticipantAssociation();
+
+ /**
+ * Returns a new object of class '<em>Participant Multiplicity</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Participant Multiplicity</em>'.
+ * @generated
+ */
+ ParticipantMultiplicity createParticipantMultiplicity();
+
+ /**
+ * Returns a new object of class '<em>Partner Entity</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Partner Entity</em>'.
+ * @generated
+ */
+ PartnerEntity createPartnerEntity();
+
+ /**
+ * Returns a new object of class '<em>Partner Role</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Partner Role</em>'.
+ * @generated
+ */
+ PartnerRole createPartnerRole();
+
+ /**
+ * Returns a new object of class '<em>Performer</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Performer</em>'.
+ * @generated
+ */
+ Performer createPerformer();
+
+ /**
+ * Returns a new object of class '<em>Potential Owner</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Potential Owner</em>'.
+ * @generated
+ */
+ PotentialOwner createPotentialOwner();
+
+ /**
+ * Returns a new object of class '<em>Process</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Process</em>'.
+ * @generated
+ */
+ Process createProcess();
+
+ /**
+ * Returns a new object of class '<em>Property</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Property</em>'.
+ * @generated
+ */
+ Property createProperty();
+
+ /**
+ * Returns a new object of class '<em>Receive Task</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Receive Task</em>'.
+ * @generated
+ */
+ ReceiveTask createReceiveTask();
+
+ /**
+ * Returns a new object of class '<em>Relationship</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Relationship</em>'.
+ * @generated
+ */
+ Relationship createRelationship();
+
+ /**
+ * Returns a new object of class '<em>Rendering</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Rendering</em>'.
+ * @generated
+ */
+ Rendering createRendering();
+
+ /**
+ * Returns a new object of class '<em>Resource</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Resource</em>'.
+ * @generated
+ */
+ Resource createResource();
+
+ /**
+ * Returns a new object of class '<em>Resource Assignment Expression</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Resource Assignment Expression</em>'.
+ * @generated
+ */
+ ResourceAssignmentExpression createResourceAssignmentExpression();
+
+ /**
+ * Returns a new object of class '<em>Resource Parameter</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Resource Parameter</em>'.
+ * @generated
+ */
+ ResourceParameter createResourceParameter();
+
+ /**
+ * Returns a new object of class '<em>Resource Parameter Binding</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Resource Parameter Binding</em>'.
+ * @generated
+ */
+ ResourceParameterBinding createResourceParameterBinding();
+
+ /**
+ * Returns a new object of class '<em>Resource Role</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Resource Role</em>'.
+ * @generated
+ */
+ ResourceRole createResourceRole();
+
+ /**
+ * Returns a new object of class '<em>Root Element</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Root Element</em>'.
+ * @generated
+ */
+ RootElement createRootElement();
+
+ /**
+ * Returns a new object of class '<em>Script Task</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Script Task</em>'.
+ * @generated
+ */
+ ScriptTask createScriptTask();
+
+ /**
+ * Returns a new object of class '<em>Send Task</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Send Task</em>'.
+ * @generated
+ */
+ SendTask createSendTask();
+
+ /**
+ * Returns a new object of class '<em>Sequence Flow</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Sequence Flow</em>'.
+ * @generated
+ */
+ SequenceFlow createSequenceFlow();
+
+ /**
+ * Returns a new object of class '<em>Service Task</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Service Task</em>'.
+ * @generated
+ */
+ ServiceTask createServiceTask();
+
+ /**
+ * Returns a new object of class '<em>Signal</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Signal</em>'.
+ * @generated
+ */
+ Signal createSignal();
+
+ /**
+ * Returns a new object of class '<em>Signal Event Definition</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Signal Event Definition</em>'.
+ * @generated
+ */
+ SignalEventDefinition createSignalEventDefinition();
+
+ /**
+ * Returns a new object of class '<em>Standard Loop Characteristics</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Standard Loop Characteristics</em>'.
+ * @generated
+ */
+ StandardLoopCharacteristics createStandardLoopCharacteristics();
+
+ /**
+ * Returns a new object of class '<em>Start Event</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Start Event</em>'.
+ * @generated
+ */
+ StartEvent createStartEvent();
+
+ /**
+ * Returns a new object of class '<em>Sub Choreography</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Sub Choreography</em>'.
+ * @generated
+ */
+ SubChoreography createSubChoreography();
+
+ /**
+ * Returns a new object of class '<em>Sub Conversation</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Sub Conversation</em>'.
+ * @generated
+ */
+ SubConversation createSubConversation();
+
+ /**
+ * Returns a new object of class '<em>Sub Process</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Sub Process</em>'.
+ * @generated
+ */
+ SubProcess createSubProcess();
+
+ /**
+ * Returns a new object of class '<em>Task</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Task</em>'.
+ * @generated
+ */
+ Task createTask();
+
+ /**
+ * Returns a new object of class '<em>Terminate Event Definition</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Terminate Event Definition</em>'.
+ * @generated
+ */
+ TerminateEventDefinition createTerminateEventDefinition();
+
+ /**
+ * Returns a new object of class '<em>Text Annotation</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Text Annotation</em>'.
+ * @generated
+ */
+ TextAnnotation createTextAnnotation();
+
+ /**
+ * Returns a new object of class '<em>Timer Event Definition</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Timer Event Definition</em>'.
+ * @generated
+ */
+ TimerEventDefinition createTimerEventDefinition();
+
+ /**
+ * Returns a new object of class '<em>Transaction</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Transaction</em>'.
+ * @generated
+ */
+ Transaction createTransaction();
+
+ /**
+ * Returns a new object of class '<em>User Task</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>User Task</em>'.
+ * @generated
+ */
+ UserTask createUserTask();
+
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the package supported by this factory.
+ * @generated
+ */
+ Bpmn2Package getBpmn2Package();
+
+} //Bpmn2Factory
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Bpmn2Package.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Bpmn2Package.java
new file mode 100644
index 000000000..d82d38e38
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Bpmn2Package.java
@@ -0,0 +1,30259 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EEnum;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Package</b> for the model.
+ * It contains accessors for the meta objects to represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.Bpmn2Factory
+ * @model kind="package"
+ * @generated
+ */
+public interface Bpmn2Package extends EPackage {
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNAME = "bpmn2";
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_URI = "http://www.omg.org/spec/BPMN/20100524/MODEL-XMI";
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_PREFIX = "bpmn2";
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ Bpmn2Package eINSTANCE = org.eclipse.bpmn2.impl.Bpmn2PackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.DocumentRootImpl <em>Document Root</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.DocumentRootImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getDocumentRoot()
+ * @generated
+ */
+ int DOCUMENT_ROOT = 0;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__MIXED = 0;
+
+ /**
+ * The feature id for the '<em><b>XMLNS Prefix Map</b></em>' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__XMLNS_PREFIX_MAP = 1;
+
+ /**
+ * The feature id for the '<em><b>XSI Schema Location</b></em>' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = 2;
+
+ /**
+ * The feature id for the '<em><b>Activity</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__ACTIVITY = 3;
+
+ /**
+ * The feature id for the '<em><b>Ad Hoc Sub Process</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__AD_HOC_SUB_PROCESS = 4;
+
+ /**
+ * The feature id for the '<em><b>Flow Element</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__FLOW_ELEMENT = 5;
+
+ /**
+ * The feature id for the '<em><b>Artifact</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__ARTIFACT = 6;
+
+ /**
+ * The feature id for the '<em><b>Assignment</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__ASSIGNMENT = 7;
+
+ /**
+ * The feature id for the '<em><b>Association</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__ASSOCIATION = 8;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__AUDITING = 9;
+
+ /**
+ * The feature id for the '<em><b>Base Element</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__BASE_ELEMENT = 10;
+
+ /**
+ * The feature id for the '<em><b>Base Element With Mixed Content</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__BASE_ELEMENT_WITH_MIXED_CONTENT = 11;
+
+ /**
+ * The feature id for the '<em><b>Boundary Event</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__BOUNDARY_EVENT = 12;
+
+ /**
+ * The feature id for the '<em><b>Business Rule Task</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__BUSINESS_RULE_TASK = 13;
+
+ /**
+ * The feature id for the '<em><b>Callable Element</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__CALLABLE_ELEMENT = 14;
+
+ /**
+ * The feature id for the '<em><b>Call Activity</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__CALL_ACTIVITY = 15;
+
+ /**
+ * The feature id for the '<em><b>Call Choreography</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__CALL_CHOREOGRAPHY = 16;
+
+ /**
+ * The feature id for the '<em><b>Call Conversation</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__CALL_CONVERSATION = 17;
+
+ /**
+ * The feature id for the '<em><b>Conversation Node</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__CONVERSATION_NODE = 18;
+
+ /**
+ * The feature id for the '<em><b>Cancel Event Definition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__CANCEL_EVENT_DEFINITION = 19;
+
+ /**
+ * The feature id for the '<em><b>Event Definition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__EVENT_DEFINITION = 20;
+
+ /**
+ * The feature id for the '<em><b>Root Element</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__ROOT_ELEMENT = 21;
+
+ /**
+ * The feature id for the '<em><b>Catch Event</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__CATCH_EVENT = 22;
+
+ /**
+ * The feature id for the '<em><b>Category</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__CATEGORY = 23;
+
+ /**
+ * The feature id for the '<em><b>Category Value</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__CATEGORY_VALUE = 24;
+
+ /**
+ * The feature id for the '<em><b>Choreography</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__CHOREOGRAPHY = 25;
+
+ /**
+ * The feature id for the '<em><b>Collaboration</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__COLLABORATION = 26;
+
+ /**
+ * The feature id for the '<em><b>Choreography Activity</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__CHOREOGRAPHY_ACTIVITY = 27;
+
+ /**
+ * The feature id for the '<em><b>Choreography Task</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__CHOREOGRAPHY_TASK = 28;
+
+ /**
+ * The feature id for the '<em><b>Compensate Event Definition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__COMPENSATE_EVENT_DEFINITION = 29;
+
+ /**
+ * The feature id for the '<em><b>Complex Behavior Definition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__COMPLEX_BEHAVIOR_DEFINITION = 30;
+
+ /**
+ * The feature id for the '<em><b>Complex Gateway</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__COMPLEX_GATEWAY = 31;
+
+ /**
+ * The feature id for the '<em><b>Conditional Event Definition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__CONDITIONAL_EVENT_DEFINITION = 32;
+
+ /**
+ * The feature id for the '<em><b>Conversation</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__CONVERSATION = 33;
+
+ /**
+ * The feature id for the '<em><b>Conversation Association</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__CONVERSATION_ASSOCIATION = 34;
+
+ /**
+ * The feature id for the '<em><b>Conversation Link</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__CONVERSATION_LINK = 35;
+
+ /**
+ * The feature id for the '<em><b>Correlation Key</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__CORRELATION_KEY = 36;
+
+ /**
+ * The feature id for the '<em><b>Correlation Property</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__CORRELATION_PROPERTY = 37;
+
+ /**
+ * The feature id for the '<em><b>Correlation Property Binding</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__CORRELATION_PROPERTY_BINDING = 38;
+
+ /**
+ * The feature id for the '<em><b>Correlation Property Retrieval Expression</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION = 39;
+
+ /**
+ * The feature id for the '<em><b>Correlation Subscription</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__CORRELATION_SUBSCRIPTION = 40;
+
+ /**
+ * The feature id for the '<em><b>Data Association</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__DATA_ASSOCIATION = 41;
+
+ /**
+ * The feature id for the '<em><b>Data Input</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__DATA_INPUT = 42;
+
+ /**
+ * The feature id for the '<em><b>Data Input Association</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__DATA_INPUT_ASSOCIATION = 43;
+
+ /**
+ * The feature id for the '<em><b>Data Object</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__DATA_OBJECT = 44;
+
+ /**
+ * The feature id for the '<em><b>Data Object Reference</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__DATA_OBJECT_REFERENCE = 45;
+
+ /**
+ * The feature id for the '<em><b>Data Output</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__DATA_OUTPUT = 46;
+
+ /**
+ * The feature id for the '<em><b>Data Output Association</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__DATA_OUTPUT_ASSOCIATION = 47;
+
+ /**
+ * The feature id for the '<em><b>Data State</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__DATA_STATE = 48;
+
+ /**
+ * The feature id for the '<em><b>Data Store</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__DATA_STORE = 49;
+
+ /**
+ * The feature id for the '<em><b>Data Store Reference</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__DATA_STORE_REFERENCE = 50;
+
+ /**
+ * The feature id for the '<em><b>Definitions</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__DEFINITIONS = 51;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__DOCUMENTATION = 52;
+
+ /**
+ * The feature id for the '<em><b>End Event</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__END_EVENT = 53;
+
+ /**
+ * The feature id for the '<em><b>End Point</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__END_POINT = 54;
+
+ /**
+ * The feature id for the '<em><b>Error</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__ERROR = 55;
+
+ /**
+ * The feature id for the '<em><b>Error Event Definition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__ERROR_EVENT_DEFINITION = 56;
+
+ /**
+ * The feature id for the '<em><b>Escalation</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__ESCALATION = 57;
+
+ /**
+ * The feature id for the '<em><b>Escalation Event Definition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__ESCALATION_EVENT_DEFINITION = 58;
+
+ /**
+ * The feature id for the '<em><b>Event</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__EVENT = 59;
+
+ /**
+ * The feature id for the '<em><b>Event Based Gateway</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__EVENT_BASED_GATEWAY = 60;
+
+ /**
+ * The feature id for the '<em><b>Exclusive Gateway</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__EXCLUSIVE_GATEWAY = 61;
+
+ /**
+ * The feature id for the '<em><b>Expression</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__EXPRESSION = 62;
+
+ /**
+ * The feature id for the '<em><b>Extension</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__EXTENSION = 63;
+
+ /**
+ * The feature id for the '<em><b>Extension Elements</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__EXTENSION_ELEMENTS = 64;
+
+ /**
+ * The feature id for the '<em><b>Flow Node</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__FLOW_NODE = 65;
+
+ /**
+ * The feature id for the '<em><b>Formal Expression</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__FORMAL_EXPRESSION = 66;
+
+ /**
+ * The feature id for the '<em><b>Gateway</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__GATEWAY = 67;
+
+ /**
+ * The feature id for the '<em><b>Global Business Rule Task</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__GLOBAL_BUSINESS_RULE_TASK = 68;
+
+ /**
+ * The feature id for the '<em><b>Global Choreography Task</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__GLOBAL_CHOREOGRAPHY_TASK = 69;
+
+ /**
+ * The feature id for the '<em><b>Global Conversation</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__GLOBAL_CONVERSATION = 70;
+
+ /**
+ * The feature id for the '<em><b>Global Manual Task</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__GLOBAL_MANUAL_TASK = 71;
+
+ /**
+ * The feature id for the '<em><b>Global Script Task</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__GLOBAL_SCRIPT_TASK = 72;
+
+ /**
+ * The feature id for the '<em><b>Global Task</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__GLOBAL_TASK = 73;
+
+ /**
+ * The feature id for the '<em><b>Global User Task</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__GLOBAL_USER_TASK = 74;
+
+ /**
+ * The feature id for the '<em><b>Group</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__GROUP = 75;
+
+ /**
+ * The feature id for the '<em><b>Human Performer</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__HUMAN_PERFORMER = 76;
+
+ /**
+ * The feature id for the '<em><b>Performer</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__PERFORMER = 77;
+
+ /**
+ * The feature id for the '<em><b>Resource Role</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__RESOURCE_ROLE = 78;
+
+ /**
+ * The feature id for the '<em><b>Implicit Throw Event</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__IMPLICIT_THROW_EVENT = 79;
+
+ /**
+ * The feature id for the '<em><b>Import</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__IMPORT = 80;
+
+ /**
+ * The feature id for the '<em><b>Inclusive Gateway</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__INCLUSIVE_GATEWAY = 81;
+
+ /**
+ * The feature id for the '<em><b>Input Set</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__INPUT_SET = 82;
+
+ /**
+ * The feature id for the '<em><b>Interface</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__INTERFACE = 83;
+
+ /**
+ * The feature id for the '<em><b>Intermediate Catch Event</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__INTERMEDIATE_CATCH_EVENT = 84;
+
+ /**
+ * The feature id for the '<em><b>Intermediate Throw Event</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__INTERMEDIATE_THROW_EVENT = 85;
+
+ /**
+ * The feature id for the '<em><b>Io Binding</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__IO_BINDING = 86;
+
+ /**
+ * The feature id for the '<em><b>Io Specification</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__IO_SPECIFICATION = 87;
+
+ /**
+ * The feature id for the '<em><b>Item Definition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__ITEM_DEFINITION = 88;
+
+ /**
+ * The feature id for the '<em><b>Lane</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__LANE = 89;
+
+ /**
+ * The feature id for the '<em><b>Lane Set</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__LANE_SET = 90;
+
+ /**
+ * The feature id for the '<em><b>Link Event Definition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__LINK_EVENT_DEFINITION = 91;
+
+ /**
+ * The feature id for the '<em><b>Loop Characteristics</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__LOOP_CHARACTERISTICS = 92;
+
+ /**
+ * The feature id for the '<em><b>Manual Task</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__MANUAL_TASK = 93;
+
+ /**
+ * The feature id for the '<em><b>Message</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__MESSAGE = 94;
+
+ /**
+ * The feature id for the '<em><b>Message Event Definition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__MESSAGE_EVENT_DEFINITION = 95;
+
+ /**
+ * The feature id for the '<em><b>Message Flow</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__MESSAGE_FLOW = 96;
+
+ /**
+ * The feature id for the '<em><b>Message Flow Association</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__MESSAGE_FLOW_ASSOCIATION = 97;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__MONITORING = 98;
+
+ /**
+ * The feature id for the '<em><b>Multi Instance Loop Characteristics</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__MULTI_INSTANCE_LOOP_CHARACTERISTICS = 99;
+
+ /**
+ * The feature id for the '<em><b>Operation</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__OPERATION = 100;
+
+ /**
+ * The feature id for the '<em><b>Output Set</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__OUTPUT_SET = 101;
+
+ /**
+ * The feature id for the '<em><b>Parallel Gateway</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__PARALLEL_GATEWAY = 102;
+
+ /**
+ * The feature id for the '<em><b>Participant</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__PARTICIPANT = 103;
+
+ /**
+ * The feature id for the '<em><b>Participant Association</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__PARTICIPANT_ASSOCIATION = 104;
+
+ /**
+ * The feature id for the '<em><b>Participant Multiplicity</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__PARTICIPANT_MULTIPLICITY = 105;
+
+ /**
+ * The feature id for the '<em><b>Partner Entity</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__PARTNER_ENTITY = 106;
+
+ /**
+ * The feature id for the '<em><b>Partner Role</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__PARTNER_ROLE = 107;
+
+ /**
+ * The feature id for the '<em><b>Potential Owner</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__POTENTIAL_OWNER = 108;
+
+ /**
+ * The feature id for the '<em><b>Process</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__PROCESS = 109;
+
+ /**
+ * The feature id for the '<em><b>Property</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__PROPERTY = 110;
+
+ /**
+ * The feature id for the '<em><b>Receive Task</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__RECEIVE_TASK = 111;
+
+ /**
+ * The feature id for the '<em><b>Relationship</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__RELATIONSHIP = 112;
+
+ /**
+ * The feature id for the '<em><b>Rendering</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__RENDERING = 113;
+
+ /**
+ * The feature id for the '<em><b>Resource</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__RESOURCE = 114;
+
+ /**
+ * The feature id for the '<em><b>Resource Assignment Expression</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__RESOURCE_ASSIGNMENT_EXPRESSION = 115;
+
+ /**
+ * The feature id for the '<em><b>Resource Parameter</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__RESOURCE_PARAMETER = 116;
+
+ /**
+ * The feature id for the '<em><b>Resource Parameter Binding</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__RESOURCE_PARAMETER_BINDING = 117;
+
+ /**
+ * The feature id for the '<em><b>Script</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__SCRIPT = 118;
+
+ /**
+ * The feature id for the '<em><b>Script Task</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__SCRIPT_TASK = 119;
+
+ /**
+ * The feature id for the '<em><b>Send Task</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__SEND_TASK = 120;
+
+ /**
+ * The feature id for the '<em><b>Sequence Flow</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__SEQUENCE_FLOW = 121;
+
+ /**
+ * The feature id for the '<em><b>Service Task</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__SERVICE_TASK = 122;
+
+ /**
+ * The feature id for the '<em><b>Signal</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__SIGNAL = 123;
+
+ /**
+ * The feature id for the '<em><b>Signal Event Definition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__SIGNAL_EVENT_DEFINITION = 124;
+
+ /**
+ * The feature id for the '<em><b>Standard Loop Characteristics</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__STANDARD_LOOP_CHARACTERISTICS = 125;
+
+ /**
+ * The feature id for the '<em><b>Start Event</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__START_EVENT = 126;
+
+ /**
+ * The feature id for the '<em><b>Sub Choreography</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__SUB_CHOREOGRAPHY = 127;
+
+ /**
+ * The feature id for the '<em><b>Sub Conversation</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__SUB_CONVERSATION = 128;
+
+ /**
+ * The feature id for the '<em><b>Sub Process</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__SUB_PROCESS = 129;
+
+ /**
+ * The feature id for the '<em><b>Task</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__TASK = 130;
+
+ /**
+ * The feature id for the '<em><b>Terminate Event Definition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__TERMINATE_EVENT_DEFINITION = 131;
+
+ /**
+ * The feature id for the '<em><b>Text</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__TEXT = 132;
+
+ /**
+ * The feature id for the '<em><b>Text Annotation</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__TEXT_ANNOTATION = 133;
+
+ /**
+ * The feature id for the '<em><b>Throw Event</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__THROW_EVENT = 134;
+
+ /**
+ * The feature id for the '<em><b>Timer Event Definition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__TIMER_EVENT_DEFINITION = 135;
+
+ /**
+ * The feature id for the '<em><b>Transaction</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__TRANSACTION = 136;
+
+ /**
+ * The feature id for the '<em><b>User Task</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__USER_TASK = 137;
+
+ /**
+ * The number of structural features of the '<em>Document Root</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT_FEATURE_COUNT = 138;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.BaseElementImpl <em>Base Element</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.BaseElementImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getBaseElement()
+ * @generated
+ */
+ int BASE_ELEMENT = 7;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BASE_ELEMENT__EXTENSION_VALUES = 0;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BASE_ELEMENT__DOCUMENTATION = 1;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BASE_ELEMENT__EXTENSION_DEFINITIONS = 2;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BASE_ELEMENT__ID = 3;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BASE_ELEMENT__ANY_ATTRIBUTE = 4;
+
+ /**
+ * The number of structural features of the '<em>Base Element</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BASE_ELEMENT_FEATURE_COUNT = 5;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.FlowElementImpl <em>Flow Element</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.FlowElementImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getFlowElement()
+ * @generated
+ */
+ int FLOW_ELEMENT = 62;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FLOW_ELEMENT__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FLOW_ELEMENT__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FLOW_ELEMENT__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FLOW_ELEMENT__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FLOW_ELEMENT__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FLOW_ELEMENT__AUDITING = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FLOW_ELEMENT__MONITORING = BASE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FLOW_ELEMENT__CATEGORY_VALUE_REF = BASE_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FLOW_ELEMENT__NAME = BASE_ELEMENT_FEATURE_COUNT + 3;
+
+ /**
+ * The number of structural features of the '<em>Flow Element</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FLOW_ELEMENT_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 4;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.FlowNodeImpl <em>Flow Node</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.FlowNodeImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getFlowNode()
+ * @generated
+ */
+ int FLOW_NODE = 64;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FLOW_NODE__EXTENSION_VALUES = FLOW_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FLOW_NODE__DOCUMENTATION = FLOW_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FLOW_NODE__EXTENSION_DEFINITIONS = FLOW_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FLOW_NODE__ID = FLOW_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FLOW_NODE__ANY_ATTRIBUTE = FLOW_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FLOW_NODE__AUDITING = FLOW_ELEMENT__AUDITING;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FLOW_NODE__MONITORING = FLOW_ELEMENT__MONITORING;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FLOW_NODE__CATEGORY_VALUE_REF = FLOW_ELEMENT__CATEGORY_VALUE_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FLOW_NODE__NAME = FLOW_ELEMENT__NAME;
+
+ /**
+ * The feature id for the '<em><b>Incoming</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FLOW_NODE__INCOMING = FLOW_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Lanes</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FLOW_NODE__LANES = FLOW_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Outgoing</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FLOW_NODE__OUTGOING = FLOW_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>Flow Node</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FLOW_NODE_FEATURE_COUNT = FLOW_ELEMENT_FEATURE_COUNT + 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ActivityImpl <em>Activity</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ActivityImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getActivity()
+ * @generated
+ */
+ int ACTIVITY = 1;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ACTIVITY__EXTENSION_VALUES = FLOW_NODE__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ACTIVITY__DOCUMENTATION = FLOW_NODE__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ACTIVITY__EXTENSION_DEFINITIONS = FLOW_NODE__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ACTIVITY__ID = FLOW_NODE__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ACTIVITY__ANY_ATTRIBUTE = FLOW_NODE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ACTIVITY__AUDITING = FLOW_NODE__AUDITING;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ACTIVITY__MONITORING = FLOW_NODE__MONITORING;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ACTIVITY__CATEGORY_VALUE_REF = FLOW_NODE__CATEGORY_VALUE_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ACTIVITY__NAME = FLOW_NODE__NAME;
+
+ /**
+ * The feature id for the '<em><b>Incoming</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ACTIVITY__INCOMING = FLOW_NODE__INCOMING;
+
+ /**
+ * The feature id for the '<em><b>Lanes</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ACTIVITY__LANES = FLOW_NODE__LANES;
+
+ /**
+ * The feature id for the '<em><b>Outgoing</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ACTIVITY__OUTGOING = FLOW_NODE__OUTGOING;
+
+ /**
+ * The feature id for the '<em><b>Io Specification</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ACTIVITY__IO_SPECIFICATION = FLOW_NODE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Boundary Event Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ACTIVITY__BOUNDARY_EVENT_REFS = FLOW_NODE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Properties</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ACTIVITY__PROPERTIES = FLOW_NODE_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Data Input Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ACTIVITY__DATA_INPUT_ASSOCIATIONS = FLOW_NODE_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Data Output Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ACTIVITY__DATA_OUTPUT_ASSOCIATIONS = FLOW_NODE_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Resources</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ACTIVITY__RESOURCES = FLOW_NODE_FEATURE_COUNT + 5;
+
+ /**
+ * The feature id for the '<em><b>Loop Characteristics</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ACTIVITY__LOOP_CHARACTERISTICS = FLOW_NODE_FEATURE_COUNT + 6;
+
+ /**
+ * The feature id for the '<em><b>Completion Quantity</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ACTIVITY__COMPLETION_QUANTITY = FLOW_NODE_FEATURE_COUNT + 7;
+
+ /**
+ * The feature id for the '<em><b>Default</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ACTIVITY__DEFAULT = FLOW_NODE_FEATURE_COUNT + 8;
+
+ /**
+ * The feature id for the '<em><b>Is For Compensation</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ACTIVITY__IS_FOR_COMPENSATION = FLOW_NODE_FEATURE_COUNT + 9;
+
+ /**
+ * The feature id for the '<em><b>Start Quantity</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ACTIVITY__START_QUANTITY = FLOW_NODE_FEATURE_COUNT + 10;
+
+ /**
+ * The number of structural features of the '<em>Activity</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ACTIVITY_FEATURE_COUNT = FLOW_NODE_FEATURE_COUNT + 11;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.SubProcessImpl <em>Sub Process</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.SubProcessImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getSubProcess()
+ * @generated
+ */
+ int SUB_PROCESS = 130;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_PROCESS__EXTENSION_VALUES = ACTIVITY__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_PROCESS__DOCUMENTATION = ACTIVITY__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_PROCESS__EXTENSION_DEFINITIONS = ACTIVITY__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_PROCESS__ID = ACTIVITY__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_PROCESS__ANY_ATTRIBUTE = ACTIVITY__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_PROCESS__AUDITING = ACTIVITY__AUDITING;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_PROCESS__MONITORING = ACTIVITY__MONITORING;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_PROCESS__CATEGORY_VALUE_REF = ACTIVITY__CATEGORY_VALUE_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_PROCESS__NAME = ACTIVITY__NAME;
+
+ /**
+ * The feature id for the '<em><b>Incoming</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_PROCESS__INCOMING = ACTIVITY__INCOMING;
+
+ /**
+ * The feature id for the '<em><b>Lanes</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_PROCESS__LANES = ACTIVITY__LANES;
+
+ /**
+ * The feature id for the '<em><b>Outgoing</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_PROCESS__OUTGOING = ACTIVITY__OUTGOING;
+
+ /**
+ * The feature id for the '<em><b>Io Specification</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_PROCESS__IO_SPECIFICATION = ACTIVITY__IO_SPECIFICATION;
+
+ /**
+ * The feature id for the '<em><b>Boundary Event Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_PROCESS__BOUNDARY_EVENT_REFS = ACTIVITY__BOUNDARY_EVENT_REFS;
+
+ /**
+ * The feature id for the '<em><b>Properties</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_PROCESS__PROPERTIES = ACTIVITY__PROPERTIES;
+
+ /**
+ * The feature id for the '<em><b>Data Input Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_PROCESS__DATA_INPUT_ASSOCIATIONS = ACTIVITY__DATA_INPUT_ASSOCIATIONS;
+
+ /**
+ * The feature id for the '<em><b>Data Output Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_PROCESS__DATA_OUTPUT_ASSOCIATIONS = ACTIVITY__DATA_OUTPUT_ASSOCIATIONS;
+
+ /**
+ * The feature id for the '<em><b>Resources</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_PROCESS__RESOURCES = ACTIVITY__RESOURCES;
+
+ /**
+ * The feature id for the '<em><b>Loop Characteristics</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_PROCESS__LOOP_CHARACTERISTICS = ACTIVITY__LOOP_CHARACTERISTICS;
+
+ /**
+ * The feature id for the '<em><b>Completion Quantity</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_PROCESS__COMPLETION_QUANTITY = ACTIVITY__COMPLETION_QUANTITY;
+
+ /**
+ * The feature id for the '<em><b>Default</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_PROCESS__DEFAULT = ACTIVITY__DEFAULT;
+
+ /**
+ * The feature id for the '<em><b>Is For Compensation</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_PROCESS__IS_FOR_COMPENSATION = ACTIVITY__IS_FOR_COMPENSATION;
+
+ /**
+ * The feature id for the '<em><b>Start Quantity</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_PROCESS__START_QUANTITY = ACTIVITY__START_QUANTITY;
+
+ /**
+ * The feature id for the '<em><b>Lane Sets</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_PROCESS__LANE_SETS = ACTIVITY_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Flow Elements</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_PROCESS__FLOW_ELEMENTS = ACTIVITY_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Artifacts</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_PROCESS__ARTIFACTS = ACTIVITY_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Triggered By Event</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_PROCESS__TRIGGERED_BY_EVENT = ACTIVITY_FEATURE_COUNT + 3;
+
+ /**
+ * The number of structural features of the '<em>Sub Process</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_PROCESS_FEATURE_COUNT = ACTIVITY_FEATURE_COUNT + 4;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.AdHocSubProcessImpl <em>Ad Hoc Sub Process</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.AdHocSubProcessImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getAdHocSubProcess()
+ * @generated
+ */
+ int AD_HOC_SUB_PROCESS = 2;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AD_HOC_SUB_PROCESS__EXTENSION_VALUES = SUB_PROCESS__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AD_HOC_SUB_PROCESS__DOCUMENTATION = SUB_PROCESS__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AD_HOC_SUB_PROCESS__EXTENSION_DEFINITIONS = SUB_PROCESS__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AD_HOC_SUB_PROCESS__ID = SUB_PROCESS__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AD_HOC_SUB_PROCESS__ANY_ATTRIBUTE = SUB_PROCESS__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AD_HOC_SUB_PROCESS__AUDITING = SUB_PROCESS__AUDITING;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AD_HOC_SUB_PROCESS__MONITORING = SUB_PROCESS__MONITORING;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AD_HOC_SUB_PROCESS__CATEGORY_VALUE_REF = SUB_PROCESS__CATEGORY_VALUE_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AD_HOC_SUB_PROCESS__NAME = SUB_PROCESS__NAME;
+
+ /**
+ * The feature id for the '<em><b>Incoming</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AD_HOC_SUB_PROCESS__INCOMING = SUB_PROCESS__INCOMING;
+
+ /**
+ * The feature id for the '<em><b>Lanes</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AD_HOC_SUB_PROCESS__LANES = SUB_PROCESS__LANES;
+
+ /**
+ * The feature id for the '<em><b>Outgoing</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AD_HOC_SUB_PROCESS__OUTGOING = SUB_PROCESS__OUTGOING;
+
+ /**
+ * The feature id for the '<em><b>Io Specification</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AD_HOC_SUB_PROCESS__IO_SPECIFICATION = SUB_PROCESS__IO_SPECIFICATION;
+
+ /**
+ * The feature id for the '<em><b>Boundary Event Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AD_HOC_SUB_PROCESS__BOUNDARY_EVENT_REFS = SUB_PROCESS__BOUNDARY_EVENT_REFS;
+
+ /**
+ * The feature id for the '<em><b>Properties</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AD_HOC_SUB_PROCESS__PROPERTIES = SUB_PROCESS__PROPERTIES;
+
+ /**
+ * The feature id for the '<em><b>Data Input Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AD_HOC_SUB_PROCESS__DATA_INPUT_ASSOCIATIONS = SUB_PROCESS__DATA_INPUT_ASSOCIATIONS;
+
+ /**
+ * The feature id for the '<em><b>Data Output Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AD_HOC_SUB_PROCESS__DATA_OUTPUT_ASSOCIATIONS = SUB_PROCESS__DATA_OUTPUT_ASSOCIATIONS;
+
+ /**
+ * The feature id for the '<em><b>Resources</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AD_HOC_SUB_PROCESS__RESOURCES = SUB_PROCESS__RESOURCES;
+
+ /**
+ * The feature id for the '<em><b>Loop Characteristics</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AD_HOC_SUB_PROCESS__LOOP_CHARACTERISTICS = SUB_PROCESS__LOOP_CHARACTERISTICS;
+
+ /**
+ * The feature id for the '<em><b>Completion Quantity</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AD_HOC_SUB_PROCESS__COMPLETION_QUANTITY = SUB_PROCESS__COMPLETION_QUANTITY;
+
+ /**
+ * The feature id for the '<em><b>Default</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AD_HOC_SUB_PROCESS__DEFAULT = SUB_PROCESS__DEFAULT;
+
+ /**
+ * The feature id for the '<em><b>Is For Compensation</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AD_HOC_SUB_PROCESS__IS_FOR_COMPENSATION = SUB_PROCESS__IS_FOR_COMPENSATION;
+
+ /**
+ * The feature id for the '<em><b>Start Quantity</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AD_HOC_SUB_PROCESS__START_QUANTITY = SUB_PROCESS__START_QUANTITY;
+
+ /**
+ * The feature id for the '<em><b>Lane Sets</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AD_HOC_SUB_PROCESS__LANE_SETS = SUB_PROCESS__LANE_SETS;
+
+ /**
+ * The feature id for the '<em><b>Flow Elements</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AD_HOC_SUB_PROCESS__FLOW_ELEMENTS = SUB_PROCESS__FLOW_ELEMENTS;
+
+ /**
+ * The feature id for the '<em><b>Artifacts</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AD_HOC_SUB_PROCESS__ARTIFACTS = SUB_PROCESS__ARTIFACTS;
+
+ /**
+ * The feature id for the '<em><b>Triggered By Event</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AD_HOC_SUB_PROCESS__TRIGGERED_BY_EVENT = SUB_PROCESS__TRIGGERED_BY_EVENT;
+
+ /**
+ * The feature id for the '<em><b>Completion Condition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AD_HOC_SUB_PROCESS__COMPLETION_CONDITION = SUB_PROCESS_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Cancel Remaining Instances</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AD_HOC_SUB_PROCESS__CANCEL_REMAINING_INSTANCES = SUB_PROCESS_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Ordering</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AD_HOC_SUB_PROCESS__ORDERING = SUB_PROCESS_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>Ad Hoc Sub Process</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AD_HOC_SUB_PROCESS_FEATURE_COUNT = SUB_PROCESS_FEATURE_COUNT + 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ArtifactImpl <em>Artifact</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ArtifactImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getArtifact()
+ * @generated
+ */
+ int ARTIFACT = 3;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ARTIFACT__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ARTIFACT__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ARTIFACT__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ARTIFACT__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ARTIFACT__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The number of structural features of the '<em>Artifact</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ARTIFACT_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.AssignmentImpl <em>Assignment</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.AssignmentImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getAssignment()
+ * @generated
+ */
+ int ASSIGNMENT = 4;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ASSIGNMENT__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ASSIGNMENT__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ASSIGNMENT__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ASSIGNMENT__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ASSIGNMENT__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>From</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ASSIGNMENT__FROM = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>To</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ASSIGNMENT__TO = BASE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Assignment</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ASSIGNMENT_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.AssociationImpl <em>Association</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.AssociationImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getAssociation()
+ * @generated
+ */
+ int ASSOCIATION = 5;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ASSOCIATION__EXTENSION_VALUES = ARTIFACT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ASSOCIATION__DOCUMENTATION = ARTIFACT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ASSOCIATION__EXTENSION_DEFINITIONS = ARTIFACT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ASSOCIATION__ID = ARTIFACT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ASSOCIATION__ANY_ATTRIBUTE = ARTIFACT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Association Direction</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ASSOCIATION__ASSOCIATION_DIRECTION = ARTIFACT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Source Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ASSOCIATION__SOURCE_REF = ARTIFACT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Target Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ASSOCIATION__TARGET_REF = ARTIFACT_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>Association</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ASSOCIATION_FEATURE_COUNT = ARTIFACT_FEATURE_COUNT + 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.AuditingImpl <em>Auditing</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.AuditingImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getAuditing()
+ * @generated
+ */
+ int AUDITING = 6;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AUDITING__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AUDITING__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AUDITING__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AUDITING__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AUDITING__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The number of structural features of the '<em>Auditing</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AUDITING_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.EventImpl <em>Event</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.EventImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getEvent()
+ * @generated
+ */
+ int EVENT = 53;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT__EXTENSION_VALUES = FLOW_NODE__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT__DOCUMENTATION = FLOW_NODE__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT__EXTENSION_DEFINITIONS = FLOW_NODE__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT__ID = FLOW_NODE__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT__ANY_ATTRIBUTE = FLOW_NODE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT__AUDITING = FLOW_NODE__AUDITING;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT__MONITORING = FLOW_NODE__MONITORING;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT__CATEGORY_VALUE_REF = FLOW_NODE__CATEGORY_VALUE_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT__NAME = FLOW_NODE__NAME;
+
+ /**
+ * The feature id for the '<em><b>Incoming</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT__INCOMING = FLOW_NODE__INCOMING;
+
+ /**
+ * The feature id for the '<em><b>Lanes</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT__LANES = FLOW_NODE__LANES;
+
+ /**
+ * The feature id for the '<em><b>Outgoing</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT__OUTGOING = FLOW_NODE__OUTGOING;
+
+ /**
+ * The feature id for the '<em><b>Incoming Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT__INCOMING_CONVERSATION_LINKS = FLOW_NODE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Outgoing Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT__OUTGOING_CONVERSATION_LINKS = FLOW_NODE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Properties</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT__PROPERTIES = FLOW_NODE_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>Event</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT_FEATURE_COUNT = FLOW_NODE_FEATURE_COUNT + 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.CatchEventImpl <em>Catch Event</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.CatchEventImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getCatchEvent()
+ * @generated
+ */
+ int CATCH_EVENT = 15;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATCH_EVENT__EXTENSION_VALUES = EVENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATCH_EVENT__DOCUMENTATION = EVENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATCH_EVENT__EXTENSION_DEFINITIONS = EVENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATCH_EVENT__ID = EVENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATCH_EVENT__ANY_ATTRIBUTE = EVENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATCH_EVENT__AUDITING = EVENT__AUDITING;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATCH_EVENT__MONITORING = EVENT__MONITORING;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATCH_EVENT__CATEGORY_VALUE_REF = EVENT__CATEGORY_VALUE_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATCH_EVENT__NAME = EVENT__NAME;
+
+ /**
+ * The feature id for the '<em><b>Incoming</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATCH_EVENT__INCOMING = EVENT__INCOMING;
+
+ /**
+ * The feature id for the '<em><b>Lanes</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATCH_EVENT__LANES = EVENT__LANES;
+
+ /**
+ * The feature id for the '<em><b>Outgoing</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATCH_EVENT__OUTGOING = EVENT__OUTGOING;
+
+ /**
+ * The feature id for the '<em><b>Incoming Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATCH_EVENT__INCOMING_CONVERSATION_LINKS = EVENT__INCOMING_CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Outgoing Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATCH_EVENT__OUTGOING_CONVERSATION_LINKS = EVENT__OUTGOING_CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Properties</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATCH_EVENT__PROPERTIES = EVENT__PROPERTIES;
+
+ /**
+ * The feature id for the '<em><b>Data Outputs</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATCH_EVENT__DATA_OUTPUTS = EVENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Data Output Association</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATCH_EVENT__DATA_OUTPUT_ASSOCIATION = EVENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Output Set</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATCH_EVENT__OUTPUT_SET = EVENT_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Event Definitions</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATCH_EVENT__EVENT_DEFINITIONS = EVENT_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Event Definition Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATCH_EVENT__EVENT_DEFINITION_REFS = EVENT_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Parallel Multiple</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATCH_EVENT__PARALLEL_MULTIPLE = EVENT_FEATURE_COUNT + 5;
+
+ /**
+ * The number of structural features of the '<em>Catch Event</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATCH_EVENT_FEATURE_COUNT = EVENT_FEATURE_COUNT + 6;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.BoundaryEventImpl <em>Boundary Event</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.BoundaryEventImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getBoundaryEvent()
+ * @generated
+ */
+ int BOUNDARY_EVENT = 8;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BOUNDARY_EVENT__EXTENSION_VALUES = CATCH_EVENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BOUNDARY_EVENT__DOCUMENTATION = CATCH_EVENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BOUNDARY_EVENT__EXTENSION_DEFINITIONS = CATCH_EVENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BOUNDARY_EVENT__ID = CATCH_EVENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BOUNDARY_EVENT__ANY_ATTRIBUTE = CATCH_EVENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BOUNDARY_EVENT__AUDITING = CATCH_EVENT__AUDITING;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BOUNDARY_EVENT__MONITORING = CATCH_EVENT__MONITORING;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BOUNDARY_EVENT__CATEGORY_VALUE_REF = CATCH_EVENT__CATEGORY_VALUE_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BOUNDARY_EVENT__NAME = CATCH_EVENT__NAME;
+
+ /**
+ * The feature id for the '<em><b>Incoming</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BOUNDARY_EVENT__INCOMING = CATCH_EVENT__INCOMING;
+
+ /**
+ * The feature id for the '<em><b>Lanes</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BOUNDARY_EVENT__LANES = CATCH_EVENT__LANES;
+
+ /**
+ * The feature id for the '<em><b>Outgoing</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BOUNDARY_EVENT__OUTGOING = CATCH_EVENT__OUTGOING;
+
+ /**
+ * The feature id for the '<em><b>Incoming Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BOUNDARY_EVENT__INCOMING_CONVERSATION_LINKS = CATCH_EVENT__INCOMING_CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Outgoing Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BOUNDARY_EVENT__OUTGOING_CONVERSATION_LINKS = CATCH_EVENT__OUTGOING_CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Properties</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BOUNDARY_EVENT__PROPERTIES = CATCH_EVENT__PROPERTIES;
+
+ /**
+ * The feature id for the '<em><b>Data Outputs</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BOUNDARY_EVENT__DATA_OUTPUTS = CATCH_EVENT__DATA_OUTPUTS;
+
+ /**
+ * The feature id for the '<em><b>Data Output Association</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BOUNDARY_EVENT__DATA_OUTPUT_ASSOCIATION = CATCH_EVENT__DATA_OUTPUT_ASSOCIATION;
+
+ /**
+ * The feature id for the '<em><b>Output Set</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BOUNDARY_EVENT__OUTPUT_SET = CATCH_EVENT__OUTPUT_SET;
+
+ /**
+ * The feature id for the '<em><b>Event Definitions</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BOUNDARY_EVENT__EVENT_DEFINITIONS = CATCH_EVENT__EVENT_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Event Definition Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BOUNDARY_EVENT__EVENT_DEFINITION_REFS = CATCH_EVENT__EVENT_DEFINITION_REFS;
+
+ /**
+ * The feature id for the '<em><b>Parallel Multiple</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BOUNDARY_EVENT__PARALLEL_MULTIPLE = CATCH_EVENT__PARALLEL_MULTIPLE;
+
+ /**
+ * The feature id for the '<em><b>Attached To Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BOUNDARY_EVENT__ATTACHED_TO_REF = CATCH_EVENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Cancel Activity</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BOUNDARY_EVENT__CANCEL_ACTIVITY = CATCH_EVENT_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Boundary Event</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BOUNDARY_EVENT_FEATURE_COUNT = CATCH_EVENT_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.TaskImpl <em>Task</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.TaskImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getTask()
+ * @generated
+ */
+ int TASK = 131;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TASK__EXTENSION_VALUES = ACTIVITY__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TASK__DOCUMENTATION = ACTIVITY__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TASK__EXTENSION_DEFINITIONS = ACTIVITY__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TASK__ID = ACTIVITY__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TASK__ANY_ATTRIBUTE = ACTIVITY__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TASK__AUDITING = ACTIVITY__AUDITING;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TASK__MONITORING = ACTIVITY__MONITORING;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TASK__CATEGORY_VALUE_REF = ACTIVITY__CATEGORY_VALUE_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TASK__NAME = ACTIVITY__NAME;
+
+ /**
+ * The feature id for the '<em><b>Incoming</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TASK__INCOMING = ACTIVITY__INCOMING;
+
+ /**
+ * The feature id for the '<em><b>Lanes</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TASK__LANES = ACTIVITY__LANES;
+
+ /**
+ * The feature id for the '<em><b>Outgoing</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TASK__OUTGOING = ACTIVITY__OUTGOING;
+
+ /**
+ * The feature id for the '<em><b>Io Specification</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TASK__IO_SPECIFICATION = ACTIVITY__IO_SPECIFICATION;
+
+ /**
+ * The feature id for the '<em><b>Boundary Event Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TASK__BOUNDARY_EVENT_REFS = ACTIVITY__BOUNDARY_EVENT_REFS;
+
+ /**
+ * The feature id for the '<em><b>Properties</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TASK__PROPERTIES = ACTIVITY__PROPERTIES;
+
+ /**
+ * The feature id for the '<em><b>Data Input Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TASK__DATA_INPUT_ASSOCIATIONS = ACTIVITY__DATA_INPUT_ASSOCIATIONS;
+
+ /**
+ * The feature id for the '<em><b>Data Output Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TASK__DATA_OUTPUT_ASSOCIATIONS = ACTIVITY__DATA_OUTPUT_ASSOCIATIONS;
+
+ /**
+ * The feature id for the '<em><b>Resources</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TASK__RESOURCES = ACTIVITY__RESOURCES;
+
+ /**
+ * The feature id for the '<em><b>Loop Characteristics</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TASK__LOOP_CHARACTERISTICS = ACTIVITY__LOOP_CHARACTERISTICS;
+
+ /**
+ * The feature id for the '<em><b>Completion Quantity</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TASK__COMPLETION_QUANTITY = ACTIVITY__COMPLETION_QUANTITY;
+
+ /**
+ * The feature id for the '<em><b>Default</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TASK__DEFAULT = ACTIVITY__DEFAULT;
+
+ /**
+ * The feature id for the '<em><b>Is For Compensation</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TASK__IS_FOR_COMPENSATION = ACTIVITY__IS_FOR_COMPENSATION;
+
+ /**
+ * The feature id for the '<em><b>Start Quantity</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TASK__START_QUANTITY = ACTIVITY__START_QUANTITY;
+
+ /**
+ * The feature id for the '<em><b>Incoming Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TASK__INCOMING_CONVERSATION_LINKS = ACTIVITY_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Outgoing Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TASK__OUTGOING_CONVERSATION_LINKS = ACTIVITY_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Task</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TASK_FEATURE_COUNT = ACTIVITY_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.BusinessRuleTaskImpl <em>Business Rule Task</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.BusinessRuleTaskImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getBusinessRuleTask()
+ * @generated
+ */
+ int BUSINESS_RULE_TASK = 9;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BUSINESS_RULE_TASK__EXTENSION_VALUES = TASK__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BUSINESS_RULE_TASK__DOCUMENTATION = TASK__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BUSINESS_RULE_TASK__EXTENSION_DEFINITIONS = TASK__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BUSINESS_RULE_TASK__ID = TASK__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BUSINESS_RULE_TASK__ANY_ATTRIBUTE = TASK__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BUSINESS_RULE_TASK__AUDITING = TASK__AUDITING;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BUSINESS_RULE_TASK__MONITORING = TASK__MONITORING;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BUSINESS_RULE_TASK__CATEGORY_VALUE_REF = TASK__CATEGORY_VALUE_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BUSINESS_RULE_TASK__NAME = TASK__NAME;
+
+ /**
+ * The feature id for the '<em><b>Incoming</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BUSINESS_RULE_TASK__INCOMING = TASK__INCOMING;
+
+ /**
+ * The feature id for the '<em><b>Lanes</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BUSINESS_RULE_TASK__LANES = TASK__LANES;
+
+ /**
+ * The feature id for the '<em><b>Outgoing</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BUSINESS_RULE_TASK__OUTGOING = TASK__OUTGOING;
+
+ /**
+ * The feature id for the '<em><b>Io Specification</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BUSINESS_RULE_TASK__IO_SPECIFICATION = TASK__IO_SPECIFICATION;
+
+ /**
+ * The feature id for the '<em><b>Boundary Event Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BUSINESS_RULE_TASK__BOUNDARY_EVENT_REFS = TASK__BOUNDARY_EVENT_REFS;
+
+ /**
+ * The feature id for the '<em><b>Properties</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BUSINESS_RULE_TASK__PROPERTIES = TASK__PROPERTIES;
+
+ /**
+ * The feature id for the '<em><b>Data Input Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BUSINESS_RULE_TASK__DATA_INPUT_ASSOCIATIONS = TASK__DATA_INPUT_ASSOCIATIONS;
+
+ /**
+ * The feature id for the '<em><b>Data Output Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BUSINESS_RULE_TASK__DATA_OUTPUT_ASSOCIATIONS = TASK__DATA_OUTPUT_ASSOCIATIONS;
+
+ /**
+ * The feature id for the '<em><b>Resources</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BUSINESS_RULE_TASK__RESOURCES = TASK__RESOURCES;
+
+ /**
+ * The feature id for the '<em><b>Loop Characteristics</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BUSINESS_RULE_TASK__LOOP_CHARACTERISTICS = TASK__LOOP_CHARACTERISTICS;
+
+ /**
+ * The feature id for the '<em><b>Completion Quantity</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BUSINESS_RULE_TASK__COMPLETION_QUANTITY = TASK__COMPLETION_QUANTITY;
+
+ /**
+ * The feature id for the '<em><b>Default</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BUSINESS_RULE_TASK__DEFAULT = TASK__DEFAULT;
+
+ /**
+ * The feature id for the '<em><b>Is For Compensation</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BUSINESS_RULE_TASK__IS_FOR_COMPENSATION = TASK__IS_FOR_COMPENSATION;
+
+ /**
+ * The feature id for the '<em><b>Start Quantity</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BUSINESS_RULE_TASK__START_QUANTITY = TASK__START_QUANTITY;
+
+ /**
+ * The feature id for the '<em><b>Incoming Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BUSINESS_RULE_TASK__INCOMING_CONVERSATION_LINKS = TASK__INCOMING_CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Outgoing Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BUSINESS_RULE_TASK__OUTGOING_CONVERSATION_LINKS = TASK__OUTGOING_CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Implementation</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BUSINESS_RULE_TASK__IMPLEMENTATION = TASK_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Business Rule Task</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BUSINESS_RULE_TASK_FEATURE_COUNT = TASK_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.CallActivityImpl <em>Call Activity</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.CallActivityImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getCallActivity()
+ * @generated
+ */
+ int CALL_ACTIVITY = 10;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_ACTIVITY__EXTENSION_VALUES = ACTIVITY__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_ACTIVITY__DOCUMENTATION = ACTIVITY__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_ACTIVITY__EXTENSION_DEFINITIONS = ACTIVITY__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_ACTIVITY__ID = ACTIVITY__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_ACTIVITY__ANY_ATTRIBUTE = ACTIVITY__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_ACTIVITY__AUDITING = ACTIVITY__AUDITING;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_ACTIVITY__MONITORING = ACTIVITY__MONITORING;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_ACTIVITY__CATEGORY_VALUE_REF = ACTIVITY__CATEGORY_VALUE_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_ACTIVITY__NAME = ACTIVITY__NAME;
+
+ /**
+ * The feature id for the '<em><b>Incoming</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_ACTIVITY__INCOMING = ACTIVITY__INCOMING;
+
+ /**
+ * The feature id for the '<em><b>Lanes</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_ACTIVITY__LANES = ACTIVITY__LANES;
+
+ /**
+ * The feature id for the '<em><b>Outgoing</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_ACTIVITY__OUTGOING = ACTIVITY__OUTGOING;
+
+ /**
+ * The feature id for the '<em><b>Io Specification</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_ACTIVITY__IO_SPECIFICATION = ACTIVITY__IO_SPECIFICATION;
+
+ /**
+ * The feature id for the '<em><b>Boundary Event Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_ACTIVITY__BOUNDARY_EVENT_REFS = ACTIVITY__BOUNDARY_EVENT_REFS;
+
+ /**
+ * The feature id for the '<em><b>Properties</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_ACTIVITY__PROPERTIES = ACTIVITY__PROPERTIES;
+
+ /**
+ * The feature id for the '<em><b>Data Input Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_ACTIVITY__DATA_INPUT_ASSOCIATIONS = ACTIVITY__DATA_INPUT_ASSOCIATIONS;
+
+ /**
+ * The feature id for the '<em><b>Data Output Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_ACTIVITY__DATA_OUTPUT_ASSOCIATIONS = ACTIVITY__DATA_OUTPUT_ASSOCIATIONS;
+
+ /**
+ * The feature id for the '<em><b>Resources</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_ACTIVITY__RESOURCES = ACTIVITY__RESOURCES;
+
+ /**
+ * The feature id for the '<em><b>Loop Characteristics</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_ACTIVITY__LOOP_CHARACTERISTICS = ACTIVITY__LOOP_CHARACTERISTICS;
+
+ /**
+ * The feature id for the '<em><b>Completion Quantity</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_ACTIVITY__COMPLETION_QUANTITY = ACTIVITY__COMPLETION_QUANTITY;
+
+ /**
+ * The feature id for the '<em><b>Default</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_ACTIVITY__DEFAULT = ACTIVITY__DEFAULT;
+
+ /**
+ * The feature id for the '<em><b>Is For Compensation</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_ACTIVITY__IS_FOR_COMPENSATION = ACTIVITY__IS_FOR_COMPENSATION;
+
+ /**
+ * The feature id for the '<em><b>Start Quantity</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_ACTIVITY__START_QUANTITY = ACTIVITY__START_QUANTITY;
+
+ /**
+ * The feature id for the '<em><b>Called Element Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_ACTIVITY__CALLED_ELEMENT_REF = ACTIVITY_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Call Activity</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_ACTIVITY_FEATURE_COUNT = ACTIVITY_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ChoreographyActivityImpl <em>Choreography Activity</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ChoreographyActivityImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getChoreographyActivity()
+ * @generated
+ */
+ int CHOREOGRAPHY_ACTIVITY = 19;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY_ACTIVITY__EXTENSION_VALUES = FLOW_NODE__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY_ACTIVITY__DOCUMENTATION = FLOW_NODE__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY_ACTIVITY__EXTENSION_DEFINITIONS = FLOW_NODE__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY_ACTIVITY__ID = FLOW_NODE__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY_ACTIVITY__ANY_ATTRIBUTE = FLOW_NODE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY_ACTIVITY__AUDITING = FLOW_NODE__AUDITING;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY_ACTIVITY__MONITORING = FLOW_NODE__MONITORING;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY_ACTIVITY__CATEGORY_VALUE_REF = FLOW_NODE__CATEGORY_VALUE_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY_ACTIVITY__NAME = FLOW_NODE__NAME;
+
+ /**
+ * The feature id for the '<em><b>Incoming</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY_ACTIVITY__INCOMING = FLOW_NODE__INCOMING;
+
+ /**
+ * The feature id for the '<em><b>Lanes</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY_ACTIVITY__LANES = FLOW_NODE__LANES;
+
+ /**
+ * The feature id for the '<em><b>Outgoing</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY_ACTIVITY__OUTGOING = FLOW_NODE__OUTGOING;
+
+ /**
+ * The feature id for the '<em><b>Participant Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY_ACTIVITY__PARTICIPANT_REFS = FLOW_NODE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Correlation Keys</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY_ACTIVITY__CORRELATION_KEYS = FLOW_NODE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Initiating Participant Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY_ACTIVITY__INITIATING_PARTICIPANT_REF = FLOW_NODE_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Loop Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY_ACTIVITY__LOOP_TYPE = FLOW_NODE_FEATURE_COUNT + 3;
+
+ /**
+ * The number of structural features of the '<em>Choreography Activity</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY_ACTIVITY_FEATURE_COUNT = FLOW_NODE_FEATURE_COUNT + 4;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.CallChoreographyImpl <em>Call Choreography</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.CallChoreographyImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getCallChoreography()
+ * @generated
+ */
+ int CALL_CHOREOGRAPHY = 11;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_CHOREOGRAPHY__EXTENSION_VALUES = CHOREOGRAPHY_ACTIVITY__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_CHOREOGRAPHY__DOCUMENTATION = CHOREOGRAPHY_ACTIVITY__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_CHOREOGRAPHY__EXTENSION_DEFINITIONS = CHOREOGRAPHY_ACTIVITY__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_CHOREOGRAPHY__ID = CHOREOGRAPHY_ACTIVITY__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_CHOREOGRAPHY__ANY_ATTRIBUTE = CHOREOGRAPHY_ACTIVITY__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_CHOREOGRAPHY__AUDITING = CHOREOGRAPHY_ACTIVITY__AUDITING;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_CHOREOGRAPHY__MONITORING = CHOREOGRAPHY_ACTIVITY__MONITORING;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_CHOREOGRAPHY__CATEGORY_VALUE_REF = CHOREOGRAPHY_ACTIVITY__CATEGORY_VALUE_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_CHOREOGRAPHY__NAME = CHOREOGRAPHY_ACTIVITY__NAME;
+
+ /**
+ * The feature id for the '<em><b>Incoming</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_CHOREOGRAPHY__INCOMING = CHOREOGRAPHY_ACTIVITY__INCOMING;
+
+ /**
+ * The feature id for the '<em><b>Lanes</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_CHOREOGRAPHY__LANES = CHOREOGRAPHY_ACTIVITY__LANES;
+
+ /**
+ * The feature id for the '<em><b>Outgoing</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_CHOREOGRAPHY__OUTGOING = CHOREOGRAPHY_ACTIVITY__OUTGOING;
+
+ /**
+ * The feature id for the '<em><b>Participant Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_CHOREOGRAPHY__PARTICIPANT_REFS = CHOREOGRAPHY_ACTIVITY__PARTICIPANT_REFS;
+
+ /**
+ * The feature id for the '<em><b>Correlation Keys</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_CHOREOGRAPHY__CORRELATION_KEYS = CHOREOGRAPHY_ACTIVITY__CORRELATION_KEYS;
+
+ /**
+ * The feature id for the '<em><b>Initiating Participant Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_CHOREOGRAPHY__INITIATING_PARTICIPANT_REF = CHOREOGRAPHY_ACTIVITY__INITIATING_PARTICIPANT_REF;
+
+ /**
+ * The feature id for the '<em><b>Loop Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_CHOREOGRAPHY__LOOP_TYPE = CHOREOGRAPHY_ACTIVITY__LOOP_TYPE;
+
+ /**
+ * The feature id for the '<em><b>Participant Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_CHOREOGRAPHY__PARTICIPANT_ASSOCIATIONS = CHOREOGRAPHY_ACTIVITY_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Called Choreography Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_CHOREOGRAPHY__CALLED_CHOREOGRAPHY_REF = CHOREOGRAPHY_ACTIVITY_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Call Choreography</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_CHOREOGRAPHY_FEATURE_COUNT = CHOREOGRAPHY_ACTIVITY_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ConversationNodeImpl <em>Conversation Node</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ConversationNodeImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getConversationNode()
+ * @generated
+ */
+ int CONVERSATION_NODE = 29;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION_NODE__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION_NODE__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION_NODE__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION_NODE__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION_NODE__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Incoming Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION_NODE__INCOMING_CONVERSATION_LINKS = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Outgoing Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION_NODE__OUTGOING_CONVERSATION_LINKS = BASE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Participant Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION_NODE__PARTICIPANT_REFS = BASE_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Message Flow Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION_NODE__MESSAGE_FLOW_REFS = BASE_ELEMENT_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Correlation Keys</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION_NODE__CORRELATION_KEYS = BASE_ELEMENT_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION_NODE__NAME = BASE_ELEMENT_FEATURE_COUNT + 5;
+
+ /**
+ * The number of structural features of the '<em>Conversation Node</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION_NODE_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 6;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.CallConversationImpl <em>Call Conversation</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.CallConversationImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getCallConversation()
+ * @generated
+ */
+ int CALL_CONVERSATION = 12;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_CONVERSATION__EXTENSION_VALUES = CONVERSATION_NODE__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_CONVERSATION__DOCUMENTATION = CONVERSATION_NODE__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_CONVERSATION__EXTENSION_DEFINITIONS = CONVERSATION_NODE__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_CONVERSATION__ID = CONVERSATION_NODE__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_CONVERSATION__ANY_ATTRIBUTE = CONVERSATION_NODE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Incoming Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_CONVERSATION__INCOMING_CONVERSATION_LINKS = CONVERSATION_NODE__INCOMING_CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Outgoing Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_CONVERSATION__OUTGOING_CONVERSATION_LINKS = CONVERSATION_NODE__OUTGOING_CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Participant Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_CONVERSATION__PARTICIPANT_REFS = CONVERSATION_NODE__PARTICIPANT_REFS;
+
+ /**
+ * The feature id for the '<em><b>Message Flow Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_CONVERSATION__MESSAGE_FLOW_REFS = CONVERSATION_NODE__MESSAGE_FLOW_REFS;
+
+ /**
+ * The feature id for the '<em><b>Correlation Keys</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_CONVERSATION__CORRELATION_KEYS = CONVERSATION_NODE__CORRELATION_KEYS;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_CONVERSATION__NAME = CONVERSATION_NODE__NAME;
+
+ /**
+ * The feature id for the '<em><b>Participant Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_CONVERSATION__PARTICIPANT_ASSOCIATIONS = CONVERSATION_NODE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Called Collaboration Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_CONVERSATION__CALLED_COLLABORATION_REF = CONVERSATION_NODE_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Call Conversation</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALL_CONVERSATION_FEATURE_COUNT = CONVERSATION_NODE_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.RootElementImpl <em>Root Element</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.RootElementImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getRootElement()
+ * @generated
+ */
+ int ROOT_ELEMENT = 119;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ROOT_ELEMENT__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ROOT_ELEMENT__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ROOT_ELEMENT__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ROOT_ELEMENT__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ROOT_ELEMENT__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The number of structural features of the '<em>Root Element</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ROOT_ELEMENT_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.CallableElementImpl <em>Callable Element</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.CallableElementImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getCallableElement()
+ * @generated
+ */
+ int CALLABLE_ELEMENT = 13;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALLABLE_ELEMENT__EXTENSION_VALUES = ROOT_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALLABLE_ELEMENT__DOCUMENTATION = ROOT_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALLABLE_ELEMENT__EXTENSION_DEFINITIONS = ROOT_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALLABLE_ELEMENT__ID = ROOT_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALLABLE_ELEMENT__ANY_ATTRIBUTE = ROOT_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Supported Interface Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALLABLE_ELEMENT__SUPPORTED_INTERFACE_REFS = ROOT_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Io Specification</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALLABLE_ELEMENT__IO_SPECIFICATION = ROOT_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Io Binding</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALLABLE_ELEMENT__IO_BINDING = ROOT_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALLABLE_ELEMENT__NAME = ROOT_ELEMENT_FEATURE_COUNT + 3;
+
+ /**
+ * The number of structural features of the '<em>Callable Element</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALLABLE_ELEMENT_FEATURE_COUNT = ROOT_ELEMENT_FEATURE_COUNT + 4;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.EventDefinitionImpl <em>Event Definition</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.EventDefinitionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getEventDefinition()
+ * @generated
+ */
+ int EVENT_DEFINITION = 55;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT_DEFINITION__EXTENSION_VALUES = ROOT_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT_DEFINITION__DOCUMENTATION = ROOT_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT_DEFINITION__EXTENSION_DEFINITIONS = ROOT_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT_DEFINITION__ID = ROOT_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT_DEFINITION__ANY_ATTRIBUTE = ROOT_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The number of structural features of the '<em>Event Definition</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT_DEFINITION_FEATURE_COUNT = ROOT_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.CancelEventDefinitionImpl <em>Cancel Event Definition</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.CancelEventDefinitionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getCancelEventDefinition()
+ * @generated
+ */
+ int CANCEL_EVENT_DEFINITION = 14;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CANCEL_EVENT_DEFINITION__EXTENSION_VALUES = EVENT_DEFINITION__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CANCEL_EVENT_DEFINITION__DOCUMENTATION = EVENT_DEFINITION__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CANCEL_EVENT_DEFINITION__EXTENSION_DEFINITIONS = EVENT_DEFINITION__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CANCEL_EVENT_DEFINITION__ID = EVENT_DEFINITION__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CANCEL_EVENT_DEFINITION__ANY_ATTRIBUTE = EVENT_DEFINITION__ANY_ATTRIBUTE;
+
+ /**
+ * The number of structural features of the '<em>Cancel Event Definition</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CANCEL_EVENT_DEFINITION_FEATURE_COUNT = EVENT_DEFINITION_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.CategoryImpl <em>Category</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.CategoryImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getCategory()
+ * @generated
+ */
+ int CATEGORY = 16;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATEGORY__EXTENSION_VALUES = ROOT_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATEGORY__DOCUMENTATION = ROOT_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATEGORY__EXTENSION_DEFINITIONS = ROOT_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATEGORY__ID = ROOT_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATEGORY__ANY_ATTRIBUTE = ROOT_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Category Value</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATEGORY__CATEGORY_VALUE = ROOT_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATEGORY__NAME = ROOT_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Category</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATEGORY_FEATURE_COUNT = ROOT_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.CategoryValueImpl <em>Category Value</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.CategoryValueImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getCategoryValue()
+ * @generated
+ */
+ int CATEGORY_VALUE = 17;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATEGORY_VALUE__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATEGORY_VALUE__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATEGORY_VALUE__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATEGORY_VALUE__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATEGORY_VALUE__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATEGORY_VALUE__VALUE = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Categorized Flow Elements</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATEGORY_VALUE__CATEGORIZED_FLOW_ELEMENTS = BASE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Category Value</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATEGORY_VALUE_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.CollaborationImpl <em>Collaboration</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.CollaborationImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getCollaboration()
+ * @generated
+ */
+ int COLLABORATION = 21;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COLLABORATION__EXTENSION_VALUES = ROOT_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COLLABORATION__DOCUMENTATION = ROOT_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COLLABORATION__EXTENSION_DEFINITIONS = ROOT_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COLLABORATION__ID = ROOT_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COLLABORATION__ANY_ATTRIBUTE = ROOT_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Participants</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COLLABORATION__PARTICIPANTS = ROOT_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Message Flows</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COLLABORATION__MESSAGE_FLOWS = ROOT_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Artifacts</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COLLABORATION__ARTIFACTS = ROOT_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Conversations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COLLABORATION__CONVERSATIONS = ROOT_ELEMENT_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Conversation Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COLLABORATION__CONVERSATION_ASSOCIATIONS = ROOT_ELEMENT_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Participant Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COLLABORATION__PARTICIPANT_ASSOCIATIONS = ROOT_ELEMENT_FEATURE_COUNT + 5;
+
+ /**
+ * The feature id for the '<em><b>Message Flow Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COLLABORATION__MESSAGE_FLOW_ASSOCIATIONS = ROOT_ELEMENT_FEATURE_COUNT + 6;
+
+ /**
+ * The feature id for the '<em><b>Correlation Keys</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COLLABORATION__CORRELATION_KEYS = ROOT_ELEMENT_FEATURE_COUNT + 7;
+
+ /**
+ * The feature id for the '<em><b>Choreography Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COLLABORATION__CHOREOGRAPHY_REF = ROOT_ELEMENT_FEATURE_COUNT + 8;
+
+ /**
+ * The feature id for the '<em><b>Conversation Links</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COLLABORATION__CONVERSATION_LINKS = ROOT_ELEMENT_FEATURE_COUNT + 9;
+
+ /**
+ * The feature id for the '<em><b>Is Closed</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COLLABORATION__IS_CLOSED = ROOT_ELEMENT_FEATURE_COUNT + 10;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COLLABORATION__NAME = ROOT_ELEMENT_FEATURE_COUNT + 11;
+
+ /**
+ * The number of structural features of the '<em>Collaboration</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COLLABORATION_FEATURE_COUNT = ROOT_ELEMENT_FEATURE_COUNT + 12;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ChoreographyImpl <em>Choreography</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ChoreographyImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getChoreography()
+ * @generated
+ */
+ int CHOREOGRAPHY = 18;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY__EXTENSION_VALUES = COLLABORATION__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY__DOCUMENTATION = COLLABORATION__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY__EXTENSION_DEFINITIONS = COLLABORATION__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY__ID = COLLABORATION__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY__ANY_ATTRIBUTE = COLLABORATION__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Participants</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY__PARTICIPANTS = COLLABORATION__PARTICIPANTS;
+
+ /**
+ * The feature id for the '<em><b>Message Flows</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY__MESSAGE_FLOWS = COLLABORATION__MESSAGE_FLOWS;
+
+ /**
+ * The feature id for the '<em><b>Artifacts</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY__ARTIFACTS = COLLABORATION__ARTIFACTS;
+
+ /**
+ * The feature id for the '<em><b>Conversations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY__CONVERSATIONS = COLLABORATION__CONVERSATIONS;
+
+ /**
+ * The feature id for the '<em><b>Conversation Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY__CONVERSATION_ASSOCIATIONS = COLLABORATION__CONVERSATION_ASSOCIATIONS;
+
+ /**
+ * The feature id for the '<em><b>Participant Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY__PARTICIPANT_ASSOCIATIONS = COLLABORATION__PARTICIPANT_ASSOCIATIONS;
+
+ /**
+ * The feature id for the '<em><b>Message Flow Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY__MESSAGE_FLOW_ASSOCIATIONS = COLLABORATION__MESSAGE_FLOW_ASSOCIATIONS;
+
+ /**
+ * The feature id for the '<em><b>Correlation Keys</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY__CORRELATION_KEYS = COLLABORATION__CORRELATION_KEYS;
+
+ /**
+ * The feature id for the '<em><b>Choreography Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY__CHOREOGRAPHY_REF = COLLABORATION__CHOREOGRAPHY_REF;
+
+ /**
+ * The feature id for the '<em><b>Conversation Links</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY__CONVERSATION_LINKS = COLLABORATION__CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Is Closed</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY__IS_CLOSED = COLLABORATION__IS_CLOSED;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY__NAME = COLLABORATION__NAME;
+
+ /**
+ * The feature id for the '<em><b>Lane Sets</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY__LANE_SETS = COLLABORATION_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Flow Elements</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY__FLOW_ELEMENTS = COLLABORATION_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Choreography</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY_FEATURE_COUNT = COLLABORATION_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ChoreographyTaskImpl <em>Choreography Task</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ChoreographyTaskImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getChoreographyTask()
+ * @generated
+ */
+ int CHOREOGRAPHY_TASK = 20;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY_TASK__EXTENSION_VALUES = CHOREOGRAPHY_ACTIVITY__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY_TASK__DOCUMENTATION = CHOREOGRAPHY_ACTIVITY__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY_TASK__EXTENSION_DEFINITIONS = CHOREOGRAPHY_ACTIVITY__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY_TASK__ID = CHOREOGRAPHY_ACTIVITY__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY_TASK__ANY_ATTRIBUTE = CHOREOGRAPHY_ACTIVITY__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY_TASK__AUDITING = CHOREOGRAPHY_ACTIVITY__AUDITING;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY_TASK__MONITORING = CHOREOGRAPHY_ACTIVITY__MONITORING;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY_TASK__CATEGORY_VALUE_REF = CHOREOGRAPHY_ACTIVITY__CATEGORY_VALUE_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY_TASK__NAME = CHOREOGRAPHY_ACTIVITY__NAME;
+
+ /**
+ * The feature id for the '<em><b>Incoming</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY_TASK__INCOMING = CHOREOGRAPHY_ACTIVITY__INCOMING;
+
+ /**
+ * The feature id for the '<em><b>Lanes</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY_TASK__LANES = CHOREOGRAPHY_ACTIVITY__LANES;
+
+ /**
+ * The feature id for the '<em><b>Outgoing</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY_TASK__OUTGOING = CHOREOGRAPHY_ACTIVITY__OUTGOING;
+
+ /**
+ * The feature id for the '<em><b>Participant Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY_TASK__PARTICIPANT_REFS = CHOREOGRAPHY_ACTIVITY__PARTICIPANT_REFS;
+
+ /**
+ * The feature id for the '<em><b>Correlation Keys</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY_TASK__CORRELATION_KEYS = CHOREOGRAPHY_ACTIVITY__CORRELATION_KEYS;
+
+ /**
+ * The feature id for the '<em><b>Initiating Participant Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY_TASK__INITIATING_PARTICIPANT_REF = CHOREOGRAPHY_ACTIVITY__INITIATING_PARTICIPANT_REF;
+
+ /**
+ * The feature id for the '<em><b>Loop Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY_TASK__LOOP_TYPE = CHOREOGRAPHY_ACTIVITY__LOOP_TYPE;
+
+ /**
+ * The feature id for the '<em><b>Message Flow Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY_TASK__MESSAGE_FLOW_REF = CHOREOGRAPHY_ACTIVITY_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Choreography Task</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHOREOGRAPHY_TASK_FEATURE_COUNT = CHOREOGRAPHY_ACTIVITY_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.CompensateEventDefinitionImpl <em>Compensate Event Definition</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.CompensateEventDefinitionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getCompensateEventDefinition()
+ * @generated
+ */
+ int COMPENSATE_EVENT_DEFINITION = 22;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPENSATE_EVENT_DEFINITION__EXTENSION_VALUES = EVENT_DEFINITION__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPENSATE_EVENT_DEFINITION__DOCUMENTATION = EVENT_DEFINITION__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPENSATE_EVENT_DEFINITION__EXTENSION_DEFINITIONS = EVENT_DEFINITION__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPENSATE_EVENT_DEFINITION__ID = EVENT_DEFINITION__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPENSATE_EVENT_DEFINITION__ANY_ATTRIBUTE = EVENT_DEFINITION__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Activity Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPENSATE_EVENT_DEFINITION__ACTIVITY_REF = EVENT_DEFINITION_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Wait For Completion</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPENSATE_EVENT_DEFINITION__WAIT_FOR_COMPLETION = EVENT_DEFINITION_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Compensate Event Definition</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPENSATE_EVENT_DEFINITION_FEATURE_COUNT = EVENT_DEFINITION_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ComplexBehaviorDefinitionImpl <em>Complex Behavior Definition</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ComplexBehaviorDefinitionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getComplexBehaviorDefinition()
+ * @generated
+ */
+ int COMPLEX_BEHAVIOR_DEFINITION = 23;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPLEX_BEHAVIOR_DEFINITION__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPLEX_BEHAVIOR_DEFINITION__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPLEX_BEHAVIOR_DEFINITION__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPLEX_BEHAVIOR_DEFINITION__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPLEX_BEHAVIOR_DEFINITION__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Condition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPLEX_BEHAVIOR_DEFINITION__CONDITION = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Event</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPLEX_BEHAVIOR_DEFINITION__EVENT = BASE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Complex Behavior Definition</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPLEX_BEHAVIOR_DEFINITION_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.GatewayImpl <em>Gateway</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.GatewayImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getGateway()
+ * @generated
+ */
+ int GATEWAY = 66;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GATEWAY__EXTENSION_VALUES = FLOW_NODE__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GATEWAY__DOCUMENTATION = FLOW_NODE__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GATEWAY__EXTENSION_DEFINITIONS = FLOW_NODE__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GATEWAY__ID = FLOW_NODE__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GATEWAY__ANY_ATTRIBUTE = FLOW_NODE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GATEWAY__AUDITING = FLOW_NODE__AUDITING;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GATEWAY__MONITORING = FLOW_NODE__MONITORING;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GATEWAY__CATEGORY_VALUE_REF = FLOW_NODE__CATEGORY_VALUE_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GATEWAY__NAME = FLOW_NODE__NAME;
+
+ /**
+ * The feature id for the '<em><b>Incoming</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GATEWAY__INCOMING = FLOW_NODE__INCOMING;
+
+ /**
+ * The feature id for the '<em><b>Lanes</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GATEWAY__LANES = FLOW_NODE__LANES;
+
+ /**
+ * The feature id for the '<em><b>Outgoing</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GATEWAY__OUTGOING = FLOW_NODE__OUTGOING;
+
+ /**
+ * The feature id for the '<em><b>Gateway Direction</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GATEWAY__GATEWAY_DIRECTION = FLOW_NODE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Gateway</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GATEWAY_FEATURE_COUNT = FLOW_NODE_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ComplexGatewayImpl <em>Complex Gateway</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ComplexGatewayImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getComplexGateway()
+ * @generated
+ */
+ int COMPLEX_GATEWAY = 24;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPLEX_GATEWAY__EXTENSION_VALUES = GATEWAY__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPLEX_GATEWAY__DOCUMENTATION = GATEWAY__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPLEX_GATEWAY__EXTENSION_DEFINITIONS = GATEWAY__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPLEX_GATEWAY__ID = GATEWAY__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPLEX_GATEWAY__ANY_ATTRIBUTE = GATEWAY__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPLEX_GATEWAY__AUDITING = GATEWAY__AUDITING;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPLEX_GATEWAY__MONITORING = GATEWAY__MONITORING;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPLEX_GATEWAY__CATEGORY_VALUE_REF = GATEWAY__CATEGORY_VALUE_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPLEX_GATEWAY__NAME = GATEWAY__NAME;
+
+ /**
+ * The feature id for the '<em><b>Incoming</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPLEX_GATEWAY__INCOMING = GATEWAY__INCOMING;
+
+ /**
+ * The feature id for the '<em><b>Lanes</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPLEX_GATEWAY__LANES = GATEWAY__LANES;
+
+ /**
+ * The feature id for the '<em><b>Outgoing</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPLEX_GATEWAY__OUTGOING = GATEWAY__OUTGOING;
+
+ /**
+ * The feature id for the '<em><b>Gateway Direction</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPLEX_GATEWAY__GATEWAY_DIRECTION = GATEWAY__GATEWAY_DIRECTION;
+
+ /**
+ * The feature id for the '<em><b>Activation Condition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPLEX_GATEWAY__ACTIVATION_CONDITION = GATEWAY_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Default</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPLEX_GATEWAY__DEFAULT = GATEWAY_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Complex Gateway</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPLEX_GATEWAY_FEATURE_COUNT = GATEWAY_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ConditionalEventDefinitionImpl <em>Conditional Event Definition</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ConditionalEventDefinitionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getConditionalEventDefinition()
+ * @generated
+ */
+ int CONDITIONAL_EVENT_DEFINITION = 25;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONDITIONAL_EVENT_DEFINITION__EXTENSION_VALUES = EVENT_DEFINITION__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONDITIONAL_EVENT_DEFINITION__DOCUMENTATION = EVENT_DEFINITION__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONDITIONAL_EVENT_DEFINITION__EXTENSION_DEFINITIONS = EVENT_DEFINITION__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONDITIONAL_EVENT_DEFINITION__ID = EVENT_DEFINITION__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONDITIONAL_EVENT_DEFINITION__ANY_ATTRIBUTE = EVENT_DEFINITION__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Condition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONDITIONAL_EVENT_DEFINITION__CONDITION = EVENT_DEFINITION_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Conditional Event Definition</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONDITIONAL_EVENT_DEFINITION_FEATURE_COUNT = EVENT_DEFINITION_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ConversationImpl <em>Conversation</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ConversationImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getConversation()
+ * @generated
+ */
+ int CONVERSATION = 26;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION__EXTENSION_VALUES = CONVERSATION_NODE__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION__DOCUMENTATION = CONVERSATION_NODE__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION__EXTENSION_DEFINITIONS = CONVERSATION_NODE__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION__ID = CONVERSATION_NODE__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION__ANY_ATTRIBUTE = CONVERSATION_NODE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Incoming Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION__INCOMING_CONVERSATION_LINKS = CONVERSATION_NODE__INCOMING_CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Outgoing Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION__OUTGOING_CONVERSATION_LINKS = CONVERSATION_NODE__OUTGOING_CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Participant Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION__PARTICIPANT_REFS = CONVERSATION_NODE__PARTICIPANT_REFS;
+
+ /**
+ * The feature id for the '<em><b>Message Flow Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION__MESSAGE_FLOW_REFS = CONVERSATION_NODE__MESSAGE_FLOW_REFS;
+
+ /**
+ * The feature id for the '<em><b>Correlation Keys</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION__CORRELATION_KEYS = CONVERSATION_NODE__CORRELATION_KEYS;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION__NAME = CONVERSATION_NODE__NAME;
+
+ /**
+ * The number of structural features of the '<em>Conversation</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION_FEATURE_COUNT = CONVERSATION_NODE_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ConversationAssociationImpl <em>Conversation Association</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ConversationAssociationImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getConversationAssociation()
+ * @generated
+ */
+ int CONVERSATION_ASSOCIATION = 27;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION_ASSOCIATION__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION_ASSOCIATION__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION_ASSOCIATION__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION_ASSOCIATION__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION_ASSOCIATION__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Inner Conversation Node Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION_ASSOCIATION__INNER_CONVERSATION_NODE_REF = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Outer Conversation Node Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION_ASSOCIATION__OUTER_CONVERSATION_NODE_REF = BASE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Conversation Association</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION_ASSOCIATION_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ConversationLinkImpl <em>Conversation Link</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ConversationLinkImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getConversationLink()
+ * @generated
+ */
+ int CONVERSATION_LINK = 28;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION_LINK__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION_LINK__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION_LINK__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION_LINK__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION_LINK__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION_LINK__NAME = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Source Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION_LINK__SOURCE_REF = BASE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Target Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION_LINK__TARGET_REF = BASE_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>Conversation Link</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONVERSATION_LINK_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.CorrelationKeyImpl <em>Correlation Key</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.CorrelationKeyImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getCorrelationKey()
+ * @generated
+ */
+ int CORRELATION_KEY = 30;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_KEY__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_KEY__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_KEY__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_KEY__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_KEY__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Correlation Property Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_KEY__CORRELATION_PROPERTY_REF = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_KEY__NAME = BASE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Correlation Key</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_KEY_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.CorrelationPropertyImpl <em>Correlation Property</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.CorrelationPropertyImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getCorrelationProperty()
+ * @generated
+ */
+ int CORRELATION_PROPERTY = 31;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_PROPERTY__EXTENSION_VALUES = ROOT_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_PROPERTY__DOCUMENTATION = ROOT_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_PROPERTY__EXTENSION_DEFINITIONS = ROOT_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_PROPERTY__ID = ROOT_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_PROPERTY__ANY_ATTRIBUTE = ROOT_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Correlation Property Retrieval Expression</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_PROPERTY__CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION = ROOT_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_PROPERTY__NAME = ROOT_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Type</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_PROPERTY__TYPE = ROOT_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>Correlation Property</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_PROPERTY_FEATURE_COUNT = ROOT_ELEMENT_FEATURE_COUNT + 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.CorrelationPropertyBindingImpl <em>Correlation Property Binding</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.CorrelationPropertyBindingImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getCorrelationPropertyBinding()
+ * @generated
+ */
+ int CORRELATION_PROPERTY_BINDING = 32;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_PROPERTY_BINDING__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_PROPERTY_BINDING__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_PROPERTY_BINDING__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_PROPERTY_BINDING__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_PROPERTY_BINDING__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Data Path</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_PROPERTY_BINDING__DATA_PATH = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Correlation Property Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_PROPERTY_BINDING__CORRELATION_PROPERTY_REF = BASE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Correlation Property Binding</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_PROPERTY_BINDING_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.CorrelationPropertyRetrievalExpressionImpl <em>Correlation Property Retrieval Expression</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.CorrelationPropertyRetrievalExpressionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getCorrelationPropertyRetrievalExpression()
+ * @generated
+ */
+ int CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION = 33;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Message Path</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION__MESSAGE_PATH = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Message Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION__MESSAGE_REF = BASE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Correlation Property Retrieval Expression</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.CorrelationSubscriptionImpl <em>Correlation Subscription</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.CorrelationSubscriptionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getCorrelationSubscription()
+ * @generated
+ */
+ int CORRELATION_SUBSCRIPTION = 34;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_SUBSCRIPTION__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_SUBSCRIPTION__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_SUBSCRIPTION__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_SUBSCRIPTION__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_SUBSCRIPTION__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Correlation Property Binding</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_SUBSCRIPTION__CORRELATION_PROPERTY_BINDING = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Correlation Key Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_SUBSCRIPTION__CORRELATION_KEY_REF = BASE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Correlation Subscription</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CORRELATION_SUBSCRIPTION_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.DataAssociationImpl <em>Data Association</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.DataAssociationImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getDataAssociation()
+ * @generated
+ */
+ int DATA_ASSOCIATION = 35;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_ASSOCIATION__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_ASSOCIATION__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_ASSOCIATION__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_ASSOCIATION__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_ASSOCIATION__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Source Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_ASSOCIATION__SOURCE_REF = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Target Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_ASSOCIATION__TARGET_REF = BASE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Transformation</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_ASSOCIATION__TRANSFORMATION = BASE_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Assignment</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_ASSOCIATION__ASSIGNMENT = BASE_ELEMENT_FEATURE_COUNT + 3;
+
+ /**
+ * The number of structural features of the '<em>Data Association</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_ASSOCIATION_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 4;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ItemAwareElementImpl <em>Item Aware Element</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ItemAwareElementImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getItemAwareElement()
+ * @generated
+ */
+ int ITEM_AWARE_ELEMENT = 86;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ITEM_AWARE_ELEMENT__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ITEM_AWARE_ELEMENT__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ITEM_AWARE_ELEMENT__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ITEM_AWARE_ELEMENT__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ITEM_AWARE_ELEMENT__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Data State</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ITEM_AWARE_ELEMENT__DATA_STATE = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Item Subject Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ITEM_AWARE_ELEMENT__ITEM_SUBJECT_REF = BASE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Item Aware Element</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ITEM_AWARE_ELEMENT_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.DataInputImpl <em>Data Input</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.DataInputImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getDataInput()
+ * @generated
+ */
+ int DATA_INPUT = 36;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_INPUT__EXTENSION_VALUES = ITEM_AWARE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_INPUT__DOCUMENTATION = ITEM_AWARE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_INPUT__EXTENSION_DEFINITIONS = ITEM_AWARE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_INPUT__ID = ITEM_AWARE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_INPUT__ANY_ATTRIBUTE = ITEM_AWARE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Data State</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_INPUT__DATA_STATE = ITEM_AWARE_ELEMENT__DATA_STATE;
+
+ /**
+ * The feature id for the '<em><b>Item Subject Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_INPUT__ITEM_SUBJECT_REF = ITEM_AWARE_ELEMENT__ITEM_SUBJECT_REF;
+
+ /**
+ * The feature id for the '<em><b>Input Set With Optional</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_INPUT__INPUT_SET_WITH_OPTIONAL = ITEM_AWARE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Input Set With While Executing</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_INPUT__INPUT_SET_WITH_WHILE_EXECUTING = ITEM_AWARE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Input Set Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_INPUT__INPUT_SET_REFS = ITEM_AWARE_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Is Collection</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_INPUT__IS_COLLECTION = ITEM_AWARE_ELEMENT_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_INPUT__NAME = ITEM_AWARE_ELEMENT_FEATURE_COUNT + 4;
+
+ /**
+ * The number of structural features of the '<em>Data Input</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_INPUT_FEATURE_COUNT = ITEM_AWARE_ELEMENT_FEATURE_COUNT + 5;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.DataInputAssociationImpl <em>Data Input Association</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.DataInputAssociationImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getDataInputAssociation()
+ * @generated
+ */
+ int DATA_INPUT_ASSOCIATION = 37;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_INPUT_ASSOCIATION__EXTENSION_VALUES = DATA_ASSOCIATION__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_INPUT_ASSOCIATION__DOCUMENTATION = DATA_ASSOCIATION__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_INPUT_ASSOCIATION__EXTENSION_DEFINITIONS = DATA_ASSOCIATION__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_INPUT_ASSOCIATION__ID = DATA_ASSOCIATION__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_INPUT_ASSOCIATION__ANY_ATTRIBUTE = DATA_ASSOCIATION__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Source Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_INPUT_ASSOCIATION__SOURCE_REF = DATA_ASSOCIATION__SOURCE_REF;
+
+ /**
+ * The feature id for the '<em><b>Target Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_INPUT_ASSOCIATION__TARGET_REF = DATA_ASSOCIATION__TARGET_REF;
+
+ /**
+ * The feature id for the '<em><b>Transformation</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_INPUT_ASSOCIATION__TRANSFORMATION = DATA_ASSOCIATION__TRANSFORMATION;
+
+ /**
+ * The feature id for the '<em><b>Assignment</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_INPUT_ASSOCIATION__ASSIGNMENT = DATA_ASSOCIATION__ASSIGNMENT;
+
+ /**
+ * The number of structural features of the '<em>Data Input Association</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_INPUT_ASSOCIATION_FEATURE_COUNT = DATA_ASSOCIATION_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.DataObjectImpl <em>Data Object</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.DataObjectImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getDataObject()
+ * @generated
+ */
+ int DATA_OBJECT = 38;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OBJECT__EXTENSION_VALUES = FLOW_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OBJECT__DOCUMENTATION = FLOW_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OBJECT__EXTENSION_DEFINITIONS = FLOW_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OBJECT__ID = FLOW_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OBJECT__ANY_ATTRIBUTE = FLOW_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OBJECT__AUDITING = FLOW_ELEMENT__AUDITING;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OBJECT__MONITORING = FLOW_ELEMENT__MONITORING;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OBJECT__CATEGORY_VALUE_REF = FLOW_ELEMENT__CATEGORY_VALUE_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OBJECT__NAME = FLOW_ELEMENT__NAME;
+
+ /**
+ * The feature id for the '<em><b>Data State</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OBJECT__DATA_STATE = FLOW_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Item Subject Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OBJECT__ITEM_SUBJECT_REF = FLOW_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Is Collection</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OBJECT__IS_COLLECTION = FLOW_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>Data Object</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OBJECT_FEATURE_COUNT = FLOW_ELEMENT_FEATURE_COUNT + 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.DataObjectReferenceImpl <em>Data Object Reference</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.DataObjectReferenceImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getDataObjectReference()
+ * @generated
+ */
+ int DATA_OBJECT_REFERENCE = 39;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OBJECT_REFERENCE__EXTENSION_VALUES = FLOW_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OBJECT_REFERENCE__DOCUMENTATION = FLOW_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OBJECT_REFERENCE__EXTENSION_DEFINITIONS = FLOW_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OBJECT_REFERENCE__ID = FLOW_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OBJECT_REFERENCE__ANY_ATTRIBUTE = FLOW_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OBJECT_REFERENCE__AUDITING = FLOW_ELEMENT__AUDITING;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OBJECT_REFERENCE__MONITORING = FLOW_ELEMENT__MONITORING;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OBJECT_REFERENCE__CATEGORY_VALUE_REF = FLOW_ELEMENT__CATEGORY_VALUE_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OBJECT_REFERENCE__NAME = FLOW_ELEMENT__NAME;
+
+ /**
+ * The feature id for the '<em><b>Data State</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OBJECT_REFERENCE__DATA_STATE = FLOW_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Item Subject Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OBJECT_REFERENCE__ITEM_SUBJECT_REF = FLOW_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Data Object Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OBJECT_REFERENCE__DATA_OBJECT_REF = FLOW_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>Data Object Reference</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OBJECT_REFERENCE_FEATURE_COUNT = FLOW_ELEMENT_FEATURE_COUNT + 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.DataOutputImpl <em>Data Output</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.DataOutputImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getDataOutput()
+ * @generated
+ */
+ int DATA_OUTPUT = 40;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OUTPUT__EXTENSION_VALUES = ITEM_AWARE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OUTPUT__DOCUMENTATION = ITEM_AWARE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OUTPUT__EXTENSION_DEFINITIONS = ITEM_AWARE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OUTPUT__ID = ITEM_AWARE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OUTPUT__ANY_ATTRIBUTE = ITEM_AWARE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Data State</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OUTPUT__DATA_STATE = ITEM_AWARE_ELEMENT__DATA_STATE;
+
+ /**
+ * The feature id for the '<em><b>Item Subject Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OUTPUT__ITEM_SUBJECT_REF = ITEM_AWARE_ELEMENT__ITEM_SUBJECT_REF;
+
+ /**
+ * The feature id for the '<em><b>Output Set With Optional</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OUTPUT__OUTPUT_SET_WITH_OPTIONAL = ITEM_AWARE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Output Set With While Executing</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OUTPUT__OUTPUT_SET_WITH_WHILE_EXECUTING = ITEM_AWARE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Output Set Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OUTPUT__OUTPUT_SET_REFS = ITEM_AWARE_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Is Collection</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OUTPUT__IS_COLLECTION = ITEM_AWARE_ELEMENT_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OUTPUT__NAME = ITEM_AWARE_ELEMENT_FEATURE_COUNT + 4;
+
+ /**
+ * The number of structural features of the '<em>Data Output</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OUTPUT_FEATURE_COUNT = ITEM_AWARE_ELEMENT_FEATURE_COUNT + 5;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.DataOutputAssociationImpl <em>Data Output Association</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.DataOutputAssociationImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getDataOutputAssociation()
+ * @generated
+ */
+ int DATA_OUTPUT_ASSOCIATION = 41;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OUTPUT_ASSOCIATION__EXTENSION_VALUES = DATA_ASSOCIATION__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OUTPUT_ASSOCIATION__DOCUMENTATION = DATA_ASSOCIATION__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OUTPUT_ASSOCIATION__EXTENSION_DEFINITIONS = DATA_ASSOCIATION__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OUTPUT_ASSOCIATION__ID = DATA_ASSOCIATION__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OUTPUT_ASSOCIATION__ANY_ATTRIBUTE = DATA_ASSOCIATION__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Source Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OUTPUT_ASSOCIATION__SOURCE_REF = DATA_ASSOCIATION__SOURCE_REF;
+
+ /**
+ * The feature id for the '<em><b>Target Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OUTPUT_ASSOCIATION__TARGET_REF = DATA_ASSOCIATION__TARGET_REF;
+
+ /**
+ * The feature id for the '<em><b>Transformation</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OUTPUT_ASSOCIATION__TRANSFORMATION = DATA_ASSOCIATION__TRANSFORMATION;
+
+ /**
+ * The feature id for the '<em><b>Assignment</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OUTPUT_ASSOCIATION__ASSIGNMENT = DATA_ASSOCIATION__ASSIGNMENT;
+
+ /**
+ * The number of structural features of the '<em>Data Output Association</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_OUTPUT_ASSOCIATION_FEATURE_COUNT = DATA_ASSOCIATION_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.DataStateImpl <em>Data State</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.DataStateImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getDataState()
+ * @generated
+ */
+ int DATA_STATE = 42;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_STATE__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_STATE__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_STATE__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_STATE__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_STATE__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_STATE__NAME = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Data State</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_STATE_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.DataStoreImpl <em>Data Store</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.DataStoreImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getDataStore()
+ * @generated
+ */
+ int DATA_STORE = 43;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_STORE__EXTENSION_VALUES = ITEM_AWARE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_STORE__DOCUMENTATION = ITEM_AWARE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_STORE__EXTENSION_DEFINITIONS = ITEM_AWARE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_STORE__ID = ITEM_AWARE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_STORE__ANY_ATTRIBUTE = ITEM_AWARE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Data State</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_STORE__DATA_STATE = ITEM_AWARE_ELEMENT__DATA_STATE;
+
+ /**
+ * The feature id for the '<em><b>Item Subject Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_STORE__ITEM_SUBJECT_REF = ITEM_AWARE_ELEMENT__ITEM_SUBJECT_REF;
+
+ /**
+ * The feature id for the '<em><b>Capacity</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_STORE__CAPACITY = ITEM_AWARE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Is Unlimited</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_STORE__IS_UNLIMITED = ITEM_AWARE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_STORE__NAME = ITEM_AWARE_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>Data Store</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_STORE_FEATURE_COUNT = ITEM_AWARE_ELEMENT_FEATURE_COUNT + 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.DataStoreReferenceImpl <em>Data Store Reference</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.DataStoreReferenceImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getDataStoreReference()
+ * @generated
+ */
+ int DATA_STORE_REFERENCE = 44;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_STORE_REFERENCE__EXTENSION_VALUES = FLOW_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_STORE_REFERENCE__DOCUMENTATION = FLOW_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_STORE_REFERENCE__EXTENSION_DEFINITIONS = FLOW_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_STORE_REFERENCE__ID = FLOW_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_STORE_REFERENCE__ANY_ATTRIBUTE = FLOW_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_STORE_REFERENCE__AUDITING = FLOW_ELEMENT__AUDITING;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_STORE_REFERENCE__MONITORING = FLOW_ELEMENT__MONITORING;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_STORE_REFERENCE__CATEGORY_VALUE_REF = FLOW_ELEMENT__CATEGORY_VALUE_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_STORE_REFERENCE__NAME = FLOW_ELEMENT__NAME;
+
+ /**
+ * The feature id for the '<em><b>Data State</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_STORE_REFERENCE__DATA_STATE = FLOW_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Item Subject Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_STORE_REFERENCE__ITEM_SUBJECT_REF = FLOW_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Data Store Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_STORE_REFERENCE__DATA_STORE_REF = FLOW_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>Data Store Reference</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_STORE_REFERENCE_FEATURE_COUNT = FLOW_ELEMENT_FEATURE_COUNT + 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.DefinitionsImpl <em>Definitions</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.DefinitionsImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getDefinitions()
+ * @generated
+ */
+ int DEFINITIONS = 45;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DEFINITIONS__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DEFINITIONS__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DEFINITIONS__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DEFINITIONS__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DEFINITIONS__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Imports</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DEFINITIONS__IMPORTS = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Extensions</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DEFINITIONS__EXTENSIONS = BASE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Root Elements</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DEFINITIONS__ROOT_ELEMENTS = BASE_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Diagrams</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DEFINITIONS__DIAGRAMS = BASE_ELEMENT_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Relationships</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DEFINITIONS__RELATIONSHIPS = BASE_ELEMENT_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Exporter</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DEFINITIONS__EXPORTER = BASE_ELEMENT_FEATURE_COUNT + 5;
+
+ /**
+ * The feature id for the '<em><b>Exporter Version</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DEFINITIONS__EXPORTER_VERSION = BASE_ELEMENT_FEATURE_COUNT + 6;
+
+ /**
+ * The feature id for the '<em><b>Expression Language</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DEFINITIONS__EXPRESSION_LANGUAGE = BASE_ELEMENT_FEATURE_COUNT + 7;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DEFINITIONS__NAME = BASE_ELEMENT_FEATURE_COUNT + 8;
+
+ /**
+ * The feature id for the '<em><b>Target Namespace</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DEFINITIONS__TARGET_NAMESPACE = BASE_ELEMENT_FEATURE_COUNT + 9;
+
+ /**
+ * The feature id for the '<em><b>Type Language</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DEFINITIONS__TYPE_LANGUAGE = BASE_ELEMENT_FEATURE_COUNT + 10;
+
+ /**
+ * The number of structural features of the '<em>Definitions</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DEFINITIONS_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 11;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.DocumentationImpl <em>Documentation</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.DocumentationImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getDocumentation()
+ * @generated
+ */
+ int DOCUMENTATION = 46;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENTATION__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENTATION__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENTATION__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENTATION__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENTATION__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENTATION__MIXED = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Text</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENTATION__TEXT = BASE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Text Format</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENTATION__TEXT_FORMAT = BASE_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>Documentation</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENTATION_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ThrowEventImpl <em>Throw Event</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ThrowEventImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getThrowEvent()
+ * @generated
+ */
+ int THROW_EVENT = 134;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int THROW_EVENT__EXTENSION_VALUES = EVENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int THROW_EVENT__DOCUMENTATION = EVENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int THROW_EVENT__EXTENSION_DEFINITIONS = EVENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int THROW_EVENT__ID = EVENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int THROW_EVENT__ANY_ATTRIBUTE = EVENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int THROW_EVENT__AUDITING = EVENT__AUDITING;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int THROW_EVENT__MONITORING = EVENT__MONITORING;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int THROW_EVENT__CATEGORY_VALUE_REF = EVENT__CATEGORY_VALUE_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int THROW_EVENT__NAME = EVENT__NAME;
+
+ /**
+ * The feature id for the '<em><b>Incoming</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int THROW_EVENT__INCOMING = EVENT__INCOMING;
+
+ /**
+ * The feature id for the '<em><b>Lanes</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int THROW_EVENT__LANES = EVENT__LANES;
+
+ /**
+ * The feature id for the '<em><b>Outgoing</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int THROW_EVENT__OUTGOING = EVENT__OUTGOING;
+
+ /**
+ * The feature id for the '<em><b>Incoming Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int THROW_EVENT__INCOMING_CONVERSATION_LINKS = EVENT__INCOMING_CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Outgoing Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int THROW_EVENT__OUTGOING_CONVERSATION_LINKS = EVENT__OUTGOING_CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Properties</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int THROW_EVENT__PROPERTIES = EVENT__PROPERTIES;
+
+ /**
+ * The feature id for the '<em><b>Data Inputs</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int THROW_EVENT__DATA_INPUTS = EVENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Data Input Association</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int THROW_EVENT__DATA_INPUT_ASSOCIATION = EVENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Input Set</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int THROW_EVENT__INPUT_SET = EVENT_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Event Definitions</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int THROW_EVENT__EVENT_DEFINITIONS = EVENT_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Event Definition Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int THROW_EVENT__EVENT_DEFINITION_REFS = EVENT_FEATURE_COUNT + 4;
+
+ /**
+ * The number of structural features of the '<em>Throw Event</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int THROW_EVENT_FEATURE_COUNT = EVENT_FEATURE_COUNT + 5;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.EndEventImpl <em>End Event</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.EndEventImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getEndEvent()
+ * @generated
+ */
+ int END_EVENT = 47;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int END_EVENT__EXTENSION_VALUES = THROW_EVENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int END_EVENT__DOCUMENTATION = THROW_EVENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int END_EVENT__EXTENSION_DEFINITIONS = THROW_EVENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int END_EVENT__ID = THROW_EVENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int END_EVENT__ANY_ATTRIBUTE = THROW_EVENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int END_EVENT__AUDITING = THROW_EVENT__AUDITING;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int END_EVENT__MONITORING = THROW_EVENT__MONITORING;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int END_EVENT__CATEGORY_VALUE_REF = THROW_EVENT__CATEGORY_VALUE_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int END_EVENT__NAME = THROW_EVENT__NAME;
+
+ /**
+ * The feature id for the '<em><b>Incoming</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int END_EVENT__INCOMING = THROW_EVENT__INCOMING;
+
+ /**
+ * The feature id for the '<em><b>Lanes</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int END_EVENT__LANES = THROW_EVENT__LANES;
+
+ /**
+ * The feature id for the '<em><b>Outgoing</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int END_EVENT__OUTGOING = THROW_EVENT__OUTGOING;
+
+ /**
+ * The feature id for the '<em><b>Incoming Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int END_EVENT__INCOMING_CONVERSATION_LINKS = THROW_EVENT__INCOMING_CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Outgoing Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int END_EVENT__OUTGOING_CONVERSATION_LINKS = THROW_EVENT__OUTGOING_CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Properties</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int END_EVENT__PROPERTIES = THROW_EVENT__PROPERTIES;
+
+ /**
+ * The feature id for the '<em><b>Data Inputs</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int END_EVENT__DATA_INPUTS = THROW_EVENT__DATA_INPUTS;
+
+ /**
+ * The feature id for the '<em><b>Data Input Association</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int END_EVENT__DATA_INPUT_ASSOCIATION = THROW_EVENT__DATA_INPUT_ASSOCIATION;
+
+ /**
+ * The feature id for the '<em><b>Input Set</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int END_EVENT__INPUT_SET = THROW_EVENT__INPUT_SET;
+
+ /**
+ * The feature id for the '<em><b>Event Definitions</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int END_EVENT__EVENT_DEFINITIONS = THROW_EVENT__EVENT_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Event Definition Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int END_EVENT__EVENT_DEFINITION_REFS = THROW_EVENT__EVENT_DEFINITION_REFS;
+
+ /**
+ * The number of structural features of the '<em>End Event</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int END_EVENT_FEATURE_COUNT = THROW_EVENT_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.EndPointImpl <em>End Point</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.EndPointImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getEndPoint()
+ * @generated
+ */
+ int END_POINT = 48;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int END_POINT__EXTENSION_VALUES = ROOT_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int END_POINT__DOCUMENTATION = ROOT_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int END_POINT__EXTENSION_DEFINITIONS = ROOT_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int END_POINT__ID = ROOT_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int END_POINT__ANY_ATTRIBUTE = ROOT_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The number of structural features of the '<em>End Point</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int END_POINT_FEATURE_COUNT = ROOT_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ErrorImpl <em>Error</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ErrorImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getError()
+ * @generated
+ */
+ int ERROR = 49;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ERROR__EXTENSION_VALUES = ROOT_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ERROR__DOCUMENTATION = ROOT_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ERROR__EXTENSION_DEFINITIONS = ROOT_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ERROR__ID = ROOT_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ERROR__ANY_ATTRIBUTE = ROOT_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Error Code</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ERROR__ERROR_CODE = ROOT_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ERROR__NAME = ROOT_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Structure Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ERROR__STRUCTURE_REF = ROOT_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>Error</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ERROR_FEATURE_COUNT = ROOT_ELEMENT_FEATURE_COUNT + 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ErrorEventDefinitionImpl <em>Error Event Definition</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ErrorEventDefinitionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getErrorEventDefinition()
+ * @generated
+ */
+ int ERROR_EVENT_DEFINITION = 50;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ERROR_EVENT_DEFINITION__EXTENSION_VALUES = EVENT_DEFINITION__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ERROR_EVENT_DEFINITION__DOCUMENTATION = EVENT_DEFINITION__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ERROR_EVENT_DEFINITION__EXTENSION_DEFINITIONS = EVENT_DEFINITION__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ERROR_EVENT_DEFINITION__ID = EVENT_DEFINITION__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ERROR_EVENT_DEFINITION__ANY_ATTRIBUTE = EVENT_DEFINITION__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Error Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ERROR_EVENT_DEFINITION__ERROR_REF = EVENT_DEFINITION_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Error Event Definition</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ERROR_EVENT_DEFINITION_FEATURE_COUNT = EVENT_DEFINITION_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.EscalationImpl <em>Escalation</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.EscalationImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getEscalation()
+ * @generated
+ */
+ int ESCALATION = 51;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ESCALATION__EXTENSION_VALUES = ROOT_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ESCALATION__DOCUMENTATION = ROOT_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ESCALATION__EXTENSION_DEFINITIONS = ROOT_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ESCALATION__ID = ROOT_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ESCALATION__ANY_ATTRIBUTE = ROOT_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Escalation Code</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ESCALATION__ESCALATION_CODE = ROOT_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ESCALATION__NAME = ROOT_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Structure Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ESCALATION__STRUCTURE_REF = ROOT_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>Escalation</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ESCALATION_FEATURE_COUNT = ROOT_ELEMENT_FEATURE_COUNT + 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.EscalationEventDefinitionImpl <em>Escalation Event Definition</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.EscalationEventDefinitionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getEscalationEventDefinition()
+ * @generated
+ */
+ int ESCALATION_EVENT_DEFINITION = 52;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ESCALATION_EVENT_DEFINITION__EXTENSION_VALUES = EVENT_DEFINITION__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ESCALATION_EVENT_DEFINITION__DOCUMENTATION = EVENT_DEFINITION__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ESCALATION_EVENT_DEFINITION__EXTENSION_DEFINITIONS = EVENT_DEFINITION__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ESCALATION_EVENT_DEFINITION__ID = EVENT_DEFINITION__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ESCALATION_EVENT_DEFINITION__ANY_ATTRIBUTE = EVENT_DEFINITION__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Escalation Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ESCALATION_EVENT_DEFINITION__ESCALATION_REF = EVENT_DEFINITION_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Escalation Event Definition</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ESCALATION_EVENT_DEFINITION_FEATURE_COUNT = EVENT_DEFINITION_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.EventBasedGatewayImpl <em>Event Based Gateway</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.EventBasedGatewayImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getEventBasedGateway()
+ * @generated
+ */
+ int EVENT_BASED_GATEWAY = 54;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT_BASED_GATEWAY__EXTENSION_VALUES = GATEWAY__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT_BASED_GATEWAY__DOCUMENTATION = GATEWAY__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT_BASED_GATEWAY__EXTENSION_DEFINITIONS = GATEWAY__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT_BASED_GATEWAY__ID = GATEWAY__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT_BASED_GATEWAY__ANY_ATTRIBUTE = GATEWAY__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT_BASED_GATEWAY__AUDITING = GATEWAY__AUDITING;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT_BASED_GATEWAY__MONITORING = GATEWAY__MONITORING;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT_BASED_GATEWAY__CATEGORY_VALUE_REF = GATEWAY__CATEGORY_VALUE_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT_BASED_GATEWAY__NAME = GATEWAY__NAME;
+
+ /**
+ * The feature id for the '<em><b>Incoming</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT_BASED_GATEWAY__INCOMING = GATEWAY__INCOMING;
+
+ /**
+ * The feature id for the '<em><b>Lanes</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT_BASED_GATEWAY__LANES = GATEWAY__LANES;
+
+ /**
+ * The feature id for the '<em><b>Outgoing</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT_BASED_GATEWAY__OUTGOING = GATEWAY__OUTGOING;
+
+ /**
+ * The feature id for the '<em><b>Gateway Direction</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT_BASED_GATEWAY__GATEWAY_DIRECTION = GATEWAY__GATEWAY_DIRECTION;
+
+ /**
+ * The feature id for the '<em><b>Event Gateway Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT_BASED_GATEWAY__EVENT_GATEWAY_TYPE = GATEWAY_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Instantiate</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT_BASED_GATEWAY__INSTANTIATE = GATEWAY_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Event Based Gateway</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT_BASED_GATEWAY_FEATURE_COUNT = GATEWAY_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ExclusiveGatewayImpl <em>Exclusive Gateway</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ExclusiveGatewayImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getExclusiveGateway()
+ * @generated
+ */
+ int EXCLUSIVE_GATEWAY = 56;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXCLUSIVE_GATEWAY__EXTENSION_VALUES = GATEWAY__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXCLUSIVE_GATEWAY__DOCUMENTATION = GATEWAY__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXCLUSIVE_GATEWAY__EXTENSION_DEFINITIONS = GATEWAY__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXCLUSIVE_GATEWAY__ID = GATEWAY__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXCLUSIVE_GATEWAY__ANY_ATTRIBUTE = GATEWAY__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXCLUSIVE_GATEWAY__AUDITING = GATEWAY__AUDITING;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXCLUSIVE_GATEWAY__MONITORING = GATEWAY__MONITORING;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXCLUSIVE_GATEWAY__CATEGORY_VALUE_REF = GATEWAY__CATEGORY_VALUE_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXCLUSIVE_GATEWAY__NAME = GATEWAY__NAME;
+
+ /**
+ * The feature id for the '<em><b>Incoming</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXCLUSIVE_GATEWAY__INCOMING = GATEWAY__INCOMING;
+
+ /**
+ * The feature id for the '<em><b>Lanes</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXCLUSIVE_GATEWAY__LANES = GATEWAY__LANES;
+
+ /**
+ * The feature id for the '<em><b>Outgoing</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXCLUSIVE_GATEWAY__OUTGOING = GATEWAY__OUTGOING;
+
+ /**
+ * The feature id for the '<em><b>Gateway Direction</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXCLUSIVE_GATEWAY__GATEWAY_DIRECTION = GATEWAY__GATEWAY_DIRECTION;
+
+ /**
+ * The feature id for the '<em><b>Default</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXCLUSIVE_GATEWAY__DEFAULT = GATEWAY_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Exclusive Gateway</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXCLUSIVE_GATEWAY_FEATURE_COUNT = GATEWAY_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ExpressionImpl <em>Expression</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ExpressionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getExpression()
+ * @generated
+ */
+ int EXPRESSION = 57;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXPRESSION__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXPRESSION__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXPRESSION__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXPRESSION__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXPRESSION__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The number of structural features of the '<em>Expression</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXPRESSION_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ExtensionImpl <em>Extension</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ExtensionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getExtension()
+ * @generated
+ */
+ int EXTENSION = 58;
+
+ /**
+ * The feature id for the '<em><b>Definition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXTENSION__DEFINITION = 0;
+
+ /**
+ * The feature id for the '<em><b>Must Understand</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXTENSION__MUST_UNDERSTAND = 1;
+
+ /**
+ * The feature id for the '<em><b>Xsd Definition</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXTENSION__XSD_DEFINITION = 2;
+
+ /**
+ * The number of structural features of the '<em>Extension</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXTENSION_FEATURE_COUNT = 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ExtensionAttributeDefinitionImpl <em>Extension Attribute Definition</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ExtensionAttributeDefinitionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getExtensionAttributeDefinition()
+ * @generated
+ */
+ int EXTENSION_ATTRIBUTE_DEFINITION = 59;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXTENSION_ATTRIBUTE_DEFINITION__NAME = 0;
+
+ /**
+ * The feature id for the '<em><b>Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXTENSION_ATTRIBUTE_DEFINITION__TYPE = 1;
+
+ /**
+ * The feature id for the '<em><b>Is Reference</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXTENSION_ATTRIBUTE_DEFINITION__IS_REFERENCE = 2;
+
+ /**
+ * The feature id for the '<em><b>Extension Definition</b></em>' container reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXTENSION_ATTRIBUTE_DEFINITION__EXTENSION_DEFINITION = 3;
+
+ /**
+ * The number of structural features of the '<em>Extension Attribute Definition</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXTENSION_ATTRIBUTE_DEFINITION_FEATURE_COUNT = 4;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ExtensionAttributeValueImpl <em>Extension Attribute Value</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ExtensionAttributeValueImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getExtensionAttributeValue()
+ * @generated
+ */
+ int EXTENSION_ATTRIBUTE_VALUE = 60;
+
+ /**
+ * The feature id for the '<em><b>Value Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXTENSION_ATTRIBUTE_VALUE__VALUE_REF = 0;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXTENSION_ATTRIBUTE_VALUE__VALUE = 1;
+
+ /**
+ * The feature id for the '<em><b>Extension Attribute Definition</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXTENSION_ATTRIBUTE_VALUE__EXTENSION_ATTRIBUTE_DEFINITION = 2;
+
+ /**
+ * The number of structural features of the '<em>Extension Attribute Value</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXTENSION_ATTRIBUTE_VALUE_FEATURE_COUNT = 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ExtensionDefinitionImpl <em>Extension Definition</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ExtensionDefinitionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getExtensionDefinition()
+ * @generated
+ */
+ int EXTENSION_DEFINITION = 61;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXTENSION_DEFINITION__NAME = 0;
+
+ /**
+ * The feature id for the '<em><b>Extension Attribute Definitions</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXTENSION_DEFINITION__EXTENSION_ATTRIBUTE_DEFINITIONS = 1;
+
+ /**
+ * The number of structural features of the '<em>Extension Definition</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXTENSION_DEFINITION_FEATURE_COUNT = 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.FlowElementsContainerImpl <em>Flow Elements Container</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.FlowElementsContainerImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getFlowElementsContainer()
+ * @generated
+ */
+ int FLOW_ELEMENTS_CONTAINER = 63;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FLOW_ELEMENTS_CONTAINER__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FLOW_ELEMENTS_CONTAINER__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FLOW_ELEMENTS_CONTAINER__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FLOW_ELEMENTS_CONTAINER__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FLOW_ELEMENTS_CONTAINER__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Lane Sets</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FLOW_ELEMENTS_CONTAINER__LANE_SETS = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Flow Elements</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FLOW_ELEMENTS_CONTAINER__FLOW_ELEMENTS = BASE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Flow Elements Container</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FLOW_ELEMENTS_CONTAINER_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.FormalExpressionImpl <em>Formal Expression</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.FormalExpressionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getFormalExpression()
+ * @generated
+ */
+ int FORMAL_EXPRESSION = 65;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FORMAL_EXPRESSION__EXTENSION_VALUES = EXPRESSION__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FORMAL_EXPRESSION__DOCUMENTATION = EXPRESSION__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FORMAL_EXPRESSION__EXTENSION_DEFINITIONS = EXPRESSION__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FORMAL_EXPRESSION__ID = EXPRESSION__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FORMAL_EXPRESSION__ANY_ATTRIBUTE = EXPRESSION__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FORMAL_EXPRESSION__MIXED = EXPRESSION_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Body</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FORMAL_EXPRESSION__BODY = EXPRESSION_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Evaluates To Type Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FORMAL_EXPRESSION__EVALUATES_TO_TYPE_REF = EXPRESSION_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Language</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FORMAL_EXPRESSION__LANGUAGE = EXPRESSION_FEATURE_COUNT + 3;
+
+ /**
+ * The number of structural features of the '<em>Formal Expression</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FORMAL_EXPRESSION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 4;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.GlobalTaskImpl <em>Global Task</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.GlobalTaskImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getGlobalTask()
+ * @generated
+ */
+ int GLOBAL_TASK = 72;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_TASK__EXTENSION_VALUES = CALLABLE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_TASK__DOCUMENTATION = CALLABLE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_TASK__EXTENSION_DEFINITIONS = CALLABLE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_TASK__ID = CALLABLE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_TASK__ANY_ATTRIBUTE = CALLABLE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Supported Interface Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_TASK__SUPPORTED_INTERFACE_REFS = CALLABLE_ELEMENT__SUPPORTED_INTERFACE_REFS;
+
+ /**
+ * The feature id for the '<em><b>Io Specification</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_TASK__IO_SPECIFICATION = CALLABLE_ELEMENT__IO_SPECIFICATION;
+
+ /**
+ * The feature id for the '<em><b>Io Binding</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_TASK__IO_BINDING = CALLABLE_ELEMENT__IO_BINDING;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_TASK__NAME = CALLABLE_ELEMENT__NAME;
+
+ /**
+ * The feature id for the '<em><b>Resources</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_TASK__RESOURCES = CALLABLE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Global Task</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_TASK_FEATURE_COUNT = CALLABLE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.GlobalBusinessRuleTaskImpl <em>Global Business Rule Task</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.GlobalBusinessRuleTaskImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getGlobalBusinessRuleTask()
+ * @generated
+ */
+ int GLOBAL_BUSINESS_RULE_TASK = 67;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_BUSINESS_RULE_TASK__EXTENSION_VALUES = GLOBAL_TASK__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_BUSINESS_RULE_TASK__DOCUMENTATION = GLOBAL_TASK__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_BUSINESS_RULE_TASK__EXTENSION_DEFINITIONS = GLOBAL_TASK__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_BUSINESS_RULE_TASK__ID = GLOBAL_TASK__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_BUSINESS_RULE_TASK__ANY_ATTRIBUTE = GLOBAL_TASK__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Supported Interface Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_BUSINESS_RULE_TASK__SUPPORTED_INTERFACE_REFS = GLOBAL_TASK__SUPPORTED_INTERFACE_REFS;
+
+ /**
+ * The feature id for the '<em><b>Io Specification</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_BUSINESS_RULE_TASK__IO_SPECIFICATION = GLOBAL_TASK__IO_SPECIFICATION;
+
+ /**
+ * The feature id for the '<em><b>Io Binding</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_BUSINESS_RULE_TASK__IO_BINDING = GLOBAL_TASK__IO_BINDING;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_BUSINESS_RULE_TASK__NAME = GLOBAL_TASK__NAME;
+
+ /**
+ * The feature id for the '<em><b>Resources</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_BUSINESS_RULE_TASK__RESOURCES = GLOBAL_TASK__RESOURCES;
+
+ /**
+ * The feature id for the '<em><b>Implementation</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_BUSINESS_RULE_TASK__IMPLEMENTATION = GLOBAL_TASK_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Global Business Rule Task</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_BUSINESS_RULE_TASK_FEATURE_COUNT = GLOBAL_TASK_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.GlobalChoreographyTaskImpl <em>Global Choreography Task</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.GlobalChoreographyTaskImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getGlobalChoreographyTask()
+ * @generated
+ */
+ int GLOBAL_CHOREOGRAPHY_TASK = 68;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CHOREOGRAPHY_TASK__EXTENSION_VALUES = CHOREOGRAPHY__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CHOREOGRAPHY_TASK__DOCUMENTATION = CHOREOGRAPHY__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CHOREOGRAPHY_TASK__EXTENSION_DEFINITIONS = CHOREOGRAPHY__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CHOREOGRAPHY_TASK__ID = CHOREOGRAPHY__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CHOREOGRAPHY_TASK__ANY_ATTRIBUTE = CHOREOGRAPHY__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Participants</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CHOREOGRAPHY_TASK__PARTICIPANTS = CHOREOGRAPHY__PARTICIPANTS;
+
+ /**
+ * The feature id for the '<em><b>Message Flows</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CHOREOGRAPHY_TASK__MESSAGE_FLOWS = CHOREOGRAPHY__MESSAGE_FLOWS;
+
+ /**
+ * The feature id for the '<em><b>Artifacts</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CHOREOGRAPHY_TASK__ARTIFACTS = CHOREOGRAPHY__ARTIFACTS;
+
+ /**
+ * The feature id for the '<em><b>Conversations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CHOREOGRAPHY_TASK__CONVERSATIONS = CHOREOGRAPHY__CONVERSATIONS;
+
+ /**
+ * The feature id for the '<em><b>Conversation Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CHOREOGRAPHY_TASK__CONVERSATION_ASSOCIATIONS = CHOREOGRAPHY__CONVERSATION_ASSOCIATIONS;
+
+ /**
+ * The feature id for the '<em><b>Participant Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CHOREOGRAPHY_TASK__PARTICIPANT_ASSOCIATIONS = CHOREOGRAPHY__PARTICIPANT_ASSOCIATIONS;
+
+ /**
+ * The feature id for the '<em><b>Message Flow Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CHOREOGRAPHY_TASK__MESSAGE_FLOW_ASSOCIATIONS = CHOREOGRAPHY__MESSAGE_FLOW_ASSOCIATIONS;
+
+ /**
+ * The feature id for the '<em><b>Correlation Keys</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CHOREOGRAPHY_TASK__CORRELATION_KEYS = CHOREOGRAPHY__CORRELATION_KEYS;
+
+ /**
+ * The feature id for the '<em><b>Choreography Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CHOREOGRAPHY_TASK__CHOREOGRAPHY_REF = CHOREOGRAPHY__CHOREOGRAPHY_REF;
+
+ /**
+ * The feature id for the '<em><b>Conversation Links</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CHOREOGRAPHY_TASK__CONVERSATION_LINKS = CHOREOGRAPHY__CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Is Closed</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CHOREOGRAPHY_TASK__IS_CLOSED = CHOREOGRAPHY__IS_CLOSED;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CHOREOGRAPHY_TASK__NAME = CHOREOGRAPHY__NAME;
+
+ /**
+ * The feature id for the '<em><b>Lane Sets</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CHOREOGRAPHY_TASK__LANE_SETS = CHOREOGRAPHY__LANE_SETS;
+
+ /**
+ * The feature id for the '<em><b>Flow Elements</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CHOREOGRAPHY_TASK__FLOW_ELEMENTS = CHOREOGRAPHY__FLOW_ELEMENTS;
+
+ /**
+ * The feature id for the '<em><b>Initiating Participant Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CHOREOGRAPHY_TASK__INITIATING_PARTICIPANT_REF = CHOREOGRAPHY_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Global Choreography Task</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CHOREOGRAPHY_TASK_FEATURE_COUNT = CHOREOGRAPHY_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.GlobalConversationImpl <em>Global Conversation</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.GlobalConversationImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getGlobalConversation()
+ * @generated
+ */
+ int GLOBAL_CONVERSATION = 69;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CONVERSATION__EXTENSION_VALUES = COLLABORATION__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CONVERSATION__DOCUMENTATION = COLLABORATION__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CONVERSATION__EXTENSION_DEFINITIONS = COLLABORATION__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CONVERSATION__ID = COLLABORATION__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CONVERSATION__ANY_ATTRIBUTE = COLLABORATION__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Participants</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CONVERSATION__PARTICIPANTS = COLLABORATION__PARTICIPANTS;
+
+ /**
+ * The feature id for the '<em><b>Message Flows</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CONVERSATION__MESSAGE_FLOWS = COLLABORATION__MESSAGE_FLOWS;
+
+ /**
+ * The feature id for the '<em><b>Artifacts</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CONVERSATION__ARTIFACTS = COLLABORATION__ARTIFACTS;
+
+ /**
+ * The feature id for the '<em><b>Conversations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CONVERSATION__CONVERSATIONS = COLLABORATION__CONVERSATIONS;
+
+ /**
+ * The feature id for the '<em><b>Conversation Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CONVERSATION__CONVERSATION_ASSOCIATIONS = COLLABORATION__CONVERSATION_ASSOCIATIONS;
+
+ /**
+ * The feature id for the '<em><b>Participant Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CONVERSATION__PARTICIPANT_ASSOCIATIONS = COLLABORATION__PARTICIPANT_ASSOCIATIONS;
+
+ /**
+ * The feature id for the '<em><b>Message Flow Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CONVERSATION__MESSAGE_FLOW_ASSOCIATIONS = COLLABORATION__MESSAGE_FLOW_ASSOCIATIONS;
+
+ /**
+ * The feature id for the '<em><b>Correlation Keys</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CONVERSATION__CORRELATION_KEYS = COLLABORATION__CORRELATION_KEYS;
+
+ /**
+ * The feature id for the '<em><b>Choreography Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CONVERSATION__CHOREOGRAPHY_REF = COLLABORATION__CHOREOGRAPHY_REF;
+
+ /**
+ * The feature id for the '<em><b>Conversation Links</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CONVERSATION__CONVERSATION_LINKS = COLLABORATION__CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Is Closed</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CONVERSATION__IS_CLOSED = COLLABORATION__IS_CLOSED;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CONVERSATION__NAME = COLLABORATION__NAME;
+
+ /**
+ * The number of structural features of the '<em>Global Conversation</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_CONVERSATION_FEATURE_COUNT = COLLABORATION_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.GlobalManualTaskImpl <em>Global Manual Task</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.GlobalManualTaskImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getGlobalManualTask()
+ * @generated
+ */
+ int GLOBAL_MANUAL_TASK = 70;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_MANUAL_TASK__EXTENSION_VALUES = GLOBAL_TASK__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_MANUAL_TASK__DOCUMENTATION = GLOBAL_TASK__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_MANUAL_TASK__EXTENSION_DEFINITIONS = GLOBAL_TASK__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_MANUAL_TASK__ID = GLOBAL_TASK__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_MANUAL_TASK__ANY_ATTRIBUTE = GLOBAL_TASK__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Supported Interface Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_MANUAL_TASK__SUPPORTED_INTERFACE_REFS = GLOBAL_TASK__SUPPORTED_INTERFACE_REFS;
+
+ /**
+ * The feature id for the '<em><b>Io Specification</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_MANUAL_TASK__IO_SPECIFICATION = GLOBAL_TASK__IO_SPECIFICATION;
+
+ /**
+ * The feature id for the '<em><b>Io Binding</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_MANUAL_TASK__IO_BINDING = GLOBAL_TASK__IO_BINDING;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_MANUAL_TASK__NAME = GLOBAL_TASK__NAME;
+
+ /**
+ * The feature id for the '<em><b>Resources</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_MANUAL_TASK__RESOURCES = GLOBAL_TASK__RESOURCES;
+
+ /**
+ * The number of structural features of the '<em>Global Manual Task</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_MANUAL_TASK_FEATURE_COUNT = GLOBAL_TASK_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.GlobalScriptTaskImpl <em>Global Script Task</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.GlobalScriptTaskImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getGlobalScriptTask()
+ * @generated
+ */
+ int GLOBAL_SCRIPT_TASK = 71;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_SCRIPT_TASK__EXTENSION_VALUES = GLOBAL_TASK__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_SCRIPT_TASK__DOCUMENTATION = GLOBAL_TASK__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_SCRIPT_TASK__EXTENSION_DEFINITIONS = GLOBAL_TASK__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_SCRIPT_TASK__ID = GLOBAL_TASK__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_SCRIPT_TASK__ANY_ATTRIBUTE = GLOBAL_TASK__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Supported Interface Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_SCRIPT_TASK__SUPPORTED_INTERFACE_REFS = GLOBAL_TASK__SUPPORTED_INTERFACE_REFS;
+
+ /**
+ * The feature id for the '<em><b>Io Specification</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_SCRIPT_TASK__IO_SPECIFICATION = GLOBAL_TASK__IO_SPECIFICATION;
+
+ /**
+ * The feature id for the '<em><b>Io Binding</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_SCRIPT_TASK__IO_BINDING = GLOBAL_TASK__IO_BINDING;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_SCRIPT_TASK__NAME = GLOBAL_TASK__NAME;
+
+ /**
+ * The feature id for the '<em><b>Resources</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_SCRIPT_TASK__RESOURCES = GLOBAL_TASK__RESOURCES;
+
+ /**
+ * The feature id for the '<em><b>Script</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_SCRIPT_TASK__SCRIPT = GLOBAL_TASK_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Script Language</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_SCRIPT_TASK__SCRIPT_LANGUAGE = GLOBAL_TASK_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Global Script Task</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_SCRIPT_TASK_FEATURE_COUNT = GLOBAL_TASK_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.GlobalUserTaskImpl <em>Global User Task</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.GlobalUserTaskImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getGlobalUserTask()
+ * @generated
+ */
+ int GLOBAL_USER_TASK = 73;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_USER_TASK__EXTENSION_VALUES = GLOBAL_TASK__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_USER_TASK__DOCUMENTATION = GLOBAL_TASK__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_USER_TASK__EXTENSION_DEFINITIONS = GLOBAL_TASK__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_USER_TASK__ID = GLOBAL_TASK__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_USER_TASK__ANY_ATTRIBUTE = GLOBAL_TASK__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Supported Interface Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_USER_TASK__SUPPORTED_INTERFACE_REFS = GLOBAL_TASK__SUPPORTED_INTERFACE_REFS;
+
+ /**
+ * The feature id for the '<em><b>Io Specification</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_USER_TASK__IO_SPECIFICATION = GLOBAL_TASK__IO_SPECIFICATION;
+
+ /**
+ * The feature id for the '<em><b>Io Binding</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_USER_TASK__IO_BINDING = GLOBAL_TASK__IO_BINDING;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_USER_TASK__NAME = GLOBAL_TASK__NAME;
+
+ /**
+ * The feature id for the '<em><b>Resources</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_USER_TASK__RESOURCES = GLOBAL_TASK__RESOURCES;
+
+ /**
+ * The feature id for the '<em><b>Renderings</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_USER_TASK__RENDERINGS = GLOBAL_TASK_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Implementation</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_USER_TASK__IMPLEMENTATION = GLOBAL_TASK_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Global User Task</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GLOBAL_USER_TASK_FEATURE_COUNT = GLOBAL_TASK_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.GroupImpl <em>Group</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.GroupImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getGroup()
+ * @generated
+ */
+ int GROUP = 74;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GROUP__EXTENSION_VALUES = ARTIFACT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GROUP__DOCUMENTATION = ARTIFACT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GROUP__EXTENSION_DEFINITIONS = ARTIFACT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GROUP__ID = ARTIFACT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GROUP__ANY_ATTRIBUTE = ARTIFACT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GROUP__CATEGORY_VALUE_REF = ARTIFACT_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Group</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GROUP_FEATURE_COUNT = ARTIFACT_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ResourceRoleImpl <em>Resource Role</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ResourceRoleImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getResourceRole()
+ * @generated
+ */
+ int RESOURCE_ROLE = 118;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_ROLE__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_ROLE__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_ROLE__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_ROLE__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_ROLE__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Resource Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_ROLE__RESOURCE_REF = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Resource Parameter Bindings</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_ROLE__RESOURCE_PARAMETER_BINDINGS = BASE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Resource Assignment Expression</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_ROLE__RESOURCE_ASSIGNMENT_EXPRESSION = BASE_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_ROLE__NAME = BASE_ELEMENT_FEATURE_COUNT + 3;
+
+ /**
+ * The number of structural features of the '<em>Resource Role</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_ROLE_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 4;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.PerformerImpl <em>Performer</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.PerformerImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getPerformer()
+ * @generated
+ */
+ int PERFORMER = 107;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PERFORMER__EXTENSION_VALUES = RESOURCE_ROLE__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PERFORMER__DOCUMENTATION = RESOURCE_ROLE__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PERFORMER__EXTENSION_DEFINITIONS = RESOURCE_ROLE__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PERFORMER__ID = RESOURCE_ROLE__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PERFORMER__ANY_ATTRIBUTE = RESOURCE_ROLE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Resource Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PERFORMER__RESOURCE_REF = RESOURCE_ROLE__RESOURCE_REF;
+
+ /**
+ * The feature id for the '<em><b>Resource Parameter Bindings</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PERFORMER__RESOURCE_PARAMETER_BINDINGS = RESOURCE_ROLE__RESOURCE_PARAMETER_BINDINGS;
+
+ /**
+ * The feature id for the '<em><b>Resource Assignment Expression</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PERFORMER__RESOURCE_ASSIGNMENT_EXPRESSION = RESOURCE_ROLE__RESOURCE_ASSIGNMENT_EXPRESSION;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PERFORMER__NAME = RESOURCE_ROLE__NAME;
+
+ /**
+ * The number of structural features of the '<em>Performer</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PERFORMER_FEATURE_COUNT = RESOURCE_ROLE_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.HumanPerformerImpl <em>Human Performer</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.HumanPerformerImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getHumanPerformer()
+ * @generated
+ */
+ int HUMAN_PERFORMER = 75;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int HUMAN_PERFORMER__EXTENSION_VALUES = PERFORMER__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int HUMAN_PERFORMER__DOCUMENTATION = PERFORMER__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int HUMAN_PERFORMER__EXTENSION_DEFINITIONS = PERFORMER__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int HUMAN_PERFORMER__ID = PERFORMER__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int HUMAN_PERFORMER__ANY_ATTRIBUTE = PERFORMER__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Resource Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int HUMAN_PERFORMER__RESOURCE_REF = PERFORMER__RESOURCE_REF;
+
+ /**
+ * The feature id for the '<em><b>Resource Parameter Bindings</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int HUMAN_PERFORMER__RESOURCE_PARAMETER_BINDINGS = PERFORMER__RESOURCE_PARAMETER_BINDINGS;
+
+ /**
+ * The feature id for the '<em><b>Resource Assignment Expression</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int HUMAN_PERFORMER__RESOURCE_ASSIGNMENT_EXPRESSION = PERFORMER__RESOURCE_ASSIGNMENT_EXPRESSION;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int HUMAN_PERFORMER__NAME = PERFORMER__NAME;
+
+ /**
+ * The number of structural features of the '<em>Human Performer</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int HUMAN_PERFORMER_FEATURE_COUNT = PERFORMER_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ImplicitThrowEventImpl <em>Implicit Throw Event</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ImplicitThrowEventImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getImplicitThrowEvent()
+ * @generated
+ */
+ int IMPLICIT_THROW_EVENT = 76;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPLICIT_THROW_EVENT__EXTENSION_VALUES = THROW_EVENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPLICIT_THROW_EVENT__DOCUMENTATION = THROW_EVENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPLICIT_THROW_EVENT__EXTENSION_DEFINITIONS = THROW_EVENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPLICIT_THROW_EVENT__ID = THROW_EVENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPLICIT_THROW_EVENT__ANY_ATTRIBUTE = THROW_EVENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPLICIT_THROW_EVENT__AUDITING = THROW_EVENT__AUDITING;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPLICIT_THROW_EVENT__MONITORING = THROW_EVENT__MONITORING;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPLICIT_THROW_EVENT__CATEGORY_VALUE_REF = THROW_EVENT__CATEGORY_VALUE_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPLICIT_THROW_EVENT__NAME = THROW_EVENT__NAME;
+
+ /**
+ * The feature id for the '<em><b>Incoming</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPLICIT_THROW_EVENT__INCOMING = THROW_EVENT__INCOMING;
+
+ /**
+ * The feature id for the '<em><b>Lanes</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPLICIT_THROW_EVENT__LANES = THROW_EVENT__LANES;
+
+ /**
+ * The feature id for the '<em><b>Outgoing</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPLICIT_THROW_EVENT__OUTGOING = THROW_EVENT__OUTGOING;
+
+ /**
+ * The feature id for the '<em><b>Incoming Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPLICIT_THROW_EVENT__INCOMING_CONVERSATION_LINKS = THROW_EVENT__INCOMING_CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Outgoing Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPLICIT_THROW_EVENT__OUTGOING_CONVERSATION_LINKS = THROW_EVENT__OUTGOING_CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Properties</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPLICIT_THROW_EVENT__PROPERTIES = THROW_EVENT__PROPERTIES;
+
+ /**
+ * The feature id for the '<em><b>Data Inputs</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPLICIT_THROW_EVENT__DATA_INPUTS = THROW_EVENT__DATA_INPUTS;
+
+ /**
+ * The feature id for the '<em><b>Data Input Association</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPLICIT_THROW_EVENT__DATA_INPUT_ASSOCIATION = THROW_EVENT__DATA_INPUT_ASSOCIATION;
+
+ /**
+ * The feature id for the '<em><b>Input Set</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPLICIT_THROW_EVENT__INPUT_SET = THROW_EVENT__INPUT_SET;
+
+ /**
+ * The feature id for the '<em><b>Event Definitions</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPLICIT_THROW_EVENT__EVENT_DEFINITIONS = THROW_EVENT__EVENT_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Event Definition Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPLICIT_THROW_EVENT__EVENT_DEFINITION_REFS = THROW_EVENT__EVENT_DEFINITION_REFS;
+
+ /**
+ * The number of structural features of the '<em>Implicit Throw Event</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPLICIT_THROW_EVENT_FEATURE_COUNT = THROW_EVENT_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ImportImpl <em>Import</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ImportImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getImport()
+ * @generated
+ */
+ int IMPORT = 77;
+
+ /**
+ * The feature id for the '<em><b>Import Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPORT__IMPORT_TYPE = 0;
+
+ /**
+ * The feature id for the '<em><b>Location</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPORT__LOCATION = 1;
+
+ /**
+ * The feature id for the '<em><b>Namespace</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPORT__NAMESPACE = 2;
+
+ /**
+ * The number of structural features of the '<em>Import</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPORT_FEATURE_COUNT = 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.InclusiveGatewayImpl <em>Inclusive Gateway</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.InclusiveGatewayImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getInclusiveGateway()
+ * @generated
+ */
+ int INCLUSIVE_GATEWAY = 78;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INCLUSIVE_GATEWAY__EXTENSION_VALUES = GATEWAY__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INCLUSIVE_GATEWAY__DOCUMENTATION = GATEWAY__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INCLUSIVE_GATEWAY__EXTENSION_DEFINITIONS = GATEWAY__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INCLUSIVE_GATEWAY__ID = GATEWAY__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INCLUSIVE_GATEWAY__ANY_ATTRIBUTE = GATEWAY__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INCLUSIVE_GATEWAY__AUDITING = GATEWAY__AUDITING;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INCLUSIVE_GATEWAY__MONITORING = GATEWAY__MONITORING;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INCLUSIVE_GATEWAY__CATEGORY_VALUE_REF = GATEWAY__CATEGORY_VALUE_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INCLUSIVE_GATEWAY__NAME = GATEWAY__NAME;
+
+ /**
+ * The feature id for the '<em><b>Incoming</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INCLUSIVE_GATEWAY__INCOMING = GATEWAY__INCOMING;
+
+ /**
+ * The feature id for the '<em><b>Lanes</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INCLUSIVE_GATEWAY__LANES = GATEWAY__LANES;
+
+ /**
+ * The feature id for the '<em><b>Outgoing</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INCLUSIVE_GATEWAY__OUTGOING = GATEWAY__OUTGOING;
+
+ /**
+ * The feature id for the '<em><b>Gateway Direction</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INCLUSIVE_GATEWAY__GATEWAY_DIRECTION = GATEWAY__GATEWAY_DIRECTION;
+
+ /**
+ * The feature id for the '<em><b>Default</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INCLUSIVE_GATEWAY__DEFAULT = GATEWAY_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Inclusive Gateway</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INCLUSIVE_GATEWAY_FEATURE_COUNT = GATEWAY_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.InputOutputBindingImpl <em>Input Output Binding</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.InputOutputBindingImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getInputOutputBinding()
+ * @generated
+ */
+ int INPUT_OUTPUT_BINDING = 79;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INPUT_OUTPUT_BINDING__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INPUT_OUTPUT_BINDING__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INPUT_OUTPUT_BINDING__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INPUT_OUTPUT_BINDING__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INPUT_OUTPUT_BINDING__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Input Data Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INPUT_OUTPUT_BINDING__INPUT_DATA_REF = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Operation Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INPUT_OUTPUT_BINDING__OPERATION_REF = BASE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Output Data Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INPUT_OUTPUT_BINDING__OUTPUT_DATA_REF = BASE_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>Input Output Binding</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INPUT_OUTPUT_BINDING_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.InputOutputSpecificationImpl <em>Input Output Specification</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.InputOutputSpecificationImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getInputOutputSpecification()
+ * @generated
+ */
+ int INPUT_OUTPUT_SPECIFICATION = 80;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INPUT_OUTPUT_SPECIFICATION__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INPUT_OUTPUT_SPECIFICATION__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INPUT_OUTPUT_SPECIFICATION__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INPUT_OUTPUT_SPECIFICATION__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INPUT_OUTPUT_SPECIFICATION__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Data Inputs</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INPUT_OUTPUT_SPECIFICATION__DATA_INPUTS = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Data Outputs</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INPUT_OUTPUT_SPECIFICATION__DATA_OUTPUTS = BASE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Input Sets</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INPUT_OUTPUT_SPECIFICATION__INPUT_SETS = BASE_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Output Sets</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INPUT_OUTPUT_SPECIFICATION__OUTPUT_SETS = BASE_ELEMENT_FEATURE_COUNT + 3;
+
+ /**
+ * The number of structural features of the '<em>Input Output Specification</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INPUT_OUTPUT_SPECIFICATION_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 4;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.InputSetImpl <em>Input Set</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.InputSetImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getInputSet()
+ * @generated
+ */
+ int INPUT_SET = 81;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INPUT_SET__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INPUT_SET__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INPUT_SET__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INPUT_SET__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INPUT_SET__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Data Input Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INPUT_SET__DATA_INPUT_REFS = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Optional Input Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INPUT_SET__OPTIONAL_INPUT_REFS = BASE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>While Executing Input Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INPUT_SET__WHILE_EXECUTING_INPUT_REFS = BASE_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Output Set Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INPUT_SET__OUTPUT_SET_REFS = BASE_ELEMENT_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INPUT_SET__NAME = BASE_ELEMENT_FEATURE_COUNT + 4;
+
+ /**
+ * The number of structural features of the '<em>Input Set</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INPUT_SET_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 5;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.InteractionNodeImpl <em>Interaction Node</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.InteractionNodeImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getInteractionNode()
+ * @generated
+ */
+ int INTERACTION_NODE = 82;
+
+ /**
+ * The feature id for the '<em><b>Incoming Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERACTION_NODE__INCOMING_CONVERSATION_LINKS = 0;
+
+ /**
+ * The feature id for the '<em><b>Outgoing Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERACTION_NODE__OUTGOING_CONVERSATION_LINKS = 1;
+
+ /**
+ * The number of structural features of the '<em>Interaction Node</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERACTION_NODE_FEATURE_COUNT = 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.InterfaceImpl <em>Interface</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.InterfaceImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getInterface()
+ * @generated
+ */
+ int INTERFACE = 83;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERFACE__EXTENSION_VALUES = ROOT_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERFACE__DOCUMENTATION = ROOT_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERFACE__EXTENSION_DEFINITIONS = ROOT_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERFACE__ID = ROOT_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERFACE__ANY_ATTRIBUTE = ROOT_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Operations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERFACE__OPERATIONS = ROOT_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Implementation Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERFACE__IMPLEMENTATION_REF = ROOT_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERFACE__NAME = ROOT_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>Interface</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERFACE_FEATURE_COUNT = ROOT_ELEMENT_FEATURE_COUNT + 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.IntermediateCatchEventImpl <em>Intermediate Catch Event</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.IntermediateCatchEventImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getIntermediateCatchEvent()
+ * @generated
+ */
+ int INTERMEDIATE_CATCH_EVENT = 84;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_CATCH_EVENT__EXTENSION_VALUES = CATCH_EVENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_CATCH_EVENT__DOCUMENTATION = CATCH_EVENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_CATCH_EVENT__EXTENSION_DEFINITIONS = CATCH_EVENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_CATCH_EVENT__ID = CATCH_EVENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_CATCH_EVENT__ANY_ATTRIBUTE = CATCH_EVENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_CATCH_EVENT__AUDITING = CATCH_EVENT__AUDITING;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_CATCH_EVENT__MONITORING = CATCH_EVENT__MONITORING;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_CATCH_EVENT__CATEGORY_VALUE_REF = CATCH_EVENT__CATEGORY_VALUE_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_CATCH_EVENT__NAME = CATCH_EVENT__NAME;
+
+ /**
+ * The feature id for the '<em><b>Incoming</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_CATCH_EVENT__INCOMING = CATCH_EVENT__INCOMING;
+
+ /**
+ * The feature id for the '<em><b>Lanes</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_CATCH_EVENT__LANES = CATCH_EVENT__LANES;
+
+ /**
+ * The feature id for the '<em><b>Outgoing</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_CATCH_EVENT__OUTGOING = CATCH_EVENT__OUTGOING;
+
+ /**
+ * The feature id for the '<em><b>Incoming Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_CATCH_EVENT__INCOMING_CONVERSATION_LINKS = CATCH_EVENT__INCOMING_CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Outgoing Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_CATCH_EVENT__OUTGOING_CONVERSATION_LINKS = CATCH_EVENT__OUTGOING_CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Properties</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_CATCH_EVENT__PROPERTIES = CATCH_EVENT__PROPERTIES;
+
+ /**
+ * The feature id for the '<em><b>Data Outputs</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_CATCH_EVENT__DATA_OUTPUTS = CATCH_EVENT__DATA_OUTPUTS;
+
+ /**
+ * The feature id for the '<em><b>Data Output Association</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_CATCH_EVENT__DATA_OUTPUT_ASSOCIATION = CATCH_EVENT__DATA_OUTPUT_ASSOCIATION;
+
+ /**
+ * The feature id for the '<em><b>Output Set</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_CATCH_EVENT__OUTPUT_SET = CATCH_EVENT__OUTPUT_SET;
+
+ /**
+ * The feature id for the '<em><b>Event Definitions</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_CATCH_EVENT__EVENT_DEFINITIONS = CATCH_EVENT__EVENT_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Event Definition Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_CATCH_EVENT__EVENT_DEFINITION_REFS = CATCH_EVENT__EVENT_DEFINITION_REFS;
+
+ /**
+ * The feature id for the '<em><b>Parallel Multiple</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_CATCH_EVENT__PARALLEL_MULTIPLE = CATCH_EVENT__PARALLEL_MULTIPLE;
+
+ /**
+ * The number of structural features of the '<em>Intermediate Catch Event</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_CATCH_EVENT_FEATURE_COUNT = CATCH_EVENT_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.IntermediateThrowEventImpl <em>Intermediate Throw Event</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.IntermediateThrowEventImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getIntermediateThrowEvent()
+ * @generated
+ */
+ int INTERMEDIATE_THROW_EVENT = 85;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_THROW_EVENT__EXTENSION_VALUES = THROW_EVENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_THROW_EVENT__DOCUMENTATION = THROW_EVENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_THROW_EVENT__EXTENSION_DEFINITIONS = THROW_EVENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_THROW_EVENT__ID = THROW_EVENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_THROW_EVENT__ANY_ATTRIBUTE = THROW_EVENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_THROW_EVENT__AUDITING = THROW_EVENT__AUDITING;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_THROW_EVENT__MONITORING = THROW_EVENT__MONITORING;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_THROW_EVENT__CATEGORY_VALUE_REF = THROW_EVENT__CATEGORY_VALUE_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_THROW_EVENT__NAME = THROW_EVENT__NAME;
+
+ /**
+ * The feature id for the '<em><b>Incoming</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_THROW_EVENT__INCOMING = THROW_EVENT__INCOMING;
+
+ /**
+ * The feature id for the '<em><b>Lanes</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_THROW_EVENT__LANES = THROW_EVENT__LANES;
+
+ /**
+ * The feature id for the '<em><b>Outgoing</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_THROW_EVENT__OUTGOING = THROW_EVENT__OUTGOING;
+
+ /**
+ * The feature id for the '<em><b>Incoming Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_THROW_EVENT__INCOMING_CONVERSATION_LINKS = THROW_EVENT__INCOMING_CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Outgoing Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_THROW_EVENT__OUTGOING_CONVERSATION_LINKS = THROW_EVENT__OUTGOING_CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Properties</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_THROW_EVENT__PROPERTIES = THROW_EVENT__PROPERTIES;
+
+ /**
+ * The feature id for the '<em><b>Data Inputs</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_THROW_EVENT__DATA_INPUTS = THROW_EVENT__DATA_INPUTS;
+
+ /**
+ * The feature id for the '<em><b>Data Input Association</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_THROW_EVENT__DATA_INPUT_ASSOCIATION = THROW_EVENT__DATA_INPUT_ASSOCIATION;
+
+ /**
+ * The feature id for the '<em><b>Input Set</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_THROW_EVENT__INPUT_SET = THROW_EVENT__INPUT_SET;
+
+ /**
+ * The feature id for the '<em><b>Event Definitions</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_THROW_EVENT__EVENT_DEFINITIONS = THROW_EVENT__EVENT_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Event Definition Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_THROW_EVENT__EVENT_DEFINITION_REFS = THROW_EVENT__EVENT_DEFINITION_REFS;
+
+ /**
+ * The number of structural features of the '<em>Intermediate Throw Event</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTERMEDIATE_THROW_EVENT_FEATURE_COUNT = THROW_EVENT_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ItemDefinitionImpl <em>Item Definition</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ItemDefinitionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getItemDefinition()
+ * @generated
+ */
+ int ITEM_DEFINITION = 87;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ITEM_DEFINITION__EXTENSION_VALUES = ROOT_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ITEM_DEFINITION__DOCUMENTATION = ROOT_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ITEM_DEFINITION__EXTENSION_DEFINITIONS = ROOT_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ITEM_DEFINITION__ID = ROOT_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ITEM_DEFINITION__ANY_ATTRIBUTE = ROOT_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Is Collection</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ITEM_DEFINITION__IS_COLLECTION = ROOT_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Import</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ITEM_DEFINITION__IMPORT = ROOT_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Item Kind</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ITEM_DEFINITION__ITEM_KIND = ROOT_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Structure Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ITEM_DEFINITION__STRUCTURE_REF = ROOT_ELEMENT_FEATURE_COUNT + 3;
+
+ /**
+ * The number of structural features of the '<em>Item Definition</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ITEM_DEFINITION_FEATURE_COUNT = ROOT_ELEMENT_FEATURE_COUNT + 4;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.LaneImpl <em>Lane</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.LaneImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getLane()
+ * @generated
+ */
+ int LANE = 88;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LANE__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LANE__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LANE__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LANE__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LANE__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Partition Element</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LANE__PARTITION_ELEMENT = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Flow Node Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LANE__FLOW_NODE_REFS = BASE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Child Lane Set</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LANE__CHILD_LANE_SET = BASE_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LANE__NAME = BASE_ELEMENT_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Partition Element Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LANE__PARTITION_ELEMENT_REF = BASE_ELEMENT_FEATURE_COUNT + 4;
+
+ /**
+ * The number of structural features of the '<em>Lane</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LANE_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 5;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.LaneSetImpl <em>Lane Set</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.LaneSetImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getLaneSet()
+ * @generated
+ */
+ int LANE_SET = 89;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LANE_SET__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LANE_SET__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LANE_SET__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LANE_SET__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LANE_SET__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Lanes</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LANE_SET__LANES = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LANE_SET__NAME = BASE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Lane Set</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LANE_SET_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.LinkEventDefinitionImpl <em>Link Event Definition</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.LinkEventDefinitionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getLinkEventDefinition()
+ * @generated
+ */
+ int LINK_EVENT_DEFINITION = 90;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LINK_EVENT_DEFINITION__EXTENSION_VALUES = EVENT_DEFINITION__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LINK_EVENT_DEFINITION__DOCUMENTATION = EVENT_DEFINITION__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LINK_EVENT_DEFINITION__EXTENSION_DEFINITIONS = EVENT_DEFINITION__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LINK_EVENT_DEFINITION__ID = EVENT_DEFINITION__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LINK_EVENT_DEFINITION__ANY_ATTRIBUTE = EVENT_DEFINITION__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Source</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LINK_EVENT_DEFINITION__SOURCE = EVENT_DEFINITION_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Target</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LINK_EVENT_DEFINITION__TARGET = EVENT_DEFINITION_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LINK_EVENT_DEFINITION__NAME = EVENT_DEFINITION_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>Link Event Definition</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LINK_EVENT_DEFINITION_FEATURE_COUNT = EVENT_DEFINITION_FEATURE_COUNT + 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.LoopCharacteristicsImpl <em>Loop Characteristics</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.LoopCharacteristicsImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getLoopCharacteristics()
+ * @generated
+ */
+ int LOOP_CHARACTERISTICS = 91;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LOOP_CHARACTERISTICS__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LOOP_CHARACTERISTICS__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LOOP_CHARACTERISTICS__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LOOP_CHARACTERISTICS__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LOOP_CHARACTERISTICS__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The number of structural features of the '<em>Loop Characteristics</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LOOP_CHARACTERISTICS_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ManualTaskImpl <em>Manual Task</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ManualTaskImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getManualTask()
+ * @generated
+ */
+ int MANUAL_TASK = 92;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MANUAL_TASK__EXTENSION_VALUES = TASK__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MANUAL_TASK__DOCUMENTATION = TASK__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MANUAL_TASK__EXTENSION_DEFINITIONS = TASK__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MANUAL_TASK__ID = TASK__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MANUAL_TASK__ANY_ATTRIBUTE = TASK__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MANUAL_TASK__AUDITING = TASK__AUDITING;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MANUAL_TASK__MONITORING = TASK__MONITORING;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MANUAL_TASK__CATEGORY_VALUE_REF = TASK__CATEGORY_VALUE_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MANUAL_TASK__NAME = TASK__NAME;
+
+ /**
+ * The feature id for the '<em><b>Incoming</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MANUAL_TASK__INCOMING = TASK__INCOMING;
+
+ /**
+ * The feature id for the '<em><b>Lanes</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MANUAL_TASK__LANES = TASK__LANES;
+
+ /**
+ * The feature id for the '<em><b>Outgoing</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MANUAL_TASK__OUTGOING = TASK__OUTGOING;
+
+ /**
+ * The feature id for the '<em><b>Io Specification</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MANUAL_TASK__IO_SPECIFICATION = TASK__IO_SPECIFICATION;
+
+ /**
+ * The feature id for the '<em><b>Boundary Event Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MANUAL_TASK__BOUNDARY_EVENT_REFS = TASK__BOUNDARY_EVENT_REFS;
+
+ /**
+ * The feature id for the '<em><b>Properties</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MANUAL_TASK__PROPERTIES = TASK__PROPERTIES;
+
+ /**
+ * The feature id for the '<em><b>Data Input Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MANUAL_TASK__DATA_INPUT_ASSOCIATIONS = TASK__DATA_INPUT_ASSOCIATIONS;
+
+ /**
+ * The feature id for the '<em><b>Data Output Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MANUAL_TASK__DATA_OUTPUT_ASSOCIATIONS = TASK__DATA_OUTPUT_ASSOCIATIONS;
+
+ /**
+ * The feature id for the '<em><b>Resources</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MANUAL_TASK__RESOURCES = TASK__RESOURCES;
+
+ /**
+ * The feature id for the '<em><b>Loop Characteristics</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MANUAL_TASK__LOOP_CHARACTERISTICS = TASK__LOOP_CHARACTERISTICS;
+
+ /**
+ * The feature id for the '<em><b>Completion Quantity</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MANUAL_TASK__COMPLETION_QUANTITY = TASK__COMPLETION_QUANTITY;
+
+ /**
+ * The feature id for the '<em><b>Default</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MANUAL_TASK__DEFAULT = TASK__DEFAULT;
+
+ /**
+ * The feature id for the '<em><b>Is For Compensation</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MANUAL_TASK__IS_FOR_COMPENSATION = TASK__IS_FOR_COMPENSATION;
+
+ /**
+ * The feature id for the '<em><b>Start Quantity</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MANUAL_TASK__START_QUANTITY = TASK__START_QUANTITY;
+
+ /**
+ * The feature id for the '<em><b>Incoming Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MANUAL_TASK__INCOMING_CONVERSATION_LINKS = TASK__INCOMING_CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Outgoing Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MANUAL_TASK__OUTGOING_CONVERSATION_LINKS = TASK__OUTGOING_CONVERSATION_LINKS;
+
+ /**
+ * The number of structural features of the '<em>Manual Task</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MANUAL_TASK_FEATURE_COUNT = TASK_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.MessageImpl <em>Message</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.MessageImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getMessage()
+ * @generated
+ */
+ int MESSAGE = 93;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MESSAGE__EXTENSION_VALUES = ROOT_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MESSAGE__DOCUMENTATION = ROOT_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MESSAGE__EXTENSION_DEFINITIONS = ROOT_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MESSAGE__ID = ROOT_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MESSAGE__ANY_ATTRIBUTE = ROOT_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Item Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MESSAGE__ITEM_REF = ROOT_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MESSAGE__NAME = ROOT_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Message</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MESSAGE_FEATURE_COUNT = ROOT_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.MessageEventDefinitionImpl <em>Message Event Definition</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.MessageEventDefinitionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getMessageEventDefinition()
+ * @generated
+ */
+ int MESSAGE_EVENT_DEFINITION = 94;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MESSAGE_EVENT_DEFINITION__EXTENSION_VALUES = EVENT_DEFINITION__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MESSAGE_EVENT_DEFINITION__DOCUMENTATION = EVENT_DEFINITION__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MESSAGE_EVENT_DEFINITION__EXTENSION_DEFINITIONS = EVENT_DEFINITION__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MESSAGE_EVENT_DEFINITION__ID = EVENT_DEFINITION__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MESSAGE_EVENT_DEFINITION__ANY_ATTRIBUTE = EVENT_DEFINITION__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Operation Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MESSAGE_EVENT_DEFINITION__OPERATION_REF = EVENT_DEFINITION_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Message Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MESSAGE_EVENT_DEFINITION__MESSAGE_REF = EVENT_DEFINITION_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Message Event Definition</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MESSAGE_EVENT_DEFINITION_FEATURE_COUNT = EVENT_DEFINITION_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.MessageFlowImpl <em>Message Flow</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.MessageFlowImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getMessageFlow()
+ * @generated
+ */
+ int MESSAGE_FLOW = 95;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MESSAGE_FLOW__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MESSAGE_FLOW__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MESSAGE_FLOW__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MESSAGE_FLOW__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MESSAGE_FLOW__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Message Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MESSAGE_FLOW__MESSAGE_REF = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MESSAGE_FLOW__NAME = BASE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Source Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MESSAGE_FLOW__SOURCE_REF = BASE_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Target Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MESSAGE_FLOW__TARGET_REF = BASE_ELEMENT_FEATURE_COUNT + 3;
+
+ /**
+ * The number of structural features of the '<em>Message Flow</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MESSAGE_FLOW_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 4;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.MessageFlowAssociationImpl <em>Message Flow Association</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.MessageFlowAssociationImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getMessageFlowAssociation()
+ * @generated
+ */
+ int MESSAGE_FLOW_ASSOCIATION = 96;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MESSAGE_FLOW_ASSOCIATION__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MESSAGE_FLOW_ASSOCIATION__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MESSAGE_FLOW_ASSOCIATION__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MESSAGE_FLOW_ASSOCIATION__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MESSAGE_FLOW_ASSOCIATION__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Inner Message Flow Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MESSAGE_FLOW_ASSOCIATION__INNER_MESSAGE_FLOW_REF = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Outer Message Flow Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MESSAGE_FLOW_ASSOCIATION__OUTER_MESSAGE_FLOW_REF = BASE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Message Flow Association</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MESSAGE_FLOW_ASSOCIATION_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.MonitoringImpl <em>Monitoring</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.MonitoringImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getMonitoring()
+ * @generated
+ */
+ int MONITORING = 97;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MONITORING__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MONITORING__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MONITORING__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MONITORING__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MONITORING__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The number of structural features of the '<em>Monitoring</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MONITORING_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.MultiInstanceLoopCharacteristicsImpl <em>Multi Instance Loop Characteristics</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.MultiInstanceLoopCharacteristicsImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getMultiInstanceLoopCharacteristics()
+ * @generated
+ */
+ int MULTI_INSTANCE_LOOP_CHARACTERISTICS = 98;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MULTI_INSTANCE_LOOP_CHARACTERISTICS__EXTENSION_VALUES = LOOP_CHARACTERISTICS__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MULTI_INSTANCE_LOOP_CHARACTERISTICS__DOCUMENTATION = LOOP_CHARACTERISTICS__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MULTI_INSTANCE_LOOP_CHARACTERISTICS__EXTENSION_DEFINITIONS = LOOP_CHARACTERISTICS__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MULTI_INSTANCE_LOOP_CHARACTERISTICS__ID = LOOP_CHARACTERISTICS__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MULTI_INSTANCE_LOOP_CHARACTERISTICS__ANY_ATTRIBUTE = LOOP_CHARACTERISTICS__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Loop Cardinality</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MULTI_INSTANCE_LOOP_CHARACTERISTICS__LOOP_CARDINALITY = LOOP_CHARACTERISTICS_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Loop Data Input Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MULTI_INSTANCE_LOOP_CHARACTERISTICS__LOOP_DATA_INPUT_REF = LOOP_CHARACTERISTICS_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Loop Data Output Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MULTI_INSTANCE_LOOP_CHARACTERISTICS__LOOP_DATA_OUTPUT_REF = LOOP_CHARACTERISTICS_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Input Data Item</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MULTI_INSTANCE_LOOP_CHARACTERISTICS__INPUT_DATA_ITEM = LOOP_CHARACTERISTICS_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Output Data Item</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MULTI_INSTANCE_LOOP_CHARACTERISTICS__OUTPUT_DATA_ITEM = LOOP_CHARACTERISTICS_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Complex Behavior Definition</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MULTI_INSTANCE_LOOP_CHARACTERISTICS__COMPLEX_BEHAVIOR_DEFINITION = LOOP_CHARACTERISTICS_FEATURE_COUNT + 5;
+
+ /**
+ * The feature id for the '<em><b>Completion Condition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MULTI_INSTANCE_LOOP_CHARACTERISTICS__COMPLETION_CONDITION = LOOP_CHARACTERISTICS_FEATURE_COUNT + 6;
+
+ /**
+ * The feature id for the '<em><b>Behavior</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MULTI_INSTANCE_LOOP_CHARACTERISTICS__BEHAVIOR = LOOP_CHARACTERISTICS_FEATURE_COUNT + 7;
+
+ /**
+ * The feature id for the '<em><b>Is Sequential</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MULTI_INSTANCE_LOOP_CHARACTERISTICS__IS_SEQUENTIAL = LOOP_CHARACTERISTICS_FEATURE_COUNT + 8;
+
+ /**
+ * The feature id for the '<em><b>None Behavior Event Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MULTI_INSTANCE_LOOP_CHARACTERISTICS__NONE_BEHAVIOR_EVENT_REF = LOOP_CHARACTERISTICS_FEATURE_COUNT + 9;
+
+ /**
+ * The feature id for the '<em><b>One Behavior Event Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MULTI_INSTANCE_LOOP_CHARACTERISTICS__ONE_BEHAVIOR_EVENT_REF = LOOP_CHARACTERISTICS_FEATURE_COUNT + 10;
+
+ /**
+ * The number of structural features of the '<em>Multi Instance Loop Characteristics</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MULTI_INSTANCE_LOOP_CHARACTERISTICS_FEATURE_COUNT = LOOP_CHARACTERISTICS_FEATURE_COUNT + 11;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.OperationImpl <em>Operation</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.OperationImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getOperation()
+ * @generated
+ */
+ int OPERATION = 99;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OPERATION__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OPERATION__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OPERATION__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OPERATION__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OPERATION__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>In Message Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OPERATION__IN_MESSAGE_REF = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Out Message Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OPERATION__OUT_MESSAGE_REF = BASE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Error Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OPERATION__ERROR_REFS = BASE_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Implementation Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OPERATION__IMPLEMENTATION_REF = BASE_ELEMENT_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OPERATION__NAME = BASE_ELEMENT_FEATURE_COUNT + 4;
+
+ /**
+ * The number of structural features of the '<em>Operation</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OPERATION_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 5;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.OutputSetImpl <em>Output Set</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.OutputSetImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getOutputSet()
+ * @generated
+ */
+ int OUTPUT_SET = 100;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OUTPUT_SET__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OUTPUT_SET__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OUTPUT_SET__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OUTPUT_SET__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OUTPUT_SET__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Data Output Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OUTPUT_SET__DATA_OUTPUT_REFS = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Optional Output Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OUTPUT_SET__OPTIONAL_OUTPUT_REFS = BASE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>While Executing Output Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OUTPUT_SET__WHILE_EXECUTING_OUTPUT_REFS = BASE_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Input Set Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OUTPUT_SET__INPUT_SET_REFS = BASE_ELEMENT_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OUTPUT_SET__NAME = BASE_ELEMENT_FEATURE_COUNT + 4;
+
+ /**
+ * The number of structural features of the '<em>Output Set</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OUTPUT_SET_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 5;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ParallelGatewayImpl <em>Parallel Gateway</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ParallelGatewayImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getParallelGateway()
+ * @generated
+ */
+ int PARALLEL_GATEWAY = 101;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARALLEL_GATEWAY__EXTENSION_VALUES = GATEWAY__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARALLEL_GATEWAY__DOCUMENTATION = GATEWAY__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARALLEL_GATEWAY__EXTENSION_DEFINITIONS = GATEWAY__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARALLEL_GATEWAY__ID = GATEWAY__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARALLEL_GATEWAY__ANY_ATTRIBUTE = GATEWAY__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARALLEL_GATEWAY__AUDITING = GATEWAY__AUDITING;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARALLEL_GATEWAY__MONITORING = GATEWAY__MONITORING;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARALLEL_GATEWAY__CATEGORY_VALUE_REF = GATEWAY__CATEGORY_VALUE_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARALLEL_GATEWAY__NAME = GATEWAY__NAME;
+
+ /**
+ * The feature id for the '<em><b>Incoming</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARALLEL_GATEWAY__INCOMING = GATEWAY__INCOMING;
+
+ /**
+ * The feature id for the '<em><b>Lanes</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARALLEL_GATEWAY__LANES = GATEWAY__LANES;
+
+ /**
+ * The feature id for the '<em><b>Outgoing</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARALLEL_GATEWAY__OUTGOING = GATEWAY__OUTGOING;
+
+ /**
+ * The feature id for the '<em><b>Gateway Direction</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARALLEL_GATEWAY__GATEWAY_DIRECTION = GATEWAY__GATEWAY_DIRECTION;
+
+ /**
+ * The number of structural features of the '<em>Parallel Gateway</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARALLEL_GATEWAY_FEATURE_COUNT = GATEWAY_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ParticipantImpl <em>Participant</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ParticipantImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getParticipant()
+ * @generated
+ */
+ int PARTICIPANT = 102;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTICIPANT__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTICIPANT__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTICIPANT__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTICIPANT__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTICIPANT__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Incoming Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTICIPANT__INCOMING_CONVERSATION_LINKS = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Outgoing Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTICIPANT__OUTGOING_CONVERSATION_LINKS = BASE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Interface Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTICIPANT__INTERFACE_REFS = BASE_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>End Point Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTICIPANT__END_POINT_REFS = BASE_ELEMENT_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Participant Multiplicity</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTICIPANT__PARTICIPANT_MULTIPLICITY = BASE_ELEMENT_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTICIPANT__NAME = BASE_ELEMENT_FEATURE_COUNT + 5;
+
+ /**
+ * The feature id for the '<em><b>Process Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTICIPANT__PROCESS_REF = BASE_ELEMENT_FEATURE_COUNT + 6;
+
+ /**
+ * The number of structural features of the '<em>Participant</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTICIPANT_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 7;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ParticipantAssociationImpl <em>Participant Association</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ParticipantAssociationImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getParticipantAssociation()
+ * @generated
+ */
+ int PARTICIPANT_ASSOCIATION = 103;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTICIPANT_ASSOCIATION__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTICIPANT_ASSOCIATION__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTICIPANT_ASSOCIATION__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTICIPANT_ASSOCIATION__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTICIPANT_ASSOCIATION__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Inner Participant Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTICIPANT_ASSOCIATION__INNER_PARTICIPANT_REF = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Outer Participant Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTICIPANT_ASSOCIATION__OUTER_PARTICIPANT_REF = BASE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Participant Association</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTICIPANT_ASSOCIATION_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ParticipantMultiplicityImpl <em>Participant Multiplicity</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ParticipantMultiplicityImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getParticipantMultiplicity()
+ * @generated
+ */
+ int PARTICIPANT_MULTIPLICITY = 104;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTICIPANT_MULTIPLICITY__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTICIPANT_MULTIPLICITY__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTICIPANT_MULTIPLICITY__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTICIPANT_MULTIPLICITY__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTICIPANT_MULTIPLICITY__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Maximum</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTICIPANT_MULTIPLICITY__MAXIMUM = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Minimum</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTICIPANT_MULTIPLICITY__MINIMUM = BASE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Participant Multiplicity</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTICIPANT_MULTIPLICITY_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.PartnerEntityImpl <em>Partner Entity</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.PartnerEntityImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getPartnerEntity()
+ * @generated
+ */
+ int PARTNER_ENTITY = 105;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTNER_ENTITY__EXTENSION_VALUES = ROOT_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTNER_ENTITY__DOCUMENTATION = ROOT_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTNER_ENTITY__EXTENSION_DEFINITIONS = ROOT_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTNER_ENTITY__ID = ROOT_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTNER_ENTITY__ANY_ATTRIBUTE = ROOT_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Participant Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTNER_ENTITY__PARTICIPANT_REF = ROOT_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTNER_ENTITY__NAME = ROOT_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Partner Entity</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTNER_ENTITY_FEATURE_COUNT = ROOT_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.PartnerRoleImpl <em>Partner Role</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.PartnerRoleImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getPartnerRole()
+ * @generated
+ */
+ int PARTNER_ROLE = 106;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTNER_ROLE__EXTENSION_VALUES = ROOT_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTNER_ROLE__DOCUMENTATION = ROOT_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTNER_ROLE__EXTENSION_DEFINITIONS = ROOT_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTNER_ROLE__ID = ROOT_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTNER_ROLE__ANY_ATTRIBUTE = ROOT_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Participant Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTNER_ROLE__PARTICIPANT_REF = ROOT_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTNER_ROLE__NAME = ROOT_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Partner Role</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARTNER_ROLE_FEATURE_COUNT = ROOT_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.PotentialOwnerImpl <em>Potential Owner</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.PotentialOwnerImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getPotentialOwner()
+ * @generated
+ */
+ int POTENTIAL_OWNER = 108;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int POTENTIAL_OWNER__EXTENSION_VALUES = HUMAN_PERFORMER__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int POTENTIAL_OWNER__DOCUMENTATION = HUMAN_PERFORMER__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int POTENTIAL_OWNER__EXTENSION_DEFINITIONS = HUMAN_PERFORMER__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int POTENTIAL_OWNER__ID = HUMAN_PERFORMER__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int POTENTIAL_OWNER__ANY_ATTRIBUTE = HUMAN_PERFORMER__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Resource Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int POTENTIAL_OWNER__RESOURCE_REF = HUMAN_PERFORMER__RESOURCE_REF;
+
+ /**
+ * The feature id for the '<em><b>Resource Parameter Bindings</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int POTENTIAL_OWNER__RESOURCE_PARAMETER_BINDINGS = HUMAN_PERFORMER__RESOURCE_PARAMETER_BINDINGS;
+
+ /**
+ * The feature id for the '<em><b>Resource Assignment Expression</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int POTENTIAL_OWNER__RESOURCE_ASSIGNMENT_EXPRESSION = HUMAN_PERFORMER__RESOURCE_ASSIGNMENT_EXPRESSION;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int POTENTIAL_OWNER__NAME = HUMAN_PERFORMER__NAME;
+
+ /**
+ * The number of structural features of the '<em>Potential Owner</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int POTENTIAL_OWNER_FEATURE_COUNT = HUMAN_PERFORMER_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ProcessImpl <em>Process</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ProcessImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getProcess()
+ * @generated
+ */
+ int PROCESS = 109;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESS__EXTENSION_VALUES = CALLABLE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESS__DOCUMENTATION = CALLABLE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESS__EXTENSION_DEFINITIONS = CALLABLE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESS__ID = CALLABLE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESS__ANY_ATTRIBUTE = CALLABLE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Supported Interface Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESS__SUPPORTED_INTERFACE_REFS = CALLABLE_ELEMENT__SUPPORTED_INTERFACE_REFS;
+
+ /**
+ * The feature id for the '<em><b>Io Specification</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESS__IO_SPECIFICATION = CALLABLE_ELEMENT__IO_SPECIFICATION;
+
+ /**
+ * The feature id for the '<em><b>Io Binding</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESS__IO_BINDING = CALLABLE_ELEMENT__IO_BINDING;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESS__NAME = CALLABLE_ELEMENT__NAME;
+
+ /**
+ * The feature id for the '<em><b>Lane Sets</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESS__LANE_SETS = CALLABLE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Flow Elements</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESS__FLOW_ELEMENTS = CALLABLE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESS__AUDITING = CALLABLE_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESS__MONITORING = CALLABLE_ELEMENT_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Properties</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESS__PROPERTIES = CALLABLE_ELEMENT_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Artifacts</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESS__ARTIFACTS = CALLABLE_ELEMENT_FEATURE_COUNT + 5;
+
+ /**
+ * The feature id for the '<em><b>Resources</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESS__RESOURCES = CALLABLE_ELEMENT_FEATURE_COUNT + 6;
+
+ /**
+ * The feature id for the '<em><b>Correlation Subscriptions</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESS__CORRELATION_SUBSCRIPTIONS = CALLABLE_ELEMENT_FEATURE_COUNT + 7;
+
+ /**
+ * The feature id for the '<em><b>Supports</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESS__SUPPORTS = CALLABLE_ELEMENT_FEATURE_COUNT + 8;
+
+ /**
+ * The feature id for the '<em><b>Definitional Collaboration Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESS__DEFINITIONAL_COLLABORATION_REF = CALLABLE_ELEMENT_FEATURE_COUNT + 9;
+
+ /**
+ * The feature id for the '<em><b>Is Closed</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESS__IS_CLOSED = CALLABLE_ELEMENT_FEATURE_COUNT + 10;
+
+ /**
+ * The feature id for the '<em><b>Is Executable</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESS__IS_EXECUTABLE = CALLABLE_ELEMENT_FEATURE_COUNT + 11;
+
+ /**
+ * The feature id for the '<em><b>Process Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESS__PROCESS_TYPE = CALLABLE_ELEMENT_FEATURE_COUNT + 12;
+
+ /**
+ * The number of structural features of the '<em>Process</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESS_FEATURE_COUNT = CALLABLE_ELEMENT_FEATURE_COUNT + 13;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.PropertyImpl <em>Property</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.PropertyImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getProperty()
+ * @generated
+ */
+ int PROPERTY = 110;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROPERTY__EXTENSION_VALUES = ITEM_AWARE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROPERTY__DOCUMENTATION = ITEM_AWARE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROPERTY__EXTENSION_DEFINITIONS = ITEM_AWARE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROPERTY__ID = ITEM_AWARE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROPERTY__ANY_ATTRIBUTE = ITEM_AWARE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Data State</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROPERTY__DATA_STATE = ITEM_AWARE_ELEMENT__DATA_STATE;
+
+ /**
+ * The feature id for the '<em><b>Item Subject Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROPERTY__ITEM_SUBJECT_REF = ITEM_AWARE_ELEMENT__ITEM_SUBJECT_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROPERTY__NAME = ITEM_AWARE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Property</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROPERTY_FEATURE_COUNT = ITEM_AWARE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ReceiveTaskImpl <em>Receive Task</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ReceiveTaskImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getReceiveTask()
+ * @generated
+ */
+ int RECEIVE_TASK = 111;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RECEIVE_TASK__EXTENSION_VALUES = TASK__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RECEIVE_TASK__DOCUMENTATION = TASK__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RECEIVE_TASK__EXTENSION_DEFINITIONS = TASK__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RECEIVE_TASK__ID = TASK__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RECEIVE_TASK__ANY_ATTRIBUTE = TASK__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RECEIVE_TASK__AUDITING = TASK__AUDITING;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RECEIVE_TASK__MONITORING = TASK__MONITORING;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RECEIVE_TASK__CATEGORY_VALUE_REF = TASK__CATEGORY_VALUE_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RECEIVE_TASK__NAME = TASK__NAME;
+
+ /**
+ * The feature id for the '<em><b>Incoming</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RECEIVE_TASK__INCOMING = TASK__INCOMING;
+
+ /**
+ * The feature id for the '<em><b>Lanes</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RECEIVE_TASK__LANES = TASK__LANES;
+
+ /**
+ * The feature id for the '<em><b>Outgoing</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RECEIVE_TASK__OUTGOING = TASK__OUTGOING;
+
+ /**
+ * The feature id for the '<em><b>Io Specification</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RECEIVE_TASK__IO_SPECIFICATION = TASK__IO_SPECIFICATION;
+
+ /**
+ * The feature id for the '<em><b>Boundary Event Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RECEIVE_TASK__BOUNDARY_EVENT_REFS = TASK__BOUNDARY_EVENT_REFS;
+
+ /**
+ * The feature id for the '<em><b>Properties</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RECEIVE_TASK__PROPERTIES = TASK__PROPERTIES;
+
+ /**
+ * The feature id for the '<em><b>Data Input Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RECEIVE_TASK__DATA_INPUT_ASSOCIATIONS = TASK__DATA_INPUT_ASSOCIATIONS;
+
+ /**
+ * The feature id for the '<em><b>Data Output Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RECEIVE_TASK__DATA_OUTPUT_ASSOCIATIONS = TASK__DATA_OUTPUT_ASSOCIATIONS;
+
+ /**
+ * The feature id for the '<em><b>Resources</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RECEIVE_TASK__RESOURCES = TASK__RESOURCES;
+
+ /**
+ * The feature id for the '<em><b>Loop Characteristics</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RECEIVE_TASK__LOOP_CHARACTERISTICS = TASK__LOOP_CHARACTERISTICS;
+
+ /**
+ * The feature id for the '<em><b>Completion Quantity</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RECEIVE_TASK__COMPLETION_QUANTITY = TASK__COMPLETION_QUANTITY;
+
+ /**
+ * The feature id for the '<em><b>Default</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RECEIVE_TASK__DEFAULT = TASK__DEFAULT;
+
+ /**
+ * The feature id for the '<em><b>Is For Compensation</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RECEIVE_TASK__IS_FOR_COMPENSATION = TASK__IS_FOR_COMPENSATION;
+
+ /**
+ * The feature id for the '<em><b>Start Quantity</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RECEIVE_TASK__START_QUANTITY = TASK__START_QUANTITY;
+
+ /**
+ * The feature id for the '<em><b>Incoming Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RECEIVE_TASK__INCOMING_CONVERSATION_LINKS = TASK__INCOMING_CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Outgoing Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RECEIVE_TASK__OUTGOING_CONVERSATION_LINKS = TASK__OUTGOING_CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Implementation</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RECEIVE_TASK__IMPLEMENTATION = TASK_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Instantiate</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RECEIVE_TASK__INSTANTIATE = TASK_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Message Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RECEIVE_TASK__MESSAGE_REF = TASK_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Operation Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RECEIVE_TASK__OPERATION_REF = TASK_FEATURE_COUNT + 3;
+
+ /**
+ * The number of structural features of the '<em>Receive Task</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RECEIVE_TASK_FEATURE_COUNT = TASK_FEATURE_COUNT + 4;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.RelationshipImpl <em>Relationship</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.RelationshipImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getRelationship()
+ * @generated
+ */
+ int RELATIONSHIP = 112;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RELATIONSHIP__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RELATIONSHIP__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RELATIONSHIP__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RELATIONSHIP__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RELATIONSHIP__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Sources</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RELATIONSHIP__SOURCES = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Targets</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RELATIONSHIP__TARGETS = BASE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Direction</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RELATIONSHIP__DIRECTION = BASE_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RELATIONSHIP__TYPE = BASE_ELEMENT_FEATURE_COUNT + 3;
+
+ /**
+ * The number of structural features of the '<em>Relationship</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RELATIONSHIP_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 4;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.RenderingImpl <em>Rendering</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.RenderingImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getRendering()
+ * @generated
+ */
+ int RENDERING = 113;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RENDERING__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RENDERING__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RENDERING__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RENDERING__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RENDERING__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The number of structural features of the '<em>Rendering</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RENDERING_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ResourceImpl <em>Resource</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ResourceImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getResource()
+ * @generated
+ */
+ int RESOURCE = 114;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE__EXTENSION_VALUES = ROOT_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE__DOCUMENTATION = ROOT_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE__EXTENSION_DEFINITIONS = ROOT_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE__ID = ROOT_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE__ANY_ATTRIBUTE = ROOT_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Resource Parameters</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE__RESOURCE_PARAMETERS = ROOT_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE__NAME = ROOT_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Resource</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_FEATURE_COUNT = ROOT_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ResourceAssignmentExpressionImpl <em>Resource Assignment Expression</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ResourceAssignmentExpressionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getResourceAssignmentExpression()
+ * @generated
+ */
+ int RESOURCE_ASSIGNMENT_EXPRESSION = 115;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_ASSIGNMENT_EXPRESSION__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_ASSIGNMENT_EXPRESSION__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_ASSIGNMENT_EXPRESSION__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_ASSIGNMENT_EXPRESSION__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_ASSIGNMENT_EXPRESSION__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Expression</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_ASSIGNMENT_EXPRESSION__EXPRESSION = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Resource Assignment Expression</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_ASSIGNMENT_EXPRESSION_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ResourceParameterImpl <em>Resource Parameter</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ResourceParameterImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getResourceParameter()
+ * @generated
+ */
+ int RESOURCE_PARAMETER = 116;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_PARAMETER__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_PARAMETER__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_PARAMETER__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_PARAMETER__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_PARAMETER__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Is Required</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_PARAMETER__IS_REQUIRED = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_PARAMETER__NAME = BASE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Type</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_PARAMETER__TYPE = BASE_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>Resource Parameter</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_PARAMETER_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ResourceParameterBindingImpl <em>Resource Parameter Binding</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ResourceParameterBindingImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getResourceParameterBinding()
+ * @generated
+ */
+ int RESOURCE_PARAMETER_BINDING = 117;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_PARAMETER_BINDING__EXTENSION_VALUES = BASE_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_PARAMETER_BINDING__DOCUMENTATION = BASE_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_PARAMETER_BINDING__EXTENSION_DEFINITIONS = BASE_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_PARAMETER_BINDING__ID = BASE_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_PARAMETER_BINDING__ANY_ATTRIBUTE = BASE_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Expression</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_PARAMETER_BINDING__EXPRESSION = BASE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Parameter Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_PARAMETER_BINDING__PARAMETER_REF = BASE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Resource Parameter Binding</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_PARAMETER_BINDING_FEATURE_COUNT = BASE_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ScriptTaskImpl <em>Script Task</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ScriptTaskImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getScriptTask()
+ * @generated
+ */
+ int SCRIPT_TASK = 120;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SCRIPT_TASK__EXTENSION_VALUES = TASK__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SCRIPT_TASK__DOCUMENTATION = TASK__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SCRIPT_TASK__EXTENSION_DEFINITIONS = TASK__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SCRIPT_TASK__ID = TASK__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SCRIPT_TASK__ANY_ATTRIBUTE = TASK__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SCRIPT_TASK__AUDITING = TASK__AUDITING;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SCRIPT_TASK__MONITORING = TASK__MONITORING;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SCRIPT_TASK__CATEGORY_VALUE_REF = TASK__CATEGORY_VALUE_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SCRIPT_TASK__NAME = TASK__NAME;
+
+ /**
+ * The feature id for the '<em><b>Incoming</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SCRIPT_TASK__INCOMING = TASK__INCOMING;
+
+ /**
+ * The feature id for the '<em><b>Lanes</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SCRIPT_TASK__LANES = TASK__LANES;
+
+ /**
+ * The feature id for the '<em><b>Outgoing</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SCRIPT_TASK__OUTGOING = TASK__OUTGOING;
+
+ /**
+ * The feature id for the '<em><b>Io Specification</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SCRIPT_TASK__IO_SPECIFICATION = TASK__IO_SPECIFICATION;
+
+ /**
+ * The feature id for the '<em><b>Boundary Event Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SCRIPT_TASK__BOUNDARY_EVENT_REFS = TASK__BOUNDARY_EVENT_REFS;
+
+ /**
+ * The feature id for the '<em><b>Properties</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SCRIPT_TASK__PROPERTIES = TASK__PROPERTIES;
+
+ /**
+ * The feature id for the '<em><b>Data Input Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SCRIPT_TASK__DATA_INPUT_ASSOCIATIONS = TASK__DATA_INPUT_ASSOCIATIONS;
+
+ /**
+ * The feature id for the '<em><b>Data Output Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SCRIPT_TASK__DATA_OUTPUT_ASSOCIATIONS = TASK__DATA_OUTPUT_ASSOCIATIONS;
+
+ /**
+ * The feature id for the '<em><b>Resources</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SCRIPT_TASK__RESOURCES = TASK__RESOURCES;
+
+ /**
+ * The feature id for the '<em><b>Loop Characteristics</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SCRIPT_TASK__LOOP_CHARACTERISTICS = TASK__LOOP_CHARACTERISTICS;
+
+ /**
+ * The feature id for the '<em><b>Completion Quantity</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SCRIPT_TASK__COMPLETION_QUANTITY = TASK__COMPLETION_QUANTITY;
+
+ /**
+ * The feature id for the '<em><b>Default</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SCRIPT_TASK__DEFAULT = TASK__DEFAULT;
+
+ /**
+ * The feature id for the '<em><b>Is For Compensation</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SCRIPT_TASK__IS_FOR_COMPENSATION = TASK__IS_FOR_COMPENSATION;
+
+ /**
+ * The feature id for the '<em><b>Start Quantity</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SCRIPT_TASK__START_QUANTITY = TASK__START_QUANTITY;
+
+ /**
+ * The feature id for the '<em><b>Incoming Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SCRIPT_TASK__INCOMING_CONVERSATION_LINKS = TASK__INCOMING_CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Outgoing Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SCRIPT_TASK__OUTGOING_CONVERSATION_LINKS = TASK__OUTGOING_CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Script</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SCRIPT_TASK__SCRIPT = TASK_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Script Format</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SCRIPT_TASK__SCRIPT_FORMAT = TASK_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Script Task</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SCRIPT_TASK_FEATURE_COUNT = TASK_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.SendTaskImpl <em>Send Task</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.SendTaskImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getSendTask()
+ * @generated
+ */
+ int SEND_TASK = 121;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEND_TASK__EXTENSION_VALUES = TASK__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEND_TASK__DOCUMENTATION = TASK__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEND_TASK__EXTENSION_DEFINITIONS = TASK__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEND_TASK__ID = TASK__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEND_TASK__ANY_ATTRIBUTE = TASK__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEND_TASK__AUDITING = TASK__AUDITING;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEND_TASK__MONITORING = TASK__MONITORING;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEND_TASK__CATEGORY_VALUE_REF = TASK__CATEGORY_VALUE_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEND_TASK__NAME = TASK__NAME;
+
+ /**
+ * The feature id for the '<em><b>Incoming</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEND_TASK__INCOMING = TASK__INCOMING;
+
+ /**
+ * The feature id for the '<em><b>Lanes</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEND_TASK__LANES = TASK__LANES;
+
+ /**
+ * The feature id for the '<em><b>Outgoing</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEND_TASK__OUTGOING = TASK__OUTGOING;
+
+ /**
+ * The feature id for the '<em><b>Io Specification</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEND_TASK__IO_SPECIFICATION = TASK__IO_SPECIFICATION;
+
+ /**
+ * The feature id for the '<em><b>Boundary Event Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEND_TASK__BOUNDARY_EVENT_REFS = TASK__BOUNDARY_EVENT_REFS;
+
+ /**
+ * The feature id for the '<em><b>Properties</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEND_TASK__PROPERTIES = TASK__PROPERTIES;
+
+ /**
+ * The feature id for the '<em><b>Data Input Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEND_TASK__DATA_INPUT_ASSOCIATIONS = TASK__DATA_INPUT_ASSOCIATIONS;
+
+ /**
+ * The feature id for the '<em><b>Data Output Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEND_TASK__DATA_OUTPUT_ASSOCIATIONS = TASK__DATA_OUTPUT_ASSOCIATIONS;
+
+ /**
+ * The feature id for the '<em><b>Resources</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEND_TASK__RESOURCES = TASK__RESOURCES;
+
+ /**
+ * The feature id for the '<em><b>Loop Characteristics</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEND_TASK__LOOP_CHARACTERISTICS = TASK__LOOP_CHARACTERISTICS;
+
+ /**
+ * The feature id for the '<em><b>Completion Quantity</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEND_TASK__COMPLETION_QUANTITY = TASK__COMPLETION_QUANTITY;
+
+ /**
+ * The feature id for the '<em><b>Default</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEND_TASK__DEFAULT = TASK__DEFAULT;
+
+ /**
+ * The feature id for the '<em><b>Is For Compensation</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEND_TASK__IS_FOR_COMPENSATION = TASK__IS_FOR_COMPENSATION;
+
+ /**
+ * The feature id for the '<em><b>Start Quantity</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEND_TASK__START_QUANTITY = TASK__START_QUANTITY;
+
+ /**
+ * The feature id for the '<em><b>Incoming Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEND_TASK__INCOMING_CONVERSATION_LINKS = TASK__INCOMING_CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Outgoing Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEND_TASK__OUTGOING_CONVERSATION_LINKS = TASK__OUTGOING_CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Implementation</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEND_TASK__IMPLEMENTATION = TASK_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Message Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEND_TASK__MESSAGE_REF = TASK_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Operation Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEND_TASK__OPERATION_REF = TASK_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>Send Task</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEND_TASK_FEATURE_COUNT = TASK_FEATURE_COUNT + 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.SequenceFlowImpl <em>Sequence Flow</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.SequenceFlowImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getSequenceFlow()
+ * @generated
+ */
+ int SEQUENCE_FLOW = 122;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEQUENCE_FLOW__EXTENSION_VALUES = FLOW_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEQUENCE_FLOW__DOCUMENTATION = FLOW_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEQUENCE_FLOW__EXTENSION_DEFINITIONS = FLOW_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEQUENCE_FLOW__ID = FLOW_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEQUENCE_FLOW__ANY_ATTRIBUTE = FLOW_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEQUENCE_FLOW__AUDITING = FLOW_ELEMENT__AUDITING;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEQUENCE_FLOW__MONITORING = FLOW_ELEMENT__MONITORING;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEQUENCE_FLOW__CATEGORY_VALUE_REF = FLOW_ELEMENT__CATEGORY_VALUE_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEQUENCE_FLOW__NAME = FLOW_ELEMENT__NAME;
+
+ /**
+ * The feature id for the '<em><b>Condition Expression</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEQUENCE_FLOW__CONDITION_EXPRESSION = FLOW_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Is Immediate</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEQUENCE_FLOW__IS_IMMEDIATE = FLOW_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Source Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEQUENCE_FLOW__SOURCE_REF = FLOW_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Target Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEQUENCE_FLOW__TARGET_REF = FLOW_ELEMENT_FEATURE_COUNT + 3;
+
+ /**
+ * The number of structural features of the '<em>Sequence Flow</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEQUENCE_FLOW_FEATURE_COUNT = FLOW_ELEMENT_FEATURE_COUNT + 4;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.ServiceTaskImpl <em>Service Task</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ServiceTaskImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getServiceTask()
+ * @generated
+ */
+ int SERVICE_TASK = 123;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SERVICE_TASK__EXTENSION_VALUES = TASK__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SERVICE_TASK__DOCUMENTATION = TASK__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SERVICE_TASK__EXTENSION_DEFINITIONS = TASK__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SERVICE_TASK__ID = TASK__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SERVICE_TASK__ANY_ATTRIBUTE = TASK__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SERVICE_TASK__AUDITING = TASK__AUDITING;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SERVICE_TASK__MONITORING = TASK__MONITORING;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SERVICE_TASK__CATEGORY_VALUE_REF = TASK__CATEGORY_VALUE_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SERVICE_TASK__NAME = TASK__NAME;
+
+ /**
+ * The feature id for the '<em><b>Incoming</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SERVICE_TASK__INCOMING = TASK__INCOMING;
+
+ /**
+ * The feature id for the '<em><b>Lanes</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SERVICE_TASK__LANES = TASK__LANES;
+
+ /**
+ * The feature id for the '<em><b>Outgoing</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SERVICE_TASK__OUTGOING = TASK__OUTGOING;
+
+ /**
+ * The feature id for the '<em><b>Io Specification</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SERVICE_TASK__IO_SPECIFICATION = TASK__IO_SPECIFICATION;
+
+ /**
+ * The feature id for the '<em><b>Boundary Event Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SERVICE_TASK__BOUNDARY_EVENT_REFS = TASK__BOUNDARY_EVENT_REFS;
+
+ /**
+ * The feature id for the '<em><b>Properties</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SERVICE_TASK__PROPERTIES = TASK__PROPERTIES;
+
+ /**
+ * The feature id for the '<em><b>Data Input Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SERVICE_TASK__DATA_INPUT_ASSOCIATIONS = TASK__DATA_INPUT_ASSOCIATIONS;
+
+ /**
+ * The feature id for the '<em><b>Data Output Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SERVICE_TASK__DATA_OUTPUT_ASSOCIATIONS = TASK__DATA_OUTPUT_ASSOCIATIONS;
+
+ /**
+ * The feature id for the '<em><b>Resources</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SERVICE_TASK__RESOURCES = TASK__RESOURCES;
+
+ /**
+ * The feature id for the '<em><b>Loop Characteristics</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SERVICE_TASK__LOOP_CHARACTERISTICS = TASK__LOOP_CHARACTERISTICS;
+
+ /**
+ * The feature id for the '<em><b>Completion Quantity</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SERVICE_TASK__COMPLETION_QUANTITY = TASK__COMPLETION_QUANTITY;
+
+ /**
+ * The feature id for the '<em><b>Default</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SERVICE_TASK__DEFAULT = TASK__DEFAULT;
+
+ /**
+ * The feature id for the '<em><b>Is For Compensation</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SERVICE_TASK__IS_FOR_COMPENSATION = TASK__IS_FOR_COMPENSATION;
+
+ /**
+ * The feature id for the '<em><b>Start Quantity</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SERVICE_TASK__START_QUANTITY = TASK__START_QUANTITY;
+
+ /**
+ * The feature id for the '<em><b>Incoming Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SERVICE_TASK__INCOMING_CONVERSATION_LINKS = TASK__INCOMING_CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Outgoing Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SERVICE_TASK__OUTGOING_CONVERSATION_LINKS = TASK__OUTGOING_CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Implementation</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SERVICE_TASK__IMPLEMENTATION = TASK_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Operation Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SERVICE_TASK__OPERATION_REF = TASK_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Service Task</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SERVICE_TASK_FEATURE_COUNT = TASK_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.SignalImpl <em>Signal</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.SignalImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getSignal()
+ * @generated
+ */
+ int SIGNAL = 124;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SIGNAL__EXTENSION_VALUES = ROOT_ELEMENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SIGNAL__DOCUMENTATION = ROOT_ELEMENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SIGNAL__EXTENSION_DEFINITIONS = ROOT_ELEMENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SIGNAL__ID = ROOT_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SIGNAL__ANY_ATTRIBUTE = ROOT_ELEMENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SIGNAL__NAME = ROOT_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Structure Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SIGNAL__STRUCTURE_REF = ROOT_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Signal</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SIGNAL_FEATURE_COUNT = ROOT_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.SignalEventDefinitionImpl <em>Signal Event Definition</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.SignalEventDefinitionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getSignalEventDefinition()
+ * @generated
+ */
+ int SIGNAL_EVENT_DEFINITION = 125;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SIGNAL_EVENT_DEFINITION__EXTENSION_VALUES = EVENT_DEFINITION__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SIGNAL_EVENT_DEFINITION__DOCUMENTATION = EVENT_DEFINITION__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SIGNAL_EVENT_DEFINITION__EXTENSION_DEFINITIONS = EVENT_DEFINITION__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SIGNAL_EVENT_DEFINITION__ID = EVENT_DEFINITION__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SIGNAL_EVENT_DEFINITION__ANY_ATTRIBUTE = EVENT_DEFINITION__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Signal Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SIGNAL_EVENT_DEFINITION__SIGNAL_REF = EVENT_DEFINITION_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Signal Event Definition</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SIGNAL_EVENT_DEFINITION_FEATURE_COUNT = EVENT_DEFINITION_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.StandardLoopCharacteristicsImpl <em>Standard Loop Characteristics</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.StandardLoopCharacteristicsImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getStandardLoopCharacteristics()
+ * @generated
+ */
+ int STANDARD_LOOP_CHARACTERISTICS = 126;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int STANDARD_LOOP_CHARACTERISTICS__EXTENSION_VALUES = LOOP_CHARACTERISTICS__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int STANDARD_LOOP_CHARACTERISTICS__DOCUMENTATION = LOOP_CHARACTERISTICS__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int STANDARD_LOOP_CHARACTERISTICS__EXTENSION_DEFINITIONS = LOOP_CHARACTERISTICS__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int STANDARD_LOOP_CHARACTERISTICS__ID = LOOP_CHARACTERISTICS__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int STANDARD_LOOP_CHARACTERISTICS__ANY_ATTRIBUTE = LOOP_CHARACTERISTICS__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Loop Condition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int STANDARD_LOOP_CHARACTERISTICS__LOOP_CONDITION = LOOP_CHARACTERISTICS_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Loop Maximum</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int STANDARD_LOOP_CHARACTERISTICS__LOOP_MAXIMUM = LOOP_CHARACTERISTICS_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Test Before</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int STANDARD_LOOP_CHARACTERISTICS__TEST_BEFORE = LOOP_CHARACTERISTICS_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>Standard Loop Characteristics</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int STANDARD_LOOP_CHARACTERISTICS_FEATURE_COUNT = LOOP_CHARACTERISTICS_FEATURE_COUNT + 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.StartEventImpl <em>Start Event</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.StartEventImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getStartEvent()
+ * @generated
+ */
+ int START_EVENT = 127;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int START_EVENT__EXTENSION_VALUES = CATCH_EVENT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int START_EVENT__DOCUMENTATION = CATCH_EVENT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int START_EVENT__EXTENSION_DEFINITIONS = CATCH_EVENT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int START_EVENT__ID = CATCH_EVENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int START_EVENT__ANY_ATTRIBUTE = CATCH_EVENT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int START_EVENT__AUDITING = CATCH_EVENT__AUDITING;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int START_EVENT__MONITORING = CATCH_EVENT__MONITORING;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int START_EVENT__CATEGORY_VALUE_REF = CATCH_EVENT__CATEGORY_VALUE_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int START_EVENT__NAME = CATCH_EVENT__NAME;
+
+ /**
+ * The feature id for the '<em><b>Incoming</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int START_EVENT__INCOMING = CATCH_EVENT__INCOMING;
+
+ /**
+ * The feature id for the '<em><b>Lanes</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int START_EVENT__LANES = CATCH_EVENT__LANES;
+
+ /**
+ * The feature id for the '<em><b>Outgoing</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int START_EVENT__OUTGOING = CATCH_EVENT__OUTGOING;
+
+ /**
+ * The feature id for the '<em><b>Incoming Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int START_EVENT__INCOMING_CONVERSATION_LINKS = CATCH_EVENT__INCOMING_CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Outgoing Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int START_EVENT__OUTGOING_CONVERSATION_LINKS = CATCH_EVENT__OUTGOING_CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Properties</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int START_EVENT__PROPERTIES = CATCH_EVENT__PROPERTIES;
+
+ /**
+ * The feature id for the '<em><b>Data Outputs</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int START_EVENT__DATA_OUTPUTS = CATCH_EVENT__DATA_OUTPUTS;
+
+ /**
+ * The feature id for the '<em><b>Data Output Association</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int START_EVENT__DATA_OUTPUT_ASSOCIATION = CATCH_EVENT__DATA_OUTPUT_ASSOCIATION;
+
+ /**
+ * The feature id for the '<em><b>Output Set</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int START_EVENT__OUTPUT_SET = CATCH_EVENT__OUTPUT_SET;
+
+ /**
+ * The feature id for the '<em><b>Event Definitions</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int START_EVENT__EVENT_DEFINITIONS = CATCH_EVENT__EVENT_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Event Definition Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int START_EVENT__EVENT_DEFINITION_REFS = CATCH_EVENT__EVENT_DEFINITION_REFS;
+
+ /**
+ * The feature id for the '<em><b>Parallel Multiple</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int START_EVENT__PARALLEL_MULTIPLE = CATCH_EVENT__PARALLEL_MULTIPLE;
+
+ /**
+ * The feature id for the '<em><b>Is Interrupting</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int START_EVENT__IS_INTERRUPTING = CATCH_EVENT_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Start Event</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int START_EVENT_FEATURE_COUNT = CATCH_EVENT_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.SubChoreographyImpl <em>Sub Choreography</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.SubChoreographyImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getSubChoreography()
+ * @generated
+ */
+ int SUB_CHOREOGRAPHY = 128;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_CHOREOGRAPHY__EXTENSION_VALUES = CHOREOGRAPHY_ACTIVITY__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_CHOREOGRAPHY__DOCUMENTATION = CHOREOGRAPHY_ACTIVITY__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_CHOREOGRAPHY__EXTENSION_DEFINITIONS = CHOREOGRAPHY_ACTIVITY__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_CHOREOGRAPHY__ID = CHOREOGRAPHY_ACTIVITY__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_CHOREOGRAPHY__ANY_ATTRIBUTE = CHOREOGRAPHY_ACTIVITY__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_CHOREOGRAPHY__AUDITING = CHOREOGRAPHY_ACTIVITY__AUDITING;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_CHOREOGRAPHY__MONITORING = CHOREOGRAPHY_ACTIVITY__MONITORING;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_CHOREOGRAPHY__CATEGORY_VALUE_REF = CHOREOGRAPHY_ACTIVITY__CATEGORY_VALUE_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_CHOREOGRAPHY__NAME = CHOREOGRAPHY_ACTIVITY__NAME;
+
+ /**
+ * The feature id for the '<em><b>Incoming</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_CHOREOGRAPHY__INCOMING = CHOREOGRAPHY_ACTIVITY__INCOMING;
+
+ /**
+ * The feature id for the '<em><b>Lanes</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_CHOREOGRAPHY__LANES = CHOREOGRAPHY_ACTIVITY__LANES;
+
+ /**
+ * The feature id for the '<em><b>Outgoing</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_CHOREOGRAPHY__OUTGOING = CHOREOGRAPHY_ACTIVITY__OUTGOING;
+
+ /**
+ * The feature id for the '<em><b>Participant Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_CHOREOGRAPHY__PARTICIPANT_REFS = CHOREOGRAPHY_ACTIVITY__PARTICIPANT_REFS;
+
+ /**
+ * The feature id for the '<em><b>Correlation Keys</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_CHOREOGRAPHY__CORRELATION_KEYS = CHOREOGRAPHY_ACTIVITY__CORRELATION_KEYS;
+
+ /**
+ * The feature id for the '<em><b>Initiating Participant Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_CHOREOGRAPHY__INITIATING_PARTICIPANT_REF = CHOREOGRAPHY_ACTIVITY__INITIATING_PARTICIPANT_REF;
+
+ /**
+ * The feature id for the '<em><b>Loop Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_CHOREOGRAPHY__LOOP_TYPE = CHOREOGRAPHY_ACTIVITY__LOOP_TYPE;
+
+ /**
+ * The feature id for the '<em><b>Lane Sets</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_CHOREOGRAPHY__LANE_SETS = CHOREOGRAPHY_ACTIVITY_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Flow Elements</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_CHOREOGRAPHY__FLOW_ELEMENTS = CHOREOGRAPHY_ACTIVITY_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Artifacts</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_CHOREOGRAPHY__ARTIFACTS = CHOREOGRAPHY_ACTIVITY_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>Sub Choreography</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_CHOREOGRAPHY_FEATURE_COUNT = CHOREOGRAPHY_ACTIVITY_FEATURE_COUNT + 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.SubConversationImpl <em>Sub Conversation</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.SubConversationImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getSubConversation()
+ * @generated
+ */
+ int SUB_CONVERSATION = 129;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_CONVERSATION__EXTENSION_VALUES = CONVERSATION_NODE__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_CONVERSATION__DOCUMENTATION = CONVERSATION_NODE__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_CONVERSATION__EXTENSION_DEFINITIONS = CONVERSATION_NODE__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_CONVERSATION__ID = CONVERSATION_NODE__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_CONVERSATION__ANY_ATTRIBUTE = CONVERSATION_NODE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Incoming Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_CONVERSATION__INCOMING_CONVERSATION_LINKS = CONVERSATION_NODE__INCOMING_CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Outgoing Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_CONVERSATION__OUTGOING_CONVERSATION_LINKS = CONVERSATION_NODE__OUTGOING_CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Participant Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_CONVERSATION__PARTICIPANT_REFS = CONVERSATION_NODE__PARTICIPANT_REFS;
+
+ /**
+ * The feature id for the '<em><b>Message Flow Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_CONVERSATION__MESSAGE_FLOW_REFS = CONVERSATION_NODE__MESSAGE_FLOW_REFS;
+
+ /**
+ * The feature id for the '<em><b>Correlation Keys</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_CONVERSATION__CORRELATION_KEYS = CONVERSATION_NODE__CORRELATION_KEYS;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_CONVERSATION__NAME = CONVERSATION_NODE__NAME;
+
+ /**
+ * The feature id for the '<em><b>Conversation Nodes</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_CONVERSATION__CONVERSATION_NODES = CONVERSATION_NODE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Sub Conversation</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_CONVERSATION_FEATURE_COUNT = CONVERSATION_NODE_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.TerminateEventDefinitionImpl <em>Terminate Event Definition</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.TerminateEventDefinitionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getTerminateEventDefinition()
+ * @generated
+ */
+ int TERMINATE_EVENT_DEFINITION = 132;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TERMINATE_EVENT_DEFINITION__EXTENSION_VALUES = EVENT_DEFINITION__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TERMINATE_EVENT_DEFINITION__DOCUMENTATION = EVENT_DEFINITION__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TERMINATE_EVENT_DEFINITION__EXTENSION_DEFINITIONS = EVENT_DEFINITION__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TERMINATE_EVENT_DEFINITION__ID = EVENT_DEFINITION__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TERMINATE_EVENT_DEFINITION__ANY_ATTRIBUTE = EVENT_DEFINITION__ANY_ATTRIBUTE;
+
+ /**
+ * The number of structural features of the '<em>Terminate Event Definition</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TERMINATE_EVENT_DEFINITION_FEATURE_COUNT = EVENT_DEFINITION_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.TextAnnotationImpl <em>Text Annotation</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.TextAnnotationImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getTextAnnotation()
+ * @generated
+ */
+ int TEXT_ANNOTATION = 133;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TEXT_ANNOTATION__EXTENSION_VALUES = ARTIFACT__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TEXT_ANNOTATION__DOCUMENTATION = ARTIFACT__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TEXT_ANNOTATION__EXTENSION_DEFINITIONS = ARTIFACT__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TEXT_ANNOTATION__ID = ARTIFACT__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TEXT_ANNOTATION__ANY_ATTRIBUTE = ARTIFACT__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Text</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TEXT_ANNOTATION__TEXT = ARTIFACT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Text Format</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TEXT_ANNOTATION__TEXT_FORMAT = ARTIFACT_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Text Annotation</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TEXT_ANNOTATION_FEATURE_COUNT = ARTIFACT_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.TimerEventDefinitionImpl <em>Timer Event Definition</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.TimerEventDefinitionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getTimerEventDefinition()
+ * @generated
+ */
+ int TIMER_EVENT_DEFINITION = 135;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TIMER_EVENT_DEFINITION__EXTENSION_VALUES = EVENT_DEFINITION__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TIMER_EVENT_DEFINITION__DOCUMENTATION = EVENT_DEFINITION__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TIMER_EVENT_DEFINITION__EXTENSION_DEFINITIONS = EVENT_DEFINITION__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TIMER_EVENT_DEFINITION__ID = EVENT_DEFINITION__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TIMER_EVENT_DEFINITION__ANY_ATTRIBUTE = EVENT_DEFINITION__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Time Date</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TIMER_EVENT_DEFINITION__TIME_DATE = EVENT_DEFINITION_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Time Duration</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TIMER_EVENT_DEFINITION__TIME_DURATION = EVENT_DEFINITION_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Time Cycle</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TIMER_EVENT_DEFINITION__TIME_CYCLE = EVENT_DEFINITION_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>Timer Event Definition</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TIMER_EVENT_DEFINITION_FEATURE_COUNT = EVENT_DEFINITION_FEATURE_COUNT + 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.TransactionImpl <em>Transaction</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.TransactionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getTransaction()
+ * @generated
+ */
+ int TRANSACTION = 136;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TRANSACTION__EXTENSION_VALUES = SUB_PROCESS__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TRANSACTION__DOCUMENTATION = SUB_PROCESS__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TRANSACTION__EXTENSION_DEFINITIONS = SUB_PROCESS__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TRANSACTION__ID = SUB_PROCESS__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TRANSACTION__ANY_ATTRIBUTE = SUB_PROCESS__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TRANSACTION__AUDITING = SUB_PROCESS__AUDITING;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TRANSACTION__MONITORING = SUB_PROCESS__MONITORING;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TRANSACTION__CATEGORY_VALUE_REF = SUB_PROCESS__CATEGORY_VALUE_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TRANSACTION__NAME = SUB_PROCESS__NAME;
+
+ /**
+ * The feature id for the '<em><b>Incoming</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TRANSACTION__INCOMING = SUB_PROCESS__INCOMING;
+
+ /**
+ * The feature id for the '<em><b>Lanes</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TRANSACTION__LANES = SUB_PROCESS__LANES;
+
+ /**
+ * The feature id for the '<em><b>Outgoing</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TRANSACTION__OUTGOING = SUB_PROCESS__OUTGOING;
+
+ /**
+ * The feature id for the '<em><b>Io Specification</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TRANSACTION__IO_SPECIFICATION = SUB_PROCESS__IO_SPECIFICATION;
+
+ /**
+ * The feature id for the '<em><b>Boundary Event Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TRANSACTION__BOUNDARY_EVENT_REFS = SUB_PROCESS__BOUNDARY_EVENT_REFS;
+
+ /**
+ * The feature id for the '<em><b>Properties</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TRANSACTION__PROPERTIES = SUB_PROCESS__PROPERTIES;
+
+ /**
+ * The feature id for the '<em><b>Data Input Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TRANSACTION__DATA_INPUT_ASSOCIATIONS = SUB_PROCESS__DATA_INPUT_ASSOCIATIONS;
+
+ /**
+ * The feature id for the '<em><b>Data Output Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TRANSACTION__DATA_OUTPUT_ASSOCIATIONS = SUB_PROCESS__DATA_OUTPUT_ASSOCIATIONS;
+
+ /**
+ * The feature id for the '<em><b>Resources</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TRANSACTION__RESOURCES = SUB_PROCESS__RESOURCES;
+
+ /**
+ * The feature id for the '<em><b>Loop Characteristics</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TRANSACTION__LOOP_CHARACTERISTICS = SUB_PROCESS__LOOP_CHARACTERISTICS;
+
+ /**
+ * The feature id for the '<em><b>Completion Quantity</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TRANSACTION__COMPLETION_QUANTITY = SUB_PROCESS__COMPLETION_QUANTITY;
+
+ /**
+ * The feature id for the '<em><b>Default</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TRANSACTION__DEFAULT = SUB_PROCESS__DEFAULT;
+
+ /**
+ * The feature id for the '<em><b>Is For Compensation</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TRANSACTION__IS_FOR_COMPENSATION = SUB_PROCESS__IS_FOR_COMPENSATION;
+
+ /**
+ * The feature id for the '<em><b>Start Quantity</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TRANSACTION__START_QUANTITY = SUB_PROCESS__START_QUANTITY;
+
+ /**
+ * The feature id for the '<em><b>Lane Sets</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TRANSACTION__LANE_SETS = SUB_PROCESS__LANE_SETS;
+
+ /**
+ * The feature id for the '<em><b>Flow Elements</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TRANSACTION__FLOW_ELEMENTS = SUB_PROCESS__FLOW_ELEMENTS;
+
+ /**
+ * The feature id for the '<em><b>Artifacts</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TRANSACTION__ARTIFACTS = SUB_PROCESS__ARTIFACTS;
+
+ /**
+ * The feature id for the '<em><b>Triggered By Event</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TRANSACTION__TRIGGERED_BY_EVENT = SUB_PROCESS__TRIGGERED_BY_EVENT;
+
+ /**
+ * The feature id for the '<em><b>Protocol</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TRANSACTION__PROTOCOL = SUB_PROCESS_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Method</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TRANSACTION__METHOD = SUB_PROCESS_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Transaction</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TRANSACTION_FEATURE_COUNT = SUB_PROCESS_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.impl.UserTaskImpl <em>User Task</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.UserTaskImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getUserTask()
+ * @generated
+ */
+ int USER_TASK = 137;
+
+ /**
+ * The feature id for the '<em><b>Extension Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USER_TASK__EXTENSION_VALUES = TASK__EXTENSION_VALUES;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USER_TASK__DOCUMENTATION = TASK__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Extension Definitions</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USER_TASK__EXTENSION_DEFINITIONS = TASK__EXTENSION_DEFINITIONS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USER_TASK__ID = TASK__ID;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USER_TASK__ANY_ATTRIBUTE = TASK__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USER_TASK__AUDITING = TASK__AUDITING;
+
+ /**
+ * The feature id for the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USER_TASK__MONITORING = TASK__MONITORING;
+
+ /**
+ * The feature id for the '<em><b>Category Value Ref</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USER_TASK__CATEGORY_VALUE_REF = TASK__CATEGORY_VALUE_REF;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USER_TASK__NAME = TASK__NAME;
+
+ /**
+ * The feature id for the '<em><b>Incoming</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USER_TASK__INCOMING = TASK__INCOMING;
+
+ /**
+ * The feature id for the '<em><b>Lanes</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USER_TASK__LANES = TASK__LANES;
+
+ /**
+ * The feature id for the '<em><b>Outgoing</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USER_TASK__OUTGOING = TASK__OUTGOING;
+
+ /**
+ * The feature id for the '<em><b>Io Specification</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USER_TASK__IO_SPECIFICATION = TASK__IO_SPECIFICATION;
+
+ /**
+ * The feature id for the '<em><b>Boundary Event Refs</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USER_TASK__BOUNDARY_EVENT_REFS = TASK__BOUNDARY_EVENT_REFS;
+
+ /**
+ * The feature id for the '<em><b>Properties</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USER_TASK__PROPERTIES = TASK__PROPERTIES;
+
+ /**
+ * The feature id for the '<em><b>Data Input Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USER_TASK__DATA_INPUT_ASSOCIATIONS = TASK__DATA_INPUT_ASSOCIATIONS;
+
+ /**
+ * The feature id for the '<em><b>Data Output Associations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USER_TASK__DATA_OUTPUT_ASSOCIATIONS = TASK__DATA_OUTPUT_ASSOCIATIONS;
+
+ /**
+ * The feature id for the '<em><b>Resources</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USER_TASK__RESOURCES = TASK__RESOURCES;
+
+ /**
+ * The feature id for the '<em><b>Loop Characteristics</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USER_TASK__LOOP_CHARACTERISTICS = TASK__LOOP_CHARACTERISTICS;
+
+ /**
+ * The feature id for the '<em><b>Completion Quantity</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USER_TASK__COMPLETION_QUANTITY = TASK__COMPLETION_QUANTITY;
+
+ /**
+ * The feature id for the '<em><b>Default</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USER_TASK__DEFAULT = TASK__DEFAULT;
+
+ /**
+ * The feature id for the '<em><b>Is For Compensation</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USER_TASK__IS_FOR_COMPENSATION = TASK__IS_FOR_COMPENSATION;
+
+ /**
+ * The feature id for the '<em><b>Start Quantity</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USER_TASK__START_QUANTITY = TASK__START_QUANTITY;
+
+ /**
+ * The feature id for the '<em><b>Incoming Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USER_TASK__INCOMING_CONVERSATION_LINKS = TASK__INCOMING_CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Outgoing Conversation Links</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USER_TASK__OUTGOING_CONVERSATION_LINKS = TASK__OUTGOING_CONVERSATION_LINKS;
+
+ /**
+ * The feature id for the '<em><b>Renderings</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USER_TASK__RENDERINGS = TASK_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Implementation</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USER_TASK__IMPLEMENTATION = TASK_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>User Task</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USER_TASK_FEATURE_COUNT = TASK_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.AdHocOrdering <em>Ad Hoc Ordering</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.AdHocOrdering
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getAdHocOrdering()
+ * @generated
+ */
+ int AD_HOC_ORDERING = 138;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.AssociationDirection <em>Association Direction</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.AssociationDirection
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getAssociationDirection()
+ * @generated
+ */
+ int ASSOCIATION_DIRECTION = 139;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.ChoreographyLoopType <em>Choreography Loop Type</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.ChoreographyLoopType
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getChoreographyLoopType()
+ * @generated
+ */
+ int CHOREOGRAPHY_LOOP_TYPE = 140;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.EventBasedGatewayType <em>Event Based Gateway Type</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.EventBasedGatewayType
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getEventBasedGatewayType()
+ * @generated
+ */
+ int EVENT_BASED_GATEWAY_TYPE = 141;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.GatewayDirection <em>Gateway Direction</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.GatewayDirection
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getGatewayDirection()
+ * @generated
+ */
+ int GATEWAY_DIRECTION = 142;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.ItemKind <em>Item Kind</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.ItemKind
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getItemKind()
+ * @generated
+ */
+ int ITEM_KIND = 143;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.MultiInstanceBehavior <em>Multi Instance Behavior</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.MultiInstanceBehavior
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getMultiInstanceBehavior()
+ * @generated
+ */
+ int MULTI_INSTANCE_BEHAVIOR = 144;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.ProcessType <em>Process Type</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.ProcessType
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getProcessType()
+ * @generated
+ */
+ int PROCESS_TYPE = 145;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.RelationshipDirection <em>Relationship Direction</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.RelationshipDirection
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getRelationshipDirection()
+ * @generated
+ */
+ int RELATIONSHIP_DIRECTION = 146;
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.DocumentRoot <em>Document Root</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Document Root</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot
+ * @generated
+ */
+ EClass getDocumentRoot();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.eclipse.bpmn2.DocumentRoot#getMixed <em>Mixed</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Mixed</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getMixed()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EAttribute getDocumentRoot_Mixed();
+
+ /**
+ * Returns the meta object for the map '{@link org.eclipse.bpmn2.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the map '<em>XMLNS Prefix Map</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getXMLNSPrefixMap()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_XMLNSPrefixMap();
+
+ /**
+ * Returns the meta object for the map '{@link org.eclipse.bpmn2.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the map '<em>XSI Schema Location</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getXSISchemaLocation()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_XSISchemaLocation();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getActivity <em>Activity</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Activity</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getActivity()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Activity();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getAdHocSubProcess <em>Ad Hoc Sub Process</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Ad Hoc Sub Process</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getAdHocSubProcess()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_AdHocSubProcess();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getFlowElement <em>Flow Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Flow Element</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getFlowElement()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_FlowElement();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getArtifact <em>Artifact</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Artifact</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getArtifact()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Artifact();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getAssignment <em>Assignment</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Assignment</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getAssignment()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Assignment();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getAssociation <em>Association</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Association</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getAssociation()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Association();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getAuditing <em>Auditing</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Auditing</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getAuditing()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Auditing();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getBaseElement <em>Base Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Base Element</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getBaseElement()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_BaseElement();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getBaseElementWithMixedContent <em>Base Element With Mixed Content</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Base Element With Mixed Content</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getBaseElementWithMixedContent()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_BaseElementWithMixedContent();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getBoundaryEvent <em>Boundary Event</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Boundary Event</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getBoundaryEvent()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_BoundaryEvent();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getBusinessRuleTask <em>Business Rule Task</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Business Rule Task</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getBusinessRuleTask()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_BusinessRuleTask();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getCallableElement <em>Callable Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Callable Element</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getCallableElement()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_CallableElement();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getCallActivity <em>Call Activity</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Call Activity</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getCallActivity()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_CallActivity();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getCallChoreography <em>Call Choreography</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Call Choreography</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getCallChoreography()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_CallChoreography();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getCallConversation <em>Call Conversation</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Call Conversation</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getCallConversation()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_CallConversation();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getConversationNode <em>Conversation Node</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Conversation Node</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getConversationNode()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_ConversationNode();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getCancelEventDefinition <em>Cancel Event Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Cancel Event Definition</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getCancelEventDefinition()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_CancelEventDefinition();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getEventDefinition <em>Event Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Event Definition</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getEventDefinition()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_EventDefinition();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getRootElement <em>Root Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Root Element</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getRootElement()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_RootElement();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getCatchEvent <em>Catch Event</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Catch Event</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getCatchEvent()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_CatchEvent();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getCategory <em>Category</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Category</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getCategory()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Category();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getCategoryValue <em>Category Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Category Value</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getCategoryValue()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_CategoryValue();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getChoreography <em>Choreography</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Choreography</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getChoreography()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Choreography();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getCollaboration <em>Collaboration</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Collaboration</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getCollaboration()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Collaboration();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getChoreographyActivity <em>Choreography Activity</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Choreography Activity</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getChoreographyActivity()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_ChoreographyActivity();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getChoreographyTask <em>Choreography Task</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Choreography Task</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getChoreographyTask()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_ChoreographyTask();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getCompensateEventDefinition <em>Compensate Event Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Compensate Event Definition</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getCompensateEventDefinition()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_CompensateEventDefinition();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getComplexBehaviorDefinition <em>Complex Behavior Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Complex Behavior Definition</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getComplexBehaviorDefinition()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_ComplexBehaviorDefinition();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getComplexGateway <em>Complex Gateway</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Complex Gateway</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getComplexGateway()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_ComplexGateway();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getConditionalEventDefinition <em>Conditional Event Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Conditional Event Definition</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getConditionalEventDefinition()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_ConditionalEventDefinition();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getConversation <em>Conversation</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Conversation</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getConversation()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Conversation();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getConversationAssociation <em>Conversation Association</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Conversation Association</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getConversationAssociation()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_ConversationAssociation();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getConversationLink <em>Conversation Link</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Conversation Link</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getConversationLink()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_ConversationLink();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getCorrelationKey <em>Correlation Key</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Correlation Key</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getCorrelationKey()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_CorrelationKey();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getCorrelationProperty <em>Correlation Property</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Correlation Property</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getCorrelationProperty()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_CorrelationProperty();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getCorrelationPropertyBinding <em>Correlation Property Binding</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Correlation Property Binding</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getCorrelationPropertyBinding()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_CorrelationPropertyBinding();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getCorrelationPropertyRetrievalExpression <em>Correlation Property Retrieval Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Correlation Property Retrieval Expression</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getCorrelationPropertyRetrievalExpression()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_CorrelationPropertyRetrievalExpression();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getCorrelationSubscription <em>Correlation Subscription</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Correlation Subscription</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getCorrelationSubscription()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_CorrelationSubscription();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getDataAssociation <em>Data Association</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Data Association</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getDataAssociation()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_DataAssociation();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getDataInput <em>Data Input</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Data Input</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getDataInput()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_DataInput();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getDataInputAssociation <em>Data Input Association</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Data Input Association</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getDataInputAssociation()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_DataInputAssociation();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getDataObject <em>Data Object</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Data Object</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getDataObject()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_DataObject();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getDataObjectReference <em>Data Object Reference</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Data Object Reference</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getDataObjectReference()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_DataObjectReference();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getDataOutput <em>Data Output</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Data Output</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getDataOutput()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_DataOutput();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getDataOutputAssociation <em>Data Output Association</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Data Output Association</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getDataOutputAssociation()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_DataOutputAssociation();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getDataState <em>Data State</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Data State</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getDataState()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_DataState();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getDataStore <em>Data Store</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Data Store</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getDataStore()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_DataStore();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getDataStoreReference <em>Data Store Reference</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Data Store Reference</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getDataStoreReference()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_DataStoreReference();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getDefinitions <em>Definitions</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Definitions</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getDefinitions()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Definitions();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getDocumentation <em>Documentation</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Documentation</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getDocumentation()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Documentation();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getEndEvent <em>End Event</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>End Event</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getEndEvent()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_EndEvent();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getEndPoint <em>End Point</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>End Point</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getEndPoint()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_EndPoint();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getError <em>Error</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Error</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getError()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Error();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getErrorEventDefinition <em>Error Event Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Error Event Definition</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getErrorEventDefinition()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_ErrorEventDefinition();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getEscalation <em>Escalation</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Escalation</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getEscalation()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Escalation();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getEscalationEventDefinition <em>Escalation Event Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Escalation Event Definition</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getEscalationEventDefinition()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_EscalationEventDefinition();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getEvent <em>Event</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Event</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getEvent()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Event();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getEventBasedGateway <em>Event Based Gateway</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Event Based Gateway</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getEventBasedGateway()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_EventBasedGateway();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getExclusiveGateway <em>Exclusive Gateway</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Exclusive Gateway</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getExclusiveGateway()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_ExclusiveGateway();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getExpression <em>Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Expression</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getExpression()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Expression();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getExtension <em>Extension</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Extension</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getExtension()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Extension();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getExtensionElements <em>Extension Elements</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Extension Elements</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getExtensionElements()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_ExtensionElements();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getFlowNode <em>Flow Node</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Flow Node</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getFlowNode()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_FlowNode();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getFormalExpression <em>Formal Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Formal Expression</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getFormalExpression()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_FormalExpression();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getGateway <em>Gateway</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Gateway</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getGateway()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Gateway();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getGlobalBusinessRuleTask <em>Global Business Rule Task</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Global Business Rule Task</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getGlobalBusinessRuleTask()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_GlobalBusinessRuleTask();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getGlobalChoreographyTask <em>Global Choreography Task</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Global Choreography Task</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getGlobalChoreographyTask()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_GlobalChoreographyTask();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getGlobalConversation <em>Global Conversation</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Global Conversation</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getGlobalConversation()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_GlobalConversation();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getGlobalManualTask <em>Global Manual Task</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Global Manual Task</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getGlobalManualTask()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_GlobalManualTask();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getGlobalScriptTask <em>Global Script Task</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Global Script Task</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getGlobalScriptTask()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_GlobalScriptTask();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getGlobalTask <em>Global Task</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Global Task</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getGlobalTask()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_GlobalTask();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getGlobalUserTask <em>Global User Task</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Global User Task</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getGlobalUserTask()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_GlobalUserTask();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getGroup <em>Group</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Group</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getGroup()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Group();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getHumanPerformer <em>Human Performer</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Human Performer</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getHumanPerformer()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_HumanPerformer();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getPerformer <em>Performer</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Performer</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getPerformer()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Performer();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getResourceRole <em>Resource Role</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Resource Role</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getResourceRole()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_ResourceRole();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getImplicitThrowEvent <em>Implicit Throw Event</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Implicit Throw Event</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getImplicitThrowEvent()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_ImplicitThrowEvent();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getImport <em>Import</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Import</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getImport()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Import();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getInclusiveGateway <em>Inclusive Gateway</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Inclusive Gateway</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getInclusiveGateway()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_InclusiveGateway();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getInputSet <em>Input Set</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Input Set</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getInputSet()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_InputSet();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getInterface <em>Interface</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Interface</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getInterface()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Interface();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getIntermediateCatchEvent <em>Intermediate Catch Event</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Intermediate Catch Event</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getIntermediateCatchEvent()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_IntermediateCatchEvent();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getIntermediateThrowEvent <em>Intermediate Throw Event</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Intermediate Throw Event</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getIntermediateThrowEvent()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_IntermediateThrowEvent();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getIoBinding <em>Io Binding</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Io Binding</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getIoBinding()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_IoBinding();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getIoSpecification <em>Io Specification</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Io Specification</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getIoSpecification()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_IoSpecification();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getItemDefinition <em>Item Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Item Definition</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getItemDefinition()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_ItemDefinition();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getLane <em>Lane</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Lane</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getLane()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Lane();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getLaneSet <em>Lane Set</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Lane Set</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getLaneSet()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_LaneSet();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getLinkEventDefinition <em>Link Event Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Link Event Definition</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getLinkEventDefinition()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_LinkEventDefinition();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getLoopCharacteristics <em>Loop Characteristics</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Loop Characteristics</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getLoopCharacteristics()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_LoopCharacteristics();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getManualTask <em>Manual Task</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Manual Task</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getManualTask()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_ManualTask();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getMessage <em>Message</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Message</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getMessage()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Message();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getMessageEventDefinition <em>Message Event Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Message Event Definition</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getMessageEventDefinition()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_MessageEventDefinition();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getMessageFlow <em>Message Flow</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Message Flow</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getMessageFlow()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_MessageFlow();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getMessageFlowAssociation <em>Message Flow Association</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Message Flow Association</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getMessageFlowAssociation()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_MessageFlowAssociation();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getMonitoring <em>Monitoring</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Monitoring</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getMonitoring()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Monitoring();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getMultiInstanceLoopCharacteristics <em>Multi Instance Loop Characteristics</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Multi Instance Loop Characteristics</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getMultiInstanceLoopCharacteristics()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_MultiInstanceLoopCharacteristics();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getOperation <em>Operation</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Operation</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getOperation()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Operation();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getOutputSet <em>Output Set</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Output Set</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getOutputSet()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_OutputSet();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getParallelGateway <em>Parallel Gateway</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Parallel Gateway</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getParallelGateway()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_ParallelGateway();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getParticipant <em>Participant</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Participant</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getParticipant()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Participant();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getParticipantAssociation <em>Participant Association</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Participant Association</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getParticipantAssociation()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_ParticipantAssociation();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getParticipantMultiplicity <em>Participant Multiplicity</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Participant Multiplicity</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getParticipantMultiplicity()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_ParticipantMultiplicity();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getPartnerEntity <em>Partner Entity</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Partner Entity</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getPartnerEntity()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_PartnerEntity();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getPartnerRole <em>Partner Role</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Partner Role</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getPartnerRole()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_PartnerRole();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getPotentialOwner <em>Potential Owner</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Potential Owner</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getPotentialOwner()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_PotentialOwner();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getProcess <em>Process</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Process</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getProcess()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Process();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getProperty <em>Property</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Property</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getProperty()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Property();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getReceiveTask <em>Receive Task</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Receive Task</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getReceiveTask()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_ReceiveTask();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getRelationship <em>Relationship</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Relationship</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getRelationship()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Relationship();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getRendering <em>Rendering</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Rendering</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getRendering()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Rendering();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getResource <em>Resource</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Resource</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getResource()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Resource();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getResourceAssignmentExpression <em>Resource Assignment Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Resource Assignment Expression</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getResourceAssignmentExpression()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_ResourceAssignmentExpression();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getResourceParameter <em>Resource Parameter</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Resource Parameter</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getResourceParameter()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_ResourceParameter();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getResourceParameterBinding <em>Resource Parameter Binding</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Resource Parameter Binding</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getResourceParameterBinding()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_ResourceParameterBinding();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getScript <em>Script</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Script</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getScript()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Script();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getScriptTask <em>Script Task</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Script Task</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getScriptTask()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_ScriptTask();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getSendTask <em>Send Task</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Send Task</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getSendTask()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_SendTask();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getSequenceFlow <em>Sequence Flow</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Sequence Flow</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getSequenceFlow()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_SequenceFlow();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getServiceTask <em>Service Task</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Service Task</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getServiceTask()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_ServiceTask();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getSignal <em>Signal</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Signal</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getSignal()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Signal();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getSignalEventDefinition <em>Signal Event Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Signal Event Definition</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getSignalEventDefinition()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_SignalEventDefinition();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getStandardLoopCharacteristics <em>Standard Loop Characteristics</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Standard Loop Characteristics</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getStandardLoopCharacteristics()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_StandardLoopCharacteristics();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getStartEvent <em>Start Event</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Start Event</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getStartEvent()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_StartEvent();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getSubChoreography <em>Sub Choreography</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Sub Choreography</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getSubChoreography()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_SubChoreography();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getSubConversation <em>Sub Conversation</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Sub Conversation</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getSubConversation()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_SubConversation();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getSubProcess <em>Sub Process</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Sub Process</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getSubProcess()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_SubProcess();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getTask <em>Task</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Task</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getTask()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Task();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getTerminateEventDefinition <em>Terminate Event Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Terminate Event Definition</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getTerminateEventDefinition()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_TerminateEventDefinition();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getText <em>Text</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Text</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getText()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Text();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getTextAnnotation <em>Text Annotation</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Text Annotation</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getTextAnnotation()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_TextAnnotation();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getThrowEvent <em>Throw Event</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Throw Event</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getThrowEvent()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_ThrowEvent();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getTimerEventDefinition <em>Timer Event Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Timer Event Definition</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getTimerEventDefinition()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_TimerEventDefinition();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getTransaction <em>Transaction</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Transaction</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getTransaction()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Transaction();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DocumentRoot#getUserTask <em>User Task</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>User Task</em>'.
+ * @see org.eclipse.bpmn2.DocumentRoot#getUserTask()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_UserTask();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.Activity <em>Activity</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Activity</em>'.
+ * @see org.eclipse.bpmn2.Activity
+ * @generated
+ */
+ EClass getActivity();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.Activity#getIoSpecification <em>Io Specification</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Io Specification</em>'.
+ * @see org.eclipse.bpmn2.Activity#getIoSpecification()
+ * @see #getActivity()
+ * @generated
+ */
+ EReference getActivity_IoSpecification();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.Activity#getBoundaryEventRefs <em>Boundary Event Refs</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Boundary Event Refs</em>'.
+ * @see org.eclipse.bpmn2.Activity#getBoundaryEventRefs()
+ * @see #getActivity()
+ * @generated
+ */
+ EReference getActivity_BoundaryEventRefs();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.Activity#getProperties <em>Properties</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Properties</em>'.
+ * @see org.eclipse.bpmn2.Activity#getProperties()
+ * @see #getActivity()
+ * @generated
+ */
+ EReference getActivity_Properties();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.Activity#getDataInputAssociations <em>Data Input Associations</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Data Input Associations</em>'.
+ * @see org.eclipse.bpmn2.Activity#getDataInputAssociations()
+ * @see #getActivity()
+ * @generated
+ */
+ EReference getActivity_DataInputAssociations();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.Activity#getDataOutputAssociations <em>Data Output Associations</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Data Output Associations</em>'.
+ * @see org.eclipse.bpmn2.Activity#getDataOutputAssociations()
+ * @see #getActivity()
+ * @generated
+ */
+ EReference getActivity_DataOutputAssociations();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.Activity#getResources <em>Resources</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Resources</em>'.
+ * @see org.eclipse.bpmn2.Activity#getResources()
+ * @see #getActivity()
+ * @generated
+ */
+ EReference getActivity_Resources();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.Activity#getLoopCharacteristics <em>Loop Characteristics</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Loop Characteristics</em>'.
+ * @see org.eclipse.bpmn2.Activity#getLoopCharacteristics()
+ * @see #getActivity()
+ * @generated
+ */
+ EReference getActivity_LoopCharacteristics();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Activity#getCompletionQuantity <em>Completion Quantity</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Completion Quantity</em>'.
+ * @see org.eclipse.bpmn2.Activity#getCompletionQuantity()
+ * @see #getActivity()
+ * @generated
+ */
+ EAttribute getActivity_CompletionQuantity();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.Activity#getDefault <em>Default</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Default</em>'.
+ * @see org.eclipse.bpmn2.Activity#getDefault()
+ * @see #getActivity()
+ * @generated
+ */
+ EReference getActivity_Default();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Activity#isIsForCompensation <em>Is For Compensation</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Is For Compensation</em>'.
+ * @see org.eclipse.bpmn2.Activity#isIsForCompensation()
+ * @see #getActivity()
+ * @generated
+ */
+ EAttribute getActivity_IsForCompensation();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Activity#getStartQuantity <em>Start Quantity</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Start Quantity</em>'.
+ * @see org.eclipse.bpmn2.Activity#getStartQuantity()
+ * @see #getActivity()
+ * @generated
+ */
+ EAttribute getActivity_StartQuantity();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.AdHocSubProcess <em>Ad Hoc Sub Process</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Ad Hoc Sub Process</em>'.
+ * @see org.eclipse.bpmn2.AdHocSubProcess
+ * @generated
+ */
+ EClass getAdHocSubProcess();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.AdHocSubProcess#getCompletionCondition <em>Completion Condition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Completion Condition</em>'.
+ * @see org.eclipse.bpmn2.AdHocSubProcess#getCompletionCondition()
+ * @see #getAdHocSubProcess()
+ * @generated
+ */
+ EReference getAdHocSubProcess_CompletionCondition();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.AdHocSubProcess#isCancelRemainingInstances <em>Cancel Remaining Instances</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Cancel Remaining Instances</em>'.
+ * @see org.eclipse.bpmn2.AdHocSubProcess#isCancelRemainingInstances()
+ * @see #getAdHocSubProcess()
+ * @generated
+ */
+ EAttribute getAdHocSubProcess_CancelRemainingInstances();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.AdHocSubProcess#getOrdering <em>Ordering</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Ordering</em>'.
+ * @see org.eclipse.bpmn2.AdHocSubProcess#getOrdering()
+ * @see #getAdHocSubProcess()
+ * @generated
+ */
+ EAttribute getAdHocSubProcess_Ordering();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.Artifact <em>Artifact</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Artifact</em>'.
+ * @see org.eclipse.bpmn2.Artifact
+ * @generated
+ */
+ EClass getArtifact();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.Assignment <em>Assignment</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Assignment</em>'.
+ * @see org.eclipse.bpmn2.Assignment
+ * @generated
+ */
+ EClass getAssignment();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.Assignment#getFrom <em>From</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>From</em>'.
+ * @see org.eclipse.bpmn2.Assignment#getFrom()
+ * @see #getAssignment()
+ * @generated
+ */
+ EReference getAssignment_From();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.Assignment#getTo <em>To</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>To</em>'.
+ * @see org.eclipse.bpmn2.Assignment#getTo()
+ * @see #getAssignment()
+ * @generated
+ */
+ EReference getAssignment_To();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.Association <em>Association</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Association</em>'.
+ * @see org.eclipse.bpmn2.Association
+ * @generated
+ */
+ EClass getAssociation();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Association#getAssociationDirection <em>Association Direction</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Association Direction</em>'.
+ * @see org.eclipse.bpmn2.Association#getAssociationDirection()
+ * @see #getAssociation()
+ * @generated
+ */
+ EAttribute getAssociation_AssociationDirection();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.Association#getSourceRef <em>Source Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Source Ref</em>'.
+ * @see org.eclipse.bpmn2.Association#getSourceRef()
+ * @see #getAssociation()
+ * @generated
+ */
+ EReference getAssociation_SourceRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.Association#getTargetRef <em>Target Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Target Ref</em>'.
+ * @see org.eclipse.bpmn2.Association#getTargetRef()
+ * @see #getAssociation()
+ * @generated
+ */
+ EReference getAssociation_TargetRef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.Auditing <em>Auditing</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Auditing</em>'.
+ * @see org.eclipse.bpmn2.Auditing
+ * @generated
+ */
+ EClass getAuditing();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.BaseElement <em>Base Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Base Element</em>'.
+ * @see org.eclipse.bpmn2.BaseElement
+ * @generated
+ */
+ EClass getBaseElement();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.BaseElement#getExtensionValues <em>Extension Values</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Extension Values</em>'.
+ * @see org.eclipse.bpmn2.BaseElement#getExtensionValues()
+ * @see #getBaseElement()
+ * @generated
+ */
+ EReference getBaseElement_ExtensionValues();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.BaseElement#getDocumentation <em>Documentation</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Documentation</em>'.
+ * @see org.eclipse.bpmn2.BaseElement#getDocumentation()
+ * @see #getBaseElement()
+ * @generated
+ */
+ EReference getBaseElement_Documentation();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.BaseElement#getExtensionDefinitions <em>Extension Definitions</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Extension Definitions</em>'.
+ * @see org.eclipse.bpmn2.BaseElement#getExtensionDefinitions()
+ * @see #getBaseElement()
+ * @generated
+ */
+ EReference getBaseElement_ExtensionDefinitions();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.BaseElement#getId <em>Id</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Id</em>'.
+ * @see org.eclipse.bpmn2.BaseElement#getId()
+ * @see #getBaseElement()
+ * @generated
+ */
+ EAttribute getBaseElement_Id();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.eclipse.bpmn2.BaseElement#getAnyAttribute <em>Any Attribute</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Any Attribute</em>'.
+ * @see org.eclipse.bpmn2.BaseElement#getAnyAttribute()
+ * @see #getBaseElement()
+ * @generated
+ */
+ EAttribute getBaseElement_AnyAttribute();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.BoundaryEvent <em>Boundary Event</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Boundary Event</em>'.
+ * @see org.eclipse.bpmn2.BoundaryEvent
+ * @generated
+ */
+ EClass getBoundaryEvent();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.BoundaryEvent#getAttachedToRef <em>Attached To Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Attached To Ref</em>'.
+ * @see org.eclipse.bpmn2.BoundaryEvent#getAttachedToRef()
+ * @see #getBoundaryEvent()
+ * @generated
+ */
+ EReference getBoundaryEvent_AttachedToRef();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.BoundaryEvent#isCancelActivity <em>Cancel Activity</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Cancel Activity</em>'.
+ * @see org.eclipse.bpmn2.BoundaryEvent#isCancelActivity()
+ * @see #getBoundaryEvent()
+ * @generated
+ */
+ EAttribute getBoundaryEvent_CancelActivity();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.BusinessRuleTask <em>Business Rule Task</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Business Rule Task</em>'.
+ * @see org.eclipse.bpmn2.BusinessRuleTask
+ * @generated
+ */
+ EClass getBusinessRuleTask();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.BusinessRuleTask#getImplementation <em>Implementation</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Implementation</em>'.
+ * @see org.eclipse.bpmn2.BusinessRuleTask#getImplementation()
+ * @see #getBusinessRuleTask()
+ * @generated
+ */
+ EAttribute getBusinessRuleTask_Implementation();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.CallActivity <em>Call Activity</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Call Activity</em>'.
+ * @see org.eclipse.bpmn2.CallActivity
+ * @generated
+ */
+ EClass getCallActivity();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.CallActivity#getCalledElementRef <em>Called Element Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Called Element Ref</em>'.
+ * @see org.eclipse.bpmn2.CallActivity#getCalledElementRef()
+ * @see #getCallActivity()
+ * @generated
+ */
+ EReference getCallActivity_CalledElementRef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.CallChoreography <em>Call Choreography</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Call Choreography</em>'.
+ * @see org.eclipse.bpmn2.CallChoreography
+ * @generated
+ */
+ EClass getCallChoreography();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.CallChoreography#getParticipantAssociations <em>Participant Associations</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Participant Associations</em>'.
+ * @see org.eclipse.bpmn2.CallChoreography#getParticipantAssociations()
+ * @see #getCallChoreography()
+ * @generated
+ */
+ EReference getCallChoreography_ParticipantAssociations();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.CallChoreography#getCalledChoreographyRef <em>Called Choreography Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Called Choreography Ref</em>'.
+ * @see org.eclipse.bpmn2.CallChoreography#getCalledChoreographyRef()
+ * @see #getCallChoreography()
+ * @generated
+ */
+ EReference getCallChoreography_CalledChoreographyRef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.CallConversation <em>Call Conversation</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Call Conversation</em>'.
+ * @see org.eclipse.bpmn2.CallConversation
+ * @generated
+ */
+ EClass getCallConversation();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.CallConversation#getParticipantAssociations <em>Participant Associations</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Participant Associations</em>'.
+ * @see org.eclipse.bpmn2.CallConversation#getParticipantAssociations()
+ * @see #getCallConversation()
+ * @generated
+ */
+ EReference getCallConversation_ParticipantAssociations();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.CallConversation#getCalledCollaborationRef <em>Called Collaboration Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Called Collaboration Ref</em>'.
+ * @see org.eclipse.bpmn2.CallConversation#getCalledCollaborationRef()
+ * @see #getCallConversation()
+ * @generated
+ */
+ EReference getCallConversation_CalledCollaborationRef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.CallableElement <em>Callable Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Callable Element</em>'.
+ * @see org.eclipse.bpmn2.CallableElement
+ * @generated
+ */
+ EClass getCallableElement();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.CallableElement#getSupportedInterfaceRefs <em>Supported Interface Refs</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Supported Interface Refs</em>'.
+ * @see org.eclipse.bpmn2.CallableElement#getSupportedInterfaceRefs()
+ * @see #getCallableElement()
+ * @generated
+ */
+ EReference getCallableElement_SupportedInterfaceRefs();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.CallableElement#getIoSpecification <em>Io Specification</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Io Specification</em>'.
+ * @see org.eclipse.bpmn2.CallableElement#getIoSpecification()
+ * @see #getCallableElement()
+ * @generated
+ */
+ EReference getCallableElement_IoSpecification();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.CallableElement#getIoBinding <em>Io Binding</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Io Binding</em>'.
+ * @see org.eclipse.bpmn2.CallableElement#getIoBinding()
+ * @see #getCallableElement()
+ * @generated
+ */
+ EReference getCallableElement_IoBinding();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.CallableElement#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpmn2.CallableElement#getName()
+ * @see #getCallableElement()
+ * @generated
+ */
+ EAttribute getCallableElement_Name();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.CancelEventDefinition <em>Cancel Event Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Cancel Event Definition</em>'.
+ * @see org.eclipse.bpmn2.CancelEventDefinition
+ * @generated
+ */
+ EClass getCancelEventDefinition();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.CatchEvent <em>Catch Event</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Catch Event</em>'.
+ * @see org.eclipse.bpmn2.CatchEvent
+ * @generated
+ */
+ EClass getCatchEvent();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.CatchEvent#getDataOutputs <em>Data Outputs</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Data Outputs</em>'.
+ * @see org.eclipse.bpmn2.CatchEvent#getDataOutputs()
+ * @see #getCatchEvent()
+ * @generated
+ */
+ EReference getCatchEvent_DataOutputs();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.CatchEvent#getDataOutputAssociation <em>Data Output Association</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Data Output Association</em>'.
+ * @see org.eclipse.bpmn2.CatchEvent#getDataOutputAssociation()
+ * @see #getCatchEvent()
+ * @generated
+ */
+ EReference getCatchEvent_DataOutputAssociation();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.CatchEvent#getOutputSet <em>Output Set</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Output Set</em>'.
+ * @see org.eclipse.bpmn2.CatchEvent#getOutputSet()
+ * @see #getCatchEvent()
+ * @generated
+ */
+ EReference getCatchEvent_OutputSet();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.CatchEvent#getEventDefinitions <em>Event Definitions</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Event Definitions</em>'.
+ * @see org.eclipse.bpmn2.CatchEvent#getEventDefinitions()
+ * @see #getCatchEvent()
+ * @generated
+ */
+ EReference getCatchEvent_EventDefinitions();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.CatchEvent#getEventDefinitionRefs <em>Event Definition Refs</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Event Definition Refs</em>'.
+ * @see org.eclipse.bpmn2.CatchEvent#getEventDefinitionRefs()
+ * @see #getCatchEvent()
+ * @generated
+ */
+ EReference getCatchEvent_EventDefinitionRefs();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.CatchEvent#isParallelMultiple <em>Parallel Multiple</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Parallel Multiple</em>'.
+ * @see org.eclipse.bpmn2.CatchEvent#isParallelMultiple()
+ * @see #getCatchEvent()
+ * @generated
+ */
+ EAttribute getCatchEvent_ParallelMultiple();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.Category <em>Category</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Category</em>'.
+ * @see org.eclipse.bpmn2.Category
+ * @generated
+ */
+ EClass getCategory();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.Category#getCategoryValue <em>Category Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Category Value</em>'.
+ * @see org.eclipse.bpmn2.Category#getCategoryValue()
+ * @see #getCategory()
+ * @generated
+ */
+ EReference getCategory_CategoryValue();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Category#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpmn2.Category#getName()
+ * @see #getCategory()
+ * @generated
+ */
+ EAttribute getCategory_Name();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.CategoryValue <em>Category Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Category Value</em>'.
+ * @see org.eclipse.bpmn2.CategoryValue
+ * @generated
+ */
+ EClass getCategoryValue();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.CategoryValue#getValue <em>Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Value</em>'.
+ * @see org.eclipse.bpmn2.CategoryValue#getValue()
+ * @see #getCategoryValue()
+ * @generated
+ */
+ EAttribute getCategoryValue_Value();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.CategoryValue#getCategorizedFlowElements <em>Categorized Flow Elements</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Categorized Flow Elements</em>'.
+ * @see org.eclipse.bpmn2.CategoryValue#getCategorizedFlowElements()
+ * @see #getCategoryValue()
+ * @generated
+ */
+ EReference getCategoryValue_CategorizedFlowElements();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.Choreography <em>Choreography</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Choreography</em>'.
+ * @see org.eclipse.bpmn2.Choreography
+ * @generated
+ */
+ EClass getChoreography();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.ChoreographyActivity <em>Choreography Activity</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Choreography Activity</em>'.
+ * @see org.eclipse.bpmn2.ChoreographyActivity
+ * @generated
+ */
+ EClass getChoreographyActivity();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.ChoreographyActivity#getParticipantRefs <em>Participant Refs</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Participant Refs</em>'.
+ * @see org.eclipse.bpmn2.ChoreographyActivity#getParticipantRefs()
+ * @see #getChoreographyActivity()
+ * @generated
+ */
+ EReference getChoreographyActivity_ParticipantRefs();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.ChoreographyActivity#getCorrelationKeys <em>Correlation Keys</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Correlation Keys</em>'.
+ * @see org.eclipse.bpmn2.ChoreographyActivity#getCorrelationKeys()
+ * @see #getChoreographyActivity()
+ * @generated
+ */
+ EReference getChoreographyActivity_CorrelationKeys();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.ChoreographyActivity#getInitiatingParticipantRef <em>Initiating Participant Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Initiating Participant Ref</em>'.
+ * @see org.eclipse.bpmn2.ChoreographyActivity#getInitiatingParticipantRef()
+ * @see #getChoreographyActivity()
+ * @generated
+ */
+ EReference getChoreographyActivity_InitiatingParticipantRef();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.ChoreographyActivity#getLoopType <em>Loop Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Loop Type</em>'.
+ * @see org.eclipse.bpmn2.ChoreographyActivity#getLoopType()
+ * @see #getChoreographyActivity()
+ * @generated
+ */
+ EAttribute getChoreographyActivity_LoopType();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.ChoreographyTask <em>Choreography Task</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Choreography Task</em>'.
+ * @see org.eclipse.bpmn2.ChoreographyTask
+ * @generated
+ */
+ EClass getChoreographyTask();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.ChoreographyTask#getMessageFlowRef <em>Message Flow Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Message Flow Ref</em>'.
+ * @see org.eclipse.bpmn2.ChoreographyTask#getMessageFlowRef()
+ * @see #getChoreographyTask()
+ * @generated
+ */
+ EReference getChoreographyTask_MessageFlowRef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.Collaboration <em>Collaboration</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Collaboration</em>'.
+ * @see org.eclipse.bpmn2.Collaboration
+ * @generated
+ */
+ EClass getCollaboration();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.Collaboration#getParticipants <em>Participants</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Participants</em>'.
+ * @see org.eclipse.bpmn2.Collaboration#getParticipants()
+ * @see #getCollaboration()
+ * @generated
+ */
+ EReference getCollaboration_Participants();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.Collaboration#getMessageFlows <em>Message Flows</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Message Flows</em>'.
+ * @see org.eclipse.bpmn2.Collaboration#getMessageFlows()
+ * @see #getCollaboration()
+ * @generated
+ */
+ EReference getCollaboration_MessageFlows();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.Collaboration#getArtifacts <em>Artifacts</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Artifacts</em>'.
+ * @see org.eclipse.bpmn2.Collaboration#getArtifacts()
+ * @see #getCollaboration()
+ * @generated
+ */
+ EReference getCollaboration_Artifacts();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.Collaboration#getConversations <em>Conversations</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Conversations</em>'.
+ * @see org.eclipse.bpmn2.Collaboration#getConversations()
+ * @see #getCollaboration()
+ * @generated
+ */
+ EReference getCollaboration_Conversations();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.Collaboration#getConversationAssociations <em>Conversation Associations</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Conversation Associations</em>'.
+ * @see org.eclipse.bpmn2.Collaboration#getConversationAssociations()
+ * @see #getCollaboration()
+ * @generated
+ */
+ EReference getCollaboration_ConversationAssociations();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.Collaboration#getParticipantAssociations <em>Participant Associations</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Participant Associations</em>'.
+ * @see org.eclipse.bpmn2.Collaboration#getParticipantAssociations()
+ * @see #getCollaboration()
+ * @generated
+ */
+ EReference getCollaboration_ParticipantAssociations();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.Collaboration#getMessageFlowAssociations <em>Message Flow Associations</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Message Flow Associations</em>'.
+ * @see org.eclipse.bpmn2.Collaboration#getMessageFlowAssociations()
+ * @see #getCollaboration()
+ * @generated
+ */
+ EReference getCollaboration_MessageFlowAssociations();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.Collaboration#getCorrelationKeys <em>Correlation Keys</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Correlation Keys</em>'.
+ * @see org.eclipse.bpmn2.Collaboration#getCorrelationKeys()
+ * @see #getCollaboration()
+ * @generated
+ */
+ EReference getCollaboration_CorrelationKeys();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.Collaboration#getChoreographyRef <em>Choreography Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Choreography Ref</em>'.
+ * @see org.eclipse.bpmn2.Collaboration#getChoreographyRef()
+ * @see #getCollaboration()
+ * @generated
+ */
+ EReference getCollaboration_ChoreographyRef();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.Collaboration#getConversationLinks <em>Conversation Links</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Conversation Links</em>'.
+ * @see org.eclipse.bpmn2.Collaboration#getConversationLinks()
+ * @see #getCollaboration()
+ * @generated
+ */
+ EReference getCollaboration_ConversationLinks();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Collaboration#isIsClosed <em>Is Closed</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Is Closed</em>'.
+ * @see org.eclipse.bpmn2.Collaboration#isIsClosed()
+ * @see #getCollaboration()
+ * @generated
+ */
+ EAttribute getCollaboration_IsClosed();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Collaboration#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpmn2.Collaboration#getName()
+ * @see #getCollaboration()
+ * @generated
+ */
+ EAttribute getCollaboration_Name();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.CompensateEventDefinition <em>Compensate Event Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Compensate Event Definition</em>'.
+ * @see org.eclipse.bpmn2.CompensateEventDefinition
+ * @generated
+ */
+ EClass getCompensateEventDefinition();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.CompensateEventDefinition#getActivityRef <em>Activity Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Activity Ref</em>'.
+ * @see org.eclipse.bpmn2.CompensateEventDefinition#getActivityRef()
+ * @see #getCompensateEventDefinition()
+ * @generated
+ */
+ EReference getCompensateEventDefinition_ActivityRef();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.CompensateEventDefinition#isWaitForCompletion <em>Wait For Completion</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Wait For Completion</em>'.
+ * @see org.eclipse.bpmn2.CompensateEventDefinition#isWaitForCompletion()
+ * @see #getCompensateEventDefinition()
+ * @generated
+ */
+ EAttribute getCompensateEventDefinition_WaitForCompletion();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.ComplexBehaviorDefinition <em>Complex Behavior Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Complex Behavior Definition</em>'.
+ * @see org.eclipse.bpmn2.ComplexBehaviorDefinition
+ * @generated
+ */
+ EClass getComplexBehaviorDefinition();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.ComplexBehaviorDefinition#getCondition <em>Condition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Condition</em>'.
+ * @see org.eclipse.bpmn2.ComplexBehaviorDefinition#getCondition()
+ * @see #getComplexBehaviorDefinition()
+ * @generated
+ */
+ EReference getComplexBehaviorDefinition_Condition();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.ComplexBehaviorDefinition#getEvent <em>Event</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Event</em>'.
+ * @see org.eclipse.bpmn2.ComplexBehaviorDefinition#getEvent()
+ * @see #getComplexBehaviorDefinition()
+ * @generated
+ */
+ EReference getComplexBehaviorDefinition_Event();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.ComplexGateway <em>Complex Gateway</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Complex Gateway</em>'.
+ * @see org.eclipse.bpmn2.ComplexGateway
+ * @generated
+ */
+ EClass getComplexGateway();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.ComplexGateway#getActivationCondition <em>Activation Condition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Activation Condition</em>'.
+ * @see org.eclipse.bpmn2.ComplexGateway#getActivationCondition()
+ * @see #getComplexGateway()
+ * @generated
+ */
+ EReference getComplexGateway_ActivationCondition();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.ComplexGateway#getDefault <em>Default</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Default</em>'.
+ * @see org.eclipse.bpmn2.ComplexGateway#getDefault()
+ * @see #getComplexGateway()
+ * @generated
+ */
+ EReference getComplexGateway_Default();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.ConditionalEventDefinition <em>Conditional Event Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Conditional Event Definition</em>'.
+ * @see org.eclipse.bpmn2.ConditionalEventDefinition
+ * @generated
+ */
+ EClass getConditionalEventDefinition();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.ConditionalEventDefinition#getCondition <em>Condition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Condition</em>'.
+ * @see org.eclipse.bpmn2.ConditionalEventDefinition#getCondition()
+ * @see #getConditionalEventDefinition()
+ * @generated
+ */
+ EReference getConditionalEventDefinition_Condition();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.Conversation <em>Conversation</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Conversation</em>'.
+ * @see org.eclipse.bpmn2.Conversation
+ * @generated
+ */
+ EClass getConversation();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.ConversationAssociation <em>Conversation Association</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Conversation Association</em>'.
+ * @see org.eclipse.bpmn2.ConversationAssociation
+ * @generated
+ */
+ EClass getConversationAssociation();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.ConversationAssociation#getInnerConversationNodeRef <em>Inner Conversation Node Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Inner Conversation Node Ref</em>'.
+ * @see org.eclipse.bpmn2.ConversationAssociation#getInnerConversationNodeRef()
+ * @see #getConversationAssociation()
+ * @generated
+ */
+ EReference getConversationAssociation_InnerConversationNodeRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.ConversationAssociation#getOuterConversationNodeRef <em>Outer Conversation Node Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Outer Conversation Node Ref</em>'.
+ * @see org.eclipse.bpmn2.ConversationAssociation#getOuterConversationNodeRef()
+ * @see #getConversationAssociation()
+ * @generated
+ */
+ EReference getConversationAssociation_OuterConversationNodeRef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.ConversationLink <em>Conversation Link</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Conversation Link</em>'.
+ * @see org.eclipse.bpmn2.ConversationLink
+ * @generated
+ */
+ EClass getConversationLink();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.ConversationLink#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpmn2.ConversationLink#getName()
+ * @see #getConversationLink()
+ * @generated
+ */
+ EAttribute getConversationLink_Name();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.ConversationLink#getSourceRef <em>Source Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Source Ref</em>'.
+ * @see org.eclipse.bpmn2.ConversationLink#getSourceRef()
+ * @see #getConversationLink()
+ * @generated
+ */
+ EReference getConversationLink_SourceRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.ConversationLink#getTargetRef <em>Target Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Target Ref</em>'.
+ * @see org.eclipse.bpmn2.ConversationLink#getTargetRef()
+ * @see #getConversationLink()
+ * @generated
+ */
+ EReference getConversationLink_TargetRef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.ConversationNode <em>Conversation Node</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Conversation Node</em>'.
+ * @see org.eclipse.bpmn2.ConversationNode
+ * @generated
+ */
+ EClass getConversationNode();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.ConversationNode#getParticipantRefs <em>Participant Refs</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Participant Refs</em>'.
+ * @see org.eclipse.bpmn2.ConversationNode#getParticipantRefs()
+ * @see #getConversationNode()
+ * @generated
+ */
+ EReference getConversationNode_ParticipantRefs();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.ConversationNode#getMessageFlowRefs <em>Message Flow Refs</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Message Flow Refs</em>'.
+ * @see org.eclipse.bpmn2.ConversationNode#getMessageFlowRefs()
+ * @see #getConversationNode()
+ * @generated
+ */
+ EReference getConversationNode_MessageFlowRefs();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.ConversationNode#getCorrelationKeys <em>Correlation Keys</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Correlation Keys</em>'.
+ * @see org.eclipse.bpmn2.ConversationNode#getCorrelationKeys()
+ * @see #getConversationNode()
+ * @generated
+ */
+ EReference getConversationNode_CorrelationKeys();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.ConversationNode#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpmn2.ConversationNode#getName()
+ * @see #getConversationNode()
+ * @generated
+ */
+ EAttribute getConversationNode_Name();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.CorrelationKey <em>Correlation Key</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Correlation Key</em>'.
+ * @see org.eclipse.bpmn2.CorrelationKey
+ * @generated
+ */
+ EClass getCorrelationKey();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.CorrelationKey#getCorrelationPropertyRef <em>Correlation Property Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Correlation Property Ref</em>'.
+ * @see org.eclipse.bpmn2.CorrelationKey#getCorrelationPropertyRef()
+ * @see #getCorrelationKey()
+ * @generated
+ */
+ EReference getCorrelationKey_CorrelationPropertyRef();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.CorrelationKey#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpmn2.CorrelationKey#getName()
+ * @see #getCorrelationKey()
+ * @generated
+ */
+ EAttribute getCorrelationKey_Name();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.CorrelationProperty <em>Correlation Property</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Correlation Property</em>'.
+ * @see org.eclipse.bpmn2.CorrelationProperty
+ * @generated
+ */
+ EClass getCorrelationProperty();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.CorrelationProperty#getCorrelationPropertyRetrievalExpression <em>Correlation Property Retrieval Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Correlation Property Retrieval Expression</em>'.
+ * @see org.eclipse.bpmn2.CorrelationProperty#getCorrelationPropertyRetrievalExpression()
+ * @see #getCorrelationProperty()
+ * @generated
+ */
+ EReference getCorrelationProperty_CorrelationPropertyRetrievalExpression();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.CorrelationProperty#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpmn2.CorrelationProperty#getName()
+ * @see #getCorrelationProperty()
+ * @generated
+ */
+ EAttribute getCorrelationProperty_Name();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.CorrelationProperty#getType <em>Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Type</em>'.
+ * @see org.eclipse.bpmn2.CorrelationProperty#getType()
+ * @see #getCorrelationProperty()
+ * @generated
+ */
+ EReference getCorrelationProperty_Type();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.CorrelationPropertyBinding <em>Correlation Property Binding</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Correlation Property Binding</em>'.
+ * @see org.eclipse.bpmn2.CorrelationPropertyBinding
+ * @generated
+ */
+ EClass getCorrelationPropertyBinding();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.CorrelationPropertyBinding#getDataPath <em>Data Path</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Data Path</em>'.
+ * @see org.eclipse.bpmn2.CorrelationPropertyBinding#getDataPath()
+ * @see #getCorrelationPropertyBinding()
+ * @generated
+ */
+ EReference getCorrelationPropertyBinding_DataPath();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.CorrelationPropertyBinding#getCorrelationPropertyRef <em>Correlation Property Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Correlation Property Ref</em>'.
+ * @see org.eclipse.bpmn2.CorrelationPropertyBinding#getCorrelationPropertyRef()
+ * @see #getCorrelationPropertyBinding()
+ * @generated
+ */
+ EReference getCorrelationPropertyBinding_CorrelationPropertyRef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.CorrelationPropertyRetrievalExpression <em>Correlation Property Retrieval Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Correlation Property Retrieval Expression</em>'.
+ * @see org.eclipse.bpmn2.CorrelationPropertyRetrievalExpression
+ * @generated
+ */
+ EClass getCorrelationPropertyRetrievalExpression();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.CorrelationPropertyRetrievalExpression#getMessagePath <em>Message Path</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Message Path</em>'.
+ * @see org.eclipse.bpmn2.CorrelationPropertyRetrievalExpression#getMessagePath()
+ * @see #getCorrelationPropertyRetrievalExpression()
+ * @generated
+ */
+ EReference getCorrelationPropertyRetrievalExpression_MessagePath();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.CorrelationPropertyRetrievalExpression#getMessageRef <em>Message Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Message Ref</em>'.
+ * @see org.eclipse.bpmn2.CorrelationPropertyRetrievalExpression#getMessageRef()
+ * @see #getCorrelationPropertyRetrievalExpression()
+ * @generated
+ */
+ EReference getCorrelationPropertyRetrievalExpression_MessageRef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.CorrelationSubscription <em>Correlation Subscription</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Correlation Subscription</em>'.
+ * @see org.eclipse.bpmn2.CorrelationSubscription
+ * @generated
+ */
+ EClass getCorrelationSubscription();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.CorrelationSubscription#getCorrelationPropertyBinding <em>Correlation Property Binding</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Correlation Property Binding</em>'.
+ * @see org.eclipse.bpmn2.CorrelationSubscription#getCorrelationPropertyBinding()
+ * @see #getCorrelationSubscription()
+ * @generated
+ */
+ EReference getCorrelationSubscription_CorrelationPropertyBinding();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.CorrelationSubscription#getCorrelationKeyRef <em>Correlation Key Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Correlation Key Ref</em>'.
+ * @see org.eclipse.bpmn2.CorrelationSubscription#getCorrelationKeyRef()
+ * @see #getCorrelationSubscription()
+ * @generated
+ */
+ EReference getCorrelationSubscription_CorrelationKeyRef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.DataAssociation <em>Data Association</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Data Association</em>'.
+ * @see org.eclipse.bpmn2.DataAssociation
+ * @generated
+ */
+ EClass getDataAssociation();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.DataAssociation#getSourceRef <em>Source Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Source Ref</em>'.
+ * @see org.eclipse.bpmn2.DataAssociation#getSourceRef()
+ * @see #getDataAssociation()
+ * @generated
+ */
+ EReference getDataAssociation_SourceRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.DataAssociation#getTargetRef <em>Target Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Target Ref</em>'.
+ * @see org.eclipse.bpmn2.DataAssociation#getTargetRef()
+ * @see #getDataAssociation()
+ * @generated
+ */
+ EReference getDataAssociation_TargetRef();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.DataAssociation#getTransformation <em>Transformation</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Transformation</em>'.
+ * @see org.eclipse.bpmn2.DataAssociation#getTransformation()
+ * @see #getDataAssociation()
+ * @generated
+ */
+ EReference getDataAssociation_Transformation();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.DataAssociation#getAssignment <em>Assignment</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Assignment</em>'.
+ * @see org.eclipse.bpmn2.DataAssociation#getAssignment()
+ * @see #getDataAssociation()
+ * @generated
+ */
+ EReference getDataAssociation_Assignment();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.DataInput <em>Data Input</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Data Input</em>'.
+ * @see org.eclipse.bpmn2.DataInput
+ * @generated
+ */
+ EClass getDataInput();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.DataInput#getInputSetWithOptional <em>Input Set With Optional</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Input Set With Optional</em>'.
+ * @see org.eclipse.bpmn2.DataInput#getInputSetWithOptional()
+ * @see #getDataInput()
+ * @generated
+ */
+ EReference getDataInput_InputSetWithOptional();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.DataInput#getInputSetWithWhileExecuting <em>Input Set With While Executing</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Input Set With While Executing</em>'.
+ * @see org.eclipse.bpmn2.DataInput#getInputSetWithWhileExecuting()
+ * @see #getDataInput()
+ * @generated
+ */
+ EReference getDataInput_InputSetWithWhileExecuting();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.DataInput#getInputSetRefs <em>Input Set Refs</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Input Set Refs</em>'.
+ * @see org.eclipse.bpmn2.DataInput#getInputSetRefs()
+ * @see #getDataInput()
+ * @generated
+ */
+ EReference getDataInput_InputSetRefs();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.DataInput#isIsCollection <em>Is Collection</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Is Collection</em>'.
+ * @see org.eclipse.bpmn2.DataInput#isIsCollection()
+ * @see #getDataInput()
+ * @generated
+ */
+ EAttribute getDataInput_IsCollection();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.DataInput#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpmn2.DataInput#getName()
+ * @see #getDataInput()
+ * @generated
+ */
+ EAttribute getDataInput_Name();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.DataInputAssociation <em>Data Input Association</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Data Input Association</em>'.
+ * @see org.eclipse.bpmn2.DataInputAssociation
+ * @generated
+ */
+ EClass getDataInputAssociation();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.DataObject <em>Data Object</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Data Object</em>'.
+ * @see org.eclipse.bpmn2.DataObject
+ * @generated
+ */
+ EClass getDataObject();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.DataObject#isIsCollection <em>Is Collection</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Is Collection</em>'.
+ * @see org.eclipse.bpmn2.DataObject#isIsCollection()
+ * @see #getDataObject()
+ * @generated
+ */
+ EAttribute getDataObject_IsCollection();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.DataObjectReference <em>Data Object Reference</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Data Object Reference</em>'.
+ * @see org.eclipse.bpmn2.DataObjectReference
+ * @generated
+ */
+ EClass getDataObjectReference();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.DataObjectReference#getDataObjectRef <em>Data Object Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Data Object Ref</em>'.
+ * @see org.eclipse.bpmn2.DataObjectReference#getDataObjectRef()
+ * @see #getDataObjectReference()
+ * @generated
+ */
+ EReference getDataObjectReference_DataObjectRef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.DataOutput <em>Data Output</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Data Output</em>'.
+ * @see org.eclipse.bpmn2.DataOutput
+ * @generated
+ */
+ EClass getDataOutput();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.DataOutput#getOutputSetWithOptional <em>Output Set With Optional</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Output Set With Optional</em>'.
+ * @see org.eclipse.bpmn2.DataOutput#getOutputSetWithOptional()
+ * @see #getDataOutput()
+ * @generated
+ */
+ EReference getDataOutput_OutputSetWithOptional();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.DataOutput#getOutputSetWithWhileExecuting <em>Output Set With While Executing</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Output Set With While Executing</em>'.
+ * @see org.eclipse.bpmn2.DataOutput#getOutputSetWithWhileExecuting()
+ * @see #getDataOutput()
+ * @generated
+ */
+ EReference getDataOutput_OutputSetWithWhileExecuting();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.DataOutput#getOutputSetRefs <em>Output Set Refs</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Output Set Refs</em>'.
+ * @see org.eclipse.bpmn2.DataOutput#getOutputSetRefs()
+ * @see #getDataOutput()
+ * @generated
+ */
+ EReference getDataOutput_OutputSetRefs();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.DataOutput#isIsCollection <em>Is Collection</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Is Collection</em>'.
+ * @see org.eclipse.bpmn2.DataOutput#isIsCollection()
+ * @see #getDataOutput()
+ * @generated
+ */
+ EAttribute getDataOutput_IsCollection();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.DataOutput#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpmn2.DataOutput#getName()
+ * @see #getDataOutput()
+ * @generated
+ */
+ EAttribute getDataOutput_Name();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.DataOutputAssociation <em>Data Output Association</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Data Output Association</em>'.
+ * @see org.eclipse.bpmn2.DataOutputAssociation
+ * @generated
+ */
+ EClass getDataOutputAssociation();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.DataState <em>Data State</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Data State</em>'.
+ * @see org.eclipse.bpmn2.DataState
+ * @generated
+ */
+ EClass getDataState();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.DataState#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpmn2.DataState#getName()
+ * @see #getDataState()
+ * @generated
+ */
+ EAttribute getDataState_Name();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.DataStore <em>Data Store</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Data Store</em>'.
+ * @see org.eclipse.bpmn2.DataStore
+ * @generated
+ */
+ EClass getDataStore();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.DataStore#getCapacity <em>Capacity</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Capacity</em>'.
+ * @see org.eclipse.bpmn2.DataStore#getCapacity()
+ * @see #getDataStore()
+ * @generated
+ */
+ EAttribute getDataStore_Capacity();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.DataStore#isIsUnlimited <em>Is Unlimited</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Is Unlimited</em>'.
+ * @see org.eclipse.bpmn2.DataStore#isIsUnlimited()
+ * @see #getDataStore()
+ * @generated
+ */
+ EAttribute getDataStore_IsUnlimited();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.DataStore#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpmn2.DataStore#getName()
+ * @see #getDataStore()
+ * @generated
+ */
+ EAttribute getDataStore_Name();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.DataStoreReference <em>Data Store Reference</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Data Store Reference</em>'.
+ * @see org.eclipse.bpmn2.DataStoreReference
+ * @generated
+ */
+ EClass getDataStoreReference();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.DataStoreReference#getDataStoreRef <em>Data Store Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Data Store Ref</em>'.
+ * @see org.eclipse.bpmn2.DataStoreReference#getDataStoreRef()
+ * @see #getDataStoreReference()
+ * @generated
+ */
+ EReference getDataStoreReference_DataStoreRef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.Definitions <em>Definitions</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Definitions</em>'.
+ * @see org.eclipse.bpmn2.Definitions
+ * @generated
+ */
+ EClass getDefinitions();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.Definitions#getImports <em>Imports</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Imports</em>'.
+ * @see org.eclipse.bpmn2.Definitions#getImports()
+ * @see #getDefinitions()
+ * @generated
+ */
+ EReference getDefinitions_Imports();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.Definitions#getExtensions <em>Extensions</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Extensions</em>'.
+ * @see org.eclipse.bpmn2.Definitions#getExtensions()
+ * @see #getDefinitions()
+ * @generated
+ */
+ EReference getDefinitions_Extensions();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.Definitions#getRootElements <em>Root Elements</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Root Elements</em>'.
+ * @see org.eclipse.bpmn2.Definitions#getRootElements()
+ * @see #getDefinitions()
+ * @generated
+ */
+ EReference getDefinitions_RootElements();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.Definitions#getDiagrams <em>Diagrams</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Diagrams</em>'.
+ * @see org.eclipse.bpmn2.Definitions#getDiagrams()
+ * @see #getDefinitions()
+ * @generated
+ */
+ EReference getDefinitions_Diagrams();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.Definitions#getRelationships <em>Relationships</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Relationships</em>'.
+ * @see org.eclipse.bpmn2.Definitions#getRelationships()
+ * @see #getDefinitions()
+ * @generated
+ */
+ EReference getDefinitions_Relationships();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Definitions#getExporter <em>Exporter</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Exporter</em>'.
+ * @see org.eclipse.bpmn2.Definitions#getExporter()
+ * @see #getDefinitions()
+ * @generated
+ */
+ EAttribute getDefinitions_Exporter();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Definitions#getExporterVersion <em>Exporter Version</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Exporter Version</em>'.
+ * @see org.eclipse.bpmn2.Definitions#getExporterVersion()
+ * @see #getDefinitions()
+ * @generated
+ */
+ EAttribute getDefinitions_ExporterVersion();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Definitions#getExpressionLanguage <em>Expression Language</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Expression Language</em>'.
+ * @see org.eclipse.bpmn2.Definitions#getExpressionLanguage()
+ * @see #getDefinitions()
+ * @generated
+ */
+ EAttribute getDefinitions_ExpressionLanguage();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Definitions#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpmn2.Definitions#getName()
+ * @see #getDefinitions()
+ * @generated
+ */
+ EAttribute getDefinitions_Name();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Definitions#getTargetNamespace <em>Target Namespace</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Target Namespace</em>'.
+ * @see org.eclipse.bpmn2.Definitions#getTargetNamespace()
+ * @see #getDefinitions()
+ * @generated
+ */
+ EAttribute getDefinitions_TargetNamespace();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Definitions#getTypeLanguage <em>Type Language</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Type Language</em>'.
+ * @see org.eclipse.bpmn2.Definitions#getTypeLanguage()
+ * @see #getDefinitions()
+ * @generated
+ */
+ EAttribute getDefinitions_TypeLanguage();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.Documentation <em>Documentation</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Documentation</em>'.
+ * @see org.eclipse.bpmn2.Documentation
+ * @generated
+ */
+ EClass getDocumentation();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.eclipse.bpmn2.Documentation#getMixed <em>Mixed</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Mixed</em>'.
+ * @see org.eclipse.bpmn2.Documentation#getMixed()
+ * @see #getDocumentation()
+ * @generated
+ */
+ EAttribute getDocumentation_Mixed();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Documentation#getText <em>Text</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Text</em>'.
+ * @see org.eclipse.bpmn2.Documentation#getText()
+ * @see #getDocumentation()
+ * @generated
+ */
+ EAttribute getDocumentation_Text();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Documentation#getTextFormat <em>Text Format</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Text Format</em>'.
+ * @see org.eclipse.bpmn2.Documentation#getTextFormat()
+ * @see #getDocumentation()
+ * @generated
+ */
+ EAttribute getDocumentation_TextFormat();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.EndEvent <em>End Event</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>End Event</em>'.
+ * @see org.eclipse.bpmn2.EndEvent
+ * @generated
+ */
+ EClass getEndEvent();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.EndPoint <em>End Point</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>End Point</em>'.
+ * @see org.eclipse.bpmn2.EndPoint
+ * @generated
+ */
+ EClass getEndPoint();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.Error <em>Error</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Error</em>'.
+ * @see org.eclipse.bpmn2.Error
+ * @generated
+ */
+ EClass getError();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Error#getErrorCode <em>Error Code</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Error Code</em>'.
+ * @see org.eclipse.bpmn2.Error#getErrorCode()
+ * @see #getError()
+ * @generated
+ */
+ EAttribute getError_ErrorCode();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Error#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpmn2.Error#getName()
+ * @see #getError()
+ * @generated
+ */
+ EAttribute getError_Name();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.Error#getStructureRef <em>Structure Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Structure Ref</em>'.
+ * @see org.eclipse.bpmn2.Error#getStructureRef()
+ * @see #getError()
+ * @generated
+ */
+ EReference getError_StructureRef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.ErrorEventDefinition <em>Error Event Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Error Event Definition</em>'.
+ * @see org.eclipse.bpmn2.ErrorEventDefinition
+ * @generated
+ */
+ EClass getErrorEventDefinition();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.ErrorEventDefinition#getErrorRef <em>Error Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Error Ref</em>'.
+ * @see org.eclipse.bpmn2.ErrorEventDefinition#getErrorRef()
+ * @see #getErrorEventDefinition()
+ * @generated
+ */
+ EReference getErrorEventDefinition_ErrorRef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.Escalation <em>Escalation</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Escalation</em>'.
+ * @see org.eclipse.bpmn2.Escalation
+ * @generated
+ */
+ EClass getEscalation();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Escalation#getEscalationCode <em>Escalation Code</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Escalation Code</em>'.
+ * @see org.eclipse.bpmn2.Escalation#getEscalationCode()
+ * @see #getEscalation()
+ * @generated
+ */
+ EAttribute getEscalation_EscalationCode();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Escalation#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpmn2.Escalation#getName()
+ * @see #getEscalation()
+ * @generated
+ */
+ EAttribute getEscalation_Name();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.Escalation#getStructureRef <em>Structure Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Structure Ref</em>'.
+ * @see org.eclipse.bpmn2.Escalation#getStructureRef()
+ * @see #getEscalation()
+ * @generated
+ */
+ EReference getEscalation_StructureRef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.EscalationEventDefinition <em>Escalation Event Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Escalation Event Definition</em>'.
+ * @see org.eclipse.bpmn2.EscalationEventDefinition
+ * @generated
+ */
+ EClass getEscalationEventDefinition();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.EscalationEventDefinition#getEscalationRef <em>Escalation Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Escalation Ref</em>'.
+ * @see org.eclipse.bpmn2.EscalationEventDefinition#getEscalationRef()
+ * @see #getEscalationEventDefinition()
+ * @generated
+ */
+ EReference getEscalationEventDefinition_EscalationRef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.Event <em>Event</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Event</em>'.
+ * @see org.eclipse.bpmn2.Event
+ * @generated
+ */
+ EClass getEvent();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.Event#getProperties <em>Properties</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Properties</em>'.
+ * @see org.eclipse.bpmn2.Event#getProperties()
+ * @see #getEvent()
+ * @generated
+ */
+ EReference getEvent_Properties();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.EventBasedGateway <em>Event Based Gateway</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Event Based Gateway</em>'.
+ * @see org.eclipse.bpmn2.EventBasedGateway
+ * @generated
+ */
+ EClass getEventBasedGateway();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.EventBasedGateway#getEventGatewayType <em>Event Gateway Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Event Gateway Type</em>'.
+ * @see org.eclipse.bpmn2.EventBasedGateway#getEventGatewayType()
+ * @see #getEventBasedGateway()
+ * @generated
+ */
+ EAttribute getEventBasedGateway_EventGatewayType();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.EventBasedGateway#isInstantiate <em>Instantiate</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Instantiate</em>'.
+ * @see org.eclipse.bpmn2.EventBasedGateway#isInstantiate()
+ * @see #getEventBasedGateway()
+ * @generated
+ */
+ EAttribute getEventBasedGateway_Instantiate();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.EventDefinition <em>Event Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Event Definition</em>'.
+ * @see org.eclipse.bpmn2.EventDefinition
+ * @generated
+ */
+ EClass getEventDefinition();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.ExclusiveGateway <em>Exclusive Gateway</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Exclusive Gateway</em>'.
+ * @see org.eclipse.bpmn2.ExclusiveGateway
+ * @generated
+ */
+ EClass getExclusiveGateway();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.ExclusiveGateway#getDefault <em>Default</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Default</em>'.
+ * @see org.eclipse.bpmn2.ExclusiveGateway#getDefault()
+ * @see #getExclusiveGateway()
+ * @generated
+ */
+ EReference getExclusiveGateway_Default();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.Expression <em>Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Expression</em>'.
+ * @see org.eclipse.bpmn2.Expression
+ * @generated
+ */
+ EClass getExpression();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.Extension <em>Extension</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Extension</em>'.
+ * @see org.eclipse.bpmn2.Extension
+ * @generated
+ */
+ EClass getExtension();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.Extension#getDefinition <em>Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Definition</em>'.
+ * @see org.eclipse.bpmn2.Extension#getDefinition()
+ * @see #getExtension()
+ * @generated
+ */
+ EReference getExtension_Definition();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Extension#isMustUnderstand <em>Must Understand</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Must Understand</em>'.
+ * @see org.eclipse.bpmn2.Extension#isMustUnderstand()
+ * @see #getExtension()
+ * @generated
+ */
+ EAttribute getExtension_MustUnderstand();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Extension#getXsdDefinition <em>Xsd Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xsd Definition</em>'.
+ * @see org.eclipse.bpmn2.Extension#getXsdDefinition()
+ * @see #getExtension()
+ * @generated
+ */
+ EAttribute getExtension_XsdDefinition();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.ExtensionAttributeDefinition <em>Extension Attribute Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Extension Attribute Definition</em>'.
+ * @see org.eclipse.bpmn2.ExtensionAttributeDefinition
+ * @generated
+ */
+ EClass getExtensionAttributeDefinition();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.ExtensionAttributeDefinition#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpmn2.ExtensionAttributeDefinition#getName()
+ * @see #getExtensionAttributeDefinition()
+ * @generated
+ */
+ EAttribute getExtensionAttributeDefinition_Name();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.ExtensionAttributeDefinition#getType <em>Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Type</em>'.
+ * @see org.eclipse.bpmn2.ExtensionAttributeDefinition#getType()
+ * @see #getExtensionAttributeDefinition()
+ * @generated
+ */
+ EAttribute getExtensionAttributeDefinition_Type();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.ExtensionAttributeDefinition#isIsReference <em>Is Reference</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Is Reference</em>'.
+ * @see org.eclipse.bpmn2.ExtensionAttributeDefinition#isIsReference()
+ * @see #getExtensionAttributeDefinition()
+ * @generated
+ */
+ EAttribute getExtensionAttributeDefinition_IsReference();
+
+ /**
+ * Returns the meta object for the container reference '{@link org.eclipse.bpmn2.ExtensionAttributeDefinition#getExtensionDefinition <em>Extension Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the container reference '<em>Extension Definition</em>'.
+ * @see org.eclipse.bpmn2.ExtensionAttributeDefinition#getExtensionDefinition()
+ * @see #getExtensionAttributeDefinition()
+ * @generated
+ */
+ EReference getExtensionAttributeDefinition_ExtensionDefinition();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.ExtensionAttributeValue <em>Extension Attribute Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Extension Attribute Value</em>'.
+ * @see org.eclipse.bpmn2.ExtensionAttributeValue
+ * @generated
+ */
+ EClass getExtensionAttributeValue();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.ExtensionAttributeValue#getValueRef <em>Value Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Value Ref</em>'.
+ * @see org.eclipse.bpmn2.ExtensionAttributeValue#getValueRef()
+ * @see #getExtensionAttributeValue()
+ * @generated
+ */
+ EReference getExtensionAttributeValue_ValueRef();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.eclipse.bpmn2.ExtensionAttributeValue#getValue <em>Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Value</em>'.
+ * @see org.eclipse.bpmn2.ExtensionAttributeValue#getValue()
+ * @see #getExtensionAttributeValue()
+ * @generated
+ */
+ EAttribute getExtensionAttributeValue_Value();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.ExtensionAttributeValue#getExtensionAttributeDefinition <em>Extension Attribute Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Extension Attribute Definition</em>'.
+ * @see org.eclipse.bpmn2.ExtensionAttributeValue#getExtensionAttributeDefinition()
+ * @see #getExtensionAttributeValue()
+ * @generated
+ */
+ EReference getExtensionAttributeValue_ExtensionAttributeDefinition();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.ExtensionDefinition <em>Extension Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Extension Definition</em>'.
+ * @see org.eclipse.bpmn2.ExtensionDefinition
+ * @generated
+ */
+ EClass getExtensionDefinition();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.ExtensionDefinition#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpmn2.ExtensionDefinition#getName()
+ * @see #getExtensionDefinition()
+ * @generated
+ */
+ EAttribute getExtensionDefinition_Name();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.ExtensionDefinition#getExtensionAttributeDefinitions <em>Extension Attribute Definitions</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Extension Attribute Definitions</em>'.
+ * @see org.eclipse.bpmn2.ExtensionDefinition#getExtensionAttributeDefinitions()
+ * @see #getExtensionDefinition()
+ * @generated
+ */
+ EReference getExtensionDefinition_ExtensionAttributeDefinitions();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.FlowElement <em>Flow Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Flow Element</em>'.
+ * @see org.eclipse.bpmn2.FlowElement
+ * @generated
+ */
+ EClass getFlowElement();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.FlowElement#getAuditing <em>Auditing</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Auditing</em>'.
+ * @see org.eclipse.bpmn2.FlowElement#getAuditing()
+ * @see #getFlowElement()
+ * @generated
+ */
+ EReference getFlowElement_Auditing();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.FlowElement#getMonitoring <em>Monitoring</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Monitoring</em>'.
+ * @see org.eclipse.bpmn2.FlowElement#getMonitoring()
+ * @see #getFlowElement()
+ * @generated
+ */
+ EReference getFlowElement_Monitoring();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.FlowElement#getCategoryValueRef <em>Category Value Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Category Value Ref</em>'.
+ * @see org.eclipse.bpmn2.FlowElement#getCategoryValueRef()
+ * @see #getFlowElement()
+ * @generated
+ */
+ EReference getFlowElement_CategoryValueRef();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.FlowElement#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpmn2.FlowElement#getName()
+ * @see #getFlowElement()
+ * @generated
+ */
+ EAttribute getFlowElement_Name();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.FlowElementsContainer <em>Flow Elements Container</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Flow Elements Container</em>'.
+ * @see org.eclipse.bpmn2.FlowElementsContainer
+ * @generated
+ */
+ EClass getFlowElementsContainer();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.FlowElementsContainer#getLaneSets <em>Lane Sets</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Lane Sets</em>'.
+ * @see org.eclipse.bpmn2.FlowElementsContainer#getLaneSets()
+ * @see #getFlowElementsContainer()
+ * @generated
+ */
+ EReference getFlowElementsContainer_LaneSets();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.FlowElementsContainer#getFlowElements <em>Flow Elements</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Flow Elements</em>'.
+ * @see org.eclipse.bpmn2.FlowElementsContainer#getFlowElements()
+ * @see #getFlowElementsContainer()
+ * @generated
+ */
+ EReference getFlowElementsContainer_FlowElements();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.FlowNode <em>Flow Node</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Flow Node</em>'.
+ * @see org.eclipse.bpmn2.FlowNode
+ * @generated
+ */
+ EClass getFlowNode();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.FlowNode#getIncoming <em>Incoming</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Incoming</em>'.
+ * @see org.eclipse.bpmn2.FlowNode#getIncoming()
+ * @see #getFlowNode()
+ * @generated
+ */
+ EReference getFlowNode_Incoming();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.FlowNode#getLanes <em>Lanes</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Lanes</em>'.
+ * @see org.eclipse.bpmn2.FlowNode#getLanes()
+ * @see #getFlowNode()
+ * @generated
+ */
+ EReference getFlowNode_Lanes();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.FlowNode#getOutgoing <em>Outgoing</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Outgoing</em>'.
+ * @see org.eclipse.bpmn2.FlowNode#getOutgoing()
+ * @see #getFlowNode()
+ * @generated
+ */
+ EReference getFlowNode_Outgoing();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.FormalExpression <em>Formal Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Formal Expression</em>'.
+ * @see org.eclipse.bpmn2.FormalExpression
+ * @generated
+ */
+ EClass getFormalExpression();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.eclipse.bpmn2.FormalExpression#getMixed <em>Mixed</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Mixed</em>'.
+ * @see org.eclipse.bpmn2.FormalExpression#getMixed()
+ * @see #getFormalExpression()
+ * @generated
+ */
+ EAttribute getFormalExpression_Mixed();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.FormalExpression#getBody <em>Body</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Body</em>'.
+ * @see org.eclipse.bpmn2.FormalExpression#getBody()
+ * @see #getFormalExpression()
+ * @generated
+ */
+ EAttribute getFormalExpression_Body();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.FormalExpression#getEvaluatesToTypeRef <em>Evaluates To Type Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Evaluates To Type Ref</em>'.
+ * @see org.eclipse.bpmn2.FormalExpression#getEvaluatesToTypeRef()
+ * @see #getFormalExpression()
+ * @generated
+ */
+ EReference getFormalExpression_EvaluatesToTypeRef();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.FormalExpression#getLanguage <em>Language</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Language</em>'.
+ * @see org.eclipse.bpmn2.FormalExpression#getLanguage()
+ * @see #getFormalExpression()
+ * @generated
+ */
+ EAttribute getFormalExpression_Language();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.Gateway <em>Gateway</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Gateway</em>'.
+ * @see org.eclipse.bpmn2.Gateway
+ * @generated
+ */
+ EClass getGateway();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Gateway#getGatewayDirection <em>Gateway Direction</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Gateway Direction</em>'.
+ * @see org.eclipse.bpmn2.Gateway#getGatewayDirection()
+ * @see #getGateway()
+ * @generated
+ */
+ EAttribute getGateway_GatewayDirection();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.GlobalBusinessRuleTask <em>Global Business Rule Task</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Global Business Rule Task</em>'.
+ * @see org.eclipse.bpmn2.GlobalBusinessRuleTask
+ * @generated
+ */
+ EClass getGlobalBusinessRuleTask();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.GlobalBusinessRuleTask#getImplementation <em>Implementation</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Implementation</em>'.
+ * @see org.eclipse.bpmn2.GlobalBusinessRuleTask#getImplementation()
+ * @see #getGlobalBusinessRuleTask()
+ * @generated
+ */
+ EAttribute getGlobalBusinessRuleTask_Implementation();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.GlobalChoreographyTask <em>Global Choreography Task</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Global Choreography Task</em>'.
+ * @see org.eclipse.bpmn2.GlobalChoreographyTask
+ * @generated
+ */
+ EClass getGlobalChoreographyTask();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.GlobalChoreographyTask#getInitiatingParticipantRef <em>Initiating Participant Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Initiating Participant Ref</em>'.
+ * @see org.eclipse.bpmn2.GlobalChoreographyTask#getInitiatingParticipantRef()
+ * @see #getGlobalChoreographyTask()
+ * @generated
+ */
+ EReference getGlobalChoreographyTask_InitiatingParticipantRef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.GlobalConversation <em>Global Conversation</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Global Conversation</em>'.
+ * @see org.eclipse.bpmn2.GlobalConversation
+ * @generated
+ */
+ EClass getGlobalConversation();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.GlobalManualTask <em>Global Manual Task</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Global Manual Task</em>'.
+ * @see org.eclipse.bpmn2.GlobalManualTask
+ * @generated
+ */
+ EClass getGlobalManualTask();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.GlobalScriptTask <em>Global Script Task</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Global Script Task</em>'.
+ * @see org.eclipse.bpmn2.GlobalScriptTask
+ * @generated
+ */
+ EClass getGlobalScriptTask();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.GlobalScriptTask#getScript <em>Script</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Script</em>'.
+ * @see org.eclipse.bpmn2.GlobalScriptTask#getScript()
+ * @see #getGlobalScriptTask()
+ * @generated
+ */
+ EAttribute getGlobalScriptTask_Script();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.GlobalScriptTask#getScriptLanguage <em>Script Language</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Script Language</em>'.
+ * @see org.eclipse.bpmn2.GlobalScriptTask#getScriptLanguage()
+ * @see #getGlobalScriptTask()
+ * @generated
+ */
+ EAttribute getGlobalScriptTask_ScriptLanguage();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.GlobalTask <em>Global Task</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Global Task</em>'.
+ * @see org.eclipse.bpmn2.GlobalTask
+ * @generated
+ */
+ EClass getGlobalTask();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.GlobalTask#getResources <em>Resources</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Resources</em>'.
+ * @see org.eclipse.bpmn2.GlobalTask#getResources()
+ * @see #getGlobalTask()
+ * @generated
+ */
+ EReference getGlobalTask_Resources();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.GlobalUserTask <em>Global User Task</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Global User Task</em>'.
+ * @see org.eclipse.bpmn2.GlobalUserTask
+ * @generated
+ */
+ EClass getGlobalUserTask();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.GlobalUserTask#getRenderings <em>Renderings</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Renderings</em>'.
+ * @see org.eclipse.bpmn2.GlobalUserTask#getRenderings()
+ * @see #getGlobalUserTask()
+ * @generated
+ */
+ EReference getGlobalUserTask_Renderings();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.GlobalUserTask#getImplementation <em>Implementation</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Implementation</em>'.
+ * @see org.eclipse.bpmn2.GlobalUserTask#getImplementation()
+ * @see #getGlobalUserTask()
+ * @generated
+ */
+ EAttribute getGlobalUserTask_Implementation();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.Group <em>Group</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Group</em>'.
+ * @see org.eclipse.bpmn2.Group
+ * @generated
+ */
+ EClass getGroup();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.Group#getCategoryValueRef <em>Category Value Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Category Value Ref</em>'.
+ * @see org.eclipse.bpmn2.Group#getCategoryValueRef()
+ * @see #getGroup()
+ * @generated
+ */
+ EReference getGroup_CategoryValueRef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.HumanPerformer <em>Human Performer</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Human Performer</em>'.
+ * @see org.eclipse.bpmn2.HumanPerformer
+ * @generated
+ */
+ EClass getHumanPerformer();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.ImplicitThrowEvent <em>Implicit Throw Event</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Implicit Throw Event</em>'.
+ * @see org.eclipse.bpmn2.ImplicitThrowEvent
+ * @generated
+ */
+ EClass getImplicitThrowEvent();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.Import <em>Import</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Import</em>'.
+ * @see org.eclipse.bpmn2.Import
+ * @generated
+ */
+ EClass getImport();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Import#getImportType <em>Import Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Import Type</em>'.
+ * @see org.eclipse.bpmn2.Import#getImportType()
+ * @see #getImport()
+ * @generated
+ */
+ EAttribute getImport_ImportType();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Import#getLocation <em>Location</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Location</em>'.
+ * @see org.eclipse.bpmn2.Import#getLocation()
+ * @see #getImport()
+ * @generated
+ */
+ EAttribute getImport_Location();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Import#getNamespace <em>Namespace</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Namespace</em>'.
+ * @see org.eclipse.bpmn2.Import#getNamespace()
+ * @see #getImport()
+ * @generated
+ */
+ EAttribute getImport_Namespace();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.InclusiveGateway <em>Inclusive Gateway</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Inclusive Gateway</em>'.
+ * @see org.eclipse.bpmn2.InclusiveGateway
+ * @generated
+ */
+ EClass getInclusiveGateway();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.InclusiveGateway#getDefault <em>Default</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Default</em>'.
+ * @see org.eclipse.bpmn2.InclusiveGateway#getDefault()
+ * @see #getInclusiveGateway()
+ * @generated
+ */
+ EReference getInclusiveGateway_Default();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.InputOutputBinding <em>Input Output Binding</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Input Output Binding</em>'.
+ * @see org.eclipse.bpmn2.InputOutputBinding
+ * @generated
+ */
+ EClass getInputOutputBinding();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.InputOutputBinding#getInputDataRef <em>Input Data Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Input Data Ref</em>'.
+ * @see org.eclipse.bpmn2.InputOutputBinding#getInputDataRef()
+ * @see #getInputOutputBinding()
+ * @generated
+ */
+ EReference getInputOutputBinding_InputDataRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.InputOutputBinding#getOperationRef <em>Operation Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Operation Ref</em>'.
+ * @see org.eclipse.bpmn2.InputOutputBinding#getOperationRef()
+ * @see #getInputOutputBinding()
+ * @generated
+ */
+ EReference getInputOutputBinding_OperationRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.InputOutputBinding#getOutputDataRef <em>Output Data Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Output Data Ref</em>'.
+ * @see org.eclipse.bpmn2.InputOutputBinding#getOutputDataRef()
+ * @see #getInputOutputBinding()
+ * @generated
+ */
+ EReference getInputOutputBinding_OutputDataRef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.InputOutputSpecification <em>Input Output Specification</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Input Output Specification</em>'.
+ * @see org.eclipse.bpmn2.InputOutputSpecification
+ * @generated
+ */
+ EClass getInputOutputSpecification();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.InputOutputSpecification#getDataInputs <em>Data Inputs</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Data Inputs</em>'.
+ * @see org.eclipse.bpmn2.InputOutputSpecification#getDataInputs()
+ * @see #getInputOutputSpecification()
+ * @generated
+ */
+ EReference getInputOutputSpecification_DataInputs();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.InputOutputSpecification#getDataOutputs <em>Data Outputs</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Data Outputs</em>'.
+ * @see org.eclipse.bpmn2.InputOutputSpecification#getDataOutputs()
+ * @see #getInputOutputSpecification()
+ * @generated
+ */
+ EReference getInputOutputSpecification_DataOutputs();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.InputOutputSpecification#getInputSets <em>Input Sets</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Input Sets</em>'.
+ * @see org.eclipse.bpmn2.InputOutputSpecification#getInputSets()
+ * @see #getInputOutputSpecification()
+ * @generated
+ */
+ EReference getInputOutputSpecification_InputSets();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.InputOutputSpecification#getOutputSets <em>Output Sets</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Output Sets</em>'.
+ * @see org.eclipse.bpmn2.InputOutputSpecification#getOutputSets()
+ * @see #getInputOutputSpecification()
+ * @generated
+ */
+ EReference getInputOutputSpecification_OutputSets();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.InputSet <em>Input Set</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Input Set</em>'.
+ * @see org.eclipse.bpmn2.InputSet
+ * @generated
+ */
+ EClass getInputSet();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.InputSet#getDataInputRefs <em>Data Input Refs</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Data Input Refs</em>'.
+ * @see org.eclipse.bpmn2.InputSet#getDataInputRefs()
+ * @see #getInputSet()
+ * @generated
+ */
+ EReference getInputSet_DataInputRefs();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.InputSet#getOptionalInputRefs <em>Optional Input Refs</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Optional Input Refs</em>'.
+ * @see org.eclipse.bpmn2.InputSet#getOptionalInputRefs()
+ * @see #getInputSet()
+ * @generated
+ */
+ EReference getInputSet_OptionalInputRefs();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.InputSet#getWhileExecutingInputRefs <em>While Executing Input Refs</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>While Executing Input Refs</em>'.
+ * @see org.eclipse.bpmn2.InputSet#getWhileExecutingInputRefs()
+ * @see #getInputSet()
+ * @generated
+ */
+ EReference getInputSet_WhileExecutingInputRefs();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.InputSet#getOutputSetRefs <em>Output Set Refs</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Output Set Refs</em>'.
+ * @see org.eclipse.bpmn2.InputSet#getOutputSetRefs()
+ * @see #getInputSet()
+ * @generated
+ */
+ EReference getInputSet_OutputSetRefs();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.InputSet#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpmn2.InputSet#getName()
+ * @see #getInputSet()
+ * @generated
+ */
+ EAttribute getInputSet_Name();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.InteractionNode <em>Interaction Node</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Interaction Node</em>'.
+ * @see org.eclipse.bpmn2.InteractionNode
+ * @generated
+ */
+ EClass getInteractionNode();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.InteractionNode#getIncomingConversationLinks <em>Incoming Conversation Links</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Incoming Conversation Links</em>'.
+ * @see org.eclipse.bpmn2.InteractionNode#getIncomingConversationLinks()
+ * @see #getInteractionNode()
+ * @generated
+ */
+ EReference getInteractionNode_IncomingConversationLinks();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.InteractionNode#getOutgoingConversationLinks <em>Outgoing Conversation Links</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Outgoing Conversation Links</em>'.
+ * @see org.eclipse.bpmn2.InteractionNode#getOutgoingConversationLinks()
+ * @see #getInteractionNode()
+ * @generated
+ */
+ EReference getInteractionNode_OutgoingConversationLinks();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.Interface <em>Interface</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Interface</em>'.
+ * @see org.eclipse.bpmn2.Interface
+ * @generated
+ */
+ EClass getInterface();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.Interface#getOperations <em>Operations</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Operations</em>'.
+ * @see org.eclipse.bpmn2.Interface#getOperations()
+ * @see #getInterface()
+ * @generated
+ */
+ EReference getInterface_Operations();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.Interface#getImplementationRef <em>Implementation Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Implementation Ref</em>'.
+ * @see org.eclipse.bpmn2.Interface#getImplementationRef()
+ * @see #getInterface()
+ * @generated
+ */
+ EReference getInterface_ImplementationRef();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Interface#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpmn2.Interface#getName()
+ * @see #getInterface()
+ * @generated
+ */
+ EAttribute getInterface_Name();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.IntermediateCatchEvent <em>Intermediate Catch Event</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Intermediate Catch Event</em>'.
+ * @see org.eclipse.bpmn2.IntermediateCatchEvent
+ * @generated
+ */
+ EClass getIntermediateCatchEvent();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.IntermediateThrowEvent <em>Intermediate Throw Event</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Intermediate Throw Event</em>'.
+ * @see org.eclipse.bpmn2.IntermediateThrowEvent
+ * @generated
+ */
+ EClass getIntermediateThrowEvent();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.ItemAwareElement <em>Item Aware Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Item Aware Element</em>'.
+ * @see org.eclipse.bpmn2.ItemAwareElement
+ * @generated
+ */
+ EClass getItemAwareElement();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.ItemAwareElement#getDataState <em>Data State</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Data State</em>'.
+ * @see org.eclipse.bpmn2.ItemAwareElement#getDataState()
+ * @see #getItemAwareElement()
+ * @generated
+ */
+ EReference getItemAwareElement_DataState();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.ItemAwareElement#getItemSubjectRef <em>Item Subject Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Item Subject Ref</em>'.
+ * @see org.eclipse.bpmn2.ItemAwareElement#getItemSubjectRef()
+ * @see #getItemAwareElement()
+ * @generated
+ */
+ EReference getItemAwareElement_ItemSubjectRef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.ItemDefinition <em>Item Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Item Definition</em>'.
+ * @see org.eclipse.bpmn2.ItemDefinition
+ * @generated
+ */
+ EClass getItemDefinition();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.ItemDefinition#isIsCollection <em>Is Collection</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Is Collection</em>'.
+ * @see org.eclipse.bpmn2.ItemDefinition#isIsCollection()
+ * @see #getItemDefinition()
+ * @generated
+ */
+ EAttribute getItemDefinition_IsCollection();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.ItemDefinition#getImport <em>Import</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Import</em>'.
+ * @see org.eclipse.bpmn2.ItemDefinition#getImport()
+ * @see #getItemDefinition()
+ * @generated
+ */
+ EReference getItemDefinition_Import();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.ItemDefinition#getItemKind <em>Item Kind</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Item Kind</em>'.
+ * @see org.eclipse.bpmn2.ItemDefinition#getItemKind()
+ * @see #getItemDefinition()
+ * @generated
+ */
+ EAttribute getItemDefinition_ItemKind();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.ItemDefinition#getStructureRef <em>Structure Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Structure Ref</em>'.
+ * @see org.eclipse.bpmn2.ItemDefinition#getStructureRef()
+ * @see #getItemDefinition()
+ * @generated
+ */
+ EReference getItemDefinition_StructureRef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.Lane <em>Lane</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Lane</em>'.
+ * @see org.eclipse.bpmn2.Lane
+ * @generated
+ */
+ EClass getLane();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.Lane#getPartitionElement <em>Partition Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Partition Element</em>'.
+ * @see org.eclipse.bpmn2.Lane#getPartitionElement()
+ * @see #getLane()
+ * @generated
+ */
+ EReference getLane_PartitionElement();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.Lane#getFlowNodeRefs <em>Flow Node Refs</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Flow Node Refs</em>'.
+ * @see org.eclipse.bpmn2.Lane#getFlowNodeRefs()
+ * @see #getLane()
+ * @generated
+ */
+ EReference getLane_FlowNodeRefs();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.Lane#getChildLaneSet <em>Child Lane Set</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Child Lane Set</em>'.
+ * @see org.eclipse.bpmn2.Lane#getChildLaneSet()
+ * @see #getLane()
+ * @generated
+ */
+ EReference getLane_ChildLaneSet();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Lane#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpmn2.Lane#getName()
+ * @see #getLane()
+ * @generated
+ */
+ EAttribute getLane_Name();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.Lane#getPartitionElementRef <em>Partition Element Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Partition Element Ref</em>'.
+ * @see org.eclipse.bpmn2.Lane#getPartitionElementRef()
+ * @see #getLane()
+ * @generated
+ */
+ EReference getLane_PartitionElementRef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.LaneSet <em>Lane Set</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Lane Set</em>'.
+ * @see org.eclipse.bpmn2.LaneSet
+ * @generated
+ */
+ EClass getLaneSet();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.LaneSet#getLanes <em>Lanes</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Lanes</em>'.
+ * @see org.eclipse.bpmn2.LaneSet#getLanes()
+ * @see #getLaneSet()
+ * @generated
+ */
+ EReference getLaneSet_Lanes();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.LaneSet#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpmn2.LaneSet#getName()
+ * @see #getLaneSet()
+ * @generated
+ */
+ EAttribute getLaneSet_Name();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.LinkEventDefinition <em>Link Event Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Link Event Definition</em>'.
+ * @see org.eclipse.bpmn2.LinkEventDefinition
+ * @generated
+ */
+ EClass getLinkEventDefinition();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.LinkEventDefinition#getSource <em>Source</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Source</em>'.
+ * @see org.eclipse.bpmn2.LinkEventDefinition#getSource()
+ * @see #getLinkEventDefinition()
+ * @generated
+ */
+ EReference getLinkEventDefinition_Source();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.LinkEventDefinition#getTarget <em>Target</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Target</em>'.
+ * @see org.eclipse.bpmn2.LinkEventDefinition#getTarget()
+ * @see #getLinkEventDefinition()
+ * @generated
+ */
+ EReference getLinkEventDefinition_Target();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.LinkEventDefinition#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpmn2.LinkEventDefinition#getName()
+ * @see #getLinkEventDefinition()
+ * @generated
+ */
+ EAttribute getLinkEventDefinition_Name();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.LoopCharacteristics <em>Loop Characteristics</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Loop Characteristics</em>'.
+ * @see org.eclipse.bpmn2.LoopCharacteristics
+ * @generated
+ */
+ EClass getLoopCharacteristics();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.ManualTask <em>Manual Task</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Manual Task</em>'.
+ * @see org.eclipse.bpmn2.ManualTask
+ * @generated
+ */
+ EClass getManualTask();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.Message <em>Message</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Message</em>'.
+ * @see org.eclipse.bpmn2.Message
+ * @generated
+ */
+ EClass getMessage();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.Message#getItemRef <em>Item Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Item Ref</em>'.
+ * @see org.eclipse.bpmn2.Message#getItemRef()
+ * @see #getMessage()
+ * @generated
+ */
+ EReference getMessage_ItemRef();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Message#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpmn2.Message#getName()
+ * @see #getMessage()
+ * @generated
+ */
+ EAttribute getMessage_Name();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.MessageEventDefinition <em>Message Event Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Message Event Definition</em>'.
+ * @see org.eclipse.bpmn2.MessageEventDefinition
+ * @generated
+ */
+ EClass getMessageEventDefinition();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.MessageEventDefinition#getOperationRef <em>Operation Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Operation Ref</em>'.
+ * @see org.eclipse.bpmn2.MessageEventDefinition#getOperationRef()
+ * @see #getMessageEventDefinition()
+ * @generated
+ */
+ EReference getMessageEventDefinition_OperationRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.MessageEventDefinition#getMessageRef <em>Message Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Message Ref</em>'.
+ * @see org.eclipse.bpmn2.MessageEventDefinition#getMessageRef()
+ * @see #getMessageEventDefinition()
+ * @generated
+ */
+ EReference getMessageEventDefinition_MessageRef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.MessageFlow <em>Message Flow</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Message Flow</em>'.
+ * @see org.eclipse.bpmn2.MessageFlow
+ * @generated
+ */
+ EClass getMessageFlow();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.MessageFlow#getMessageRef <em>Message Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Message Ref</em>'.
+ * @see org.eclipse.bpmn2.MessageFlow#getMessageRef()
+ * @see #getMessageFlow()
+ * @generated
+ */
+ EReference getMessageFlow_MessageRef();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.MessageFlow#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpmn2.MessageFlow#getName()
+ * @see #getMessageFlow()
+ * @generated
+ */
+ EAttribute getMessageFlow_Name();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.MessageFlow#getSourceRef <em>Source Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Source Ref</em>'.
+ * @see org.eclipse.bpmn2.MessageFlow#getSourceRef()
+ * @see #getMessageFlow()
+ * @generated
+ */
+ EReference getMessageFlow_SourceRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.MessageFlow#getTargetRef <em>Target Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Target Ref</em>'.
+ * @see org.eclipse.bpmn2.MessageFlow#getTargetRef()
+ * @see #getMessageFlow()
+ * @generated
+ */
+ EReference getMessageFlow_TargetRef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.MessageFlowAssociation <em>Message Flow Association</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Message Flow Association</em>'.
+ * @see org.eclipse.bpmn2.MessageFlowAssociation
+ * @generated
+ */
+ EClass getMessageFlowAssociation();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.MessageFlowAssociation#getInnerMessageFlowRef <em>Inner Message Flow Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Inner Message Flow Ref</em>'.
+ * @see org.eclipse.bpmn2.MessageFlowAssociation#getInnerMessageFlowRef()
+ * @see #getMessageFlowAssociation()
+ * @generated
+ */
+ EReference getMessageFlowAssociation_InnerMessageFlowRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.MessageFlowAssociation#getOuterMessageFlowRef <em>Outer Message Flow Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Outer Message Flow Ref</em>'.
+ * @see org.eclipse.bpmn2.MessageFlowAssociation#getOuterMessageFlowRef()
+ * @see #getMessageFlowAssociation()
+ * @generated
+ */
+ EReference getMessageFlowAssociation_OuterMessageFlowRef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.Monitoring <em>Monitoring</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Monitoring</em>'.
+ * @see org.eclipse.bpmn2.Monitoring
+ * @generated
+ */
+ EClass getMonitoring();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.MultiInstanceLoopCharacteristics <em>Multi Instance Loop Characteristics</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Multi Instance Loop Characteristics</em>'.
+ * @see org.eclipse.bpmn2.MultiInstanceLoopCharacteristics
+ * @generated
+ */
+ EClass getMultiInstanceLoopCharacteristics();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getLoopCardinality <em>Loop Cardinality</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Loop Cardinality</em>'.
+ * @see org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getLoopCardinality()
+ * @see #getMultiInstanceLoopCharacteristics()
+ * @generated
+ */
+ EReference getMultiInstanceLoopCharacteristics_LoopCardinality();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getLoopDataInputRef <em>Loop Data Input Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Loop Data Input Ref</em>'.
+ * @see org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getLoopDataInputRef()
+ * @see #getMultiInstanceLoopCharacteristics()
+ * @generated
+ */
+ EReference getMultiInstanceLoopCharacteristics_LoopDataInputRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getLoopDataOutputRef <em>Loop Data Output Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Loop Data Output Ref</em>'.
+ * @see org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getLoopDataOutputRef()
+ * @see #getMultiInstanceLoopCharacteristics()
+ * @generated
+ */
+ EReference getMultiInstanceLoopCharacteristics_LoopDataOutputRef();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getInputDataItem <em>Input Data Item</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Input Data Item</em>'.
+ * @see org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getInputDataItem()
+ * @see #getMultiInstanceLoopCharacteristics()
+ * @generated
+ */
+ EReference getMultiInstanceLoopCharacteristics_InputDataItem();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getOutputDataItem <em>Output Data Item</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Output Data Item</em>'.
+ * @see org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getOutputDataItem()
+ * @see #getMultiInstanceLoopCharacteristics()
+ * @generated
+ */
+ EReference getMultiInstanceLoopCharacteristics_OutputDataItem();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getComplexBehaviorDefinition <em>Complex Behavior Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Complex Behavior Definition</em>'.
+ * @see org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getComplexBehaviorDefinition()
+ * @see #getMultiInstanceLoopCharacteristics()
+ * @generated
+ */
+ EReference getMultiInstanceLoopCharacteristics_ComplexBehaviorDefinition();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getCompletionCondition <em>Completion Condition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Completion Condition</em>'.
+ * @see org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getCompletionCondition()
+ * @see #getMultiInstanceLoopCharacteristics()
+ * @generated
+ */
+ EReference getMultiInstanceLoopCharacteristics_CompletionCondition();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getBehavior <em>Behavior</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Behavior</em>'.
+ * @see org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getBehavior()
+ * @see #getMultiInstanceLoopCharacteristics()
+ * @generated
+ */
+ EAttribute getMultiInstanceLoopCharacteristics_Behavior();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#isIsSequential <em>Is Sequential</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Is Sequential</em>'.
+ * @see org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#isIsSequential()
+ * @see #getMultiInstanceLoopCharacteristics()
+ * @generated
+ */
+ EAttribute getMultiInstanceLoopCharacteristics_IsSequential();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getNoneBehaviorEventRef <em>None Behavior Event Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>None Behavior Event Ref</em>'.
+ * @see org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getNoneBehaviorEventRef()
+ * @see #getMultiInstanceLoopCharacteristics()
+ * @generated
+ */
+ EReference getMultiInstanceLoopCharacteristics_NoneBehaviorEventRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getOneBehaviorEventRef <em>One Behavior Event Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>One Behavior Event Ref</em>'.
+ * @see org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getOneBehaviorEventRef()
+ * @see #getMultiInstanceLoopCharacteristics()
+ * @generated
+ */
+ EReference getMultiInstanceLoopCharacteristics_OneBehaviorEventRef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.Operation <em>Operation</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Operation</em>'.
+ * @see org.eclipse.bpmn2.Operation
+ * @generated
+ */
+ EClass getOperation();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.Operation#getInMessageRef <em>In Message Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>In Message Ref</em>'.
+ * @see org.eclipse.bpmn2.Operation#getInMessageRef()
+ * @see #getOperation()
+ * @generated
+ */
+ EReference getOperation_InMessageRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.Operation#getOutMessageRef <em>Out Message Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Out Message Ref</em>'.
+ * @see org.eclipse.bpmn2.Operation#getOutMessageRef()
+ * @see #getOperation()
+ * @generated
+ */
+ EReference getOperation_OutMessageRef();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.Operation#getErrorRefs <em>Error Refs</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Error Refs</em>'.
+ * @see org.eclipse.bpmn2.Operation#getErrorRefs()
+ * @see #getOperation()
+ * @generated
+ */
+ EReference getOperation_ErrorRefs();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.Operation#getImplementationRef <em>Implementation Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Implementation Ref</em>'.
+ * @see org.eclipse.bpmn2.Operation#getImplementationRef()
+ * @see #getOperation()
+ * @generated
+ */
+ EReference getOperation_ImplementationRef();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Operation#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpmn2.Operation#getName()
+ * @see #getOperation()
+ * @generated
+ */
+ EAttribute getOperation_Name();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.OutputSet <em>Output Set</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Output Set</em>'.
+ * @see org.eclipse.bpmn2.OutputSet
+ * @generated
+ */
+ EClass getOutputSet();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.OutputSet#getDataOutputRefs <em>Data Output Refs</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Data Output Refs</em>'.
+ * @see org.eclipse.bpmn2.OutputSet#getDataOutputRefs()
+ * @see #getOutputSet()
+ * @generated
+ */
+ EReference getOutputSet_DataOutputRefs();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.OutputSet#getOptionalOutputRefs <em>Optional Output Refs</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Optional Output Refs</em>'.
+ * @see org.eclipse.bpmn2.OutputSet#getOptionalOutputRefs()
+ * @see #getOutputSet()
+ * @generated
+ */
+ EReference getOutputSet_OptionalOutputRefs();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.OutputSet#getWhileExecutingOutputRefs <em>While Executing Output Refs</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>While Executing Output Refs</em>'.
+ * @see org.eclipse.bpmn2.OutputSet#getWhileExecutingOutputRefs()
+ * @see #getOutputSet()
+ * @generated
+ */
+ EReference getOutputSet_WhileExecutingOutputRefs();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.OutputSet#getInputSetRefs <em>Input Set Refs</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Input Set Refs</em>'.
+ * @see org.eclipse.bpmn2.OutputSet#getInputSetRefs()
+ * @see #getOutputSet()
+ * @generated
+ */
+ EReference getOutputSet_InputSetRefs();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.OutputSet#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpmn2.OutputSet#getName()
+ * @see #getOutputSet()
+ * @generated
+ */
+ EAttribute getOutputSet_Name();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.ParallelGateway <em>Parallel Gateway</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Parallel Gateway</em>'.
+ * @see org.eclipse.bpmn2.ParallelGateway
+ * @generated
+ */
+ EClass getParallelGateway();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.Participant <em>Participant</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Participant</em>'.
+ * @see org.eclipse.bpmn2.Participant
+ * @generated
+ */
+ EClass getParticipant();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.Participant#getInterfaceRefs <em>Interface Refs</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Interface Refs</em>'.
+ * @see org.eclipse.bpmn2.Participant#getInterfaceRefs()
+ * @see #getParticipant()
+ * @generated
+ */
+ EReference getParticipant_InterfaceRefs();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.Participant#getEndPointRefs <em>End Point Refs</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>End Point Refs</em>'.
+ * @see org.eclipse.bpmn2.Participant#getEndPointRefs()
+ * @see #getParticipant()
+ * @generated
+ */
+ EReference getParticipant_EndPointRefs();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.Participant#getParticipantMultiplicity <em>Participant Multiplicity</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Participant Multiplicity</em>'.
+ * @see org.eclipse.bpmn2.Participant#getParticipantMultiplicity()
+ * @see #getParticipant()
+ * @generated
+ */
+ EReference getParticipant_ParticipantMultiplicity();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Participant#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpmn2.Participant#getName()
+ * @see #getParticipant()
+ * @generated
+ */
+ EAttribute getParticipant_Name();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.Participant#getProcessRef <em>Process Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Process Ref</em>'.
+ * @see org.eclipse.bpmn2.Participant#getProcessRef()
+ * @see #getParticipant()
+ * @generated
+ */
+ EReference getParticipant_ProcessRef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.ParticipantAssociation <em>Participant Association</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Participant Association</em>'.
+ * @see org.eclipse.bpmn2.ParticipantAssociation
+ * @generated
+ */
+ EClass getParticipantAssociation();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.ParticipantAssociation#getInnerParticipantRef <em>Inner Participant Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Inner Participant Ref</em>'.
+ * @see org.eclipse.bpmn2.ParticipantAssociation#getInnerParticipantRef()
+ * @see #getParticipantAssociation()
+ * @generated
+ */
+ EReference getParticipantAssociation_InnerParticipantRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.ParticipantAssociation#getOuterParticipantRef <em>Outer Participant Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Outer Participant Ref</em>'.
+ * @see org.eclipse.bpmn2.ParticipantAssociation#getOuterParticipantRef()
+ * @see #getParticipantAssociation()
+ * @generated
+ */
+ EReference getParticipantAssociation_OuterParticipantRef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.ParticipantMultiplicity <em>Participant Multiplicity</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Participant Multiplicity</em>'.
+ * @see org.eclipse.bpmn2.ParticipantMultiplicity
+ * @generated
+ */
+ EClass getParticipantMultiplicity();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.ParticipantMultiplicity#getMaximum <em>Maximum</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Maximum</em>'.
+ * @see org.eclipse.bpmn2.ParticipantMultiplicity#getMaximum()
+ * @see #getParticipantMultiplicity()
+ * @generated
+ */
+ EAttribute getParticipantMultiplicity_Maximum();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.ParticipantMultiplicity#getMinimum <em>Minimum</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Minimum</em>'.
+ * @see org.eclipse.bpmn2.ParticipantMultiplicity#getMinimum()
+ * @see #getParticipantMultiplicity()
+ * @generated
+ */
+ EAttribute getParticipantMultiplicity_Minimum();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.PartnerEntity <em>Partner Entity</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Partner Entity</em>'.
+ * @see org.eclipse.bpmn2.PartnerEntity
+ * @generated
+ */
+ EClass getPartnerEntity();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.PartnerEntity#getParticipantRef <em>Participant Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Participant Ref</em>'.
+ * @see org.eclipse.bpmn2.PartnerEntity#getParticipantRef()
+ * @see #getPartnerEntity()
+ * @generated
+ */
+ EReference getPartnerEntity_ParticipantRef();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.PartnerEntity#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpmn2.PartnerEntity#getName()
+ * @see #getPartnerEntity()
+ * @generated
+ */
+ EAttribute getPartnerEntity_Name();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.PartnerRole <em>Partner Role</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Partner Role</em>'.
+ * @see org.eclipse.bpmn2.PartnerRole
+ * @generated
+ */
+ EClass getPartnerRole();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.PartnerRole#getParticipantRef <em>Participant Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Participant Ref</em>'.
+ * @see org.eclipse.bpmn2.PartnerRole#getParticipantRef()
+ * @see #getPartnerRole()
+ * @generated
+ */
+ EReference getPartnerRole_ParticipantRef();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.PartnerRole#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpmn2.PartnerRole#getName()
+ * @see #getPartnerRole()
+ * @generated
+ */
+ EAttribute getPartnerRole_Name();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.Performer <em>Performer</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Performer</em>'.
+ * @see org.eclipse.bpmn2.Performer
+ * @generated
+ */
+ EClass getPerformer();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.PotentialOwner <em>Potential Owner</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Potential Owner</em>'.
+ * @see org.eclipse.bpmn2.PotentialOwner
+ * @generated
+ */
+ EClass getPotentialOwner();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.Process <em>Process</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Process</em>'.
+ * @see org.eclipse.bpmn2.Process
+ * @generated
+ */
+ EClass getProcess();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.Process#getAuditing <em>Auditing</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Auditing</em>'.
+ * @see org.eclipse.bpmn2.Process#getAuditing()
+ * @see #getProcess()
+ * @generated
+ */
+ EReference getProcess_Auditing();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.Process#getMonitoring <em>Monitoring</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Monitoring</em>'.
+ * @see org.eclipse.bpmn2.Process#getMonitoring()
+ * @see #getProcess()
+ * @generated
+ */
+ EReference getProcess_Monitoring();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.Process#getProperties <em>Properties</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Properties</em>'.
+ * @see org.eclipse.bpmn2.Process#getProperties()
+ * @see #getProcess()
+ * @generated
+ */
+ EReference getProcess_Properties();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.Process#getArtifacts <em>Artifacts</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Artifacts</em>'.
+ * @see org.eclipse.bpmn2.Process#getArtifacts()
+ * @see #getProcess()
+ * @generated
+ */
+ EReference getProcess_Artifacts();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.Process#getResources <em>Resources</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Resources</em>'.
+ * @see org.eclipse.bpmn2.Process#getResources()
+ * @see #getProcess()
+ * @generated
+ */
+ EReference getProcess_Resources();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.Process#getCorrelationSubscriptions <em>Correlation Subscriptions</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Correlation Subscriptions</em>'.
+ * @see org.eclipse.bpmn2.Process#getCorrelationSubscriptions()
+ * @see #getProcess()
+ * @generated
+ */
+ EReference getProcess_CorrelationSubscriptions();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.Process#getSupports <em>Supports</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Supports</em>'.
+ * @see org.eclipse.bpmn2.Process#getSupports()
+ * @see #getProcess()
+ * @generated
+ */
+ EReference getProcess_Supports();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.Process#getDefinitionalCollaborationRef <em>Definitional Collaboration Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Definitional Collaboration Ref</em>'.
+ * @see org.eclipse.bpmn2.Process#getDefinitionalCollaborationRef()
+ * @see #getProcess()
+ * @generated
+ */
+ EReference getProcess_DefinitionalCollaborationRef();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Process#isIsClosed <em>Is Closed</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Is Closed</em>'.
+ * @see org.eclipse.bpmn2.Process#isIsClosed()
+ * @see #getProcess()
+ * @generated
+ */
+ EAttribute getProcess_IsClosed();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Process#isIsExecutable <em>Is Executable</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Is Executable</em>'.
+ * @see org.eclipse.bpmn2.Process#isIsExecutable()
+ * @see #getProcess()
+ * @generated
+ */
+ EAttribute getProcess_IsExecutable();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Process#getProcessType <em>Process Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Process Type</em>'.
+ * @see org.eclipse.bpmn2.Process#getProcessType()
+ * @see #getProcess()
+ * @generated
+ */
+ EAttribute getProcess_ProcessType();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.Property <em>Property</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Property</em>'.
+ * @see org.eclipse.bpmn2.Property
+ * @generated
+ */
+ EClass getProperty();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Property#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpmn2.Property#getName()
+ * @see #getProperty()
+ * @generated
+ */
+ EAttribute getProperty_Name();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.ReceiveTask <em>Receive Task</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Receive Task</em>'.
+ * @see org.eclipse.bpmn2.ReceiveTask
+ * @generated
+ */
+ EClass getReceiveTask();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.ReceiveTask#getImplementation <em>Implementation</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Implementation</em>'.
+ * @see org.eclipse.bpmn2.ReceiveTask#getImplementation()
+ * @see #getReceiveTask()
+ * @generated
+ */
+ EAttribute getReceiveTask_Implementation();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.ReceiveTask#isInstantiate <em>Instantiate</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Instantiate</em>'.
+ * @see org.eclipse.bpmn2.ReceiveTask#isInstantiate()
+ * @see #getReceiveTask()
+ * @generated
+ */
+ EAttribute getReceiveTask_Instantiate();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.ReceiveTask#getMessageRef <em>Message Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Message Ref</em>'.
+ * @see org.eclipse.bpmn2.ReceiveTask#getMessageRef()
+ * @see #getReceiveTask()
+ * @generated
+ */
+ EReference getReceiveTask_MessageRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.ReceiveTask#getOperationRef <em>Operation Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Operation Ref</em>'.
+ * @see org.eclipse.bpmn2.ReceiveTask#getOperationRef()
+ * @see #getReceiveTask()
+ * @generated
+ */
+ EReference getReceiveTask_OperationRef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.Relationship <em>Relationship</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Relationship</em>'.
+ * @see org.eclipse.bpmn2.Relationship
+ * @generated
+ */
+ EClass getRelationship();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.Relationship#getSources <em>Sources</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Sources</em>'.
+ * @see org.eclipse.bpmn2.Relationship#getSources()
+ * @see #getRelationship()
+ * @generated
+ */
+ EReference getRelationship_Sources();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.Relationship#getTargets <em>Targets</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Targets</em>'.
+ * @see org.eclipse.bpmn2.Relationship#getTargets()
+ * @see #getRelationship()
+ * @generated
+ */
+ EReference getRelationship_Targets();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Relationship#getDirection <em>Direction</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Direction</em>'.
+ * @see org.eclipse.bpmn2.Relationship#getDirection()
+ * @see #getRelationship()
+ * @generated
+ */
+ EAttribute getRelationship_Direction();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Relationship#getType <em>Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Type</em>'.
+ * @see org.eclipse.bpmn2.Relationship#getType()
+ * @see #getRelationship()
+ * @generated
+ */
+ EAttribute getRelationship_Type();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.Rendering <em>Rendering</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Rendering</em>'.
+ * @see org.eclipse.bpmn2.Rendering
+ * @generated
+ */
+ EClass getRendering();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.Resource <em>Resource</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Resource</em>'.
+ * @see org.eclipse.bpmn2.Resource
+ * @generated
+ */
+ EClass getResource();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.Resource#getResourceParameters <em>Resource Parameters</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Resource Parameters</em>'.
+ * @see org.eclipse.bpmn2.Resource#getResourceParameters()
+ * @see #getResource()
+ * @generated
+ */
+ EReference getResource_ResourceParameters();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Resource#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpmn2.Resource#getName()
+ * @see #getResource()
+ * @generated
+ */
+ EAttribute getResource_Name();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.ResourceAssignmentExpression <em>Resource Assignment Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Resource Assignment Expression</em>'.
+ * @see org.eclipse.bpmn2.ResourceAssignmentExpression
+ * @generated
+ */
+ EClass getResourceAssignmentExpression();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.ResourceAssignmentExpression#getExpression <em>Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Expression</em>'.
+ * @see org.eclipse.bpmn2.ResourceAssignmentExpression#getExpression()
+ * @see #getResourceAssignmentExpression()
+ * @generated
+ */
+ EReference getResourceAssignmentExpression_Expression();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.ResourceParameter <em>Resource Parameter</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Resource Parameter</em>'.
+ * @see org.eclipse.bpmn2.ResourceParameter
+ * @generated
+ */
+ EClass getResourceParameter();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.ResourceParameter#isIsRequired <em>Is Required</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Is Required</em>'.
+ * @see org.eclipse.bpmn2.ResourceParameter#isIsRequired()
+ * @see #getResourceParameter()
+ * @generated
+ */
+ EAttribute getResourceParameter_IsRequired();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.ResourceParameter#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpmn2.ResourceParameter#getName()
+ * @see #getResourceParameter()
+ * @generated
+ */
+ EAttribute getResourceParameter_Name();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.ResourceParameter#getType <em>Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Type</em>'.
+ * @see org.eclipse.bpmn2.ResourceParameter#getType()
+ * @see #getResourceParameter()
+ * @generated
+ */
+ EReference getResourceParameter_Type();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.ResourceParameterBinding <em>Resource Parameter Binding</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Resource Parameter Binding</em>'.
+ * @see org.eclipse.bpmn2.ResourceParameterBinding
+ * @generated
+ */
+ EClass getResourceParameterBinding();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.ResourceParameterBinding#getExpression <em>Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Expression</em>'.
+ * @see org.eclipse.bpmn2.ResourceParameterBinding#getExpression()
+ * @see #getResourceParameterBinding()
+ * @generated
+ */
+ EReference getResourceParameterBinding_Expression();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.ResourceParameterBinding#getParameterRef <em>Parameter Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Parameter Ref</em>'.
+ * @see org.eclipse.bpmn2.ResourceParameterBinding#getParameterRef()
+ * @see #getResourceParameterBinding()
+ * @generated
+ */
+ EReference getResourceParameterBinding_ParameterRef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.ResourceRole <em>Resource Role</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Resource Role</em>'.
+ * @see org.eclipse.bpmn2.ResourceRole
+ * @generated
+ */
+ EClass getResourceRole();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.ResourceRole#getResourceRef <em>Resource Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Resource Ref</em>'.
+ * @see org.eclipse.bpmn2.ResourceRole#getResourceRef()
+ * @see #getResourceRole()
+ * @generated
+ */
+ EReference getResourceRole_ResourceRef();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.ResourceRole#getResourceParameterBindings <em>Resource Parameter Bindings</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Resource Parameter Bindings</em>'.
+ * @see org.eclipse.bpmn2.ResourceRole#getResourceParameterBindings()
+ * @see #getResourceRole()
+ * @generated
+ */
+ EReference getResourceRole_ResourceParameterBindings();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.ResourceRole#getResourceAssignmentExpression <em>Resource Assignment Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Resource Assignment Expression</em>'.
+ * @see org.eclipse.bpmn2.ResourceRole#getResourceAssignmentExpression()
+ * @see #getResourceRole()
+ * @generated
+ */
+ EReference getResourceRole_ResourceAssignmentExpression();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.ResourceRole#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpmn2.ResourceRole#getName()
+ * @see #getResourceRole()
+ * @generated
+ */
+ EAttribute getResourceRole_Name();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.RootElement <em>Root Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Root Element</em>'.
+ * @see org.eclipse.bpmn2.RootElement
+ * @generated
+ */
+ EClass getRootElement();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.ScriptTask <em>Script Task</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Script Task</em>'.
+ * @see org.eclipse.bpmn2.ScriptTask
+ * @generated
+ */
+ EClass getScriptTask();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.ScriptTask#getScript <em>Script</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Script</em>'.
+ * @see org.eclipse.bpmn2.ScriptTask#getScript()
+ * @see #getScriptTask()
+ * @generated
+ */
+ EAttribute getScriptTask_Script();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.ScriptTask#getScriptFormat <em>Script Format</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Script Format</em>'.
+ * @see org.eclipse.bpmn2.ScriptTask#getScriptFormat()
+ * @see #getScriptTask()
+ * @generated
+ */
+ EAttribute getScriptTask_ScriptFormat();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.SendTask <em>Send Task</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Send Task</em>'.
+ * @see org.eclipse.bpmn2.SendTask
+ * @generated
+ */
+ EClass getSendTask();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.SendTask#getImplementation <em>Implementation</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Implementation</em>'.
+ * @see org.eclipse.bpmn2.SendTask#getImplementation()
+ * @see #getSendTask()
+ * @generated
+ */
+ EAttribute getSendTask_Implementation();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.SendTask#getMessageRef <em>Message Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Message Ref</em>'.
+ * @see org.eclipse.bpmn2.SendTask#getMessageRef()
+ * @see #getSendTask()
+ * @generated
+ */
+ EReference getSendTask_MessageRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.SendTask#getOperationRef <em>Operation Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Operation Ref</em>'.
+ * @see org.eclipse.bpmn2.SendTask#getOperationRef()
+ * @see #getSendTask()
+ * @generated
+ */
+ EReference getSendTask_OperationRef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.SequenceFlow <em>Sequence Flow</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Sequence Flow</em>'.
+ * @see org.eclipse.bpmn2.SequenceFlow
+ * @generated
+ */
+ EClass getSequenceFlow();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.SequenceFlow#getConditionExpression <em>Condition Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Condition Expression</em>'.
+ * @see org.eclipse.bpmn2.SequenceFlow#getConditionExpression()
+ * @see #getSequenceFlow()
+ * @generated
+ */
+ EReference getSequenceFlow_ConditionExpression();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.SequenceFlow#isIsImmediate <em>Is Immediate</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Is Immediate</em>'.
+ * @see org.eclipse.bpmn2.SequenceFlow#isIsImmediate()
+ * @see #getSequenceFlow()
+ * @generated
+ */
+ EAttribute getSequenceFlow_IsImmediate();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.SequenceFlow#getSourceRef <em>Source Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Source Ref</em>'.
+ * @see org.eclipse.bpmn2.SequenceFlow#getSourceRef()
+ * @see #getSequenceFlow()
+ * @generated
+ */
+ EReference getSequenceFlow_SourceRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.SequenceFlow#getTargetRef <em>Target Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Target Ref</em>'.
+ * @see org.eclipse.bpmn2.SequenceFlow#getTargetRef()
+ * @see #getSequenceFlow()
+ * @generated
+ */
+ EReference getSequenceFlow_TargetRef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.ServiceTask <em>Service Task</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Service Task</em>'.
+ * @see org.eclipse.bpmn2.ServiceTask
+ * @generated
+ */
+ EClass getServiceTask();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.ServiceTask#getImplementation <em>Implementation</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Implementation</em>'.
+ * @see org.eclipse.bpmn2.ServiceTask#getImplementation()
+ * @see #getServiceTask()
+ * @generated
+ */
+ EAttribute getServiceTask_Implementation();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.ServiceTask#getOperationRef <em>Operation Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Operation Ref</em>'.
+ * @see org.eclipse.bpmn2.ServiceTask#getOperationRef()
+ * @see #getServiceTask()
+ * @generated
+ */
+ EReference getServiceTask_OperationRef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.Signal <em>Signal</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Signal</em>'.
+ * @see org.eclipse.bpmn2.Signal
+ * @generated
+ */
+ EClass getSignal();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Signal#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpmn2.Signal#getName()
+ * @see #getSignal()
+ * @generated
+ */
+ EAttribute getSignal_Name();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.Signal#getStructureRef <em>Structure Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Structure Ref</em>'.
+ * @see org.eclipse.bpmn2.Signal#getStructureRef()
+ * @see #getSignal()
+ * @generated
+ */
+ EReference getSignal_StructureRef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.SignalEventDefinition <em>Signal Event Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Signal Event Definition</em>'.
+ * @see org.eclipse.bpmn2.SignalEventDefinition
+ * @generated
+ */
+ EClass getSignalEventDefinition();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.SignalEventDefinition#getSignalRef <em>Signal Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Signal Ref</em>'.
+ * @see org.eclipse.bpmn2.SignalEventDefinition#getSignalRef()
+ * @see #getSignalEventDefinition()
+ * @generated
+ */
+ EReference getSignalEventDefinition_SignalRef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.StandardLoopCharacteristics <em>Standard Loop Characteristics</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Standard Loop Characteristics</em>'.
+ * @see org.eclipse.bpmn2.StandardLoopCharacteristics
+ * @generated
+ */
+ EClass getStandardLoopCharacteristics();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.StandardLoopCharacteristics#getLoopCondition <em>Loop Condition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Loop Condition</em>'.
+ * @see org.eclipse.bpmn2.StandardLoopCharacteristics#getLoopCondition()
+ * @see #getStandardLoopCharacteristics()
+ * @generated
+ */
+ EReference getStandardLoopCharacteristics_LoopCondition();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.StandardLoopCharacteristics#getLoopMaximum <em>Loop Maximum</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Loop Maximum</em>'.
+ * @see org.eclipse.bpmn2.StandardLoopCharacteristics#getLoopMaximum()
+ * @see #getStandardLoopCharacteristics()
+ * @generated
+ */
+ EReference getStandardLoopCharacteristics_LoopMaximum();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.StandardLoopCharacteristics#isTestBefore <em>Test Before</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Test Before</em>'.
+ * @see org.eclipse.bpmn2.StandardLoopCharacteristics#isTestBefore()
+ * @see #getStandardLoopCharacteristics()
+ * @generated
+ */
+ EAttribute getStandardLoopCharacteristics_TestBefore();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.StartEvent <em>Start Event</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Start Event</em>'.
+ * @see org.eclipse.bpmn2.StartEvent
+ * @generated
+ */
+ EClass getStartEvent();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.StartEvent#isIsInterrupting <em>Is Interrupting</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Is Interrupting</em>'.
+ * @see org.eclipse.bpmn2.StartEvent#isIsInterrupting()
+ * @see #getStartEvent()
+ * @generated
+ */
+ EAttribute getStartEvent_IsInterrupting();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.SubChoreography <em>Sub Choreography</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Sub Choreography</em>'.
+ * @see org.eclipse.bpmn2.SubChoreography
+ * @generated
+ */
+ EClass getSubChoreography();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.SubChoreography#getArtifacts <em>Artifacts</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Artifacts</em>'.
+ * @see org.eclipse.bpmn2.SubChoreography#getArtifacts()
+ * @see #getSubChoreography()
+ * @generated
+ */
+ EReference getSubChoreography_Artifacts();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.SubConversation <em>Sub Conversation</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Sub Conversation</em>'.
+ * @see org.eclipse.bpmn2.SubConversation
+ * @generated
+ */
+ EClass getSubConversation();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.SubConversation#getConversationNodes <em>Conversation Nodes</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Conversation Nodes</em>'.
+ * @see org.eclipse.bpmn2.SubConversation#getConversationNodes()
+ * @see #getSubConversation()
+ * @generated
+ */
+ EReference getSubConversation_ConversationNodes();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.SubProcess <em>Sub Process</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Sub Process</em>'.
+ * @see org.eclipse.bpmn2.SubProcess
+ * @generated
+ */
+ EClass getSubProcess();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.SubProcess#getArtifacts <em>Artifacts</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Artifacts</em>'.
+ * @see org.eclipse.bpmn2.SubProcess#getArtifacts()
+ * @see #getSubProcess()
+ * @generated
+ */
+ EReference getSubProcess_Artifacts();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.SubProcess#isTriggeredByEvent <em>Triggered By Event</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Triggered By Event</em>'.
+ * @see org.eclipse.bpmn2.SubProcess#isTriggeredByEvent()
+ * @see #getSubProcess()
+ * @generated
+ */
+ EAttribute getSubProcess_TriggeredByEvent();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.Task <em>Task</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Task</em>'.
+ * @see org.eclipse.bpmn2.Task
+ * @generated
+ */
+ EClass getTask();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.TerminateEventDefinition <em>Terminate Event Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Terminate Event Definition</em>'.
+ * @see org.eclipse.bpmn2.TerminateEventDefinition
+ * @generated
+ */
+ EClass getTerminateEventDefinition();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.TextAnnotation <em>Text Annotation</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Text Annotation</em>'.
+ * @see org.eclipse.bpmn2.TextAnnotation
+ * @generated
+ */
+ EClass getTextAnnotation();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.TextAnnotation#getText <em>Text</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Text</em>'.
+ * @see org.eclipse.bpmn2.TextAnnotation#getText()
+ * @see #getTextAnnotation()
+ * @generated
+ */
+ EAttribute getTextAnnotation_Text();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.TextAnnotation#getTextFormat <em>Text Format</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Text Format</em>'.
+ * @see org.eclipse.bpmn2.TextAnnotation#getTextFormat()
+ * @see #getTextAnnotation()
+ * @generated
+ */
+ EAttribute getTextAnnotation_TextFormat();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.ThrowEvent <em>Throw Event</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Throw Event</em>'.
+ * @see org.eclipse.bpmn2.ThrowEvent
+ * @generated
+ */
+ EClass getThrowEvent();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.ThrowEvent#getDataInputs <em>Data Inputs</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Data Inputs</em>'.
+ * @see org.eclipse.bpmn2.ThrowEvent#getDataInputs()
+ * @see #getThrowEvent()
+ * @generated
+ */
+ EReference getThrowEvent_DataInputs();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.ThrowEvent#getDataInputAssociation <em>Data Input Association</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Data Input Association</em>'.
+ * @see org.eclipse.bpmn2.ThrowEvent#getDataInputAssociation()
+ * @see #getThrowEvent()
+ * @generated
+ */
+ EReference getThrowEvent_DataInputAssociation();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.ThrowEvent#getInputSet <em>Input Set</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Input Set</em>'.
+ * @see org.eclipse.bpmn2.ThrowEvent#getInputSet()
+ * @see #getThrowEvent()
+ * @generated
+ */
+ EReference getThrowEvent_InputSet();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.ThrowEvent#getEventDefinitions <em>Event Definitions</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Event Definitions</em>'.
+ * @see org.eclipse.bpmn2.ThrowEvent#getEventDefinitions()
+ * @see #getThrowEvent()
+ * @generated
+ */
+ EReference getThrowEvent_EventDefinitions();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.bpmn2.ThrowEvent#getEventDefinitionRefs <em>Event Definition Refs</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Event Definition Refs</em>'.
+ * @see org.eclipse.bpmn2.ThrowEvent#getEventDefinitionRefs()
+ * @see #getThrowEvent()
+ * @generated
+ */
+ EReference getThrowEvent_EventDefinitionRefs();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.TimerEventDefinition <em>Timer Event Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Timer Event Definition</em>'.
+ * @see org.eclipse.bpmn2.TimerEventDefinition
+ * @generated
+ */
+ EClass getTimerEventDefinition();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.TimerEventDefinition#getTimeDate <em>Time Date</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Time Date</em>'.
+ * @see org.eclipse.bpmn2.TimerEventDefinition#getTimeDate()
+ * @see #getTimerEventDefinition()
+ * @generated
+ */
+ EReference getTimerEventDefinition_TimeDate();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.TimerEventDefinition#getTimeDuration <em>Time Duration</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Time Duration</em>'.
+ * @see org.eclipse.bpmn2.TimerEventDefinition#getTimeDuration()
+ * @see #getTimerEventDefinition()
+ * @generated
+ */
+ EReference getTimerEventDefinition_TimeDuration();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.TimerEventDefinition#getTimeCycle <em>Time Cycle</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Time Cycle</em>'.
+ * @see org.eclipse.bpmn2.TimerEventDefinition#getTimeCycle()
+ * @see #getTimerEventDefinition()
+ * @generated
+ */
+ EReference getTimerEventDefinition_TimeCycle();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.Transaction <em>Transaction</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Transaction</em>'.
+ * @see org.eclipse.bpmn2.Transaction
+ * @generated
+ */
+ EClass getTransaction();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Transaction#getProtocol <em>Protocol</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Protocol</em>'.
+ * @see org.eclipse.bpmn2.Transaction#getProtocol()
+ * @see #getTransaction()
+ * @generated
+ */
+ EAttribute getTransaction_Protocol();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.Transaction#getMethod <em>Method</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Method</em>'.
+ * @see org.eclipse.bpmn2.Transaction#getMethod()
+ * @see #getTransaction()
+ * @generated
+ */
+ EAttribute getTransaction_Method();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.UserTask <em>User Task</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>User Task</em>'.
+ * @see org.eclipse.bpmn2.UserTask
+ * @generated
+ */
+ EClass getUserTask();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.UserTask#getRenderings <em>Renderings</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Renderings</em>'.
+ * @see org.eclipse.bpmn2.UserTask#getRenderings()
+ * @see #getUserTask()
+ * @generated
+ */
+ EReference getUserTask_Renderings();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.UserTask#getImplementation <em>Implementation</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Implementation</em>'.
+ * @see org.eclipse.bpmn2.UserTask#getImplementation()
+ * @see #getUserTask()
+ * @generated
+ */
+ EAttribute getUserTask_Implementation();
+
+ /**
+ * Returns the meta object for enum '{@link org.eclipse.bpmn2.AdHocOrdering <em>Ad Hoc Ordering</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em>Ad Hoc Ordering</em>'.
+ * @see org.eclipse.bpmn2.AdHocOrdering
+ * @generated
+ */
+ EEnum getAdHocOrdering();
+
+ /**
+ * Returns the meta object for enum '{@link org.eclipse.bpmn2.AssociationDirection <em>Association Direction</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em>Association Direction</em>'.
+ * @see org.eclipse.bpmn2.AssociationDirection
+ * @generated
+ */
+ EEnum getAssociationDirection();
+
+ /**
+ * Returns the meta object for enum '{@link org.eclipse.bpmn2.ChoreographyLoopType <em>Choreography Loop Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em>Choreography Loop Type</em>'.
+ * @see org.eclipse.bpmn2.ChoreographyLoopType
+ * @generated
+ */
+ EEnum getChoreographyLoopType();
+
+ /**
+ * Returns the meta object for enum '{@link org.eclipse.bpmn2.EventBasedGatewayType <em>Event Based Gateway Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em>Event Based Gateway Type</em>'.
+ * @see org.eclipse.bpmn2.EventBasedGatewayType
+ * @generated
+ */
+ EEnum getEventBasedGatewayType();
+
+ /**
+ * Returns the meta object for enum '{@link org.eclipse.bpmn2.GatewayDirection <em>Gateway Direction</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em>Gateway Direction</em>'.
+ * @see org.eclipse.bpmn2.GatewayDirection
+ * @generated
+ */
+ EEnum getGatewayDirection();
+
+ /**
+ * Returns the meta object for enum '{@link org.eclipse.bpmn2.ItemKind <em>Item Kind</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em>Item Kind</em>'.
+ * @see org.eclipse.bpmn2.ItemKind
+ * @generated
+ */
+ EEnum getItemKind();
+
+ /**
+ * Returns the meta object for enum '{@link org.eclipse.bpmn2.MultiInstanceBehavior <em>Multi Instance Behavior</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em>Multi Instance Behavior</em>'.
+ * @see org.eclipse.bpmn2.MultiInstanceBehavior
+ * @generated
+ */
+ EEnum getMultiInstanceBehavior();
+
+ /**
+ * Returns the meta object for enum '{@link org.eclipse.bpmn2.ProcessType <em>Process Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em>Process Type</em>'.
+ * @see org.eclipse.bpmn2.ProcessType
+ * @generated
+ */
+ EEnum getProcessType();
+
+ /**
+ * Returns the meta object for enum '{@link org.eclipse.bpmn2.RelationshipDirection <em>Relationship Direction</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em>Relationship Direction</em>'.
+ * @see org.eclipse.bpmn2.RelationshipDirection
+ * @generated
+ */
+ EEnum getRelationshipDirection();
+
+ /**
+ * Returns the factory that creates the instances of the model.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the factory that creates the instances of the model.
+ * @generated
+ */
+ Bpmn2Factory getBpmn2Factory();
+
+ /**
+ * <!-- begin-user-doc -->
+ * Defines literals for the meta objects that represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ interface Literals {
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.DocumentRootImpl <em>Document Root</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.DocumentRootImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getDocumentRoot()
+ * @generated
+ */
+ EClass DOCUMENT_ROOT = eINSTANCE.getDocumentRoot();
+
+ /**
+ * The meta object literal for the '<em><b>Mixed</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DOCUMENT_ROOT__MIXED = eINSTANCE.getDocumentRoot_Mixed();
+
+ /**
+ * The meta object literal for the '<em><b>XMLNS Prefix Map</b></em>' map feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__XMLNS_PREFIX_MAP = eINSTANCE
+ .getDocumentRoot_XMLNSPrefixMap();
+
+ /**
+ * The meta object literal for the '<em><b>XSI Schema Location</b></em>' map feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = eINSTANCE
+ .getDocumentRoot_XSISchemaLocation();
+
+ /**
+ * The meta object literal for the '<em><b>Activity</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__ACTIVITY = eINSTANCE
+ .getDocumentRoot_Activity();
+
+ /**
+ * The meta object literal for the '<em><b>Ad Hoc Sub Process</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__AD_HOC_SUB_PROCESS = eINSTANCE
+ .getDocumentRoot_AdHocSubProcess();
+
+ /**
+ * The meta object literal for the '<em><b>Flow Element</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__FLOW_ELEMENT = eINSTANCE
+ .getDocumentRoot_FlowElement();
+
+ /**
+ * The meta object literal for the '<em><b>Artifact</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__ARTIFACT = eINSTANCE
+ .getDocumentRoot_Artifact();
+
+ /**
+ * The meta object literal for the '<em><b>Assignment</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__ASSIGNMENT = eINSTANCE
+ .getDocumentRoot_Assignment();
+
+ /**
+ * The meta object literal for the '<em><b>Association</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__ASSOCIATION = eINSTANCE
+ .getDocumentRoot_Association();
+
+ /**
+ * The meta object literal for the '<em><b>Auditing</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__AUDITING = eINSTANCE
+ .getDocumentRoot_Auditing();
+
+ /**
+ * The meta object literal for the '<em><b>Base Element</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__BASE_ELEMENT = eINSTANCE
+ .getDocumentRoot_BaseElement();
+
+ /**
+ * The meta object literal for the '<em><b>Base Element With Mixed Content</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__BASE_ELEMENT_WITH_MIXED_CONTENT = eINSTANCE
+ .getDocumentRoot_BaseElementWithMixedContent();
+
+ /**
+ * The meta object literal for the '<em><b>Boundary Event</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__BOUNDARY_EVENT = eINSTANCE
+ .getDocumentRoot_BoundaryEvent();
+
+ /**
+ * The meta object literal for the '<em><b>Business Rule Task</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__BUSINESS_RULE_TASK = eINSTANCE
+ .getDocumentRoot_BusinessRuleTask();
+
+ /**
+ * The meta object literal for the '<em><b>Callable Element</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__CALLABLE_ELEMENT = eINSTANCE
+ .getDocumentRoot_CallableElement();
+
+ /**
+ * The meta object literal for the '<em><b>Call Activity</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__CALL_ACTIVITY = eINSTANCE
+ .getDocumentRoot_CallActivity();
+
+ /**
+ * The meta object literal for the '<em><b>Call Choreography</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__CALL_CHOREOGRAPHY = eINSTANCE
+ .getDocumentRoot_CallChoreography();
+
+ /**
+ * The meta object literal for the '<em><b>Call Conversation</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__CALL_CONVERSATION = eINSTANCE
+ .getDocumentRoot_CallConversation();
+
+ /**
+ * The meta object literal for the '<em><b>Conversation Node</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__CONVERSATION_NODE = eINSTANCE
+ .getDocumentRoot_ConversationNode();
+
+ /**
+ * The meta object literal for the '<em><b>Cancel Event Definition</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__CANCEL_EVENT_DEFINITION = eINSTANCE
+ .getDocumentRoot_CancelEventDefinition();
+
+ /**
+ * The meta object literal for the '<em><b>Event Definition</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__EVENT_DEFINITION = eINSTANCE
+ .getDocumentRoot_EventDefinition();
+
+ /**
+ * The meta object literal for the '<em><b>Root Element</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__ROOT_ELEMENT = eINSTANCE
+ .getDocumentRoot_RootElement();
+
+ /**
+ * The meta object literal for the '<em><b>Catch Event</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__CATCH_EVENT = eINSTANCE
+ .getDocumentRoot_CatchEvent();
+
+ /**
+ * The meta object literal for the '<em><b>Category</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__CATEGORY = eINSTANCE
+ .getDocumentRoot_Category();
+
+ /**
+ * The meta object literal for the '<em><b>Category Value</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__CATEGORY_VALUE = eINSTANCE
+ .getDocumentRoot_CategoryValue();
+
+ /**
+ * The meta object literal for the '<em><b>Choreography</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__CHOREOGRAPHY = eINSTANCE
+ .getDocumentRoot_Choreography();
+
+ /**
+ * The meta object literal for the '<em><b>Collaboration</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__COLLABORATION = eINSTANCE
+ .getDocumentRoot_Collaboration();
+
+ /**
+ * The meta object literal for the '<em><b>Choreography Activity</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__CHOREOGRAPHY_ACTIVITY = eINSTANCE
+ .getDocumentRoot_ChoreographyActivity();
+
+ /**
+ * The meta object literal for the '<em><b>Choreography Task</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__CHOREOGRAPHY_TASK = eINSTANCE
+ .getDocumentRoot_ChoreographyTask();
+
+ /**
+ * The meta object literal for the '<em><b>Compensate Event Definition</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__COMPENSATE_EVENT_DEFINITION = eINSTANCE
+ .getDocumentRoot_CompensateEventDefinition();
+
+ /**
+ * The meta object literal for the '<em><b>Complex Behavior Definition</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__COMPLEX_BEHAVIOR_DEFINITION = eINSTANCE
+ .getDocumentRoot_ComplexBehaviorDefinition();
+
+ /**
+ * The meta object literal for the '<em><b>Complex Gateway</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__COMPLEX_GATEWAY = eINSTANCE
+ .getDocumentRoot_ComplexGateway();
+
+ /**
+ * The meta object literal for the '<em><b>Conditional Event Definition</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__CONDITIONAL_EVENT_DEFINITION = eINSTANCE
+ .getDocumentRoot_ConditionalEventDefinition();
+
+ /**
+ * The meta object literal for the '<em><b>Conversation</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__CONVERSATION = eINSTANCE
+ .getDocumentRoot_Conversation();
+
+ /**
+ * The meta object literal for the '<em><b>Conversation Association</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__CONVERSATION_ASSOCIATION = eINSTANCE
+ .getDocumentRoot_ConversationAssociation();
+
+ /**
+ * The meta object literal for the '<em><b>Conversation Link</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__CONVERSATION_LINK = eINSTANCE
+ .getDocumentRoot_ConversationLink();
+
+ /**
+ * The meta object literal for the '<em><b>Correlation Key</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__CORRELATION_KEY = eINSTANCE
+ .getDocumentRoot_CorrelationKey();
+
+ /**
+ * The meta object literal for the '<em><b>Correlation Property</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__CORRELATION_PROPERTY = eINSTANCE
+ .getDocumentRoot_CorrelationProperty();
+
+ /**
+ * The meta object literal for the '<em><b>Correlation Property Binding</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__CORRELATION_PROPERTY_BINDING = eINSTANCE
+ .getDocumentRoot_CorrelationPropertyBinding();
+
+ /**
+ * The meta object literal for the '<em><b>Correlation Property Retrieval Expression</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION = eINSTANCE
+ .getDocumentRoot_CorrelationPropertyRetrievalExpression();
+
+ /**
+ * The meta object literal for the '<em><b>Correlation Subscription</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__CORRELATION_SUBSCRIPTION = eINSTANCE
+ .getDocumentRoot_CorrelationSubscription();
+
+ /**
+ * The meta object literal for the '<em><b>Data Association</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__DATA_ASSOCIATION = eINSTANCE
+ .getDocumentRoot_DataAssociation();
+
+ /**
+ * The meta object literal for the '<em><b>Data Input</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__DATA_INPUT = eINSTANCE
+ .getDocumentRoot_DataInput();
+
+ /**
+ * The meta object literal for the '<em><b>Data Input Association</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__DATA_INPUT_ASSOCIATION = eINSTANCE
+ .getDocumentRoot_DataInputAssociation();
+
+ /**
+ * The meta object literal for the '<em><b>Data Object</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__DATA_OBJECT = eINSTANCE
+ .getDocumentRoot_DataObject();
+
+ /**
+ * The meta object literal for the '<em><b>Data Object Reference</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__DATA_OBJECT_REFERENCE = eINSTANCE
+ .getDocumentRoot_DataObjectReference();
+
+ /**
+ * The meta object literal for the '<em><b>Data Output</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__DATA_OUTPUT = eINSTANCE
+ .getDocumentRoot_DataOutput();
+
+ /**
+ * The meta object literal for the '<em><b>Data Output Association</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__DATA_OUTPUT_ASSOCIATION = eINSTANCE
+ .getDocumentRoot_DataOutputAssociation();
+
+ /**
+ * The meta object literal for the '<em><b>Data State</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__DATA_STATE = eINSTANCE
+ .getDocumentRoot_DataState();
+
+ /**
+ * The meta object literal for the '<em><b>Data Store</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__DATA_STORE = eINSTANCE
+ .getDocumentRoot_DataStore();
+
+ /**
+ * The meta object literal for the '<em><b>Data Store Reference</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__DATA_STORE_REFERENCE = eINSTANCE
+ .getDocumentRoot_DataStoreReference();
+
+ /**
+ * The meta object literal for the '<em><b>Definitions</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__DEFINITIONS = eINSTANCE
+ .getDocumentRoot_Definitions();
+
+ /**
+ * The meta object literal for the '<em><b>Documentation</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__DOCUMENTATION = eINSTANCE
+ .getDocumentRoot_Documentation();
+
+ /**
+ * The meta object literal for the '<em><b>End Event</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__END_EVENT = eINSTANCE
+ .getDocumentRoot_EndEvent();
+
+ /**
+ * The meta object literal for the '<em><b>End Point</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__END_POINT = eINSTANCE
+ .getDocumentRoot_EndPoint();
+
+ /**
+ * The meta object literal for the '<em><b>Error</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__ERROR = eINSTANCE.getDocumentRoot_Error();
+
+ /**
+ * The meta object literal for the '<em><b>Error Event Definition</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__ERROR_EVENT_DEFINITION = eINSTANCE
+ .getDocumentRoot_ErrorEventDefinition();
+
+ /**
+ * The meta object literal for the '<em><b>Escalation</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__ESCALATION = eINSTANCE
+ .getDocumentRoot_Escalation();
+
+ /**
+ * The meta object literal for the '<em><b>Escalation Event Definition</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__ESCALATION_EVENT_DEFINITION = eINSTANCE
+ .getDocumentRoot_EscalationEventDefinition();
+
+ /**
+ * The meta object literal for the '<em><b>Event</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__EVENT = eINSTANCE.getDocumentRoot_Event();
+
+ /**
+ * The meta object literal for the '<em><b>Event Based Gateway</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__EVENT_BASED_GATEWAY = eINSTANCE
+ .getDocumentRoot_EventBasedGateway();
+
+ /**
+ * The meta object literal for the '<em><b>Exclusive Gateway</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__EXCLUSIVE_GATEWAY = eINSTANCE
+ .getDocumentRoot_ExclusiveGateway();
+
+ /**
+ * The meta object literal for the '<em><b>Expression</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__EXPRESSION = eINSTANCE
+ .getDocumentRoot_Expression();
+
+ /**
+ * The meta object literal for the '<em><b>Extension</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__EXTENSION = eINSTANCE
+ .getDocumentRoot_Extension();
+
+ /**
+ * The meta object literal for the '<em><b>Extension Elements</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__EXTENSION_ELEMENTS = eINSTANCE
+ .getDocumentRoot_ExtensionElements();
+
+ /**
+ * The meta object literal for the '<em><b>Flow Node</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__FLOW_NODE = eINSTANCE
+ .getDocumentRoot_FlowNode();
+
+ /**
+ * The meta object literal for the '<em><b>Formal Expression</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__FORMAL_EXPRESSION = eINSTANCE
+ .getDocumentRoot_FormalExpression();
+
+ /**
+ * The meta object literal for the '<em><b>Gateway</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__GATEWAY = eINSTANCE.getDocumentRoot_Gateway();
+
+ /**
+ * The meta object literal for the '<em><b>Global Business Rule Task</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__GLOBAL_BUSINESS_RULE_TASK = eINSTANCE
+ .getDocumentRoot_GlobalBusinessRuleTask();
+
+ /**
+ * The meta object literal for the '<em><b>Global Choreography Task</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__GLOBAL_CHOREOGRAPHY_TASK = eINSTANCE
+ .getDocumentRoot_GlobalChoreographyTask();
+
+ /**
+ * The meta object literal for the '<em><b>Global Conversation</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__GLOBAL_CONVERSATION = eINSTANCE
+ .getDocumentRoot_GlobalConversation();
+
+ /**
+ * The meta object literal for the '<em><b>Global Manual Task</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__GLOBAL_MANUAL_TASK = eINSTANCE
+ .getDocumentRoot_GlobalManualTask();
+
+ /**
+ * The meta object literal for the '<em><b>Global Script Task</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__GLOBAL_SCRIPT_TASK = eINSTANCE
+ .getDocumentRoot_GlobalScriptTask();
+
+ /**
+ * The meta object literal for the '<em><b>Global Task</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__GLOBAL_TASK = eINSTANCE
+ .getDocumentRoot_GlobalTask();
+
+ /**
+ * The meta object literal for the '<em><b>Global User Task</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__GLOBAL_USER_TASK = eINSTANCE
+ .getDocumentRoot_GlobalUserTask();
+
+ /**
+ * The meta object literal for the '<em><b>Group</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__GROUP = eINSTANCE.getDocumentRoot_Group();
+
+ /**
+ * The meta object literal for the '<em><b>Human Performer</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__HUMAN_PERFORMER = eINSTANCE
+ .getDocumentRoot_HumanPerformer();
+
+ /**
+ * The meta object literal for the '<em><b>Performer</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__PERFORMER = eINSTANCE
+ .getDocumentRoot_Performer();
+
+ /**
+ * The meta object literal for the '<em><b>Resource Role</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__RESOURCE_ROLE = eINSTANCE
+ .getDocumentRoot_ResourceRole();
+
+ /**
+ * The meta object literal for the '<em><b>Implicit Throw Event</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__IMPLICIT_THROW_EVENT = eINSTANCE
+ .getDocumentRoot_ImplicitThrowEvent();
+
+ /**
+ * The meta object literal for the '<em><b>Import</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__IMPORT = eINSTANCE.getDocumentRoot_Import();
+
+ /**
+ * The meta object literal for the '<em><b>Inclusive Gateway</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__INCLUSIVE_GATEWAY = eINSTANCE
+ .getDocumentRoot_InclusiveGateway();
+
+ /**
+ * The meta object literal for the '<em><b>Input Set</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__INPUT_SET = eINSTANCE
+ .getDocumentRoot_InputSet();
+
+ /**
+ * The meta object literal for the '<em><b>Interface</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__INTERFACE = eINSTANCE
+ .getDocumentRoot_Interface();
+
+ /**
+ * The meta object literal for the '<em><b>Intermediate Catch Event</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__INTERMEDIATE_CATCH_EVENT = eINSTANCE
+ .getDocumentRoot_IntermediateCatchEvent();
+
+ /**
+ * The meta object literal for the '<em><b>Intermediate Throw Event</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__INTERMEDIATE_THROW_EVENT = eINSTANCE
+ .getDocumentRoot_IntermediateThrowEvent();
+
+ /**
+ * The meta object literal for the '<em><b>Io Binding</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__IO_BINDING = eINSTANCE
+ .getDocumentRoot_IoBinding();
+
+ /**
+ * The meta object literal for the '<em><b>Io Specification</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__IO_SPECIFICATION = eINSTANCE
+ .getDocumentRoot_IoSpecification();
+
+ /**
+ * The meta object literal for the '<em><b>Item Definition</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__ITEM_DEFINITION = eINSTANCE
+ .getDocumentRoot_ItemDefinition();
+
+ /**
+ * The meta object literal for the '<em><b>Lane</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__LANE = eINSTANCE.getDocumentRoot_Lane();
+
+ /**
+ * The meta object literal for the '<em><b>Lane Set</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__LANE_SET = eINSTANCE
+ .getDocumentRoot_LaneSet();
+
+ /**
+ * The meta object literal for the '<em><b>Link Event Definition</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__LINK_EVENT_DEFINITION = eINSTANCE
+ .getDocumentRoot_LinkEventDefinition();
+
+ /**
+ * The meta object literal for the '<em><b>Loop Characteristics</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__LOOP_CHARACTERISTICS = eINSTANCE
+ .getDocumentRoot_LoopCharacteristics();
+
+ /**
+ * The meta object literal for the '<em><b>Manual Task</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__MANUAL_TASK = eINSTANCE
+ .getDocumentRoot_ManualTask();
+
+ /**
+ * The meta object literal for the '<em><b>Message</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__MESSAGE = eINSTANCE.getDocumentRoot_Message();
+
+ /**
+ * The meta object literal for the '<em><b>Message Event Definition</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__MESSAGE_EVENT_DEFINITION = eINSTANCE
+ .getDocumentRoot_MessageEventDefinition();
+
+ /**
+ * The meta object literal for the '<em><b>Message Flow</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__MESSAGE_FLOW = eINSTANCE
+ .getDocumentRoot_MessageFlow();
+
+ /**
+ * The meta object literal for the '<em><b>Message Flow Association</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__MESSAGE_FLOW_ASSOCIATION = eINSTANCE
+ .getDocumentRoot_MessageFlowAssociation();
+
+ /**
+ * The meta object literal for the '<em><b>Monitoring</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__MONITORING = eINSTANCE
+ .getDocumentRoot_Monitoring();
+
+ /**
+ * The meta object literal for the '<em><b>Multi Instance Loop Characteristics</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__MULTI_INSTANCE_LOOP_CHARACTERISTICS = eINSTANCE
+ .getDocumentRoot_MultiInstanceLoopCharacteristics();
+
+ /**
+ * The meta object literal for the '<em><b>Operation</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__OPERATION = eINSTANCE
+ .getDocumentRoot_Operation();
+
+ /**
+ * The meta object literal for the '<em><b>Output Set</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__OUTPUT_SET = eINSTANCE
+ .getDocumentRoot_OutputSet();
+
+ /**
+ * The meta object literal for the '<em><b>Parallel Gateway</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__PARALLEL_GATEWAY = eINSTANCE
+ .getDocumentRoot_ParallelGateway();
+
+ /**
+ * The meta object literal for the '<em><b>Participant</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__PARTICIPANT = eINSTANCE
+ .getDocumentRoot_Participant();
+
+ /**
+ * The meta object literal for the '<em><b>Participant Association</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__PARTICIPANT_ASSOCIATION = eINSTANCE
+ .getDocumentRoot_ParticipantAssociation();
+
+ /**
+ * The meta object literal for the '<em><b>Participant Multiplicity</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__PARTICIPANT_MULTIPLICITY = eINSTANCE
+ .getDocumentRoot_ParticipantMultiplicity();
+
+ /**
+ * The meta object literal for the '<em><b>Partner Entity</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__PARTNER_ENTITY = eINSTANCE
+ .getDocumentRoot_PartnerEntity();
+
+ /**
+ * The meta object literal for the '<em><b>Partner Role</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__PARTNER_ROLE = eINSTANCE
+ .getDocumentRoot_PartnerRole();
+
+ /**
+ * The meta object literal for the '<em><b>Potential Owner</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__POTENTIAL_OWNER = eINSTANCE
+ .getDocumentRoot_PotentialOwner();
+
+ /**
+ * The meta object literal for the '<em><b>Process</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__PROCESS = eINSTANCE.getDocumentRoot_Process();
+
+ /**
+ * The meta object literal for the '<em><b>Property</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__PROPERTY = eINSTANCE
+ .getDocumentRoot_Property();
+
+ /**
+ * The meta object literal for the '<em><b>Receive Task</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__RECEIVE_TASK = eINSTANCE
+ .getDocumentRoot_ReceiveTask();
+
+ /**
+ * The meta object literal for the '<em><b>Relationship</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__RELATIONSHIP = eINSTANCE
+ .getDocumentRoot_Relationship();
+
+ /**
+ * The meta object literal for the '<em><b>Rendering</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__RENDERING = eINSTANCE
+ .getDocumentRoot_Rendering();
+
+ /**
+ * The meta object literal for the '<em><b>Resource</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__RESOURCE = eINSTANCE
+ .getDocumentRoot_Resource();
+
+ /**
+ * The meta object literal for the '<em><b>Resource Assignment Expression</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__RESOURCE_ASSIGNMENT_EXPRESSION = eINSTANCE
+ .getDocumentRoot_ResourceAssignmentExpression();
+
+ /**
+ * The meta object literal for the '<em><b>Resource Parameter</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__RESOURCE_PARAMETER = eINSTANCE
+ .getDocumentRoot_ResourceParameter();
+
+ /**
+ * The meta object literal for the '<em><b>Resource Parameter Binding</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__RESOURCE_PARAMETER_BINDING = eINSTANCE
+ .getDocumentRoot_ResourceParameterBinding();
+
+ /**
+ * The meta object literal for the '<em><b>Script</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__SCRIPT = eINSTANCE.getDocumentRoot_Script();
+
+ /**
+ * The meta object literal for the '<em><b>Script Task</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__SCRIPT_TASK = eINSTANCE
+ .getDocumentRoot_ScriptTask();
+
+ /**
+ * The meta object literal for the '<em><b>Send Task</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__SEND_TASK = eINSTANCE
+ .getDocumentRoot_SendTask();
+
+ /**
+ * The meta object literal for the '<em><b>Sequence Flow</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__SEQUENCE_FLOW = eINSTANCE
+ .getDocumentRoot_SequenceFlow();
+
+ /**
+ * The meta object literal for the '<em><b>Service Task</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__SERVICE_TASK = eINSTANCE
+ .getDocumentRoot_ServiceTask();
+
+ /**
+ * The meta object literal for the '<em><b>Signal</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__SIGNAL = eINSTANCE.getDocumentRoot_Signal();
+
+ /**
+ * The meta object literal for the '<em><b>Signal Event Definition</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__SIGNAL_EVENT_DEFINITION = eINSTANCE
+ .getDocumentRoot_SignalEventDefinition();
+
+ /**
+ * The meta object literal for the '<em><b>Standard Loop Characteristics</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__STANDARD_LOOP_CHARACTERISTICS = eINSTANCE
+ .getDocumentRoot_StandardLoopCharacteristics();
+
+ /**
+ * The meta object literal for the '<em><b>Start Event</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__START_EVENT = eINSTANCE
+ .getDocumentRoot_StartEvent();
+
+ /**
+ * The meta object literal for the '<em><b>Sub Choreography</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__SUB_CHOREOGRAPHY = eINSTANCE
+ .getDocumentRoot_SubChoreography();
+
+ /**
+ * The meta object literal for the '<em><b>Sub Conversation</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__SUB_CONVERSATION = eINSTANCE
+ .getDocumentRoot_SubConversation();
+
+ /**
+ * The meta object literal for the '<em><b>Sub Process</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__SUB_PROCESS = eINSTANCE
+ .getDocumentRoot_SubProcess();
+
+ /**
+ * The meta object literal for the '<em><b>Task</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__TASK = eINSTANCE.getDocumentRoot_Task();
+
+ /**
+ * The meta object literal for the '<em><b>Terminate Event Definition</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__TERMINATE_EVENT_DEFINITION = eINSTANCE
+ .getDocumentRoot_TerminateEventDefinition();
+
+ /**
+ * The meta object literal for the '<em><b>Text</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__TEXT = eINSTANCE.getDocumentRoot_Text();
+
+ /**
+ * The meta object literal for the '<em><b>Text Annotation</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__TEXT_ANNOTATION = eINSTANCE
+ .getDocumentRoot_TextAnnotation();
+
+ /**
+ * The meta object literal for the '<em><b>Throw Event</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__THROW_EVENT = eINSTANCE
+ .getDocumentRoot_ThrowEvent();
+
+ /**
+ * The meta object literal for the '<em><b>Timer Event Definition</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__TIMER_EVENT_DEFINITION = eINSTANCE
+ .getDocumentRoot_TimerEventDefinition();
+
+ /**
+ * The meta object literal for the '<em><b>Transaction</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__TRANSACTION = eINSTANCE
+ .getDocumentRoot_Transaction();
+
+ /**
+ * The meta object literal for the '<em><b>User Task</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__USER_TASK = eINSTANCE
+ .getDocumentRoot_UserTask();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ActivityImpl <em>Activity</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ActivityImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getActivity()
+ * @generated
+ */
+ EClass ACTIVITY = eINSTANCE.getActivity();
+
+ /**
+ * The meta object literal for the '<em><b>Io Specification</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ACTIVITY__IO_SPECIFICATION = eINSTANCE
+ .getActivity_IoSpecification();
+
+ /**
+ * The meta object literal for the '<em><b>Boundary Event Refs</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ACTIVITY__BOUNDARY_EVENT_REFS = eINSTANCE
+ .getActivity_BoundaryEventRefs();
+
+ /**
+ * The meta object literal for the '<em><b>Properties</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ACTIVITY__PROPERTIES = eINSTANCE.getActivity_Properties();
+
+ /**
+ * The meta object literal for the '<em><b>Data Input Associations</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ACTIVITY__DATA_INPUT_ASSOCIATIONS = eINSTANCE
+ .getActivity_DataInputAssociations();
+
+ /**
+ * The meta object literal for the '<em><b>Data Output Associations</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ACTIVITY__DATA_OUTPUT_ASSOCIATIONS = eINSTANCE
+ .getActivity_DataOutputAssociations();
+
+ /**
+ * The meta object literal for the '<em><b>Resources</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ACTIVITY__RESOURCES = eINSTANCE.getActivity_Resources();
+
+ /**
+ * The meta object literal for the '<em><b>Loop Characteristics</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ACTIVITY__LOOP_CHARACTERISTICS = eINSTANCE
+ .getActivity_LoopCharacteristics();
+
+ /**
+ * The meta object literal for the '<em><b>Completion Quantity</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute ACTIVITY__COMPLETION_QUANTITY = eINSTANCE
+ .getActivity_CompletionQuantity();
+
+ /**
+ * The meta object literal for the '<em><b>Default</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ACTIVITY__DEFAULT = eINSTANCE.getActivity_Default();
+
+ /**
+ * The meta object literal for the '<em><b>Is For Compensation</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute ACTIVITY__IS_FOR_COMPENSATION = eINSTANCE
+ .getActivity_IsForCompensation();
+
+ /**
+ * The meta object literal for the '<em><b>Start Quantity</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute ACTIVITY__START_QUANTITY = eINSTANCE
+ .getActivity_StartQuantity();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.AdHocSubProcessImpl <em>Ad Hoc Sub Process</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.AdHocSubProcessImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getAdHocSubProcess()
+ * @generated
+ */
+ EClass AD_HOC_SUB_PROCESS = eINSTANCE.getAdHocSubProcess();
+
+ /**
+ * The meta object literal for the '<em><b>Completion Condition</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference AD_HOC_SUB_PROCESS__COMPLETION_CONDITION = eINSTANCE
+ .getAdHocSubProcess_CompletionCondition();
+
+ /**
+ * The meta object literal for the '<em><b>Cancel Remaining Instances</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute AD_HOC_SUB_PROCESS__CANCEL_REMAINING_INSTANCES = eINSTANCE
+ .getAdHocSubProcess_CancelRemainingInstances();
+
+ /**
+ * The meta object literal for the '<em><b>Ordering</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute AD_HOC_SUB_PROCESS__ORDERING = eINSTANCE
+ .getAdHocSubProcess_Ordering();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ArtifactImpl <em>Artifact</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ArtifactImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getArtifact()
+ * @generated
+ */
+ EClass ARTIFACT = eINSTANCE.getArtifact();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.AssignmentImpl <em>Assignment</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.AssignmentImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getAssignment()
+ * @generated
+ */
+ EClass ASSIGNMENT = eINSTANCE.getAssignment();
+
+ /**
+ * The meta object literal for the '<em><b>From</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ASSIGNMENT__FROM = eINSTANCE.getAssignment_From();
+
+ /**
+ * The meta object literal for the '<em><b>To</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ASSIGNMENT__TO = eINSTANCE.getAssignment_To();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.AssociationImpl <em>Association</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.AssociationImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getAssociation()
+ * @generated
+ */
+ EClass ASSOCIATION = eINSTANCE.getAssociation();
+
+ /**
+ * The meta object literal for the '<em><b>Association Direction</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute ASSOCIATION__ASSOCIATION_DIRECTION = eINSTANCE
+ .getAssociation_AssociationDirection();
+
+ /**
+ * The meta object literal for the '<em><b>Source Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ASSOCIATION__SOURCE_REF = eINSTANCE
+ .getAssociation_SourceRef();
+
+ /**
+ * The meta object literal for the '<em><b>Target Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ASSOCIATION__TARGET_REF = eINSTANCE
+ .getAssociation_TargetRef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.AuditingImpl <em>Auditing</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.AuditingImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getAuditing()
+ * @generated
+ */
+ EClass AUDITING = eINSTANCE.getAuditing();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.BaseElementImpl <em>Base Element</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.BaseElementImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getBaseElement()
+ * @generated
+ */
+ EClass BASE_ELEMENT = eINSTANCE.getBaseElement();
+
+ /**
+ * The meta object literal for the '<em><b>Extension Values</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference BASE_ELEMENT__EXTENSION_VALUES = eINSTANCE
+ .getBaseElement_ExtensionValues();
+
+ /**
+ * The meta object literal for the '<em><b>Documentation</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference BASE_ELEMENT__DOCUMENTATION = eINSTANCE
+ .getBaseElement_Documentation();
+
+ /**
+ * The meta object literal for the '<em><b>Extension Definitions</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference BASE_ELEMENT__EXTENSION_DEFINITIONS = eINSTANCE
+ .getBaseElement_ExtensionDefinitions();
+
+ /**
+ * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute BASE_ELEMENT__ID = eINSTANCE.getBaseElement_Id();
+
+ /**
+ * The meta object literal for the '<em><b>Any Attribute</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute BASE_ELEMENT__ANY_ATTRIBUTE = eINSTANCE
+ .getBaseElement_AnyAttribute();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.BoundaryEventImpl <em>Boundary Event</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.BoundaryEventImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getBoundaryEvent()
+ * @generated
+ */
+ EClass BOUNDARY_EVENT = eINSTANCE.getBoundaryEvent();
+
+ /**
+ * The meta object literal for the '<em><b>Attached To Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference BOUNDARY_EVENT__ATTACHED_TO_REF = eINSTANCE
+ .getBoundaryEvent_AttachedToRef();
+
+ /**
+ * The meta object literal for the '<em><b>Cancel Activity</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute BOUNDARY_EVENT__CANCEL_ACTIVITY = eINSTANCE
+ .getBoundaryEvent_CancelActivity();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.BusinessRuleTaskImpl <em>Business Rule Task</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.BusinessRuleTaskImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getBusinessRuleTask()
+ * @generated
+ */
+ EClass BUSINESS_RULE_TASK = eINSTANCE.getBusinessRuleTask();
+
+ /**
+ * The meta object literal for the '<em><b>Implementation</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute BUSINESS_RULE_TASK__IMPLEMENTATION = eINSTANCE
+ .getBusinessRuleTask_Implementation();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.CallActivityImpl <em>Call Activity</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.CallActivityImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getCallActivity()
+ * @generated
+ */
+ EClass CALL_ACTIVITY = eINSTANCE.getCallActivity();
+
+ /**
+ * The meta object literal for the '<em><b>Called Element Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CALL_ACTIVITY__CALLED_ELEMENT_REF = eINSTANCE
+ .getCallActivity_CalledElementRef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.CallChoreographyImpl <em>Call Choreography</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.CallChoreographyImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getCallChoreography()
+ * @generated
+ */
+ EClass CALL_CHOREOGRAPHY = eINSTANCE.getCallChoreography();
+
+ /**
+ * The meta object literal for the '<em><b>Participant Associations</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CALL_CHOREOGRAPHY__PARTICIPANT_ASSOCIATIONS = eINSTANCE
+ .getCallChoreography_ParticipantAssociations();
+
+ /**
+ * The meta object literal for the '<em><b>Called Choreography Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CALL_CHOREOGRAPHY__CALLED_CHOREOGRAPHY_REF = eINSTANCE
+ .getCallChoreography_CalledChoreographyRef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.CallConversationImpl <em>Call Conversation</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.CallConversationImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getCallConversation()
+ * @generated
+ */
+ EClass CALL_CONVERSATION = eINSTANCE.getCallConversation();
+
+ /**
+ * The meta object literal for the '<em><b>Participant Associations</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CALL_CONVERSATION__PARTICIPANT_ASSOCIATIONS = eINSTANCE
+ .getCallConversation_ParticipantAssociations();
+
+ /**
+ * The meta object literal for the '<em><b>Called Collaboration Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CALL_CONVERSATION__CALLED_COLLABORATION_REF = eINSTANCE
+ .getCallConversation_CalledCollaborationRef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.CallableElementImpl <em>Callable Element</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.CallableElementImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getCallableElement()
+ * @generated
+ */
+ EClass CALLABLE_ELEMENT = eINSTANCE.getCallableElement();
+
+ /**
+ * The meta object literal for the '<em><b>Supported Interface Refs</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CALLABLE_ELEMENT__SUPPORTED_INTERFACE_REFS = eINSTANCE
+ .getCallableElement_SupportedInterfaceRefs();
+
+ /**
+ * The meta object literal for the '<em><b>Io Specification</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CALLABLE_ELEMENT__IO_SPECIFICATION = eINSTANCE
+ .getCallableElement_IoSpecification();
+
+ /**
+ * The meta object literal for the '<em><b>Io Binding</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CALLABLE_ELEMENT__IO_BINDING = eINSTANCE
+ .getCallableElement_IoBinding();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute CALLABLE_ELEMENT__NAME = eINSTANCE.getCallableElement_Name();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.CancelEventDefinitionImpl <em>Cancel Event Definition</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.CancelEventDefinitionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getCancelEventDefinition()
+ * @generated
+ */
+ EClass CANCEL_EVENT_DEFINITION = eINSTANCE.getCancelEventDefinition();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.CatchEventImpl <em>Catch Event</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.CatchEventImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getCatchEvent()
+ * @generated
+ */
+ EClass CATCH_EVENT = eINSTANCE.getCatchEvent();
+
+ /**
+ * The meta object literal for the '<em><b>Data Outputs</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CATCH_EVENT__DATA_OUTPUTS = eINSTANCE
+ .getCatchEvent_DataOutputs();
+
+ /**
+ * The meta object literal for the '<em><b>Data Output Association</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CATCH_EVENT__DATA_OUTPUT_ASSOCIATION = eINSTANCE
+ .getCatchEvent_DataOutputAssociation();
+
+ /**
+ * The meta object literal for the '<em><b>Output Set</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CATCH_EVENT__OUTPUT_SET = eINSTANCE
+ .getCatchEvent_OutputSet();
+
+ /**
+ * The meta object literal for the '<em><b>Event Definitions</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CATCH_EVENT__EVENT_DEFINITIONS = eINSTANCE
+ .getCatchEvent_EventDefinitions();
+
+ /**
+ * The meta object literal for the '<em><b>Event Definition Refs</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CATCH_EVENT__EVENT_DEFINITION_REFS = eINSTANCE
+ .getCatchEvent_EventDefinitionRefs();
+
+ /**
+ * The meta object literal for the '<em><b>Parallel Multiple</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute CATCH_EVENT__PARALLEL_MULTIPLE = eINSTANCE
+ .getCatchEvent_ParallelMultiple();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.CategoryImpl <em>Category</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.CategoryImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getCategory()
+ * @generated
+ */
+ EClass CATEGORY = eINSTANCE.getCategory();
+
+ /**
+ * The meta object literal for the '<em><b>Category Value</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CATEGORY__CATEGORY_VALUE = eINSTANCE
+ .getCategory_CategoryValue();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute CATEGORY__NAME = eINSTANCE.getCategory_Name();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.CategoryValueImpl <em>Category Value</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.CategoryValueImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getCategoryValue()
+ * @generated
+ */
+ EClass CATEGORY_VALUE = eINSTANCE.getCategoryValue();
+
+ /**
+ * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute CATEGORY_VALUE__VALUE = eINSTANCE.getCategoryValue_Value();
+
+ /**
+ * The meta object literal for the '<em><b>Categorized Flow Elements</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CATEGORY_VALUE__CATEGORIZED_FLOW_ELEMENTS = eINSTANCE
+ .getCategoryValue_CategorizedFlowElements();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ChoreographyImpl <em>Choreography</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ChoreographyImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getChoreography()
+ * @generated
+ */
+ EClass CHOREOGRAPHY = eINSTANCE.getChoreography();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ChoreographyActivityImpl <em>Choreography Activity</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ChoreographyActivityImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getChoreographyActivity()
+ * @generated
+ */
+ EClass CHOREOGRAPHY_ACTIVITY = eINSTANCE.getChoreographyActivity();
+
+ /**
+ * The meta object literal for the '<em><b>Participant Refs</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CHOREOGRAPHY_ACTIVITY__PARTICIPANT_REFS = eINSTANCE
+ .getChoreographyActivity_ParticipantRefs();
+
+ /**
+ * The meta object literal for the '<em><b>Correlation Keys</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CHOREOGRAPHY_ACTIVITY__CORRELATION_KEYS = eINSTANCE
+ .getChoreographyActivity_CorrelationKeys();
+
+ /**
+ * The meta object literal for the '<em><b>Initiating Participant Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CHOREOGRAPHY_ACTIVITY__INITIATING_PARTICIPANT_REF = eINSTANCE
+ .getChoreographyActivity_InitiatingParticipantRef();
+
+ /**
+ * The meta object literal for the '<em><b>Loop Type</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute CHOREOGRAPHY_ACTIVITY__LOOP_TYPE = eINSTANCE
+ .getChoreographyActivity_LoopType();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ChoreographyTaskImpl <em>Choreography Task</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ChoreographyTaskImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getChoreographyTask()
+ * @generated
+ */
+ EClass CHOREOGRAPHY_TASK = eINSTANCE.getChoreographyTask();
+
+ /**
+ * The meta object literal for the '<em><b>Message Flow Ref</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CHOREOGRAPHY_TASK__MESSAGE_FLOW_REF = eINSTANCE
+ .getChoreographyTask_MessageFlowRef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.CollaborationImpl <em>Collaboration</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.CollaborationImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getCollaboration()
+ * @generated
+ */
+ EClass COLLABORATION = eINSTANCE.getCollaboration();
+
+ /**
+ * The meta object literal for the '<em><b>Participants</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference COLLABORATION__PARTICIPANTS = eINSTANCE
+ .getCollaboration_Participants();
+
+ /**
+ * The meta object literal for the '<em><b>Message Flows</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference COLLABORATION__MESSAGE_FLOWS = eINSTANCE
+ .getCollaboration_MessageFlows();
+
+ /**
+ * The meta object literal for the '<em><b>Artifacts</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference COLLABORATION__ARTIFACTS = eINSTANCE
+ .getCollaboration_Artifacts();
+
+ /**
+ * The meta object literal for the '<em><b>Conversations</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference COLLABORATION__CONVERSATIONS = eINSTANCE
+ .getCollaboration_Conversations();
+
+ /**
+ * The meta object literal for the '<em><b>Conversation Associations</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference COLLABORATION__CONVERSATION_ASSOCIATIONS = eINSTANCE
+ .getCollaboration_ConversationAssociations();
+
+ /**
+ * The meta object literal for the '<em><b>Participant Associations</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference COLLABORATION__PARTICIPANT_ASSOCIATIONS = eINSTANCE
+ .getCollaboration_ParticipantAssociations();
+
+ /**
+ * The meta object literal for the '<em><b>Message Flow Associations</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference COLLABORATION__MESSAGE_FLOW_ASSOCIATIONS = eINSTANCE
+ .getCollaboration_MessageFlowAssociations();
+
+ /**
+ * The meta object literal for the '<em><b>Correlation Keys</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference COLLABORATION__CORRELATION_KEYS = eINSTANCE
+ .getCollaboration_CorrelationKeys();
+
+ /**
+ * The meta object literal for the '<em><b>Choreography Ref</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference COLLABORATION__CHOREOGRAPHY_REF = eINSTANCE
+ .getCollaboration_ChoreographyRef();
+
+ /**
+ * The meta object literal for the '<em><b>Conversation Links</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference COLLABORATION__CONVERSATION_LINKS = eINSTANCE
+ .getCollaboration_ConversationLinks();
+
+ /**
+ * The meta object literal for the '<em><b>Is Closed</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute COLLABORATION__IS_CLOSED = eINSTANCE
+ .getCollaboration_IsClosed();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute COLLABORATION__NAME = eINSTANCE.getCollaboration_Name();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.CompensateEventDefinitionImpl <em>Compensate Event Definition</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.CompensateEventDefinitionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getCompensateEventDefinition()
+ * @generated
+ */
+ EClass COMPENSATE_EVENT_DEFINITION = eINSTANCE
+ .getCompensateEventDefinition();
+
+ /**
+ * The meta object literal for the '<em><b>Activity Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference COMPENSATE_EVENT_DEFINITION__ACTIVITY_REF = eINSTANCE
+ .getCompensateEventDefinition_ActivityRef();
+
+ /**
+ * The meta object literal for the '<em><b>Wait For Completion</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute COMPENSATE_EVENT_DEFINITION__WAIT_FOR_COMPLETION = eINSTANCE
+ .getCompensateEventDefinition_WaitForCompletion();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ComplexBehaviorDefinitionImpl <em>Complex Behavior Definition</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ComplexBehaviorDefinitionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getComplexBehaviorDefinition()
+ * @generated
+ */
+ EClass COMPLEX_BEHAVIOR_DEFINITION = eINSTANCE
+ .getComplexBehaviorDefinition();
+
+ /**
+ * The meta object literal for the '<em><b>Condition</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference COMPLEX_BEHAVIOR_DEFINITION__CONDITION = eINSTANCE
+ .getComplexBehaviorDefinition_Condition();
+
+ /**
+ * The meta object literal for the '<em><b>Event</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference COMPLEX_BEHAVIOR_DEFINITION__EVENT = eINSTANCE
+ .getComplexBehaviorDefinition_Event();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ComplexGatewayImpl <em>Complex Gateway</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ComplexGatewayImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getComplexGateway()
+ * @generated
+ */
+ EClass COMPLEX_GATEWAY = eINSTANCE.getComplexGateway();
+
+ /**
+ * The meta object literal for the '<em><b>Activation Condition</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference COMPLEX_GATEWAY__ACTIVATION_CONDITION = eINSTANCE
+ .getComplexGateway_ActivationCondition();
+
+ /**
+ * The meta object literal for the '<em><b>Default</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference COMPLEX_GATEWAY__DEFAULT = eINSTANCE
+ .getComplexGateway_Default();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ConditionalEventDefinitionImpl <em>Conditional Event Definition</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ConditionalEventDefinitionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getConditionalEventDefinition()
+ * @generated
+ */
+ EClass CONDITIONAL_EVENT_DEFINITION = eINSTANCE
+ .getConditionalEventDefinition();
+
+ /**
+ * The meta object literal for the '<em><b>Condition</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CONDITIONAL_EVENT_DEFINITION__CONDITION = eINSTANCE
+ .getConditionalEventDefinition_Condition();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ConversationImpl <em>Conversation</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ConversationImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getConversation()
+ * @generated
+ */
+ EClass CONVERSATION = eINSTANCE.getConversation();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ConversationAssociationImpl <em>Conversation Association</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ConversationAssociationImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getConversationAssociation()
+ * @generated
+ */
+ EClass CONVERSATION_ASSOCIATION = eINSTANCE
+ .getConversationAssociation();
+
+ /**
+ * The meta object literal for the '<em><b>Inner Conversation Node Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CONVERSATION_ASSOCIATION__INNER_CONVERSATION_NODE_REF = eINSTANCE
+ .getConversationAssociation_InnerConversationNodeRef();
+
+ /**
+ * The meta object literal for the '<em><b>Outer Conversation Node Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CONVERSATION_ASSOCIATION__OUTER_CONVERSATION_NODE_REF = eINSTANCE
+ .getConversationAssociation_OuterConversationNodeRef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ConversationLinkImpl <em>Conversation Link</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ConversationLinkImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getConversationLink()
+ * @generated
+ */
+ EClass CONVERSATION_LINK = eINSTANCE.getConversationLink();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute CONVERSATION_LINK__NAME = eINSTANCE
+ .getConversationLink_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Source Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CONVERSATION_LINK__SOURCE_REF = eINSTANCE
+ .getConversationLink_SourceRef();
+
+ /**
+ * The meta object literal for the '<em><b>Target Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CONVERSATION_LINK__TARGET_REF = eINSTANCE
+ .getConversationLink_TargetRef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ConversationNodeImpl <em>Conversation Node</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ConversationNodeImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getConversationNode()
+ * @generated
+ */
+ EClass CONVERSATION_NODE = eINSTANCE.getConversationNode();
+
+ /**
+ * The meta object literal for the '<em><b>Participant Refs</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CONVERSATION_NODE__PARTICIPANT_REFS = eINSTANCE
+ .getConversationNode_ParticipantRefs();
+
+ /**
+ * The meta object literal for the '<em><b>Message Flow Refs</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CONVERSATION_NODE__MESSAGE_FLOW_REFS = eINSTANCE
+ .getConversationNode_MessageFlowRefs();
+
+ /**
+ * The meta object literal for the '<em><b>Correlation Keys</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CONVERSATION_NODE__CORRELATION_KEYS = eINSTANCE
+ .getConversationNode_CorrelationKeys();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute CONVERSATION_NODE__NAME = eINSTANCE
+ .getConversationNode_Name();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.CorrelationKeyImpl <em>Correlation Key</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.CorrelationKeyImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getCorrelationKey()
+ * @generated
+ */
+ EClass CORRELATION_KEY = eINSTANCE.getCorrelationKey();
+
+ /**
+ * The meta object literal for the '<em><b>Correlation Property Ref</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CORRELATION_KEY__CORRELATION_PROPERTY_REF = eINSTANCE
+ .getCorrelationKey_CorrelationPropertyRef();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute CORRELATION_KEY__NAME = eINSTANCE.getCorrelationKey_Name();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.CorrelationPropertyImpl <em>Correlation Property</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.CorrelationPropertyImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getCorrelationProperty()
+ * @generated
+ */
+ EClass CORRELATION_PROPERTY = eINSTANCE.getCorrelationProperty();
+
+ /**
+ * The meta object literal for the '<em><b>Correlation Property Retrieval Expression</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CORRELATION_PROPERTY__CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION = eINSTANCE
+ .getCorrelationProperty_CorrelationPropertyRetrievalExpression();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute CORRELATION_PROPERTY__NAME = eINSTANCE
+ .getCorrelationProperty_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Type</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CORRELATION_PROPERTY__TYPE = eINSTANCE
+ .getCorrelationProperty_Type();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.CorrelationPropertyBindingImpl <em>Correlation Property Binding</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.CorrelationPropertyBindingImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getCorrelationPropertyBinding()
+ * @generated
+ */
+ EClass CORRELATION_PROPERTY_BINDING = eINSTANCE
+ .getCorrelationPropertyBinding();
+
+ /**
+ * The meta object literal for the '<em><b>Data Path</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CORRELATION_PROPERTY_BINDING__DATA_PATH = eINSTANCE
+ .getCorrelationPropertyBinding_DataPath();
+
+ /**
+ * The meta object literal for the '<em><b>Correlation Property Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CORRELATION_PROPERTY_BINDING__CORRELATION_PROPERTY_REF = eINSTANCE
+ .getCorrelationPropertyBinding_CorrelationPropertyRef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.CorrelationPropertyRetrievalExpressionImpl <em>Correlation Property Retrieval Expression</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.CorrelationPropertyRetrievalExpressionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getCorrelationPropertyRetrievalExpression()
+ * @generated
+ */
+ EClass CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION = eINSTANCE
+ .getCorrelationPropertyRetrievalExpression();
+
+ /**
+ * The meta object literal for the '<em><b>Message Path</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION__MESSAGE_PATH = eINSTANCE
+ .getCorrelationPropertyRetrievalExpression_MessagePath();
+
+ /**
+ * The meta object literal for the '<em><b>Message Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION__MESSAGE_REF = eINSTANCE
+ .getCorrelationPropertyRetrievalExpression_MessageRef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.CorrelationSubscriptionImpl <em>Correlation Subscription</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.CorrelationSubscriptionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getCorrelationSubscription()
+ * @generated
+ */
+ EClass CORRELATION_SUBSCRIPTION = eINSTANCE
+ .getCorrelationSubscription();
+
+ /**
+ * The meta object literal for the '<em><b>Correlation Property Binding</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CORRELATION_SUBSCRIPTION__CORRELATION_PROPERTY_BINDING = eINSTANCE
+ .getCorrelationSubscription_CorrelationPropertyBinding();
+
+ /**
+ * The meta object literal for the '<em><b>Correlation Key Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CORRELATION_SUBSCRIPTION__CORRELATION_KEY_REF = eINSTANCE
+ .getCorrelationSubscription_CorrelationKeyRef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.DataAssociationImpl <em>Data Association</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.DataAssociationImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getDataAssociation()
+ * @generated
+ */
+ EClass DATA_ASSOCIATION = eINSTANCE.getDataAssociation();
+
+ /**
+ * The meta object literal for the '<em><b>Source Ref</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DATA_ASSOCIATION__SOURCE_REF = eINSTANCE
+ .getDataAssociation_SourceRef();
+
+ /**
+ * The meta object literal for the '<em><b>Target Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DATA_ASSOCIATION__TARGET_REF = eINSTANCE
+ .getDataAssociation_TargetRef();
+
+ /**
+ * The meta object literal for the '<em><b>Transformation</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DATA_ASSOCIATION__TRANSFORMATION = eINSTANCE
+ .getDataAssociation_Transformation();
+
+ /**
+ * The meta object literal for the '<em><b>Assignment</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DATA_ASSOCIATION__ASSIGNMENT = eINSTANCE
+ .getDataAssociation_Assignment();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.DataInputImpl <em>Data Input</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.DataInputImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getDataInput()
+ * @generated
+ */
+ EClass DATA_INPUT = eINSTANCE.getDataInput();
+
+ /**
+ * The meta object literal for the '<em><b>Input Set With Optional</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DATA_INPUT__INPUT_SET_WITH_OPTIONAL = eINSTANCE
+ .getDataInput_InputSetWithOptional();
+
+ /**
+ * The meta object literal for the '<em><b>Input Set With While Executing</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DATA_INPUT__INPUT_SET_WITH_WHILE_EXECUTING = eINSTANCE
+ .getDataInput_InputSetWithWhileExecuting();
+
+ /**
+ * The meta object literal for the '<em><b>Input Set Refs</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DATA_INPUT__INPUT_SET_REFS = eINSTANCE
+ .getDataInput_InputSetRefs();
+
+ /**
+ * The meta object literal for the '<em><b>Is Collection</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DATA_INPUT__IS_COLLECTION = eINSTANCE
+ .getDataInput_IsCollection();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DATA_INPUT__NAME = eINSTANCE.getDataInput_Name();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.DataInputAssociationImpl <em>Data Input Association</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.DataInputAssociationImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getDataInputAssociation()
+ * @generated
+ */
+ EClass DATA_INPUT_ASSOCIATION = eINSTANCE.getDataInputAssociation();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.DataObjectImpl <em>Data Object</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.DataObjectImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getDataObject()
+ * @generated
+ */
+ EClass DATA_OBJECT = eINSTANCE.getDataObject();
+
+ /**
+ * The meta object literal for the '<em><b>Is Collection</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DATA_OBJECT__IS_COLLECTION = eINSTANCE
+ .getDataObject_IsCollection();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.DataObjectReferenceImpl <em>Data Object Reference</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.DataObjectReferenceImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getDataObjectReference()
+ * @generated
+ */
+ EClass DATA_OBJECT_REFERENCE = eINSTANCE.getDataObjectReference();
+
+ /**
+ * The meta object literal for the '<em><b>Data Object Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DATA_OBJECT_REFERENCE__DATA_OBJECT_REF = eINSTANCE
+ .getDataObjectReference_DataObjectRef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.DataOutputImpl <em>Data Output</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.DataOutputImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getDataOutput()
+ * @generated
+ */
+ EClass DATA_OUTPUT = eINSTANCE.getDataOutput();
+
+ /**
+ * The meta object literal for the '<em><b>Output Set With Optional</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DATA_OUTPUT__OUTPUT_SET_WITH_OPTIONAL = eINSTANCE
+ .getDataOutput_OutputSetWithOptional();
+
+ /**
+ * The meta object literal for the '<em><b>Output Set With While Executing</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DATA_OUTPUT__OUTPUT_SET_WITH_WHILE_EXECUTING = eINSTANCE
+ .getDataOutput_OutputSetWithWhileExecuting();
+
+ /**
+ * The meta object literal for the '<em><b>Output Set Refs</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DATA_OUTPUT__OUTPUT_SET_REFS = eINSTANCE
+ .getDataOutput_OutputSetRefs();
+
+ /**
+ * The meta object literal for the '<em><b>Is Collection</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DATA_OUTPUT__IS_COLLECTION = eINSTANCE
+ .getDataOutput_IsCollection();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DATA_OUTPUT__NAME = eINSTANCE.getDataOutput_Name();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.DataOutputAssociationImpl <em>Data Output Association</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.DataOutputAssociationImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getDataOutputAssociation()
+ * @generated
+ */
+ EClass DATA_OUTPUT_ASSOCIATION = eINSTANCE.getDataOutputAssociation();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.DataStateImpl <em>Data State</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.DataStateImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getDataState()
+ * @generated
+ */
+ EClass DATA_STATE = eINSTANCE.getDataState();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DATA_STATE__NAME = eINSTANCE.getDataState_Name();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.DataStoreImpl <em>Data Store</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.DataStoreImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getDataStore()
+ * @generated
+ */
+ EClass DATA_STORE = eINSTANCE.getDataStore();
+
+ /**
+ * The meta object literal for the '<em><b>Capacity</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DATA_STORE__CAPACITY = eINSTANCE.getDataStore_Capacity();
+
+ /**
+ * The meta object literal for the '<em><b>Is Unlimited</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DATA_STORE__IS_UNLIMITED = eINSTANCE
+ .getDataStore_IsUnlimited();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DATA_STORE__NAME = eINSTANCE.getDataStore_Name();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.DataStoreReferenceImpl <em>Data Store Reference</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.DataStoreReferenceImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getDataStoreReference()
+ * @generated
+ */
+ EClass DATA_STORE_REFERENCE = eINSTANCE.getDataStoreReference();
+
+ /**
+ * The meta object literal for the '<em><b>Data Store Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DATA_STORE_REFERENCE__DATA_STORE_REF = eINSTANCE
+ .getDataStoreReference_DataStoreRef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.DefinitionsImpl <em>Definitions</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.DefinitionsImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getDefinitions()
+ * @generated
+ */
+ EClass DEFINITIONS = eINSTANCE.getDefinitions();
+
+ /**
+ * The meta object literal for the '<em><b>Imports</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DEFINITIONS__IMPORTS = eINSTANCE.getDefinitions_Imports();
+
+ /**
+ * The meta object literal for the '<em><b>Extensions</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DEFINITIONS__EXTENSIONS = eINSTANCE
+ .getDefinitions_Extensions();
+
+ /**
+ * The meta object literal for the '<em><b>Root Elements</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DEFINITIONS__ROOT_ELEMENTS = eINSTANCE
+ .getDefinitions_RootElements();
+
+ /**
+ * The meta object literal for the '<em><b>Diagrams</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DEFINITIONS__DIAGRAMS = eINSTANCE.getDefinitions_Diagrams();
+
+ /**
+ * The meta object literal for the '<em><b>Relationships</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DEFINITIONS__RELATIONSHIPS = eINSTANCE
+ .getDefinitions_Relationships();
+
+ /**
+ * The meta object literal for the '<em><b>Exporter</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DEFINITIONS__EXPORTER = eINSTANCE.getDefinitions_Exporter();
+
+ /**
+ * The meta object literal for the '<em><b>Exporter Version</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DEFINITIONS__EXPORTER_VERSION = eINSTANCE
+ .getDefinitions_ExporterVersion();
+
+ /**
+ * The meta object literal for the '<em><b>Expression Language</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DEFINITIONS__EXPRESSION_LANGUAGE = eINSTANCE
+ .getDefinitions_ExpressionLanguage();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DEFINITIONS__NAME = eINSTANCE.getDefinitions_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Target Namespace</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DEFINITIONS__TARGET_NAMESPACE = eINSTANCE
+ .getDefinitions_TargetNamespace();
+
+ /**
+ * The meta object literal for the '<em><b>Type Language</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DEFINITIONS__TYPE_LANGUAGE = eINSTANCE
+ .getDefinitions_TypeLanguage();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.DocumentationImpl <em>Documentation</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.DocumentationImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getDocumentation()
+ * @generated
+ */
+ EClass DOCUMENTATION = eINSTANCE.getDocumentation();
+
+ /**
+ * The meta object literal for the '<em><b>Mixed</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DOCUMENTATION__MIXED = eINSTANCE.getDocumentation_Mixed();
+
+ /**
+ * The meta object literal for the '<em><b>Text</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DOCUMENTATION__TEXT = eINSTANCE.getDocumentation_Text();
+
+ /**
+ * The meta object literal for the '<em><b>Text Format</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DOCUMENTATION__TEXT_FORMAT = eINSTANCE
+ .getDocumentation_TextFormat();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.EndEventImpl <em>End Event</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.EndEventImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getEndEvent()
+ * @generated
+ */
+ EClass END_EVENT = eINSTANCE.getEndEvent();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.EndPointImpl <em>End Point</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.EndPointImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getEndPoint()
+ * @generated
+ */
+ EClass END_POINT = eINSTANCE.getEndPoint();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ErrorImpl <em>Error</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ErrorImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getError()
+ * @generated
+ */
+ EClass ERROR = eINSTANCE.getError();
+
+ /**
+ * The meta object literal for the '<em><b>Error Code</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute ERROR__ERROR_CODE = eINSTANCE.getError_ErrorCode();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute ERROR__NAME = eINSTANCE.getError_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Structure Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ERROR__STRUCTURE_REF = eINSTANCE.getError_StructureRef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ErrorEventDefinitionImpl <em>Error Event Definition</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ErrorEventDefinitionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getErrorEventDefinition()
+ * @generated
+ */
+ EClass ERROR_EVENT_DEFINITION = eINSTANCE.getErrorEventDefinition();
+
+ /**
+ * The meta object literal for the '<em><b>Error Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ERROR_EVENT_DEFINITION__ERROR_REF = eINSTANCE
+ .getErrorEventDefinition_ErrorRef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.EscalationImpl <em>Escalation</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.EscalationImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getEscalation()
+ * @generated
+ */
+ EClass ESCALATION = eINSTANCE.getEscalation();
+
+ /**
+ * The meta object literal for the '<em><b>Escalation Code</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute ESCALATION__ESCALATION_CODE = eINSTANCE
+ .getEscalation_EscalationCode();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute ESCALATION__NAME = eINSTANCE.getEscalation_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Structure Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ESCALATION__STRUCTURE_REF = eINSTANCE
+ .getEscalation_StructureRef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.EscalationEventDefinitionImpl <em>Escalation Event Definition</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.EscalationEventDefinitionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getEscalationEventDefinition()
+ * @generated
+ */
+ EClass ESCALATION_EVENT_DEFINITION = eINSTANCE
+ .getEscalationEventDefinition();
+
+ /**
+ * The meta object literal for the '<em><b>Escalation Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ESCALATION_EVENT_DEFINITION__ESCALATION_REF = eINSTANCE
+ .getEscalationEventDefinition_EscalationRef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.EventImpl <em>Event</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.EventImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getEvent()
+ * @generated
+ */
+ EClass EVENT = eINSTANCE.getEvent();
+
+ /**
+ * The meta object literal for the '<em><b>Properties</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference EVENT__PROPERTIES = eINSTANCE.getEvent_Properties();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.EventBasedGatewayImpl <em>Event Based Gateway</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.EventBasedGatewayImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getEventBasedGateway()
+ * @generated
+ */
+ EClass EVENT_BASED_GATEWAY = eINSTANCE.getEventBasedGateway();
+
+ /**
+ * The meta object literal for the '<em><b>Event Gateway Type</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute EVENT_BASED_GATEWAY__EVENT_GATEWAY_TYPE = eINSTANCE
+ .getEventBasedGateway_EventGatewayType();
+
+ /**
+ * The meta object literal for the '<em><b>Instantiate</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute EVENT_BASED_GATEWAY__INSTANTIATE = eINSTANCE
+ .getEventBasedGateway_Instantiate();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.EventDefinitionImpl <em>Event Definition</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.EventDefinitionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getEventDefinition()
+ * @generated
+ */
+ EClass EVENT_DEFINITION = eINSTANCE.getEventDefinition();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ExclusiveGatewayImpl <em>Exclusive Gateway</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ExclusiveGatewayImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getExclusiveGateway()
+ * @generated
+ */
+ EClass EXCLUSIVE_GATEWAY = eINSTANCE.getExclusiveGateway();
+
+ /**
+ * The meta object literal for the '<em><b>Default</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference EXCLUSIVE_GATEWAY__DEFAULT = eINSTANCE
+ .getExclusiveGateway_Default();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ExpressionImpl <em>Expression</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ExpressionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getExpression()
+ * @generated
+ */
+ EClass EXPRESSION = eINSTANCE.getExpression();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ExtensionImpl <em>Extension</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ExtensionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getExtension()
+ * @generated
+ */
+ EClass EXTENSION = eINSTANCE.getExtension();
+
+ /**
+ * The meta object literal for the '<em><b>Definition</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference EXTENSION__DEFINITION = eINSTANCE.getExtension_Definition();
+
+ /**
+ * The meta object literal for the '<em><b>Must Understand</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute EXTENSION__MUST_UNDERSTAND = eINSTANCE
+ .getExtension_MustUnderstand();
+
+ /**
+ * The meta object literal for the '<em><b>Xsd Definition</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute EXTENSION__XSD_DEFINITION = eINSTANCE
+ .getExtension_XsdDefinition();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ExtensionAttributeDefinitionImpl <em>Extension Attribute Definition</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ExtensionAttributeDefinitionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getExtensionAttributeDefinition()
+ * @generated
+ */
+ EClass EXTENSION_ATTRIBUTE_DEFINITION = eINSTANCE
+ .getExtensionAttributeDefinition();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute EXTENSION_ATTRIBUTE_DEFINITION__NAME = eINSTANCE
+ .getExtensionAttributeDefinition_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Type</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute EXTENSION_ATTRIBUTE_DEFINITION__TYPE = eINSTANCE
+ .getExtensionAttributeDefinition_Type();
+
+ /**
+ * The meta object literal for the '<em><b>Is Reference</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute EXTENSION_ATTRIBUTE_DEFINITION__IS_REFERENCE = eINSTANCE
+ .getExtensionAttributeDefinition_IsReference();
+
+ /**
+ * The meta object literal for the '<em><b>Extension Definition</b></em>' container reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference EXTENSION_ATTRIBUTE_DEFINITION__EXTENSION_DEFINITION = eINSTANCE
+ .getExtensionAttributeDefinition_ExtensionDefinition();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ExtensionAttributeValueImpl <em>Extension Attribute Value</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ExtensionAttributeValueImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getExtensionAttributeValue()
+ * @generated
+ */
+ EClass EXTENSION_ATTRIBUTE_VALUE = eINSTANCE
+ .getExtensionAttributeValue();
+
+ /**
+ * The meta object literal for the '<em><b>Value Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference EXTENSION_ATTRIBUTE_VALUE__VALUE_REF = eINSTANCE
+ .getExtensionAttributeValue_ValueRef();
+
+ /**
+ * The meta object literal for the '<em><b>Value</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute EXTENSION_ATTRIBUTE_VALUE__VALUE = eINSTANCE
+ .getExtensionAttributeValue_Value();
+
+ /**
+ * The meta object literal for the '<em><b>Extension Attribute Definition</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference EXTENSION_ATTRIBUTE_VALUE__EXTENSION_ATTRIBUTE_DEFINITION = eINSTANCE
+ .getExtensionAttributeValue_ExtensionAttributeDefinition();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ExtensionDefinitionImpl <em>Extension Definition</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ExtensionDefinitionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getExtensionDefinition()
+ * @generated
+ */
+ EClass EXTENSION_DEFINITION = eINSTANCE.getExtensionDefinition();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute EXTENSION_DEFINITION__NAME = eINSTANCE
+ .getExtensionDefinition_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Extension Attribute Definitions</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference EXTENSION_DEFINITION__EXTENSION_ATTRIBUTE_DEFINITIONS = eINSTANCE
+ .getExtensionDefinition_ExtensionAttributeDefinitions();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.FlowElementImpl <em>Flow Element</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.FlowElementImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getFlowElement()
+ * @generated
+ */
+ EClass FLOW_ELEMENT = eINSTANCE.getFlowElement();
+
+ /**
+ * The meta object literal for the '<em><b>Auditing</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FLOW_ELEMENT__AUDITING = eINSTANCE.getFlowElement_Auditing();
+
+ /**
+ * The meta object literal for the '<em><b>Monitoring</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FLOW_ELEMENT__MONITORING = eINSTANCE
+ .getFlowElement_Monitoring();
+
+ /**
+ * The meta object literal for the '<em><b>Category Value Ref</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FLOW_ELEMENT__CATEGORY_VALUE_REF = eINSTANCE
+ .getFlowElement_CategoryValueRef();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute FLOW_ELEMENT__NAME = eINSTANCE.getFlowElement_Name();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.FlowElementsContainerImpl <em>Flow Elements Container</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.FlowElementsContainerImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getFlowElementsContainer()
+ * @generated
+ */
+ EClass FLOW_ELEMENTS_CONTAINER = eINSTANCE.getFlowElementsContainer();
+
+ /**
+ * The meta object literal for the '<em><b>Lane Sets</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FLOW_ELEMENTS_CONTAINER__LANE_SETS = eINSTANCE
+ .getFlowElementsContainer_LaneSets();
+
+ /**
+ * The meta object literal for the '<em><b>Flow Elements</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FLOW_ELEMENTS_CONTAINER__FLOW_ELEMENTS = eINSTANCE
+ .getFlowElementsContainer_FlowElements();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.FlowNodeImpl <em>Flow Node</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.FlowNodeImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getFlowNode()
+ * @generated
+ */
+ EClass FLOW_NODE = eINSTANCE.getFlowNode();
+
+ /**
+ * The meta object literal for the '<em><b>Incoming</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FLOW_NODE__INCOMING = eINSTANCE.getFlowNode_Incoming();
+
+ /**
+ * The meta object literal for the '<em><b>Lanes</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FLOW_NODE__LANES = eINSTANCE.getFlowNode_Lanes();
+
+ /**
+ * The meta object literal for the '<em><b>Outgoing</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FLOW_NODE__OUTGOING = eINSTANCE.getFlowNode_Outgoing();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.FormalExpressionImpl <em>Formal Expression</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.FormalExpressionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getFormalExpression()
+ * @generated
+ */
+ EClass FORMAL_EXPRESSION = eINSTANCE.getFormalExpression();
+
+ /**
+ * The meta object literal for the '<em><b>Mixed</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute FORMAL_EXPRESSION__MIXED = eINSTANCE
+ .getFormalExpression_Mixed();
+
+ /**
+ * The meta object literal for the '<em><b>Body</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute FORMAL_EXPRESSION__BODY = eINSTANCE
+ .getFormalExpression_Body();
+
+ /**
+ * The meta object literal for the '<em><b>Evaluates To Type Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FORMAL_EXPRESSION__EVALUATES_TO_TYPE_REF = eINSTANCE
+ .getFormalExpression_EvaluatesToTypeRef();
+
+ /**
+ * The meta object literal for the '<em><b>Language</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute FORMAL_EXPRESSION__LANGUAGE = eINSTANCE
+ .getFormalExpression_Language();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.GatewayImpl <em>Gateway</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.GatewayImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getGateway()
+ * @generated
+ */
+ EClass GATEWAY = eINSTANCE.getGateway();
+
+ /**
+ * The meta object literal for the '<em><b>Gateway Direction</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute GATEWAY__GATEWAY_DIRECTION = eINSTANCE
+ .getGateway_GatewayDirection();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.GlobalBusinessRuleTaskImpl <em>Global Business Rule Task</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.GlobalBusinessRuleTaskImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getGlobalBusinessRuleTask()
+ * @generated
+ */
+ EClass GLOBAL_BUSINESS_RULE_TASK = eINSTANCE
+ .getGlobalBusinessRuleTask();
+
+ /**
+ * The meta object literal for the '<em><b>Implementation</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute GLOBAL_BUSINESS_RULE_TASK__IMPLEMENTATION = eINSTANCE
+ .getGlobalBusinessRuleTask_Implementation();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.GlobalChoreographyTaskImpl <em>Global Choreography Task</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.GlobalChoreographyTaskImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getGlobalChoreographyTask()
+ * @generated
+ */
+ EClass GLOBAL_CHOREOGRAPHY_TASK = eINSTANCE.getGlobalChoreographyTask();
+
+ /**
+ * The meta object literal for the '<em><b>Initiating Participant Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference GLOBAL_CHOREOGRAPHY_TASK__INITIATING_PARTICIPANT_REF = eINSTANCE
+ .getGlobalChoreographyTask_InitiatingParticipantRef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.GlobalConversationImpl <em>Global Conversation</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.GlobalConversationImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getGlobalConversation()
+ * @generated
+ */
+ EClass GLOBAL_CONVERSATION = eINSTANCE.getGlobalConversation();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.GlobalManualTaskImpl <em>Global Manual Task</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.GlobalManualTaskImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getGlobalManualTask()
+ * @generated
+ */
+ EClass GLOBAL_MANUAL_TASK = eINSTANCE.getGlobalManualTask();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.GlobalScriptTaskImpl <em>Global Script Task</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.GlobalScriptTaskImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getGlobalScriptTask()
+ * @generated
+ */
+ EClass GLOBAL_SCRIPT_TASK = eINSTANCE.getGlobalScriptTask();
+
+ /**
+ * The meta object literal for the '<em><b>Script</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute GLOBAL_SCRIPT_TASK__SCRIPT = eINSTANCE
+ .getGlobalScriptTask_Script();
+
+ /**
+ * The meta object literal for the '<em><b>Script Language</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute GLOBAL_SCRIPT_TASK__SCRIPT_LANGUAGE = eINSTANCE
+ .getGlobalScriptTask_ScriptLanguage();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.GlobalTaskImpl <em>Global Task</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.GlobalTaskImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getGlobalTask()
+ * @generated
+ */
+ EClass GLOBAL_TASK = eINSTANCE.getGlobalTask();
+
+ /**
+ * The meta object literal for the '<em><b>Resources</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference GLOBAL_TASK__RESOURCES = eINSTANCE.getGlobalTask_Resources();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.GlobalUserTaskImpl <em>Global User Task</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.GlobalUserTaskImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getGlobalUserTask()
+ * @generated
+ */
+ EClass GLOBAL_USER_TASK = eINSTANCE.getGlobalUserTask();
+
+ /**
+ * The meta object literal for the '<em><b>Renderings</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference GLOBAL_USER_TASK__RENDERINGS = eINSTANCE
+ .getGlobalUserTask_Renderings();
+
+ /**
+ * The meta object literal for the '<em><b>Implementation</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute GLOBAL_USER_TASK__IMPLEMENTATION = eINSTANCE
+ .getGlobalUserTask_Implementation();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.GroupImpl <em>Group</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.GroupImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getGroup()
+ * @generated
+ */
+ EClass GROUP = eINSTANCE.getGroup();
+
+ /**
+ * The meta object literal for the '<em><b>Category Value Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference GROUP__CATEGORY_VALUE_REF = eINSTANCE
+ .getGroup_CategoryValueRef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.HumanPerformerImpl <em>Human Performer</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.HumanPerformerImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getHumanPerformer()
+ * @generated
+ */
+ EClass HUMAN_PERFORMER = eINSTANCE.getHumanPerformer();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ImplicitThrowEventImpl <em>Implicit Throw Event</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ImplicitThrowEventImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getImplicitThrowEvent()
+ * @generated
+ */
+ EClass IMPLICIT_THROW_EVENT = eINSTANCE.getImplicitThrowEvent();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ImportImpl <em>Import</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ImportImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getImport()
+ * @generated
+ */
+ EClass IMPORT = eINSTANCE.getImport();
+
+ /**
+ * The meta object literal for the '<em><b>Import Type</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute IMPORT__IMPORT_TYPE = eINSTANCE.getImport_ImportType();
+
+ /**
+ * The meta object literal for the '<em><b>Location</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute IMPORT__LOCATION = eINSTANCE.getImport_Location();
+
+ /**
+ * The meta object literal for the '<em><b>Namespace</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute IMPORT__NAMESPACE = eINSTANCE.getImport_Namespace();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.InclusiveGatewayImpl <em>Inclusive Gateway</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.InclusiveGatewayImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getInclusiveGateway()
+ * @generated
+ */
+ EClass INCLUSIVE_GATEWAY = eINSTANCE.getInclusiveGateway();
+
+ /**
+ * The meta object literal for the '<em><b>Default</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference INCLUSIVE_GATEWAY__DEFAULT = eINSTANCE
+ .getInclusiveGateway_Default();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.InputOutputBindingImpl <em>Input Output Binding</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.InputOutputBindingImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getInputOutputBinding()
+ * @generated
+ */
+ EClass INPUT_OUTPUT_BINDING = eINSTANCE.getInputOutputBinding();
+
+ /**
+ * The meta object literal for the '<em><b>Input Data Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference INPUT_OUTPUT_BINDING__INPUT_DATA_REF = eINSTANCE
+ .getInputOutputBinding_InputDataRef();
+
+ /**
+ * The meta object literal for the '<em><b>Operation Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference INPUT_OUTPUT_BINDING__OPERATION_REF = eINSTANCE
+ .getInputOutputBinding_OperationRef();
+
+ /**
+ * The meta object literal for the '<em><b>Output Data Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference INPUT_OUTPUT_BINDING__OUTPUT_DATA_REF = eINSTANCE
+ .getInputOutputBinding_OutputDataRef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.InputOutputSpecificationImpl <em>Input Output Specification</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.InputOutputSpecificationImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getInputOutputSpecification()
+ * @generated
+ */
+ EClass INPUT_OUTPUT_SPECIFICATION = eINSTANCE
+ .getInputOutputSpecification();
+
+ /**
+ * The meta object literal for the '<em><b>Data Inputs</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference INPUT_OUTPUT_SPECIFICATION__DATA_INPUTS = eINSTANCE
+ .getInputOutputSpecification_DataInputs();
+
+ /**
+ * The meta object literal for the '<em><b>Data Outputs</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference INPUT_OUTPUT_SPECIFICATION__DATA_OUTPUTS = eINSTANCE
+ .getInputOutputSpecification_DataOutputs();
+
+ /**
+ * The meta object literal for the '<em><b>Input Sets</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference INPUT_OUTPUT_SPECIFICATION__INPUT_SETS = eINSTANCE
+ .getInputOutputSpecification_InputSets();
+
+ /**
+ * The meta object literal for the '<em><b>Output Sets</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference INPUT_OUTPUT_SPECIFICATION__OUTPUT_SETS = eINSTANCE
+ .getInputOutputSpecification_OutputSets();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.InputSetImpl <em>Input Set</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.InputSetImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getInputSet()
+ * @generated
+ */
+ EClass INPUT_SET = eINSTANCE.getInputSet();
+
+ /**
+ * The meta object literal for the '<em><b>Data Input Refs</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference INPUT_SET__DATA_INPUT_REFS = eINSTANCE
+ .getInputSet_DataInputRefs();
+
+ /**
+ * The meta object literal for the '<em><b>Optional Input Refs</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference INPUT_SET__OPTIONAL_INPUT_REFS = eINSTANCE
+ .getInputSet_OptionalInputRefs();
+
+ /**
+ * The meta object literal for the '<em><b>While Executing Input Refs</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference INPUT_SET__WHILE_EXECUTING_INPUT_REFS = eINSTANCE
+ .getInputSet_WhileExecutingInputRefs();
+
+ /**
+ * The meta object literal for the '<em><b>Output Set Refs</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference INPUT_SET__OUTPUT_SET_REFS = eINSTANCE
+ .getInputSet_OutputSetRefs();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute INPUT_SET__NAME = eINSTANCE.getInputSet_Name();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.InteractionNodeImpl <em>Interaction Node</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.InteractionNodeImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getInteractionNode()
+ * @generated
+ */
+ EClass INTERACTION_NODE = eINSTANCE.getInteractionNode();
+
+ /**
+ * The meta object literal for the '<em><b>Incoming Conversation Links</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference INTERACTION_NODE__INCOMING_CONVERSATION_LINKS = eINSTANCE
+ .getInteractionNode_IncomingConversationLinks();
+
+ /**
+ * The meta object literal for the '<em><b>Outgoing Conversation Links</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference INTERACTION_NODE__OUTGOING_CONVERSATION_LINKS = eINSTANCE
+ .getInteractionNode_OutgoingConversationLinks();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.InterfaceImpl <em>Interface</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.InterfaceImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getInterface()
+ * @generated
+ */
+ EClass INTERFACE = eINSTANCE.getInterface();
+
+ /**
+ * The meta object literal for the '<em><b>Operations</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference INTERFACE__OPERATIONS = eINSTANCE.getInterface_Operations();
+
+ /**
+ * The meta object literal for the '<em><b>Implementation Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference INTERFACE__IMPLEMENTATION_REF = eINSTANCE
+ .getInterface_ImplementationRef();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute INTERFACE__NAME = eINSTANCE.getInterface_Name();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.IntermediateCatchEventImpl <em>Intermediate Catch Event</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.IntermediateCatchEventImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getIntermediateCatchEvent()
+ * @generated
+ */
+ EClass INTERMEDIATE_CATCH_EVENT = eINSTANCE.getIntermediateCatchEvent();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.IntermediateThrowEventImpl <em>Intermediate Throw Event</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.IntermediateThrowEventImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getIntermediateThrowEvent()
+ * @generated
+ */
+ EClass INTERMEDIATE_THROW_EVENT = eINSTANCE.getIntermediateThrowEvent();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ItemAwareElementImpl <em>Item Aware Element</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ItemAwareElementImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getItemAwareElement()
+ * @generated
+ */
+ EClass ITEM_AWARE_ELEMENT = eINSTANCE.getItemAwareElement();
+
+ /**
+ * The meta object literal for the '<em><b>Data State</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ITEM_AWARE_ELEMENT__DATA_STATE = eINSTANCE
+ .getItemAwareElement_DataState();
+
+ /**
+ * The meta object literal for the '<em><b>Item Subject Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ITEM_AWARE_ELEMENT__ITEM_SUBJECT_REF = eINSTANCE
+ .getItemAwareElement_ItemSubjectRef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ItemDefinitionImpl <em>Item Definition</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ItemDefinitionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getItemDefinition()
+ * @generated
+ */
+ EClass ITEM_DEFINITION = eINSTANCE.getItemDefinition();
+
+ /**
+ * The meta object literal for the '<em><b>Is Collection</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute ITEM_DEFINITION__IS_COLLECTION = eINSTANCE
+ .getItemDefinition_IsCollection();
+
+ /**
+ * The meta object literal for the '<em><b>Import</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ITEM_DEFINITION__IMPORT = eINSTANCE
+ .getItemDefinition_Import();
+
+ /**
+ * The meta object literal for the '<em><b>Item Kind</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute ITEM_DEFINITION__ITEM_KIND = eINSTANCE
+ .getItemDefinition_ItemKind();
+
+ /**
+ * The meta object literal for the '<em><b>Structure Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ITEM_DEFINITION__STRUCTURE_REF = eINSTANCE
+ .getItemDefinition_StructureRef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.LaneImpl <em>Lane</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.LaneImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getLane()
+ * @generated
+ */
+ EClass LANE = eINSTANCE.getLane();
+
+ /**
+ * The meta object literal for the '<em><b>Partition Element</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference LANE__PARTITION_ELEMENT = eINSTANCE
+ .getLane_PartitionElement();
+
+ /**
+ * The meta object literal for the '<em><b>Flow Node Refs</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference LANE__FLOW_NODE_REFS = eINSTANCE.getLane_FlowNodeRefs();
+
+ /**
+ * The meta object literal for the '<em><b>Child Lane Set</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference LANE__CHILD_LANE_SET = eINSTANCE.getLane_ChildLaneSet();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute LANE__NAME = eINSTANCE.getLane_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Partition Element Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference LANE__PARTITION_ELEMENT_REF = eINSTANCE
+ .getLane_PartitionElementRef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.LaneSetImpl <em>Lane Set</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.LaneSetImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getLaneSet()
+ * @generated
+ */
+ EClass LANE_SET = eINSTANCE.getLaneSet();
+
+ /**
+ * The meta object literal for the '<em><b>Lanes</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference LANE_SET__LANES = eINSTANCE.getLaneSet_Lanes();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute LANE_SET__NAME = eINSTANCE.getLaneSet_Name();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.LinkEventDefinitionImpl <em>Link Event Definition</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.LinkEventDefinitionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getLinkEventDefinition()
+ * @generated
+ */
+ EClass LINK_EVENT_DEFINITION = eINSTANCE.getLinkEventDefinition();
+
+ /**
+ * The meta object literal for the '<em><b>Source</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference LINK_EVENT_DEFINITION__SOURCE = eINSTANCE
+ .getLinkEventDefinition_Source();
+
+ /**
+ * The meta object literal for the '<em><b>Target</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference LINK_EVENT_DEFINITION__TARGET = eINSTANCE
+ .getLinkEventDefinition_Target();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute LINK_EVENT_DEFINITION__NAME = eINSTANCE
+ .getLinkEventDefinition_Name();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.LoopCharacteristicsImpl <em>Loop Characteristics</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.LoopCharacteristicsImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getLoopCharacteristics()
+ * @generated
+ */
+ EClass LOOP_CHARACTERISTICS = eINSTANCE.getLoopCharacteristics();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ManualTaskImpl <em>Manual Task</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ManualTaskImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getManualTask()
+ * @generated
+ */
+ EClass MANUAL_TASK = eINSTANCE.getManualTask();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.MessageImpl <em>Message</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.MessageImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getMessage()
+ * @generated
+ */
+ EClass MESSAGE = eINSTANCE.getMessage();
+
+ /**
+ * The meta object literal for the '<em><b>Item Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference MESSAGE__ITEM_REF = eINSTANCE.getMessage_ItemRef();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute MESSAGE__NAME = eINSTANCE.getMessage_Name();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.MessageEventDefinitionImpl <em>Message Event Definition</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.MessageEventDefinitionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getMessageEventDefinition()
+ * @generated
+ */
+ EClass MESSAGE_EVENT_DEFINITION = eINSTANCE.getMessageEventDefinition();
+
+ /**
+ * The meta object literal for the '<em><b>Operation Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference MESSAGE_EVENT_DEFINITION__OPERATION_REF = eINSTANCE
+ .getMessageEventDefinition_OperationRef();
+
+ /**
+ * The meta object literal for the '<em><b>Message Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference MESSAGE_EVENT_DEFINITION__MESSAGE_REF = eINSTANCE
+ .getMessageEventDefinition_MessageRef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.MessageFlowImpl <em>Message Flow</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.MessageFlowImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getMessageFlow()
+ * @generated
+ */
+ EClass MESSAGE_FLOW = eINSTANCE.getMessageFlow();
+
+ /**
+ * The meta object literal for the '<em><b>Message Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference MESSAGE_FLOW__MESSAGE_REF = eINSTANCE
+ .getMessageFlow_MessageRef();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute MESSAGE_FLOW__NAME = eINSTANCE.getMessageFlow_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Source Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference MESSAGE_FLOW__SOURCE_REF = eINSTANCE
+ .getMessageFlow_SourceRef();
+
+ /**
+ * The meta object literal for the '<em><b>Target Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference MESSAGE_FLOW__TARGET_REF = eINSTANCE
+ .getMessageFlow_TargetRef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.MessageFlowAssociationImpl <em>Message Flow Association</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.MessageFlowAssociationImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getMessageFlowAssociation()
+ * @generated
+ */
+ EClass MESSAGE_FLOW_ASSOCIATION = eINSTANCE.getMessageFlowAssociation();
+
+ /**
+ * The meta object literal for the '<em><b>Inner Message Flow Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference MESSAGE_FLOW_ASSOCIATION__INNER_MESSAGE_FLOW_REF = eINSTANCE
+ .getMessageFlowAssociation_InnerMessageFlowRef();
+
+ /**
+ * The meta object literal for the '<em><b>Outer Message Flow Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference MESSAGE_FLOW_ASSOCIATION__OUTER_MESSAGE_FLOW_REF = eINSTANCE
+ .getMessageFlowAssociation_OuterMessageFlowRef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.MonitoringImpl <em>Monitoring</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.MonitoringImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getMonitoring()
+ * @generated
+ */
+ EClass MONITORING = eINSTANCE.getMonitoring();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.MultiInstanceLoopCharacteristicsImpl <em>Multi Instance Loop Characteristics</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.MultiInstanceLoopCharacteristicsImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getMultiInstanceLoopCharacteristics()
+ * @generated
+ */
+ EClass MULTI_INSTANCE_LOOP_CHARACTERISTICS = eINSTANCE
+ .getMultiInstanceLoopCharacteristics();
+
+ /**
+ * The meta object literal for the '<em><b>Loop Cardinality</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference MULTI_INSTANCE_LOOP_CHARACTERISTICS__LOOP_CARDINALITY = eINSTANCE
+ .getMultiInstanceLoopCharacteristics_LoopCardinality();
+
+ /**
+ * The meta object literal for the '<em><b>Loop Data Input Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference MULTI_INSTANCE_LOOP_CHARACTERISTICS__LOOP_DATA_INPUT_REF = eINSTANCE
+ .getMultiInstanceLoopCharacteristics_LoopDataInputRef();
+
+ /**
+ * The meta object literal for the '<em><b>Loop Data Output Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference MULTI_INSTANCE_LOOP_CHARACTERISTICS__LOOP_DATA_OUTPUT_REF = eINSTANCE
+ .getMultiInstanceLoopCharacteristics_LoopDataOutputRef();
+
+ /**
+ * The meta object literal for the '<em><b>Input Data Item</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference MULTI_INSTANCE_LOOP_CHARACTERISTICS__INPUT_DATA_ITEM = eINSTANCE
+ .getMultiInstanceLoopCharacteristics_InputDataItem();
+
+ /**
+ * The meta object literal for the '<em><b>Output Data Item</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference MULTI_INSTANCE_LOOP_CHARACTERISTICS__OUTPUT_DATA_ITEM = eINSTANCE
+ .getMultiInstanceLoopCharacteristics_OutputDataItem();
+
+ /**
+ * The meta object literal for the '<em><b>Complex Behavior Definition</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference MULTI_INSTANCE_LOOP_CHARACTERISTICS__COMPLEX_BEHAVIOR_DEFINITION = eINSTANCE
+ .getMultiInstanceLoopCharacteristics_ComplexBehaviorDefinition();
+
+ /**
+ * The meta object literal for the '<em><b>Completion Condition</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference MULTI_INSTANCE_LOOP_CHARACTERISTICS__COMPLETION_CONDITION = eINSTANCE
+ .getMultiInstanceLoopCharacteristics_CompletionCondition();
+
+ /**
+ * The meta object literal for the '<em><b>Behavior</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute MULTI_INSTANCE_LOOP_CHARACTERISTICS__BEHAVIOR = eINSTANCE
+ .getMultiInstanceLoopCharacteristics_Behavior();
+
+ /**
+ * The meta object literal for the '<em><b>Is Sequential</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute MULTI_INSTANCE_LOOP_CHARACTERISTICS__IS_SEQUENTIAL = eINSTANCE
+ .getMultiInstanceLoopCharacteristics_IsSequential();
+
+ /**
+ * The meta object literal for the '<em><b>None Behavior Event Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference MULTI_INSTANCE_LOOP_CHARACTERISTICS__NONE_BEHAVIOR_EVENT_REF = eINSTANCE
+ .getMultiInstanceLoopCharacteristics_NoneBehaviorEventRef();
+
+ /**
+ * The meta object literal for the '<em><b>One Behavior Event Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference MULTI_INSTANCE_LOOP_CHARACTERISTICS__ONE_BEHAVIOR_EVENT_REF = eINSTANCE
+ .getMultiInstanceLoopCharacteristics_OneBehaviorEventRef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.OperationImpl <em>Operation</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.OperationImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getOperation()
+ * @generated
+ */
+ EClass OPERATION = eINSTANCE.getOperation();
+
+ /**
+ * The meta object literal for the '<em><b>In Message Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference OPERATION__IN_MESSAGE_REF = eINSTANCE
+ .getOperation_InMessageRef();
+
+ /**
+ * The meta object literal for the '<em><b>Out Message Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference OPERATION__OUT_MESSAGE_REF = eINSTANCE
+ .getOperation_OutMessageRef();
+
+ /**
+ * The meta object literal for the '<em><b>Error Refs</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference OPERATION__ERROR_REFS = eINSTANCE.getOperation_ErrorRefs();
+
+ /**
+ * The meta object literal for the '<em><b>Implementation Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference OPERATION__IMPLEMENTATION_REF = eINSTANCE
+ .getOperation_ImplementationRef();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute OPERATION__NAME = eINSTANCE.getOperation_Name();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.OutputSetImpl <em>Output Set</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.OutputSetImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getOutputSet()
+ * @generated
+ */
+ EClass OUTPUT_SET = eINSTANCE.getOutputSet();
+
+ /**
+ * The meta object literal for the '<em><b>Data Output Refs</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference OUTPUT_SET__DATA_OUTPUT_REFS = eINSTANCE
+ .getOutputSet_DataOutputRefs();
+
+ /**
+ * The meta object literal for the '<em><b>Optional Output Refs</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference OUTPUT_SET__OPTIONAL_OUTPUT_REFS = eINSTANCE
+ .getOutputSet_OptionalOutputRefs();
+
+ /**
+ * The meta object literal for the '<em><b>While Executing Output Refs</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference OUTPUT_SET__WHILE_EXECUTING_OUTPUT_REFS = eINSTANCE
+ .getOutputSet_WhileExecutingOutputRefs();
+
+ /**
+ * The meta object literal for the '<em><b>Input Set Refs</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference OUTPUT_SET__INPUT_SET_REFS = eINSTANCE
+ .getOutputSet_InputSetRefs();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute OUTPUT_SET__NAME = eINSTANCE.getOutputSet_Name();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ParallelGatewayImpl <em>Parallel Gateway</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ParallelGatewayImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getParallelGateway()
+ * @generated
+ */
+ EClass PARALLEL_GATEWAY = eINSTANCE.getParallelGateway();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ParticipantImpl <em>Participant</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ParticipantImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getParticipant()
+ * @generated
+ */
+ EClass PARTICIPANT = eINSTANCE.getParticipant();
+
+ /**
+ * The meta object literal for the '<em><b>Interface Refs</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PARTICIPANT__INTERFACE_REFS = eINSTANCE
+ .getParticipant_InterfaceRefs();
+
+ /**
+ * The meta object literal for the '<em><b>End Point Refs</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PARTICIPANT__END_POINT_REFS = eINSTANCE
+ .getParticipant_EndPointRefs();
+
+ /**
+ * The meta object literal for the '<em><b>Participant Multiplicity</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PARTICIPANT__PARTICIPANT_MULTIPLICITY = eINSTANCE
+ .getParticipant_ParticipantMultiplicity();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PARTICIPANT__NAME = eINSTANCE.getParticipant_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Process Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PARTICIPANT__PROCESS_REF = eINSTANCE
+ .getParticipant_ProcessRef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ParticipantAssociationImpl <em>Participant Association</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ParticipantAssociationImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getParticipantAssociation()
+ * @generated
+ */
+ EClass PARTICIPANT_ASSOCIATION = eINSTANCE.getParticipantAssociation();
+
+ /**
+ * The meta object literal for the '<em><b>Inner Participant Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PARTICIPANT_ASSOCIATION__INNER_PARTICIPANT_REF = eINSTANCE
+ .getParticipantAssociation_InnerParticipantRef();
+
+ /**
+ * The meta object literal for the '<em><b>Outer Participant Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PARTICIPANT_ASSOCIATION__OUTER_PARTICIPANT_REF = eINSTANCE
+ .getParticipantAssociation_OuterParticipantRef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ParticipantMultiplicityImpl <em>Participant Multiplicity</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ParticipantMultiplicityImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getParticipantMultiplicity()
+ * @generated
+ */
+ EClass PARTICIPANT_MULTIPLICITY = eINSTANCE
+ .getParticipantMultiplicity();
+
+ /**
+ * The meta object literal for the '<em><b>Maximum</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PARTICIPANT_MULTIPLICITY__MAXIMUM = eINSTANCE
+ .getParticipantMultiplicity_Maximum();
+
+ /**
+ * The meta object literal for the '<em><b>Minimum</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PARTICIPANT_MULTIPLICITY__MINIMUM = eINSTANCE
+ .getParticipantMultiplicity_Minimum();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.PartnerEntityImpl <em>Partner Entity</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.PartnerEntityImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getPartnerEntity()
+ * @generated
+ */
+ EClass PARTNER_ENTITY = eINSTANCE.getPartnerEntity();
+
+ /**
+ * The meta object literal for the '<em><b>Participant Ref</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PARTNER_ENTITY__PARTICIPANT_REF = eINSTANCE
+ .getPartnerEntity_ParticipantRef();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PARTNER_ENTITY__NAME = eINSTANCE.getPartnerEntity_Name();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.PartnerRoleImpl <em>Partner Role</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.PartnerRoleImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getPartnerRole()
+ * @generated
+ */
+ EClass PARTNER_ROLE = eINSTANCE.getPartnerRole();
+
+ /**
+ * The meta object literal for the '<em><b>Participant Ref</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PARTNER_ROLE__PARTICIPANT_REF = eINSTANCE
+ .getPartnerRole_ParticipantRef();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PARTNER_ROLE__NAME = eINSTANCE.getPartnerRole_Name();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.PerformerImpl <em>Performer</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.PerformerImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getPerformer()
+ * @generated
+ */
+ EClass PERFORMER = eINSTANCE.getPerformer();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.PotentialOwnerImpl <em>Potential Owner</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.PotentialOwnerImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getPotentialOwner()
+ * @generated
+ */
+ EClass POTENTIAL_OWNER = eINSTANCE.getPotentialOwner();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ProcessImpl <em>Process</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ProcessImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getProcess()
+ * @generated
+ */
+ EClass PROCESS = eINSTANCE.getProcess();
+
+ /**
+ * The meta object literal for the '<em><b>Auditing</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PROCESS__AUDITING = eINSTANCE.getProcess_Auditing();
+
+ /**
+ * The meta object literal for the '<em><b>Monitoring</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PROCESS__MONITORING = eINSTANCE.getProcess_Monitoring();
+
+ /**
+ * The meta object literal for the '<em><b>Properties</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PROCESS__PROPERTIES = eINSTANCE.getProcess_Properties();
+
+ /**
+ * The meta object literal for the '<em><b>Artifacts</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PROCESS__ARTIFACTS = eINSTANCE.getProcess_Artifacts();
+
+ /**
+ * The meta object literal for the '<em><b>Resources</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PROCESS__RESOURCES = eINSTANCE.getProcess_Resources();
+
+ /**
+ * The meta object literal for the '<em><b>Correlation Subscriptions</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PROCESS__CORRELATION_SUBSCRIPTIONS = eINSTANCE
+ .getProcess_CorrelationSubscriptions();
+
+ /**
+ * The meta object literal for the '<em><b>Supports</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PROCESS__SUPPORTS = eINSTANCE.getProcess_Supports();
+
+ /**
+ * The meta object literal for the '<em><b>Definitional Collaboration Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PROCESS__DEFINITIONAL_COLLABORATION_REF = eINSTANCE
+ .getProcess_DefinitionalCollaborationRef();
+
+ /**
+ * The meta object literal for the '<em><b>Is Closed</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PROCESS__IS_CLOSED = eINSTANCE.getProcess_IsClosed();
+
+ /**
+ * The meta object literal for the '<em><b>Is Executable</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PROCESS__IS_EXECUTABLE = eINSTANCE.getProcess_IsExecutable();
+
+ /**
+ * The meta object literal for the '<em><b>Process Type</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PROCESS__PROCESS_TYPE = eINSTANCE.getProcess_ProcessType();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.PropertyImpl <em>Property</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.PropertyImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getProperty()
+ * @generated
+ */
+ EClass PROPERTY = eINSTANCE.getProperty();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PROPERTY__NAME = eINSTANCE.getProperty_Name();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ReceiveTaskImpl <em>Receive Task</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ReceiveTaskImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getReceiveTask()
+ * @generated
+ */
+ EClass RECEIVE_TASK = eINSTANCE.getReceiveTask();
+
+ /**
+ * The meta object literal for the '<em><b>Implementation</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute RECEIVE_TASK__IMPLEMENTATION = eINSTANCE
+ .getReceiveTask_Implementation();
+
+ /**
+ * The meta object literal for the '<em><b>Instantiate</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute RECEIVE_TASK__INSTANTIATE = eINSTANCE
+ .getReceiveTask_Instantiate();
+
+ /**
+ * The meta object literal for the '<em><b>Message Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference RECEIVE_TASK__MESSAGE_REF = eINSTANCE
+ .getReceiveTask_MessageRef();
+
+ /**
+ * The meta object literal for the '<em><b>Operation Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference RECEIVE_TASK__OPERATION_REF = eINSTANCE
+ .getReceiveTask_OperationRef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.RelationshipImpl <em>Relationship</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.RelationshipImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getRelationship()
+ * @generated
+ */
+ EClass RELATIONSHIP = eINSTANCE.getRelationship();
+
+ /**
+ * The meta object literal for the '<em><b>Sources</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference RELATIONSHIP__SOURCES = eINSTANCE.getRelationship_Sources();
+
+ /**
+ * The meta object literal for the '<em><b>Targets</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference RELATIONSHIP__TARGETS = eINSTANCE.getRelationship_Targets();
+
+ /**
+ * The meta object literal for the '<em><b>Direction</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute RELATIONSHIP__DIRECTION = eINSTANCE
+ .getRelationship_Direction();
+
+ /**
+ * The meta object literal for the '<em><b>Type</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute RELATIONSHIP__TYPE = eINSTANCE.getRelationship_Type();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.RenderingImpl <em>Rendering</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.RenderingImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getRendering()
+ * @generated
+ */
+ EClass RENDERING = eINSTANCE.getRendering();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ResourceImpl <em>Resource</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ResourceImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getResource()
+ * @generated
+ */
+ EClass RESOURCE = eINSTANCE.getResource();
+
+ /**
+ * The meta object literal for the '<em><b>Resource Parameters</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference RESOURCE__RESOURCE_PARAMETERS = eINSTANCE
+ .getResource_ResourceParameters();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute RESOURCE__NAME = eINSTANCE.getResource_Name();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ResourceAssignmentExpressionImpl <em>Resource Assignment Expression</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ResourceAssignmentExpressionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getResourceAssignmentExpression()
+ * @generated
+ */
+ EClass RESOURCE_ASSIGNMENT_EXPRESSION = eINSTANCE
+ .getResourceAssignmentExpression();
+
+ /**
+ * The meta object literal for the '<em><b>Expression</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference RESOURCE_ASSIGNMENT_EXPRESSION__EXPRESSION = eINSTANCE
+ .getResourceAssignmentExpression_Expression();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ResourceParameterImpl <em>Resource Parameter</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ResourceParameterImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getResourceParameter()
+ * @generated
+ */
+ EClass RESOURCE_PARAMETER = eINSTANCE.getResourceParameter();
+
+ /**
+ * The meta object literal for the '<em><b>Is Required</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute RESOURCE_PARAMETER__IS_REQUIRED = eINSTANCE
+ .getResourceParameter_IsRequired();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute RESOURCE_PARAMETER__NAME = eINSTANCE
+ .getResourceParameter_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Type</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference RESOURCE_PARAMETER__TYPE = eINSTANCE
+ .getResourceParameter_Type();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ResourceParameterBindingImpl <em>Resource Parameter Binding</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ResourceParameterBindingImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getResourceParameterBinding()
+ * @generated
+ */
+ EClass RESOURCE_PARAMETER_BINDING = eINSTANCE
+ .getResourceParameterBinding();
+
+ /**
+ * The meta object literal for the '<em><b>Expression</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference RESOURCE_PARAMETER_BINDING__EXPRESSION = eINSTANCE
+ .getResourceParameterBinding_Expression();
+
+ /**
+ * The meta object literal for the '<em><b>Parameter Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference RESOURCE_PARAMETER_BINDING__PARAMETER_REF = eINSTANCE
+ .getResourceParameterBinding_ParameterRef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ResourceRoleImpl <em>Resource Role</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ResourceRoleImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getResourceRole()
+ * @generated
+ */
+ EClass RESOURCE_ROLE = eINSTANCE.getResourceRole();
+
+ /**
+ * The meta object literal for the '<em><b>Resource Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference RESOURCE_ROLE__RESOURCE_REF = eINSTANCE
+ .getResourceRole_ResourceRef();
+
+ /**
+ * The meta object literal for the '<em><b>Resource Parameter Bindings</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference RESOURCE_ROLE__RESOURCE_PARAMETER_BINDINGS = eINSTANCE
+ .getResourceRole_ResourceParameterBindings();
+
+ /**
+ * The meta object literal for the '<em><b>Resource Assignment Expression</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference RESOURCE_ROLE__RESOURCE_ASSIGNMENT_EXPRESSION = eINSTANCE
+ .getResourceRole_ResourceAssignmentExpression();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute RESOURCE_ROLE__NAME = eINSTANCE.getResourceRole_Name();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.RootElementImpl <em>Root Element</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.RootElementImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getRootElement()
+ * @generated
+ */
+ EClass ROOT_ELEMENT = eINSTANCE.getRootElement();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ScriptTaskImpl <em>Script Task</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ScriptTaskImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getScriptTask()
+ * @generated
+ */
+ EClass SCRIPT_TASK = eINSTANCE.getScriptTask();
+
+ /**
+ * The meta object literal for the '<em><b>Script</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute SCRIPT_TASK__SCRIPT = eINSTANCE.getScriptTask_Script();
+
+ /**
+ * The meta object literal for the '<em><b>Script Format</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute SCRIPT_TASK__SCRIPT_FORMAT = eINSTANCE
+ .getScriptTask_ScriptFormat();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.SendTaskImpl <em>Send Task</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.SendTaskImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getSendTask()
+ * @generated
+ */
+ EClass SEND_TASK = eINSTANCE.getSendTask();
+
+ /**
+ * The meta object literal for the '<em><b>Implementation</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute SEND_TASK__IMPLEMENTATION = eINSTANCE
+ .getSendTask_Implementation();
+
+ /**
+ * The meta object literal for the '<em><b>Message Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference SEND_TASK__MESSAGE_REF = eINSTANCE.getSendTask_MessageRef();
+
+ /**
+ * The meta object literal for the '<em><b>Operation Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference SEND_TASK__OPERATION_REF = eINSTANCE
+ .getSendTask_OperationRef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.SequenceFlowImpl <em>Sequence Flow</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.SequenceFlowImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getSequenceFlow()
+ * @generated
+ */
+ EClass SEQUENCE_FLOW = eINSTANCE.getSequenceFlow();
+
+ /**
+ * The meta object literal for the '<em><b>Condition Expression</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference SEQUENCE_FLOW__CONDITION_EXPRESSION = eINSTANCE
+ .getSequenceFlow_ConditionExpression();
+
+ /**
+ * The meta object literal for the '<em><b>Is Immediate</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute SEQUENCE_FLOW__IS_IMMEDIATE = eINSTANCE
+ .getSequenceFlow_IsImmediate();
+
+ /**
+ * The meta object literal for the '<em><b>Source Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference SEQUENCE_FLOW__SOURCE_REF = eINSTANCE
+ .getSequenceFlow_SourceRef();
+
+ /**
+ * The meta object literal for the '<em><b>Target Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference SEQUENCE_FLOW__TARGET_REF = eINSTANCE
+ .getSequenceFlow_TargetRef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ServiceTaskImpl <em>Service Task</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ServiceTaskImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getServiceTask()
+ * @generated
+ */
+ EClass SERVICE_TASK = eINSTANCE.getServiceTask();
+
+ /**
+ * The meta object literal for the '<em><b>Implementation</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute SERVICE_TASK__IMPLEMENTATION = eINSTANCE
+ .getServiceTask_Implementation();
+
+ /**
+ * The meta object literal for the '<em><b>Operation Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference SERVICE_TASK__OPERATION_REF = eINSTANCE
+ .getServiceTask_OperationRef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.SignalImpl <em>Signal</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.SignalImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getSignal()
+ * @generated
+ */
+ EClass SIGNAL = eINSTANCE.getSignal();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute SIGNAL__NAME = eINSTANCE.getSignal_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Structure Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference SIGNAL__STRUCTURE_REF = eINSTANCE.getSignal_StructureRef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.SignalEventDefinitionImpl <em>Signal Event Definition</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.SignalEventDefinitionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getSignalEventDefinition()
+ * @generated
+ */
+ EClass SIGNAL_EVENT_DEFINITION = eINSTANCE.getSignalEventDefinition();
+
+ /**
+ * The meta object literal for the '<em><b>Signal Ref</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference SIGNAL_EVENT_DEFINITION__SIGNAL_REF = eINSTANCE
+ .getSignalEventDefinition_SignalRef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.StandardLoopCharacteristicsImpl <em>Standard Loop Characteristics</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.StandardLoopCharacteristicsImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getStandardLoopCharacteristics()
+ * @generated
+ */
+ EClass STANDARD_LOOP_CHARACTERISTICS = eINSTANCE
+ .getStandardLoopCharacteristics();
+
+ /**
+ * The meta object literal for the '<em><b>Loop Condition</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference STANDARD_LOOP_CHARACTERISTICS__LOOP_CONDITION = eINSTANCE
+ .getStandardLoopCharacteristics_LoopCondition();
+
+ /**
+ * The meta object literal for the '<em><b>Loop Maximum</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference STANDARD_LOOP_CHARACTERISTICS__LOOP_MAXIMUM = eINSTANCE
+ .getStandardLoopCharacteristics_LoopMaximum();
+
+ /**
+ * The meta object literal for the '<em><b>Test Before</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute STANDARD_LOOP_CHARACTERISTICS__TEST_BEFORE = eINSTANCE
+ .getStandardLoopCharacteristics_TestBefore();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.StartEventImpl <em>Start Event</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.StartEventImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getStartEvent()
+ * @generated
+ */
+ EClass START_EVENT = eINSTANCE.getStartEvent();
+
+ /**
+ * The meta object literal for the '<em><b>Is Interrupting</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute START_EVENT__IS_INTERRUPTING = eINSTANCE
+ .getStartEvent_IsInterrupting();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.SubChoreographyImpl <em>Sub Choreography</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.SubChoreographyImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getSubChoreography()
+ * @generated
+ */
+ EClass SUB_CHOREOGRAPHY = eINSTANCE.getSubChoreography();
+
+ /**
+ * The meta object literal for the '<em><b>Artifacts</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference SUB_CHOREOGRAPHY__ARTIFACTS = eINSTANCE
+ .getSubChoreography_Artifacts();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.SubConversationImpl <em>Sub Conversation</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.SubConversationImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getSubConversation()
+ * @generated
+ */
+ EClass SUB_CONVERSATION = eINSTANCE.getSubConversation();
+
+ /**
+ * The meta object literal for the '<em><b>Conversation Nodes</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference SUB_CONVERSATION__CONVERSATION_NODES = eINSTANCE
+ .getSubConversation_ConversationNodes();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.SubProcessImpl <em>Sub Process</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.SubProcessImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getSubProcess()
+ * @generated
+ */
+ EClass SUB_PROCESS = eINSTANCE.getSubProcess();
+
+ /**
+ * The meta object literal for the '<em><b>Artifacts</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference SUB_PROCESS__ARTIFACTS = eINSTANCE.getSubProcess_Artifacts();
+
+ /**
+ * The meta object literal for the '<em><b>Triggered By Event</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute SUB_PROCESS__TRIGGERED_BY_EVENT = eINSTANCE
+ .getSubProcess_TriggeredByEvent();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.TaskImpl <em>Task</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.TaskImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getTask()
+ * @generated
+ */
+ EClass TASK = eINSTANCE.getTask();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.TerminateEventDefinitionImpl <em>Terminate Event Definition</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.TerminateEventDefinitionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getTerminateEventDefinition()
+ * @generated
+ */
+ EClass TERMINATE_EVENT_DEFINITION = eINSTANCE
+ .getTerminateEventDefinition();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.TextAnnotationImpl <em>Text Annotation</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.TextAnnotationImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getTextAnnotation()
+ * @generated
+ */
+ EClass TEXT_ANNOTATION = eINSTANCE.getTextAnnotation();
+
+ /**
+ * The meta object literal for the '<em><b>Text</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute TEXT_ANNOTATION__TEXT = eINSTANCE.getTextAnnotation_Text();
+
+ /**
+ * The meta object literal for the '<em><b>Text Format</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute TEXT_ANNOTATION__TEXT_FORMAT = eINSTANCE
+ .getTextAnnotation_TextFormat();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.ThrowEventImpl <em>Throw Event</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.ThrowEventImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getThrowEvent()
+ * @generated
+ */
+ EClass THROW_EVENT = eINSTANCE.getThrowEvent();
+
+ /**
+ * The meta object literal for the '<em><b>Data Inputs</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference THROW_EVENT__DATA_INPUTS = eINSTANCE
+ .getThrowEvent_DataInputs();
+
+ /**
+ * The meta object literal for the '<em><b>Data Input Association</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference THROW_EVENT__DATA_INPUT_ASSOCIATION = eINSTANCE
+ .getThrowEvent_DataInputAssociation();
+
+ /**
+ * The meta object literal for the '<em><b>Input Set</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference THROW_EVENT__INPUT_SET = eINSTANCE.getThrowEvent_InputSet();
+
+ /**
+ * The meta object literal for the '<em><b>Event Definitions</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference THROW_EVENT__EVENT_DEFINITIONS = eINSTANCE
+ .getThrowEvent_EventDefinitions();
+
+ /**
+ * The meta object literal for the '<em><b>Event Definition Refs</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference THROW_EVENT__EVENT_DEFINITION_REFS = eINSTANCE
+ .getThrowEvent_EventDefinitionRefs();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.TimerEventDefinitionImpl <em>Timer Event Definition</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.TimerEventDefinitionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getTimerEventDefinition()
+ * @generated
+ */
+ EClass TIMER_EVENT_DEFINITION = eINSTANCE.getTimerEventDefinition();
+
+ /**
+ * The meta object literal for the '<em><b>Time Date</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference TIMER_EVENT_DEFINITION__TIME_DATE = eINSTANCE
+ .getTimerEventDefinition_TimeDate();
+
+ /**
+ * The meta object literal for the '<em><b>Time Duration</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference TIMER_EVENT_DEFINITION__TIME_DURATION = eINSTANCE
+ .getTimerEventDefinition_TimeDuration();
+
+ /**
+ * The meta object literal for the '<em><b>Time Cycle</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference TIMER_EVENT_DEFINITION__TIME_CYCLE = eINSTANCE
+ .getTimerEventDefinition_TimeCycle();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.TransactionImpl <em>Transaction</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.TransactionImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getTransaction()
+ * @generated
+ */
+ EClass TRANSACTION = eINSTANCE.getTransaction();
+
+ /**
+ * The meta object literal for the '<em><b>Protocol</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute TRANSACTION__PROTOCOL = eINSTANCE.getTransaction_Protocol();
+
+ /**
+ * The meta object literal for the '<em><b>Method</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute TRANSACTION__METHOD = eINSTANCE.getTransaction_Method();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.impl.UserTaskImpl <em>User Task</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.impl.UserTaskImpl
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getUserTask()
+ * @generated
+ */
+ EClass USER_TASK = eINSTANCE.getUserTask();
+
+ /**
+ * The meta object literal for the '<em><b>Renderings</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference USER_TASK__RENDERINGS = eINSTANCE.getUserTask_Renderings();
+
+ /**
+ * The meta object literal for the '<em><b>Implementation</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute USER_TASK__IMPLEMENTATION = eINSTANCE
+ .getUserTask_Implementation();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.AdHocOrdering <em>Ad Hoc Ordering</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.AdHocOrdering
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getAdHocOrdering()
+ * @generated
+ */
+ EEnum AD_HOC_ORDERING = eINSTANCE.getAdHocOrdering();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.AssociationDirection <em>Association Direction</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.AssociationDirection
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getAssociationDirection()
+ * @generated
+ */
+ EEnum ASSOCIATION_DIRECTION = eINSTANCE.getAssociationDirection();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.ChoreographyLoopType <em>Choreography Loop Type</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.ChoreographyLoopType
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getChoreographyLoopType()
+ * @generated
+ */
+ EEnum CHOREOGRAPHY_LOOP_TYPE = eINSTANCE.getChoreographyLoopType();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.EventBasedGatewayType <em>Event Based Gateway Type</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.EventBasedGatewayType
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getEventBasedGatewayType()
+ * @generated
+ */
+ EEnum EVENT_BASED_GATEWAY_TYPE = eINSTANCE.getEventBasedGatewayType();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.GatewayDirection <em>Gateway Direction</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.GatewayDirection
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getGatewayDirection()
+ * @generated
+ */
+ EEnum GATEWAY_DIRECTION = eINSTANCE.getGatewayDirection();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.ItemKind <em>Item Kind</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.ItemKind
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getItemKind()
+ * @generated
+ */
+ EEnum ITEM_KIND = eINSTANCE.getItemKind();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.MultiInstanceBehavior <em>Multi Instance Behavior</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.MultiInstanceBehavior
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getMultiInstanceBehavior()
+ * @generated
+ */
+ EEnum MULTI_INSTANCE_BEHAVIOR = eINSTANCE.getMultiInstanceBehavior();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.ProcessType <em>Process Type</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.ProcessType
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getProcessType()
+ * @generated
+ */
+ EEnum PROCESS_TYPE = eINSTANCE.getProcessType();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.RelationshipDirection <em>Relationship Direction</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.RelationshipDirection
+ * @see org.eclipse.bpmn2.impl.Bpmn2PackageImpl#getRelationshipDirection()
+ * @generated
+ */
+ EEnum RELATIONSHIP_DIRECTION = eINSTANCE.getRelationshipDirection();
+
+ }
+
+} //Bpmn2Package
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/BusinessRuleTask.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/BusinessRuleTask.java
new file mode 100644
index 000000000..115607950
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/BusinessRuleTask.java
@@ -0,0 +1,61 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Business Rule Task</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.BusinessRuleTask#getImplementation <em>Implementation</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getBusinessRuleTask()
+ * @model extendedMetaData="name='tBusinessRuleTask' kind='elementOnly'"
+ * @generated
+ */
+public interface BusinessRuleTask extends Task {
+ /**
+ * Returns the value of the '<em><b>Implementation</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Implementation</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Implementation</em>' attribute.
+ * @see #setImplementation(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getBusinessRuleTask_Implementation()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='implementation'"
+ * @generated
+ */
+ String getImplementation();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.BusinessRuleTask#getImplementation <em>Implementation</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Implementation</em>' attribute.
+ * @see #getImplementation()
+ * @generated
+ */
+ void setImplementation(String value);
+
+} // BusinessRuleTask
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CallActivity.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CallActivity.java
new file mode 100644
index 000000000..6a1ef6803
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CallActivity.java
@@ -0,0 +1,61 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Call Activity</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.CallActivity#getCalledElementRef <em>Called Element Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCallActivity()
+ * @model extendedMetaData="name='tCallActivity' kind='elementOnly'"
+ * @generated
+ */
+public interface CallActivity extends Activity {
+ /**
+ * Returns the value of the '<em><b>Called Element Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Called Element Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Called Element Ref</em>' reference.
+ * @see #setCalledElementRef(CallableElement)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCallActivity_CalledElementRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='calledElement'"
+ * @generated
+ */
+ CallableElement getCalledElementRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.CallActivity#getCalledElementRef <em>Called Element Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Called Element Ref</em>' reference.
+ * @see #getCalledElementRef()
+ * @generated
+ */
+ void setCalledElementRef(CallableElement value);
+
+} // CallActivity
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CallChoreography.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CallChoreography.java
new file mode 100644
index 000000000..768419d78
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CallChoreography.java
@@ -0,0 +1,81 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Call Choreography</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.CallChoreography#getParticipantAssociations <em>Participant Associations</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.CallChoreography#getCalledChoreographyRef <em>Called Choreography Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCallChoreography()
+ * @model extendedMetaData="name='tCallChoreography' kind='elementOnly'"
+ * @generated
+ */
+public interface CallChoreography extends ChoreographyActivity {
+ /**
+ * Returns the value of the '<em><b>Participant Associations</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.ParticipantAssociation}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Participant Associations</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Participant Associations</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCallChoreography_ParticipantAssociations()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='participantAssociation' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<ParticipantAssociation> getParticipantAssociations();
+
+ /**
+ * Returns the value of the '<em><b>Called Choreography Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Called Choreography Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Called Choreography Ref</em>' reference.
+ * @see #setCalledChoreographyRef(Choreography)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCallChoreography_CalledChoreographyRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='calledChoreographyRef'"
+ * @generated
+ */
+ Choreography getCalledChoreographyRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.CallChoreography#getCalledChoreographyRef <em>Called Choreography Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Called Choreography Ref</em>' reference.
+ * @see #getCalledChoreographyRef()
+ * @generated
+ */
+ void setCalledChoreographyRef(Choreography value);
+
+} // CallChoreography
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CallConversation.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CallConversation.java
new file mode 100644
index 000000000..b121c1159
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CallConversation.java
@@ -0,0 +1,81 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Call Conversation</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.CallConversation#getParticipantAssociations <em>Participant Associations</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.CallConversation#getCalledCollaborationRef <em>Called Collaboration Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCallConversation()
+ * @model extendedMetaData="name='tCallConversation' kind='elementOnly'"
+ * @generated
+ */
+public interface CallConversation extends ConversationNode {
+ /**
+ * Returns the value of the '<em><b>Participant Associations</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.ParticipantAssociation}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Participant Associations</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Participant Associations</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCallConversation_ParticipantAssociations()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='participantAssociation' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<ParticipantAssociation> getParticipantAssociations();
+
+ /**
+ * Returns the value of the '<em><b>Called Collaboration Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Called Collaboration Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Called Collaboration Ref</em>' reference.
+ * @see #setCalledCollaborationRef(Collaboration)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCallConversation_CalledCollaborationRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='calledCollaborationRef'"
+ * @generated
+ */
+ Collaboration getCalledCollaborationRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.CallConversation#getCalledCollaborationRef <em>Called Collaboration Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Called Collaboration Ref</em>' reference.
+ * @see #getCalledCollaborationRef()
+ * @generated
+ */
+ void setCalledCollaborationRef(Collaboration value);
+
+} // CallConversation
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CallableElement.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CallableElement.java
new file mode 100644
index 000000000..3c161d1f6
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CallableElement.java
@@ -0,0 +1,127 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Callable Element</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.CallableElement#getSupportedInterfaceRefs <em>Supported Interface Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.CallableElement#getIoSpecification <em>Io Specification</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.CallableElement#getIoBinding <em>Io Binding</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.CallableElement#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCallableElement()
+ * @model extendedMetaData="name='tCallableElement' kind='elementOnly' abstract='true'"
+ * @generated
+ */
+public interface CallableElement extends RootElement {
+ /**
+ * Returns the value of the '<em><b>Supported Interface Refs</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.Interface}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Supported Interface Refs</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Supported Interface Refs</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCallableElement_SupportedInterfaceRefs()
+ * @model ordered="false"
+ * extendedMetaData="kind='element' name='supportedInterfaceRef' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<Interface> getSupportedInterfaceRefs();
+
+ /**
+ * Returns the value of the '<em><b>Io Specification</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Io Specification</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Io Specification</em>' containment reference.
+ * @see #setIoSpecification(InputOutputSpecification)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCallableElement_IoSpecification()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='ioSpecification' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ InputOutputSpecification getIoSpecification();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.CallableElement#getIoSpecification <em>Io Specification</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Io Specification</em>' containment reference.
+ * @see #getIoSpecification()
+ * @generated
+ */
+ void setIoSpecification(InputOutputSpecification value);
+
+ /**
+ * Returns the value of the '<em><b>Io Binding</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.InputOutputBinding}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Io Binding</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Io Binding</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCallableElement_IoBinding()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='ioBinding' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<InputOutputBinding> getIoBinding();
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCallableElement_Name()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.CallableElement#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+} // CallableElement
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CancelEventDefinition.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CancelEventDefinition.java
new file mode 100644
index 000000000..8019bd4fd
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CancelEventDefinition.java
@@ -0,0 +1,28 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Cancel Event Definition</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCancelEventDefinition()
+ * @model extendedMetaData="name='tCancelEventDefinition' kind='elementOnly'"
+ * @generated
+ */
+public interface CancelEventDefinition extends EventDefinition {
+} // CancelEventDefinition
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CatchEvent.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CatchEvent.java
new file mode 100644
index 000000000..6ca685220
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CatchEvent.java
@@ -0,0 +1,164 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Catch Event</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.CatchEvent#getDataOutputs <em>Data Outputs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.CatchEvent#getDataOutputAssociation <em>Data Output Association</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.CatchEvent#getOutputSet <em>Output Set</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.CatchEvent#getEventDefinitions <em>Event Definitions</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.CatchEvent#getEventDefinitionRefs <em>Event Definition Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.CatchEvent#isParallelMultiple <em>Parallel Multiple</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCatchEvent()
+ * @model abstract="true"
+ * extendedMetaData="name='tCatchEvent' kind='elementOnly'"
+ * @generated
+ */
+public interface CatchEvent extends Event {
+ /**
+ * Returns the value of the '<em><b>Data Outputs</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.DataOutput}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Data Outputs</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Data Outputs</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCatchEvent_DataOutputs()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='dataOutput' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<DataOutput> getDataOutputs();
+
+ /**
+ * Returns the value of the '<em><b>Data Output Association</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.DataOutputAssociation}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Data Output Association</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Data Output Association</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCatchEvent_DataOutputAssociation()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='dataOutputAssociation' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<DataOutputAssociation> getDataOutputAssociation();
+
+ /**
+ * Returns the value of the '<em><b>Output Set</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Output Set</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Output Set</em>' containment reference.
+ * @see #setOutputSet(OutputSet)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCatchEvent_OutputSet()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='outputSet' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ OutputSet getOutputSet();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.CatchEvent#getOutputSet <em>Output Set</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Output Set</em>' containment reference.
+ * @see #getOutputSet()
+ * @generated
+ */
+ void setOutputSet(OutputSet value);
+
+ /**
+ * Returns the value of the '<em><b>Event Definitions</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.EventDefinition}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Event Definitions</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Event Definitions</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCatchEvent_EventDefinitions()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='eventDefinition' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' group='http://www.omg.org/spec/BPMN/20100524/MODEL#eventDefinition'"
+ * @generated
+ */
+ List<EventDefinition> getEventDefinitions();
+
+ /**
+ * Returns the value of the '<em><b>Event Definition Refs</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.EventDefinition}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Event Definition Refs</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Event Definition Refs</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCatchEvent_EventDefinitionRefs()
+ * @model ordered="false"
+ * extendedMetaData="kind='element' name='eventDefinitionRef' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<EventDefinition> getEventDefinitionRefs();
+
+ /**
+ * Returns the value of the '<em><b>Parallel Multiple</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Parallel Multiple</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Parallel Multiple</em>' attribute.
+ * @see #setParallelMultiple(boolean)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCatchEvent_ParallelMultiple()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='parallelMultiple'"
+ * @generated
+ */
+ boolean isParallelMultiple();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.CatchEvent#isParallelMultiple <em>Parallel Multiple</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Parallel Multiple</em>' attribute.
+ * @see #isParallelMultiple()
+ * @generated
+ */
+ void setParallelMultiple(boolean value);
+
+} // CatchEvent
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Category.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Category.java
new file mode 100644
index 000000000..f082318bc
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Category.java
@@ -0,0 +1,81 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Category</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.Category#getCategoryValue <em>Category Value</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Category#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCategory()
+ * @model extendedMetaData="name='tCategory' kind='elementOnly'"
+ * @generated
+ */
+public interface Category extends RootElement {
+ /**
+ * Returns the value of the '<em><b>Category Value</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.CategoryValue}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Category Value</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Category Value</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCategory_CategoryValue()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='categoryValue' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<CategoryValue> getCategoryValue();
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCategory_Name()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Category#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+} // Category
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CategoryValue.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CategoryValue.java
new file mode 100644
index 000000000..7d7c2be4d
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CategoryValue.java
@@ -0,0 +1,80 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Category Value</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.CategoryValue#getValue <em>Value</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.CategoryValue#getCategorizedFlowElements <em>Categorized Flow Elements</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCategoryValue()
+ * @model extendedMetaData="name='tCategoryValue' kind='elementOnly'"
+ * @generated
+ */
+public interface CategoryValue extends BaseElement {
+ /**
+ * Returns the value of the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Value</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Value</em>' attribute.
+ * @see #setValue(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCategoryValue_Value()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='value'"
+ * @generated
+ */
+ String getValue();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.CategoryValue#getValue <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Value</em>' attribute.
+ * @see #getValue()
+ * @generated
+ */
+ void setValue(String value);
+
+ /**
+ * Returns the value of the '<em><b>Categorized Flow Elements</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.FlowElement}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Categorized Flow Elements</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Categorized Flow Elements</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCategoryValue_CategorizedFlowElements()
+ * @model resolveProxies="false" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
+ * @generated
+ */
+ List<FlowElement> getCategorizedFlowElements();
+
+} // CategoryValue
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Choreography.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Choreography.java
new file mode 100644
index 000000000..5d1278827
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Choreography.java
@@ -0,0 +1,28 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Choreography</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getChoreography()
+ * @model extendedMetaData="name='tChoreography' kind='elementOnly'"
+ * @generated
+ */
+public interface Choreography extends Collaboration, FlowElementsContainer {
+} // Choreography
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ChoreographyActivity.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ChoreographyActivity.java
new file mode 100644
index 000000000..b025f3174
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ChoreographyActivity.java
@@ -0,0 +1,132 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Choreography Activity</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.ChoreographyActivity#getParticipantRefs <em>Participant Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ChoreographyActivity#getCorrelationKeys <em>Correlation Keys</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ChoreographyActivity#getInitiatingParticipantRef <em>Initiating Participant Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ChoreographyActivity#getLoopType <em>Loop Type</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getChoreographyActivity()
+ * @model abstract="true"
+ * extendedMetaData="name='tChoreographyActivity' kind='elementOnly'"
+ * @generated
+ */
+public interface ChoreographyActivity extends FlowNode {
+ /**
+ * Returns the value of the '<em><b>Participant Refs</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.Participant}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Participant Refs</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Participant Refs</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getChoreographyActivity_ParticipantRefs()
+ * @model lower="2" ordered="false"
+ * extendedMetaData="kind='element' name='participantRef' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<Participant> getParticipantRefs();
+
+ /**
+ * Returns the value of the '<em><b>Correlation Keys</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.CorrelationKey}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Correlation Keys</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Correlation Keys</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getChoreographyActivity_CorrelationKeys()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='correlationKey' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<CorrelationKey> getCorrelationKeys();
+
+ /**
+ * Returns the value of the '<em><b>Initiating Participant Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Initiating Participant Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Initiating Participant Ref</em>' reference.
+ * @see #setInitiatingParticipantRef(Participant)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getChoreographyActivity_InitiatingParticipantRef()
+ * @model required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='initiatingParticipantRef'"
+ * @generated
+ */
+ Participant getInitiatingParticipantRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ChoreographyActivity#getInitiatingParticipantRef <em>Initiating Participant Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Initiating Participant Ref</em>' reference.
+ * @see #getInitiatingParticipantRef()
+ * @generated
+ */
+ void setInitiatingParticipantRef(Participant value);
+
+ /**
+ * Returns the value of the '<em><b>Loop Type</b></em>' attribute.
+ * The default value is <code>"None"</code>.
+ * The literals are from the enumeration {@link org.eclipse.bpmn2.ChoreographyLoopType}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Loop Type</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Loop Type</em>' attribute.
+ * @see org.eclipse.bpmn2.ChoreographyLoopType
+ * @see #setLoopType(ChoreographyLoopType)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getChoreographyActivity_LoopType()
+ * @model default="None" ordered="false"
+ * extendedMetaData="kind='attribute' name='loopType'"
+ * @generated
+ */
+ ChoreographyLoopType getLoopType();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ChoreographyActivity#getLoopType <em>Loop Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Loop Type</em>' attribute.
+ * @see org.eclipse.bpmn2.ChoreographyLoopType
+ * @see #getLoopType()
+ * @generated
+ */
+ void setLoopType(ChoreographyLoopType value);
+
+} // ChoreographyActivity
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ChoreographyLoopType.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ChoreographyLoopType.java
new file mode 100644
index 000000000..90f50db55
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ChoreographyLoopType.java
@@ -0,0 +1,275 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+import org.eclipse.emf.common.util.Enumerator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the literals of the enumeration '<em><b>Choreography Loop Type</b></em>',
+ * and utility methods for working with them.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.Bpmn2Package#getChoreographyLoopType()
+ * @model extendedMetaData="name='tChoreographyLoopType'"
+ * @generated
+ */
+public enum ChoreographyLoopType implements Enumerator {
+ /**
+ * The '<em><b>None</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #NONE_VALUE
+ * @generated
+ * @ordered
+ */
+ NONE(0, "None", "None"),
+
+ /**
+ * The '<em><b>Standard</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #STANDARD_VALUE
+ * @generated
+ * @ordered
+ */
+ STANDARD(1, "Standard", "Standard"),
+
+ /**
+ * The '<em><b>Multi Instance Sequential</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #MULTI_INSTANCE_SEQUENTIAL_VALUE
+ * @generated
+ * @ordered
+ */
+ MULTI_INSTANCE_SEQUENTIAL(2, "MultiInstanceSequential",
+ "MultiInstanceSequential"),
+
+ /**
+ * The '<em><b>Multi Instance Parallel</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #MULTI_INSTANCE_PARALLEL_VALUE
+ * @generated
+ * @ordered
+ */
+ MULTI_INSTANCE_PARALLEL(3, "MultiInstanceParallel", "MultiInstanceParallel");
+
+ /**
+ * The '<em><b>None</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>None</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #NONE
+ * @model name="None"
+ * @generated
+ * @ordered
+ */
+ public static final int NONE_VALUE = 0;
+
+ /**
+ * The '<em><b>Standard</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Standard</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #STANDARD
+ * @model name="Standard"
+ * @generated
+ * @ordered
+ */
+ public static final int STANDARD_VALUE = 1;
+
+ /**
+ * The '<em><b>Multi Instance Sequential</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Multi Instance Sequential</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #MULTI_INSTANCE_SEQUENTIAL
+ * @model name="MultiInstanceSequential"
+ * @generated
+ * @ordered
+ */
+ public static final int MULTI_INSTANCE_SEQUENTIAL_VALUE = 2;
+
+ /**
+ * The '<em><b>Multi Instance Parallel</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Multi Instance Parallel</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #MULTI_INSTANCE_PARALLEL
+ * @model name="MultiInstanceParallel"
+ * @generated
+ * @ordered
+ */
+ public static final int MULTI_INSTANCE_PARALLEL_VALUE = 3;
+
+ /**
+ * An array of all the '<em><b>Choreography Loop Type</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final ChoreographyLoopType[] VALUES_ARRAY = new ChoreographyLoopType[] {
+ NONE, STANDARD, MULTI_INSTANCE_SEQUENTIAL, MULTI_INSTANCE_PARALLEL, };
+
+ /**
+ * A public read-only list of all the '<em><b>Choreography Loop Type</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<ChoreographyLoopType> VALUES = Collections
+ .unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>Choreography Loop Type</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static ChoreographyLoopType get(String literal) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ ChoreographyLoopType result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Choreography Loop Type</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static ChoreographyLoopType getByName(String name) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ ChoreographyLoopType result = VALUES_ARRAY[i];
+ if (result.getName().equals(name)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Choreography Loop Type</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static ChoreographyLoopType get(int value) {
+ switch (value) {
+ case NONE_VALUE:
+ return NONE;
+ case STANDARD_VALUE:
+ return STANDARD;
+ case MULTI_INSTANCE_SEQUENTIAL_VALUE:
+ return MULTI_INSTANCE_SEQUENTIAL;
+ case MULTI_INSTANCE_PARALLEL_VALUE:
+ return MULTI_INSTANCE_PARALLEL;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final int value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String name;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String literal;
+
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private ChoreographyLoopType(int value, String name, String literal) {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLiteral() {
+ return literal;
+ }
+
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ return literal;
+ }
+
+} //ChoreographyLoopType
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ChoreographyTask.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ChoreographyTask.java
new file mode 100644
index 000000000..8a42cf66b
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ChoreographyTask.java
@@ -0,0 +1,53 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Choreography Task</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.ChoreographyTask#getMessageFlowRef <em>Message Flow Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getChoreographyTask()
+ * @model extendedMetaData="name='tChoreographyTask' kind='elementOnly'"
+ * @generated
+ */
+public interface ChoreographyTask extends ChoreographyActivity {
+ /**
+ * Returns the value of the '<em><b>Message Flow Ref</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.MessageFlow}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Message Flow Ref</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Message Flow Ref</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getChoreographyTask_MessageFlowRef()
+ * @model required="true" upper="2" ordered="false"
+ * extendedMetaData="kind='element' name='messageFlowRef' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<MessageFlow> getMessageFlowRef();
+
+} // ChoreographyTask
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Collaboration.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Collaboration.java
new file mode 100644
index 000000000..8c29e4ac0
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Collaboration.java
@@ -0,0 +1,271 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Collaboration</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.Collaboration#getParticipants <em>Participants</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Collaboration#getMessageFlows <em>Message Flows</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Collaboration#getArtifacts <em>Artifacts</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Collaboration#getConversations <em>Conversations</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Collaboration#getConversationAssociations <em>Conversation Associations</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Collaboration#getParticipantAssociations <em>Participant Associations</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Collaboration#getMessageFlowAssociations <em>Message Flow Associations</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Collaboration#getCorrelationKeys <em>Correlation Keys</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Collaboration#getChoreographyRef <em>Choreography Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Collaboration#getConversationLinks <em>Conversation Links</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Collaboration#isIsClosed <em>Is Closed</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Collaboration#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCollaboration()
+ * @model extendedMetaData="name='tCollaboration' kind='elementOnly'"
+ * @generated
+ */
+public interface Collaboration extends RootElement {
+ /**
+ * Returns the value of the '<em><b>Participants</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.Participant}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Participants</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Participants</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCollaboration_Participants()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='participant' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<Participant> getParticipants();
+
+ /**
+ * Returns the value of the '<em><b>Message Flows</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.MessageFlow}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Message Flows</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Message Flows</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCollaboration_MessageFlows()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='messageFlow' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<MessageFlow> getMessageFlows();
+
+ /**
+ * Returns the value of the '<em><b>Artifacts</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.Artifact}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Artifacts</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Artifacts</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCollaboration_Artifacts()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='artifact' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' group='http://www.omg.org/spec/BPMN/20100524/MODEL#artifact'"
+ * @generated
+ */
+ List<Artifact> getArtifacts();
+
+ /**
+ * Returns the value of the '<em><b>Conversations</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.ConversationNode}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Conversations</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Conversations</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCollaboration_Conversations()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='conversationNode' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' group='http://www.omg.org/spec/BPMN/20100524/MODEL#conversationNode'"
+ * @generated
+ */
+ List<ConversationNode> getConversations();
+
+ /**
+ * Returns the value of the '<em><b>Conversation Associations</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.ConversationAssociation}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Conversation Associations</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Conversation Associations</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCollaboration_ConversationAssociations()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='conversationAssociation' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<ConversationAssociation> getConversationAssociations();
+
+ /**
+ * Returns the value of the '<em><b>Participant Associations</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.ParticipantAssociation}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Participant Associations</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Participant Associations</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCollaboration_ParticipantAssociations()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='participantAssociation' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<ParticipantAssociation> getParticipantAssociations();
+
+ /**
+ * Returns the value of the '<em><b>Message Flow Associations</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.MessageFlowAssociation}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Message Flow Associations</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Message Flow Associations</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCollaboration_MessageFlowAssociations()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='messageFlowAssociation' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<MessageFlowAssociation> getMessageFlowAssociations();
+
+ /**
+ * Returns the value of the '<em><b>Correlation Keys</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.CorrelationKey}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Correlation Keys</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Correlation Keys</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCollaboration_CorrelationKeys()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='correlationKey' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<CorrelationKey> getCorrelationKeys();
+
+ /**
+ * Returns the value of the '<em><b>Choreography Ref</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.Choreography}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Choreography Ref</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Choreography Ref</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCollaboration_ChoreographyRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='element' name='choreographyRef' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<Choreography> getChoreographyRef();
+
+ /**
+ * Returns the value of the '<em><b>Conversation Links</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.ConversationLink}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Conversation Links</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Conversation Links</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCollaboration_ConversationLinks()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='conversationLink' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<ConversationLink> getConversationLinks();
+
+ /**
+ * Returns the value of the '<em><b>Is Closed</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Is Closed</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Is Closed</em>' attribute.
+ * @see #setIsClosed(boolean)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCollaboration_IsClosed()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='isClosed'"
+ * @generated
+ */
+ boolean isIsClosed();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Collaboration#isIsClosed <em>Is Closed</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Is Closed</em>' attribute.
+ * @see #isIsClosed()
+ * @generated
+ */
+ void setIsClosed(boolean value);
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCollaboration_Name()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Collaboration#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+} // Collaboration
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CompensateEventDefinition.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CompensateEventDefinition.java
new file mode 100644
index 000000000..f4da3c2eb
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CompensateEventDefinition.java
@@ -0,0 +1,89 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Compensate Event Definition</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.CompensateEventDefinition#getActivityRef <em>Activity Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.CompensateEventDefinition#isWaitForCompletion <em>Wait For Completion</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCompensateEventDefinition()
+ * @model extendedMetaData="name='tCompensateEventDefinition' kind='elementOnly'"
+ * @generated
+ */
+public interface CompensateEventDefinition extends EventDefinition {
+ /**
+ * Returns the value of the '<em><b>Activity Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Activity Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Activity Ref</em>' reference.
+ * @see #setActivityRef(Activity)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCompensateEventDefinition_ActivityRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='activityRef'"
+ * @generated
+ */
+ Activity getActivityRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.CompensateEventDefinition#getActivityRef <em>Activity Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Activity Ref</em>' reference.
+ * @see #getActivityRef()
+ * @generated
+ */
+ void setActivityRef(Activity value);
+
+ /**
+ * Returns the value of the '<em><b>Wait For Completion</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Wait For Completion</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Wait For Completion</em>' attribute.
+ * @see #setWaitForCompletion(boolean)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCompensateEventDefinition_WaitForCompletion()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='waitForCompletion'"
+ * @generated
+ */
+ boolean isWaitForCompletion();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.CompensateEventDefinition#isWaitForCompletion <em>Wait For Completion</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Wait For Completion</em>' attribute.
+ * @see #isWaitForCompletion()
+ * @generated
+ */
+ void setWaitForCompletion(boolean value);
+
+} // CompensateEventDefinition
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ComplexBehaviorDefinition.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ComplexBehaviorDefinition.java
new file mode 100644
index 000000000..b5e48f406
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ComplexBehaviorDefinition.java
@@ -0,0 +1,89 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Complex Behavior Definition</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.ComplexBehaviorDefinition#getCondition <em>Condition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ComplexBehaviorDefinition#getEvent <em>Event</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getComplexBehaviorDefinition()
+ * @model extendedMetaData="name='tComplexBehaviorDefinition' kind='elementOnly'"
+ * @generated
+ */
+public interface ComplexBehaviorDefinition extends BaseElement {
+ /**
+ * Returns the value of the '<em><b>Condition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Condition</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Condition</em>' containment reference.
+ * @see #setCondition(FormalExpression)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getComplexBehaviorDefinition_Condition()
+ * @model containment="true" required="true" ordered="false"
+ * extendedMetaData="kind='element' name='condition' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ FormalExpression getCondition();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ComplexBehaviorDefinition#getCondition <em>Condition</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Condition</em>' containment reference.
+ * @see #getCondition()
+ * @generated
+ */
+ void setCondition(FormalExpression value);
+
+ /**
+ * Returns the value of the '<em><b>Event</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Event</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Event</em>' containment reference.
+ * @see #setEvent(ImplicitThrowEvent)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getComplexBehaviorDefinition_Event()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='event' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ ImplicitThrowEvent getEvent();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ComplexBehaviorDefinition#getEvent <em>Event</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Event</em>' containment reference.
+ * @see #getEvent()
+ * @generated
+ */
+ void setEvent(ImplicitThrowEvent value);
+
+} // ComplexBehaviorDefinition
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ComplexGateway.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ComplexGateway.java
new file mode 100644
index 000000000..7a89b6212
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ComplexGateway.java
@@ -0,0 +1,89 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Complex Gateway</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.ComplexGateway#getActivationCondition <em>Activation Condition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ComplexGateway#getDefault <em>Default</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getComplexGateway()
+ * @model extendedMetaData="name='tComplexGateway' kind='elementOnly'"
+ * @generated
+ */
+public interface ComplexGateway extends Gateway {
+ /**
+ * Returns the value of the '<em><b>Activation Condition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Activation Condition</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Activation Condition</em>' containment reference.
+ * @see #setActivationCondition(Expression)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getComplexGateway_ActivationCondition()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='activationCondition' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Expression getActivationCondition();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ComplexGateway#getActivationCondition <em>Activation Condition</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Activation Condition</em>' containment reference.
+ * @see #getActivationCondition()
+ * @generated
+ */
+ void setActivationCondition(Expression value);
+
+ /**
+ * Returns the value of the '<em><b>Default</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Default</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Default</em>' reference.
+ * @see #setDefault(SequenceFlow)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getComplexGateway_Default()
+ * @model resolveProxies="false" ordered="false"
+ * extendedMetaData="kind='attribute' name='default'"
+ * @generated
+ */
+ SequenceFlow getDefault();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ComplexGateway#getDefault <em>Default</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Default</em>' reference.
+ * @see #getDefault()
+ * @generated
+ */
+ void setDefault(SequenceFlow value);
+
+} // ComplexGateway
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ConditionalEventDefinition.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ConditionalEventDefinition.java
new file mode 100644
index 000000000..a2ff003ec
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ConditionalEventDefinition.java
@@ -0,0 +1,61 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Conditional Event Definition</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.ConditionalEventDefinition#getCondition <em>Condition</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getConditionalEventDefinition()
+ * @model extendedMetaData="name='tConditionalEventDefinition' kind='elementOnly'"
+ * @generated
+ */
+public interface ConditionalEventDefinition extends EventDefinition {
+ /**
+ * Returns the value of the '<em><b>Condition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Condition</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Condition</em>' containment reference.
+ * @see #setCondition(Expression)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getConditionalEventDefinition_Condition()
+ * @model containment="true" required="true" ordered="false"
+ * extendedMetaData="kind='element' name='condition' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Expression getCondition();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ConditionalEventDefinition#getCondition <em>Condition</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Condition</em>' containment reference.
+ * @see #getCondition()
+ * @generated
+ */
+ void setCondition(Expression value);
+
+} // ConditionalEventDefinition
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Conversation.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Conversation.java
new file mode 100644
index 000000000..f70495f54
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Conversation.java
@@ -0,0 +1,28 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Conversation</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getConversation()
+ * @model extendedMetaData="name='tConversation' kind='elementOnly'"
+ * @generated
+ */
+public interface Conversation extends ConversationNode {
+} // Conversation
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ConversationAssociation.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ConversationAssociation.java
new file mode 100644
index 000000000..b44cbc82a
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ConversationAssociation.java
@@ -0,0 +1,89 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Conversation Association</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.ConversationAssociation#getInnerConversationNodeRef <em>Inner Conversation Node Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ConversationAssociation#getOuterConversationNodeRef <em>Outer Conversation Node Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getConversationAssociation()
+ * @model extendedMetaData="name='tConversationAssociation' kind='elementOnly'"
+ * @generated
+ */
+public interface ConversationAssociation extends BaseElement {
+ /**
+ * Returns the value of the '<em><b>Inner Conversation Node Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Inner Conversation Node Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Inner Conversation Node Ref</em>' reference.
+ * @see #setInnerConversationNodeRef(ConversationNode)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getConversationAssociation_InnerConversationNodeRef()
+ * @model required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='innerConversationNodeRef'"
+ * @generated
+ */
+ ConversationNode getInnerConversationNodeRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ConversationAssociation#getInnerConversationNodeRef <em>Inner Conversation Node Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Inner Conversation Node Ref</em>' reference.
+ * @see #getInnerConversationNodeRef()
+ * @generated
+ */
+ void setInnerConversationNodeRef(ConversationNode value);
+
+ /**
+ * Returns the value of the '<em><b>Outer Conversation Node Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Outer Conversation Node Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Outer Conversation Node Ref</em>' reference.
+ * @see #setOuterConversationNodeRef(ConversationNode)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getConversationAssociation_OuterConversationNodeRef()
+ * @model required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='outerConversationNodeRef'"
+ * @generated
+ */
+ ConversationNode getOuterConversationNodeRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ConversationAssociation#getOuterConversationNodeRef <em>Outer Conversation Node Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Outer Conversation Node Ref</em>' reference.
+ * @see #getOuterConversationNodeRef()
+ * @generated
+ */
+ void setOuterConversationNodeRef(ConversationNode value);
+
+} // ConversationAssociation
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ConversationLink.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ConversationLink.java
new file mode 100644
index 000000000..455d3fd33
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ConversationLink.java
@@ -0,0 +1,117 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Conversation Link</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.ConversationLink#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ConversationLink#getSourceRef <em>Source Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ConversationLink#getTargetRef <em>Target Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getConversationLink()
+ * @model extendedMetaData="name='tConversationLink' kind='elementOnly'"
+ * @generated
+ */
+public interface ConversationLink extends BaseElement {
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getConversationLink_Name()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ConversationLink#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+ /**
+ * Returns the value of the '<em><b>Source Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Source Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Source Ref</em>' reference.
+ * @see #setSourceRef(InteractionNode)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getConversationLink_SourceRef()
+ * @model required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='sourceRef'"
+ * @generated
+ */
+ InteractionNode getSourceRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ConversationLink#getSourceRef <em>Source Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Source Ref</em>' reference.
+ * @see #getSourceRef()
+ * @generated
+ */
+ void setSourceRef(InteractionNode value);
+
+ /**
+ * Returns the value of the '<em><b>Target Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Target Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Target Ref</em>' reference.
+ * @see #setTargetRef(InteractionNode)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getConversationLink_TargetRef()
+ * @model required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='targetRef'"
+ * @generated
+ */
+ InteractionNode getTargetRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ConversationLink#getTargetRef <em>Target Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Target Ref</em>' reference.
+ * @see #getTargetRef()
+ * @generated
+ */
+ void setTargetRef(InteractionNode value);
+
+} // ConversationLink
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ConversationNode.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ConversationNode.java
new file mode 100644
index 000000000..17c8ea643
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ConversationNode.java
@@ -0,0 +1,117 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Conversation Node</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.ConversationNode#getParticipantRefs <em>Participant Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ConversationNode#getMessageFlowRefs <em>Message Flow Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ConversationNode#getCorrelationKeys <em>Correlation Keys</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ConversationNode#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getConversationNode()
+ * @model extendedMetaData="name='tConversationNode' kind='elementOnly' abstract='true'"
+ * @generated
+ */
+public interface ConversationNode extends BaseElement, InteractionNode {
+ /**
+ * Returns the value of the '<em><b>Participant Refs</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.Participant}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Participant Refs</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Participant Refs</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getConversationNode_ParticipantRefs()
+ * @model lower="2" ordered="false"
+ * extendedMetaData="kind='element' name='participantRef' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<Participant> getParticipantRefs();
+
+ /**
+ * Returns the value of the '<em><b>Message Flow Refs</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.MessageFlow}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Message Flow Refs</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Message Flow Refs</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getConversationNode_MessageFlowRefs()
+ * @model ordered="false"
+ * extendedMetaData="kind='element' name='messageFlowRef' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<MessageFlow> getMessageFlowRefs();
+
+ /**
+ * Returns the value of the '<em><b>Correlation Keys</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.CorrelationKey}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Correlation Keys</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Correlation Keys</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getConversationNode_CorrelationKeys()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='correlationKey' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<CorrelationKey> getCorrelationKeys();
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getConversationNode_Name()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ConversationNode#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+} // ConversationNode
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CorrelationKey.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CorrelationKey.java
new file mode 100644
index 000000000..ac9bb3597
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CorrelationKey.java
@@ -0,0 +1,81 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Correlation Key</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.CorrelationKey#getCorrelationPropertyRef <em>Correlation Property Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.CorrelationKey#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCorrelationKey()
+ * @model extendedMetaData="name='tCorrelationKey' kind='elementOnly'"
+ * @generated
+ */
+public interface CorrelationKey extends BaseElement {
+ /**
+ * Returns the value of the '<em><b>Correlation Property Ref</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.CorrelationProperty}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Correlation Property Ref</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Correlation Property Ref</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCorrelationKey_CorrelationPropertyRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='element' name='correlationPropertyRef' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<CorrelationProperty> getCorrelationPropertyRef();
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCorrelationKey_Name()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.CorrelationKey#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+} // CorrelationKey
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CorrelationProperty.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CorrelationProperty.java
new file mode 100644
index 000000000..0fe4c04a4
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CorrelationProperty.java
@@ -0,0 +1,109 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Correlation Property</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.CorrelationProperty#getCorrelationPropertyRetrievalExpression <em>Correlation Property Retrieval Expression</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.CorrelationProperty#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.CorrelationProperty#getType <em>Type</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCorrelationProperty()
+ * @model extendedMetaData="name='tCorrelationProperty' kind='elementOnly'"
+ * @generated
+ */
+public interface CorrelationProperty extends RootElement {
+ /**
+ * Returns the value of the '<em><b>Correlation Property Retrieval Expression</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.CorrelationPropertyRetrievalExpression}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Correlation Property Retrieval Expression</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Correlation Property Retrieval Expression</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCorrelationProperty_CorrelationPropertyRetrievalExpression()
+ * @model containment="true" required="true" ordered="false"
+ * extendedMetaData="kind='element' name='correlationPropertyRetrievalExpression' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<CorrelationPropertyRetrievalExpression> getCorrelationPropertyRetrievalExpression();
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCorrelationProperty_Name()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.CorrelationProperty#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+ /**
+ * Returns the value of the '<em><b>Type</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Type</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Type</em>' reference.
+ * @see #setType(ItemDefinition)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCorrelationProperty_Type()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='type'"
+ * @generated
+ */
+ ItemDefinition getType();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.CorrelationProperty#getType <em>Type</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Type</em>' reference.
+ * @see #getType()
+ * @generated
+ */
+ void setType(ItemDefinition value);
+
+} // CorrelationProperty
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CorrelationPropertyBinding.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CorrelationPropertyBinding.java
new file mode 100644
index 000000000..587469f5d
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CorrelationPropertyBinding.java
@@ -0,0 +1,89 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Correlation Property Binding</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.CorrelationPropertyBinding#getDataPath <em>Data Path</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.CorrelationPropertyBinding#getCorrelationPropertyRef <em>Correlation Property Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCorrelationPropertyBinding()
+ * @model extendedMetaData="name='tCorrelationPropertyBinding' kind='elementOnly'"
+ * @generated
+ */
+public interface CorrelationPropertyBinding extends BaseElement {
+ /**
+ * Returns the value of the '<em><b>Data Path</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Data Path</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Data Path</em>' containment reference.
+ * @see #setDataPath(FormalExpression)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCorrelationPropertyBinding_DataPath()
+ * @model containment="true" required="true" ordered="false"
+ * extendedMetaData="kind='element' name='dataPath' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ FormalExpression getDataPath();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.CorrelationPropertyBinding#getDataPath <em>Data Path</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Data Path</em>' containment reference.
+ * @see #getDataPath()
+ * @generated
+ */
+ void setDataPath(FormalExpression value);
+
+ /**
+ * Returns the value of the '<em><b>Correlation Property Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Correlation Property Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Correlation Property Ref</em>' reference.
+ * @see #setCorrelationPropertyRef(CorrelationProperty)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCorrelationPropertyBinding_CorrelationPropertyRef()
+ * @model required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='correlationPropertyRef'"
+ * @generated
+ */
+ CorrelationProperty getCorrelationPropertyRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.CorrelationPropertyBinding#getCorrelationPropertyRef <em>Correlation Property Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Correlation Property Ref</em>' reference.
+ * @see #getCorrelationPropertyRef()
+ * @generated
+ */
+ void setCorrelationPropertyRef(CorrelationProperty value);
+
+} // CorrelationPropertyBinding
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CorrelationPropertyRetrievalExpression.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CorrelationPropertyRetrievalExpression.java
new file mode 100644
index 000000000..17504dbce
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CorrelationPropertyRetrievalExpression.java
@@ -0,0 +1,89 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Correlation Property Retrieval Expression</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.CorrelationPropertyRetrievalExpression#getMessagePath <em>Message Path</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.CorrelationPropertyRetrievalExpression#getMessageRef <em>Message Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCorrelationPropertyRetrievalExpression()
+ * @model extendedMetaData="name='tCorrelationPropertyRetrievalExpression' kind='elementOnly'"
+ * @generated
+ */
+public interface CorrelationPropertyRetrievalExpression extends BaseElement {
+ /**
+ * Returns the value of the '<em><b>Message Path</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Message Path</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Message Path</em>' containment reference.
+ * @see #setMessagePath(FormalExpression)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCorrelationPropertyRetrievalExpression_MessagePath()
+ * @model containment="true" required="true" ordered="false"
+ * extendedMetaData="kind='element' name='messagePath' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ FormalExpression getMessagePath();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.CorrelationPropertyRetrievalExpression#getMessagePath <em>Message Path</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Message Path</em>' containment reference.
+ * @see #getMessagePath()
+ * @generated
+ */
+ void setMessagePath(FormalExpression value);
+
+ /**
+ * Returns the value of the '<em><b>Message Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Message Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Message Ref</em>' reference.
+ * @see #setMessageRef(Message)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCorrelationPropertyRetrievalExpression_MessageRef()
+ * @model required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='messageRef'"
+ * @generated
+ */
+ Message getMessageRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.CorrelationPropertyRetrievalExpression#getMessageRef <em>Message Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Message Ref</em>' reference.
+ * @see #getMessageRef()
+ * @generated
+ */
+ void setMessageRef(Message value);
+
+} // CorrelationPropertyRetrievalExpression
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CorrelationSubscription.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CorrelationSubscription.java
new file mode 100644
index 000000000..9eb25a83e
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/CorrelationSubscription.java
@@ -0,0 +1,81 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Correlation Subscription</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.CorrelationSubscription#getCorrelationPropertyBinding <em>Correlation Property Binding</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.CorrelationSubscription#getCorrelationKeyRef <em>Correlation Key Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCorrelationSubscription()
+ * @model extendedMetaData="name='tCorrelationSubscription' kind='elementOnly'"
+ * @generated
+ */
+public interface CorrelationSubscription extends BaseElement {
+ /**
+ * Returns the value of the '<em><b>Correlation Property Binding</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.CorrelationPropertyBinding}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Correlation Property Binding</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Correlation Property Binding</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCorrelationSubscription_CorrelationPropertyBinding()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='correlationPropertyBinding' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<CorrelationPropertyBinding> getCorrelationPropertyBinding();
+
+ /**
+ * Returns the value of the '<em><b>Correlation Key Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Correlation Key Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Correlation Key Ref</em>' reference.
+ * @see #setCorrelationKeyRef(CorrelationKey)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getCorrelationSubscription_CorrelationKeyRef()
+ * @model required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='correlationKeyRef'"
+ * @generated
+ */
+ CorrelationKey getCorrelationKeyRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.CorrelationSubscription#getCorrelationKeyRef <em>Correlation Key Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Correlation Key Ref</em>' reference.
+ * @see #getCorrelationKeyRef()
+ * @generated
+ */
+ void setCorrelationKeyRef(CorrelationKey value);
+
+} // CorrelationSubscription
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataAssociation.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataAssociation.java
new file mode 100644
index 000000000..34d8706b6
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataAssociation.java
@@ -0,0 +1,127 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Data Association</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.DataAssociation#getSourceRef <em>Source Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DataAssociation#getTargetRef <em>Target Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DataAssociation#getTransformation <em>Transformation</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DataAssociation#getAssignment <em>Assignment</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDataAssociation()
+ * @model extendedMetaData="name='tDataAssociation' kind='elementOnly'"
+ * @generated
+ */
+public interface DataAssociation extends BaseElement {
+ /**
+ * Returns the value of the '<em><b>Source Ref</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.ItemAwareElement}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Source Ref</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Source Ref</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDataAssociation_SourceRef()
+ * @model resolveProxies="false" ordered="false"
+ * extendedMetaData="kind='element' name='sourceRef' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<ItemAwareElement> getSourceRef();
+
+ /**
+ * Returns the value of the '<em><b>Target Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Target Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Target Ref</em>' reference.
+ * @see #setTargetRef(ItemAwareElement)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDataAssociation_TargetRef()
+ * @model resolveProxies="false" required="true" ordered="false"
+ * extendedMetaData="kind='element' name='targetRef' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ ItemAwareElement getTargetRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DataAssociation#getTargetRef <em>Target Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Target Ref</em>' reference.
+ * @see #getTargetRef()
+ * @generated
+ */
+ void setTargetRef(ItemAwareElement value);
+
+ /**
+ * Returns the value of the '<em><b>Transformation</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Transformation</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Transformation</em>' containment reference.
+ * @see #setTransformation(FormalExpression)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDataAssociation_Transformation()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='transformation' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ FormalExpression getTransformation();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DataAssociation#getTransformation <em>Transformation</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Transformation</em>' containment reference.
+ * @see #getTransformation()
+ * @generated
+ */
+ void setTransformation(FormalExpression value);
+
+ /**
+ * Returns the value of the '<em><b>Assignment</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.Assignment}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Assignment</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Assignment</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDataAssociation_Assignment()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='assignment' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<Assignment> getAssignment();
+
+} // DataAssociation
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataInput.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataInput.java
new file mode 100644
index 000000000..30e1a6de6
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataInput.java
@@ -0,0 +1,149 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Data Input</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.DataInput#getInputSetWithOptional <em>Input Set With Optional</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DataInput#getInputSetWithWhileExecuting <em>Input Set With While Executing</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DataInput#getInputSetRefs <em>Input Set Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DataInput#isIsCollection <em>Is Collection</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DataInput#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDataInput()
+ * @model extendedMetaData="name='tDataInput' kind='elementOnly'"
+ * @generated
+ */
+public interface DataInput extends ItemAwareElement {
+ /**
+ * Returns the value of the '<em><b>Input Set With Optional</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.InputSet}.
+ * It is bidirectional and its opposite is '{@link org.eclipse.bpmn2.InputSet#getOptionalInputRefs <em>Optional Input Refs</em>}'.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Input Set With Optional</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Input Set With Optional</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDataInput_InputSetWithOptional()
+ * @see org.eclipse.bpmn2.InputSet#getOptionalInputRefs
+ * @model opposite="optionalInputRefs" transient="true" derived="true" ordered="false"
+ * @generated
+ */
+ List<InputSet> getInputSetWithOptional();
+
+ /**
+ * Returns the value of the '<em><b>Input Set With While Executing</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.InputSet}.
+ * It is bidirectional and its opposite is '{@link org.eclipse.bpmn2.InputSet#getWhileExecutingInputRefs <em>While Executing Input Refs</em>}'.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Input Set With While Executing</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Input Set With While Executing</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDataInput_InputSetWithWhileExecuting()
+ * @see org.eclipse.bpmn2.InputSet#getWhileExecutingInputRefs
+ * @model opposite="whileExecutingInputRefs" transient="true" derived="true" ordered="false"
+ * @generated
+ */
+ List<InputSet> getInputSetWithWhileExecuting();
+
+ /**
+ * Returns the value of the '<em><b>Input Set Refs</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.InputSet}.
+ * It is bidirectional and its opposite is '{@link org.eclipse.bpmn2.InputSet#getDataInputRefs <em>Data Input Refs</em>}'.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Input Set Refs</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Input Set Refs</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDataInput_InputSetRefs()
+ * @see org.eclipse.bpmn2.InputSet#getDataInputRefs
+ * @model opposite="dataInputRefs" required="true" transient="true" derived="true" ordered="false"
+ * @generated
+ */
+ List<InputSet> getInputSetRefs();
+
+ /**
+ * Returns the value of the '<em><b>Is Collection</b></em>' attribute.
+ * The default value is <code>"false"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Is Collection</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Is Collection</em>' attribute.
+ * @see #setIsCollection(boolean)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDataInput_IsCollection()
+ * @model default="false" ordered="false"
+ * extendedMetaData="kind='attribute' name='isCollection'"
+ * @generated
+ */
+ boolean isIsCollection();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DataInput#isIsCollection <em>Is Collection</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Is Collection</em>' attribute.
+ * @see #isIsCollection()
+ * @generated
+ */
+ void setIsCollection(boolean value);
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDataInput_Name()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DataInput#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+} // DataInput
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataInputAssociation.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataInputAssociation.java
new file mode 100644
index 000000000..ba87be054
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataInputAssociation.java
@@ -0,0 +1,28 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Data Input Association</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDataInputAssociation()
+ * @model extendedMetaData="name='tDataInputAssociation' kind='elementOnly'"
+ * @generated
+ */
+public interface DataInputAssociation extends DataAssociation {
+} // DataInputAssociation
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataObject.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataObject.java
new file mode 100644
index 000000000..5b637eb10
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataObject.java
@@ -0,0 +1,62 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Data Object</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.DataObject#isIsCollection <em>Is Collection</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDataObject()
+ * @model extendedMetaData="name='tDataObject' kind='elementOnly'"
+ * @generated
+ */
+public interface DataObject extends FlowElement, ItemAwareElement {
+ /**
+ * Returns the value of the '<em><b>Is Collection</b></em>' attribute.
+ * The default value is <code>"false"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Is Collection</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Is Collection</em>' attribute.
+ * @see #setIsCollection(boolean)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDataObject_IsCollection()
+ * @model default="false" ordered="false"
+ * extendedMetaData="kind='attribute' name='isCollection'"
+ * @generated
+ */
+ boolean isIsCollection();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DataObject#isIsCollection <em>Is Collection</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Is Collection</em>' attribute.
+ * @see #isIsCollection()
+ * @generated
+ */
+ void setIsCollection(boolean value);
+
+} // DataObject
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataObjectReference.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataObjectReference.java
new file mode 100644
index 000000000..80ec48e01
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataObjectReference.java
@@ -0,0 +1,61 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Data Object Reference</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.DataObjectReference#getDataObjectRef <em>Data Object Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDataObjectReference()
+ * @model extendedMetaData="name='tDataObjectReference' kind='elementOnly'"
+ * @generated
+ */
+public interface DataObjectReference extends FlowElement, ItemAwareElement {
+ /**
+ * Returns the value of the '<em><b>Data Object Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Data Object Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Data Object Ref</em>' reference.
+ * @see #setDataObjectRef(DataObject)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDataObjectReference_DataObjectRef()
+ * @model resolveProxies="false" required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='dataObjectRef'"
+ * @generated
+ */
+ DataObject getDataObjectRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DataObjectReference#getDataObjectRef <em>Data Object Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Data Object Ref</em>' reference.
+ * @see #getDataObjectRef()
+ * @generated
+ */
+ void setDataObjectRef(DataObject value);
+
+} // DataObjectReference
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataOutput.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataOutput.java
new file mode 100644
index 000000000..52bc23201
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataOutput.java
@@ -0,0 +1,149 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Data Output</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.DataOutput#getOutputSetWithOptional <em>Output Set With Optional</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DataOutput#getOutputSetWithWhileExecuting <em>Output Set With While Executing</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DataOutput#getOutputSetRefs <em>Output Set Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DataOutput#isIsCollection <em>Is Collection</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DataOutput#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDataOutput()
+ * @model extendedMetaData="name='tDataOutput' kind='elementOnly'"
+ * @generated
+ */
+public interface DataOutput extends ItemAwareElement {
+ /**
+ * Returns the value of the '<em><b>Output Set With Optional</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.OutputSet}.
+ * It is bidirectional and its opposite is '{@link org.eclipse.bpmn2.OutputSet#getOptionalOutputRefs <em>Optional Output Refs</em>}'.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Output Set With Optional</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Output Set With Optional</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDataOutput_OutputSetWithOptional()
+ * @see org.eclipse.bpmn2.OutputSet#getOptionalOutputRefs
+ * @model opposite="optionalOutputRefs" transient="true" derived="true" ordered="false"
+ * @generated
+ */
+ List<OutputSet> getOutputSetWithOptional();
+
+ /**
+ * Returns the value of the '<em><b>Output Set With While Executing</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.OutputSet}.
+ * It is bidirectional and its opposite is '{@link org.eclipse.bpmn2.OutputSet#getWhileExecutingOutputRefs <em>While Executing Output Refs</em>}'.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Output Set With While Executing</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Output Set With While Executing</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDataOutput_OutputSetWithWhileExecuting()
+ * @see org.eclipse.bpmn2.OutputSet#getWhileExecutingOutputRefs
+ * @model opposite="whileExecutingOutputRefs" transient="true" derived="true" ordered="false"
+ * @generated
+ */
+ List<OutputSet> getOutputSetWithWhileExecuting();
+
+ /**
+ * Returns the value of the '<em><b>Output Set Refs</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.OutputSet}.
+ * It is bidirectional and its opposite is '{@link org.eclipse.bpmn2.OutputSet#getDataOutputRefs <em>Data Output Refs</em>}'.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Output Set Refs</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Output Set Refs</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDataOutput_OutputSetRefs()
+ * @see org.eclipse.bpmn2.OutputSet#getDataOutputRefs
+ * @model opposite="dataOutputRefs" required="true" transient="true" derived="true" ordered="false"
+ * @generated
+ */
+ List<OutputSet> getOutputSetRefs();
+
+ /**
+ * Returns the value of the '<em><b>Is Collection</b></em>' attribute.
+ * The default value is <code>"false"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Is Collection</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Is Collection</em>' attribute.
+ * @see #setIsCollection(boolean)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDataOutput_IsCollection()
+ * @model default="false" ordered="false"
+ * extendedMetaData="kind='attribute' name='isCollection'"
+ * @generated
+ */
+ boolean isIsCollection();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DataOutput#isIsCollection <em>Is Collection</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Is Collection</em>' attribute.
+ * @see #isIsCollection()
+ * @generated
+ */
+ void setIsCollection(boolean value);
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDataOutput_Name()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DataOutput#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+} // DataOutput
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataOutputAssociation.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataOutputAssociation.java
new file mode 100644
index 000000000..8e72a34c2
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataOutputAssociation.java
@@ -0,0 +1,28 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Data Output Association</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDataOutputAssociation()
+ * @model extendedMetaData="name='tDataOutputAssociation' kind='elementOnly'"
+ * @generated
+ */
+public interface DataOutputAssociation extends DataAssociation {
+} // DataOutputAssociation
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataState.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataState.java
new file mode 100644
index 000000000..fba2b34bd
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataState.java
@@ -0,0 +1,61 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Data State</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.DataState#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDataState()
+ * @model extendedMetaData="name='tDataState' kind='elementOnly'"
+ * @generated
+ */
+public interface DataState extends BaseElement {
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDataState_Name()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DataState#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+} // DataState
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataStore.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataStore.java
new file mode 100644
index 000000000..3c5845008
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataStore.java
@@ -0,0 +1,118 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Data Store</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.DataStore#getCapacity <em>Capacity</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DataStore#isIsUnlimited <em>Is Unlimited</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DataStore#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDataStore()
+ * @model extendedMetaData="name='tDataStore' kind='elementOnly'"
+ * @generated
+ */
+public interface DataStore extends ItemAwareElement, RootElement {
+ /**
+ * Returns the value of the '<em><b>Capacity</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Capacity</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Capacity</em>' attribute.
+ * @see #setCapacity(int)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDataStore_Capacity()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='capacity'"
+ * @generated
+ */
+ int getCapacity();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DataStore#getCapacity <em>Capacity</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Capacity</em>' attribute.
+ * @see #getCapacity()
+ * @generated
+ */
+ void setCapacity(int value);
+
+ /**
+ * Returns the value of the '<em><b>Is Unlimited</b></em>' attribute.
+ * The default value is <code>"true"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Is Unlimited</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Is Unlimited</em>' attribute.
+ * @see #setIsUnlimited(boolean)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDataStore_IsUnlimited()
+ * @model default="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='isUnlimited'"
+ * @generated
+ */
+ boolean isIsUnlimited();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DataStore#isIsUnlimited <em>Is Unlimited</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Is Unlimited</em>' attribute.
+ * @see #isIsUnlimited()
+ * @generated
+ */
+ void setIsUnlimited(boolean value);
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDataStore_Name()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DataStore#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+} // DataStore
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataStoreReference.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataStoreReference.java
new file mode 100644
index 000000000..184a533f6
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DataStoreReference.java
@@ -0,0 +1,61 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Data Store Reference</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.DataStoreReference#getDataStoreRef <em>Data Store Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDataStoreReference()
+ * @model extendedMetaData="name='tDataStoreReference' kind='elementOnly'"
+ * @generated
+ */
+public interface DataStoreReference extends FlowElement, ItemAwareElement {
+ /**
+ * Returns the value of the '<em><b>Data Store Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Data Store Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Data Store Ref</em>' reference.
+ * @see #setDataStoreRef(DataStore)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDataStoreReference_DataStoreRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='dataStoreRef'"
+ * @generated
+ */
+ DataStore getDataStoreRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DataStoreReference#getDataStoreRef <em>Data Store Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Data Store Ref</em>' reference.
+ * @see #getDataStoreRef()
+ * @generated
+ */
+ void setDataStoreRef(DataStore value);
+
+} // DataStoreReference
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Definitions.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Definitions.java
new file mode 100644
index 000000000..3f1e151b4
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Definitions.java
@@ -0,0 +1,297 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+import org.eclipse.bpmn2.di.BPMNDiagram;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Definitions</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.Definitions#getImports <em>Imports</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Definitions#getExtensions <em>Extensions</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Definitions#getRootElements <em>Root Elements</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Definitions#getDiagrams <em>Diagrams</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Definitions#getRelationships <em>Relationships</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Definitions#getExporter <em>Exporter</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Definitions#getExporterVersion <em>Exporter Version</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Definitions#getExpressionLanguage <em>Expression Language</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Definitions#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Definitions#getTargetNamespace <em>Target Namespace</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Definitions#getTypeLanguage <em>Type Language</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDefinitions()
+ * @model extendedMetaData="name='tDefinitions' kind='elementOnly'"
+ * @generated
+ */
+public interface Definitions extends BaseElement {
+ /**
+ * Returns the value of the '<em><b>Imports</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.Import}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Imports</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Imports</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDefinitions_Imports()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='import' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<Import> getImports();
+
+ /**
+ * Returns the value of the '<em><b>Extensions</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.Extension}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Extensions</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Extensions</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDefinitions_Extensions()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='extension' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<Extension> getExtensions();
+
+ /**
+ * Returns the value of the '<em><b>Root Elements</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.RootElement}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Root Elements</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Root Elements</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDefinitions_RootElements()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='rootElement' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' group='http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement'"
+ * @generated
+ */
+ List<RootElement> getRootElements();
+
+ /**
+ * Returns the value of the '<em><b>Diagrams</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.di.BPMNDiagram}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Diagrams</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Diagrams</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDefinitions_Diagrams()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='BPMNDiagram' namespace='http://www.omg.org/spec/BPMN/20100524/DI'"
+ * @generated
+ */
+ List<BPMNDiagram> getDiagrams();
+
+ /**
+ * Returns the value of the '<em><b>Relationships</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.Relationship}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Relationships</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Relationships</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDefinitions_Relationships()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='relationship' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<Relationship> getRelationships();
+
+ /**
+ * Returns the value of the '<em><b>Exporter</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Exporter</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Exporter</em>' attribute.
+ * @see #setExporter(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDefinitions_Exporter()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='exporter'"
+ * @generated
+ */
+ String getExporter();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Definitions#getExporter <em>Exporter</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Exporter</em>' attribute.
+ * @see #getExporter()
+ * @generated
+ */
+ void setExporter(String value);
+
+ /**
+ * Returns the value of the '<em><b>Exporter Version</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Exporter Version</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Exporter Version</em>' attribute.
+ * @see #setExporterVersion(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDefinitions_ExporterVersion()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='exporterVersion'"
+ * @generated
+ */
+ String getExporterVersion();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Definitions#getExporterVersion <em>Exporter Version</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Exporter Version</em>' attribute.
+ * @see #getExporterVersion()
+ * @generated
+ */
+ void setExporterVersion(String value);
+
+ /**
+ * Returns the value of the '<em><b>Expression Language</b></em>' attribute.
+ * The default value is <code>"http://www.w3.org/1999/XPath"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Expression Language</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Expression Language</em>' attribute.
+ * @see #setExpressionLanguage(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDefinitions_ExpressionLanguage()
+ * @model default="http://www.w3.org/1999/XPath" ordered="false"
+ * extendedMetaData="kind='attribute' name='expressionLanguage'"
+ * @generated
+ */
+ String getExpressionLanguage();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Definitions#getExpressionLanguage <em>Expression Language</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Expression Language</em>' attribute.
+ * @see #getExpressionLanguage()
+ * @generated
+ */
+ void setExpressionLanguage(String value);
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDefinitions_Name()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Definitions#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+ /**
+ * Returns the value of the '<em><b>Target Namespace</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Target Namespace</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Target Namespace</em>' attribute.
+ * @see #setTargetNamespace(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDefinitions_TargetNamespace()
+ * @model required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='targetNamespace'"
+ * @generated
+ */
+ String getTargetNamespace();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Definitions#getTargetNamespace <em>Target Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Target Namespace</em>' attribute.
+ * @see #getTargetNamespace()
+ * @generated
+ */
+ void setTargetNamespace(String value);
+
+ /**
+ * Returns the value of the '<em><b>Type Language</b></em>' attribute.
+ * The default value is <code>"http://www.w3.org/2001/XMLSchema"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Type Language</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Type Language</em>' attribute.
+ * @see #setTypeLanguage(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDefinitions_TypeLanguage()
+ * @model default="http://www.w3.org/2001/XMLSchema" ordered="false"
+ * extendedMetaData="kind='attribute' name='typeLanguage'"
+ * @generated
+ */
+ String getTypeLanguage();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Definitions#getTypeLanguage <em>Type Language</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Type Language</em>' attribute.
+ * @see #getTypeLanguage()
+ * @generated
+ */
+ void setTypeLanguage(String value);
+
+} // Definitions
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DocumentRoot.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DocumentRoot.java
new file mode 100644
index 000000000..9ed6dcb5b
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/DocumentRoot.java
@@ -0,0 +1,3866 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.Map;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.ecore.util.FeatureMap;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Document Root</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getMixed <em>Mixed</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getActivity <em>Activity</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getAdHocSubProcess <em>Ad Hoc Sub Process</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getFlowElement <em>Flow Element</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getArtifact <em>Artifact</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getAssignment <em>Assignment</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getAssociation <em>Association</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getAuditing <em>Auditing</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getBaseElement <em>Base Element</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getBaseElementWithMixedContent <em>Base Element With Mixed Content</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getBoundaryEvent <em>Boundary Event</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getBusinessRuleTask <em>Business Rule Task</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getCallableElement <em>Callable Element</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getCallActivity <em>Call Activity</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getCallChoreography <em>Call Choreography</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getCallConversation <em>Call Conversation</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getConversationNode <em>Conversation Node</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getCancelEventDefinition <em>Cancel Event Definition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getEventDefinition <em>Event Definition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getRootElement <em>Root Element</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getCatchEvent <em>Catch Event</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getCategory <em>Category</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getCategoryValue <em>Category Value</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getChoreography <em>Choreography</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getCollaboration <em>Collaboration</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getChoreographyActivity <em>Choreography Activity</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getChoreographyTask <em>Choreography Task</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getCompensateEventDefinition <em>Compensate Event Definition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getComplexBehaviorDefinition <em>Complex Behavior Definition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getComplexGateway <em>Complex Gateway</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getConditionalEventDefinition <em>Conditional Event Definition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getConversation <em>Conversation</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getConversationAssociation <em>Conversation Association</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getConversationLink <em>Conversation Link</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getCorrelationKey <em>Correlation Key</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getCorrelationProperty <em>Correlation Property</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getCorrelationPropertyBinding <em>Correlation Property Binding</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getCorrelationPropertyRetrievalExpression <em>Correlation Property Retrieval Expression</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getCorrelationSubscription <em>Correlation Subscription</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getDataAssociation <em>Data Association</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getDataInput <em>Data Input</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getDataInputAssociation <em>Data Input Association</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getDataObject <em>Data Object</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getDataObjectReference <em>Data Object Reference</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getDataOutput <em>Data Output</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getDataOutputAssociation <em>Data Output Association</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getDataState <em>Data State</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getDataStore <em>Data Store</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getDataStoreReference <em>Data Store Reference</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getDefinitions <em>Definitions</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getDocumentation <em>Documentation</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getEndEvent <em>End Event</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getEndPoint <em>End Point</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getError <em>Error</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getErrorEventDefinition <em>Error Event Definition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getEscalation <em>Escalation</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getEscalationEventDefinition <em>Escalation Event Definition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getEvent <em>Event</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getEventBasedGateway <em>Event Based Gateway</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getExclusiveGateway <em>Exclusive Gateway</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getExpression <em>Expression</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getExtension <em>Extension</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getExtensionElements <em>Extension Elements</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getFlowNode <em>Flow Node</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getFormalExpression <em>Formal Expression</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getGateway <em>Gateway</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getGlobalBusinessRuleTask <em>Global Business Rule Task</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getGlobalChoreographyTask <em>Global Choreography Task</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getGlobalConversation <em>Global Conversation</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getGlobalManualTask <em>Global Manual Task</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getGlobalScriptTask <em>Global Script Task</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getGlobalTask <em>Global Task</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getGlobalUserTask <em>Global User Task</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getGroup <em>Group</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getHumanPerformer <em>Human Performer</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getPerformer <em>Performer</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getResourceRole <em>Resource Role</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getImplicitThrowEvent <em>Implicit Throw Event</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getImport <em>Import</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getInclusiveGateway <em>Inclusive Gateway</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getInputSet <em>Input Set</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getInterface <em>Interface</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getIntermediateCatchEvent <em>Intermediate Catch Event</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getIntermediateThrowEvent <em>Intermediate Throw Event</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getIoBinding <em>Io Binding</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getIoSpecification <em>Io Specification</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getItemDefinition <em>Item Definition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getLane <em>Lane</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getLaneSet <em>Lane Set</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getLinkEventDefinition <em>Link Event Definition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getLoopCharacteristics <em>Loop Characteristics</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getManualTask <em>Manual Task</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getMessage <em>Message</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getMessageEventDefinition <em>Message Event Definition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getMessageFlow <em>Message Flow</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getMessageFlowAssociation <em>Message Flow Association</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getMonitoring <em>Monitoring</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getMultiInstanceLoopCharacteristics <em>Multi Instance Loop Characteristics</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getOperation <em>Operation</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getOutputSet <em>Output Set</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getParallelGateway <em>Parallel Gateway</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getParticipant <em>Participant</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getParticipantAssociation <em>Participant Association</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getParticipantMultiplicity <em>Participant Multiplicity</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getPartnerEntity <em>Partner Entity</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getPartnerRole <em>Partner Role</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getPotentialOwner <em>Potential Owner</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getProcess <em>Process</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getProperty <em>Property</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getReceiveTask <em>Receive Task</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getRelationship <em>Relationship</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getRendering <em>Rendering</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getResource <em>Resource</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getResourceAssignmentExpression <em>Resource Assignment Expression</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getResourceParameter <em>Resource Parameter</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getResourceParameterBinding <em>Resource Parameter Binding</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getScript <em>Script</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getScriptTask <em>Script Task</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getSendTask <em>Send Task</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getSequenceFlow <em>Sequence Flow</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getServiceTask <em>Service Task</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getSignal <em>Signal</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getSignalEventDefinition <em>Signal Event Definition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getStandardLoopCharacteristics <em>Standard Loop Characteristics</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getStartEvent <em>Start Event</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getSubChoreography <em>Sub Choreography</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getSubConversation <em>Sub Conversation</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getSubProcess <em>Sub Process</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getTask <em>Task</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getTerminateEventDefinition <em>Terminate Event Definition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getText <em>Text</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getTextAnnotation <em>Text Annotation</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getThrowEvent <em>Throw Event</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getTimerEventDefinition <em>Timer Event Definition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getTransaction <em>Transaction</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.DocumentRoot#getUserTask <em>User Task</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot()
+ * @model extendedMetaData="name='' kind='mixed'"
+ * @generated
+ */
+public interface DocumentRoot extends EObject {
+ /**
+ * Returns the value of the '<em><b>Mixed</b></em>' attribute list.
+ * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Mixed</em>' attribute list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Mixed</em>' attribute list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_Mixed()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
+ * extendedMetaData="kind='elementWildcard' name=':mixed'"
+ * @generated
+ */
+ FeatureMap getMixed();
+
+ /**
+ * Returns the value of the '<em><b>XMLNS Prefix Map</b></em>' map.
+ * The key is of type {@link java.lang.String},
+ * and the value is of type {@link java.lang.String},
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>XMLNS Prefix Map</em>' map isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>XMLNS Prefix Map</em>' map.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_XMLNSPrefixMap()
+ * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>" transient="true"
+ * extendedMetaData="kind='attribute' name='xmlns:prefix'"
+ * @generated
+ */
+ Map<String, String> getXMLNSPrefixMap();
+
+ /**
+ * Returns the value of the '<em><b>XSI Schema Location</b></em>' map.
+ * The key is of type {@link java.lang.String},
+ * and the value is of type {@link java.lang.String},
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>XSI Schema Location</em>' map isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>XSI Schema Location</em>' map.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_XSISchemaLocation()
+ * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>" transient="true"
+ * extendedMetaData="kind='attribute' name='xsi:schemaLocation'"
+ * @generated
+ */
+ Map<String, String> getXSISchemaLocation();
+
+ /**
+ * Returns the value of the '<em><b>Activity</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Activity</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Activity</em>' containment reference.
+ * @see #setActivity(Activity)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_Activity()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='activity' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Activity getActivity();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getActivity <em>Activity</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Activity</em>' containment reference.
+ * @see #getActivity()
+ * @generated
+ */
+ void setActivity(Activity value);
+
+ /**
+ * Returns the value of the '<em><b>Ad Hoc Sub Process</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Ad Hoc Sub Process</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Ad Hoc Sub Process</em>' containment reference.
+ * @see #setAdHocSubProcess(AdHocSubProcess)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_AdHocSubProcess()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='adHocSubProcess' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement'"
+ * @generated
+ */
+ AdHocSubProcess getAdHocSubProcess();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getAdHocSubProcess <em>Ad Hoc Sub Process</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Ad Hoc Sub Process</em>' containment reference.
+ * @see #getAdHocSubProcess()
+ * @generated
+ */
+ void setAdHocSubProcess(AdHocSubProcess value);
+
+ /**
+ * Returns the value of the '<em><b>Flow Element</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Flow Element</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Flow Element</em>' containment reference.
+ * @see #setFlowElement(FlowElement)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_FlowElement()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='flowElement' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ FlowElement getFlowElement();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getFlowElement <em>Flow Element</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Flow Element</em>' containment reference.
+ * @see #getFlowElement()
+ * @generated
+ */
+ void setFlowElement(FlowElement value);
+
+ /**
+ * Returns the value of the '<em><b>Artifact</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Artifact</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Artifact</em>' containment reference.
+ * @see #setArtifact(Artifact)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_Artifact()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='artifact' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Artifact getArtifact();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getArtifact <em>Artifact</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Artifact</em>' containment reference.
+ * @see #getArtifact()
+ * @generated
+ */
+ void setArtifact(Artifact value);
+
+ /**
+ * Returns the value of the '<em><b>Assignment</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Assignment</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Assignment</em>' containment reference.
+ * @see #setAssignment(Assignment)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_Assignment()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='assignment' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Assignment getAssignment();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getAssignment <em>Assignment</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Assignment</em>' containment reference.
+ * @see #getAssignment()
+ * @generated
+ */
+ void setAssignment(Assignment value);
+
+ /**
+ * Returns the value of the '<em><b>Association</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Association</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Association</em>' containment reference.
+ * @see #setAssociation(Association)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_Association()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='association' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#artifact'"
+ * @generated
+ */
+ Association getAssociation();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getAssociation <em>Association</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Association</em>' containment reference.
+ * @see #getAssociation()
+ * @generated
+ */
+ void setAssociation(Association value);
+
+ /**
+ * Returns the value of the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Auditing</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Auditing</em>' containment reference.
+ * @see #setAuditing(Auditing)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_Auditing()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='auditing' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Auditing getAuditing();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getAuditing <em>Auditing</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Auditing</em>' containment reference.
+ * @see #getAuditing()
+ * @generated
+ */
+ void setAuditing(Auditing value);
+
+ /**
+ * Returns the value of the '<em><b>Base Element</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Base Element</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Base Element</em>' containment reference.
+ * @see #setBaseElement(BaseElement)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_BaseElement()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='baseElement' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ BaseElement getBaseElement();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getBaseElement <em>Base Element</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Base Element</em>' containment reference.
+ * @see #getBaseElement()
+ * @generated
+ */
+ void setBaseElement(BaseElement value);
+
+ /**
+ * Returns the value of the '<em><b>Base Element With Mixed Content</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Base Element With Mixed Content</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Base Element With Mixed Content</em>' containment reference.
+ * @see #setBaseElementWithMixedContent(BaseElement)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_BaseElementWithMixedContent()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='baseElementWithMixedContent' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ BaseElement getBaseElementWithMixedContent();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getBaseElementWithMixedContent <em>Base Element With Mixed Content</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Base Element With Mixed Content</em>' containment reference.
+ * @see #getBaseElementWithMixedContent()
+ * @generated
+ */
+ void setBaseElementWithMixedContent(BaseElement value);
+
+ /**
+ * Returns the value of the '<em><b>Boundary Event</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Boundary Event</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Boundary Event</em>' containment reference.
+ * @see #setBoundaryEvent(BoundaryEvent)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_BoundaryEvent()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='boundaryEvent' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement'"
+ * @generated
+ */
+ BoundaryEvent getBoundaryEvent();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getBoundaryEvent <em>Boundary Event</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Boundary Event</em>' containment reference.
+ * @see #getBoundaryEvent()
+ * @generated
+ */
+ void setBoundaryEvent(BoundaryEvent value);
+
+ /**
+ * Returns the value of the '<em><b>Business Rule Task</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Business Rule Task</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Business Rule Task</em>' containment reference.
+ * @see #setBusinessRuleTask(BusinessRuleTask)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_BusinessRuleTask()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='businessRuleTask' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement'"
+ * @generated
+ */
+ BusinessRuleTask getBusinessRuleTask();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getBusinessRuleTask <em>Business Rule Task</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Business Rule Task</em>' containment reference.
+ * @see #getBusinessRuleTask()
+ * @generated
+ */
+ void setBusinessRuleTask(BusinessRuleTask value);
+
+ /**
+ * Returns the value of the '<em><b>Callable Element</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Callable Element</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Callable Element</em>' containment reference.
+ * @see #setCallableElement(CallableElement)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_CallableElement()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='callableElement' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ CallableElement getCallableElement();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getCallableElement <em>Callable Element</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Callable Element</em>' containment reference.
+ * @see #getCallableElement()
+ * @generated
+ */
+ void setCallableElement(CallableElement value);
+
+ /**
+ * Returns the value of the '<em><b>Call Activity</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Call Activity</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Call Activity</em>' containment reference.
+ * @see #setCallActivity(CallActivity)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_CallActivity()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='callActivity' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement'"
+ * @generated
+ */
+ CallActivity getCallActivity();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getCallActivity <em>Call Activity</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Call Activity</em>' containment reference.
+ * @see #getCallActivity()
+ * @generated
+ */
+ void setCallActivity(CallActivity value);
+
+ /**
+ * Returns the value of the '<em><b>Call Choreography</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Call Choreography</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Call Choreography</em>' containment reference.
+ * @see #setCallChoreography(CallChoreography)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_CallChoreography()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='callChoreography' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement'"
+ * @generated
+ */
+ CallChoreography getCallChoreography();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getCallChoreography <em>Call Choreography</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Call Choreography</em>' containment reference.
+ * @see #getCallChoreography()
+ * @generated
+ */
+ void setCallChoreography(CallChoreography value);
+
+ /**
+ * Returns the value of the '<em><b>Call Conversation</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Call Conversation</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Call Conversation</em>' containment reference.
+ * @see #setCallConversation(CallConversation)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_CallConversation()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='callConversation' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#conversationNode'"
+ * @generated
+ */
+ CallConversation getCallConversation();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getCallConversation <em>Call Conversation</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Call Conversation</em>' containment reference.
+ * @see #getCallConversation()
+ * @generated
+ */
+ void setCallConversation(CallConversation value);
+
+ /**
+ * Returns the value of the '<em><b>Conversation Node</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Conversation Node</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Conversation Node</em>' containment reference.
+ * @see #setConversationNode(ConversationNode)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_ConversationNode()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='conversationNode' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ ConversationNode getConversationNode();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getConversationNode <em>Conversation Node</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Conversation Node</em>' containment reference.
+ * @see #getConversationNode()
+ * @generated
+ */
+ void setConversationNode(ConversationNode value);
+
+ /**
+ * Returns the value of the '<em><b>Cancel Event Definition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Cancel Event Definition</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Cancel Event Definition</em>' containment reference.
+ * @see #setCancelEventDefinition(CancelEventDefinition)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_CancelEventDefinition()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='cancelEventDefinition' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#eventDefinition'"
+ * @generated
+ */
+ CancelEventDefinition getCancelEventDefinition();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getCancelEventDefinition <em>Cancel Event Definition</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Cancel Event Definition</em>' containment reference.
+ * @see #getCancelEventDefinition()
+ * @generated
+ */
+ void setCancelEventDefinition(CancelEventDefinition value);
+
+ /**
+ * Returns the value of the '<em><b>Event Definition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Event Definition</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Event Definition</em>' containment reference.
+ * @see #setEventDefinition(EventDefinition)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_EventDefinition()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='eventDefinition' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement'"
+ * @generated
+ */
+ EventDefinition getEventDefinition();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getEventDefinition <em>Event Definition</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Event Definition</em>' containment reference.
+ * @see #getEventDefinition()
+ * @generated
+ */
+ void setEventDefinition(EventDefinition value);
+
+ /**
+ * Returns the value of the '<em><b>Root Element</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Root Element</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Root Element</em>' containment reference.
+ * @see #setRootElement(RootElement)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_RootElement()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='rootElement' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ RootElement getRootElement();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getRootElement <em>Root Element</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Root Element</em>' containment reference.
+ * @see #getRootElement()
+ * @generated
+ */
+ void setRootElement(RootElement value);
+
+ /**
+ * Returns the value of the '<em><b>Catch Event</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Catch Event</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Catch Event</em>' containment reference.
+ * @see #setCatchEvent(CatchEvent)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_CatchEvent()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='catchEvent' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ CatchEvent getCatchEvent();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getCatchEvent <em>Catch Event</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Catch Event</em>' containment reference.
+ * @see #getCatchEvent()
+ * @generated
+ */
+ void setCatchEvent(CatchEvent value);
+
+ /**
+ * Returns the value of the '<em><b>Category</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Category</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Category</em>' containment reference.
+ * @see #setCategory(Category)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_Category()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='category' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement'"
+ * @generated
+ */
+ Category getCategory();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getCategory <em>Category</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Category</em>' containment reference.
+ * @see #getCategory()
+ * @generated
+ */
+ void setCategory(Category value);
+
+ /**
+ * Returns the value of the '<em><b>Category Value</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Category Value</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Category Value</em>' containment reference.
+ * @see #setCategoryValue(CategoryValue)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_CategoryValue()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='categoryValue' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ CategoryValue getCategoryValue();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getCategoryValue <em>Category Value</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Category Value</em>' containment reference.
+ * @see #getCategoryValue()
+ * @generated
+ */
+ void setCategoryValue(CategoryValue value);
+
+ /**
+ * Returns the value of the '<em><b>Choreography</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Choreography</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Choreography</em>' containment reference.
+ * @see #setChoreography(Choreography)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_Choreography()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='choreography' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#collaboration'"
+ * @generated
+ */
+ Choreography getChoreography();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getChoreography <em>Choreography</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Choreography</em>' containment reference.
+ * @see #getChoreography()
+ * @generated
+ */
+ void setChoreography(Choreography value);
+
+ /**
+ * Returns the value of the '<em><b>Collaboration</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Collaboration</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Collaboration</em>' containment reference.
+ * @see #setCollaboration(Collaboration)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_Collaboration()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='collaboration' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement'"
+ * @generated
+ */
+ Collaboration getCollaboration();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getCollaboration <em>Collaboration</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Collaboration</em>' containment reference.
+ * @see #getCollaboration()
+ * @generated
+ */
+ void setCollaboration(Collaboration value);
+
+ /**
+ * Returns the value of the '<em><b>Choreography Activity</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Choreography Activity</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Choreography Activity</em>' containment reference.
+ * @see #setChoreographyActivity(ChoreographyActivity)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_ChoreographyActivity()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='choreographyActivity' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ ChoreographyActivity getChoreographyActivity();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getChoreographyActivity <em>Choreography Activity</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Choreography Activity</em>' containment reference.
+ * @see #getChoreographyActivity()
+ * @generated
+ */
+ void setChoreographyActivity(ChoreographyActivity value);
+
+ /**
+ * Returns the value of the '<em><b>Choreography Task</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Choreography Task</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Choreography Task</em>' containment reference.
+ * @see #setChoreographyTask(ChoreographyTask)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_ChoreographyTask()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='choreographyTask' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement'"
+ * @generated
+ */
+ ChoreographyTask getChoreographyTask();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getChoreographyTask <em>Choreography Task</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Choreography Task</em>' containment reference.
+ * @see #getChoreographyTask()
+ * @generated
+ */
+ void setChoreographyTask(ChoreographyTask value);
+
+ /**
+ * Returns the value of the '<em><b>Compensate Event Definition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Compensate Event Definition</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Compensate Event Definition</em>' containment reference.
+ * @see #setCompensateEventDefinition(CompensateEventDefinition)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_CompensateEventDefinition()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='compensateEventDefinition' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#eventDefinition'"
+ * @generated
+ */
+ CompensateEventDefinition getCompensateEventDefinition();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getCompensateEventDefinition <em>Compensate Event Definition</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Compensate Event Definition</em>' containment reference.
+ * @see #getCompensateEventDefinition()
+ * @generated
+ */
+ void setCompensateEventDefinition(CompensateEventDefinition value);
+
+ /**
+ * Returns the value of the '<em><b>Complex Behavior Definition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Complex Behavior Definition</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Complex Behavior Definition</em>' containment reference.
+ * @see #setComplexBehaviorDefinition(ComplexBehaviorDefinition)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_ComplexBehaviorDefinition()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='complexBehaviorDefinition' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ ComplexBehaviorDefinition getComplexBehaviorDefinition();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getComplexBehaviorDefinition <em>Complex Behavior Definition</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Complex Behavior Definition</em>' containment reference.
+ * @see #getComplexBehaviorDefinition()
+ * @generated
+ */
+ void setComplexBehaviorDefinition(ComplexBehaviorDefinition value);
+
+ /**
+ * Returns the value of the '<em><b>Complex Gateway</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Complex Gateway</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Complex Gateway</em>' containment reference.
+ * @see #setComplexGateway(ComplexGateway)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_ComplexGateway()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='complexGateway' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement'"
+ * @generated
+ */
+ ComplexGateway getComplexGateway();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getComplexGateway <em>Complex Gateway</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Complex Gateway</em>' containment reference.
+ * @see #getComplexGateway()
+ * @generated
+ */
+ void setComplexGateway(ComplexGateway value);
+
+ /**
+ * Returns the value of the '<em><b>Conditional Event Definition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Conditional Event Definition</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Conditional Event Definition</em>' containment reference.
+ * @see #setConditionalEventDefinition(ConditionalEventDefinition)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_ConditionalEventDefinition()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='conditionalEventDefinition' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#eventDefinition'"
+ * @generated
+ */
+ ConditionalEventDefinition getConditionalEventDefinition();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getConditionalEventDefinition <em>Conditional Event Definition</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Conditional Event Definition</em>' containment reference.
+ * @see #getConditionalEventDefinition()
+ * @generated
+ */
+ void setConditionalEventDefinition(ConditionalEventDefinition value);
+
+ /**
+ * Returns the value of the '<em><b>Conversation</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Conversation</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Conversation</em>' containment reference.
+ * @see #setConversation(Conversation)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_Conversation()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='conversation' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#conversationNode'"
+ * @generated
+ */
+ Conversation getConversation();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getConversation <em>Conversation</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Conversation</em>' containment reference.
+ * @see #getConversation()
+ * @generated
+ */
+ void setConversation(Conversation value);
+
+ /**
+ * Returns the value of the '<em><b>Conversation Association</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Conversation Association</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Conversation Association</em>' containment reference.
+ * @see #setConversationAssociation(ConversationAssociation)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_ConversationAssociation()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='conversationAssociation' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ ConversationAssociation getConversationAssociation();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getConversationAssociation <em>Conversation Association</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Conversation Association</em>' containment reference.
+ * @see #getConversationAssociation()
+ * @generated
+ */
+ void setConversationAssociation(ConversationAssociation value);
+
+ /**
+ * Returns the value of the '<em><b>Conversation Link</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Conversation Link</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Conversation Link</em>' containment reference.
+ * @see #setConversationLink(ConversationLink)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_ConversationLink()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='conversationLink' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ ConversationLink getConversationLink();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getConversationLink <em>Conversation Link</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Conversation Link</em>' containment reference.
+ * @see #getConversationLink()
+ * @generated
+ */
+ void setConversationLink(ConversationLink value);
+
+ /**
+ * Returns the value of the '<em><b>Correlation Key</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Correlation Key</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Correlation Key</em>' containment reference.
+ * @see #setCorrelationKey(CorrelationKey)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_CorrelationKey()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='correlationKey' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ CorrelationKey getCorrelationKey();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getCorrelationKey <em>Correlation Key</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Correlation Key</em>' containment reference.
+ * @see #getCorrelationKey()
+ * @generated
+ */
+ void setCorrelationKey(CorrelationKey value);
+
+ /**
+ * Returns the value of the '<em><b>Correlation Property</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Correlation Property</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Correlation Property</em>' containment reference.
+ * @see #setCorrelationProperty(CorrelationProperty)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_CorrelationProperty()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='correlationProperty' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement'"
+ * @generated
+ */
+ CorrelationProperty getCorrelationProperty();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getCorrelationProperty <em>Correlation Property</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Correlation Property</em>' containment reference.
+ * @see #getCorrelationProperty()
+ * @generated
+ */
+ void setCorrelationProperty(CorrelationProperty value);
+
+ /**
+ * Returns the value of the '<em><b>Correlation Property Binding</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Correlation Property Binding</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Correlation Property Binding</em>' containment reference.
+ * @see #setCorrelationPropertyBinding(CorrelationPropertyBinding)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_CorrelationPropertyBinding()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='correlationPropertyBinding' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ CorrelationPropertyBinding getCorrelationPropertyBinding();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getCorrelationPropertyBinding <em>Correlation Property Binding</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Correlation Property Binding</em>' containment reference.
+ * @see #getCorrelationPropertyBinding()
+ * @generated
+ */
+ void setCorrelationPropertyBinding(CorrelationPropertyBinding value);
+
+ /**
+ * Returns the value of the '<em><b>Correlation Property Retrieval Expression</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Correlation Property Retrieval Expression</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Correlation Property Retrieval Expression</em>' containment reference.
+ * @see #setCorrelationPropertyRetrievalExpression(CorrelationPropertyRetrievalExpression)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_CorrelationPropertyRetrievalExpression()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='correlationPropertyRetrievalExpression' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ CorrelationPropertyRetrievalExpression getCorrelationPropertyRetrievalExpression();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getCorrelationPropertyRetrievalExpression <em>Correlation Property Retrieval Expression</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Correlation Property Retrieval Expression</em>' containment reference.
+ * @see #getCorrelationPropertyRetrievalExpression()
+ * @generated
+ */
+ void setCorrelationPropertyRetrievalExpression(
+ CorrelationPropertyRetrievalExpression value);
+
+ /**
+ * Returns the value of the '<em><b>Correlation Subscription</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Correlation Subscription</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Correlation Subscription</em>' containment reference.
+ * @see #setCorrelationSubscription(CorrelationSubscription)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_CorrelationSubscription()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='correlationSubscription' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ CorrelationSubscription getCorrelationSubscription();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getCorrelationSubscription <em>Correlation Subscription</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Correlation Subscription</em>' containment reference.
+ * @see #getCorrelationSubscription()
+ * @generated
+ */
+ void setCorrelationSubscription(CorrelationSubscription value);
+
+ /**
+ * Returns the value of the '<em><b>Data Association</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Data Association</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Data Association</em>' containment reference.
+ * @see #setDataAssociation(DataAssociation)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_DataAssociation()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='dataAssociation' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ DataAssociation getDataAssociation();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getDataAssociation <em>Data Association</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Data Association</em>' containment reference.
+ * @see #getDataAssociation()
+ * @generated
+ */
+ void setDataAssociation(DataAssociation value);
+
+ /**
+ * Returns the value of the '<em><b>Data Input</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Data Input</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Data Input</em>' containment reference.
+ * @see #setDataInput(DataInput)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_DataInput()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='dataInput' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ DataInput getDataInput();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getDataInput <em>Data Input</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Data Input</em>' containment reference.
+ * @see #getDataInput()
+ * @generated
+ */
+ void setDataInput(DataInput value);
+
+ /**
+ * Returns the value of the '<em><b>Data Input Association</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Data Input Association</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Data Input Association</em>' containment reference.
+ * @see #setDataInputAssociation(DataInputAssociation)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_DataInputAssociation()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='dataInputAssociation' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ DataInputAssociation getDataInputAssociation();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getDataInputAssociation <em>Data Input Association</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Data Input Association</em>' containment reference.
+ * @see #getDataInputAssociation()
+ * @generated
+ */
+ void setDataInputAssociation(DataInputAssociation value);
+
+ /**
+ * Returns the value of the '<em><b>Data Object</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Data Object</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Data Object</em>' containment reference.
+ * @see #setDataObject(DataObject)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_DataObject()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='dataObject' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement'"
+ * @generated
+ */
+ DataObject getDataObject();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getDataObject <em>Data Object</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Data Object</em>' containment reference.
+ * @see #getDataObject()
+ * @generated
+ */
+ void setDataObject(DataObject value);
+
+ /**
+ * Returns the value of the '<em><b>Data Object Reference</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Data Object Reference</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Data Object Reference</em>' containment reference.
+ * @see #setDataObjectReference(DataObjectReference)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_DataObjectReference()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='dataObjectReference' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement'"
+ * @generated
+ */
+ DataObjectReference getDataObjectReference();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getDataObjectReference <em>Data Object Reference</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Data Object Reference</em>' containment reference.
+ * @see #getDataObjectReference()
+ * @generated
+ */
+ void setDataObjectReference(DataObjectReference value);
+
+ /**
+ * Returns the value of the '<em><b>Data Output</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Data Output</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Data Output</em>' containment reference.
+ * @see #setDataOutput(DataOutput)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_DataOutput()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='dataOutput' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ DataOutput getDataOutput();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getDataOutput <em>Data Output</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Data Output</em>' containment reference.
+ * @see #getDataOutput()
+ * @generated
+ */
+ void setDataOutput(DataOutput value);
+
+ /**
+ * Returns the value of the '<em><b>Data Output Association</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Data Output Association</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Data Output Association</em>' containment reference.
+ * @see #setDataOutputAssociation(DataOutputAssociation)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_DataOutputAssociation()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='dataOutputAssociation' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ DataOutputAssociation getDataOutputAssociation();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getDataOutputAssociation <em>Data Output Association</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Data Output Association</em>' containment reference.
+ * @see #getDataOutputAssociation()
+ * @generated
+ */
+ void setDataOutputAssociation(DataOutputAssociation value);
+
+ /**
+ * Returns the value of the '<em><b>Data State</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Data State</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Data State</em>' containment reference.
+ * @see #setDataState(DataState)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_DataState()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='dataState' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ DataState getDataState();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getDataState <em>Data State</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Data State</em>' containment reference.
+ * @see #getDataState()
+ * @generated
+ */
+ void setDataState(DataState value);
+
+ /**
+ * Returns the value of the '<em><b>Data Store</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Data Store</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Data Store</em>' containment reference.
+ * @see #setDataStore(DataStore)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_DataStore()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='dataStore' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement'"
+ * @generated
+ */
+ DataStore getDataStore();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getDataStore <em>Data Store</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Data Store</em>' containment reference.
+ * @see #getDataStore()
+ * @generated
+ */
+ void setDataStore(DataStore value);
+
+ /**
+ * Returns the value of the '<em><b>Data Store Reference</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Data Store Reference</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Data Store Reference</em>' containment reference.
+ * @see #setDataStoreReference(DataStoreReference)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_DataStoreReference()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='dataStoreReference' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement'"
+ * @generated
+ */
+ DataStoreReference getDataStoreReference();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getDataStoreReference <em>Data Store Reference</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Data Store Reference</em>' containment reference.
+ * @see #getDataStoreReference()
+ * @generated
+ */
+ void setDataStoreReference(DataStoreReference value);
+
+ /**
+ * Returns the value of the '<em><b>Definitions</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Definitions</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Definitions</em>' containment reference.
+ * @see #setDefinitions(Definitions)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_Definitions()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='definitions' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Definitions getDefinitions();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getDefinitions <em>Definitions</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Definitions</em>' containment reference.
+ * @see #getDefinitions()
+ * @generated
+ */
+ void setDefinitions(Definitions value);
+
+ /**
+ * Returns the value of the '<em><b>Documentation</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Documentation</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Documentation</em>' containment reference.
+ * @see #setDocumentation(Documentation)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_Documentation()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='documentation' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Documentation getDocumentation();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getDocumentation <em>Documentation</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Documentation</em>' containment reference.
+ * @see #getDocumentation()
+ * @generated
+ */
+ void setDocumentation(Documentation value);
+
+ /**
+ * Returns the value of the '<em><b>End Event</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>End Event</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>End Event</em>' containment reference.
+ * @see #setEndEvent(EndEvent)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_EndEvent()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='endEvent' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement'"
+ * @generated
+ */
+ EndEvent getEndEvent();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getEndEvent <em>End Event</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>End Event</em>' containment reference.
+ * @see #getEndEvent()
+ * @generated
+ */
+ void setEndEvent(EndEvent value);
+
+ /**
+ * Returns the value of the '<em><b>End Point</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>End Point</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>End Point</em>' containment reference.
+ * @see #setEndPoint(EndPoint)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_EndPoint()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='endPoint' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement'"
+ * @generated
+ */
+ EndPoint getEndPoint();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getEndPoint <em>End Point</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>End Point</em>' containment reference.
+ * @see #getEndPoint()
+ * @generated
+ */
+ void setEndPoint(EndPoint value);
+
+ /**
+ * Returns the value of the '<em><b>Error</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Error</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Error</em>' containment reference.
+ * @see #setError(org.eclipse.bpmn2.Error)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_Error()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='error' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement'"
+ * @generated
+ */
+ org.eclipse.bpmn2.Error getError();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getError <em>Error</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Error</em>' containment reference.
+ * @see #getError()
+ * @generated
+ */
+ void setError(org.eclipse.bpmn2.Error value);
+
+ /**
+ * Returns the value of the '<em><b>Error Event Definition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Error Event Definition</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Error Event Definition</em>' containment reference.
+ * @see #setErrorEventDefinition(ErrorEventDefinition)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_ErrorEventDefinition()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='errorEventDefinition' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#eventDefinition'"
+ * @generated
+ */
+ ErrorEventDefinition getErrorEventDefinition();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getErrorEventDefinition <em>Error Event Definition</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Error Event Definition</em>' containment reference.
+ * @see #getErrorEventDefinition()
+ * @generated
+ */
+ void setErrorEventDefinition(ErrorEventDefinition value);
+
+ /**
+ * Returns the value of the '<em><b>Escalation</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Escalation</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Escalation</em>' containment reference.
+ * @see #setEscalation(Escalation)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_Escalation()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='escalation' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement'"
+ * @generated
+ */
+ Escalation getEscalation();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getEscalation <em>Escalation</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Escalation</em>' containment reference.
+ * @see #getEscalation()
+ * @generated
+ */
+ void setEscalation(Escalation value);
+
+ /**
+ * Returns the value of the '<em><b>Escalation Event Definition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Escalation Event Definition</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Escalation Event Definition</em>' containment reference.
+ * @see #setEscalationEventDefinition(EscalationEventDefinition)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_EscalationEventDefinition()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='escalationEventDefinition' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#eventDefinition'"
+ * @generated
+ */
+ EscalationEventDefinition getEscalationEventDefinition();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getEscalationEventDefinition <em>Escalation Event Definition</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Escalation Event Definition</em>' containment reference.
+ * @see #getEscalationEventDefinition()
+ * @generated
+ */
+ void setEscalationEventDefinition(EscalationEventDefinition value);
+
+ /**
+ * Returns the value of the '<em><b>Event</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Event</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Event</em>' containment reference.
+ * @see #setEvent(Event)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_Event()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='event' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement'"
+ * @generated
+ */
+ Event getEvent();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getEvent <em>Event</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Event</em>' containment reference.
+ * @see #getEvent()
+ * @generated
+ */
+ void setEvent(Event value);
+
+ /**
+ * Returns the value of the '<em><b>Event Based Gateway</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Event Based Gateway</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Event Based Gateway</em>' containment reference.
+ * @see #setEventBasedGateway(EventBasedGateway)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_EventBasedGateway()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='eventBasedGateway' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement'"
+ * @generated
+ */
+ EventBasedGateway getEventBasedGateway();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getEventBasedGateway <em>Event Based Gateway</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Event Based Gateway</em>' containment reference.
+ * @see #getEventBasedGateway()
+ * @generated
+ */
+ void setEventBasedGateway(EventBasedGateway value);
+
+ /**
+ * Returns the value of the '<em><b>Exclusive Gateway</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Exclusive Gateway</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Exclusive Gateway</em>' containment reference.
+ * @see #setExclusiveGateway(ExclusiveGateway)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_ExclusiveGateway()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='exclusiveGateway' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement'"
+ * @generated
+ */
+ ExclusiveGateway getExclusiveGateway();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getExclusiveGateway <em>Exclusive Gateway</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Exclusive Gateway</em>' containment reference.
+ * @see #getExclusiveGateway()
+ * @generated
+ */
+ void setExclusiveGateway(ExclusiveGateway value);
+
+ /**
+ * Returns the value of the '<em><b>Expression</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Expression</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Expression</em>' containment reference.
+ * @see #setExpression(Expression)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_Expression()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='expression' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Expression getExpression();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getExpression <em>Expression</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Expression</em>' containment reference.
+ * @see #getExpression()
+ * @generated
+ */
+ void setExpression(Expression value);
+
+ /**
+ * Returns the value of the '<em><b>Extension</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Extension</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Extension</em>' containment reference.
+ * @see #setExtension(Extension)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_Extension()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='extension' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Extension getExtension();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getExtension <em>Extension</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Extension</em>' containment reference.
+ * @see #getExtension()
+ * @generated
+ */
+ void setExtension(Extension value);
+
+ /**
+ * Returns the value of the '<em><b>Extension Elements</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Extension Elements</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Extension Elements</em>' containment reference.
+ * @see #setExtensionElements(ExtensionAttributeValue)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_ExtensionElements()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='extensionElements' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ ExtensionAttributeValue getExtensionElements();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getExtensionElements <em>Extension Elements</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Extension Elements</em>' containment reference.
+ * @see #getExtensionElements()
+ * @generated
+ */
+ void setExtensionElements(ExtensionAttributeValue value);
+
+ /**
+ * Returns the value of the '<em><b>Flow Node</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Flow Node</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Flow Node</em>' containment reference.
+ * @see #setFlowNode(FlowNode)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_FlowNode()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='flowNode' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ FlowNode getFlowNode();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getFlowNode <em>Flow Node</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Flow Node</em>' containment reference.
+ * @see #getFlowNode()
+ * @generated
+ */
+ void setFlowNode(FlowNode value);
+
+ /**
+ * Returns the value of the '<em><b>Formal Expression</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Formal Expression</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Formal Expression</em>' containment reference.
+ * @see #setFormalExpression(FormalExpression)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_FormalExpression()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='formalExpression' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#expression'"
+ * @generated
+ */
+ FormalExpression getFormalExpression();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getFormalExpression <em>Formal Expression</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Formal Expression</em>' containment reference.
+ * @see #getFormalExpression()
+ * @generated
+ */
+ void setFormalExpression(FormalExpression value);
+
+ /**
+ * Returns the value of the '<em><b>Gateway</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Gateway</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Gateway</em>' containment reference.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_Gateway()
+ * @model containment="true" upper="-2" transient="true" changeable="false" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='gateway' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Gateway getGateway();
+
+ /**
+ * Returns the value of the '<em><b>Global Business Rule Task</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Global Business Rule Task</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Global Business Rule Task</em>' containment reference.
+ * @see #setGlobalBusinessRuleTask(GlobalBusinessRuleTask)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_GlobalBusinessRuleTask()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='globalBusinessRuleTask' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement'"
+ * @generated
+ */
+ GlobalBusinessRuleTask getGlobalBusinessRuleTask();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getGlobalBusinessRuleTask <em>Global Business Rule Task</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Global Business Rule Task</em>' containment reference.
+ * @see #getGlobalBusinessRuleTask()
+ * @generated
+ */
+ void setGlobalBusinessRuleTask(GlobalBusinessRuleTask value);
+
+ /**
+ * Returns the value of the '<em><b>Global Choreography Task</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Global Choreography Task</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Global Choreography Task</em>' containment reference.
+ * @see #setGlobalChoreographyTask(GlobalChoreographyTask)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_GlobalChoreographyTask()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='globalChoreographyTask' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#choreography'"
+ * @generated
+ */
+ GlobalChoreographyTask getGlobalChoreographyTask();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getGlobalChoreographyTask <em>Global Choreography Task</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Global Choreography Task</em>' containment reference.
+ * @see #getGlobalChoreographyTask()
+ * @generated
+ */
+ void setGlobalChoreographyTask(GlobalChoreographyTask value);
+
+ /**
+ * Returns the value of the '<em><b>Global Conversation</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Global Conversation</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Global Conversation</em>' containment reference.
+ * @see #setGlobalConversation(GlobalConversation)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_GlobalConversation()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='globalConversation' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#collaboration'"
+ * @generated
+ */
+ GlobalConversation getGlobalConversation();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getGlobalConversation <em>Global Conversation</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Global Conversation</em>' containment reference.
+ * @see #getGlobalConversation()
+ * @generated
+ */
+ void setGlobalConversation(GlobalConversation value);
+
+ /**
+ * Returns the value of the '<em><b>Global Manual Task</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Global Manual Task</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Global Manual Task</em>' containment reference.
+ * @see #setGlobalManualTask(GlobalManualTask)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_GlobalManualTask()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='globalManualTask' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement'"
+ * @generated
+ */
+ GlobalManualTask getGlobalManualTask();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getGlobalManualTask <em>Global Manual Task</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Global Manual Task</em>' containment reference.
+ * @see #getGlobalManualTask()
+ * @generated
+ */
+ void setGlobalManualTask(GlobalManualTask value);
+
+ /**
+ * Returns the value of the '<em><b>Global Script Task</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Global Script Task</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Global Script Task</em>' containment reference.
+ * @see #setGlobalScriptTask(GlobalScriptTask)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_GlobalScriptTask()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='globalScriptTask' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement'"
+ * @generated
+ */
+ GlobalScriptTask getGlobalScriptTask();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getGlobalScriptTask <em>Global Script Task</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Global Script Task</em>' containment reference.
+ * @see #getGlobalScriptTask()
+ * @generated
+ */
+ void setGlobalScriptTask(GlobalScriptTask value);
+
+ /**
+ * Returns the value of the '<em><b>Global Task</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Global Task</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Global Task</em>' containment reference.
+ * @see #setGlobalTask(GlobalTask)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_GlobalTask()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='globalTask' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement'"
+ * @generated
+ */
+ GlobalTask getGlobalTask();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getGlobalTask <em>Global Task</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Global Task</em>' containment reference.
+ * @see #getGlobalTask()
+ * @generated
+ */
+ void setGlobalTask(GlobalTask value);
+
+ /**
+ * Returns the value of the '<em><b>Global User Task</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Global User Task</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Global User Task</em>' containment reference.
+ * @see #setGlobalUserTask(GlobalUserTask)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_GlobalUserTask()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='globalUserTask' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement'"
+ * @generated
+ */
+ GlobalUserTask getGlobalUserTask();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getGlobalUserTask <em>Global User Task</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Global User Task</em>' containment reference.
+ * @see #getGlobalUserTask()
+ * @generated
+ */
+ void setGlobalUserTask(GlobalUserTask value);
+
+ /**
+ * Returns the value of the '<em><b>Group</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Group</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Group</em>' containment reference.
+ * @see #setGroup(Group)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_Group()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='group' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#artifact'"
+ * @generated
+ */
+ Group getGroup();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getGroup <em>Group</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Group</em>' containment reference.
+ * @see #getGroup()
+ * @generated
+ */
+ void setGroup(Group value);
+
+ /**
+ * Returns the value of the '<em><b>Human Performer</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Human Performer</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Human Performer</em>' containment reference.
+ * @see #setHumanPerformer(HumanPerformer)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_HumanPerformer()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='humanPerformer' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#performer'"
+ * @generated
+ */
+ HumanPerformer getHumanPerformer();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getHumanPerformer <em>Human Performer</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Human Performer</em>' containment reference.
+ * @see #getHumanPerformer()
+ * @generated
+ */
+ void setHumanPerformer(HumanPerformer value);
+
+ /**
+ * Returns the value of the '<em><b>Performer</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Performer</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Performer</em>' containment reference.
+ * @see #setPerformer(Performer)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_Performer()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='performer' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#resourceRole'"
+ * @generated
+ */
+ Performer getPerformer();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getPerformer <em>Performer</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Performer</em>' containment reference.
+ * @see #getPerformer()
+ * @generated
+ */
+ void setPerformer(Performer value);
+
+ /**
+ * Returns the value of the '<em><b>Resource Role</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Resource Role</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Resource Role</em>' containment reference.
+ * @see #setResourceRole(ResourceRole)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_ResourceRole()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='resourceRole' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ ResourceRole getResourceRole();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getResourceRole <em>Resource Role</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Resource Role</em>' containment reference.
+ * @see #getResourceRole()
+ * @generated
+ */
+ void setResourceRole(ResourceRole value);
+
+ /**
+ * Returns the value of the '<em><b>Implicit Throw Event</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Implicit Throw Event</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Implicit Throw Event</em>' containment reference.
+ * @see #setImplicitThrowEvent(ImplicitThrowEvent)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_ImplicitThrowEvent()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='implicitThrowEvent' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement'"
+ * @generated
+ */
+ ImplicitThrowEvent getImplicitThrowEvent();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getImplicitThrowEvent <em>Implicit Throw Event</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Implicit Throw Event</em>' containment reference.
+ * @see #getImplicitThrowEvent()
+ * @generated
+ */
+ void setImplicitThrowEvent(ImplicitThrowEvent value);
+
+ /**
+ * Returns the value of the '<em><b>Import</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Import</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Import</em>' containment reference.
+ * @see #setImport(Import)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_Import()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='import' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Import getImport();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getImport <em>Import</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Import</em>' containment reference.
+ * @see #getImport()
+ * @generated
+ */
+ void setImport(Import value);
+
+ /**
+ * Returns the value of the '<em><b>Inclusive Gateway</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Inclusive Gateway</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Inclusive Gateway</em>' containment reference.
+ * @see #setInclusiveGateway(InclusiveGateway)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_InclusiveGateway()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='inclusiveGateway' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement'"
+ * @generated
+ */
+ InclusiveGateway getInclusiveGateway();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getInclusiveGateway <em>Inclusive Gateway</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Inclusive Gateway</em>' containment reference.
+ * @see #getInclusiveGateway()
+ * @generated
+ */
+ void setInclusiveGateway(InclusiveGateway value);
+
+ /**
+ * Returns the value of the '<em><b>Input Set</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Input Set</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Input Set</em>' containment reference.
+ * @see #setInputSet(InputSet)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_InputSet()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='inputSet' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ InputSet getInputSet();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getInputSet <em>Input Set</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Input Set</em>' containment reference.
+ * @see #getInputSet()
+ * @generated
+ */
+ void setInputSet(InputSet value);
+
+ /**
+ * Returns the value of the '<em><b>Interface</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Interface</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Interface</em>' containment reference.
+ * @see #setInterface(Interface)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_Interface()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='interface' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement'"
+ * @generated
+ */
+ Interface getInterface();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getInterface <em>Interface</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Interface</em>' containment reference.
+ * @see #getInterface()
+ * @generated
+ */
+ void setInterface(Interface value);
+
+ /**
+ * Returns the value of the '<em><b>Intermediate Catch Event</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Intermediate Catch Event</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Intermediate Catch Event</em>' containment reference.
+ * @see #setIntermediateCatchEvent(IntermediateCatchEvent)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_IntermediateCatchEvent()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='intermediateCatchEvent' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement'"
+ * @generated
+ */
+ IntermediateCatchEvent getIntermediateCatchEvent();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getIntermediateCatchEvent <em>Intermediate Catch Event</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Intermediate Catch Event</em>' containment reference.
+ * @see #getIntermediateCatchEvent()
+ * @generated
+ */
+ void setIntermediateCatchEvent(IntermediateCatchEvent value);
+
+ /**
+ * Returns the value of the '<em><b>Intermediate Throw Event</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Intermediate Throw Event</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Intermediate Throw Event</em>' containment reference.
+ * @see #setIntermediateThrowEvent(IntermediateThrowEvent)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_IntermediateThrowEvent()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='intermediateThrowEvent' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement'"
+ * @generated
+ */
+ IntermediateThrowEvent getIntermediateThrowEvent();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getIntermediateThrowEvent <em>Intermediate Throw Event</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Intermediate Throw Event</em>' containment reference.
+ * @see #getIntermediateThrowEvent()
+ * @generated
+ */
+ void setIntermediateThrowEvent(IntermediateThrowEvent value);
+
+ /**
+ * Returns the value of the '<em><b>Io Binding</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Io Binding</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Io Binding</em>' containment reference.
+ * @see #setIoBinding(InputOutputBinding)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_IoBinding()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='ioBinding' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ InputOutputBinding getIoBinding();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getIoBinding <em>Io Binding</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Io Binding</em>' containment reference.
+ * @see #getIoBinding()
+ * @generated
+ */
+ void setIoBinding(InputOutputBinding value);
+
+ /**
+ * Returns the value of the '<em><b>Io Specification</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Io Specification</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Io Specification</em>' containment reference.
+ * @see #setIoSpecification(InputOutputSpecification)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_IoSpecification()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='ioSpecification' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ InputOutputSpecification getIoSpecification();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getIoSpecification <em>Io Specification</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Io Specification</em>' containment reference.
+ * @see #getIoSpecification()
+ * @generated
+ */
+ void setIoSpecification(InputOutputSpecification value);
+
+ /**
+ * Returns the value of the '<em><b>Item Definition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Item Definition</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Item Definition</em>' containment reference.
+ * @see #setItemDefinition(ItemDefinition)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_ItemDefinition()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='itemDefinition' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement'"
+ * @generated
+ */
+ ItemDefinition getItemDefinition();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getItemDefinition <em>Item Definition</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Item Definition</em>' containment reference.
+ * @see #getItemDefinition()
+ * @generated
+ */
+ void setItemDefinition(ItemDefinition value);
+
+ /**
+ * Returns the value of the '<em><b>Lane</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Lane</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Lane</em>' containment reference.
+ * @see #setLane(Lane)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_Lane()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='lane' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Lane getLane();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getLane <em>Lane</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Lane</em>' containment reference.
+ * @see #getLane()
+ * @generated
+ */
+ void setLane(Lane value);
+
+ /**
+ * Returns the value of the '<em><b>Lane Set</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Lane Set</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Lane Set</em>' containment reference.
+ * @see #setLaneSet(LaneSet)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_LaneSet()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='laneSet' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ LaneSet getLaneSet();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getLaneSet <em>Lane Set</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Lane Set</em>' containment reference.
+ * @see #getLaneSet()
+ * @generated
+ */
+ void setLaneSet(LaneSet value);
+
+ /**
+ * Returns the value of the '<em><b>Link Event Definition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Link Event Definition</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Link Event Definition</em>' containment reference.
+ * @see #setLinkEventDefinition(LinkEventDefinition)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_LinkEventDefinition()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='linkEventDefinition' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#eventDefinition'"
+ * @generated
+ */
+ LinkEventDefinition getLinkEventDefinition();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getLinkEventDefinition <em>Link Event Definition</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Link Event Definition</em>' containment reference.
+ * @see #getLinkEventDefinition()
+ * @generated
+ */
+ void setLinkEventDefinition(LinkEventDefinition value);
+
+ /**
+ * Returns the value of the '<em><b>Loop Characteristics</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Loop Characteristics</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Loop Characteristics</em>' containment reference.
+ * @see #setLoopCharacteristics(LoopCharacteristics)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_LoopCharacteristics()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='loopCharacteristics' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ LoopCharacteristics getLoopCharacteristics();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getLoopCharacteristics <em>Loop Characteristics</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Loop Characteristics</em>' containment reference.
+ * @see #getLoopCharacteristics()
+ * @generated
+ */
+ void setLoopCharacteristics(LoopCharacteristics value);
+
+ /**
+ * Returns the value of the '<em><b>Manual Task</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Manual Task</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Manual Task</em>' containment reference.
+ * @see #setManualTask(ManualTask)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_ManualTask()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='manualTask' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement'"
+ * @generated
+ */
+ ManualTask getManualTask();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getManualTask <em>Manual Task</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Manual Task</em>' containment reference.
+ * @see #getManualTask()
+ * @generated
+ */
+ void setManualTask(ManualTask value);
+
+ /**
+ * Returns the value of the '<em><b>Message</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Message</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Message</em>' containment reference.
+ * @see #setMessage(Message)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_Message()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='message' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement'"
+ * @generated
+ */
+ Message getMessage();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getMessage <em>Message</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Message</em>' containment reference.
+ * @see #getMessage()
+ * @generated
+ */
+ void setMessage(Message value);
+
+ /**
+ * Returns the value of the '<em><b>Message Event Definition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Message Event Definition</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Message Event Definition</em>' containment reference.
+ * @see #setMessageEventDefinition(MessageEventDefinition)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_MessageEventDefinition()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='messageEventDefinition' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#eventDefinition'"
+ * @generated
+ */
+ MessageEventDefinition getMessageEventDefinition();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getMessageEventDefinition <em>Message Event Definition</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Message Event Definition</em>' containment reference.
+ * @see #getMessageEventDefinition()
+ * @generated
+ */
+ void setMessageEventDefinition(MessageEventDefinition value);
+
+ /**
+ * Returns the value of the '<em><b>Message Flow</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Message Flow</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Message Flow</em>' containment reference.
+ * @see #setMessageFlow(MessageFlow)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_MessageFlow()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='messageFlow' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ MessageFlow getMessageFlow();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getMessageFlow <em>Message Flow</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Message Flow</em>' containment reference.
+ * @see #getMessageFlow()
+ * @generated
+ */
+ void setMessageFlow(MessageFlow value);
+
+ /**
+ * Returns the value of the '<em><b>Message Flow Association</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Message Flow Association</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Message Flow Association</em>' containment reference.
+ * @see #setMessageFlowAssociation(MessageFlowAssociation)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_MessageFlowAssociation()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='messageFlowAssociation' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ MessageFlowAssociation getMessageFlowAssociation();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getMessageFlowAssociation <em>Message Flow Association</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Message Flow Association</em>' containment reference.
+ * @see #getMessageFlowAssociation()
+ * @generated
+ */
+ void setMessageFlowAssociation(MessageFlowAssociation value);
+
+ /**
+ * Returns the value of the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Monitoring</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Monitoring</em>' containment reference.
+ * @see #setMonitoring(Monitoring)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_Monitoring()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='monitoring' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Monitoring getMonitoring();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getMonitoring <em>Monitoring</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Monitoring</em>' containment reference.
+ * @see #getMonitoring()
+ * @generated
+ */
+ void setMonitoring(Monitoring value);
+
+ /**
+ * Returns the value of the '<em><b>Multi Instance Loop Characteristics</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Multi Instance Loop Characteristics</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Multi Instance Loop Characteristics</em>' containment reference.
+ * @see #setMultiInstanceLoopCharacteristics(MultiInstanceLoopCharacteristics)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_MultiInstanceLoopCharacteristics()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='multiInstanceLoopCharacteristics' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#loopCharacteristics'"
+ * @generated
+ */
+ MultiInstanceLoopCharacteristics getMultiInstanceLoopCharacteristics();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getMultiInstanceLoopCharacteristics <em>Multi Instance Loop Characteristics</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Multi Instance Loop Characteristics</em>' containment reference.
+ * @see #getMultiInstanceLoopCharacteristics()
+ * @generated
+ */
+ void setMultiInstanceLoopCharacteristics(
+ MultiInstanceLoopCharacteristics value);
+
+ /**
+ * Returns the value of the '<em><b>Operation</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Operation</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Operation</em>' containment reference.
+ * @see #setOperation(Operation)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_Operation()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='operation' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Operation getOperation();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getOperation <em>Operation</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Operation</em>' containment reference.
+ * @see #getOperation()
+ * @generated
+ */
+ void setOperation(Operation value);
+
+ /**
+ * Returns the value of the '<em><b>Output Set</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Output Set</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Output Set</em>' containment reference.
+ * @see #setOutputSet(OutputSet)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_OutputSet()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='outputSet' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ OutputSet getOutputSet();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getOutputSet <em>Output Set</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Output Set</em>' containment reference.
+ * @see #getOutputSet()
+ * @generated
+ */
+ void setOutputSet(OutputSet value);
+
+ /**
+ * Returns the value of the '<em><b>Parallel Gateway</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Parallel Gateway</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Parallel Gateway</em>' containment reference.
+ * @see #setParallelGateway(ParallelGateway)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_ParallelGateway()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='parallelGateway' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement'"
+ * @generated
+ */
+ ParallelGateway getParallelGateway();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getParallelGateway <em>Parallel Gateway</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Parallel Gateway</em>' containment reference.
+ * @see #getParallelGateway()
+ * @generated
+ */
+ void setParallelGateway(ParallelGateway value);
+
+ /**
+ * Returns the value of the '<em><b>Participant</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Participant</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Participant</em>' containment reference.
+ * @see #setParticipant(Participant)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_Participant()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='participant' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Participant getParticipant();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getParticipant <em>Participant</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Participant</em>' containment reference.
+ * @see #getParticipant()
+ * @generated
+ */
+ void setParticipant(Participant value);
+
+ /**
+ * Returns the value of the '<em><b>Participant Association</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Participant Association</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Participant Association</em>' containment reference.
+ * @see #setParticipantAssociation(ParticipantAssociation)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_ParticipantAssociation()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='participantAssociation' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ ParticipantAssociation getParticipantAssociation();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getParticipantAssociation <em>Participant Association</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Participant Association</em>' containment reference.
+ * @see #getParticipantAssociation()
+ * @generated
+ */
+ void setParticipantAssociation(ParticipantAssociation value);
+
+ /**
+ * Returns the value of the '<em><b>Participant Multiplicity</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Participant Multiplicity</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Participant Multiplicity</em>' containment reference.
+ * @see #setParticipantMultiplicity(ParticipantMultiplicity)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_ParticipantMultiplicity()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='participantMultiplicity' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ ParticipantMultiplicity getParticipantMultiplicity();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getParticipantMultiplicity <em>Participant Multiplicity</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Participant Multiplicity</em>' containment reference.
+ * @see #getParticipantMultiplicity()
+ * @generated
+ */
+ void setParticipantMultiplicity(ParticipantMultiplicity value);
+
+ /**
+ * Returns the value of the '<em><b>Partner Entity</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Partner Entity</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Partner Entity</em>' containment reference.
+ * @see #setPartnerEntity(PartnerEntity)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_PartnerEntity()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='partnerEntity' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement'"
+ * @generated
+ */
+ PartnerEntity getPartnerEntity();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getPartnerEntity <em>Partner Entity</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Partner Entity</em>' containment reference.
+ * @see #getPartnerEntity()
+ * @generated
+ */
+ void setPartnerEntity(PartnerEntity value);
+
+ /**
+ * Returns the value of the '<em><b>Partner Role</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Partner Role</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Partner Role</em>' containment reference.
+ * @see #setPartnerRole(PartnerRole)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_PartnerRole()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='partnerRole' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement'"
+ * @generated
+ */
+ PartnerRole getPartnerRole();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getPartnerRole <em>Partner Role</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Partner Role</em>' containment reference.
+ * @see #getPartnerRole()
+ * @generated
+ */
+ void setPartnerRole(PartnerRole value);
+
+ /**
+ * Returns the value of the '<em><b>Potential Owner</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Potential Owner</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Potential Owner</em>' containment reference.
+ * @see #setPotentialOwner(PotentialOwner)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_PotentialOwner()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='potentialOwner' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#performer'"
+ * @generated
+ */
+ PotentialOwner getPotentialOwner();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getPotentialOwner <em>Potential Owner</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Potential Owner</em>' containment reference.
+ * @see #getPotentialOwner()
+ * @generated
+ */
+ void setPotentialOwner(PotentialOwner value);
+
+ /**
+ * Returns the value of the '<em><b>Process</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Process</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Process</em>' containment reference.
+ * @see #setProcess(org.eclipse.bpmn2.Process)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_Process()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='process' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement'"
+ * @generated
+ */
+ org.eclipse.bpmn2.Process getProcess();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getProcess <em>Process</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Process</em>' containment reference.
+ * @see #getProcess()
+ * @generated
+ */
+ void setProcess(org.eclipse.bpmn2.Process value);
+
+ /**
+ * Returns the value of the '<em><b>Property</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Property</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Property</em>' containment reference.
+ * @see #setProperty(Property)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_Property()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='property' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Property getProperty();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getProperty <em>Property</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Property</em>' containment reference.
+ * @see #getProperty()
+ * @generated
+ */
+ void setProperty(Property value);
+
+ /**
+ * Returns the value of the '<em><b>Receive Task</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Receive Task</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Receive Task</em>' containment reference.
+ * @see #setReceiveTask(ReceiveTask)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_ReceiveTask()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='receiveTask' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement'"
+ * @generated
+ */
+ ReceiveTask getReceiveTask();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getReceiveTask <em>Receive Task</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Receive Task</em>' containment reference.
+ * @see #getReceiveTask()
+ * @generated
+ */
+ void setReceiveTask(ReceiveTask value);
+
+ /**
+ * Returns the value of the '<em><b>Relationship</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Relationship</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Relationship</em>' containment reference.
+ * @see #setRelationship(Relationship)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_Relationship()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='relationship' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Relationship getRelationship();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getRelationship <em>Relationship</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Relationship</em>' containment reference.
+ * @see #getRelationship()
+ * @generated
+ */
+ void setRelationship(Relationship value);
+
+ /**
+ * Returns the value of the '<em><b>Rendering</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Rendering</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Rendering</em>' containment reference.
+ * @see #setRendering(Rendering)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_Rendering()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='rendering' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Rendering getRendering();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getRendering <em>Rendering</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Rendering</em>' containment reference.
+ * @see #getRendering()
+ * @generated
+ */
+ void setRendering(Rendering value);
+
+ /**
+ * Returns the value of the '<em><b>Resource</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Resource</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Resource</em>' containment reference.
+ * @see #setResource(Resource)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_Resource()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='resource' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement'"
+ * @generated
+ */
+ Resource getResource();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getResource <em>Resource</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Resource</em>' containment reference.
+ * @see #getResource()
+ * @generated
+ */
+ void setResource(Resource value);
+
+ /**
+ * Returns the value of the '<em><b>Resource Assignment Expression</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Resource Assignment Expression</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Resource Assignment Expression</em>' containment reference.
+ * @see #setResourceAssignmentExpression(ResourceAssignmentExpression)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_ResourceAssignmentExpression()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='resourceAssignmentExpression' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ ResourceAssignmentExpression getResourceAssignmentExpression();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getResourceAssignmentExpression <em>Resource Assignment Expression</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Resource Assignment Expression</em>' containment reference.
+ * @see #getResourceAssignmentExpression()
+ * @generated
+ */
+ void setResourceAssignmentExpression(ResourceAssignmentExpression value);
+
+ /**
+ * Returns the value of the '<em><b>Resource Parameter</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Resource Parameter</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Resource Parameter</em>' containment reference.
+ * @see #setResourceParameter(ResourceParameter)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_ResourceParameter()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='resourceParameter' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ ResourceParameter getResourceParameter();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getResourceParameter <em>Resource Parameter</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Resource Parameter</em>' containment reference.
+ * @see #getResourceParameter()
+ * @generated
+ */
+ void setResourceParameter(ResourceParameter value);
+
+ /**
+ * Returns the value of the '<em><b>Resource Parameter Binding</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Resource Parameter Binding</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Resource Parameter Binding</em>' containment reference.
+ * @see #setResourceParameterBinding(ResourceParameterBinding)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_ResourceParameterBinding()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='resourceParameterBinding' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ ResourceParameterBinding getResourceParameterBinding();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getResourceParameterBinding <em>Resource Parameter Binding</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Resource Parameter Binding</em>' containment reference.
+ * @see #getResourceParameterBinding()
+ * @generated
+ */
+ void setResourceParameterBinding(ResourceParameterBinding value);
+
+ /**
+ * Returns the value of the '<em><b>Script</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Script</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Script</em>' containment reference.
+ * @see #setScript(Object)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_Script()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='script' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Object getScript();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getScript <em>Script</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Script</em>' containment reference.
+ * @see #getScript()
+ * @generated
+ */
+ void setScript(Object value);
+
+ /**
+ * Returns the value of the '<em><b>Script Task</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Script Task</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Script Task</em>' containment reference.
+ * @see #setScriptTask(ScriptTask)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_ScriptTask()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='scriptTask' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement'"
+ * @generated
+ */
+ ScriptTask getScriptTask();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getScriptTask <em>Script Task</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Script Task</em>' containment reference.
+ * @see #getScriptTask()
+ * @generated
+ */
+ void setScriptTask(ScriptTask value);
+
+ /**
+ * Returns the value of the '<em><b>Send Task</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Send Task</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Send Task</em>' containment reference.
+ * @see #setSendTask(SendTask)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_SendTask()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='sendTask' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement'"
+ * @generated
+ */
+ SendTask getSendTask();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getSendTask <em>Send Task</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Send Task</em>' containment reference.
+ * @see #getSendTask()
+ * @generated
+ */
+ void setSendTask(SendTask value);
+
+ /**
+ * Returns the value of the '<em><b>Sequence Flow</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Sequence Flow</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Sequence Flow</em>' containment reference.
+ * @see #setSequenceFlow(SequenceFlow)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_SequenceFlow()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='sequenceFlow' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement'"
+ * @generated
+ */
+ SequenceFlow getSequenceFlow();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getSequenceFlow <em>Sequence Flow</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Sequence Flow</em>' containment reference.
+ * @see #getSequenceFlow()
+ * @generated
+ */
+ void setSequenceFlow(SequenceFlow value);
+
+ /**
+ * Returns the value of the '<em><b>Service Task</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Service Task</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Service Task</em>' containment reference.
+ * @see #setServiceTask(ServiceTask)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_ServiceTask()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='serviceTask' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement'"
+ * @generated
+ */
+ ServiceTask getServiceTask();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getServiceTask <em>Service Task</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Service Task</em>' containment reference.
+ * @see #getServiceTask()
+ * @generated
+ */
+ void setServiceTask(ServiceTask value);
+
+ /**
+ * Returns the value of the '<em><b>Signal</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Signal</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Signal</em>' containment reference.
+ * @see #setSignal(Signal)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_Signal()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='signal' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement'"
+ * @generated
+ */
+ Signal getSignal();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getSignal <em>Signal</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Signal</em>' containment reference.
+ * @see #getSignal()
+ * @generated
+ */
+ void setSignal(Signal value);
+
+ /**
+ * Returns the value of the '<em><b>Signal Event Definition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Signal Event Definition</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Signal Event Definition</em>' containment reference.
+ * @see #setSignalEventDefinition(SignalEventDefinition)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_SignalEventDefinition()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='signalEventDefinition' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#eventDefinition'"
+ * @generated
+ */
+ SignalEventDefinition getSignalEventDefinition();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getSignalEventDefinition <em>Signal Event Definition</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Signal Event Definition</em>' containment reference.
+ * @see #getSignalEventDefinition()
+ * @generated
+ */
+ void setSignalEventDefinition(SignalEventDefinition value);
+
+ /**
+ * Returns the value of the '<em><b>Standard Loop Characteristics</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Standard Loop Characteristics</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Standard Loop Characteristics</em>' containment reference.
+ * @see #setStandardLoopCharacteristics(StandardLoopCharacteristics)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_StandardLoopCharacteristics()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='standardLoopCharacteristics' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#loopCharacteristics'"
+ * @generated
+ */
+ StandardLoopCharacteristics getStandardLoopCharacteristics();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getStandardLoopCharacteristics <em>Standard Loop Characteristics</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Standard Loop Characteristics</em>' containment reference.
+ * @see #getStandardLoopCharacteristics()
+ * @generated
+ */
+ void setStandardLoopCharacteristics(StandardLoopCharacteristics value);
+
+ /**
+ * Returns the value of the '<em><b>Start Event</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Start Event</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Start Event</em>' containment reference.
+ * @see #setStartEvent(StartEvent)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_StartEvent()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='startEvent' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement'"
+ * @generated
+ */
+ StartEvent getStartEvent();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getStartEvent <em>Start Event</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Start Event</em>' containment reference.
+ * @see #getStartEvent()
+ * @generated
+ */
+ void setStartEvent(StartEvent value);
+
+ /**
+ * Returns the value of the '<em><b>Sub Choreography</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Sub Choreography</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Sub Choreography</em>' containment reference.
+ * @see #setSubChoreography(SubChoreography)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_SubChoreography()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='subChoreography' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement'"
+ * @generated
+ */
+ SubChoreography getSubChoreography();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getSubChoreography <em>Sub Choreography</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Sub Choreography</em>' containment reference.
+ * @see #getSubChoreography()
+ * @generated
+ */
+ void setSubChoreography(SubChoreography value);
+
+ /**
+ * Returns the value of the '<em><b>Sub Conversation</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Sub Conversation</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Sub Conversation</em>' containment reference.
+ * @see #setSubConversation(SubConversation)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_SubConversation()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='subConversation' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#conversationNode'"
+ * @generated
+ */
+ SubConversation getSubConversation();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getSubConversation <em>Sub Conversation</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Sub Conversation</em>' containment reference.
+ * @see #getSubConversation()
+ * @generated
+ */
+ void setSubConversation(SubConversation value);
+
+ /**
+ * Returns the value of the '<em><b>Sub Process</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Sub Process</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Sub Process</em>' containment reference.
+ * @see #setSubProcess(SubProcess)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_SubProcess()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='subProcess' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement'"
+ * @generated
+ */
+ SubProcess getSubProcess();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getSubProcess <em>Sub Process</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Sub Process</em>' containment reference.
+ * @see #getSubProcess()
+ * @generated
+ */
+ void setSubProcess(SubProcess value);
+
+ /**
+ * Returns the value of the '<em><b>Task</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Task</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Task</em>' containment reference.
+ * @see #setTask(Task)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_Task()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='task' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement'"
+ * @generated
+ */
+ Task getTask();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getTask <em>Task</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Task</em>' containment reference.
+ * @see #getTask()
+ * @generated
+ */
+ void setTask(Task value);
+
+ /**
+ * Returns the value of the '<em><b>Terminate Event Definition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Terminate Event Definition</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Terminate Event Definition</em>' containment reference.
+ * @see #setTerminateEventDefinition(TerminateEventDefinition)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_TerminateEventDefinition()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='terminateEventDefinition' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#eventDefinition'"
+ * @generated
+ */
+ TerminateEventDefinition getTerminateEventDefinition();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getTerminateEventDefinition <em>Terminate Event Definition</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Terminate Event Definition</em>' containment reference.
+ * @see #getTerminateEventDefinition()
+ * @generated
+ */
+ void setTerminateEventDefinition(TerminateEventDefinition value);
+
+ /**
+ * Returns the value of the '<em><b>Text</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Text</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Text</em>' containment reference.
+ * @see #setText(Object)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_Text()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='text' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Object getText();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getText <em>Text</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Text</em>' containment reference.
+ * @see #getText()
+ * @generated
+ */
+ void setText(Object value);
+
+ /**
+ * Returns the value of the '<em><b>Text Annotation</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Text Annotation</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Text Annotation</em>' containment reference.
+ * @see #setTextAnnotation(TextAnnotation)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_TextAnnotation()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='textAnnotation' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#artifact'"
+ * @generated
+ */
+ TextAnnotation getTextAnnotation();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getTextAnnotation <em>Text Annotation</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Text Annotation</em>' containment reference.
+ * @see #getTextAnnotation()
+ * @generated
+ */
+ void setTextAnnotation(TextAnnotation value);
+
+ /**
+ * Returns the value of the '<em><b>Throw Event</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Throw Event</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Throw Event</em>' containment reference.
+ * @see #setThrowEvent(ThrowEvent)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_ThrowEvent()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='throwEvent' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ ThrowEvent getThrowEvent();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getThrowEvent <em>Throw Event</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Throw Event</em>' containment reference.
+ * @see #getThrowEvent()
+ * @generated
+ */
+ void setThrowEvent(ThrowEvent value);
+
+ /**
+ * Returns the value of the '<em><b>Timer Event Definition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Timer Event Definition</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Timer Event Definition</em>' containment reference.
+ * @see #setTimerEventDefinition(TimerEventDefinition)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_TimerEventDefinition()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='timerEventDefinition' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#eventDefinition'"
+ * @generated
+ */
+ TimerEventDefinition getTimerEventDefinition();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getTimerEventDefinition <em>Timer Event Definition</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Timer Event Definition</em>' containment reference.
+ * @see #getTimerEventDefinition()
+ * @generated
+ */
+ void setTimerEventDefinition(TimerEventDefinition value);
+
+ /**
+ * Returns the value of the '<em><b>Transaction</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Transaction</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Transaction</em>' containment reference.
+ * @see #setTransaction(Transaction)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_Transaction()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='transaction' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement'"
+ * @generated
+ */
+ Transaction getTransaction();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getTransaction <em>Transaction</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Transaction</em>' containment reference.
+ * @see #getTransaction()
+ * @generated
+ */
+ void setTransaction(Transaction value);
+
+ /**
+ * Returns the value of the '<em><b>User Task</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>User Task</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>User Task</em>' containment reference.
+ * @see #setUserTask(UserTask)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentRoot_UserTask()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='userTask' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' affiliation='http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement'"
+ * @generated
+ */
+ UserTask getUserTask();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.DocumentRoot#getUserTask <em>User Task</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>User Task</em>' containment reference.
+ * @see #getUserTask()
+ * @generated
+ */
+ void setUserTask(UserTask value);
+
+} // DocumentRoot
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Documentation.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Documentation.java
new file mode 100644
index 000000000..94ee9a88f
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Documentation.java
@@ -0,0 +1,109 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import org.eclipse.emf.ecore.util.FeatureMap;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Documentation</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.Documentation#getMixed <em>Mixed</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Documentation#getText <em>Text</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Documentation#getTextFormat <em>Text Format</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentation()
+ * @model extendedMetaData="name='tDocumentation' kind='mixed'"
+ * @generated
+ */
+public interface Documentation extends BaseElement {
+ /**
+ * Returns the value of the '<em><b>Mixed</b></em>' attribute list.
+ * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Mixed</em>' attribute list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Mixed</em>' attribute list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentation_Mixed()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
+ * extendedMetaData="kind='elementWildcard' name=':mixed'"
+ * @generated
+ */
+ FeatureMap getMixed();
+
+ /**
+ * Returns the value of the '<em><b>Text</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Text</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Text</em>' attribute.
+ * @see #setText(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentation_Text()
+ * @model required="true" volatile="true" derived="true" ordered="false"
+ * @generated
+ */
+ String getText();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Documentation#getText <em>Text</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Text</em>' attribute.
+ * @see #getText()
+ * @generated
+ */
+ void setText(String value);
+
+ /**
+ * Returns the value of the '<em><b>Text Format</b></em>' attribute.
+ * The default value is <code>"text/plain"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Text Format</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Text Format</em>' attribute.
+ * @see #setTextFormat(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getDocumentation_TextFormat()
+ * @model default="text/plain" ordered="false"
+ * extendedMetaData="kind='attribute' name='textFormat'"
+ * @generated
+ */
+ String getTextFormat();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Documentation#getTextFormat <em>Text Format</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Text Format</em>' attribute.
+ * @see #getTextFormat()
+ * @generated
+ */
+ void setTextFormat(String value);
+
+} // Documentation
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/EndEvent.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/EndEvent.java
new file mode 100644
index 000000000..1aac3db7a
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/EndEvent.java
@@ -0,0 +1,28 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>End Event</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getEndEvent()
+ * @model extendedMetaData="name='tEndEvent' kind='elementOnly'"
+ * @generated
+ */
+public interface EndEvent extends ThrowEvent {
+} // EndEvent
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/EndPoint.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/EndPoint.java
new file mode 100644
index 000000000..80bfe4f7b
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/EndPoint.java
@@ -0,0 +1,28 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>End Point</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getEndPoint()
+ * @model extendedMetaData="name='tEndPoint' kind='elementOnly'"
+ * @generated
+ */
+public interface EndPoint extends RootElement {
+} // EndPoint
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Error.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Error.java
new file mode 100644
index 000000000..bfb5222d0
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Error.java
@@ -0,0 +1,117 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Error</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.Error#getErrorCode <em>Error Code</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Error#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Error#getStructureRef <em>Structure Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getError()
+ * @model extendedMetaData="name='tError' kind='elementOnly'"
+ * @generated
+ */
+public interface Error extends RootElement {
+ /**
+ * Returns the value of the '<em><b>Error Code</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Error Code</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Error Code</em>' attribute.
+ * @see #setErrorCode(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getError_ErrorCode()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='errorCode'"
+ * @generated
+ */
+ String getErrorCode();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Error#getErrorCode <em>Error Code</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Error Code</em>' attribute.
+ * @see #getErrorCode()
+ * @generated
+ */
+ void setErrorCode(String value);
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getError_Name()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Error#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+ /**
+ * Returns the value of the '<em><b>Structure Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Structure Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Structure Ref</em>' reference.
+ * @see #setStructureRef(ItemDefinition)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getError_StructureRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='structureRef'"
+ * @generated
+ */
+ ItemDefinition getStructureRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Error#getStructureRef <em>Structure Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Structure Ref</em>' reference.
+ * @see #getStructureRef()
+ * @generated
+ */
+ void setStructureRef(ItemDefinition value);
+
+} // Error
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ErrorEventDefinition.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ErrorEventDefinition.java
new file mode 100644
index 000000000..ab0e26abc
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ErrorEventDefinition.java
@@ -0,0 +1,61 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Error Event Definition</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.ErrorEventDefinition#getErrorRef <em>Error Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getErrorEventDefinition()
+ * @model extendedMetaData="name='tErrorEventDefinition' kind='elementOnly'"
+ * @generated
+ */
+public interface ErrorEventDefinition extends EventDefinition {
+ /**
+ * Returns the value of the '<em><b>Error Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Error Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Error Ref</em>' reference.
+ * @see #setErrorRef(org.eclipse.bpmn2.Error)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getErrorEventDefinition_ErrorRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='errorRef'"
+ * @generated
+ */
+ org.eclipse.bpmn2.Error getErrorRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ErrorEventDefinition#getErrorRef <em>Error Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Error Ref</em>' reference.
+ * @see #getErrorRef()
+ * @generated
+ */
+ void setErrorRef(org.eclipse.bpmn2.Error value);
+
+} // ErrorEventDefinition
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Escalation.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Escalation.java
new file mode 100644
index 000000000..fc4f5fd4f
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Escalation.java
@@ -0,0 +1,117 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Escalation</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.Escalation#getEscalationCode <em>Escalation Code</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Escalation#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Escalation#getStructureRef <em>Structure Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getEscalation()
+ * @model extendedMetaData="name='tEscalation' kind='elementOnly'"
+ * @generated
+ */
+public interface Escalation extends RootElement {
+ /**
+ * Returns the value of the '<em><b>Escalation Code</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Escalation Code</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Escalation Code</em>' attribute.
+ * @see #setEscalationCode(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getEscalation_EscalationCode()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='escalationCode'"
+ * @generated
+ */
+ String getEscalationCode();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Escalation#getEscalationCode <em>Escalation Code</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Escalation Code</em>' attribute.
+ * @see #getEscalationCode()
+ * @generated
+ */
+ void setEscalationCode(String value);
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getEscalation_Name()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Escalation#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+ /**
+ * Returns the value of the '<em><b>Structure Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Structure Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Structure Ref</em>' reference.
+ * @see #setStructureRef(ItemDefinition)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getEscalation_StructureRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='structureRef'"
+ * @generated
+ */
+ ItemDefinition getStructureRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Escalation#getStructureRef <em>Structure Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Structure Ref</em>' reference.
+ * @see #getStructureRef()
+ * @generated
+ */
+ void setStructureRef(ItemDefinition value);
+
+} // Escalation
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/EscalationEventDefinition.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/EscalationEventDefinition.java
new file mode 100644
index 000000000..e26e08168
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/EscalationEventDefinition.java
@@ -0,0 +1,61 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Escalation Event Definition</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.EscalationEventDefinition#getEscalationRef <em>Escalation Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getEscalationEventDefinition()
+ * @model extendedMetaData="name='tEscalationEventDefinition' kind='elementOnly'"
+ * @generated
+ */
+public interface EscalationEventDefinition extends EventDefinition {
+ /**
+ * Returns the value of the '<em><b>Escalation Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Escalation Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Escalation Ref</em>' reference.
+ * @see #setEscalationRef(Escalation)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getEscalationEventDefinition_EscalationRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='escalationRef'"
+ * @generated
+ */
+ Escalation getEscalationRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.EscalationEventDefinition#getEscalationRef <em>Escalation Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Escalation Ref</em>' reference.
+ * @see #getEscalationRef()
+ * @generated
+ */
+ void setEscalationRef(Escalation value);
+
+} // EscalationEventDefinition
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Event.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Event.java
new file mode 100644
index 000000000..fe20b61d5
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Event.java
@@ -0,0 +1,54 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Event</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.Event#getProperties <em>Properties</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getEvent()
+ * @model abstract="true"
+ * extendedMetaData="name='tEvent' kind='elementOnly'"
+ * @generated
+ */
+public interface Event extends FlowNode, InteractionNode {
+ /**
+ * Returns the value of the '<em><b>Properties</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.Property}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Properties</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Properties</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getEvent_Properties()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='property' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<Property> getProperties();
+
+} // Event
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/EventBasedGateway.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/EventBasedGateway.java
new file mode 100644
index 000000000..14eac7a60
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/EventBasedGateway.java
@@ -0,0 +1,94 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Event Based Gateway</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.EventBasedGateway#getEventGatewayType <em>Event Gateway Type</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.EventBasedGateway#isInstantiate <em>Instantiate</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getEventBasedGateway()
+ * @model extendedMetaData="name='tEventBasedGateway' kind='elementOnly'"
+ * @generated
+ */
+public interface EventBasedGateway extends Gateway {
+ /**
+ * Returns the value of the '<em><b>Event Gateway Type</b></em>' attribute.
+ * The default value is <code>"Exclusive"</code>.
+ * The literals are from the enumeration {@link org.eclipse.bpmn2.EventBasedGatewayType}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Event Gateway Type</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Event Gateway Type</em>' attribute.
+ * @see org.eclipse.bpmn2.EventBasedGatewayType
+ * @see #setEventGatewayType(EventBasedGatewayType)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getEventBasedGateway_EventGatewayType()
+ * @model default="Exclusive" ordered="false"
+ * extendedMetaData="kind='attribute' name='eventGatewayType'"
+ * @generated
+ */
+ EventBasedGatewayType getEventGatewayType();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.EventBasedGateway#getEventGatewayType <em>Event Gateway Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Event Gateway Type</em>' attribute.
+ * @see org.eclipse.bpmn2.EventBasedGatewayType
+ * @see #getEventGatewayType()
+ * @generated
+ */
+ void setEventGatewayType(EventBasedGatewayType value);
+
+ /**
+ * Returns the value of the '<em><b>Instantiate</b></em>' attribute.
+ * The default value is <code>"false"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Instantiate</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Instantiate</em>' attribute.
+ * @see #setInstantiate(boolean)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getEventBasedGateway_Instantiate()
+ * @model default="false" ordered="false"
+ * extendedMetaData="kind='attribute' name='instantiate'"
+ * @generated
+ */
+ boolean isInstantiate();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.EventBasedGateway#isInstantiate <em>Instantiate</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Instantiate</em>' attribute.
+ * @see #isInstantiate()
+ * @generated
+ */
+ void setInstantiate(boolean value);
+
+} // EventBasedGateway
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/EventBasedGatewayType.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/EventBasedGatewayType.java
new file mode 100644
index 000000000..233ebc488
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/EventBasedGatewayType.java
@@ -0,0 +1,220 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+import org.eclipse.emf.common.util.Enumerator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the literals of the enumeration '<em><b>Event Based Gateway Type</b></em>',
+ * and utility methods for working with them.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.Bpmn2Package#getEventBasedGatewayType()
+ * @model extendedMetaData="name='tEventBasedGatewayType'"
+ * @generated
+ */
+public enum EventBasedGatewayType implements Enumerator {
+ /**
+ * The '<em><b>Parallel</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #PARALLEL_VALUE
+ * @generated
+ * @ordered
+ */
+ PARALLEL(0, "Parallel", "Parallel"),
+
+ /**
+ * The '<em><b>Exclusive</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #EXCLUSIVE_VALUE
+ * @generated
+ * @ordered
+ */
+ EXCLUSIVE(1, "Exclusive", "Exclusive");
+
+ /**
+ * The '<em><b>Parallel</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Parallel</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #PARALLEL
+ * @model name="Parallel"
+ * @generated
+ * @ordered
+ */
+ public static final int PARALLEL_VALUE = 0;
+
+ /**
+ * The '<em><b>Exclusive</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Exclusive</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #EXCLUSIVE
+ * @model name="Exclusive"
+ * @generated
+ * @ordered
+ */
+ public static final int EXCLUSIVE_VALUE = 1;
+
+ /**
+ * An array of all the '<em><b>Event Based Gateway Type</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final EventBasedGatewayType[] VALUES_ARRAY = new EventBasedGatewayType[] {
+ PARALLEL, EXCLUSIVE, };
+
+ /**
+ * A public read-only list of all the '<em><b>Event Based Gateway Type</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<EventBasedGatewayType> VALUES = Collections
+ .unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>Event Based Gateway Type</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static EventBasedGatewayType get(String literal) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ EventBasedGatewayType result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Event Based Gateway Type</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static EventBasedGatewayType getByName(String name) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ EventBasedGatewayType result = VALUES_ARRAY[i];
+ if (result.getName().equals(name)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Event Based Gateway Type</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static EventBasedGatewayType get(int value) {
+ switch (value) {
+ case PARALLEL_VALUE:
+ return PARALLEL;
+ case EXCLUSIVE_VALUE:
+ return EXCLUSIVE;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final int value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String name;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String literal;
+
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EventBasedGatewayType(int value, String name, String literal) {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLiteral() {
+ return literal;
+ }
+
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ return literal;
+ }
+
+} //EventBasedGatewayType
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/EventDefinition.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/EventDefinition.java
new file mode 100644
index 000000000..ab9fad0df
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/EventDefinition.java
@@ -0,0 +1,28 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Event Definition</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getEventDefinition()
+ * @model extendedMetaData="name='tEventDefinition' kind='elementOnly' abstract='true'"
+ * @generated
+ */
+public interface EventDefinition extends RootElement {
+} // EventDefinition
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ExclusiveGateway.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ExclusiveGateway.java
new file mode 100644
index 000000000..162b2aaef
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ExclusiveGateway.java
@@ -0,0 +1,61 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Exclusive Gateway</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.ExclusiveGateway#getDefault <em>Default</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getExclusiveGateway()
+ * @model extendedMetaData="name='tExclusiveGateway' kind='elementOnly'"
+ * @generated
+ */
+public interface ExclusiveGateway extends Gateway {
+ /**
+ * Returns the value of the '<em><b>Default</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Default</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Default</em>' reference.
+ * @see #setDefault(SequenceFlow)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getExclusiveGateway_Default()
+ * @model resolveProxies="false" ordered="false"
+ * extendedMetaData="kind='attribute' name='default'"
+ * @generated
+ */
+ SequenceFlow getDefault();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ExclusiveGateway#getDefault <em>Default</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Default</em>' reference.
+ * @see #getDefault()
+ * @generated
+ */
+ void setDefault(SequenceFlow value);
+
+} // ExclusiveGateway
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Expression.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Expression.java
new file mode 100644
index 000000000..4af94e3e2
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Expression.java
@@ -0,0 +1,28 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Expression</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getExpression()
+ * @model extendedMetaData="name='tExpression' kind='mixed'"
+ * @generated
+ */
+public interface Expression extends BaseElement {
+} // Expression
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Extension.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Extension.java
new file mode 100644
index 000000000..282599fdc
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Extension.java
@@ -0,0 +1,121 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import javax.xml.namespace.QName;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Extension</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.Extension#getDefinition <em>Definition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Extension#isMustUnderstand <em>Must Understand</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Extension#getXsdDefinition <em>Xsd Definition</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getExtension()
+ * @model extendedMetaData="name='tExtension' kind='elementOnly'"
+ * @generated
+ */
+public interface Extension extends EObject {
+ /**
+ * Returns the value of the '<em><b>Definition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Definition</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Definition</em>' containment reference.
+ * @see #setDefinition(ExtensionDefinition)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getExtension_Definition()
+ * @model containment="true" required="true" ordered="false"
+ * @generated
+ */
+ ExtensionDefinition getDefinition();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Extension#getDefinition <em>Definition</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Definition</em>' containment reference.
+ * @see #getDefinition()
+ * @generated
+ */
+ void setDefinition(ExtensionDefinition value);
+
+ /**
+ * Returns the value of the '<em><b>Must Understand</b></em>' attribute.
+ * The default value is <code>"false"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Must Understand</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Must Understand</em>' attribute.
+ * @see #setMustUnderstand(boolean)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getExtension_MustUnderstand()
+ * @model default="false" ordered="false"
+ * extendedMetaData="kind='attribute' name='mustUnderstand'"
+ * @generated
+ */
+ boolean isMustUnderstand();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Extension#isMustUnderstand <em>Must Understand</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Must Understand</em>' attribute.
+ * @see #isMustUnderstand()
+ * @generated
+ */
+ void setMustUnderstand(boolean value);
+
+ /**
+ * Returns the value of the '<em><b>Xsd Definition</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xsd Definition</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xsd Definition</em>' attribute.
+ * @see #setXsdDefinition(QName)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getExtension_XsdDefinition()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.QName"
+ * extendedMetaData="kind='attribute' name='definition'"
+ * @generated
+ */
+ QName getXsdDefinition();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Extension#getXsdDefinition <em>Xsd Definition</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xsd Definition</em>' attribute.
+ * @see #getXsdDefinition()
+ * @generated
+ */
+ void setXsdDefinition(QName value);
+
+} // Extension
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ExtensionAttributeDefinition.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ExtensionAttributeDefinition.java
new file mode 100644
index 000000000..e0c5107f9
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ExtensionAttributeDefinition.java
@@ -0,0 +1,146 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Extension Attribute Definition</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.ExtensionAttributeDefinition#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ExtensionAttributeDefinition#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ExtensionAttributeDefinition#isIsReference <em>Is Reference</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ExtensionAttributeDefinition#getExtensionDefinition <em>Extension Definition</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getExtensionAttributeDefinition()
+ * @model
+ * @generated
+ */
+public interface ExtensionAttributeDefinition extends EObject {
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getExtensionAttributeDefinition_Name()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ExtensionAttributeDefinition#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+ /**
+ * Returns the value of the '<em><b>Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Type</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Type</em>' attribute.
+ * @see #setType(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getExtensionAttributeDefinition_Type()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ String getType();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ExtensionAttributeDefinition#getType <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Type</em>' attribute.
+ * @see #getType()
+ * @generated
+ */
+ void setType(String value);
+
+ /**
+ * Returns the value of the '<em><b>Is Reference</b></em>' attribute.
+ * The default value is <code>"false"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Is Reference</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Is Reference</em>' attribute.
+ * @see #setIsReference(boolean)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getExtensionAttributeDefinition_IsReference()
+ * @model default="false" required="true" ordered="false"
+ * @generated
+ */
+ boolean isIsReference();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ExtensionAttributeDefinition#isIsReference <em>Is Reference</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Is Reference</em>' attribute.
+ * @see #isIsReference()
+ * @generated
+ */
+ void setIsReference(boolean value);
+
+ /**
+ * Returns the value of the '<em><b>Extension Definition</b></em>' container reference.
+ * It is bidirectional and its opposite is '{@link org.eclipse.bpmn2.ExtensionDefinition#getExtensionAttributeDefinitions <em>Extension Attribute Definitions</em>}'.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Extension Definition</em>' container reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Extension Definition</em>' container reference.
+ * @see #setExtensionDefinition(ExtensionDefinition)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getExtensionAttributeDefinition_ExtensionDefinition()
+ * @see org.eclipse.bpmn2.ExtensionDefinition#getExtensionAttributeDefinitions
+ * @model opposite="extensionAttributeDefinitions" resolveProxies="false" required="true" derived="true" ordered="false"
+ * @generated
+ */
+ ExtensionDefinition getExtensionDefinition();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ExtensionAttributeDefinition#getExtensionDefinition <em>Extension Definition</em>}' container reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Extension Definition</em>' container reference.
+ * @see #getExtensionDefinition()
+ * @generated
+ */
+ void setExtensionDefinition(ExtensionDefinition value);
+
+} // ExtensionAttributeDefinition
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ExtensionAttributeValue.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ExtensionAttributeValue.java
new file mode 100644
index 000000000..d73e148b6
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ExtensionAttributeValue.java
@@ -0,0 +1,109 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.ecore.util.FeatureMap;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Extension Attribute Value</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.ExtensionAttributeValue#getValueRef <em>Value Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ExtensionAttributeValue#getValue <em>Value</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ExtensionAttributeValue#getExtensionAttributeDefinition <em>Extension Attribute Definition</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getExtensionAttributeValue()
+ * @model extendedMetaData="name='tExtensionElements' kind='elementOnly'"
+ * @generated
+ */
+public interface ExtensionAttributeValue extends EObject {
+ /**
+ * Returns the value of the '<em><b>Value Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Value Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Value Ref</em>' reference.
+ * @see #setValueRef(Object)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getExtensionAttributeValue_ValueRef()
+ * @model transient="true" derived="true" ordered="false"
+ * @generated
+ */
+ Object getValueRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ExtensionAttributeValue#getValueRef <em>Value Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Value Ref</em>' reference.
+ * @see #getValueRef()
+ * @generated
+ */
+ void setValueRef(Object value);
+
+ /**
+ * Returns the value of the '<em><b>Value</b></em>' attribute list.
+ * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Value</em>' attribute list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Value</em>' attribute list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getExtensionAttributeValue_Value()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
+ * extendedMetaData="kind='elementWildcard' wildcards='##other' name=':0' processing='lax'"
+ * @generated
+ */
+ FeatureMap getValue();
+
+ /**
+ * Returns the value of the '<em><b>Extension Attribute Definition</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Extension Attribute Definition</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Extension Attribute Definition</em>' reference.
+ * @see #setExtensionAttributeDefinition(ExtensionAttributeDefinition)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getExtensionAttributeValue_ExtensionAttributeDefinition()
+ * @model required="true" transient="true" derived="true" ordered="false"
+ * @generated
+ */
+ ExtensionAttributeDefinition getExtensionAttributeDefinition();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ExtensionAttributeValue#getExtensionAttributeDefinition <em>Extension Attribute Definition</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Extension Attribute Definition</em>' reference.
+ * @see #getExtensionAttributeDefinition()
+ * @generated
+ */
+ void setExtensionAttributeDefinition(ExtensionAttributeDefinition value);
+
+} // ExtensionAttributeValue
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ExtensionDefinition.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ExtensionDefinition.java
new file mode 100644
index 000000000..4e0f0653c
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ExtensionDefinition.java
@@ -0,0 +1,83 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Extension Definition</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.ExtensionDefinition#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ExtensionDefinition#getExtensionAttributeDefinitions <em>Extension Attribute Definitions</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getExtensionDefinition()
+ * @model
+ * @generated
+ */
+public interface ExtensionDefinition extends EObject {
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getExtensionDefinition_Name()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ExtensionDefinition#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+ /**
+ * Returns the value of the '<em><b>Extension Attribute Definitions</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.ExtensionAttributeDefinition}.
+ * It is bidirectional and its opposite is '{@link org.eclipse.bpmn2.ExtensionAttributeDefinition#getExtensionDefinition <em>Extension Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Extension Attribute Definitions</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Extension Attribute Definitions</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getExtensionDefinition_ExtensionAttributeDefinitions()
+ * @see org.eclipse.bpmn2.ExtensionAttributeDefinition#getExtensionDefinition
+ * @model opposite="extensionDefinition" containment="true" transient="true" derived="true" ordered="false"
+ * @generated
+ */
+ List<ExtensionAttributeDefinition> getExtensionAttributeDefinitions();
+
+} // ExtensionDefinition
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/FlowElement.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/FlowElement.java
new file mode 100644
index 000000000..83669f396
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/FlowElement.java
@@ -0,0 +1,138 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Flow Element</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.FlowElement#getAuditing <em>Auditing</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.FlowElement#getMonitoring <em>Monitoring</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.FlowElement#getCategoryValueRef <em>Category Value Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.FlowElement#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getFlowElement()
+ * @model abstract="true"
+ * extendedMetaData="name='tFlowElement' kind='elementOnly'"
+ * @generated
+ */
+public interface FlowElement extends BaseElement {
+ /**
+ * Returns the value of the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Auditing</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Auditing</em>' containment reference.
+ * @see #setAuditing(Auditing)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getFlowElement_Auditing()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='auditing' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Auditing getAuditing();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.FlowElement#getAuditing <em>Auditing</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Auditing</em>' containment reference.
+ * @see #getAuditing()
+ * @generated
+ */
+ void setAuditing(Auditing value);
+
+ /**
+ * Returns the value of the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Monitoring</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Monitoring</em>' containment reference.
+ * @see #setMonitoring(Monitoring)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getFlowElement_Monitoring()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='monitoring' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Monitoring getMonitoring();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.FlowElement#getMonitoring <em>Monitoring</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Monitoring</em>' containment reference.
+ * @see #getMonitoring()
+ * @generated
+ */
+ void setMonitoring(Monitoring value);
+
+ /**
+ * Returns the value of the '<em><b>Category Value Ref</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.CategoryValue}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Category Value Ref</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Category Value Ref</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getFlowElement_CategoryValueRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='element' name='categoryValueRef' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<CategoryValue> getCategoryValueRef();
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getFlowElement_Name()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.FlowElement#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+} // FlowElement
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/FlowElementsContainer.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/FlowElementsContainer.java
new file mode 100644
index 000000000..05dc6751b
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/FlowElementsContainer.java
@@ -0,0 +1,71 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Flow Elements Container</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.FlowElementsContainer#getLaneSets <em>Lane Sets</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.FlowElementsContainer#getFlowElements <em>Flow Elements</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getFlowElementsContainer()
+ * @model abstract="true"
+ * @generated
+ */
+public interface FlowElementsContainer extends BaseElement {
+ /**
+ * Returns the value of the '<em><b>Lane Sets</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.LaneSet}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Lane Sets</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Lane Sets</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getFlowElementsContainer_LaneSets()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='laneSet' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<LaneSet> getLaneSets();
+
+ /**
+ * Returns the value of the '<em><b>Flow Elements</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.FlowElement}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Flow Elements</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Flow Elements</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getFlowElementsContainer_FlowElements()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='flowElement' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' group='http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement'"
+ * @generated
+ */
+ List<FlowElement> getFlowElements();
+
+} // FlowElementsContainer
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/FlowNode.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/FlowNode.java
new file mode 100644
index 000000000..17feeba9f
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/FlowNode.java
@@ -0,0 +1,95 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Flow Node</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.FlowNode#getIncoming <em>Incoming</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.FlowNode#getLanes <em>Lanes</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.FlowNode#getOutgoing <em>Outgoing</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getFlowNode()
+ * @model abstract="true"
+ * extendedMetaData="name='tFlowNode' kind='elementOnly'"
+ * @generated
+ */
+public interface FlowNode extends FlowElement {
+ /**
+ * Returns the value of the '<em><b>Incoming</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.SequenceFlow}.
+ * It is bidirectional and its opposite is '{@link org.eclipse.bpmn2.SequenceFlow#getTargetRef <em>Target Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Incoming</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Incoming</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getFlowNode_Incoming()
+ * @see org.eclipse.bpmn2.SequenceFlow#getTargetRef
+ * @model opposite="targetRef" resolveProxies="false" ordered="false"
+ * extendedMetaData="kind='element' name='incoming' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<SequenceFlow> getIncoming();
+
+ /**
+ * Returns the value of the '<em><b>Lanes</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.Lane}.
+ * It is bidirectional and its opposite is '{@link org.eclipse.bpmn2.Lane#getFlowNodeRefs <em>Flow Node Refs</em>}'.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Lanes</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Lanes</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getFlowNode_Lanes()
+ * @see org.eclipse.bpmn2.Lane#getFlowNodeRefs
+ * @model opposite="flowNodeRefs" transient="true" derived="true" ordered="false"
+ * @generated
+ */
+ List<Lane> getLanes();
+
+ /**
+ * Returns the value of the '<em><b>Outgoing</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.SequenceFlow}.
+ * It is bidirectional and its opposite is '{@link org.eclipse.bpmn2.SequenceFlow#getSourceRef <em>Source Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Outgoing</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Outgoing</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getFlowNode_Outgoing()
+ * @see org.eclipse.bpmn2.SequenceFlow#getSourceRef
+ * @model opposite="sourceRef" resolveProxies="false"
+ * extendedMetaData="kind='element' name='outgoing' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<SequenceFlow> getOutgoing();
+
+} // FlowNode
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/FormalExpression.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/FormalExpression.java
new file mode 100644
index 000000000..008c746ea
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/FormalExpression.java
@@ -0,0 +1,136 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import org.eclipse.emf.ecore.util.FeatureMap;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Formal Expression</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.FormalExpression#getMixed <em>Mixed</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.FormalExpression#getBody <em>Body</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.FormalExpression#getEvaluatesToTypeRef <em>Evaluates To Type Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.FormalExpression#getLanguage <em>Language</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getFormalExpression()
+ * @model extendedMetaData="name='tFormalExpression' kind='mixed'"
+ * @generated
+ */
+public interface FormalExpression extends Expression {
+ /**
+ * Returns the value of the '<em><b>Mixed</b></em>' attribute list.
+ * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Mixed</em>' attribute list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Mixed</em>' attribute list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getFormalExpression_Mixed()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
+ * extendedMetaData="kind='elementWildcard' name=':mixed'"
+ * @generated
+ */
+ FeatureMap getMixed();
+
+ /**
+ * Returns the value of the '<em><b>Body</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Body</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Body</em>' attribute.
+ * @see #setBody(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getFormalExpression_Body()
+ * @model required="true" volatile="true" derived="true" ordered="false"
+ * @generated
+ */
+ String getBody();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.FormalExpression#getBody <em>Body</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Body</em>' attribute.
+ * @see #getBody()
+ * @generated
+ */
+ void setBody(String value);
+
+ /**
+ * Returns the value of the '<em><b>Evaluates To Type Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Evaluates To Type Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Evaluates To Type Ref</em>' reference.
+ * @see #setEvaluatesToTypeRef(ItemDefinition)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getFormalExpression_EvaluatesToTypeRef()
+ * @model required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='evaluatesToTypeRef'"
+ * @generated
+ */
+ ItemDefinition getEvaluatesToTypeRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.FormalExpression#getEvaluatesToTypeRef <em>Evaluates To Type Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Evaluates To Type Ref</em>' reference.
+ * @see #getEvaluatesToTypeRef()
+ * @generated
+ */
+ void setEvaluatesToTypeRef(ItemDefinition value);
+
+ /**
+ * Returns the value of the '<em><b>Language</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Language</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Language</em>' attribute.
+ * @see #setLanguage(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getFormalExpression_Language()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='language'"
+ * @generated
+ */
+ String getLanguage();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.FormalExpression#getLanguage <em>Language</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Language</em>' attribute.
+ * @see #getLanguage()
+ * @generated
+ */
+ void setLanguage(String value);
+
+} // FormalExpression
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Gateway.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Gateway.java
new file mode 100644
index 000000000..cdfcfd5f5
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Gateway.java
@@ -0,0 +1,66 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Gateway</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.Gateway#getGatewayDirection <em>Gateway Direction</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getGateway()
+ * @model abstract="true"
+ * extendedMetaData="name='tGateway' kind='elementOnly'"
+ * @generated
+ */
+public interface Gateway extends FlowNode {
+ /**
+ * Returns the value of the '<em><b>Gateway Direction</b></em>' attribute.
+ * The default value is <code>"Unspecified"</code>.
+ * The literals are from the enumeration {@link org.eclipse.bpmn2.GatewayDirection}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Gateway Direction</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Gateway Direction</em>' attribute.
+ * @see org.eclipse.bpmn2.GatewayDirection
+ * @see #setGatewayDirection(GatewayDirection)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getGateway_GatewayDirection()
+ * @model default="Unspecified" ordered="false"
+ * extendedMetaData="kind='attribute' name='gatewayDirection'"
+ * @generated
+ */
+ GatewayDirection getGatewayDirection();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Gateway#getGatewayDirection <em>Gateway Direction</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Gateway Direction</em>' attribute.
+ * @see org.eclipse.bpmn2.GatewayDirection
+ * @see #getGatewayDirection()
+ * @generated
+ */
+ void setGatewayDirection(GatewayDirection value);
+
+} // Gateway
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/GatewayDirection.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/GatewayDirection.java
new file mode 100644
index 000000000..a7ff54d7d
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/GatewayDirection.java
@@ -0,0 +1,274 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+import org.eclipse.emf.common.util.Enumerator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the literals of the enumeration '<em><b>Gateway Direction</b></em>',
+ * and utility methods for working with them.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.Bpmn2Package#getGatewayDirection()
+ * @model extendedMetaData="name='tGatewayDirection'"
+ * @generated
+ */
+public enum GatewayDirection implements Enumerator {
+ /**
+ * The '<em><b>Unspecified</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #UNSPECIFIED_VALUE
+ * @generated
+ * @ordered
+ */
+ UNSPECIFIED(0, "Unspecified", "Unspecified"),
+
+ /**
+ * The '<em><b>Converging</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #CONVERGING_VALUE
+ * @generated
+ * @ordered
+ */
+ CONVERGING(1, "Converging", "Converging"),
+
+ /**
+ * The '<em><b>Diverging</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #DIVERGING_VALUE
+ * @generated
+ * @ordered
+ */
+ DIVERGING(2, "Diverging", "Diverging"),
+
+ /**
+ * The '<em><b>Mixed</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #MIXED_VALUE
+ * @generated
+ * @ordered
+ */
+ MIXED(3, "Mixed", "Mixed");
+
+ /**
+ * The '<em><b>Unspecified</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Unspecified</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #UNSPECIFIED
+ * @model name="Unspecified"
+ * @generated
+ * @ordered
+ */
+ public static final int UNSPECIFIED_VALUE = 0;
+
+ /**
+ * The '<em><b>Converging</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Converging</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #CONVERGING
+ * @model name="Converging"
+ * @generated
+ * @ordered
+ */
+ public static final int CONVERGING_VALUE = 1;
+
+ /**
+ * The '<em><b>Diverging</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Diverging</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #DIVERGING
+ * @model name="Diverging"
+ * @generated
+ * @ordered
+ */
+ public static final int DIVERGING_VALUE = 2;
+
+ /**
+ * The '<em><b>Mixed</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Mixed</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #MIXED
+ * @model name="Mixed"
+ * @generated
+ * @ordered
+ */
+ public static final int MIXED_VALUE = 3;
+
+ /**
+ * An array of all the '<em><b>Gateway Direction</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final GatewayDirection[] VALUES_ARRAY = new GatewayDirection[] {
+ UNSPECIFIED, CONVERGING, DIVERGING, MIXED, };
+
+ /**
+ * A public read-only list of all the '<em><b>Gateway Direction</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<GatewayDirection> VALUES = Collections
+ .unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>Gateway Direction</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static GatewayDirection get(String literal) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ GatewayDirection result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Gateway Direction</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static GatewayDirection getByName(String name) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ GatewayDirection result = VALUES_ARRAY[i];
+ if (result.getName().equals(name)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Gateway Direction</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static GatewayDirection get(int value) {
+ switch (value) {
+ case UNSPECIFIED_VALUE:
+ return UNSPECIFIED;
+ case CONVERGING_VALUE:
+ return CONVERGING;
+ case DIVERGING_VALUE:
+ return DIVERGING;
+ case MIXED_VALUE:
+ return MIXED;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final int value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String name;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String literal;
+
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private GatewayDirection(int value, String name, String literal) {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLiteral() {
+ return literal;
+ }
+
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ return literal;
+ }
+
+} //GatewayDirection
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/GlobalBusinessRuleTask.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/GlobalBusinessRuleTask.java
new file mode 100644
index 000000000..055bff257
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/GlobalBusinessRuleTask.java
@@ -0,0 +1,61 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Global Business Rule Task</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.GlobalBusinessRuleTask#getImplementation <em>Implementation</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getGlobalBusinessRuleTask()
+ * @model extendedMetaData="name='tGlobalBusinessRuleTask' kind='elementOnly'"
+ * @generated
+ */
+public interface GlobalBusinessRuleTask extends GlobalTask {
+ /**
+ * Returns the value of the '<em><b>Implementation</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Implementation</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Implementation</em>' attribute.
+ * @see #setImplementation(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getGlobalBusinessRuleTask_Implementation()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='implementation'"
+ * @generated
+ */
+ String getImplementation();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.GlobalBusinessRuleTask#getImplementation <em>Implementation</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Implementation</em>' attribute.
+ * @see #getImplementation()
+ * @generated
+ */
+ void setImplementation(String value);
+
+} // GlobalBusinessRuleTask
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/GlobalChoreographyTask.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/GlobalChoreographyTask.java
new file mode 100644
index 000000000..4c6a7d4ea
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/GlobalChoreographyTask.java
@@ -0,0 +1,61 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Global Choreography Task</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.GlobalChoreographyTask#getInitiatingParticipantRef <em>Initiating Participant Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getGlobalChoreographyTask()
+ * @model extendedMetaData="name='tGlobalChoreographyTask' kind='elementOnly'"
+ * @generated
+ */
+public interface GlobalChoreographyTask extends Choreography {
+ /**
+ * Returns the value of the '<em><b>Initiating Participant Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Initiating Participant Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Initiating Participant Ref</em>' reference.
+ * @see #setInitiatingParticipantRef(Participant)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getGlobalChoreographyTask_InitiatingParticipantRef()
+ * @model required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='initiatingParticipantRef'"
+ * @generated
+ */
+ Participant getInitiatingParticipantRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.GlobalChoreographyTask#getInitiatingParticipantRef <em>Initiating Participant Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Initiating Participant Ref</em>' reference.
+ * @see #getInitiatingParticipantRef()
+ * @generated
+ */
+ void setInitiatingParticipantRef(Participant value);
+
+} // GlobalChoreographyTask
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/GlobalConversation.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/GlobalConversation.java
new file mode 100644
index 000000000..6b374ab2a
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/GlobalConversation.java
@@ -0,0 +1,28 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Global Conversation</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getGlobalConversation()
+ * @model extendedMetaData="name='tGlobalConversation' kind='elementOnly'"
+ * @generated
+ */
+public interface GlobalConversation extends Collaboration {
+} // GlobalConversation
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/GlobalManualTask.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/GlobalManualTask.java
new file mode 100644
index 000000000..6f66c566a
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/GlobalManualTask.java
@@ -0,0 +1,28 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Global Manual Task</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getGlobalManualTask()
+ * @model extendedMetaData="name='tGlobalManualTask' kind='elementOnly'"
+ * @generated
+ */
+public interface GlobalManualTask extends GlobalTask {
+} // GlobalManualTask
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/GlobalScriptTask.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/GlobalScriptTask.java
new file mode 100644
index 000000000..c05c844a6
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/GlobalScriptTask.java
@@ -0,0 +1,89 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Global Script Task</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.GlobalScriptTask#getScript <em>Script</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.GlobalScriptTask#getScriptLanguage <em>Script Language</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getGlobalScriptTask()
+ * @model extendedMetaData="name='tGlobalScriptTask' kind='elementOnly'"
+ * @generated
+ */
+public interface GlobalScriptTask extends GlobalTask {
+ /**
+ * Returns the value of the '<em><b>Script</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Script</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Script</em>' attribute.
+ * @see #setScript(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getGlobalScriptTask_Script()
+ * @model required="true" ordered="false"
+ * extendedMetaData="kind='element' name='script' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ String getScript();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.GlobalScriptTask#getScript <em>Script</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Script</em>' attribute.
+ * @see #getScript()
+ * @generated
+ */
+ void setScript(String value);
+
+ /**
+ * Returns the value of the '<em><b>Script Language</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Script Language</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Script Language</em>' attribute.
+ * @see #setScriptLanguage(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getGlobalScriptTask_ScriptLanguage()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='scriptLanguage'"
+ * @generated
+ */
+ String getScriptLanguage();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.GlobalScriptTask#getScriptLanguage <em>Script Language</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Script Language</em>' attribute.
+ * @see #getScriptLanguage()
+ * @generated
+ */
+ void setScriptLanguage(String value);
+
+} // GlobalScriptTask
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/GlobalTask.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/GlobalTask.java
new file mode 100644
index 000000000..c03ce7b79
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/GlobalTask.java
@@ -0,0 +1,53 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Global Task</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.GlobalTask#getResources <em>Resources</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getGlobalTask()
+ * @model extendedMetaData="name='tGlobalTask' kind='elementOnly'"
+ * @generated
+ */
+public interface GlobalTask extends CallableElement {
+ /**
+ * Returns the value of the '<em><b>Resources</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.ResourceRole}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Resources</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Resources</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getGlobalTask_Resources()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='resourceRole' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' group='http://www.omg.org/spec/BPMN/20100524/MODEL#resourceRole'"
+ * @generated
+ */
+ List<ResourceRole> getResources();
+
+} // GlobalTask
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/GlobalUserTask.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/GlobalUserTask.java
new file mode 100644
index 000000000..c318741f1
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/GlobalUserTask.java
@@ -0,0 +1,81 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Global User Task</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.GlobalUserTask#getRenderings <em>Renderings</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.GlobalUserTask#getImplementation <em>Implementation</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getGlobalUserTask()
+ * @model extendedMetaData="name='tGlobalUserTask' kind='elementOnly'"
+ * @generated
+ */
+public interface GlobalUserTask extends GlobalTask {
+ /**
+ * Returns the value of the '<em><b>Renderings</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.Rendering}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Renderings</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Renderings</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getGlobalUserTask_Renderings()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='rendering' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<Rendering> getRenderings();
+
+ /**
+ * Returns the value of the '<em><b>Implementation</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Implementation</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Implementation</em>' attribute.
+ * @see #setImplementation(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getGlobalUserTask_Implementation()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='implementation'"
+ * @generated
+ */
+ String getImplementation();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.GlobalUserTask#getImplementation <em>Implementation</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Implementation</em>' attribute.
+ * @see #getImplementation()
+ * @generated
+ */
+ void setImplementation(String value);
+
+} // GlobalUserTask
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Group.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Group.java
new file mode 100644
index 000000000..2f64afbec
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Group.java
@@ -0,0 +1,61 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Group</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.Group#getCategoryValueRef <em>Category Value Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getGroup()
+ * @model extendedMetaData="name='tGroup' kind='elementOnly'"
+ * @generated
+ */
+public interface Group extends Artifact {
+ /**
+ * Returns the value of the '<em><b>Category Value Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Category Value Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Category Value Ref</em>' reference.
+ * @see #setCategoryValueRef(CategoryValue)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getGroup_CategoryValueRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='categoryValueRef'"
+ * @generated
+ */
+ CategoryValue getCategoryValueRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Group#getCategoryValueRef <em>Category Value Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Category Value Ref</em>' reference.
+ * @see #getCategoryValueRef()
+ * @generated
+ */
+ void setCategoryValueRef(CategoryValue value);
+
+} // Group
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/HumanPerformer.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/HumanPerformer.java
new file mode 100644
index 000000000..51935f5a8
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/HumanPerformer.java
@@ -0,0 +1,28 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Human Performer</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getHumanPerformer()
+ * @model extendedMetaData="name='tHumanPerformer' kind='elementOnly'"
+ * @generated
+ */
+public interface HumanPerformer extends Performer {
+} // HumanPerformer
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ImplicitThrowEvent.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ImplicitThrowEvent.java
new file mode 100644
index 000000000..d39474300
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ImplicitThrowEvent.java
@@ -0,0 +1,28 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Implicit Throw Event</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getImplicitThrowEvent()
+ * @model extendedMetaData="name='tImplicitThrowEvent' kind='elementOnly'"
+ * @generated
+ */
+public interface ImplicitThrowEvent extends ThrowEvent {
+} // ImplicitThrowEvent
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Import.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Import.java
new file mode 100644
index 000000000..80644c030
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Import.java
@@ -0,0 +1,119 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Import</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.Import#getImportType <em>Import Type</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Import#getLocation <em>Location</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Import#getNamespace <em>Namespace</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getImport()
+ * @model extendedMetaData="name='tImport' kind='empty'"
+ * @generated
+ */
+public interface Import extends EObject {
+ /**
+ * Returns the value of the '<em><b>Import Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Import Type</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Import Type</em>' attribute.
+ * @see #setImportType(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getImport_ImportType()
+ * @model required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='importType'"
+ * @generated
+ */
+ String getImportType();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Import#getImportType <em>Import Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Import Type</em>' attribute.
+ * @see #getImportType()
+ * @generated
+ */
+ void setImportType(String value);
+
+ /**
+ * Returns the value of the '<em><b>Location</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Location</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Location</em>' attribute.
+ * @see #setLocation(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getImport_Location()
+ * @model required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='location'"
+ * @generated
+ */
+ String getLocation();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Import#getLocation <em>Location</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Location</em>' attribute.
+ * @see #getLocation()
+ * @generated
+ */
+ void setLocation(String value);
+
+ /**
+ * Returns the value of the '<em><b>Namespace</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Namespace</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Namespace</em>' attribute.
+ * @see #setNamespace(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getImport_Namespace()
+ * @model required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='namespace'"
+ * @generated
+ */
+ String getNamespace();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Import#getNamespace <em>Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Namespace</em>' attribute.
+ * @see #getNamespace()
+ * @generated
+ */
+ void setNamespace(String value);
+
+} // Import
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/InclusiveGateway.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/InclusiveGateway.java
new file mode 100644
index 000000000..6a892c66b
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/InclusiveGateway.java
@@ -0,0 +1,61 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Inclusive Gateway</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.InclusiveGateway#getDefault <em>Default</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getInclusiveGateway()
+ * @model extendedMetaData="name='tInclusiveGateway' kind='elementOnly'"
+ * @generated
+ */
+public interface InclusiveGateway extends Gateway {
+ /**
+ * Returns the value of the '<em><b>Default</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Default</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Default</em>' reference.
+ * @see #setDefault(SequenceFlow)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getInclusiveGateway_Default()
+ * @model resolveProxies="false" ordered="false"
+ * extendedMetaData="kind='attribute' name='default'"
+ * @generated
+ */
+ SequenceFlow getDefault();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.InclusiveGateway#getDefault <em>Default</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Default</em>' reference.
+ * @see #getDefault()
+ * @generated
+ */
+ void setDefault(SequenceFlow value);
+
+} // InclusiveGateway
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/InputOutputBinding.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/InputOutputBinding.java
new file mode 100644
index 000000000..f3201792c
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/InputOutputBinding.java
@@ -0,0 +1,117 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Input Output Binding</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.InputOutputBinding#getInputDataRef <em>Input Data Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.InputOutputBinding#getOperationRef <em>Operation Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.InputOutputBinding#getOutputDataRef <em>Output Data Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getInputOutputBinding()
+ * @model extendedMetaData="name='tInputOutputBinding' kind='elementOnly'"
+ * @generated
+ */
+public interface InputOutputBinding extends BaseElement {
+ /**
+ * Returns the value of the '<em><b>Input Data Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Input Data Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Input Data Ref</em>' reference.
+ * @see #setInputDataRef(InputSet)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getInputOutputBinding_InputDataRef()
+ * @model resolveProxies="false" required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='inputDataRef'"
+ * @generated
+ */
+ InputSet getInputDataRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.InputOutputBinding#getInputDataRef <em>Input Data Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Input Data Ref</em>' reference.
+ * @see #getInputDataRef()
+ * @generated
+ */
+ void setInputDataRef(InputSet value);
+
+ /**
+ * Returns the value of the '<em><b>Operation Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Operation Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Operation Ref</em>' reference.
+ * @see #setOperationRef(Operation)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getInputOutputBinding_OperationRef()
+ * @model required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='operationRef'"
+ * @generated
+ */
+ Operation getOperationRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.InputOutputBinding#getOperationRef <em>Operation Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Operation Ref</em>' reference.
+ * @see #getOperationRef()
+ * @generated
+ */
+ void setOperationRef(Operation value);
+
+ /**
+ * Returns the value of the '<em><b>Output Data Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Output Data Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Output Data Ref</em>' reference.
+ * @see #setOutputDataRef(OutputSet)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getInputOutputBinding_OutputDataRef()
+ * @model resolveProxies="false" required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='outputDataRef'"
+ * @generated
+ */
+ OutputSet getOutputDataRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.InputOutputBinding#getOutputDataRef <em>Output Data Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Output Data Ref</em>' reference.
+ * @see #getOutputDataRef()
+ * @generated
+ */
+ void setOutputDataRef(OutputSet value);
+
+} // InputOutputBinding
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/InputOutputSpecification.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/InputOutputSpecification.java
new file mode 100644
index 000000000..e049d3f60
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/InputOutputSpecification.java
@@ -0,0 +1,107 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Input Output Specification</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.InputOutputSpecification#getDataInputs <em>Data Inputs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.InputOutputSpecification#getDataOutputs <em>Data Outputs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.InputOutputSpecification#getInputSets <em>Input Sets</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.InputOutputSpecification#getOutputSets <em>Output Sets</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getInputOutputSpecification()
+ * @model extendedMetaData="name='tInputOutputSpecification' kind='elementOnly'"
+ * @generated
+ */
+public interface InputOutputSpecification extends BaseElement {
+ /**
+ * Returns the value of the '<em><b>Data Inputs</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.DataInput}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Data Inputs</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Data Inputs</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getInputOutputSpecification_DataInputs()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='dataInput' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<DataInput> getDataInputs();
+
+ /**
+ * Returns the value of the '<em><b>Data Outputs</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.DataOutput}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Data Outputs</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Data Outputs</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getInputOutputSpecification_DataOutputs()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='dataOutput' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<DataOutput> getDataOutputs();
+
+ /**
+ * Returns the value of the '<em><b>Input Sets</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.InputSet}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Input Sets</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Input Sets</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getInputOutputSpecification_InputSets()
+ * @model containment="true" required="true" ordered="false"
+ * extendedMetaData="kind='element' name='inputSet' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<InputSet> getInputSets();
+
+ /**
+ * Returns the value of the '<em><b>Output Sets</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.OutputSet}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Output Sets</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Output Sets</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getInputOutputSpecification_OutputSets()
+ * @model containment="true" required="true" ordered="false"
+ * extendedMetaData="kind='element' name='outputSet' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<OutputSet> getOutputSets();
+
+} // InputOutputSpecification
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/InputSet.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/InputSet.java
new file mode 100644
index 000000000..6cb807140
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/InputSet.java
@@ -0,0 +1,143 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Input Set</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.InputSet#getDataInputRefs <em>Data Input Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.InputSet#getOptionalInputRefs <em>Optional Input Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.InputSet#getWhileExecutingInputRefs <em>While Executing Input Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.InputSet#getOutputSetRefs <em>Output Set Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.InputSet#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getInputSet()
+ * @model extendedMetaData="name='tInputSet' kind='elementOnly'"
+ * @generated
+ */
+public interface InputSet extends BaseElement {
+ /**
+ * Returns the value of the '<em><b>Data Input Refs</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.DataInput}.
+ * It is bidirectional and its opposite is '{@link org.eclipse.bpmn2.DataInput#getInputSetRefs <em>Input Set Refs</em>}'.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Data Input Refs</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Data Input Refs</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getInputSet_DataInputRefs()
+ * @see org.eclipse.bpmn2.DataInput#getInputSetRefs
+ * @model opposite="inputSetRefs" resolveProxies="false" ordered="false"
+ * extendedMetaData="kind='element' name='dataInputRefs' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<DataInput> getDataInputRefs();
+
+ /**
+ * Returns the value of the '<em><b>Optional Input Refs</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.DataInput}.
+ * It is bidirectional and its opposite is '{@link org.eclipse.bpmn2.DataInput#getInputSetWithOptional <em>Input Set With Optional</em>}'.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Optional Input Refs</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Optional Input Refs</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getInputSet_OptionalInputRefs()
+ * @see org.eclipse.bpmn2.DataInput#getInputSetWithOptional
+ * @model opposite="inputSetWithOptional" resolveProxies="false" ordered="false"
+ * extendedMetaData="kind='element' name='optionalInputRefs' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<DataInput> getOptionalInputRefs();
+
+ /**
+ * Returns the value of the '<em><b>While Executing Input Refs</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.DataInput}.
+ * It is bidirectional and its opposite is '{@link org.eclipse.bpmn2.DataInput#getInputSetWithWhileExecuting <em>Input Set With While Executing</em>}'.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>While Executing Input Refs</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>While Executing Input Refs</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getInputSet_WhileExecutingInputRefs()
+ * @see org.eclipse.bpmn2.DataInput#getInputSetWithWhileExecuting
+ * @model opposite="inputSetWithWhileExecuting" resolveProxies="false" ordered="false"
+ * extendedMetaData="kind='element' name='whileExecutingInputRefs' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<DataInput> getWhileExecutingInputRefs();
+
+ /**
+ * Returns the value of the '<em><b>Output Set Refs</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.OutputSet}.
+ * It is bidirectional and its opposite is '{@link org.eclipse.bpmn2.OutputSet#getInputSetRefs <em>Input Set Refs</em>}'.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Output Set Refs</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Output Set Refs</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getInputSet_OutputSetRefs()
+ * @see org.eclipse.bpmn2.OutputSet#getInputSetRefs
+ * @model opposite="inputSetRefs" resolveProxies="false" ordered="false"
+ * extendedMetaData="kind='element' name='outputSetRefs' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<OutputSet> getOutputSetRefs();
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getInputSet_Name()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.InputSet#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+} // InputSet
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/InteractionNode.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/InteractionNode.java
new file mode 100644
index 000000000..874c19ff9
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/InteractionNode.java
@@ -0,0 +1,71 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Interaction Node</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.InteractionNode#getIncomingConversationLinks <em>Incoming Conversation Links</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.InteractionNode#getOutgoingConversationLinks <em>Outgoing Conversation Links</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getInteractionNode()
+ * @model extendedMetaData="abstract='true'"
+ * @generated
+ */
+public interface InteractionNode extends EObject {
+ /**
+ * Returns the value of the '<em><b>Incoming Conversation Links</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.ConversationLink}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Incoming Conversation Links</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Incoming Conversation Links</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getInteractionNode_IncomingConversationLinks()
+ * @model resolveProxies="false" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
+ * @generated
+ */
+ List<ConversationLink> getIncomingConversationLinks();
+
+ /**
+ * Returns the value of the '<em><b>Outgoing Conversation Links</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.ConversationLink}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Outgoing Conversation Links</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Outgoing Conversation Links</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getInteractionNode_OutgoingConversationLinks()
+ * @model transient="true" changeable="false" volatile="true" derived="true" ordered="false"
+ * @generated
+ */
+ List<ConversationLink> getOutgoingConversationLinks();
+
+} // InteractionNode
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Interface.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Interface.java
new file mode 100644
index 000000000..65110fd78
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Interface.java
@@ -0,0 +1,109 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Interface</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.Interface#getOperations <em>Operations</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Interface#getImplementationRef <em>Implementation Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Interface#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getInterface()
+ * @model extendedMetaData="name='tInterface' kind='elementOnly'"
+ * @generated
+ */
+public interface Interface extends RootElement {
+ /**
+ * Returns the value of the '<em><b>Operations</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.Operation}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Operations</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Operations</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getInterface_Operations()
+ * @model containment="true" required="true" ordered="false"
+ * extendedMetaData="kind='element' name='operation' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<Operation> getOperations();
+
+ /**
+ * Returns the value of the '<em><b>Implementation Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Implementation Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Implementation Ref</em>' reference.
+ * @see #setImplementationRef(Object)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getInterface_ImplementationRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='implementationRef'"
+ * @generated
+ */
+ Object getImplementationRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Interface#getImplementationRef <em>Implementation Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Implementation Ref</em>' reference.
+ * @see #getImplementationRef()
+ * @generated
+ */
+ void setImplementationRef(Object value);
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getInterface_Name()
+ * @model required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Interface#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+} // Interface
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/IntermediateCatchEvent.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/IntermediateCatchEvent.java
new file mode 100644
index 000000000..61f618e4d
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/IntermediateCatchEvent.java
@@ -0,0 +1,28 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Intermediate Catch Event</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getIntermediateCatchEvent()
+ * @model extendedMetaData="name='tIntermediateCatchEvent' kind='elementOnly'"
+ * @generated
+ */
+public interface IntermediateCatchEvent extends CatchEvent {
+} // IntermediateCatchEvent
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/IntermediateThrowEvent.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/IntermediateThrowEvent.java
new file mode 100644
index 000000000..f77b731b4
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/IntermediateThrowEvent.java
@@ -0,0 +1,28 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Intermediate Throw Event</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getIntermediateThrowEvent()
+ * @model extendedMetaData="name='tIntermediateThrowEvent' kind='elementOnly'"
+ * @generated
+ */
+public interface IntermediateThrowEvent extends ThrowEvent {
+} // IntermediateThrowEvent
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ItemAwareElement.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ItemAwareElement.java
new file mode 100644
index 000000000..f62642c05
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ItemAwareElement.java
@@ -0,0 +1,89 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Item Aware Element</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.ItemAwareElement#getDataState <em>Data State</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ItemAwareElement#getItemSubjectRef <em>Item Subject Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getItemAwareElement()
+ * @model
+ * @generated
+ */
+public interface ItemAwareElement extends BaseElement {
+ /**
+ * Returns the value of the '<em><b>Data State</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Data State</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Data State</em>' containment reference.
+ * @see #setDataState(DataState)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getItemAwareElement_DataState()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='dataState' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ DataState getDataState();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ItemAwareElement#getDataState <em>Data State</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Data State</em>' containment reference.
+ * @see #getDataState()
+ * @generated
+ */
+ void setDataState(DataState value);
+
+ /**
+ * Returns the value of the '<em><b>Item Subject Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Item Subject Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Item Subject Ref</em>' reference.
+ * @see #setItemSubjectRef(ItemDefinition)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getItemAwareElement_ItemSubjectRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='itemSubjectRef'"
+ * @generated
+ */
+ ItemDefinition getItemSubjectRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ItemAwareElement#getItemSubjectRef <em>Item Subject Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Item Subject Ref</em>' reference.
+ * @see #getItemSubjectRef()
+ * @generated
+ */
+ void setItemSubjectRef(ItemDefinition value);
+
+} // ItemAwareElement
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ItemDefinition.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ItemDefinition.java
new file mode 100644
index 000000000..05d0fa915
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ItemDefinition.java
@@ -0,0 +1,149 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Item Definition</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.ItemDefinition#isIsCollection <em>Is Collection</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ItemDefinition#getImport <em>Import</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ItemDefinition#getItemKind <em>Item Kind</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ItemDefinition#getStructureRef <em>Structure Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getItemDefinition()
+ * @model extendedMetaData="name='tItemDefinition' kind='elementOnly'"
+ * @generated
+ */
+public interface ItemDefinition extends RootElement {
+ /**
+ * Returns the value of the '<em><b>Is Collection</b></em>' attribute.
+ * The default value is <code>"false"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Is Collection</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Is Collection</em>' attribute.
+ * @see #setIsCollection(boolean)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getItemDefinition_IsCollection()
+ * @model default="false" ordered="false"
+ * extendedMetaData="kind='attribute' name='isCollection'"
+ * @generated
+ */
+ boolean isIsCollection();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ItemDefinition#isIsCollection <em>Is Collection</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Is Collection</em>' attribute.
+ * @see #isIsCollection()
+ * @generated
+ */
+ void setIsCollection(boolean value);
+
+ /**
+ * Returns the value of the '<em><b>Import</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Import</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Import</em>' reference.
+ * @see #setImport(Import)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getItemDefinition_Import()
+ * @model transient="true" derived="true" ordered="false"
+ * @generated
+ */
+ Import getImport();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ItemDefinition#getImport <em>Import</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Import</em>' reference.
+ * @see #getImport()
+ * @generated
+ */
+ void setImport(Import value);
+
+ /**
+ * Returns the value of the '<em><b>Item Kind</b></em>' attribute.
+ * The default value is <code>"Information"</code>.
+ * The literals are from the enumeration {@link org.eclipse.bpmn2.ItemKind}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Item Kind</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Item Kind</em>' attribute.
+ * @see org.eclipse.bpmn2.ItemKind
+ * @see #setItemKind(ItemKind)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getItemDefinition_ItemKind()
+ * @model default="Information" ordered="false"
+ * extendedMetaData="kind='attribute' name='itemKind'"
+ * @generated
+ */
+ ItemKind getItemKind();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ItemDefinition#getItemKind <em>Item Kind</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Item Kind</em>' attribute.
+ * @see org.eclipse.bpmn2.ItemKind
+ * @see #getItemKind()
+ * @generated
+ */
+ void setItemKind(ItemKind value);
+
+ /**
+ * Returns the value of the '<em><b>Structure Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Structure Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Structure Ref</em>' reference.
+ * @see #setStructureRef(Object)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getItemDefinition_StructureRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='structureRef'"
+ * @generated
+ */
+ Object getStructureRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ItemDefinition#getStructureRef <em>Structure Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Structure Ref</em>' reference.
+ * @see #getStructureRef()
+ * @generated
+ */
+ void setStructureRef(Object value);
+
+} // ItemDefinition
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ItemKind.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ItemKind.java
new file mode 100644
index 000000000..fc9305970
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ItemKind.java
@@ -0,0 +1,220 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+import org.eclipse.emf.common.util.Enumerator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the literals of the enumeration '<em><b>Item Kind</b></em>',
+ * and utility methods for working with them.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.Bpmn2Package#getItemKind()
+ * @model extendedMetaData="name='tItemKind'"
+ * @generated
+ */
+public enum ItemKind implements Enumerator {
+ /**
+ * The '<em><b>Physical</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #PHYSICAL_VALUE
+ * @generated
+ * @ordered
+ */
+ PHYSICAL(0, "Physical", "Physical"),
+
+ /**
+ * The '<em><b>Information</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #INFORMATION_VALUE
+ * @generated
+ * @ordered
+ */
+ INFORMATION(1, "Information", "Information");
+
+ /**
+ * The '<em><b>Physical</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Physical</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #PHYSICAL
+ * @model name="Physical"
+ * @generated
+ * @ordered
+ */
+ public static final int PHYSICAL_VALUE = 0;
+
+ /**
+ * The '<em><b>Information</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Information</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #INFORMATION
+ * @model name="Information"
+ * @generated
+ * @ordered
+ */
+ public static final int INFORMATION_VALUE = 1;
+
+ /**
+ * An array of all the '<em><b>Item Kind</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final ItemKind[] VALUES_ARRAY = new ItemKind[] { PHYSICAL,
+ INFORMATION, };
+
+ /**
+ * A public read-only list of all the '<em><b>Item Kind</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<ItemKind> VALUES = Collections
+ .unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>Item Kind</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static ItemKind get(String literal) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ ItemKind result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Item Kind</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static ItemKind getByName(String name) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ ItemKind result = VALUES_ARRAY[i];
+ if (result.getName().equals(name)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Item Kind</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static ItemKind get(int value) {
+ switch (value) {
+ case PHYSICAL_VALUE:
+ return PHYSICAL;
+ case INFORMATION_VALUE:
+ return INFORMATION;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final int value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String name;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String literal;
+
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private ItemKind(int value, String name, String literal) {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLiteral() {
+ return literal;
+ }
+
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ return literal;
+ }
+
+} //ItemKind
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Lane.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Lane.java
new file mode 100644
index 000000000..d40b6dead
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Lane.java
@@ -0,0 +1,167 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Lane</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.Lane#getPartitionElement <em>Partition Element</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Lane#getFlowNodeRefs <em>Flow Node Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Lane#getChildLaneSet <em>Child Lane Set</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Lane#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Lane#getPartitionElementRef <em>Partition Element Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getLane()
+ * @model extendedMetaData="name='tLane' kind='elementOnly'"
+ * @generated
+ */
+public interface Lane extends BaseElement {
+ /**
+ * Returns the value of the '<em><b>Partition Element</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Partition Element</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Partition Element</em>' containment reference.
+ * @see #setPartitionElement(BaseElement)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getLane_PartitionElement()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='partitionElement' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ BaseElement getPartitionElement();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Lane#getPartitionElement <em>Partition Element</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Partition Element</em>' containment reference.
+ * @see #getPartitionElement()
+ * @generated
+ */
+ void setPartitionElement(BaseElement value);
+
+ /**
+ * Returns the value of the '<em><b>Flow Node Refs</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.FlowNode}.
+ * It is bidirectional and its opposite is '{@link org.eclipse.bpmn2.FlowNode#getLanes <em>Lanes</em>}'.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Flow Node Refs</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Flow Node Refs</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getLane_FlowNodeRefs()
+ * @see org.eclipse.bpmn2.FlowNode#getLanes
+ * @model opposite="lanes" resolveProxies="false" ordered="false"
+ * extendedMetaData="kind='element' name='flowNodeRef' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<FlowNode> getFlowNodeRefs();
+
+ /**
+ * Returns the value of the '<em><b>Child Lane Set</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Child Lane Set</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Child Lane Set</em>' containment reference.
+ * @see #setChildLaneSet(LaneSet)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getLane_ChildLaneSet()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='childLaneSet' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ LaneSet getChildLaneSet();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Lane#getChildLaneSet <em>Child Lane Set</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Child Lane Set</em>' containment reference.
+ * @see #getChildLaneSet()
+ * @generated
+ */
+ void setChildLaneSet(LaneSet value);
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getLane_Name()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Lane#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+ /**
+ * Returns the value of the '<em><b>Partition Element Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Partition Element Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Partition Element Ref</em>' reference.
+ * @see #setPartitionElementRef(BaseElement)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getLane_PartitionElementRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='partitionElementRef'"
+ * @generated
+ */
+ BaseElement getPartitionElementRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Lane#getPartitionElementRef <em>Partition Element Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Partition Element Ref</em>' reference.
+ * @see #getPartitionElementRef()
+ * @generated
+ */
+ void setPartitionElementRef(BaseElement value);
+
+} // Lane
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/LaneSet.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/LaneSet.java
new file mode 100644
index 000000000..4298e6573
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/LaneSet.java
@@ -0,0 +1,81 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Lane Set</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.LaneSet#getLanes <em>Lanes</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.LaneSet#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getLaneSet()
+ * @model extendedMetaData="name='tLaneSet' kind='elementOnly'"
+ * @generated
+ */
+public interface LaneSet extends BaseElement {
+ /**
+ * Returns the value of the '<em><b>Lanes</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.Lane}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Lanes</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Lanes</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getLaneSet_Lanes()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='lane' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<Lane> getLanes();
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getLaneSet_Name()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.LaneSet#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+} // LaneSet
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/LinkEventDefinition.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/LinkEventDefinition.java
new file mode 100644
index 000000000..138ceedd0
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/LinkEventDefinition.java
@@ -0,0 +1,113 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Link Event Definition</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.LinkEventDefinition#getSource <em>Source</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.LinkEventDefinition#getTarget <em>Target</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.LinkEventDefinition#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getLinkEventDefinition()
+ * @model extendedMetaData="name='tLinkEventDefinition' kind='elementOnly'"
+ * @generated
+ */
+public interface LinkEventDefinition extends EventDefinition {
+ /**
+ * Returns the value of the '<em><b>Source</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.LinkEventDefinition}.
+ * It is bidirectional and its opposite is '{@link org.eclipse.bpmn2.LinkEventDefinition#getTarget <em>Target</em>}'.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Source</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Source</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getLinkEventDefinition_Source()
+ * @see org.eclipse.bpmn2.LinkEventDefinition#getTarget
+ * @model opposite="target" ordered="false"
+ * extendedMetaData="kind='element' name='source' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<LinkEventDefinition> getSource();
+
+ /**
+ * Returns the value of the '<em><b>Target</b></em>' reference.
+ * It is bidirectional and its opposite is '{@link org.eclipse.bpmn2.LinkEventDefinition#getSource <em>Source</em>}'.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Target</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Target</em>' reference.
+ * @see #setTarget(LinkEventDefinition)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getLinkEventDefinition_Target()
+ * @see org.eclipse.bpmn2.LinkEventDefinition#getSource
+ * @model opposite="source" ordered="false"
+ * extendedMetaData="kind='element' name='target' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ LinkEventDefinition getTarget();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.LinkEventDefinition#getTarget <em>Target</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Target</em>' reference.
+ * @see #getTarget()
+ * @generated
+ */
+ void setTarget(LinkEventDefinition value);
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getLinkEventDefinition_Name()
+ * @model required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.LinkEventDefinition#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+} // LinkEventDefinition
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/LoopCharacteristics.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/LoopCharacteristics.java
new file mode 100644
index 000000000..0e89a14d1
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/LoopCharacteristics.java
@@ -0,0 +1,29 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Loop Characteristics</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getLoopCharacteristics()
+ * @model abstract="true"
+ * extendedMetaData="name='tLoopCharacteristics' kind='elementOnly'"
+ * @generated
+ */
+public interface LoopCharacteristics extends BaseElement {
+} // LoopCharacteristics
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ManualTask.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ManualTask.java
new file mode 100644
index 000000000..2de757521
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ManualTask.java
@@ -0,0 +1,28 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Manual Task</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getManualTask()
+ * @model extendedMetaData="name='tManualTask' kind='elementOnly'"
+ * @generated
+ */
+public interface ManualTask extends Task {
+} // ManualTask
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Message.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Message.java
new file mode 100644
index 000000000..8a725158c
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Message.java
@@ -0,0 +1,89 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Message</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.Message#getItemRef <em>Item Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Message#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getMessage()
+ * @model extendedMetaData="name='tMessage' kind='elementOnly'"
+ * @generated
+ */
+public interface Message extends RootElement {
+ /**
+ * Returns the value of the '<em><b>Item Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Item Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Item Ref</em>' reference.
+ * @see #setItemRef(ItemDefinition)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getMessage_ItemRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='itemRef'"
+ * @generated
+ */
+ ItemDefinition getItemRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Message#getItemRef <em>Item Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Item Ref</em>' reference.
+ * @see #getItemRef()
+ * @generated
+ */
+ void setItemRef(ItemDefinition value);
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getMessage_Name()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Message#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+} // Message
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/MessageEventDefinition.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/MessageEventDefinition.java
new file mode 100644
index 000000000..7bdd3b779
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/MessageEventDefinition.java
@@ -0,0 +1,89 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Message Event Definition</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.MessageEventDefinition#getOperationRef <em>Operation Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.MessageEventDefinition#getMessageRef <em>Message Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getMessageEventDefinition()
+ * @model extendedMetaData="name='tMessageEventDefinition' kind='elementOnly'"
+ * @generated
+ */
+public interface MessageEventDefinition extends EventDefinition {
+ /**
+ * Returns the value of the '<em><b>Operation Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Operation Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Operation Ref</em>' reference.
+ * @see #setOperationRef(Operation)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getMessageEventDefinition_OperationRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='element' name='operationRef' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Operation getOperationRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.MessageEventDefinition#getOperationRef <em>Operation Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Operation Ref</em>' reference.
+ * @see #getOperationRef()
+ * @generated
+ */
+ void setOperationRef(Operation value);
+
+ /**
+ * Returns the value of the '<em><b>Message Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Message Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Message Ref</em>' reference.
+ * @see #setMessageRef(Message)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getMessageEventDefinition_MessageRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='messageRef'"
+ * @generated
+ */
+ Message getMessageRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.MessageEventDefinition#getMessageRef <em>Message Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Message Ref</em>' reference.
+ * @see #getMessageRef()
+ * @generated
+ */
+ void setMessageRef(Message value);
+
+} // MessageEventDefinition
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/MessageFlow.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/MessageFlow.java
new file mode 100644
index 000000000..0c2288f4d
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/MessageFlow.java
@@ -0,0 +1,145 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Message Flow</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.MessageFlow#getMessageRef <em>Message Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.MessageFlow#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.MessageFlow#getSourceRef <em>Source Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.MessageFlow#getTargetRef <em>Target Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getMessageFlow()
+ * @model extendedMetaData="name='tMessageFlow' kind='elementOnly'"
+ * @generated
+ */
+public interface MessageFlow extends BaseElement {
+ /**
+ * Returns the value of the '<em><b>Message Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Message Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Message Ref</em>' reference.
+ * @see #setMessageRef(Message)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getMessageFlow_MessageRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='messageRef'"
+ * @generated
+ */
+ Message getMessageRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.MessageFlow#getMessageRef <em>Message Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Message Ref</em>' reference.
+ * @see #getMessageRef()
+ * @generated
+ */
+ void setMessageRef(Message value);
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getMessageFlow_Name()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.MessageFlow#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+ /**
+ * Returns the value of the '<em><b>Source Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Source Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Source Ref</em>' reference.
+ * @see #setSourceRef(InteractionNode)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getMessageFlow_SourceRef()
+ * @model required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='sourceRef'"
+ * @generated
+ */
+ InteractionNode getSourceRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.MessageFlow#getSourceRef <em>Source Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Source Ref</em>' reference.
+ * @see #getSourceRef()
+ * @generated
+ */
+ void setSourceRef(InteractionNode value);
+
+ /**
+ * Returns the value of the '<em><b>Target Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Target Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Target Ref</em>' reference.
+ * @see #setTargetRef(InteractionNode)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getMessageFlow_TargetRef()
+ * @model required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='targetRef'"
+ * @generated
+ */
+ InteractionNode getTargetRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.MessageFlow#getTargetRef <em>Target Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Target Ref</em>' reference.
+ * @see #getTargetRef()
+ * @generated
+ */
+ void setTargetRef(InteractionNode value);
+
+} // MessageFlow
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/MessageFlowAssociation.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/MessageFlowAssociation.java
new file mode 100644
index 000000000..636f5ec81
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/MessageFlowAssociation.java
@@ -0,0 +1,89 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Message Flow Association</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.MessageFlowAssociation#getInnerMessageFlowRef <em>Inner Message Flow Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.MessageFlowAssociation#getOuterMessageFlowRef <em>Outer Message Flow Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getMessageFlowAssociation()
+ * @model extendedMetaData="name='tMessageFlowAssociation' kind='elementOnly'"
+ * @generated
+ */
+public interface MessageFlowAssociation extends BaseElement {
+ /**
+ * Returns the value of the '<em><b>Inner Message Flow Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Inner Message Flow Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Inner Message Flow Ref</em>' reference.
+ * @see #setInnerMessageFlowRef(MessageFlow)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getMessageFlowAssociation_InnerMessageFlowRef()
+ * @model required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='innerMessageFlowRef'"
+ * @generated
+ */
+ MessageFlow getInnerMessageFlowRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.MessageFlowAssociation#getInnerMessageFlowRef <em>Inner Message Flow Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Inner Message Flow Ref</em>' reference.
+ * @see #getInnerMessageFlowRef()
+ * @generated
+ */
+ void setInnerMessageFlowRef(MessageFlow value);
+
+ /**
+ * Returns the value of the '<em><b>Outer Message Flow Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Outer Message Flow Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Outer Message Flow Ref</em>' reference.
+ * @see #setOuterMessageFlowRef(MessageFlow)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getMessageFlowAssociation_OuterMessageFlowRef()
+ * @model required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='outerMessageFlowRef'"
+ * @generated
+ */
+ MessageFlow getOuterMessageFlowRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.MessageFlowAssociation#getOuterMessageFlowRef <em>Outer Message Flow Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Outer Message Flow Ref</em>' reference.
+ * @see #getOuterMessageFlowRef()
+ * @generated
+ */
+ void setOuterMessageFlowRef(MessageFlow value);
+
+} // MessageFlowAssociation
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Monitoring.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Monitoring.java
new file mode 100644
index 000000000..f81864d2a
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Monitoring.java
@@ -0,0 +1,28 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Monitoring</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getMonitoring()
+ * @model extendedMetaData="name='tMonitoring' kind='elementOnly'"
+ * @generated
+ */
+public interface Monitoring extends BaseElement {
+} // Monitoring
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/MultiInstanceBehavior.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/MultiInstanceBehavior.java
new file mode 100644
index 000000000..f7fc51453
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/MultiInstanceBehavior.java
@@ -0,0 +1,274 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+import org.eclipse.emf.common.util.Enumerator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the literals of the enumeration '<em><b>Multi Instance Behavior</b></em>',
+ * and utility methods for working with them.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.Bpmn2Package#getMultiInstanceBehavior()
+ * @model extendedMetaData="name='tMultiInstanceFlowCondition'"
+ * @generated
+ */
+public enum MultiInstanceBehavior implements Enumerator {
+ /**
+ * The '<em><b>None</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #NONE_VALUE
+ * @generated
+ * @ordered
+ */
+ NONE(0, "None", "None"),
+
+ /**
+ * The '<em><b>One</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #ONE_VALUE
+ * @generated
+ * @ordered
+ */
+ ONE(1, "One", "One"),
+
+ /**
+ * The '<em><b>All</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #ALL_VALUE
+ * @generated
+ * @ordered
+ */
+ ALL(2, "All", "All"),
+
+ /**
+ * The '<em><b>Complex</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #COMPLEX_VALUE
+ * @generated
+ * @ordered
+ */
+ COMPLEX(3, "Complex", "Complex");
+
+ /**
+ * The '<em><b>None</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>None</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #NONE
+ * @model name="None"
+ * @generated
+ * @ordered
+ */
+ public static final int NONE_VALUE = 0;
+
+ /**
+ * The '<em><b>One</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>One</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #ONE
+ * @model name="One"
+ * @generated
+ * @ordered
+ */
+ public static final int ONE_VALUE = 1;
+
+ /**
+ * The '<em><b>All</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>All</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #ALL
+ * @model name="All"
+ * @generated
+ * @ordered
+ */
+ public static final int ALL_VALUE = 2;
+
+ /**
+ * The '<em><b>Complex</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Complex</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #COMPLEX
+ * @model name="Complex"
+ * @generated
+ * @ordered
+ */
+ public static final int COMPLEX_VALUE = 3;
+
+ /**
+ * An array of all the '<em><b>Multi Instance Behavior</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final MultiInstanceBehavior[] VALUES_ARRAY = new MultiInstanceBehavior[] {
+ NONE, ONE, ALL, COMPLEX, };
+
+ /**
+ * A public read-only list of all the '<em><b>Multi Instance Behavior</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<MultiInstanceBehavior> VALUES = Collections
+ .unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>Multi Instance Behavior</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static MultiInstanceBehavior get(String literal) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ MultiInstanceBehavior result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Multi Instance Behavior</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static MultiInstanceBehavior getByName(String name) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ MultiInstanceBehavior result = VALUES_ARRAY[i];
+ if (result.getName().equals(name)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Multi Instance Behavior</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static MultiInstanceBehavior get(int value) {
+ switch (value) {
+ case NONE_VALUE:
+ return NONE;
+ case ONE_VALUE:
+ return ONE;
+ case ALL_VALUE:
+ return ALL;
+ case COMPLEX_VALUE:
+ return COMPLEX;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final int value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String name;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String literal;
+
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private MultiInstanceBehavior(int value, String name, String literal) {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLiteral() {
+ return literal;
+ }
+
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ return literal;
+ }
+
+} //MultiInstanceBehavior
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/MultiInstanceLoopCharacteristics.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/MultiInstanceLoopCharacteristics.java
new file mode 100644
index 000000000..9dec52d94
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/MultiInstanceLoopCharacteristics.java
@@ -0,0 +1,338 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Multi Instance Loop Characteristics</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getLoopCardinality <em>Loop Cardinality</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getLoopDataInputRef <em>Loop Data Input Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getLoopDataOutputRef <em>Loop Data Output Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getInputDataItem <em>Input Data Item</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getOutputDataItem <em>Output Data Item</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getComplexBehaviorDefinition <em>Complex Behavior Definition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getCompletionCondition <em>Completion Condition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getBehavior <em>Behavior</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#isIsSequential <em>Is Sequential</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getNoneBehaviorEventRef <em>None Behavior Event Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getOneBehaviorEventRef <em>One Behavior Event Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getMultiInstanceLoopCharacteristics()
+ * @model extendedMetaData="name='tMultiInstanceLoopCharacteristics' kind='elementOnly'"
+ * @generated
+ */
+public interface MultiInstanceLoopCharacteristics extends LoopCharacteristics {
+ /**
+ * Returns the value of the '<em><b>Loop Cardinality</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Loop Cardinality</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Loop Cardinality</em>' containment reference.
+ * @see #setLoopCardinality(Expression)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getMultiInstanceLoopCharacteristics_LoopCardinality()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='loopCardinality' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Expression getLoopCardinality();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getLoopCardinality <em>Loop Cardinality</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Loop Cardinality</em>' containment reference.
+ * @see #getLoopCardinality()
+ * @generated
+ */
+ void setLoopCardinality(Expression value);
+
+ /**
+ * Returns the value of the '<em><b>Loop Data Input Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Loop Data Input Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Loop Data Input Ref</em>' reference.
+ * @see #setLoopDataInputRef(ItemAwareElement)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getMultiInstanceLoopCharacteristics_LoopDataInputRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='element' name='loopDataInputRef' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ ItemAwareElement getLoopDataInputRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getLoopDataInputRef <em>Loop Data Input Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Loop Data Input Ref</em>' reference.
+ * @see #getLoopDataInputRef()
+ * @generated
+ */
+ void setLoopDataInputRef(ItemAwareElement value);
+
+ /**
+ * Returns the value of the '<em><b>Loop Data Output Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Loop Data Output Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Loop Data Output Ref</em>' reference.
+ * @see #setLoopDataOutputRef(ItemAwareElement)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getMultiInstanceLoopCharacteristics_LoopDataOutputRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='element' name='loopDataOutputRef' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ ItemAwareElement getLoopDataOutputRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getLoopDataOutputRef <em>Loop Data Output Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Loop Data Output Ref</em>' reference.
+ * @see #getLoopDataOutputRef()
+ * @generated
+ */
+ void setLoopDataOutputRef(ItemAwareElement value);
+
+ /**
+ * Returns the value of the '<em><b>Input Data Item</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Input Data Item</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Input Data Item</em>' containment reference.
+ * @see #setInputDataItem(DataInput)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getMultiInstanceLoopCharacteristics_InputDataItem()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='inputDataItem' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ DataInput getInputDataItem();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getInputDataItem <em>Input Data Item</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Input Data Item</em>' containment reference.
+ * @see #getInputDataItem()
+ * @generated
+ */
+ void setInputDataItem(DataInput value);
+
+ /**
+ * Returns the value of the '<em><b>Output Data Item</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Output Data Item</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Output Data Item</em>' containment reference.
+ * @see #setOutputDataItem(DataOutput)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getMultiInstanceLoopCharacteristics_OutputDataItem()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='outputDataItem' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ DataOutput getOutputDataItem();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getOutputDataItem <em>Output Data Item</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Output Data Item</em>' containment reference.
+ * @see #getOutputDataItem()
+ * @generated
+ */
+ void setOutputDataItem(DataOutput value);
+
+ /**
+ * Returns the value of the '<em><b>Complex Behavior Definition</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.ComplexBehaviorDefinition}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Complex Behavior Definition</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Complex Behavior Definition</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getMultiInstanceLoopCharacteristics_ComplexBehaviorDefinition()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='complexBehaviorDefinition' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<ComplexBehaviorDefinition> getComplexBehaviorDefinition();
+
+ /**
+ * Returns the value of the '<em><b>Completion Condition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Completion Condition</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Completion Condition</em>' containment reference.
+ * @see #setCompletionCondition(Expression)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getMultiInstanceLoopCharacteristics_CompletionCondition()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='completionCondition' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Expression getCompletionCondition();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getCompletionCondition <em>Completion Condition</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Completion Condition</em>' containment reference.
+ * @see #getCompletionCondition()
+ * @generated
+ */
+ void setCompletionCondition(Expression value);
+
+ /**
+ * Returns the value of the '<em><b>Behavior</b></em>' attribute.
+ * The default value is <code>"All"</code>.
+ * The literals are from the enumeration {@link org.eclipse.bpmn2.MultiInstanceBehavior}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Behavior</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Behavior</em>' attribute.
+ * @see org.eclipse.bpmn2.MultiInstanceBehavior
+ * @see #setBehavior(MultiInstanceBehavior)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getMultiInstanceLoopCharacteristics_Behavior()
+ * @model default="All" ordered="false"
+ * extendedMetaData="kind='attribute' name='behavior'"
+ * @generated
+ */
+ MultiInstanceBehavior getBehavior();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getBehavior <em>Behavior</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Behavior</em>' attribute.
+ * @see org.eclipse.bpmn2.MultiInstanceBehavior
+ * @see #getBehavior()
+ * @generated
+ */
+ void setBehavior(MultiInstanceBehavior value);
+
+ /**
+ * Returns the value of the '<em><b>Is Sequential</b></em>' attribute.
+ * The default value is <code>"false"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Is Sequential</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Is Sequential</em>' attribute.
+ * @see #setIsSequential(boolean)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getMultiInstanceLoopCharacteristics_IsSequential()
+ * @model default="false" ordered="false"
+ * extendedMetaData="kind='attribute' name='isSequential'"
+ * @generated
+ */
+ boolean isIsSequential();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#isIsSequential <em>Is Sequential</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Is Sequential</em>' attribute.
+ * @see #isIsSequential()
+ * @generated
+ */
+ void setIsSequential(boolean value);
+
+ /**
+ * Returns the value of the '<em><b>None Behavior Event Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>None Behavior Event Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>None Behavior Event Ref</em>' reference.
+ * @see #setNoneBehaviorEventRef(EventDefinition)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getMultiInstanceLoopCharacteristics_NoneBehaviorEventRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='noneBehaviorEventRef'"
+ * @generated
+ */
+ EventDefinition getNoneBehaviorEventRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getNoneBehaviorEventRef <em>None Behavior Event Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>None Behavior Event Ref</em>' reference.
+ * @see #getNoneBehaviorEventRef()
+ * @generated
+ */
+ void setNoneBehaviorEventRef(EventDefinition value);
+
+ /**
+ * Returns the value of the '<em><b>One Behavior Event Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>One Behavior Event Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>One Behavior Event Ref</em>' reference.
+ * @see #setOneBehaviorEventRef(EventDefinition)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getMultiInstanceLoopCharacteristics_OneBehaviorEventRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='oneBehaviorEventRef'"
+ * @generated
+ */
+ EventDefinition getOneBehaviorEventRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.MultiInstanceLoopCharacteristics#getOneBehaviorEventRef <em>One Behavior Event Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>One Behavior Event Ref</em>' reference.
+ * @see #getOneBehaviorEventRef()
+ * @generated
+ */
+ void setOneBehaviorEventRef(EventDefinition value);
+
+} // MultiInstanceLoopCharacteristics
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Operation.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Operation.java
new file mode 100644
index 000000000..72ad7aa0e
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Operation.java
@@ -0,0 +1,165 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Operation</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.Operation#getInMessageRef <em>In Message Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Operation#getOutMessageRef <em>Out Message Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Operation#getErrorRefs <em>Error Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Operation#getImplementationRef <em>Implementation Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Operation#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getOperation()
+ * @model extendedMetaData="name='tOperation' kind='elementOnly'"
+ * @generated
+ */
+public interface Operation extends BaseElement {
+ /**
+ * Returns the value of the '<em><b>In Message Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>In Message Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>In Message Ref</em>' reference.
+ * @see #setInMessageRef(Message)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getOperation_InMessageRef()
+ * @model required="true" ordered="false"
+ * extendedMetaData="kind='element' name='inMessageRef' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Message getInMessageRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Operation#getInMessageRef <em>In Message Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>In Message Ref</em>' reference.
+ * @see #getInMessageRef()
+ * @generated
+ */
+ void setInMessageRef(Message value);
+
+ /**
+ * Returns the value of the '<em><b>Out Message Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Out Message Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Out Message Ref</em>' reference.
+ * @see #setOutMessageRef(Message)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getOperation_OutMessageRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='element' name='outMessageRef' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Message getOutMessageRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Operation#getOutMessageRef <em>Out Message Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Out Message Ref</em>' reference.
+ * @see #getOutMessageRef()
+ * @generated
+ */
+ void setOutMessageRef(Message value);
+
+ /**
+ * Returns the value of the '<em><b>Error Refs</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.Error}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Error Refs</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Error Refs</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getOperation_ErrorRefs()
+ * @model ordered="false"
+ * extendedMetaData="kind='element' name='errorRef' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<org.eclipse.bpmn2.Error> getErrorRefs();
+
+ /**
+ * Returns the value of the '<em><b>Implementation Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Implementation Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Implementation Ref</em>' reference.
+ * @see #setImplementationRef(Object)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getOperation_ImplementationRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='implementationRef'"
+ * @generated
+ */
+ Object getImplementationRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Operation#getImplementationRef <em>Implementation Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Implementation Ref</em>' reference.
+ * @see #getImplementationRef()
+ * @generated
+ */
+ void setImplementationRef(Object value);
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getOperation_Name()
+ * @model required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Operation#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+} // Operation
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/OutputSet.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/OutputSet.java
new file mode 100644
index 000000000..de45bc9c4
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/OutputSet.java
@@ -0,0 +1,143 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Output Set</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.OutputSet#getDataOutputRefs <em>Data Output Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.OutputSet#getOptionalOutputRefs <em>Optional Output Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.OutputSet#getWhileExecutingOutputRefs <em>While Executing Output Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.OutputSet#getInputSetRefs <em>Input Set Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.OutputSet#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getOutputSet()
+ * @model extendedMetaData="name='tOutputSet' kind='elementOnly'"
+ * @generated
+ */
+public interface OutputSet extends BaseElement {
+ /**
+ * Returns the value of the '<em><b>Data Output Refs</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.DataOutput}.
+ * It is bidirectional and its opposite is '{@link org.eclipse.bpmn2.DataOutput#getOutputSetRefs <em>Output Set Refs</em>}'.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Data Output Refs</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Data Output Refs</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getOutputSet_DataOutputRefs()
+ * @see org.eclipse.bpmn2.DataOutput#getOutputSetRefs
+ * @model opposite="outputSetRefs" resolveProxies="false" ordered="false"
+ * extendedMetaData="kind='element' name='dataOutputRefs' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<DataOutput> getDataOutputRefs();
+
+ /**
+ * Returns the value of the '<em><b>Optional Output Refs</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.DataOutput}.
+ * It is bidirectional and its opposite is '{@link org.eclipse.bpmn2.DataOutput#getOutputSetWithOptional <em>Output Set With Optional</em>}'.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Optional Output Refs</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Optional Output Refs</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getOutputSet_OptionalOutputRefs()
+ * @see org.eclipse.bpmn2.DataOutput#getOutputSetWithOptional
+ * @model opposite="outputSetWithOptional" resolveProxies="false" ordered="false"
+ * extendedMetaData="kind='element' name='optionalOutputRefs' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<DataOutput> getOptionalOutputRefs();
+
+ /**
+ * Returns the value of the '<em><b>While Executing Output Refs</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.DataOutput}.
+ * It is bidirectional and its opposite is '{@link org.eclipse.bpmn2.DataOutput#getOutputSetWithWhileExecuting <em>Output Set With While Executing</em>}'.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>While Executing Output Refs</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>While Executing Output Refs</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getOutputSet_WhileExecutingOutputRefs()
+ * @see org.eclipse.bpmn2.DataOutput#getOutputSetWithWhileExecuting
+ * @model opposite="outputSetWithWhileExecuting" resolveProxies="false" ordered="false"
+ * extendedMetaData="kind='element' name='whileExecutingOutputRefs' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<DataOutput> getWhileExecutingOutputRefs();
+
+ /**
+ * Returns the value of the '<em><b>Input Set Refs</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.InputSet}.
+ * It is bidirectional and its opposite is '{@link org.eclipse.bpmn2.InputSet#getOutputSetRefs <em>Output Set Refs</em>}'.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Input Set Refs</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Input Set Refs</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getOutputSet_InputSetRefs()
+ * @see org.eclipse.bpmn2.InputSet#getOutputSetRefs
+ * @model opposite="outputSetRefs" resolveProxies="false" ordered="false"
+ * extendedMetaData="kind='element' name='inputSetRefs' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<InputSet> getInputSetRefs();
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getOutputSet_Name()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.OutputSet#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+} // OutputSet
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ParallelGateway.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ParallelGateway.java
new file mode 100644
index 000000000..35a970261
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ParallelGateway.java
@@ -0,0 +1,28 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Parallel Gateway</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getParallelGateway()
+ * @model extendedMetaData="name='tParallelGateway' kind='elementOnly'"
+ * @generated
+ */
+public interface ParallelGateway extends Gateway {
+} // ParallelGateway
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Participant.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Participant.java
new file mode 100644
index 000000000..896574d62
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Participant.java
@@ -0,0 +1,155 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Participant</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.Participant#getInterfaceRefs <em>Interface Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Participant#getEndPointRefs <em>End Point Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Participant#getParticipantMultiplicity <em>Participant Multiplicity</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Participant#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Participant#getProcessRef <em>Process Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getParticipant()
+ * @model extendedMetaData="name='tParticipant' kind='elementOnly'"
+ * @generated
+ */
+public interface Participant extends BaseElement, InteractionNode {
+ /**
+ * Returns the value of the '<em><b>Interface Refs</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.Interface}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Interface Refs</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Interface Refs</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getParticipant_InterfaceRefs()
+ * @model ordered="false"
+ * extendedMetaData="kind='element' name='interfaceRef' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<Interface> getInterfaceRefs();
+
+ /**
+ * Returns the value of the '<em><b>End Point Refs</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.EndPoint}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>End Point Refs</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>End Point Refs</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getParticipant_EndPointRefs()
+ * @model ordered="false"
+ * extendedMetaData="kind='element' name='endPointRef' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<EndPoint> getEndPointRefs();
+
+ /**
+ * Returns the value of the '<em><b>Participant Multiplicity</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Participant Multiplicity</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Participant Multiplicity</em>' containment reference.
+ * @see #setParticipantMultiplicity(ParticipantMultiplicity)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getParticipant_ParticipantMultiplicity()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='participantMultiplicity' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ ParticipantMultiplicity getParticipantMultiplicity();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Participant#getParticipantMultiplicity <em>Participant Multiplicity</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Participant Multiplicity</em>' containment reference.
+ * @see #getParticipantMultiplicity()
+ * @generated
+ */
+ void setParticipantMultiplicity(ParticipantMultiplicity value);
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getParticipant_Name()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Participant#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+ /**
+ * Returns the value of the '<em><b>Process Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Process Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Process Ref</em>' reference.
+ * @see #setProcessRef(org.eclipse.bpmn2.Process)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getParticipant_ProcessRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='processRef'"
+ * @generated
+ */
+ org.eclipse.bpmn2.Process getProcessRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Participant#getProcessRef <em>Process Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Process Ref</em>' reference.
+ * @see #getProcessRef()
+ * @generated
+ */
+ void setProcessRef(org.eclipse.bpmn2.Process value);
+
+} // Participant
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ParticipantAssociation.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ParticipantAssociation.java
new file mode 100644
index 000000000..f2d2b5373
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ParticipantAssociation.java
@@ -0,0 +1,89 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Participant Association</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.ParticipantAssociation#getInnerParticipantRef <em>Inner Participant Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ParticipantAssociation#getOuterParticipantRef <em>Outer Participant Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getParticipantAssociation()
+ * @model extendedMetaData="name='tParticipantAssociation' kind='elementOnly'"
+ * @generated
+ */
+public interface ParticipantAssociation extends BaseElement {
+ /**
+ * Returns the value of the '<em><b>Inner Participant Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Inner Participant Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Inner Participant Ref</em>' reference.
+ * @see #setInnerParticipantRef(Participant)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getParticipantAssociation_InnerParticipantRef()
+ * @model required="true" ordered="false"
+ * extendedMetaData="kind='element' name='innerParticipantRef' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Participant getInnerParticipantRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ParticipantAssociation#getInnerParticipantRef <em>Inner Participant Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Inner Participant Ref</em>' reference.
+ * @see #getInnerParticipantRef()
+ * @generated
+ */
+ void setInnerParticipantRef(Participant value);
+
+ /**
+ * Returns the value of the '<em><b>Outer Participant Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Outer Participant Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Outer Participant Ref</em>' reference.
+ * @see #setOuterParticipantRef(Participant)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getParticipantAssociation_OuterParticipantRef()
+ * @model required="true" ordered="false"
+ * extendedMetaData="kind='element' name='outerParticipantRef' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Participant getOuterParticipantRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ParticipantAssociation#getOuterParticipantRef <em>Outer Participant Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Outer Participant Ref</em>' reference.
+ * @see #getOuterParticipantRef()
+ * @generated
+ */
+ void setOuterParticipantRef(Participant value);
+
+} // ParticipantAssociation
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ParticipantMultiplicity.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ParticipantMultiplicity.java
new file mode 100644
index 000000000..714d68111
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ParticipantMultiplicity.java
@@ -0,0 +1,91 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Participant Multiplicity</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.ParticipantMultiplicity#getMaximum <em>Maximum</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ParticipantMultiplicity#getMinimum <em>Minimum</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getParticipantMultiplicity()
+ * @model extendedMetaData="name='tParticipantMultiplicity' kind='elementOnly'"
+ * @generated
+ */
+public interface ParticipantMultiplicity extends BaseElement {
+ /**
+ * Returns the value of the '<em><b>Maximum</b></em>' attribute.
+ * The default value is <code>"1"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Maximum</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Maximum</em>' attribute.
+ * @see #setMaximum(int)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getParticipantMultiplicity_Maximum()
+ * @model default="1" ordered="false"
+ * extendedMetaData="kind='attribute' name='maximum'"
+ * @generated
+ */
+ int getMaximum();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ParticipantMultiplicity#getMaximum <em>Maximum</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Maximum</em>' attribute.
+ * @see #getMaximum()
+ * @generated
+ */
+ void setMaximum(int value);
+
+ /**
+ * Returns the value of the '<em><b>Minimum</b></em>' attribute.
+ * The default value is <code>"0"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Minimum</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Minimum</em>' attribute.
+ * @see #setMinimum(int)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getParticipantMultiplicity_Minimum()
+ * @model default="0" ordered="false"
+ * extendedMetaData="kind='attribute' name='minimum'"
+ * @generated
+ */
+ int getMinimum();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ParticipantMultiplicity#getMinimum <em>Minimum</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Minimum</em>' attribute.
+ * @see #getMinimum()
+ * @generated
+ */
+ void setMinimum(int value);
+
+} // ParticipantMultiplicity
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/PartnerEntity.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/PartnerEntity.java
new file mode 100644
index 000000000..9da873abe
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/PartnerEntity.java
@@ -0,0 +1,81 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Partner Entity</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.PartnerEntity#getParticipantRef <em>Participant Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.PartnerEntity#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getPartnerEntity()
+ * @model extendedMetaData="name='tPartnerEntity' kind='elementOnly'"
+ * @generated
+ */
+public interface PartnerEntity extends RootElement {
+ /**
+ * Returns the value of the '<em><b>Participant Ref</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.Participant}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Participant Ref</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Participant Ref</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getPartnerEntity_ParticipantRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='element' name='participantRef' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<Participant> getParticipantRef();
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getPartnerEntity_Name()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.PartnerEntity#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+} // PartnerEntity
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/PartnerRole.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/PartnerRole.java
new file mode 100644
index 000000000..ab91efa4f
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/PartnerRole.java
@@ -0,0 +1,81 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Partner Role</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.PartnerRole#getParticipantRef <em>Participant Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.PartnerRole#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getPartnerRole()
+ * @model extendedMetaData="name='tPartnerRole' kind='elementOnly'"
+ * @generated
+ */
+public interface PartnerRole extends RootElement {
+ /**
+ * Returns the value of the '<em><b>Participant Ref</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.Participant}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Participant Ref</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Participant Ref</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getPartnerRole_ParticipantRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='element' name='participantRef' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<Participant> getParticipantRef();
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getPartnerRole_Name()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.PartnerRole#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+} // PartnerRole
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Performer.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Performer.java
new file mode 100644
index 000000000..d6d59cd77
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Performer.java
@@ -0,0 +1,28 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Performer</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getPerformer()
+ * @model extendedMetaData="name='tPerformer' kind='elementOnly'"
+ * @generated
+ */
+public interface Performer extends ResourceRole {
+} // Performer
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/PotentialOwner.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/PotentialOwner.java
new file mode 100644
index 000000000..6a7bb5bf3
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/PotentialOwner.java
@@ -0,0 +1,28 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Potential Owner</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getPotentialOwner()
+ * @model extendedMetaData="name='tPotentialOwner' kind='elementOnly'"
+ * @generated
+ */
+public interface PotentialOwner extends HumanPerformer {
+} // PotentialOwner
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Process.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Process.java
new file mode 100644
index 000000000..cf5e913d6
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Process.java
@@ -0,0 +1,297 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Process</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.Process#getAuditing <em>Auditing</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Process#getMonitoring <em>Monitoring</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Process#getProperties <em>Properties</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Process#getArtifacts <em>Artifacts</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Process#getResources <em>Resources</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Process#getCorrelationSubscriptions <em>Correlation Subscriptions</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Process#getSupports <em>Supports</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Process#getDefinitionalCollaborationRef <em>Definitional Collaboration Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Process#isIsClosed <em>Is Closed</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Process#isIsExecutable <em>Is Executable</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Process#getProcessType <em>Process Type</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getProcess()
+ * @model extendedMetaData="name='tProcess' kind='elementOnly'"
+ * @generated
+ */
+public interface Process extends CallableElement, FlowElementsContainer {
+ /**
+ * Returns the value of the '<em><b>Auditing</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Auditing</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Auditing</em>' containment reference.
+ * @see #setAuditing(Auditing)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getProcess_Auditing()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='auditing' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Auditing getAuditing();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Process#getAuditing <em>Auditing</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Auditing</em>' containment reference.
+ * @see #getAuditing()
+ * @generated
+ */
+ void setAuditing(Auditing value);
+
+ /**
+ * Returns the value of the '<em><b>Monitoring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Monitoring</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Monitoring</em>' containment reference.
+ * @see #setMonitoring(Monitoring)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getProcess_Monitoring()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='monitoring' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Monitoring getMonitoring();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Process#getMonitoring <em>Monitoring</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Monitoring</em>' containment reference.
+ * @see #getMonitoring()
+ * @generated
+ */
+ void setMonitoring(Monitoring value);
+
+ /**
+ * Returns the value of the '<em><b>Properties</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.Property}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Properties</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Properties</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getProcess_Properties()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='property' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<Property> getProperties();
+
+ /**
+ * Returns the value of the '<em><b>Artifacts</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.Artifact}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Artifacts</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Artifacts</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getProcess_Artifacts()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='artifact' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' group='http://www.omg.org/spec/BPMN/20100524/MODEL#artifact'"
+ * @generated
+ */
+ List<Artifact> getArtifacts();
+
+ /**
+ * Returns the value of the '<em><b>Resources</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.ResourceRole}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Resources</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Resources</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getProcess_Resources()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='resourceRole' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' group='http://www.omg.org/spec/BPMN/20100524/MODEL#resourceRole'"
+ * @generated
+ */
+ List<ResourceRole> getResources();
+
+ /**
+ * Returns the value of the '<em><b>Correlation Subscriptions</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.CorrelationSubscription}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Correlation Subscriptions</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Correlation Subscriptions</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getProcess_CorrelationSubscriptions()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='correlationSubscription' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<CorrelationSubscription> getCorrelationSubscriptions();
+
+ /**
+ * Returns the value of the '<em><b>Supports</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.Process}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Supports</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Supports</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getProcess_Supports()
+ * @model ordered="false"
+ * extendedMetaData="kind='element' name='supports' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<Process> getSupports();
+
+ /**
+ * Returns the value of the '<em><b>Definitional Collaboration Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Definitional Collaboration Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Definitional Collaboration Ref</em>' reference.
+ * @see #setDefinitionalCollaborationRef(Collaboration)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getProcess_DefinitionalCollaborationRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='definitionalCollaborationRef'"
+ * @generated
+ */
+ Collaboration getDefinitionalCollaborationRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Process#getDefinitionalCollaborationRef <em>Definitional Collaboration Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Definitional Collaboration Ref</em>' reference.
+ * @see #getDefinitionalCollaborationRef()
+ * @generated
+ */
+ void setDefinitionalCollaborationRef(Collaboration value);
+
+ /**
+ * Returns the value of the '<em><b>Is Closed</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Is Closed</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Is Closed</em>' attribute.
+ * @see #setIsClosed(boolean)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getProcess_IsClosed()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='isClosed'"
+ * @generated
+ */
+ boolean isIsClosed();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Process#isIsClosed <em>Is Closed</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Is Closed</em>' attribute.
+ * @see #isIsClosed()
+ * @generated
+ */
+ void setIsClosed(boolean value);
+
+ /**
+ * Returns the value of the '<em><b>Is Executable</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Is Executable</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Is Executable</em>' attribute.
+ * @see #setIsExecutable(boolean)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getProcess_IsExecutable()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='isExecutable'"
+ * @generated
+ */
+ boolean isIsExecutable();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Process#isIsExecutable <em>Is Executable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Is Executable</em>' attribute.
+ * @see #isIsExecutable()
+ * @generated
+ */
+ void setIsExecutable(boolean value);
+
+ /**
+ * Returns the value of the '<em><b>Process Type</b></em>' attribute.
+ * The default value is <code>"None"</code>.
+ * The literals are from the enumeration {@link org.eclipse.bpmn2.ProcessType}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Process Type</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Process Type</em>' attribute.
+ * @see org.eclipse.bpmn2.ProcessType
+ * @see #setProcessType(ProcessType)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getProcess_ProcessType()
+ * @model default="None" ordered="false"
+ * extendedMetaData="kind='attribute' name='processType'"
+ * @generated
+ */
+ ProcessType getProcessType();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Process#getProcessType <em>Process Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Process Type</em>' attribute.
+ * @see org.eclipse.bpmn2.ProcessType
+ * @see #getProcessType()
+ * @generated
+ */
+ void setProcessType(ProcessType value);
+
+} // Process
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ProcessType.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ProcessType.java
new file mode 100644
index 000000000..f5ac97cd8
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ProcessType.java
@@ -0,0 +1,247 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+import org.eclipse.emf.common.util.Enumerator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the literals of the enumeration '<em><b>Process Type</b></em>',
+ * and utility methods for working with them.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.Bpmn2Package#getProcessType()
+ * @model extendedMetaData="name='tProcessType'"
+ * @generated
+ */
+public enum ProcessType implements Enumerator {
+ /**
+ * The '<em><b>None</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #NONE_VALUE
+ * @generated
+ * @ordered
+ */
+ NONE(0, "None", "None"),
+
+ /**
+ * The '<em><b>Public</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #PUBLIC_VALUE
+ * @generated
+ * @ordered
+ */
+ PUBLIC(1, "Public", "Public"),
+
+ /**
+ * The '<em><b>Private</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #PRIVATE_VALUE
+ * @generated
+ * @ordered
+ */
+ PRIVATE(2, "Private", "Private");
+
+ /**
+ * The '<em><b>None</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>None</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #NONE
+ * @model name="None"
+ * @generated
+ * @ordered
+ */
+ public static final int NONE_VALUE = 0;
+
+ /**
+ * The '<em><b>Public</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Public</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #PUBLIC
+ * @model name="Public"
+ * @generated
+ * @ordered
+ */
+ public static final int PUBLIC_VALUE = 1;
+
+ /**
+ * The '<em><b>Private</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Private</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #PRIVATE
+ * @model name="Private"
+ * @generated
+ * @ordered
+ */
+ public static final int PRIVATE_VALUE = 2;
+
+ /**
+ * An array of all the '<em><b>Process Type</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final ProcessType[] VALUES_ARRAY = new ProcessType[] { NONE,
+ PUBLIC, PRIVATE, };
+
+ /**
+ * A public read-only list of all the '<em><b>Process Type</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<ProcessType> VALUES = Collections
+ .unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>Process Type</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static ProcessType get(String literal) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ ProcessType result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Process Type</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static ProcessType getByName(String name) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ ProcessType result = VALUES_ARRAY[i];
+ if (result.getName().equals(name)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Process Type</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static ProcessType get(int value) {
+ switch (value) {
+ case NONE_VALUE:
+ return NONE;
+ case PUBLIC_VALUE:
+ return PUBLIC;
+ case PRIVATE_VALUE:
+ return PRIVATE;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final int value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String name;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String literal;
+
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private ProcessType(int value, String name, String literal) {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLiteral() {
+ return literal;
+ }
+
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ return literal;
+ }
+
+} //ProcessType
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Property.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Property.java
new file mode 100644
index 000000000..1b1c79e63
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Property.java
@@ -0,0 +1,61 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Property</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.Property#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getProperty()
+ * @model extendedMetaData="name='tProperty' kind='elementOnly'"
+ * @generated
+ */
+public interface Property extends ItemAwareElement {
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getProperty_Name()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Property#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+} // Property
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ReceiveTask.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ReceiveTask.java
new file mode 100644
index 000000000..5e94df13d
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ReceiveTask.java
@@ -0,0 +1,146 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Receive Task</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.ReceiveTask#getImplementation <em>Implementation</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ReceiveTask#isInstantiate <em>Instantiate</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ReceiveTask#getMessageRef <em>Message Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ReceiveTask#getOperationRef <em>Operation Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getReceiveTask()
+ * @model extendedMetaData="name='tReceiveTask' kind='elementOnly'"
+ * @generated
+ */
+public interface ReceiveTask extends Task {
+ /**
+ * Returns the value of the '<em><b>Implementation</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Implementation</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Implementation</em>' attribute.
+ * @see #setImplementation(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getReceiveTask_Implementation()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='implementation'"
+ * @generated
+ */
+ String getImplementation();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ReceiveTask#getImplementation <em>Implementation</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Implementation</em>' attribute.
+ * @see #getImplementation()
+ * @generated
+ */
+ void setImplementation(String value);
+
+ /**
+ * Returns the value of the '<em><b>Instantiate</b></em>' attribute.
+ * The default value is <code>"false"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Instantiate</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Instantiate</em>' attribute.
+ * @see #setInstantiate(boolean)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getReceiveTask_Instantiate()
+ * @model default="false" ordered="false"
+ * extendedMetaData="kind='attribute' name='instantiate'"
+ * @generated
+ */
+ boolean isInstantiate();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ReceiveTask#isInstantiate <em>Instantiate</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Instantiate</em>' attribute.
+ * @see #isInstantiate()
+ * @generated
+ */
+ void setInstantiate(boolean value);
+
+ /**
+ * Returns the value of the '<em><b>Message Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Message Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Message Ref</em>' reference.
+ * @see #setMessageRef(Message)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getReceiveTask_MessageRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='messageRef'"
+ * @generated
+ */
+ Message getMessageRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ReceiveTask#getMessageRef <em>Message Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Message Ref</em>' reference.
+ * @see #getMessageRef()
+ * @generated
+ */
+ void setMessageRef(Message value);
+
+ /**
+ * Returns the value of the '<em><b>Operation Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Operation Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Operation Ref</em>' reference.
+ * @see #setOperationRef(Operation)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getReceiveTask_OperationRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='operationRef'"
+ * @generated
+ */
+ Operation getOperationRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ReceiveTask#getOperationRef <em>Operation Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Operation Ref</em>' reference.
+ * @see #getOperationRef()
+ * @generated
+ */
+ void setOperationRef(Operation value);
+
+} // ReceiveTask
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Relationship.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Relationship.java
new file mode 100644
index 000000000..7a0c95abb
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Relationship.java
@@ -0,0 +1,132 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Relationship</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.Relationship#getSources <em>Sources</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Relationship#getTargets <em>Targets</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Relationship#getDirection <em>Direction</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Relationship#getType <em>Type</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getRelationship()
+ * @model extendedMetaData="name='tRelationship' kind='elementOnly'"
+ * @generated
+ */
+public interface Relationship extends BaseElement {
+ /**
+ * Returns the value of the '<em><b>Sources</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.emf.ecore.EObject}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Sources</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Sources</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getRelationship_Sources()
+ * @model required="true" ordered="false"
+ * extendedMetaData="kind='element' name='source' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<EObject> getSources();
+
+ /**
+ * Returns the value of the '<em><b>Targets</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.emf.ecore.EObject}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Targets</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Targets</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getRelationship_Targets()
+ * @model required="true" ordered="false"
+ * extendedMetaData="kind='element' name='target' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<EObject> getTargets();
+
+ /**
+ * Returns the value of the '<em><b>Direction</b></em>' attribute.
+ * The literals are from the enumeration {@link org.eclipse.bpmn2.RelationshipDirection}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Direction</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Direction</em>' attribute.
+ * @see org.eclipse.bpmn2.RelationshipDirection
+ * @see #setDirection(RelationshipDirection)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getRelationship_Direction()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='direction'"
+ * @generated
+ */
+ RelationshipDirection getDirection();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Relationship#getDirection <em>Direction</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Direction</em>' attribute.
+ * @see org.eclipse.bpmn2.RelationshipDirection
+ * @see #getDirection()
+ * @generated
+ */
+ void setDirection(RelationshipDirection value);
+
+ /**
+ * Returns the value of the '<em><b>Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Type</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Type</em>' attribute.
+ * @see #setType(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getRelationship_Type()
+ * @model required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='type'"
+ * @generated
+ */
+ String getType();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Relationship#getType <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Type</em>' attribute.
+ * @see #getType()
+ * @generated
+ */
+ void setType(String value);
+
+} // Relationship
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/RelationshipDirection.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/RelationshipDirection.java
new file mode 100644
index 000000000..d0ff545aa
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/RelationshipDirection.java
@@ -0,0 +1,274 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+import org.eclipse.emf.common.util.Enumerator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the literals of the enumeration '<em><b>Relationship Direction</b></em>',
+ * and utility methods for working with them.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.Bpmn2Package#getRelationshipDirection()
+ * @model extendedMetaData="name='tRelationshipDirection'"
+ * @generated
+ */
+public enum RelationshipDirection implements Enumerator {
+ /**
+ * The '<em><b>None</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #NONE_VALUE
+ * @generated
+ * @ordered
+ */
+ NONE(0, "None", "None"),
+
+ /**
+ * The '<em><b>Forward</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #FORWARD_VALUE
+ * @generated
+ * @ordered
+ */
+ FORWARD(1, "Forward", "Forward"),
+
+ /**
+ * The '<em><b>Backward</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #BACKWARD_VALUE
+ * @generated
+ * @ordered
+ */
+ BACKWARD(2, "Backward", "Backward"),
+
+ /**
+ * The '<em><b>Both</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #BOTH_VALUE
+ * @generated
+ * @ordered
+ */
+ BOTH(3, "Both", "Both");
+
+ /**
+ * The '<em><b>None</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>None</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #NONE
+ * @model name="None"
+ * @generated
+ * @ordered
+ */
+ public static final int NONE_VALUE = 0;
+
+ /**
+ * The '<em><b>Forward</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Forward</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #FORWARD
+ * @model name="Forward"
+ * @generated
+ * @ordered
+ */
+ public static final int FORWARD_VALUE = 1;
+
+ /**
+ * The '<em><b>Backward</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Backward</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #BACKWARD
+ * @model name="Backward"
+ * @generated
+ * @ordered
+ */
+ public static final int BACKWARD_VALUE = 2;
+
+ /**
+ * The '<em><b>Both</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Both</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #BOTH
+ * @model name="Both"
+ * @generated
+ * @ordered
+ */
+ public static final int BOTH_VALUE = 3;
+
+ /**
+ * An array of all the '<em><b>Relationship Direction</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final RelationshipDirection[] VALUES_ARRAY = new RelationshipDirection[] {
+ NONE, FORWARD, BACKWARD, BOTH, };
+
+ /**
+ * A public read-only list of all the '<em><b>Relationship Direction</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<RelationshipDirection> VALUES = Collections
+ .unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>Relationship Direction</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static RelationshipDirection get(String literal) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ RelationshipDirection result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Relationship Direction</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static RelationshipDirection getByName(String name) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ RelationshipDirection result = VALUES_ARRAY[i];
+ if (result.getName().equals(name)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Relationship Direction</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static RelationshipDirection get(int value) {
+ switch (value) {
+ case NONE_VALUE:
+ return NONE;
+ case FORWARD_VALUE:
+ return FORWARD;
+ case BACKWARD_VALUE:
+ return BACKWARD;
+ case BOTH_VALUE:
+ return BOTH;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final int value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String name;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String literal;
+
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private RelationshipDirection(int value, String name, String literal) {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLiteral() {
+ return literal;
+ }
+
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ return literal;
+ }
+
+} //RelationshipDirection
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Rendering.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Rendering.java
new file mode 100644
index 000000000..a93e773eb
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Rendering.java
@@ -0,0 +1,28 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Rendering</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getRendering()
+ * @model extendedMetaData="name='tRendering' kind='elementOnly'"
+ * @generated
+ */
+public interface Rendering extends BaseElement {
+} // Rendering
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Resource.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Resource.java
new file mode 100644
index 000000000..c2cf51391
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Resource.java
@@ -0,0 +1,81 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Resource</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.Resource#getResourceParameters <em>Resource Parameters</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Resource#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getResource()
+ * @model extendedMetaData="name='tResource' kind='elementOnly'"
+ * @generated
+ */
+public interface Resource extends RootElement {
+ /**
+ * Returns the value of the '<em><b>Resource Parameters</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.ResourceParameter}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Resource Parameters</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Resource Parameters</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getResource_ResourceParameters()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='resourceParameter' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<ResourceParameter> getResourceParameters();
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getResource_Name()
+ * @model required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Resource#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+} // Resource
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ResourceAssignmentExpression.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ResourceAssignmentExpression.java
new file mode 100644
index 000000000..16122d2a5
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ResourceAssignmentExpression.java
@@ -0,0 +1,61 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Resource Assignment Expression</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.ResourceAssignmentExpression#getExpression <em>Expression</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getResourceAssignmentExpression()
+ * @model extendedMetaData="name='tResourceAssignmentExpression' kind='elementOnly'"
+ * @generated
+ */
+public interface ResourceAssignmentExpression extends BaseElement {
+ /**
+ * Returns the value of the '<em><b>Expression</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Expression</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Expression</em>' containment reference.
+ * @see #setExpression(Expression)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getResourceAssignmentExpression_Expression()
+ * @model containment="true" required="true" ordered="false"
+ * extendedMetaData="kind='element' name='expression' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' group='http://www.omg.org/spec/BPMN/20100524/MODEL#expression'"
+ * @generated
+ */
+ Expression getExpression();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ResourceAssignmentExpression#getExpression <em>Expression</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Expression</em>' containment reference.
+ * @see #getExpression()
+ * @generated
+ */
+ void setExpression(Expression value);
+
+} // ResourceAssignmentExpression
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ResourceParameter.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ResourceParameter.java
new file mode 100644
index 000000000..798a4cd04
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ResourceParameter.java
@@ -0,0 +1,117 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Resource Parameter</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.ResourceParameter#isIsRequired <em>Is Required</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ResourceParameter#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ResourceParameter#getType <em>Type</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getResourceParameter()
+ * @model extendedMetaData="name='tResourceParameter' kind='elementOnly'"
+ * @generated
+ */
+public interface ResourceParameter extends BaseElement {
+ /**
+ * Returns the value of the '<em><b>Is Required</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Is Required</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Is Required</em>' attribute.
+ * @see #setIsRequired(boolean)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getResourceParameter_IsRequired()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='isRequired'"
+ * @generated
+ */
+ boolean isIsRequired();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ResourceParameter#isIsRequired <em>Is Required</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Is Required</em>' attribute.
+ * @see #isIsRequired()
+ * @generated
+ */
+ void setIsRequired(boolean value);
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getResourceParameter_Name()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ResourceParameter#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+ /**
+ * Returns the value of the '<em><b>Type</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Type</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Type</em>' reference.
+ * @see #setType(ItemDefinition)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getResourceParameter_Type()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='type'"
+ * @generated
+ */
+ ItemDefinition getType();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ResourceParameter#getType <em>Type</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Type</em>' reference.
+ * @see #getType()
+ * @generated
+ */
+ void setType(ItemDefinition value);
+
+} // ResourceParameter
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ResourceParameterBinding.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ResourceParameterBinding.java
new file mode 100644
index 000000000..043ef3513
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ResourceParameterBinding.java
@@ -0,0 +1,89 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Resource Parameter Binding</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.ResourceParameterBinding#getExpression <em>Expression</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ResourceParameterBinding#getParameterRef <em>Parameter Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getResourceParameterBinding()
+ * @model extendedMetaData="name='tResourceParameterBinding' kind='elementOnly'"
+ * @generated
+ */
+public interface ResourceParameterBinding extends BaseElement {
+ /**
+ * Returns the value of the '<em><b>Expression</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Expression</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Expression</em>' containment reference.
+ * @see #setExpression(Expression)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getResourceParameterBinding_Expression()
+ * @model containment="true" required="true" ordered="false"
+ * extendedMetaData="kind='element' name='expression' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' group='http://www.omg.org/spec/BPMN/20100524/MODEL#expression'"
+ * @generated
+ */
+ Expression getExpression();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ResourceParameterBinding#getExpression <em>Expression</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Expression</em>' containment reference.
+ * @see #getExpression()
+ * @generated
+ */
+ void setExpression(Expression value);
+
+ /**
+ * Returns the value of the '<em><b>Parameter Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Parameter Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Parameter Ref</em>' reference.
+ * @see #setParameterRef(ResourceParameter)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getResourceParameterBinding_ParameterRef()
+ * @model required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='parameterRef'"
+ * @generated
+ */
+ ResourceParameter getParameterRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ResourceParameterBinding#getParameterRef <em>Parameter Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Parameter Ref</em>' reference.
+ * @see #getParameterRef()
+ * @generated
+ */
+ void setParameterRef(ResourceParameter value);
+
+} // ResourceParameterBinding
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ResourceRole.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ResourceRole.java
new file mode 100644
index 000000000..95ffc7799
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ResourceRole.java
@@ -0,0 +1,137 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Resource Role</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.ResourceRole#getResourceRef <em>Resource Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ResourceRole#getResourceParameterBindings <em>Resource Parameter Bindings</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ResourceRole#getResourceAssignmentExpression <em>Resource Assignment Expression</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ResourceRole#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getResourceRole()
+ * @model extendedMetaData="name='tResourceRole' kind='elementOnly'"
+ * @generated
+ */
+public interface ResourceRole extends BaseElement {
+ /**
+ * Returns the value of the '<em><b>Resource Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Resource Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Resource Ref</em>' reference.
+ * @see #setResourceRef(Resource)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getResourceRole_ResourceRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='element' name='resourceRef' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Resource getResourceRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ResourceRole#getResourceRef <em>Resource Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Resource Ref</em>' reference.
+ * @see #getResourceRef()
+ * @generated
+ */
+ void setResourceRef(Resource value);
+
+ /**
+ * Returns the value of the '<em><b>Resource Parameter Bindings</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.ResourceParameterBinding}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Resource Parameter Bindings</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Resource Parameter Bindings</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getResourceRole_ResourceParameterBindings()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='resourceParameterBinding' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<ResourceParameterBinding> getResourceParameterBindings();
+
+ /**
+ * Returns the value of the '<em><b>Resource Assignment Expression</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Resource Assignment Expression</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Resource Assignment Expression</em>' containment reference.
+ * @see #setResourceAssignmentExpression(ResourceAssignmentExpression)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getResourceRole_ResourceAssignmentExpression()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='resourceAssignmentExpression' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ ResourceAssignmentExpression getResourceAssignmentExpression();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ResourceRole#getResourceAssignmentExpression <em>Resource Assignment Expression</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Resource Assignment Expression</em>' containment reference.
+ * @see #getResourceAssignmentExpression()
+ * @generated
+ */
+ void setResourceAssignmentExpression(ResourceAssignmentExpression value);
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getResourceRole_Name()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ResourceRole#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+} // ResourceRole
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/RootElement.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/RootElement.java
new file mode 100644
index 000000000..12f9d40fd
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/RootElement.java
@@ -0,0 +1,28 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Root Element</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getRootElement()
+ * @model extendedMetaData="name='tRootElement' kind='elementOnly' abstract='true'"
+ * @generated
+ */
+public interface RootElement extends BaseElement {
+} // RootElement
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ScriptTask.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ScriptTask.java
new file mode 100644
index 000000000..8038ce9a5
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ScriptTask.java
@@ -0,0 +1,89 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Script Task</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.ScriptTask#getScript <em>Script</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ScriptTask#getScriptFormat <em>Script Format</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getScriptTask()
+ * @model extendedMetaData="name='tScriptTask' kind='elementOnly'"
+ * @generated
+ */
+public interface ScriptTask extends Task {
+ /**
+ * Returns the value of the '<em><b>Script</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Script</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Script</em>' attribute.
+ * @see #setScript(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getScriptTask_Script()
+ * @model required="true" ordered="false"
+ * extendedMetaData="kind='element' name='script' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ String getScript();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ScriptTask#getScript <em>Script</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Script</em>' attribute.
+ * @see #getScript()
+ * @generated
+ */
+ void setScript(String value);
+
+ /**
+ * Returns the value of the '<em><b>Script Format</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Script Format</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Script Format</em>' attribute.
+ * @see #setScriptFormat(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getScriptTask_ScriptFormat()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='scriptFormat'"
+ * @generated
+ */
+ String getScriptFormat();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ScriptTask#getScriptFormat <em>Script Format</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Script Format</em>' attribute.
+ * @see #getScriptFormat()
+ * @generated
+ */
+ void setScriptFormat(String value);
+
+} // ScriptTask
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/SendTask.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/SendTask.java
new file mode 100644
index 000000000..f080db638
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/SendTask.java
@@ -0,0 +1,117 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Send Task</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.SendTask#getImplementation <em>Implementation</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.SendTask#getMessageRef <em>Message Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.SendTask#getOperationRef <em>Operation Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getSendTask()
+ * @model extendedMetaData="name='tSendTask' kind='elementOnly'"
+ * @generated
+ */
+public interface SendTask extends Task {
+ /**
+ * Returns the value of the '<em><b>Implementation</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Implementation</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Implementation</em>' attribute.
+ * @see #setImplementation(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getSendTask_Implementation()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='implementation'"
+ * @generated
+ */
+ String getImplementation();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.SendTask#getImplementation <em>Implementation</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Implementation</em>' attribute.
+ * @see #getImplementation()
+ * @generated
+ */
+ void setImplementation(String value);
+
+ /**
+ * Returns the value of the '<em><b>Message Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Message Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Message Ref</em>' reference.
+ * @see #setMessageRef(Message)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getSendTask_MessageRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='messageRef'"
+ * @generated
+ */
+ Message getMessageRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.SendTask#getMessageRef <em>Message Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Message Ref</em>' reference.
+ * @see #getMessageRef()
+ * @generated
+ */
+ void setMessageRef(Message value);
+
+ /**
+ * Returns the value of the '<em><b>Operation Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Operation Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Operation Ref</em>' reference.
+ * @see #setOperationRef(Operation)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getSendTask_OperationRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='operationRef'"
+ * @generated
+ */
+ Operation getOperationRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.SendTask#getOperationRef <em>Operation Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Operation Ref</em>' reference.
+ * @see #getOperationRef()
+ * @generated
+ */
+ void setOperationRef(Operation value);
+
+} // SendTask
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/SequenceFlow.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/SequenceFlow.java
new file mode 100644
index 000000000..a1a053085
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/SequenceFlow.java
@@ -0,0 +1,149 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Sequence Flow</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.SequenceFlow#getConditionExpression <em>Condition Expression</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.SequenceFlow#isIsImmediate <em>Is Immediate</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.SequenceFlow#getSourceRef <em>Source Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.SequenceFlow#getTargetRef <em>Target Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getSequenceFlow()
+ * @model extendedMetaData="name='tSequenceFlow' kind='elementOnly'"
+ * @generated
+ */
+public interface SequenceFlow extends FlowElement {
+ /**
+ * Returns the value of the '<em><b>Condition Expression</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Condition Expression</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Condition Expression</em>' containment reference.
+ * @see #setConditionExpression(Expression)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getSequenceFlow_ConditionExpression()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='conditionExpression' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Expression getConditionExpression();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.SequenceFlow#getConditionExpression <em>Condition Expression</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Condition Expression</em>' containment reference.
+ * @see #getConditionExpression()
+ * @generated
+ */
+ void setConditionExpression(Expression value);
+
+ /**
+ * Returns the value of the '<em><b>Is Immediate</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Is Immediate</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Is Immediate</em>' attribute.
+ * @see #setIsImmediate(boolean)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getSequenceFlow_IsImmediate()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='isImmediate'"
+ * @generated
+ */
+ boolean isIsImmediate();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.SequenceFlow#isIsImmediate <em>Is Immediate</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Is Immediate</em>' attribute.
+ * @see #isIsImmediate()
+ * @generated
+ */
+ void setIsImmediate(boolean value);
+
+ /**
+ * Returns the value of the '<em><b>Source Ref</b></em>' reference.
+ * It is bidirectional and its opposite is '{@link org.eclipse.bpmn2.FlowNode#getOutgoing <em>Outgoing</em>}'.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Source Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Source Ref</em>' reference.
+ * @see #setSourceRef(FlowNode)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getSequenceFlow_SourceRef()
+ * @see org.eclipse.bpmn2.FlowNode#getOutgoing
+ * @model opposite="outgoing" resolveProxies="false" required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='sourceRef'"
+ * @generated
+ */
+ FlowNode getSourceRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.SequenceFlow#getSourceRef <em>Source Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Source Ref</em>' reference.
+ * @see #getSourceRef()
+ * @generated
+ */
+ void setSourceRef(FlowNode value);
+
+ /**
+ * Returns the value of the '<em><b>Target Ref</b></em>' reference.
+ * It is bidirectional and its opposite is '{@link org.eclipse.bpmn2.FlowNode#getIncoming <em>Incoming</em>}'.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Target Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Target Ref</em>' reference.
+ * @see #setTargetRef(FlowNode)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getSequenceFlow_TargetRef()
+ * @see org.eclipse.bpmn2.FlowNode#getIncoming
+ * @model opposite="incoming" resolveProxies="false" required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='targetRef'"
+ * @generated
+ */
+ FlowNode getTargetRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.SequenceFlow#getTargetRef <em>Target Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Target Ref</em>' reference.
+ * @see #getTargetRef()
+ * @generated
+ */
+ void setTargetRef(FlowNode value);
+
+} // SequenceFlow
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ServiceTask.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ServiceTask.java
new file mode 100644
index 000000000..51b6a8c90
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ServiceTask.java
@@ -0,0 +1,89 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Service Task</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.ServiceTask#getImplementation <em>Implementation</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ServiceTask#getOperationRef <em>Operation Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getServiceTask()
+ * @model extendedMetaData="name='tServiceTask' kind='elementOnly'"
+ * @generated
+ */
+public interface ServiceTask extends Task {
+ /**
+ * Returns the value of the '<em><b>Implementation</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Implementation</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Implementation</em>' attribute.
+ * @see #setImplementation(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getServiceTask_Implementation()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='implementation'"
+ * @generated
+ */
+ String getImplementation();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ServiceTask#getImplementation <em>Implementation</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Implementation</em>' attribute.
+ * @see #getImplementation()
+ * @generated
+ */
+ void setImplementation(String value);
+
+ /**
+ * Returns the value of the '<em><b>Operation Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Operation Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Operation Ref</em>' reference.
+ * @see #setOperationRef(Operation)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getServiceTask_OperationRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='operationRef'"
+ * @generated
+ */
+ Operation getOperationRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ServiceTask#getOperationRef <em>Operation Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Operation Ref</em>' reference.
+ * @see #getOperationRef()
+ * @generated
+ */
+ void setOperationRef(Operation value);
+
+} // ServiceTask
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Signal.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Signal.java
new file mode 100644
index 000000000..776b77692
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Signal.java
@@ -0,0 +1,89 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Signal</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.Signal#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Signal#getStructureRef <em>Structure Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getSignal()
+ * @model extendedMetaData="name='tSignal' kind='elementOnly'"
+ * @generated
+ */
+public interface Signal extends RootElement {
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getSignal_Name()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Signal#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+ /**
+ * Returns the value of the '<em><b>Structure Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Structure Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Structure Ref</em>' reference.
+ * @see #setStructureRef(ItemDefinition)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getSignal_StructureRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='structureRef'"
+ * @generated
+ */
+ ItemDefinition getStructureRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Signal#getStructureRef <em>Structure Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Structure Ref</em>' reference.
+ * @see #getStructureRef()
+ * @generated
+ */
+ void setStructureRef(ItemDefinition value);
+
+} // Signal
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/SignalEventDefinition.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/SignalEventDefinition.java
new file mode 100644
index 000000000..f65634107
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/SignalEventDefinition.java
@@ -0,0 +1,61 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Signal Event Definition</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.SignalEventDefinition#getSignalRef <em>Signal Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getSignalEventDefinition()
+ * @model extendedMetaData="name='tSignalEventDefinition' kind='elementOnly'"
+ * @generated
+ */
+public interface SignalEventDefinition extends EventDefinition {
+ /**
+ * Returns the value of the '<em><b>Signal Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Signal Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Signal Ref</em>' reference.
+ * @see #setSignalRef(Signal)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getSignalEventDefinition_SignalRef()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='signalRef'"
+ * @generated
+ */
+ Signal getSignalRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.SignalEventDefinition#getSignalRef <em>Signal Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Signal Ref</em>' reference.
+ * @see #getSignalRef()
+ * @generated
+ */
+ void setSignalRef(Signal value);
+
+} // SignalEventDefinition
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/StandardLoopCharacteristics.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/StandardLoopCharacteristics.java
new file mode 100644
index 000000000..e4816e974
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/StandardLoopCharacteristics.java
@@ -0,0 +1,118 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Standard Loop Characteristics</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.StandardLoopCharacteristics#getLoopCondition <em>Loop Condition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.StandardLoopCharacteristics#getLoopMaximum <em>Loop Maximum</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.StandardLoopCharacteristics#isTestBefore <em>Test Before</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getStandardLoopCharacteristics()
+ * @model extendedMetaData="name='tStandardLoopCharacteristics' kind='elementOnly'"
+ * @generated
+ */
+public interface StandardLoopCharacteristics extends LoopCharacteristics {
+ /**
+ * Returns the value of the '<em><b>Loop Condition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Loop Condition</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Loop Condition</em>' containment reference.
+ * @see #setLoopCondition(Expression)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getStandardLoopCharacteristics_LoopCondition()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='loopCondition' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Expression getLoopCondition();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.StandardLoopCharacteristics#getLoopCondition <em>Loop Condition</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Loop Condition</em>' containment reference.
+ * @see #getLoopCondition()
+ * @generated
+ */
+ void setLoopCondition(Expression value);
+
+ /**
+ * Returns the value of the '<em><b>Loop Maximum</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Loop Maximum</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Loop Maximum</em>' containment reference.
+ * @see #setLoopMaximum(Expression)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getStandardLoopCharacteristics_LoopMaximum()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='loopMaximum'"
+ * @generated
+ */
+ Expression getLoopMaximum();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.StandardLoopCharacteristics#getLoopMaximum <em>Loop Maximum</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Loop Maximum</em>' containment reference.
+ * @see #getLoopMaximum()
+ * @generated
+ */
+ void setLoopMaximum(Expression value);
+
+ /**
+ * Returns the value of the '<em><b>Test Before</b></em>' attribute.
+ * The default value is <code>"false"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Test Before</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Test Before</em>' attribute.
+ * @see #setTestBefore(boolean)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getStandardLoopCharacteristics_TestBefore()
+ * @model default="false" ordered="false"
+ * extendedMetaData="kind='attribute' name='testBefore'"
+ * @generated
+ */
+ boolean isTestBefore();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.StandardLoopCharacteristics#isTestBefore <em>Test Before</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Test Before</em>' attribute.
+ * @see #isTestBefore()
+ * @generated
+ */
+ void setTestBefore(boolean value);
+
+} // StandardLoopCharacteristics
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/StartEvent.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/StartEvent.java
new file mode 100644
index 000000000..9b204efaf
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/StartEvent.java
@@ -0,0 +1,62 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Start Event</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.StartEvent#isIsInterrupting <em>Is Interrupting</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getStartEvent()
+ * @model extendedMetaData="name='tStartEvent' kind='elementOnly'"
+ * @generated
+ */
+public interface StartEvent extends CatchEvent {
+ /**
+ * Returns the value of the '<em><b>Is Interrupting</b></em>' attribute.
+ * The default value is <code>"true"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Is Interrupting</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Is Interrupting</em>' attribute.
+ * @see #setIsInterrupting(boolean)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getStartEvent_IsInterrupting()
+ * @model default="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='isInterrupting'"
+ * @generated
+ */
+ boolean isIsInterrupting();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.StartEvent#isIsInterrupting <em>Is Interrupting</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Is Interrupting</em>' attribute.
+ * @see #isIsInterrupting()
+ * @generated
+ */
+ void setIsInterrupting(boolean value);
+
+} // StartEvent
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/SubChoreography.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/SubChoreography.java
new file mode 100644
index 000000000..ac50a530d
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/SubChoreography.java
@@ -0,0 +1,54 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Sub Choreography</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.SubChoreography#getArtifacts <em>Artifacts</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getSubChoreography()
+ * @model extendedMetaData="name='tSubChoreography' kind='elementOnly'"
+ * @generated
+ */
+public interface SubChoreography extends ChoreographyActivity,
+ FlowElementsContainer {
+ /**
+ * Returns the value of the '<em><b>Artifacts</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.Artifact}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Artifacts</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Artifacts</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getSubChoreography_Artifacts()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='artifact' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' group='http://www.omg.org/spec/BPMN/20100524/MODEL#artifact'"
+ * @generated
+ */
+ List<Artifact> getArtifacts();
+
+} // SubChoreography
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/SubConversation.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/SubConversation.java
new file mode 100644
index 000000000..d955f25cb
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/SubConversation.java
@@ -0,0 +1,53 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Sub Conversation</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.SubConversation#getConversationNodes <em>Conversation Nodes</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getSubConversation()
+ * @model extendedMetaData="name='tSubConversation' kind='elementOnly'"
+ * @generated
+ */
+public interface SubConversation extends ConversationNode {
+ /**
+ * Returns the value of the '<em><b>Conversation Nodes</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.ConversationNode}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Conversation Nodes</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Conversation Nodes</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getSubConversation_ConversationNodes()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='conversationNode' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' group='http://www.omg.org/spec/BPMN/20100524/MODEL#conversationNode'"
+ * @generated
+ */
+ List<ConversationNode> getConversationNodes();
+
+} // SubConversation
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/SubProcess.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/SubProcess.java
new file mode 100644
index 000000000..fecc0a45f
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/SubProcess.java
@@ -0,0 +1,82 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Sub Process</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.SubProcess#getArtifacts <em>Artifacts</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.SubProcess#isTriggeredByEvent <em>Triggered By Event</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getSubProcess()
+ * @model extendedMetaData="name='tSubProcess' kind='elementOnly'"
+ * @generated
+ */
+public interface SubProcess extends Activity, FlowElementsContainer {
+ /**
+ * Returns the value of the '<em><b>Artifacts</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.Artifact}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Artifacts</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Artifacts</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getSubProcess_Artifacts()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='artifact' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' group='http://www.omg.org/spec/BPMN/20100524/MODEL#artifact'"
+ * @generated
+ */
+ List<Artifact> getArtifacts();
+
+ /**
+ * Returns the value of the '<em><b>Triggered By Event</b></em>' attribute.
+ * The default value is <code>"false"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Triggered By Event</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Triggered By Event</em>' attribute.
+ * @see #setTriggeredByEvent(boolean)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getSubProcess_TriggeredByEvent()
+ * @model default="false" ordered="false"
+ * extendedMetaData="kind='attribute' name='triggeredByEvent'"
+ * @generated
+ */
+ boolean isTriggeredByEvent();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.SubProcess#isTriggeredByEvent <em>Triggered By Event</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Triggered By Event</em>' attribute.
+ * @see #isTriggeredByEvent()
+ * @generated
+ */
+ void setTriggeredByEvent(boolean value);
+
+} // SubProcess
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Task.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Task.java
new file mode 100644
index 000000000..2c9f5f847
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Task.java
@@ -0,0 +1,28 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Task</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getTask()
+ * @model extendedMetaData="name='tTask' kind='elementOnly'"
+ * @generated
+ */
+public interface Task extends Activity, InteractionNode {
+} // Task
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/TerminateEventDefinition.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/TerminateEventDefinition.java
new file mode 100644
index 000000000..3606576c0
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/TerminateEventDefinition.java
@@ -0,0 +1,28 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Terminate Event Definition</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getTerminateEventDefinition()
+ * @model extendedMetaData="name='tTerminateEventDefinition' kind='elementOnly'"
+ * @generated
+ */
+public interface TerminateEventDefinition extends EventDefinition {
+} // TerminateEventDefinition
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/TextAnnotation.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/TextAnnotation.java
new file mode 100644
index 000000000..09087cca2
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/TextAnnotation.java
@@ -0,0 +1,90 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Text Annotation</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.TextAnnotation#getText <em>Text</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.TextAnnotation#getTextFormat <em>Text Format</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getTextAnnotation()
+ * @model extendedMetaData="name='tTextAnnotation' kind='elementOnly'"
+ * @generated
+ */
+public interface TextAnnotation extends Artifact {
+ /**
+ * Returns the value of the '<em><b>Text</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Text</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Text</em>' attribute.
+ * @see #setText(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getTextAnnotation_Text()
+ * @model required="true" ordered="false"
+ * extendedMetaData="kind='element' name='text' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ String getText();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.TextAnnotation#getText <em>Text</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Text</em>' attribute.
+ * @see #getText()
+ * @generated
+ */
+ void setText(String value);
+
+ /**
+ * Returns the value of the '<em><b>Text Format</b></em>' attribute.
+ * The default value is <code>"text/plain"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Text Format</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Text Format</em>' attribute.
+ * @see #setTextFormat(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getTextAnnotation_TextFormat()
+ * @model default="text/plain" ordered="false"
+ * extendedMetaData="kind='attribute' name='textFormat'"
+ * @generated
+ */
+ String getTextFormat();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.TextAnnotation#getTextFormat <em>Text Format</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Text Format</em>' attribute.
+ * @see #getTextFormat()
+ * @generated
+ */
+ void setTextFormat(String value);
+
+} // TextAnnotation
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ThrowEvent.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ThrowEvent.java
new file mode 100644
index 000000000..91094733b
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/ThrowEvent.java
@@ -0,0 +1,136 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Throw Event</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.ThrowEvent#getDataInputs <em>Data Inputs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ThrowEvent#getDataInputAssociation <em>Data Input Association</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ThrowEvent#getInputSet <em>Input Set</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ThrowEvent#getEventDefinitions <em>Event Definitions</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.ThrowEvent#getEventDefinitionRefs <em>Event Definition Refs</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getThrowEvent()
+ * @model abstract="true"
+ * extendedMetaData="name='tThrowEvent' kind='elementOnly'"
+ * @generated
+ */
+public interface ThrowEvent extends Event {
+ /**
+ * Returns the value of the '<em><b>Data Inputs</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.DataInput}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Data Inputs</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Data Inputs</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getThrowEvent_DataInputs()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='dataInput' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<DataInput> getDataInputs();
+
+ /**
+ * Returns the value of the '<em><b>Data Input Association</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.DataInputAssociation}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Data Input Association</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Data Input Association</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getThrowEvent_DataInputAssociation()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='dataInputAssociation' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<DataInputAssociation> getDataInputAssociation();
+
+ /**
+ * Returns the value of the '<em><b>Input Set</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Input Set</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Input Set</em>' containment reference.
+ * @see #setInputSet(InputSet)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getThrowEvent_InputSet()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='inputSet' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ InputSet getInputSet();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.ThrowEvent#getInputSet <em>Input Set</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Input Set</em>' containment reference.
+ * @see #getInputSet()
+ * @generated
+ */
+ void setInputSet(InputSet value);
+
+ /**
+ * Returns the value of the '<em><b>Event Definitions</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.EventDefinition}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Event Definitions</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Event Definitions</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getThrowEvent_EventDefinitions()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='eventDefinition' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' group='http://www.omg.org/spec/BPMN/20100524/MODEL#eventDefinition'"
+ * @generated
+ */
+ List<EventDefinition> getEventDefinitions();
+
+ /**
+ * Returns the value of the '<em><b>Event Definition Refs</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.EventDefinition}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Event Definition Refs</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Event Definition Refs</em>' reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getThrowEvent_EventDefinitionRefs()
+ * @model ordered="false"
+ * extendedMetaData="kind='element' name='eventDefinitionRef' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<EventDefinition> getEventDefinitionRefs();
+
+} // ThrowEvent
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/TimerEventDefinition.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/TimerEventDefinition.java
new file mode 100644
index 000000000..f608ee10c
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/TimerEventDefinition.java
@@ -0,0 +1,117 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Timer Event Definition</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.TimerEventDefinition#getTimeDate <em>Time Date</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.TimerEventDefinition#getTimeDuration <em>Time Duration</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.TimerEventDefinition#getTimeCycle <em>Time Cycle</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getTimerEventDefinition()
+ * @model extendedMetaData="name='tTimerEventDefinition' kind='elementOnly'"
+ * @generated
+ */
+public interface TimerEventDefinition extends EventDefinition {
+ /**
+ * Returns the value of the '<em><b>Time Date</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Time Date</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Time Date</em>' containment reference.
+ * @see #setTimeDate(Expression)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getTimerEventDefinition_TimeDate()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='timeDate' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Expression getTimeDate();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.TimerEventDefinition#getTimeDate <em>Time Date</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Time Date</em>' containment reference.
+ * @see #getTimeDate()
+ * @generated
+ */
+ void setTimeDate(Expression value);
+
+ /**
+ * Returns the value of the '<em><b>Time Duration</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Time Duration</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Time Duration</em>' containment reference.
+ * @see #setTimeDuration(Expression)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getTimerEventDefinition_TimeDuration()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='timeDuration' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Expression getTimeDuration();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.TimerEventDefinition#getTimeDuration <em>Time Duration</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Time Duration</em>' containment reference.
+ * @see #getTimeDuration()
+ * @generated
+ */
+ void setTimeDuration(Expression value);
+
+ /**
+ * Returns the value of the '<em><b>Time Cycle</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Time Cycle</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Time Cycle</em>' containment reference.
+ * @see #setTimeCycle(Expression)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getTimerEventDefinition_TimeCycle()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='timeCycle' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ Expression getTimeCycle();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.TimerEventDefinition#getTimeCycle <em>Time Cycle</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Time Cycle</em>' containment reference.
+ * @see #getTimeCycle()
+ * @generated
+ */
+ void setTimeCycle(Expression value);
+
+} // TimerEventDefinition
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Transaction.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Transaction.java
new file mode 100644
index 000000000..da1543e7c
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/Transaction.java
@@ -0,0 +1,88 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Transaction</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.Transaction#getProtocol <em>Protocol</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.Transaction#getMethod <em>Method</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getTransaction()
+ * @model extendedMetaData="name='tTransaction' kind='elementOnly'"
+ * @generated
+ */
+public interface Transaction extends SubProcess {
+ /**
+ * Returns the value of the '<em><b>Protocol</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Protocol</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Protocol</em>' attribute.
+ * @see #setProtocol(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getTransaction_Protocol()
+ * @model ordered="false"
+ * @generated
+ */
+ String getProtocol();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Transaction#getProtocol <em>Protocol</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Protocol</em>' attribute.
+ * @see #getProtocol()
+ * @generated
+ */
+ void setProtocol(String value);
+
+ /**
+ * Returns the value of the '<em><b>Method</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Method</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Method</em>' attribute.
+ * @see #setMethod(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getTransaction_Method()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='method'"
+ * @generated
+ */
+ String getMethod();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.Transaction#getMethod <em>Method</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Method</em>' attribute.
+ * @see #getMethod()
+ * @generated
+ */
+ void setMethod(String value);
+
+} // Transaction
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/UserTask.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/UserTask.java
new file mode 100644
index 000000000..2342d6c68
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/UserTask.java
@@ -0,0 +1,81 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>User Task</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.UserTask#getRenderings <em>Renderings</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.UserTask#getImplementation <em>Implementation</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.Bpmn2Package#getUserTask()
+ * @model extendedMetaData="name='tUserTask' kind='elementOnly'"
+ * @generated
+ */
+public interface UserTask extends Task {
+ /**
+ * Returns the value of the '<em><b>Renderings</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.Rendering}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Renderings</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Renderings</em>' containment reference list.
+ * @see org.eclipse.bpmn2.Bpmn2Package#getUserTask_Renderings()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='rendering' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'"
+ * @generated
+ */
+ List<Rendering> getRenderings();
+
+ /**
+ * Returns the value of the '<em><b>Implementation</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Implementation</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Implementation</em>' attribute.
+ * @see #setImplementation(String)
+ * @see org.eclipse.bpmn2.Bpmn2Package#getUserTask_Implementation()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='implementation'"
+ * @generated
+ */
+ String getImplementation();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.UserTask#getImplementation <em>Implementation</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Implementation</em>' attribute.
+ * @see #getImplementation()
+ * @generated
+ */
+ void setImplementation(String value);
+
+} // UserTask
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/BPMNDiagram.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/BPMNDiagram.java
new file mode 100644
index 000000000..5f5aa9e78
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/BPMNDiagram.java
@@ -0,0 +1,83 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.di;
+
+import java.util.List;
+
+import org.eclipse.dd.di.Diagram;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>BPMN Diagram</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.di.BPMNDiagram#getPlane <em>Plane</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.BPMNDiagram#getLabelStyle <em>Label Style</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage#getBPMNDiagram()
+ * @model extendedMetaData="name='BPMNDiagram' kind='elementOnly'"
+ * @generated
+ */
+public interface BPMNDiagram extends Diagram {
+ /**
+ * Returns the value of the '<em><b>Plane</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Plane</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Plane</em>' containment reference.
+ * @see #setPlane(BPMNPlane)
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage#getBPMNDiagram_Plane()
+ * @model containment="true" required="true" ordered="false"
+ * extendedMetaData="kind='element' name='BPMNPlane' namespace='http://www.omg.org/spec/BPMN/20100524/DI'"
+ * @generated
+ */
+ BPMNPlane getPlane();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.di.BPMNDiagram#getPlane <em>Plane</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Plane</em>' containment reference.
+ * @see #getPlane()
+ * @generated
+ */
+ void setPlane(BPMNPlane value);
+
+ /**
+ * Returns the value of the '<em><b>Label Style</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpmn2.di.BPMNLabelStyle}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Label Style</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Label Style</em>' containment reference list.
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage#getBPMNDiagram_LabelStyle()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='BPMNLabelStyle' namespace='http://www.omg.org/spec/BPMN/20100524/DI'"
+ * @generated
+ */
+ List<BPMNLabelStyle> getLabelStyle();
+
+} // BPMNDiagram
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/BPMNEdge.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/BPMNEdge.java
new file mode 100644
index 000000000..4613ce339
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/BPMNEdge.java
@@ -0,0 +1,181 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.di;
+
+import org.eclipse.bpmn2.BaseElement;
+
+import org.eclipse.dd.di.DiagramElement;
+import org.eclipse.dd.di.LabeledEdge;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>BPMN Edge</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.di.BPMNEdge#getLabel <em>Label</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.BPMNEdge#getBpmnElement <em>Bpmn Element</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.BPMNEdge#getMessageVisibleKind <em>Message Visible Kind</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.BPMNEdge#getSourceElement <em>Source Element</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.BPMNEdge#getTargetElement <em>Target Element</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage#getBPMNEdge()
+ * @model extendedMetaData="name='BPMNEdge' kind='elementOnly'"
+ * @generated
+ */
+public interface BPMNEdge extends LabeledEdge {
+ /**
+ * Returns the value of the '<em><b>Label</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Label</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Label</em>' containment reference.
+ * @see #setLabel(BPMNLabel)
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage#getBPMNEdge_Label()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='BPMNLabel' namespace='http://www.omg.org/spec/BPMN/20100524/DI'"
+ * @generated
+ */
+ BPMNLabel getLabel();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.di.BPMNEdge#getLabel <em>Label</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Label</em>' containment reference.
+ * @see #getLabel()
+ * @generated
+ */
+ void setLabel(BPMNLabel value);
+
+ /**
+ * Returns the value of the '<em><b>Bpmn Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Bpmn Element</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Bpmn Element</em>' reference.
+ * @see #setBpmnElement(BaseElement)
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage#getBPMNEdge_BpmnElement()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='bpmnElement'"
+ * @generated
+ */
+ BaseElement getBpmnElement();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.di.BPMNEdge#getBpmnElement <em>Bpmn Element</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Bpmn Element</em>' reference.
+ * @see #getBpmnElement()
+ * @generated
+ */
+ void setBpmnElement(BaseElement value);
+
+ /**
+ * Returns the value of the '<em><b>Message Visible Kind</b></em>' attribute.
+ * The literals are from the enumeration {@link org.eclipse.bpmn2.di.MessageVisibleKind}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Message Visible Kind</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Message Visible Kind</em>' attribute.
+ * @see org.eclipse.bpmn2.di.MessageVisibleKind
+ * @see #setMessageVisibleKind(MessageVisibleKind)
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage#getBPMNEdge_MessageVisibleKind()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='messageVisibleKind'"
+ * @generated
+ */
+ MessageVisibleKind getMessageVisibleKind();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.di.BPMNEdge#getMessageVisibleKind <em>Message Visible Kind</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Message Visible Kind</em>' attribute.
+ * @see org.eclipse.bpmn2.di.MessageVisibleKind
+ * @see #getMessageVisibleKind()
+ * @generated
+ */
+ void setMessageVisibleKind(MessageVisibleKind value);
+
+ /**
+ * Returns the value of the '<em><b>Source Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Source Element</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Source Element</em>' reference.
+ * @see #setSourceElement(DiagramElement)
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage#getBPMNEdge_SourceElement()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='sourceElement'"
+ * @generated
+ */
+ DiagramElement getSourceElement();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.di.BPMNEdge#getSourceElement <em>Source Element</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Source Element</em>' reference.
+ * @see #getSourceElement()
+ * @generated
+ */
+ void setSourceElement(DiagramElement value);
+
+ /**
+ * Returns the value of the '<em><b>Target Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Target Element</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Target Element</em>' reference.
+ * @see #setTargetElement(DiagramElement)
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage#getBPMNEdge_TargetElement()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='targetElement'"
+ * @generated
+ */
+ DiagramElement getTargetElement();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.di.BPMNEdge#getTargetElement <em>Target Element</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Target Element</em>' reference.
+ * @see #getTargetElement()
+ * @generated
+ */
+ void setTargetElement(DiagramElement value);
+
+} // BPMNEdge
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/BPMNLabel.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/BPMNLabel.java
new file mode 100644
index 000000000..569d0430f
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/BPMNLabel.java
@@ -0,0 +1,63 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.di;
+
+import org.eclipse.dd.di.Label;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>BPMN Label</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.di.BPMNLabel#getLabelStyle <em>Label Style</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage#getBPMNLabel()
+ * @model extendedMetaData="name='BPMNLabel' kind='elementOnly'"
+ * @generated
+ */
+public interface BPMNLabel extends Label {
+ /**
+ * Returns the value of the '<em><b>Label Style</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Label Style</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Label Style</em>' reference.
+ * @see #setLabelStyle(BPMNLabelStyle)
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage#getBPMNLabel_LabelStyle()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='labelStyle'"
+ * @generated
+ */
+ BPMNLabelStyle getLabelStyle();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.di.BPMNLabel#getLabelStyle <em>Label Style</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Label Style</em>' reference.
+ * @see #getLabelStyle()
+ * @generated
+ */
+ void setLabelStyle(BPMNLabelStyle value);
+
+} // BPMNLabel
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/BPMNLabelStyle.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/BPMNLabelStyle.java
new file mode 100644
index 000000000..c894daf2a
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/BPMNLabelStyle.java
@@ -0,0 +1,65 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.di;
+
+import org.eclipse.dd.dc.Font;
+
+import org.eclipse.dd.di.Style;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>BPMN Label Style</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.di.BPMNLabelStyle#getFont <em>Font</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage#getBPMNLabelStyle()
+ * @model extendedMetaData="name='BPMNLabelStyle' kind='elementOnly'"
+ * @generated
+ */
+public interface BPMNLabelStyle extends Style {
+ /**
+ * Returns the value of the '<em><b>Font</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Font</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Font</em>' containment reference.
+ * @see #setFont(Font)
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage#getBPMNLabelStyle_Font()
+ * @model containment="true" required="true" ordered="false"
+ * extendedMetaData="kind='element' name='Font' namespace='http://www.omg.org/spec/DD/20100524/DC'"
+ * @generated
+ */
+ Font getFont();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.di.BPMNLabelStyle#getFont <em>Font</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Font</em>' containment reference.
+ * @see #getFont()
+ * @generated
+ */
+ void setFont(Font value);
+
+} // BPMNLabelStyle
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/BPMNPlane.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/BPMNPlane.java
new file mode 100644
index 000000000..108abd49c
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/BPMNPlane.java
@@ -0,0 +1,65 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.di;
+
+import org.eclipse.bpmn2.BaseElement;
+
+import org.eclipse.dd.di.Plane;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>BPMN Plane</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.di.BPMNPlane#getBpmnElement <em>Bpmn Element</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage#getBPMNPlane()
+ * @model extendedMetaData="name='BPMNPlane' kind='elementOnly'"
+ * @generated
+ */
+public interface BPMNPlane extends Plane {
+ /**
+ * Returns the value of the '<em><b>Bpmn Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Bpmn Element</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Bpmn Element</em>' reference.
+ * @see #setBpmnElement(BaseElement)
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage#getBPMNPlane_BpmnElement()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='bpmnElement'"
+ * @generated
+ */
+ BaseElement getBpmnElement();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.di.BPMNPlane#getBpmnElement <em>Bpmn Element</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Bpmn Element</em>' reference.
+ * @see #getBpmnElement()
+ * @generated
+ */
+ void setBpmnElement(BaseElement value);
+
+} // BPMNPlane
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/BPMNShape.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/BPMNShape.java
new file mode 100644
index 000000000..cc8f98a3b
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/BPMNShape.java
@@ -0,0 +1,264 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.di;
+
+import org.eclipse.bpmn2.BaseElement;
+
+import org.eclipse.dd.di.LabeledShape;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>BPMN Shape</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.di.BPMNShape#getLabel <em>Label</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.BPMNShape#getBpmnElement <em>Bpmn Element</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.BPMNShape#getChoreographyActivityShape <em>Choreography Activity Shape</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.BPMNShape#isIsExpanded <em>Is Expanded</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.BPMNShape#isIsHorizontal <em>Is Horizontal</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.BPMNShape#isIsMarkerVisible <em>Is Marker Visible</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.BPMNShape#isIsMessageVisible <em>Is Message Visible</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.BPMNShape#getParticipantBandKind <em>Participant Band Kind</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage#getBPMNShape()
+ * @model extendedMetaData="name='BPMNShape' kind='elementOnly'"
+ * @generated
+ */
+public interface BPMNShape extends LabeledShape {
+ /**
+ * Returns the value of the '<em><b>Label</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Label</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Label</em>' containment reference.
+ * @see #setLabel(BPMNLabel)
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage#getBPMNShape_Label()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='BPMNLabel' namespace='http://www.omg.org/spec/BPMN/20100524/DI'"
+ * @generated
+ */
+ BPMNLabel getLabel();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.di.BPMNShape#getLabel <em>Label</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Label</em>' containment reference.
+ * @see #getLabel()
+ * @generated
+ */
+ void setLabel(BPMNLabel value);
+
+ /**
+ * Returns the value of the '<em><b>Bpmn Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Bpmn Element</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Bpmn Element</em>' reference.
+ * @see #setBpmnElement(BaseElement)
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage#getBPMNShape_BpmnElement()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='bpmnElement'"
+ * @generated
+ */
+ BaseElement getBpmnElement();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.di.BPMNShape#getBpmnElement <em>Bpmn Element</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Bpmn Element</em>' reference.
+ * @see #getBpmnElement()
+ * @generated
+ */
+ void setBpmnElement(BaseElement value);
+
+ /**
+ * Returns the value of the '<em><b>Choreography Activity Shape</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Choreography Activity Shape</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Choreography Activity Shape</em>' reference.
+ * @see #setChoreographyActivityShape(BPMNShape)
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage#getBPMNShape_ChoreographyActivityShape()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='choreographyActivityShape'"
+ * @generated
+ */
+ BPMNShape getChoreographyActivityShape();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.di.BPMNShape#getChoreographyActivityShape <em>Choreography Activity Shape</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Choreography Activity Shape</em>' reference.
+ * @see #getChoreographyActivityShape()
+ * @generated
+ */
+ void setChoreographyActivityShape(BPMNShape value);
+
+ /**
+ * Returns the value of the '<em><b>Is Expanded</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Is Expanded</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Is Expanded</em>' attribute.
+ * @see #setIsExpanded(boolean)
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage#getBPMNShape_IsExpanded()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='isExpanded'"
+ * @generated
+ */
+ boolean isIsExpanded();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.di.BPMNShape#isIsExpanded <em>Is Expanded</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Is Expanded</em>' attribute.
+ * @see #isIsExpanded()
+ * @generated
+ */
+ void setIsExpanded(boolean value);
+
+ /**
+ * Returns the value of the '<em><b>Is Horizontal</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Is Horizontal</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Is Horizontal</em>' attribute.
+ * @see #setIsHorizontal(boolean)
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage#getBPMNShape_IsHorizontal()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='isHorizontal'"
+ * @generated
+ */
+ boolean isIsHorizontal();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.di.BPMNShape#isIsHorizontal <em>Is Horizontal</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Is Horizontal</em>' attribute.
+ * @see #isIsHorizontal()
+ * @generated
+ */
+ void setIsHorizontal(boolean value);
+
+ /**
+ * Returns the value of the '<em><b>Is Marker Visible</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Is Marker Visible</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Is Marker Visible</em>' attribute.
+ * @see #setIsMarkerVisible(boolean)
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage#getBPMNShape_IsMarkerVisible()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='isMarkerVisible'"
+ * @generated
+ */
+ boolean isIsMarkerVisible();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.di.BPMNShape#isIsMarkerVisible <em>Is Marker Visible</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Is Marker Visible</em>' attribute.
+ * @see #isIsMarkerVisible()
+ * @generated
+ */
+ void setIsMarkerVisible(boolean value);
+
+ /**
+ * Returns the value of the '<em><b>Is Message Visible</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Is Message Visible</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Is Message Visible</em>' attribute.
+ * @see #setIsMessageVisible(boolean)
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage#getBPMNShape_IsMessageVisible()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='isMessageVisible'"
+ * @generated
+ */
+ boolean isIsMessageVisible();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.di.BPMNShape#isIsMessageVisible <em>Is Message Visible</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Is Message Visible</em>' attribute.
+ * @see #isIsMessageVisible()
+ * @generated
+ */
+ void setIsMessageVisible(boolean value);
+
+ /**
+ * Returns the value of the '<em><b>Participant Band Kind</b></em>' attribute.
+ * The literals are from the enumeration {@link org.eclipse.bpmn2.di.ParticipantBandKind}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Participant Band Kind</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Participant Band Kind</em>' attribute.
+ * @see org.eclipse.bpmn2.di.ParticipantBandKind
+ * @see #setParticipantBandKind(ParticipantBandKind)
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage#getBPMNShape_ParticipantBandKind()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='participantBandKind'"
+ * @generated
+ */
+ ParticipantBandKind getParticipantBandKind();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.di.BPMNShape#getParticipantBandKind <em>Participant Band Kind</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Participant Band Kind</em>' attribute.
+ * @see org.eclipse.bpmn2.di.ParticipantBandKind
+ * @see #getParticipantBandKind()
+ * @generated
+ */
+ void setParticipantBandKind(ParticipantBandKind value);
+
+} // BPMNShape
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/BpmnDiFactory.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/BpmnDiFactory.java
new file mode 100644
index 000000000..074248137
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/BpmnDiFactory.java
@@ -0,0 +1,109 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.di;
+
+import org.eclipse.emf.ecore.EFactory;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Factory</b> for the model.
+ * It provides a create method for each non-abstract class of the model.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage
+ * @generated
+ */
+public interface BpmnDiFactory extends EFactory {
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ BpmnDiFactory eINSTANCE = org.eclipse.bpmn2.di.impl.BpmnDiFactoryImpl
+ .init();
+
+ /**
+ * Returns a new object of class '<em>Document Root</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Document Root</em>'.
+ * @generated
+ */
+ DocumentRoot createDocumentRoot();
+
+ /**
+ * Returns a new object of class '<em>BPMN Diagram</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>BPMN Diagram</em>'.
+ * @generated
+ */
+ BPMNDiagram createBPMNDiagram();
+
+ /**
+ * Returns a new object of class '<em>BPMN Edge</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>BPMN Edge</em>'.
+ * @generated
+ */
+ BPMNEdge createBPMNEdge();
+
+ /**
+ * Returns a new object of class '<em>BPMN Label</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>BPMN Label</em>'.
+ * @generated
+ */
+ BPMNLabel createBPMNLabel();
+
+ /**
+ * Returns a new object of class '<em>BPMN Label Style</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>BPMN Label Style</em>'.
+ * @generated
+ */
+ BPMNLabelStyle createBPMNLabelStyle();
+
+ /**
+ * Returns a new object of class '<em>BPMN Plane</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>BPMN Plane</em>'.
+ * @generated
+ */
+ BPMNPlane createBPMNPlane();
+
+ /**
+ * Returns a new object of class '<em>BPMN Shape</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>BPMN Shape</em>'.
+ * @generated
+ */
+ BPMNShape createBPMNShape();
+
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the package supported by this factory.
+ * @generated
+ */
+ BpmnDiPackage getBpmnDiPackage();
+
+} //BpmnDiFactory
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/BpmnDiPackage.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/BpmnDiPackage.java
new file mode 100644
index 000000000..056252192
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/BpmnDiPackage.java
@@ -0,0 +1,1560 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.di;
+
+import org.eclipse.dd.di.DiPackage;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EEnum;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Package</b> for the model.
+ * It contains accessors for the meta objects to represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.di.BpmnDiFactory
+ * @model kind="package"
+ * @generated
+ */
+public interface BpmnDiPackage extends EPackage {
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNAME = "di";
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_URI = "http://www.omg.org/spec/BPMN/20100524/DI-XMI";
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_PREFIX = "bpmndi";
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ BpmnDiPackage eINSTANCE = org.eclipse.bpmn2.di.impl.BpmnDiPackageImpl
+ .init();
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.di.impl.DocumentRootImpl <em>Document Root</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.di.impl.DocumentRootImpl
+ * @see org.eclipse.bpmn2.di.impl.BpmnDiPackageImpl#getDocumentRoot()
+ * @generated
+ */
+ int DOCUMENT_ROOT = 0;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__MIXED = 0;
+
+ /**
+ * The feature id for the '<em><b>XMLNS Prefix Map</b></em>' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__XMLNS_PREFIX_MAP = 1;
+
+ /**
+ * The feature id for the '<em><b>XSI Schema Location</b></em>' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = 2;
+
+ /**
+ * The feature id for the '<em><b>BPMN Diagram</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__BPMN_DIAGRAM = 3;
+
+ /**
+ * The feature id for the '<em><b>BPMN Edge</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__BPMN_EDGE = 4;
+
+ /**
+ * The feature id for the '<em><b>BPMN Label</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__BPMN_LABEL = 5;
+
+ /**
+ * The feature id for the '<em><b>BPMN Label Style</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__BPMN_LABEL_STYLE = 6;
+
+ /**
+ * The feature id for the '<em><b>BPMN Plane</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__BPMN_PLANE = 7;
+
+ /**
+ * The feature id for the '<em><b>BPMN Shape</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__BPMN_SHAPE = 8;
+
+ /**
+ * The number of structural features of the '<em>Document Root</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT_FEATURE_COUNT = 9;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.di.impl.BPMNDiagramImpl <em>BPMN Diagram</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.di.impl.BPMNDiagramImpl
+ * @see org.eclipse.bpmn2.di.impl.BpmnDiPackageImpl#getBPMNDiagram()
+ * @generated
+ */
+ int BPMN_DIAGRAM = 1;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_DIAGRAM__DOCUMENTATION = DiPackage.DIAGRAM__DOCUMENTATION;
+
+ /**
+ * The feature id for the '<em><b>Owned Style</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_DIAGRAM__OWNED_STYLE = DiPackage.DIAGRAM__OWNED_STYLE;
+
+ /**
+ * The feature id for the '<em><b>Root Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_DIAGRAM__ROOT_ELEMENT = DiPackage.DIAGRAM__ROOT_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_DIAGRAM__ID = DiPackage.DIAGRAM__ID;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_DIAGRAM__NAME = DiPackage.DIAGRAM__NAME;
+
+ /**
+ * The feature id for the '<em><b>Resolution</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_DIAGRAM__RESOLUTION = DiPackage.DIAGRAM__RESOLUTION;
+
+ /**
+ * The feature id for the '<em><b>Plane</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_DIAGRAM__PLANE = DiPackage.DIAGRAM_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Label Style</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_DIAGRAM__LABEL_STYLE = DiPackage.DIAGRAM_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>BPMN Diagram</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_DIAGRAM_FEATURE_COUNT = DiPackage.DIAGRAM_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.di.impl.BPMNEdgeImpl <em>BPMN Edge</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.di.impl.BPMNEdgeImpl
+ * @see org.eclipse.bpmn2.di.impl.BpmnDiPackageImpl#getBPMNEdge()
+ * @generated
+ */
+ int BPMN_EDGE = 2;
+
+ /**
+ * The feature id for the '<em><b>Owning Diagram</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_EDGE__OWNING_DIAGRAM = DiPackage.LABELED_EDGE__OWNING_DIAGRAM;
+
+ /**
+ * The feature id for the '<em><b>Owning Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_EDGE__OWNING_ELEMENT = DiPackage.LABELED_EDGE__OWNING_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Owned Element</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_EDGE__OWNED_ELEMENT = DiPackage.LABELED_EDGE__OWNED_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Model Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_EDGE__MODEL_ELEMENT = DiPackage.LABELED_EDGE__MODEL_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Style</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_EDGE__STYLE = DiPackage.LABELED_EDGE__STYLE;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_EDGE__ID = DiPackage.LABELED_EDGE__ID;
+
+ /**
+ * The feature id for the '<em><b>Source</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_EDGE__SOURCE = DiPackage.LABELED_EDGE__SOURCE;
+
+ /**
+ * The feature id for the '<em><b>Target</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_EDGE__TARGET = DiPackage.LABELED_EDGE__TARGET;
+
+ /**
+ * The feature id for the '<em><b>Waypoint</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_EDGE__WAYPOINT = DiPackage.LABELED_EDGE__WAYPOINT;
+
+ /**
+ * The feature id for the '<em><b>Owned Label</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_EDGE__OWNED_LABEL = DiPackage.LABELED_EDGE__OWNED_LABEL;
+
+ /**
+ * The feature id for the '<em><b>Label</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_EDGE__LABEL = DiPackage.LABELED_EDGE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Bpmn Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_EDGE__BPMN_ELEMENT = DiPackage.LABELED_EDGE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Message Visible Kind</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_EDGE__MESSAGE_VISIBLE_KIND = DiPackage.LABELED_EDGE_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Source Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_EDGE__SOURCE_ELEMENT = DiPackage.LABELED_EDGE_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Target Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_EDGE__TARGET_ELEMENT = DiPackage.LABELED_EDGE_FEATURE_COUNT + 4;
+
+ /**
+ * The number of structural features of the '<em>BPMN Edge</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_EDGE_FEATURE_COUNT = DiPackage.LABELED_EDGE_FEATURE_COUNT + 5;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.di.impl.BPMNLabelImpl <em>BPMN Label</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.di.impl.BPMNLabelImpl
+ * @see org.eclipse.bpmn2.di.impl.BpmnDiPackageImpl#getBPMNLabel()
+ * @generated
+ */
+ int BPMN_LABEL = 3;
+
+ /**
+ * The feature id for the '<em><b>Owning Diagram</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_LABEL__OWNING_DIAGRAM = DiPackage.LABEL__OWNING_DIAGRAM;
+
+ /**
+ * The feature id for the '<em><b>Owning Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_LABEL__OWNING_ELEMENT = DiPackage.LABEL__OWNING_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Owned Element</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_LABEL__OWNED_ELEMENT = DiPackage.LABEL__OWNED_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Model Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_LABEL__MODEL_ELEMENT = DiPackage.LABEL__MODEL_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Style</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_LABEL__STYLE = DiPackage.LABEL__STYLE;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_LABEL__ID = DiPackage.LABEL__ID;
+
+ /**
+ * The feature id for the '<em><b>Bounds</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_LABEL__BOUNDS = DiPackage.LABEL__BOUNDS;
+
+ /**
+ * The feature id for the '<em><b>Label Style</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_LABEL__LABEL_STYLE = DiPackage.LABEL_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>BPMN Label</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_LABEL_FEATURE_COUNT = DiPackage.LABEL_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.di.impl.BPMNLabelStyleImpl <em>BPMN Label Style</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.di.impl.BPMNLabelStyleImpl
+ * @see org.eclipse.bpmn2.di.impl.BpmnDiPackageImpl#getBPMNLabelStyle()
+ * @generated
+ */
+ int BPMN_LABEL_STYLE = 4;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_LABEL_STYLE__ID = DiPackage.STYLE__ID;
+
+ /**
+ * The feature id for the '<em><b>Font</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_LABEL_STYLE__FONT = DiPackage.STYLE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>BPMN Label Style</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_LABEL_STYLE_FEATURE_COUNT = DiPackage.STYLE_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.di.impl.BPMNPlaneImpl <em>BPMN Plane</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.di.impl.BPMNPlaneImpl
+ * @see org.eclipse.bpmn2.di.impl.BpmnDiPackageImpl#getBPMNPlane()
+ * @generated
+ */
+ int BPMN_PLANE = 5;
+
+ /**
+ * The feature id for the '<em><b>Owning Diagram</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_PLANE__OWNING_DIAGRAM = DiPackage.PLANE__OWNING_DIAGRAM;
+
+ /**
+ * The feature id for the '<em><b>Owning Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_PLANE__OWNING_ELEMENT = DiPackage.PLANE__OWNING_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Owned Element</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_PLANE__OWNED_ELEMENT = DiPackage.PLANE__OWNED_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Model Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_PLANE__MODEL_ELEMENT = DiPackage.PLANE__MODEL_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Style</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_PLANE__STYLE = DiPackage.PLANE__STYLE;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_PLANE__ID = DiPackage.PLANE__ID;
+
+ /**
+ * The feature id for the '<em><b>Plane Element</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_PLANE__PLANE_ELEMENT = DiPackage.PLANE__PLANE_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Bpmn Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_PLANE__BPMN_ELEMENT = DiPackage.PLANE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>BPMN Plane</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_PLANE_FEATURE_COUNT = DiPackage.PLANE_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.di.impl.BPMNShapeImpl <em>BPMN Shape</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.di.impl.BPMNShapeImpl
+ * @see org.eclipse.bpmn2.di.impl.BpmnDiPackageImpl#getBPMNShape()
+ * @generated
+ */
+ int BPMN_SHAPE = 6;
+
+ /**
+ * The feature id for the '<em><b>Owning Diagram</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_SHAPE__OWNING_DIAGRAM = DiPackage.LABELED_SHAPE__OWNING_DIAGRAM;
+
+ /**
+ * The feature id for the '<em><b>Owning Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_SHAPE__OWNING_ELEMENT = DiPackage.LABELED_SHAPE__OWNING_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Owned Element</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_SHAPE__OWNED_ELEMENT = DiPackage.LABELED_SHAPE__OWNED_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Model Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_SHAPE__MODEL_ELEMENT = DiPackage.LABELED_SHAPE__MODEL_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Style</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_SHAPE__STYLE = DiPackage.LABELED_SHAPE__STYLE;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_SHAPE__ID = DiPackage.LABELED_SHAPE__ID;
+
+ /**
+ * The feature id for the '<em><b>Bounds</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_SHAPE__BOUNDS = DiPackage.LABELED_SHAPE__BOUNDS;
+
+ /**
+ * The feature id for the '<em><b>Owned Label</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_SHAPE__OWNED_LABEL = DiPackage.LABELED_SHAPE__OWNED_LABEL;
+
+ /**
+ * The feature id for the '<em><b>Label</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_SHAPE__LABEL = DiPackage.LABELED_SHAPE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Bpmn Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_SHAPE__BPMN_ELEMENT = DiPackage.LABELED_SHAPE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Choreography Activity Shape</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_SHAPE__CHOREOGRAPHY_ACTIVITY_SHAPE = DiPackage.LABELED_SHAPE_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Is Expanded</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_SHAPE__IS_EXPANDED = DiPackage.LABELED_SHAPE_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Is Horizontal</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_SHAPE__IS_HORIZONTAL = DiPackage.LABELED_SHAPE_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Is Marker Visible</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_SHAPE__IS_MARKER_VISIBLE = DiPackage.LABELED_SHAPE_FEATURE_COUNT + 5;
+
+ /**
+ * The feature id for the '<em><b>Is Message Visible</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_SHAPE__IS_MESSAGE_VISIBLE = DiPackage.LABELED_SHAPE_FEATURE_COUNT + 6;
+
+ /**
+ * The feature id for the '<em><b>Participant Band Kind</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_SHAPE__PARTICIPANT_BAND_KIND = DiPackage.LABELED_SHAPE_FEATURE_COUNT + 7;
+
+ /**
+ * The number of structural features of the '<em>BPMN Shape</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BPMN_SHAPE_FEATURE_COUNT = DiPackage.LABELED_SHAPE_FEATURE_COUNT + 8;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.di.MessageVisibleKind <em>Message Visible Kind</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.di.MessageVisibleKind
+ * @see org.eclipse.bpmn2.di.impl.BpmnDiPackageImpl#getMessageVisibleKind()
+ * @generated
+ */
+ int MESSAGE_VISIBLE_KIND = 7;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpmn2.di.ParticipantBandKind <em>Participant Band Kind</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.di.ParticipantBandKind
+ * @see org.eclipse.bpmn2.di.impl.BpmnDiPackageImpl#getParticipantBandKind()
+ * @generated
+ */
+ int PARTICIPANT_BAND_KIND = 8;
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.di.DocumentRoot <em>Document Root</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Document Root</em>'.
+ * @see org.eclipse.bpmn2.di.DocumentRoot
+ * @generated
+ */
+ EClass getDocumentRoot();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.eclipse.bpmn2.di.DocumentRoot#getMixed <em>Mixed</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Mixed</em>'.
+ * @see org.eclipse.bpmn2.di.DocumentRoot#getMixed()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EAttribute getDocumentRoot_Mixed();
+
+ /**
+ * Returns the meta object for the map '{@link org.eclipse.bpmn2.di.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the map '<em>XMLNS Prefix Map</em>'.
+ * @see org.eclipse.bpmn2.di.DocumentRoot#getXMLNSPrefixMap()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_XMLNSPrefixMap();
+
+ /**
+ * Returns the meta object for the map '{@link org.eclipse.bpmn2.di.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the map '<em>XSI Schema Location</em>'.
+ * @see org.eclipse.bpmn2.di.DocumentRoot#getXSISchemaLocation()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_XSISchemaLocation();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.di.DocumentRoot#getBPMNDiagram <em>BPMN Diagram</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>BPMN Diagram</em>'.
+ * @see org.eclipse.bpmn2.di.DocumentRoot#getBPMNDiagram()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_BPMNDiagram();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.di.DocumentRoot#getBPMNEdge <em>BPMN Edge</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>BPMN Edge</em>'.
+ * @see org.eclipse.bpmn2.di.DocumentRoot#getBPMNEdge()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_BPMNEdge();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.di.DocumentRoot#getBPMNLabel <em>BPMN Label</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>BPMN Label</em>'.
+ * @see org.eclipse.bpmn2.di.DocumentRoot#getBPMNLabel()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_BPMNLabel();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.di.DocumentRoot#getBPMNLabelStyle <em>BPMN Label Style</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>BPMN Label Style</em>'.
+ * @see org.eclipse.bpmn2.di.DocumentRoot#getBPMNLabelStyle()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_BPMNLabelStyle();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.di.DocumentRoot#getBPMNPlane <em>BPMN Plane</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>BPMN Plane</em>'.
+ * @see org.eclipse.bpmn2.di.DocumentRoot#getBPMNPlane()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_BPMNPlane();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.di.DocumentRoot#getBPMNShape <em>BPMN Shape</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>BPMN Shape</em>'.
+ * @see org.eclipse.bpmn2.di.DocumentRoot#getBPMNShape()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_BPMNShape();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.di.BPMNDiagram <em>BPMN Diagram</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>BPMN Diagram</em>'.
+ * @see org.eclipse.bpmn2.di.BPMNDiagram
+ * @generated
+ */
+ EClass getBPMNDiagram();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.di.BPMNDiagram#getPlane <em>Plane</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Plane</em>'.
+ * @see org.eclipse.bpmn2.di.BPMNDiagram#getPlane()
+ * @see #getBPMNDiagram()
+ * @generated
+ */
+ EReference getBPMNDiagram_Plane();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.di.BPMNDiagram#getLabelStyle <em>Label Style</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Label Style</em>'.
+ * @see org.eclipse.bpmn2.di.BPMNDiagram#getLabelStyle()
+ * @see #getBPMNDiagram()
+ * @generated
+ */
+ EReference getBPMNDiagram_LabelStyle();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.di.BPMNEdge <em>BPMN Edge</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>BPMN Edge</em>'.
+ * @see org.eclipse.bpmn2.di.BPMNEdge
+ * @generated
+ */
+ EClass getBPMNEdge();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.di.BPMNEdge#getLabel <em>Label</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Label</em>'.
+ * @see org.eclipse.bpmn2.di.BPMNEdge#getLabel()
+ * @see #getBPMNEdge()
+ * @generated
+ */
+ EReference getBPMNEdge_Label();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.di.BPMNEdge#getBpmnElement <em>Bpmn Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Bpmn Element</em>'.
+ * @see org.eclipse.bpmn2.di.BPMNEdge#getBpmnElement()
+ * @see #getBPMNEdge()
+ * @generated
+ */
+ EReference getBPMNEdge_BpmnElement();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.di.BPMNEdge#getMessageVisibleKind <em>Message Visible Kind</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Message Visible Kind</em>'.
+ * @see org.eclipse.bpmn2.di.BPMNEdge#getMessageVisibleKind()
+ * @see #getBPMNEdge()
+ * @generated
+ */
+ EAttribute getBPMNEdge_MessageVisibleKind();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.di.BPMNEdge#getSourceElement <em>Source Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Source Element</em>'.
+ * @see org.eclipse.bpmn2.di.BPMNEdge#getSourceElement()
+ * @see #getBPMNEdge()
+ * @generated
+ */
+ EReference getBPMNEdge_SourceElement();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.di.BPMNEdge#getTargetElement <em>Target Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Target Element</em>'.
+ * @see org.eclipse.bpmn2.di.BPMNEdge#getTargetElement()
+ * @see #getBPMNEdge()
+ * @generated
+ */
+ EReference getBPMNEdge_TargetElement();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.di.BPMNLabel <em>BPMN Label</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>BPMN Label</em>'.
+ * @see org.eclipse.bpmn2.di.BPMNLabel
+ * @generated
+ */
+ EClass getBPMNLabel();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.di.BPMNLabel#getLabelStyle <em>Label Style</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Label Style</em>'.
+ * @see org.eclipse.bpmn2.di.BPMNLabel#getLabelStyle()
+ * @see #getBPMNLabel()
+ * @generated
+ */
+ EReference getBPMNLabel_LabelStyle();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.di.BPMNLabelStyle <em>BPMN Label Style</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>BPMN Label Style</em>'.
+ * @see org.eclipse.bpmn2.di.BPMNLabelStyle
+ * @generated
+ */
+ EClass getBPMNLabelStyle();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.di.BPMNLabelStyle#getFont <em>Font</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Font</em>'.
+ * @see org.eclipse.bpmn2.di.BPMNLabelStyle#getFont()
+ * @see #getBPMNLabelStyle()
+ * @generated
+ */
+ EReference getBPMNLabelStyle_Font();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.di.BPMNPlane <em>BPMN Plane</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>BPMN Plane</em>'.
+ * @see org.eclipse.bpmn2.di.BPMNPlane
+ * @generated
+ */
+ EClass getBPMNPlane();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.di.BPMNPlane#getBpmnElement <em>Bpmn Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Bpmn Element</em>'.
+ * @see org.eclipse.bpmn2.di.BPMNPlane#getBpmnElement()
+ * @see #getBPMNPlane()
+ * @generated
+ */
+ EReference getBPMNPlane_BpmnElement();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpmn2.di.BPMNShape <em>BPMN Shape</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>BPMN Shape</em>'.
+ * @see org.eclipse.bpmn2.di.BPMNShape
+ * @generated
+ */
+ EClass getBPMNShape();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.di.BPMNShape#getLabel <em>Label</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Label</em>'.
+ * @see org.eclipse.bpmn2.di.BPMNShape#getLabel()
+ * @see #getBPMNShape()
+ * @generated
+ */
+ EReference getBPMNShape_Label();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.di.BPMNShape#getBpmnElement <em>Bpmn Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Bpmn Element</em>'.
+ * @see org.eclipse.bpmn2.di.BPMNShape#getBpmnElement()
+ * @see #getBPMNShape()
+ * @generated
+ */
+ EReference getBPMNShape_BpmnElement();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpmn2.di.BPMNShape#getChoreographyActivityShape <em>Choreography Activity Shape</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Choreography Activity Shape</em>'.
+ * @see org.eclipse.bpmn2.di.BPMNShape#getChoreographyActivityShape()
+ * @see #getBPMNShape()
+ * @generated
+ */
+ EReference getBPMNShape_ChoreographyActivityShape();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.di.BPMNShape#isIsExpanded <em>Is Expanded</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Is Expanded</em>'.
+ * @see org.eclipse.bpmn2.di.BPMNShape#isIsExpanded()
+ * @see #getBPMNShape()
+ * @generated
+ */
+ EAttribute getBPMNShape_IsExpanded();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.di.BPMNShape#isIsHorizontal <em>Is Horizontal</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Is Horizontal</em>'.
+ * @see org.eclipse.bpmn2.di.BPMNShape#isIsHorizontal()
+ * @see #getBPMNShape()
+ * @generated
+ */
+ EAttribute getBPMNShape_IsHorizontal();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.di.BPMNShape#isIsMarkerVisible <em>Is Marker Visible</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Is Marker Visible</em>'.
+ * @see org.eclipse.bpmn2.di.BPMNShape#isIsMarkerVisible()
+ * @see #getBPMNShape()
+ * @generated
+ */
+ EAttribute getBPMNShape_IsMarkerVisible();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.di.BPMNShape#isIsMessageVisible <em>Is Message Visible</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Is Message Visible</em>'.
+ * @see org.eclipse.bpmn2.di.BPMNShape#isIsMessageVisible()
+ * @see #getBPMNShape()
+ * @generated
+ */
+ EAttribute getBPMNShape_IsMessageVisible();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.di.BPMNShape#getParticipantBandKind <em>Participant Band Kind</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Participant Band Kind</em>'.
+ * @see org.eclipse.bpmn2.di.BPMNShape#getParticipantBandKind()
+ * @see #getBPMNShape()
+ * @generated
+ */
+ EAttribute getBPMNShape_ParticipantBandKind();
+
+ /**
+ * Returns the meta object for enum '{@link org.eclipse.bpmn2.di.MessageVisibleKind <em>Message Visible Kind</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em>Message Visible Kind</em>'.
+ * @see org.eclipse.bpmn2.di.MessageVisibleKind
+ * @generated
+ */
+ EEnum getMessageVisibleKind();
+
+ /**
+ * Returns the meta object for enum '{@link org.eclipse.bpmn2.di.ParticipantBandKind <em>Participant Band Kind</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em>Participant Band Kind</em>'.
+ * @see org.eclipse.bpmn2.di.ParticipantBandKind
+ * @generated
+ */
+ EEnum getParticipantBandKind();
+
+ /**
+ * Returns the factory that creates the instances of the model.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the factory that creates the instances of the model.
+ * @generated
+ */
+ BpmnDiFactory getBpmnDiFactory();
+
+ /**
+ * <!-- begin-user-doc -->
+ * Defines literals for the meta objects that represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ interface Literals {
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.di.impl.DocumentRootImpl <em>Document Root</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.di.impl.DocumentRootImpl
+ * @see org.eclipse.bpmn2.di.impl.BpmnDiPackageImpl#getDocumentRoot()
+ * @generated
+ */
+ EClass DOCUMENT_ROOT = eINSTANCE.getDocumentRoot();
+
+ /**
+ * The meta object literal for the '<em><b>Mixed</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DOCUMENT_ROOT__MIXED = eINSTANCE.getDocumentRoot_Mixed();
+
+ /**
+ * The meta object literal for the '<em><b>XMLNS Prefix Map</b></em>' map feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__XMLNS_PREFIX_MAP = eINSTANCE
+ .getDocumentRoot_XMLNSPrefixMap();
+
+ /**
+ * The meta object literal for the '<em><b>XSI Schema Location</b></em>' map feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = eINSTANCE
+ .getDocumentRoot_XSISchemaLocation();
+
+ /**
+ * The meta object literal for the '<em><b>BPMN Diagram</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__BPMN_DIAGRAM = eINSTANCE
+ .getDocumentRoot_BPMNDiagram();
+
+ /**
+ * The meta object literal for the '<em><b>BPMN Edge</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__BPMN_EDGE = eINSTANCE
+ .getDocumentRoot_BPMNEdge();
+
+ /**
+ * The meta object literal for the '<em><b>BPMN Label</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__BPMN_LABEL = eINSTANCE
+ .getDocumentRoot_BPMNLabel();
+
+ /**
+ * The meta object literal for the '<em><b>BPMN Label Style</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__BPMN_LABEL_STYLE = eINSTANCE
+ .getDocumentRoot_BPMNLabelStyle();
+
+ /**
+ * The meta object literal for the '<em><b>BPMN Plane</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__BPMN_PLANE = eINSTANCE
+ .getDocumentRoot_BPMNPlane();
+
+ /**
+ * The meta object literal for the '<em><b>BPMN Shape</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__BPMN_SHAPE = eINSTANCE
+ .getDocumentRoot_BPMNShape();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.di.impl.BPMNDiagramImpl <em>BPMN Diagram</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.di.impl.BPMNDiagramImpl
+ * @see org.eclipse.bpmn2.di.impl.BpmnDiPackageImpl#getBPMNDiagram()
+ * @generated
+ */
+ EClass BPMN_DIAGRAM = eINSTANCE.getBPMNDiagram();
+
+ /**
+ * The meta object literal for the '<em><b>Plane</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference BPMN_DIAGRAM__PLANE = eINSTANCE.getBPMNDiagram_Plane();
+
+ /**
+ * The meta object literal for the '<em><b>Label Style</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference BPMN_DIAGRAM__LABEL_STYLE = eINSTANCE
+ .getBPMNDiagram_LabelStyle();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.di.impl.BPMNEdgeImpl <em>BPMN Edge</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.di.impl.BPMNEdgeImpl
+ * @see org.eclipse.bpmn2.di.impl.BpmnDiPackageImpl#getBPMNEdge()
+ * @generated
+ */
+ EClass BPMN_EDGE = eINSTANCE.getBPMNEdge();
+
+ /**
+ * The meta object literal for the '<em><b>Label</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference BPMN_EDGE__LABEL = eINSTANCE.getBPMNEdge_Label();
+
+ /**
+ * The meta object literal for the '<em><b>Bpmn Element</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference BPMN_EDGE__BPMN_ELEMENT = eINSTANCE
+ .getBPMNEdge_BpmnElement();
+
+ /**
+ * The meta object literal for the '<em><b>Message Visible Kind</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute BPMN_EDGE__MESSAGE_VISIBLE_KIND = eINSTANCE
+ .getBPMNEdge_MessageVisibleKind();
+
+ /**
+ * The meta object literal for the '<em><b>Source Element</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference BPMN_EDGE__SOURCE_ELEMENT = eINSTANCE
+ .getBPMNEdge_SourceElement();
+
+ /**
+ * The meta object literal for the '<em><b>Target Element</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference BPMN_EDGE__TARGET_ELEMENT = eINSTANCE
+ .getBPMNEdge_TargetElement();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.di.impl.BPMNLabelImpl <em>BPMN Label</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.di.impl.BPMNLabelImpl
+ * @see org.eclipse.bpmn2.di.impl.BpmnDiPackageImpl#getBPMNLabel()
+ * @generated
+ */
+ EClass BPMN_LABEL = eINSTANCE.getBPMNLabel();
+
+ /**
+ * The meta object literal for the '<em><b>Label Style</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference BPMN_LABEL__LABEL_STYLE = eINSTANCE
+ .getBPMNLabel_LabelStyle();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.di.impl.BPMNLabelStyleImpl <em>BPMN Label Style</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.di.impl.BPMNLabelStyleImpl
+ * @see org.eclipse.bpmn2.di.impl.BpmnDiPackageImpl#getBPMNLabelStyle()
+ * @generated
+ */
+ EClass BPMN_LABEL_STYLE = eINSTANCE.getBPMNLabelStyle();
+
+ /**
+ * The meta object literal for the '<em><b>Font</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference BPMN_LABEL_STYLE__FONT = eINSTANCE.getBPMNLabelStyle_Font();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.di.impl.BPMNPlaneImpl <em>BPMN Plane</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.di.impl.BPMNPlaneImpl
+ * @see org.eclipse.bpmn2.di.impl.BpmnDiPackageImpl#getBPMNPlane()
+ * @generated
+ */
+ EClass BPMN_PLANE = eINSTANCE.getBPMNPlane();
+
+ /**
+ * The meta object literal for the '<em><b>Bpmn Element</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference BPMN_PLANE__BPMN_ELEMENT = eINSTANCE
+ .getBPMNPlane_BpmnElement();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.di.impl.BPMNShapeImpl <em>BPMN Shape</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.di.impl.BPMNShapeImpl
+ * @see org.eclipse.bpmn2.di.impl.BpmnDiPackageImpl#getBPMNShape()
+ * @generated
+ */
+ EClass BPMN_SHAPE = eINSTANCE.getBPMNShape();
+
+ /**
+ * The meta object literal for the '<em><b>Label</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference BPMN_SHAPE__LABEL = eINSTANCE.getBPMNShape_Label();
+
+ /**
+ * The meta object literal for the '<em><b>Bpmn Element</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference BPMN_SHAPE__BPMN_ELEMENT = eINSTANCE
+ .getBPMNShape_BpmnElement();
+
+ /**
+ * The meta object literal for the '<em><b>Choreography Activity Shape</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference BPMN_SHAPE__CHOREOGRAPHY_ACTIVITY_SHAPE = eINSTANCE
+ .getBPMNShape_ChoreographyActivityShape();
+
+ /**
+ * The meta object literal for the '<em><b>Is Expanded</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute BPMN_SHAPE__IS_EXPANDED = eINSTANCE
+ .getBPMNShape_IsExpanded();
+
+ /**
+ * The meta object literal for the '<em><b>Is Horizontal</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute BPMN_SHAPE__IS_HORIZONTAL = eINSTANCE
+ .getBPMNShape_IsHorizontal();
+
+ /**
+ * The meta object literal for the '<em><b>Is Marker Visible</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute BPMN_SHAPE__IS_MARKER_VISIBLE = eINSTANCE
+ .getBPMNShape_IsMarkerVisible();
+
+ /**
+ * The meta object literal for the '<em><b>Is Message Visible</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute BPMN_SHAPE__IS_MESSAGE_VISIBLE = eINSTANCE
+ .getBPMNShape_IsMessageVisible();
+
+ /**
+ * The meta object literal for the '<em><b>Participant Band Kind</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute BPMN_SHAPE__PARTICIPANT_BAND_KIND = eINSTANCE
+ .getBPMNShape_ParticipantBandKind();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.di.MessageVisibleKind <em>Message Visible Kind</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.di.MessageVisibleKind
+ * @see org.eclipse.bpmn2.di.impl.BpmnDiPackageImpl#getMessageVisibleKind()
+ * @generated
+ */
+ EEnum MESSAGE_VISIBLE_KIND = eINSTANCE.getMessageVisibleKind();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpmn2.di.ParticipantBandKind <em>Participant Band Kind</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.di.ParticipantBandKind
+ * @see org.eclipse.bpmn2.di.impl.BpmnDiPackageImpl#getParticipantBandKind()
+ * @generated
+ */
+ EEnum PARTICIPANT_BAND_KIND = eINSTANCE.getParticipantBandKind();
+
+ }
+
+} //BpmnDiPackage
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/DocumentRoot.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/DocumentRoot.java
new file mode 100644
index 000000000..c7b479166
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/DocumentRoot.java
@@ -0,0 +1,263 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.di;
+
+import java.util.Map;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.ecore.util.FeatureMap;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Document Root</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.di.DocumentRoot#getMixed <em>Mixed</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.DocumentRoot#getBPMNDiagram <em>BPMN Diagram</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.DocumentRoot#getBPMNEdge <em>BPMN Edge</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.DocumentRoot#getBPMNLabel <em>BPMN Label</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.DocumentRoot#getBPMNLabelStyle <em>BPMN Label Style</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.DocumentRoot#getBPMNPlane <em>BPMN Plane</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.DocumentRoot#getBPMNShape <em>BPMN Shape</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage#getDocumentRoot()
+ * @model extendedMetaData="name='' kind='mixed'"
+ * @generated
+ */
+public interface DocumentRoot extends EObject {
+ /**
+ * Returns the value of the '<em><b>Mixed</b></em>' attribute list.
+ * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Mixed</em>' attribute list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Mixed</em>' attribute list.
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage#getDocumentRoot_Mixed()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
+ * extendedMetaData="kind='elementWildcard' name=':mixed'"
+ * @generated
+ */
+ FeatureMap getMixed();
+
+ /**
+ * Returns the value of the '<em><b>XMLNS Prefix Map</b></em>' map.
+ * The key is of type {@link java.lang.String},
+ * and the value is of type {@link java.lang.String},
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>XMLNS Prefix Map</em>' map isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>XMLNS Prefix Map</em>' map.
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage#getDocumentRoot_XMLNSPrefixMap()
+ * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>" transient="true"
+ * extendedMetaData="kind='attribute' name='xmlns:prefix'"
+ * @generated
+ */
+ Map<String, String> getXMLNSPrefixMap();
+
+ /**
+ * Returns the value of the '<em><b>XSI Schema Location</b></em>' map.
+ * The key is of type {@link java.lang.String},
+ * and the value is of type {@link java.lang.String},
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>XSI Schema Location</em>' map isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>XSI Schema Location</em>' map.
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage#getDocumentRoot_XSISchemaLocation()
+ * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>" transient="true"
+ * extendedMetaData="kind='attribute' name='xsi:schemaLocation'"
+ * @generated
+ */
+ Map<String, String> getXSISchemaLocation();
+
+ /**
+ * Returns the value of the '<em><b>BPMN Diagram</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>BPMN Diagram</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>BPMN Diagram</em>' containment reference.
+ * @see #setBPMNDiagram(BPMNDiagram)
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage#getDocumentRoot_BPMNDiagram()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='BPMNDiagram' namespace='http://www.omg.org/spec/BPMN/20100524/DI'"
+ * @generated
+ */
+ BPMNDiagram getBPMNDiagram();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.di.DocumentRoot#getBPMNDiagram <em>BPMN Diagram</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>BPMN Diagram</em>' containment reference.
+ * @see #getBPMNDiagram()
+ * @generated
+ */
+ void setBPMNDiagram(BPMNDiagram value);
+
+ /**
+ * Returns the value of the '<em><b>BPMN Edge</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>BPMN Edge</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>BPMN Edge</em>' containment reference.
+ * @see #setBPMNEdge(BPMNEdge)
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage#getDocumentRoot_BPMNEdge()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='BPMNEdge' namespace='http://www.omg.org/spec/BPMN/20100524/DI' affiliation='http://www.omg.org/spec/DD/20100524/DI#DiagramElement'"
+ * @generated
+ */
+ BPMNEdge getBPMNEdge();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.di.DocumentRoot#getBPMNEdge <em>BPMN Edge</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>BPMN Edge</em>' containment reference.
+ * @see #getBPMNEdge()
+ * @generated
+ */
+ void setBPMNEdge(BPMNEdge value);
+
+ /**
+ * Returns the value of the '<em><b>BPMN Label</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>BPMN Label</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>BPMN Label</em>' containment reference.
+ * @see #setBPMNLabel(BPMNLabel)
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage#getDocumentRoot_BPMNLabel()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='BPMNLabel' namespace='http://www.omg.org/spec/BPMN/20100524/DI'"
+ * @generated
+ */
+ BPMNLabel getBPMNLabel();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.di.DocumentRoot#getBPMNLabel <em>BPMN Label</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>BPMN Label</em>' containment reference.
+ * @see #getBPMNLabel()
+ * @generated
+ */
+ void setBPMNLabel(BPMNLabel value);
+
+ /**
+ * Returns the value of the '<em><b>BPMN Label Style</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>BPMN Label Style</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>BPMN Label Style</em>' containment reference.
+ * @see #setBPMNLabelStyle(BPMNLabelStyle)
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage#getDocumentRoot_BPMNLabelStyle()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='BPMNLabelStyle' namespace='http://www.omg.org/spec/BPMN/20100524/DI'"
+ * @generated
+ */
+ BPMNLabelStyle getBPMNLabelStyle();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.di.DocumentRoot#getBPMNLabelStyle <em>BPMN Label Style</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>BPMN Label Style</em>' containment reference.
+ * @see #getBPMNLabelStyle()
+ * @generated
+ */
+ void setBPMNLabelStyle(BPMNLabelStyle value);
+
+ /**
+ * Returns the value of the '<em><b>BPMN Plane</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>BPMN Plane</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>BPMN Plane</em>' containment reference.
+ * @see #setBPMNPlane(BPMNPlane)
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage#getDocumentRoot_BPMNPlane()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='BPMNPlane' namespace='http://www.omg.org/spec/BPMN/20100524/DI'"
+ * @generated
+ */
+ BPMNPlane getBPMNPlane();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.di.DocumentRoot#getBPMNPlane <em>BPMN Plane</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>BPMN Plane</em>' containment reference.
+ * @see #getBPMNPlane()
+ * @generated
+ */
+ void setBPMNPlane(BPMNPlane value);
+
+ /**
+ * Returns the value of the '<em><b>BPMN Shape</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>BPMN Shape</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>BPMN Shape</em>' containment reference.
+ * @see #setBPMNShape(BPMNShape)
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage#getDocumentRoot_BPMNShape()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='BPMNShape' namespace='http://www.omg.org/spec/BPMN/20100524/DI' affiliation='http://www.omg.org/spec/DD/20100524/DI#DiagramElement'"
+ * @generated
+ */
+ BPMNShape getBPMNShape();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpmn2.di.DocumentRoot#getBPMNShape <em>BPMN Shape</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>BPMN Shape</em>' containment reference.
+ * @see #getBPMNShape()
+ * @generated
+ */
+ void setBPMNShape(BPMNShape value);
+
+} // DocumentRoot
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/MessageVisibleKind.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/MessageVisibleKind.java
new file mode 100644
index 000000000..32af9f380
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/MessageVisibleKind.java
@@ -0,0 +1,220 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.di;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+import org.eclipse.emf.common.util.Enumerator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the literals of the enumeration '<em><b>Message Visible Kind</b></em>',
+ * and utility methods for working with them.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage#getMessageVisibleKind()
+ * @model
+ * @generated
+ */
+public enum MessageVisibleKind implements Enumerator {
+ /**
+ * The '<em><b>Initiating</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #INITIATING_VALUE
+ * @generated
+ * @ordered
+ */
+ INITIATING(0, "initiating", "initiating"),
+
+ /**
+ * The '<em><b>Non initiating</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #NON_INITIATING_VALUE
+ * @generated
+ * @ordered
+ */
+ NON_INITIATING(1, "non_initiating", "non_initiating");
+
+ /**
+ * The '<em><b>Initiating</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Initiating</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #INITIATING
+ * @model name="initiating"
+ * @generated
+ * @ordered
+ */
+ public static final int INITIATING_VALUE = 0;
+
+ /**
+ * The '<em><b>Non initiating</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Non initiating</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #NON_INITIATING
+ * @model name="non_initiating"
+ * @generated
+ * @ordered
+ */
+ public static final int NON_INITIATING_VALUE = 1;
+
+ /**
+ * An array of all the '<em><b>Message Visible Kind</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final MessageVisibleKind[] VALUES_ARRAY = new MessageVisibleKind[] {
+ INITIATING, NON_INITIATING, };
+
+ /**
+ * A public read-only list of all the '<em><b>Message Visible Kind</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<MessageVisibleKind> VALUES = Collections
+ .unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>Message Visible Kind</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static MessageVisibleKind get(String literal) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ MessageVisibleKind result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Message Visible Kind</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static MessageVisibleKind getByName(String name) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ MessageVisibleKind result = VALUES_ARRAY[i];
+ if (result.getName().equals(name)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Message Visible Kind</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static MessageVisibleKind get(int value) {
+ switch (value) {
+ case INITIATING_VALUE:
+ return INITIATING;
+ case NON_INITIATING_VALUE:
+ return NON_INITIATING;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final int value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String name;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String literal;
+
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private MessageVisibleKind(int value, String name, String literal) {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLiteral() {
+ return literal;
+ }
+
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ return literal;
+ }
+
+} //MessageVisibleKind
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/ParticipantBandKind.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/ParticipantBandKind.java
new file mode 100644
index 000000000..779c2f66f
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/ParticipantBandKind.java
@@ -0,0 +1,329 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.di;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+import org.eclipse.emf.common.util.Enumerator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the literals of the enumeration '<em><b>Participant Band Kind</b></em>',
+ * and utility methods for working with them.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage#getParticipantBandKind()
+ * @model
+ * @generated
+ */
+public enum ParticipantBandKind implements Enumerator {
+ /**
+ * The '<em><b>Top initiating</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #TOP_INITIATING_VALUE
+ * @generated
+ * @ordered
+ */
+ TOP_INITIATING(0, "top_initiating", "top_initiating"),
+
+ /**
+ * The '<em><b>Middle initiating</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #MIDDLE_INITIATING_VALUE
+ * @generated
+ * @ordered
+ */
+ MIDDLE_INITIATING(1, "middle_initiating", "middle_initiating"),
+
+ /**
+ * The '<em><b>Bottom initiating</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #BOTTOM_INITIATING_VALUE
+ * @generated
+ * @ordered
+ */
+ BOTTOM_INITIATING(2, "bottom_initiating", "bottom_initiating"),
+
+ /**
+ * The '<em><b>Top non initiating</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #TOP_NON_INITIATING_VALUE
+ * @generated
+ * @ordered
+ */
+ TOP_NON_INITIATING(3, "top_non_initiating", "top_non_initiating"),
+
+ /**
+ * The '<em><b>Middle non initiating</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #MIDDLE_NON_INITIATING_VALUE
+ * @generated
+ * @ordered
+ */
+ MIDDLE_NON_INITIATING(4, "middle_non_initiating", "middle_non_initiating"),
+
+ /**
+ * The '<em><b>Bottom non initiating</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #BOTTOM_NON_INITIATING_VALUE
+ * @generated
+ * @ordered
+ */
+ BOTTOM_NON_INITIATING(5, "bottom_non_initiating", "bottom_non_initiating");
+
+ /**
+ * The '<em><b>Top initiating</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Top initiating</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #TOP_INITIATING
+ * @model name="top_initiating"
+ * @generated
+ * @ordered
+ */
+ public static final int TOP_INITIATING_VALUE = 0;
+
+ /**
+ * The '<em><b>Middle initiating</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Middle initiating</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #MIDDLE_INITIATING
+ * @model name="middle_initiating"
+ * @generated
+ * @ordered
+ */
+ public static final int MIDDLE_INITIATING_VALUE = 1;
+
+ /**
+ * The '<em><b>Bottom initiating</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Bottom initiating</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #BOTTOM_INITIATING
+ * @model name="bottom_initiating"
+ * @generated
+ * @ordered
+ */
+ public static final int BOTTOM_INITIATING_VALUE = 2;
+
+ /**
+ * The '<em><b>Top non initiating</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Top non initiating</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #TOP_NON_INITIATING
+ * @model name="top_non_initiating"
+ * @generated
+ * @ordered
+ */
+ public static final int TOP_NON_INITIATING_VALUE = 3;
+
+ /**
+ * The '<em><b>Middle non initiating</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Middle non initiating</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #MIDDLE_NON_INITIATING
+ * @model name="middle_non_initiating"
+ * @generated
+ * @ordered
+ */
+ public static final int MIDDLE_NON_INITIATING_VALUE = 4;
+
+ /**
+ * The '<em><b>Bottom non initiating</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Bottom non initiating</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #BOTTOM_NON_INITIATING
+ * @model name="bottom_non_initiating"
+ * @generated
+ * @ordered
+ */
+ public static final int BOTTOM_NON_INITIATING_VALUE = 5;
+
+ /**
+ * An array of all the '<em><b>Participant Band Kind</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final ParticipantBandKind[] VALUES_ARRAY = new ParticipantBandKind[] {
+ TOP_INITIATING, MIDDLE_INITIATING, BOTTOM_INITIATING,
+ TOP_NON_INITIATING, MIDDLE_NON_INITIATING, BOTTOM_NON_INITIATING, };
+
+ /**
+ * A public read-only list of all the '<em><b>Participant Band Kind</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<ParticipantBandKind> VALUES = Collections
+ .unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>Participant Band Kind</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static ParticipantBandKind get(String literal) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ ParticipantBandKind result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Participant Band Kind</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static ParticipantBandKind getByName(String name) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ ParticipantBandKind result = VALUES_ARRAY[i];
+ if (result.getName().equals(name)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Participant Band Kind</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static ParticipantBandKind get(int value) {
+ switch (value) {
+ case TOP_INITIATING_VALUE:
+ return TOP_INITIATING;
+ case MIDDLE_INITIATING_VALUE:
+ return MIDDLE_INITIATING;
+ case BOTTOM_INITIATING_VALUE:
+ return BOTTOM_INITIATING;
+ case TOP_NON_INITIATING_VALUE:
+ return TOP_NON_INITIATING;
+ case MIDDLE_NON_INITIATING_VALUE:
+ return MIDDLE_NON_INITIATING;
+ case BOTTOM_NON_INITIATING_VALUE:
+ return BOTTOM_NON_INITIATING;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final int value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String name;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String literal;
+
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private ParticipantBandKind(int value, String name, String literal) {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLiteral() {
+ return literal;
+ }
+
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ return literal;
+ }
+
+} //ParticipantBandKind
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/impl/BPMNDiagramImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/impl/BPMNDiagramImpl.java
new file mode 100644
index 000000000..7e9ff173e
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/impl/BPMNDiagramImpl.java
@@ -0,0 +1,251 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.di.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.di.BPMNDiagram;
+import org.eclipse.bpmn2.di.BPMNLabelStyle;
+import org.eclipse.bpmn2.di.BPMNPlane;
+import org.eclipse.bpmn2.di.BpmnDiPackage;
+
+import org.eclipse.dd.di.impl.DiagramImpl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>BPMN Diagram</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.di.impl.BPMNDiagramImpl#getPlane <em>Plane</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.impl.BPMNDiagramImpl#getLabelStyle <em>Label Style</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class BPMNDiagramImpl extends DiagramImpl implements BPMNDiagram {
+ /**
+ * The cached value of the '{@link #getPlane() <em>Plane</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPlane()
+ * @generated
+ * @ordered
+ */
+ protected BPMNPlane plane;
+
+ /**
+ * The cached value of the '{@link #getLabelStyle() <em>Label Style</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLabelStyle()
+ * @generated
+ * @ordered
+ */
+ protected EList<BPMNLabelStyle> labelStyle;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected BPMNDiagramImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return BpmnDiPackage.Literals.BPMN_DIAGRAM;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BPMNPlane getPlane() {
+ return plane;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetPlane(BPMNPlane newPlane,
+ NotificationChain msgs) {
+ BPMNPlane oldPlane = plane;
+ plane = newPlane;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET, BpmnDiPackage.BPMN_DIAGRAM__PLANE,
+ oldPlane, newPlane);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPlane(BPMNPlane newPlane) {
+ if (newPlane != plane) {
+ NotificationChain msgs = null;
+ if (plane != null)
+ msgs = ((InternalEObject) plane)
+ .eInverseRemove(this, EOPPOSITE_FEATURE_BASE
+ - BpmnDiPackage.BPMN_DIAGRAM__PLANE, null, msgs);
+ if (newPlane != null)
+ msgs = ((InternalEObject) newPlane)
+ .eInverseAdd(this, EOPPOSITE_FEATURE_BASE
+ - BpmnDiPackage.BPMN_DIAGRAM__PLANE, null, msgs);
+ msgs = basicSetPlane(newPlane, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ BpmnDiPackage.BPMN_DIAGRAM__PLANE, newPlane, newPlane));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<BPMNLabelStyle> getLabelStyle() {
+ if (labelStyle == null) {
+ labelStyle = new EObjectContainmentEList<BPMNLabelStyle>(
+ BPMNLabelStyle.class, this,
+ BpmnDiPackage.BPMN_DIAGRAM__LABEL_STYLE);
+ }
+ return labelStyle;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case BpmnDiPackage.BPMN_DIAGRAM__PLANE:
+ return basicSetPlane(null, msgs);
+ case BpmnDiPackage.BPMN_DIAGRAM__LABEL_STYLE:
+ return ((InternalEList<?>) getLabelStyle()).basicRemove(otherEnd,
+ msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case BpmnDiPackage.BPMN_DIAGRAM__PLANE:
+ return getPlane();
+ case BpmnDiPackage.BPMN_DIAGRAM__LABEL_STYLE:
+ return getLabelStyle();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case BpmnDiPackage.BPMN_DIAGRAM__PLANE:
+ setPlane((BPMNPlane) newValue);
+ return;
+ case BpmnDiPackage.BPMN_DIAGRAM__LABEL_STYLE:
+ getLabelStyle().clear();
+ getLabelStyle().addAll(
+ (Collection<? extends BPMNLabelStyle>) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case BpmnDiPackage.BPMN_DIAGRAM__PLANE:
+ setPlane((BPMNPlane) null);
+ return;
+ case BpmnDiPackage.BPMN_DIAGRAM__LABEL_STYLE:
+ getLabelStyle().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case BpmnDiPackage.BPMN_DIAGRAM__PLANE:
+ return plane != null;
+ case BpmnDiPackage.BPMN_DIAGRAM__LABEL_STYLE:
+ return labelStyle != null && !labelStyle.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //BPMNDiagramImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/impl/BPMNEdgeImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/impl/BPMNEdgeImpl.java
new file mode 100644
index 000000000..b67b9c455
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/impl/BPMNEdgeImpl.java
@@ -0,0 +1,473 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.di.impl;
+
+import org.eclipse.bpmn2.BaseElement;
+
+import org.eclipse.bpmn2.di.BPMNEdge;
+import org.eclipse.bpmn2.di.BPMNLabel;
+import org.eclipse.bpmn2.di.BpmnDiPackage;
+import org.eclipse.bpmn2.di.MessageVisibleKind;
+
+import org.eclipse.dd.di.DiagramElement;
+
+import org.eclipse.dd.di.impl.LabeledEdgeImpl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>BPMN Edge</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.di.impl.BPMNEdgeImpl#getLabel <em>Label</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.impl.BPMNEdgeImpl#getBpmnElement <em>Bpmn Element</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.impl.BPMNEdgeImpl#getMessageVisibleKind <em>Message Visible Kind</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.impl.BPMNEdgeImpl#getSourceElement <em>Source Element</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.impl.BPMNEdgeImpl#getTargetElement <em>Target Element</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class BPMNEdgeImpl extends LabeledEdgeImpl implements BPMNEdge {
+ /**
+ * The cached value of the '{@link #getLabel() <em>Label</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLabel()
+ * @generated
+ * @ordered
+ */
+ protected BPMNLabel label;
+
+ /**
+ * The cached value of the '{@link #getBpmnElement() <em>Bpmn Element</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBpmnElement()
+ * @generated
+ * @ordered
+ */
+ protected BaseElement bpmnElement;
+
+ /**
+ * The default value of the '{@link #getMessageVisibleKind() <em>Message Visible Kind</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMessageVisibleKind()
+ * @generated
+ * @ordered
+ */
+ protected static final MessageVisibleKind MESSAGE_VISIBLE_KIND_EDEFAULT = MessageVisibleKind.INITIATING;
+
+ /**
+ * The cached value of the '{@link #getMessageVisibleKind() <em>Message Visible Kind</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMessageVisibleKind()
+ * @generated
+ * @ordered
+ */
+ protected MessageVisibleKind messageVisibleKind = MESSAGE_VISIBLE_KIND_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getSourceElement() <em>Source Element</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSourceElement()
+ * @generated
+ * @ordered
+ */
+ protected DiagramElement sourceElement;
+
+ /**
+ * The cached value of the '{@link #getTargetElement() <em>Target Element</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTargetElement()
+ * @generated
+ * @ordered
+ */
+ protected DiagramElement targetElement;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected BPMNEdgeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return BpmnDiPackage.Literals.BPMN_EDGE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BPMNLabel getLabel() {
+ return label;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetLabel(BPMNLabel newLabel,
+ NotificationChain msgs) {
+ BPMNLabel oldLabel = label;
+ label = newLabel;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET, BpmnDiPackage.BPMN_EDGE__LABEL, oldLabel,
+ newLabel);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLabel(BPMNLabel newLabel) {
+ if (newLabel != label) {
+ NotificationChain msgs = null;
+ if (label != null)
+ msgs = ((InternalEObject) label)
+ .eInverseRemove(this, EOPPOSITE_FEATURE_BASE
+ - BpmnDiPackage.BPMN_EDGE__LABEL, null, msgs);
+ if (newLabel != null)
+ msgs = ((InternalEObject) newLabel)
+ .eInverseAdd(this, EOPPOSITE_FEATURE_BASE
+ - BpmnDiPackage.BPMN_EDGE__LABEL, null, msgs);
+ msgs = basicSetLabel(newLabel, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ BpmnDiPackage.BPMN_EDGE__LABEL, newLabel, newLabel));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BaseElement getBpmnElement() {
+ if (bpmnElement != null && bpmnElement.eIsProxy()) {
+ InternalEObject oldBpmnElement = (InternalEObject) bpmnElement;
+ bpmnElement = (BaseElement) eResolveProxy(oldBpmnElement);
+ if (bpmnElement != oldBpmnElement) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ BpmnDiPackage.BPMN_EDGE__BPMN_ELEMENT,
+ oldBpmnElement, bpmnElement));
+ }
+ }
+ return bpmnElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BaseElement basicGetBpmnElement() {
+ return bpmnElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBpmnElement(BaseElement newBpmnElement) {
+ BaseElement oldBpmnElement = bpmnElement;
+ bpmnElement = newBpmnElement;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ BpmnDiPackage.BPMN_EDGE__BPMN_ELEMENT, oldBpmnElement,
+ bpmnElement));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public MessageVisibleKind getMessageVisibleKind() {
+ return messageVisibleKind;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMessageVisibleKind(MessageVisibleKind newMessageVisibleKind) {
+ MessageVisibleKind oldMessageVisibleKind = messageVisibleKind;
+ messageVisibleKind = newMessageVisibleKind == null ? MESSAGE_VISIBLE_KIND_EDEFAULT
+ : newMessageVisibleKind;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ BpmnDiPackage.BPMN_EDGE__MESSAGE_VISIBLE_KIND,
+ oldMessageVisibleKind, messageVisibleKind));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DiagramElement getSourceElement() {
+ if (sourceElement != null && sourceElement.eIsProxy()) {
+ InternalEObject oldSourceElement = (InternalEObject) sourceElement;
+ sourceElement = (DiagramElement) eResolveProxy(oldSourceElement);
+ if (sourceElement != oldSourceElement) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ BpmnDiPackage.BPMN_EDGE__SOURCE_ELEMENT,
+ oldSourceElement, sourceElement));
+ }
+ }
+ return sourceElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DiagramElement basicGetSourceElement() {
+ return sourceElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSourceElement(DiagramElement newSourceElement) {
+ DiagramElement oldSourceElement = sourceElement;
+ sourceElement = newSourceElement;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ BpmnDiPackage.BPMN_EDGE__SOURCE_ELEMENT, oldSourceElement,
+ sourceElement));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DiagramElement getTargetElement() {
+ if (targetElement != null && targetElement.eIsProxy()) {
+ InternalEObject oldTargetElement = (InternalEObject) targetElement;
+ targetElement = (DiagramElement) eResolveProxy(oldTargetElement);
+ if (targetElement != oldTargetElement) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ BpmnDiPackage.BPMN_EDGE__TARGET_ELEMENT,
+ oldTargetElement, targetElement));
+ }
+ }
+ return targetElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DiagramElement basicGetTargetElement() {
+ return targetElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTargetElement(DiagramElement newTargetElement) {
+ DiagramElement oldTargetElement = targetElement;
+ targetElement = newTargetElement;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ BpmnDiPackage.BPMN_EDGE__TARGET_ELEMENT, oldTargetElement,
+ targetElement));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case BpmnDiPackage.BPMN_EDGE__LABEL:
+ return basicSetLabel(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case BpmnDiPackage.BPMN_EDGE__LABEL:
+ return getLabel();
+ case BpmnDiPackage.BPMN_EDGE__BPMN_ELEMENT:
+ if (resolve)
+ return getBpmnElement();
+ return basicGetBpmnElement();
+ case BpmnDiPackage.BPMN_EDGE__MESSAGE_VISIBLE_KIND:
+ return getMessageVisibleKind();
+ case BpmnDiPackage.BPMN_EDGE__SOURCE_ELEMENT:
+ if (resolve)
+ return getSourceElement();
+ return basicGetSourceElement();
+ case BpmnDiPackage.BPMN_EDGE__TARGET_ELEMENT:
+ if (resolve)
+ return getTargetElement();
+ return basicGetTargetElement();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case BpmnDiPackage.BPMN_EDGE__LABEL:
+ setLabel((BPMNLabel) newValue);
+ return;
+ case BpmnDiPackage.BPMN_EDGE__BPMN_ELEMENT:
+ setBpmnElement((BaseElement) newValue);
+ return;
+ case BpmnDiPackage.BPMN_EDGE__MESSAGE_VISIBLE_KIND:
+ setMessageVisibleKind((MessageVisibleKind) newValue);
+ return;
+ case BpmnDiPackage.BPMN_EDGE__SOURCE_ELEMENT:
+ setSourceElement((DiagramElement) newValue);
+ return;
+ case BpmnDiPackage.BPMN_EDGE__TARGET_ELEMENT:
+ setTargetElement((DiagramElement) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case BpmnDiPackage.BPMN_EDGE__LABEL:
+ setLabel((BPMNLabel) null);
+ return;
+ case BpmnDiPackage.BPMN_EDGE__BPMN_ELEMENT:
+ setBpmnElement((BaseElement) null);
+ return;
+ case BpmnDiPackage.BPMN_EDGE__MESSAGE_VISIBLE_KIND:
+ setMessageVisibleKind(MESSAGE_VISIBLE_KIND_EDEFAULT);
+ return;
+ case BpmnDiPackage.BPMN_EDGE__SOURCE_ELEMENT:
+ setSourceElement((DiagramElement) null);
+ return;
+ case BpmnDiPackage.BPMN_EDGE__TARGET_ELEMENT:
+ setTargetElement((DiagramElement) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case BpmnDiPackage.BPMN_EDGE__LABEL:
+ return label != null;
+ case BpmnDiPackage.BPMN_EDGE__BPMN_ELEMENT:
+ return bpmnElement != null;
+ case BpmnDiPackage.BPMN_EDGE__MESSAGE_VISIBLE_KIND:
+ return messageVisibleKind != MESSAGE_VISIBLE_KIND_EDEFAULT;
+ case BpmnDiPackage.BPMN_EDGE__SOURCE_ELEMENT:
+ return sourceElement != null;
+ case BpmnDiPackage.BPMN_EDGE__TARGET_ELEMENT:
+ return targetElement != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (messageVisibleKind: ");
+ result.append(messageVisibleKind);
+ result.append(')');
+ return result.toString();
+ }
+
+} //BPMNEdgeImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/impl/BPMNLabelImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/impl/BPMNLabelImpl.java
new file mode 100644
index 000000000..009729ee6
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/impl/BPMNLabelImpl.java
@@ -0,0 +1,175 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.di.impl;
+
+import org.eclipse.bpmn2.di.BPMNLabel;
+import org.eclipse.bpmn2.di.BPMNLabelStyle;
+import org.eclipse.bpmn2.di.BpmnDiPackage;
+
+import org.eclipse.dd.di.impl.LabelImpl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>BPMN Label</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.di.impl.BPMNLabelImpl#getLabelStyle <em>Label Style</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class BPMNLabelImpl extends LabelImpl implements BPMNLabel {
+ /**
+ * The cached value of the '{@link #getLabelStyle() <em>Label Style</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLabelStyle()
+ * @generated
+ * @ordered
+ */
+ protected BPMNLabelStyle labelStyle;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected BPMNLabelImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return BpmnDiPackage.Literals.BPMN_LABEL;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BPMNLabelStyle getLabelStyle() {
+ if (labelStyle != null && labelStyle.eIsProxy()) {
+ InternalEObject oldLabelStyle = (InternalEObject) labelStyle;
+ labelStyle = (BPMNLabelStyle) eResolveProxy(oldLabelStyle);
+ if (labelStyle != oldLabelStyle) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ BpmnDiPackage.BPMN_LABEL__LABEL_STYLE,
+ oldLabelStyle, labelStyle));
+ }
+ }
+ return labelStyle;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BPMNLabelStyle basicGetLabelStyle() {
+ return labelStyle;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLabelStyle(BPMNLabelStyle newLabelStyle) {
+ BPMNLabelStyle oldLabelStyle = labelStyle;
+ labelStyle = newLabelStyle;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ BpmnDiPackage.BPMN_LABEL__LABEL_STYLE, oldLabelStyle,
+ labelStyle));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case BpmnDiPackage.BPMN_LABEL__LABEL_STYLE:
+ if (resolve)
+ return getLabelStyle();
+ return basicGetLabelStyle();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case BpmnDiPackage.BPMN_LABEL__LABEL_STYLE:
+ setLabelStyle((BPMNLabelStyle) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case BpmnDiPackage.BPMN_LABEL__LABEL_STYLE:
+ setLabelStyle((BPMNLabelStyle) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case BpmnDiPackage.BPMN_LABEL__LABEL_STYLE:
+ return labelStyle != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //BPMNLabelImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/impl/BPMNLabelStyleImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/impl/BPMNLabelStyleImpl.java
new file mode 100644
index 000000000..639eb4923
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/impl/BPMNLabelStyleImpl.java
@@ -0,0 +1,203 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.di.impl;
+
+import org.eclipse.bpmn2.di.BPMNLabelStyle;
+import org.eclipse.bpmn2.di.BpmnDiPackage;
+
+import org.eclipse.dd.dc.Font;
+
+import org.eclipse.dd.di.impl.StyleImpl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>BPMN Label Style</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.di.impl.BPMNLabelStyleImpl#getFont <em>Font</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class BPMNLabelStyleImpl extends StyleImpl implements BPMNLabelStyle {
+ /**
+ * The cached value of the '{@link #getFont() <em>Font</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFont()
+ * @generated
+ * @ordered
+ */
+ protected Font font;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected BPMNLabelStyleImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return BpmnDiPackage.Literals.BPMN_LABEL_STYLE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Font getFont() {
+ return font;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetFont(Font newFont, NotificationChain msgs) {
+ Font oldFont = font;
+ font = newFont;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET, BpmnDiPackage.BPMN_LABEL_STYLE__FONT,
+ oldFont, newFont);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFont(Font newFont) {
+ if (newFont != font) {
+ NotificationChain msgs = null;
+ if (font != null)
+ msgs = ((InternalEObject) font).eInverseRemove(this,
+ EOPPOSITE_FEATURE_BASE
+ - BpmnDiPackage.BPMN_LABEL_STYLE__FONT, null,
+ msgs);
+ if (newFont != null)
+ msgs = ((InternalEObject) newFont).eInverseAdd(this,
+ EOPPOSITE_FEATURE_BASE
+ - BpmnDiPackage.BPMN_LABEL_STYLE__FONT, null,
+ msgs);
+ msgs = basicSetFont(newFont, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ BpmnDiPackage.BPMN_LABEL_STYLE__FONT, newFont, newFont));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case BpmnDiPackage.BPMN_LABEL_STYLE__FONT:
+ return basicSetFont(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case BpmnDiPackage.BPMN_LABEL_STYLE__FONT:
+ return getFont();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case BpmnDiPackage.BPMN_LABEL_STYLE__FONT:
+ setFont((Font) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case BpmnDiPackage.BPMN_LABEL_STYLE__FONT:
+ setFont((Font) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case BpmnDiPackage.BPMN_LABEL_STYLE__FONT:
+ return font != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //BPMNLabelStyleImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/impl/BPMNPlaneImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/impl/BPMNPlaneImpl.java
new file mode 100644
index 000000000..750a485d6
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/impl/BPMNPlaneImpl.java
@@ -0,0 +1,176 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.di.impl;
+
+import org.eclipse.bpmn2.BaseElement;
+
+import org.eclipse.bpmn2.di.BPMNPlane;
+import org.eclipse.bpmn2.di.BpmnDiPackage;
+
+import org.eclipse.dd.di.impl.PlaneImpl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>BPMN Plane</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.di.impl.BPMNPlaneImpl#getBpmnElement <em>Bpmn Element</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class BPMNPlaneImpl extends PlaneImpl implements BPMNPlane {
+ /**
+ * The cached value of the '{@link #getBpmnElement() <em>Bpmn Element</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBpmnElement()
+ * @generated
+ * @ordered
+ */
+ protected BaseElement bpmnElement;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected BPMNPlaneImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return BpmnDiPackage.Literals.BPMN_PLANE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BaseElement getBpmnElement() {
+ if (bpmnElement != null && bpmnElement.eIsProxy()) {
+ InternalEObject oldBpmnElement = (InternalEObject) bpmnElement;
+ bpmnElement = (BaseElement) eResolveProxy(oldBpmnElement);
+ if (bpmnElement != oldBpmnElement) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ BpmnDiPackage.BPMN_PLANE__BPMN_ELEMENT,
+ oldBpmnElement, bpmnElement));
+ }
+ }
+ return bpmnElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BaseElement basicGetBpmnElement() {
+ return bpmnElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBpmnElement(BaseElement newBpmnElement) {
+ BaseElement oldBpmnElement = bpmnElement;
+ bpmnElement = newBpmnElement;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ BpmnDiPackage.BPMN_PLANE__BPMN_ELEMENT, oldBpmnElement,
+ bpmnElement));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case BpmnDiPackage.BPMN_PLANE__BPMN_ELEMENT:
+ if (resolve)
+ return getBpmnElement();
+ return basicGetBpmnElement();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case BpmnDiPackage.BPMN_PLANE__BPMN_ELEMENT:
+ setBpmnElement((BaseElement) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case BpmnDiPackage.BPMN_PLANE__BPMN_ELEMENT:
+ setBpmnElement((BaseElement) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case BpmnDiPackage.BPMN_PLANE__BPMN_ELEMENT:
+ return bpmnElement != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //BPMNPlaneImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/impl/BPMNShapeImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/impl/BPMNShapeImpl.java
new file mode 100644
index 000000000..26cae226f
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/impl/BPMNShapeImpl.java
@@ -0,0 +1,636 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.di.impl;
+
+import org.eclipse.bpmn2.BaseElement;
+
+import org.eclipse.bpmn2.di.BPMNLabel;
+import org.eclipse.bpmn2.di.BPMNShape;
+import org.eclipse.bpmn2.di.BpmnDiPackage;
+import org.eclipse.bpmn2.di.ParticipantBandKind;
+
+import org.eclipse.dd.di.impl.LabeledShapeImpl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>BPMN Shape</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.di.impl.BPMNShapeImpl#getLabel <em>Label</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.impl.BPMNShapeImpl#getBpmnElement <em>Bpmn Element</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.impl.BPMNShapeImpl#getChoreographyActivityShape <em>Choreography Activity Shape</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.impl.BPMNShapeImpl#isIsExpanded <em>Is Expanded</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.impl.BPMNShapeImpl#isIsHorizontal <em>Is Horizontal</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.impl.BPMNShapeImpl#isIsMarkerVisible <em>Is Marker Visible</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.impl.BPMNShapeImpl#isIsMessageVisible <em>Is Message Visible</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.impl.BPMNShapeImpl#getParticipantBandKind <em>Participant Band Kind</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class BPMNShapeImpl extends LabeledShapeImpl implements BPMNShape {
+ /**
+ * The cached value of the '{@link #getLabel() <em>Label</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLabel()
+ * @generated
+ * @ordered
+ */
+ protected BPMNLabel label;
+
+ /**
+ * The cached value of the '{@link #getBpmnElement() <em>Bpmn Element</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBpmnElement()
+ * @generated
+ * @ordered
+ */
+ protected BaseElement bpmnElement;
+
+ /**
+ * The cached value of the '{@link #getChoreographyActivityShape() <em>Choreography Activity Shape</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getChoreographyActivityShape()
+ * @generated
+ * @ordered
+ */
+ protected BPMNShape choreographyActivityShape;
+
+ /**
+ * The default value of the '{@link #isIsExpanded() <em>Is Expanded</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsExpanded()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean IS_EXPANDED_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isIsExpanded() <em>Is Expanded</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsExpanded()
+ * @generated
+ * @ordered
+ */
+ protected boolean isExpanded = IS_EXPANDED_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #isIsHorizontal() <em>Is Horizontal</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsHorizontal()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean IS_HORIZONTAL_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isIsHorizontal() <em>Is Horizontal</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsHorizontal()
+ * @generated
+ * @ordered
+ */
+ protected boolean isHorizontal = IS_HORIZONTAL_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #isIsMarkerVisible() <em>Is Marker Visible</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsMarkerVisible()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean IS_MARKER_VISIBLE_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isIsMarkerVisible() <em>Is Marker Visible</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsMarkerVisible()
+ * @generated
+ * @ordered
+ */
+ protected boolean isMarkerVisible = IS_MARKER_VISIBLE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #isIsMessageVisible() <em>Is Message Visible</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsMessageVisible()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean IS_MESSAGE_VISIBLE_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isIsMessageVisible() <em>Is Message Visible</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsMessageVisible()
+ * @generated
+ * @ordered
+ */
+ protected boolean isMessageVisible = IS_MESSAGE_VISIBLE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getParticipantBandKind() <em>Participant Band Kind</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getParticipantBandKind()
+ * @generated
+ * @ordered
+ */
+ protected static final ParticipantBandKind PARTICIPANT_BAND_KIND_EDEFAULT = ParticipantBandKind.TOP_INITIATING;
+
+ /**
+ * The cached value of the '{@link #getParticipantBandKind() <em>Participant Band Kind</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getParticipantBandKind()
+ * @generated
+ * @ordered
+ */
+ protected ParticipantBandKind participantBandKind = PARTICIPANT_BAND_KIND_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected BPMNShapeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return BpmnDiPackage.Literals.BPMN_SHAPE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BPMNLabel getLabel() {
+ return label;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetLabel(BPMNLabel newLabel,
+ NotificationChain msgs) {
+ BPMNLabel oldLabel = label;
+ label = newLabel;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET, BpmnDiPackage.BPMN_SHAPE__LABEL,
+ oldLabel, newLabel);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLabel(BPMNLabel newLabel) {
+ if (newLabel != label) {
+ NotificationChain msgs = null;
+ if (label != null)
+ msgs = ((InternalEObject) label).eInverseRemove(this,
+ EOPPOSITE_FEATURE_BASE
+ - BpmnDiPackage.BPMN_SHAPE__LABEL, null, msgs);
+ if (newLabel != null)
+ msgs = ((InternalEObject) newLabel).eInverseAdd(this,
+ EOPPOSITE_FEATURE_BASE
+ - BpmnDiPackage.BPMN_SHAPE__LABEL, null, msgs);
+ msgs = basicSetLabel(newLabel, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ BpmnDiPackage.BPMN_SHAPE__LABEL, newLabel, newLabel));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BaseElement getBpmnElement() {
+ if (bpmnElement != null && bpmnElement.eIsProxy()) {
+ InternalEObject oldBpmnElement = (InternalEObject) bpmnElement;
+ bpmnElement = (BaseElement) eResolveProxy(oldBpmnElement);
+ if (bpmnElement != oldBpmnElement) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ BpmnDiPackage.BPMN_SHAPE__BPMN_ELEMENT,
+ oldBpmnElement, bpmnElement));
+ }
+ }
+ return bpmnElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BaseElement basicGetBpmnElement() {
+ return bpmnElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBpmnElement(BaseElement newBpmnElement) {
+ BaseElement oldBpmnElement = bpmnElement;
+ bpmnElement = newBpmnElement;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ BpmnDiPackage.BPMN_SHAPE__BPMN_ELEMENT, oldBpmnElement,
+ bpmnElement));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BPMNShape getChoreographyActivityShape() {
+ if (choreographyActivityShape != null
+ && choreographyActivityShape.eIsProxy()) {
+ InternalEObject oldChoreographyActivityShape = (InternalEObject) choreographyActivityShape;
+ choreographyActivityShape = (BPMNShape) eResolveProxy(oldChoreographyActivityShape);
+ if (choreographyActivityShape != oldChoreographyActivityShape) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.RESOLVE,
+ BpmnDiPackage.BPMN_SHAPE__CHOREOGRAPHY_ACTIVITY_SHAPE,
+ oldChoreographyActivityShape,
+ choreographyActivityShape));
+ }
+ }
+ return choreographyActivityShape;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BPMNShape basicGetChoreographyActivityShape() {
+ return choreographyActivityShape;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setChoreographyActivityShape(
+ BPMNShape newChoreographyActivityShape) {
+ BPMNShape oldChoreographyActivityShape = choreographyActivityShape;
+ choreographyActivityShape = newChoreographyActivityShape;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ BpmnDiPackage.BPMN_SHAPE__CHOREOGRAPHY_ACTIVITY_SHAPE,
+ oldChoreographyActivityShape, choreographyActivityShape));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isIsExpanded() {
+ return isExpanded;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIsExpanded(boolean newIsExpanded) {
+ boolean oldIsExpanded = isExpanded;
+ isExpanded = newIsExpanded;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ BpmnDiPackage.BPMN_SHAPE__IS_EXPANDED, oldIsExpanded,
+ isExpanded));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isIsHorizontal() {
+ return isHorizontal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIsHorizontal(boolean newIsHorizontal) {
+ boolean oldIsHorizontal = isHorizontal;
+ isHorizontal = newIsHorizontal;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ BpmnDiPackage.BPMN_SHAPE__IS_HORIZONTAL, oldIsHorizontal,
+ isHorizontal));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isIsMarkerVisible() {
+ return isMarkerVisible;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIsMarkerVisible(boolean newIsMarkerVisible) {
+ boolean oldIsMarkerVisible = isMarkerVisible;
+ isMarkerVisible = newIsMarkerVisible;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ BpmnDiPackage.BPMN_SHAPE__IS_MARKER_VISIBLE,
+ oldIsMarkerVisible, isMarkerVisible));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isIsMessageVisible() {
+ return isMessageVisible;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIsMessageVisible(boolean newIsMessageVisible) {
+ boolean oldIsMessageVisible = isMessageVisible;
+ isMessageVisible = newIsMessageVisible;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ BpmnDiPackage.BPMN_SHAPE__IS_MESSAGE_VISIBLE,
+ oldIsMessageVisible, isMessageVisible));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ParticipantBandKind getParticipantBandKind() {
+ return participantBandKind;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setParticipantBandKind(
+ ParticipantBandKind newParticipantBandKind) {
+ ParticipantBandKind oldParticipantBandKind = participantBandKind;
+ participantBandKind = newParticipantBandKind == null ? PARTICIPANT_BAND_KIND_EDEFAULT
+ : newParticipantBandKind;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ BpmnDiPackage.BPMN_SHAPE__PARTICIPANT_BAND_KIND,
+ oldParticipantBandKind, participantBandKind));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case BpmnDiPackage.BPMN_SHAPE__LABEL:
+ return basicSetLabel(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case BpmnDiPackage.BPMN_SHAPE__LABEL:
+ return getLabel();
+ case BpmnDiPackage.BPMN_SHAPE__BPMN_ELEMENT:
+ if (resolve)
+ return getBpmnElement();
+ return basicGetBpmnElement();
+ case BpmnDiPackage.BPMN_SHAPE__CHOREOGRAPHY_ACTIVITY_SHAPE:
+ if (resolve)
+ return getChoreographyActivityShape();
+ return basicGetChoreographyActivityShape();
+ case BpmnDiPackage.BPMN_SHAPE__IS_EXPANDED:
+ return isIsExpanded();
+ case BpmnDiPackage.BPMN_SHAPE__IS_HORIZONTAL:
+ return isIsHorizontal();
+ case BpmnDiPackage.BPMN_SHAPE__IS_MARKER_VISIBLE:
+ return isIsMarkerVisible();
+ case BpmnDiPackage.BPMN_SHAPE__IS_MESSAGE_VISIBLE:
+ return isIsMessageVisible();
+ case BpmnDiPackage.BPMN_SHAPE__PARTICIPANT_BAND_KIND:
+ return getParticipantBandKind();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case BpmnDiPackage.BPMN_SHAPE__LABEL:
+ setLabel((BPMNLabel) newValue);
+ return;
+ case BpmnDiPackage.BPMN_SHAPE__BPMN_ELEMENT:
+ setBpmnElement((BaseElement) newValue);
+ return;
+ case BpmnDiPackage.BPMN_SHAPE__CHOREOGRAPHY_ACTIVITY_SHAPE:
+ setChoreographyActivityShape((BPMNShape) newValue);
+ return;
+ case BpmnDiPackage.BPMN_SHAPE__IS_EXPANDED:
+ setIsExpanded((Boolean) newValue);
+ return;
+ case BpmnDiPackage.BPMN_SHAPE__IS_HORIZONTAL:
+ setIsHorizontal((Boolean) newValue);
+ return;
+ case BpmnDiPackage.BPMN_SHAPE__IS_MARKER_VISIBLE:
+ setIsMarkerVisible((Boolean) newValue);
+ return;
+ case BpmnDiPackage.BPMN_SHAPE__IS_MESSAGE_VISIBLE:
+ setIsMessageVisible((Boolean) newValue);
+ return;
+ case BpmnDiPackage.BPMN_SHAPE__PARTICIPANT_BAND_KIND:
+ setParticipantBandKind((ParticipantBandKind) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case BpmnDiPackage.BPMN_SHAPE__LABEL:
+ setLabel((BPMNLabel) null);
+ return;
+ case BpmnDiPackage.BPMN_SHAPE__BPMN_ELEMENT:
+ setBpmnElement((BaseElement) null);
+ return;
+ case BpmnDiPackage.BPMN_SHAPE__CHOREOGRAPHY_ACTIVITY_SHAPE:
+ setChoreographyActivityShape((BPMNShape) null);
+ return;
+ case BpmnDiPackage.BPMN_SHAPE__IS_EXPANDED:
+ setIsExpanded(IS_EXPANDED_EDEFAULT);
+ return;
+ case BpmnDiPackage.BPMN_SHAPE__IS_HORIZONTAL:
+ setIsHorizontal(IS_HORIZONTAL_EDEFAULT);
+ return;
+ case BpmnDiPackage.BPMN_SHAPE__IS_MARKER_VISIBLE:
+ setIsMarkerVisible(IS_MARKER_VISIBLE_EDEFAULT);
+ return;
+ case BpmnDiPackage.BPMN_SHAPE__IS_MESSAGE_VISIBLE:
+ setIsMessageVisible(IS_MESSAGE_VISIBLE_EDEFAULT);
+ return;
+ case BpmnDiPackage.BPMN_SHAPE__PARTICIPANT_BAND_KIND:
+ setParticipantBandKind(PARTICIPANT_BAND_KIND_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case BpmnDiPackage.BPMN_SHAPE__LABEL:
+ return label != null;
+ case BpmnDiPackage.BPMN_SHAPE__BPMN_ELEMENT:
+ return bpmnElement != null;
+ case BpmnDiPackage.BPMN_SHAPE__CHOREOGRAPHY_ACTIVITY_SHAPE:
+ return choreographyActivityShape != null;
+ case BpmnDiPackage.BPMN_SHAPE__IS_EXPANDED:
+ return isExpanded != IS_EXPANDED_EDEFAULT;
+ case BpmnDiPackage.BPMN_SHAPE__IS_HORIZONTAL:
+ return isHorizontal != IS_HORIZONTAL_EDEFAULT;
+ case BpmnDiPackage.BPMN_SHAPE__IS_MARKER_VISIBLE:
+ return isMarkerVisible != IS_MARKER_VISIBLE_EDEFAULT;
+ case BpmnDiPackage.BPMN_SHAPE__IS_MESSAGE_VISIBLE:
+ return isMessageVisible != IS_MESSAGE_VISIBLE_EDEFAULT;
+ case BpmnDiPackage.BPMN_SHAPE__PARTICIPANT_BAND_KIND:
+ return participantBandKind != PARTICIPANT_BAND_KIND_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (isExpanded: ");
+ result.append(isExpanded);
+ result.append(", isHorizontal: ");
+ result.append(isHorizontal);
+ result.append(", isMarkerVisible: ");
+ result.append(isMarkerVisible);
+ result.append(", isMessageVisible: ");
+ result.append(isMessageVisible);
+ result.append(", participantBandKind: ");
+ result.append(participantBandKind);
+ result.append(')');
+ return result.toString();
+ }
+
+} //BPMNShapeImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/impl/BpmnDiFactoryImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/impl/BpmnDiFactoryImpl.java
new file mode 100644
index 000000000..52f8961f3
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/impl/BpmnDiFactoryImpl.java
@@ -0,0 +1,268 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.di.impl;
+
+import org.eclipse.bpmn2.di.*;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EDataType;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.impl.EFactoryImpl;
+
+import org.eclipse.emf.ecore.plugin.EcorePlugin;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class BpmnDiFactoryImpl extends EFactoryImpl implements BpmnDiFactory {
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static BpmnDiFactory init() {
+ try {
+ BpmnDiFactory theBpmnDiFactory = (BpmnDiFactory) EPackage.Registry.INSTANCE
+ .getEFactory("http://www.omg.org/spec/BPMN/20100524/DI-XMI");
+ if (theBpmnDiFactory != null) {
+ return theBpmnDiFactory;
+ }
+ } catch (Exception exception) {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new BpmnDiFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BpmnDiFactoryImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID()) {
+ case BpmnDiPackage.DOCUMENT_ROOT:
+ return createDocumentRoot();
+ case BpmnDiPackage.BPMN_DIAGRAM:
+ return createBPMNDiagram();
+ case BpmnDiPackage.BPMN_EDGE:
+ return createBPMNEdge();
+ case BpmnDiPackage.BPMN_LABEL:
+ return createBPMNLabel();
+ case BpmnDiPackage.BPMN_LABEL_STYLE:
+ return createBPMNLabelStyle();
+ case BpmnDiPackage.BPMN_PLANE:
+ return createBPMNPlane();
+ case BpmnDiPackage.BPMN_SHAPE:
+ return createBPMNShape();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName()
+ + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object createFromString(EDataType eDataType, String initialValue) {
+ switch (eDataType.getClassifierID()) {
+ case BpmnDiPackage.MESSAGE_VISIBLE_KIND:
+ return createMessageVisibleKindFromString(eDataType, initialValue);
+ case BpmnDiPackage.PARTICIPANT_BAND_KIND:
+ return createParticipantBandKindFromString(eDataType, initialValue);
+ default:
+ throw new IllegalArgumentException("The datatype '"
+ + eDataType.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String convertToString(EDataType eDataType, Object instanceValue) {
+ switch (eDataType.getClassifierID()) {
+ case BpmnDiPackage.MESSAGE_VISIBLE_KIND:
+ return convertMessageVisibleKindToString(eDataType, instanceValue);
+ case BpmnDiPackage.PARTICIPANT_BAND_KIND:
+ return convertParticipantBandKindToString(eDataType, instanceValue);
+ default:
+ throw new IllegalArgumentException("The datatype '"
+ + eDataType.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DocumentRoot createDocumentRoot() {
+ DocumentRootImpl documentRoot = new DocumentRootImpl();
+ return documentRoot;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BPMNDiagram createBPMNDiagram() {
+ BPMNDiagramImpl bpmnDiagram = new BPMNDiagramImpl();
+ return bpmnDiagram;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BPMNEdge createBPMNEdge() {
+ BPMNEdgeImpl bpmnEdge = new BPMNEdgeImpl();
+ return bpmnEdge;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BPMNLabel createBPMNLabel() {
+ BPMNLabelImpl bpmnLabel = new BPMNLabelImpl();
+ return bpmnLabel;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BPMNLabelStyle createBPMNLabelStyle() {
+ BPMNLabelStyleImpl bpmnLabelStyle = new BPMNLabelStyleImpl();
+ return bpmnLabelStyle;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BPMNPlane createBPMNPlane() {
+ BPMNPlaneImpl bpmnPlane = new BPMNPlaneImpl();
+ return bpmnPlane;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BPMNShape createBPMNShape() {
+ BPMNShapeImpl bpmnShape = new BPMNShapeImpl();
+ return bpmnShape;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public MessageVisibleKind createMessageVisibleKindFromString(
+ EDataType eDataType, String initialValue) {
+ MessageVisibleKind result = MessageVisibleKind.get(initialValue);
+ if (result == null)
+ throw new IllegalArgumentException("The value '" + initialValue
+ + "' is not a valid enumerator of '" + eDataType.getName()
+ + "'");
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertMessageVisibleKindToString(EDataType eDataType,
+ Object instanceValue) {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ParticipantBandKind createParticipantBandKindFromString(
+ EDataType eDataType, String initialValue) {
+ ParticipantBandKind result = ParticipantBandKind.get(initialValue);
+ if (result == null)
+ throw new IllegalArgumentException("The value '" + initialValue
+ + "' is not a valid enumerator of '" + eDataType.getName()
+ + "'");
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertParticipantBandKindToString(EDataType eDataType,
+ Object instanceValue) {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BpmnDiPackage getBpmnDiPackage() {
+ return (BpmnDiPackage) getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static BpmnDiPackage getPackage() {
+ return BpmnDiPackage.eINSTANCE;
+ }
+
+} //BpmnDiFactoryImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/impl/BpmnDiPackageImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/impl/BpmnDiPackageImpl.java
new file mode 100644
index 000000000..a0047a945
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/impl/BpmnDiPackageImpl.java
@@ -0,0 +1,913 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.di.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+
+import org.eclipse.bpmn2.di.BPMNDiagram;
+import org.eclipse.bpmn2.di.BPMNEdge;
+import org.eclipse.bpmn2.di.BPMNLabel;
+import org.eclipse.bpmn2.di.BPMNLabelStyle;
+import org.eclipse.bpmn2.di.BPMNPlane;
+import org.eclipse.bpmn2.di.BPMNShape;
+import org.eclipse.bpmn2.di.BpmnDiFactory;
+import org.eclipse.bpmn2.di.BpmnDiPackage;
+import org.eclipse.bpmn2.di.DocumentRoot;
+import org.eclipse.bpmn2.di.MessageVisibleKind;
+import org.eclipse.bpmn2.di.ParticipantBandKind;
+
+import org.eclipse.bpmn2.impl.Bpmn2PackageImpl;
+
+import org.eclipse.dd.dc.DcPackage;
+
+import org.eclipse.dd.dc.impl.DcPackageImpl;
+
+import org.eclipse.dd.di.DiPackage;
+
+import org.eclipse.dd.di.impl.DiPackageImpl;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EEnum;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+import org.eclipse.emf.ecore.impl.EPackageImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Package</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class BpmnDiPackageImpl extends EPackageImpl implements BpmnDiPackage {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass documentRootEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass bpmnDiagramEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass bpmnEdgeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass bpmnLabelEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass bpmnLabelStyleEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass bpmnPlaneEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass bpmnShapeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum messageVisibleKindEEnum = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum participantBandKindEEnum = null;
+
+ /**
+ * Creates an instance of the model <b>Package</b>, registered with
+ * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
+ * package URI value.
+ * <p>Note: the correct way to create the package is via the static
+ * factory method {@link #init init()}, which also performs
+ * initialization of the package, or returns the registered package,
+ * if one already exists.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.ecore.EPackage.Registry
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private BpmnDiPackageImpl() {
+ super(eNS_URI, BpmnDiFactory.eINSTANCE);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static boolean isInited = false;
+
+ /**
+ * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
+ *
+ * <p>This method is used to initialize {@link BpmnDiPackage#eINSTANCE} when that field is accessed.
+ * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #eNS_URI
+ * @see #createPackageContents()
+ * @see #initializePackageContents()
+ * @generated
+ */
+ public static BpmnDiPackage init() {
+ if (isInited)
+ return (BpmnDiPackage) EPackage.Registry.INSTANCE
+ .getEPackage(BpmnDiPackage.eNS_URI);
+
+ // Obtain or create and register package
+ BpmnDiPackageImpl theBpmnDiPackage = (BpmnDiPackageImpl) (EPackage.Registry.INSTANCE
+ .get(eNS_URI) instanceof BpmnDiPackageImpl ? EPackage.Registry.INSTANCE
+ .get(eNS_URI) : new BpmnDiPackageImpl());
+
+ isInited = true;
+
+ // Obtain or create and register interdependencies
+ Bpmn2PackageImpl theBpmn2Package = (Bpmn2PackageImpl) (EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI) instanceof Bpmn2PackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI) : Bpmn2Package.eINSTANCE);
+ DiPackageImpl theDiPackage = (DiPackageImpl) (EPackage.Registry.INSTANCE
+ .getEPackage(DiPackage.eNS_URI) instanceof DiPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(DiPackage.eNS_URI) : DiPackage.eINSTANCE);
+ DcPackageImpl theDcPackage = (DcPackageImpl) (EPackage.Registry.INSTANCE
+ .getEPackage(DcPackage.eNS_URI) instanceof DcPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(DcPackage.eNS_URI) : DcPackage.eINSTANCE);
+
+ // Load packages
+ theBpmn2Package.loadPackage();
+
+ // Create package meta-data objects
+ theBpmnDiPackage.createPackageContents();
+ theDiPackage.createPackageContents();
+ theDcPackage.createPackageContents();
+
+ // Initialize created meta-data
+ theBpmnDiPackage.initializePackageContents();
+ theDiPackage.initializePackageContents();
+ theDcPackage.initializePackageContents();
+
+ // Fix loaded packages
+ theBpmn2Package.fixPackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ theBpmnDiPackage.freeze();
+
+ // Update the registry and return the package
+ EPackage.Registry.INSTANCE.put(BpmnDiPackage.eNS_URI, theBpmnDiPackage);
+ return theBpmnDiPackage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDocumentRoot() {
+ return documentRootEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDocumentRoot_Mixed() {
+ return (EAttribute) documentRootEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_XMLNSPrefixMap() {
+ return (EReference) documentRootEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_XSISchemaLocation() {
+ return (EReference) documentRootEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_BPMNDiagram() {
+ return (EReference) documentRootEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_BPMNEdge() {
+ return (EReference) documentRootEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_BPMNLabel() {
+ return (EReference) documentRootEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_BPMNLabelStyle() {
+ return (EReference) documentRootEClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_BPMNPlane() {
+ return (EReference) documentRootEClass.getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_BPMNShape() {
+ return (EReference) documentRootEClass.getEStructuralFeatures().get(8);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getBPMNDiagram() {
+ return bpmnDiagramEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getBPMNDiagram_Plane() {
+ return (EReference) bpmnDiagramEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getBPMNDiagram_LabelStyle() {
+ return (EReference) bpmnDiagramEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getBPMNEdge() {
+ return bpmnEdgeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getBPMNEdge_Label() {
+ return (EReference) bpmnEdgeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getBPMNEdge_BpmnElement() {
+ return (EReference) bpmnEdgeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getBPMNEdge_MessageVisibleKind() {
+ return (EAttribute) bpmnEdgeEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getBPMNEdge_SourceElement() {
+ return (EReference) bpmnEdgeEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getBPMNEdge_TargetElement() {
+ return (EReference) bpmnEdgeEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getBPMNLabel() {
+ return bpmnLabelEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getBPMNLabel_LabelStyle() {
+ return (EReference) bpmnLabelEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getBPMNLabelStyle() {
+ return bpmnLabelStyleEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getBPMNLabelStyle_Font() {
+ return (EReference) bpmnLabelStyleEClass.getEStructuralFeatures()
+ .get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getBPMNPlane() {
+ return bpmnPlaneEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getBPMNPlane_BpmnElement() {
+ return (EReference) bpmnPlaneEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getBPMNShape() {
+ return bpmnShapeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getBPMNShape_Label() {
+ return (EReference) bpmnShapeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getBPMNShape_BpmnElement() {
+ return (EReference) bpmnShapeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getBPMNShape_ChoreographyActivityShape() {
+ return (EReference) bpmnShapeEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getBPMNShape_IsExpanded() {
+ return (EAttribute) bpmnShapeEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getBPMNShape_IsHorizontal() {
+ return (EAttribute) bpmnShapeEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getBPMNShape_IsMarkerVisible() {
+ return (EAttribute) bpmnShapeEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getBPMNShape_IsMessageVisible() {
+ return (EAttribute) bpmnShapeEClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getBPMNShape_ParticipantBandKind() {
+ return (EAttribute) bpmnShapeEClass.getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EEnum getMessageVisibleKind() {
+ return messageVisibleKindEEnum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EEnum getParticipantBandKind() {
+ return participantBandKindEEnum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BpmnDiFactory getBpmnDiFactory() {
+ return (BpmnDiFactory) getEFactoryInstance();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isCreated = false;
+
+ /**
+ * Creates the meta-model objects for the package. This method is
+ * guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void createPackageContents() {
+ if (isCreated)
+ return;
+ isCreated = true;
+
+ // Create classes and their features
+ documentRootEClass = createEClass(DOCUMENT_ROOT);
+ createEAttribute(documentRootEClass, DOCUMENT_ROOT__MIXED);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__BPMN_DIAGRAM);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__BPMN_EDGE);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__BPMN_LABEL);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__BPMN_LABEL_STYLE);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__BPMN_PLANE);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__BPMN_SHAPE);
+
+ bpmnDiagramEClass = createEClass(BPMN_DIAGRAM);
+ createEReference(bpmnDiagramEClass, BPMN_DIAGRAM__PLANE);
+ createEReference(bpmnDiagramEClass, BPMN_DIAGRAM__LABEL_STYLE);
+
+ bpmnEdgeEClass = createEClass(BPMN_EDGE);
+ createEReference(bpmnEdgeEClass, BPMN_EDGE__LABEL);
+ createEReference(bpmnEdgeEClass, BPMN_EDGE__BPMN_ELEMENT);
+ createEAttribute(bpmnEdgeEClass, BPMN_EDGE__MESSAGE_VISIBLE_KIND);
+ createEReference(bpmnEdgeEClass, BPMN_EDGE__SOURCE_ELEMENT);
+ createEReference(bpmnEdgeEClass, BPMN_EDGE__TARGET_ELEMENT);
+
+ bpmnLabelEClass = createEClass(BPMN_LABEL);
+ createEReference(bpmnLabelEClass, BPMN_LABEL__LABEL_STYLE);
+
+ bpmnLabelStyleEClass = createEClass(BPMN_LABEL_STYLE);
+ createEReference(bpmnLabelStyleEClass, BPMN_LABEL_STYLE__FONT);
+
+ bpmnPlaneEClass = createEClass(BPMN_PLANE);
+ createEReference(bpmnPlaneEClass, BPMN_PLANE__BPMN_ELEMENT);
+
+ bpmnShapeEClass = createEClass(BPMN_SHAPE);
+ createEReference(bpmnShapeEClass, BPMN_SHAPE__LABEL);
+ createEReference(bpmnShapeEClass, BPMN_SHAPE__BPMN_ELEMENT);
+ createEReference(bpmnShapeEClass,
+ BPMN_SHAPE__CHOREOGRAPHY_ACTIVITY_SHAPE);
+ createEAttribute(bpmnShapeEClass, BPMN_SHAPE__IS_EXPANDED);
+ createEAttribute(bpmnShapeEClass, BPMN_SHAPE__IS_HORIZONTAL);
+ createEAttribute(bpmnShapeEClass, BPMN_SHAPE__IS_MARKER_VISIBLE);
+ createEAttribute(bpmnShapeEClass, BPMN_SHAPE__IS_MESSAGE_VISIBLE);
+ createEAttribute(bpmnShapeEClass, BPMN_SHAPE__PARTICIPANT_BAND_KIND);
+
+ // Create enums
+ messageVisibleKindEEnum = createEEnum(MESSAGE_VISIBLE_KIND);
+ participantBandKindEEnum = createEEnum(PARTICIPANT_BAND_KIND);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isInitialized = false;
+
+ /**
+ * Complete the initialization of the package and its meta-model. This
+ * method is guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void initializePackageContents() {
+ if (isInitialized)
+ return;
+ isInitialized = true;
+
+ // Initialize package
+ setName(eNAME);
+ setNsPrefix(eNS_PREFIX);
+ setNsURI(eNS_URI);
+
+ // Obtain other dependent packages
+ DiPackage theDiPackage = (DiPackage) EPackage.Registry.INSTANCE
+ .getEPackage(DiPackage.eNS_URI);
+ Bpmn2Package theBpmn2Package = (Bpmn2Package) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI);
+ DcPackage theDcPackage = (DcPackage) EPackage.Registry.INSTANCE
+ .getEPackage(DcPackage.eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+ bpmnDiagramEClass.getESuperTypes().add(theDiPackage.getDiagram());
+ bpmnEdgeEClass.getESuperTypes().add(theDiPackage.getLabeledEdge());
+ bpmnLabelEClass.getESuperTypes().add(theDiPackage.getLabel());
+ bpmnLabelStyleEClass.getESuperTypes().add(theDiPackage.getStyle());
+ bpmnPlaneEClass.getESuperTypes().add(theDiPackage.getPlane());
+ bpmnShapeEClass.getESuperTypes().add(theDiPackage.getLabeledShape());
+
+ // Initialize classes and features; add operations and parameters
+ initEClass(documentRootEClass, DocumentRoot.class, "DocumentRoot",
+ !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDocumentRoot_Mixed(),
+ ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, null,
+ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
+ !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_XMLNSPrefixMap(),
+ ecorePackage.getEStringToStringMapEntry(), null,
+ "xMLNSPrefixMap", null, 0, -1, null, IS_TRANSIENT,
+ !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_XSISchemaLocation(),
+ ecorePackage.getEStringToStringMapEntry(), null,
+ "xSISchemaLocation", null, 0, -1, null, IS_TRANSIENT,
+ !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_BPMNDiagram(), this.getBPMNDiagram(),
+ null, "bPMNDiagram", null, 0, -2, null, IS_TRANSIENT,
+ IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_BPMNEdge(), this.getBPMNEdge(), null,
+ "bPMNEdge", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE,
+ IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_BPMNLabel(), this.getBPMNLabel(), null,
+ "bPMNLabel", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE,
+ IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_BPMNLabelStyle(),
+ this.getBPMNLabelStyle(), null, "bPMNLabelStyle", null, 0, -2,
+ null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
+ !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED,
+ IS_ORDERED);
+ initEReference(getDocumentRoot_BPMNPlane(), this.getBPMNPlane(), null,
+ "bPMNPlane", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE,
+ IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_BPMNShape(), this.getBPMNShape(), null,
+ "bPMNShape", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE,
+ IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+
+ initEClass(bpmnDiagramEClass, BPMNDiagram.class, "BPMNDiagram",
+ !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getBPMNDiagram_Plane(), this.getBPMNPlane(), null,
+ "plane", null, 1, 1, BPMNDiagram.class, !IS_TRANSIENT,
+ !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getBPMNDiagram_LabelStyle(), this.getBPMNLabelStyle(),
+ null, "labelStyle", null, 0, -1, BPMNDiagram.class,
+ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
+ !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
+
+ initEClass(bpmnEdgeEClass, BPMNEdge.class, "BPMNEdge", !IS_ABSTRACT,
+ !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getBPMNEdge_Label(), this.getBPMNLabel(), null, "label",
+ null, 0, 1, BPMNEdge.class, !IS_TRANSIENT, !IS_VOLATILE,
+ IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getBPMNEdge_BpmnElement(),
+ theBpmn2Package.getBaseElement(), null, "bpmnElement", null, 0,
+ 1, BPMNEdge.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
+ !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getBPMNEdge_MessageVisibleKind(),
+ this.getMessageVisibleKind(), "messageVisibleKind", null, 0, 1,
+ BPMNEdge.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
+ !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getBPMNEdge_SourceElement(),
+ theDiPackage.getDiagramElement(), null, "sourceElement", null,
+ 0, 1, BPMNEdge.class, !IS_TRANSIENT, !IS_VOLATILE,
+ IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getBPMNEdge_TargetElement(),
+ theDiPackage.getDiagramElement(), null, "targetElement", null,
+ 0, 1, BPMNEdge.class, !IS_TRANSIENT, !IS_VOLATILE,
+ IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(bpmnLabelEClass, BPMNLabel.class, "BPMNLabel", !IS_ABSTRACT,
+ !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getBPMNLabel_LabelStyle(), this.getBPMNLabelStyle(),
+ null, "labelStyle", null, 0, 1, BPMNLabel.class, !IS_TRANSIENT,
+ !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(bpmnLabelStyleEClass, BPMNLabelStyle.class,
+ "BPMNLabelStyle", !IS_ABSTRACT, !IS_INTERFACE,
+ IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getBPMNLabelStyle_Font(), theDcPackage.getFont(), null,
+ "font", null, 1, 1, BPMNLabelStyle.class, !IS_TRANSIENT,
+ !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(bpmnPlaneEClass, BPMNPlane.class, "BPMNPlane", !IS_ABSTRACT,
+ !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getBPMNPlane_BpmnElement(),
+ theBpmn2Package.getBaseElement(), null, "bpmnElement", null, 0,
+ 1, BPMNPlane.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
+ !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(bpmnShapeEClass, BPMNShape.class, "BPMNShape", !IS_ABSTRACT,
+ !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getBPMNShape_Label(), this.getBPMNLabel(), null,
+ "label", null, 0, 1, BPMNShape.class, !IS_TRANSIENT,
+ !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getBPMNShape_BpmnElement(),
+ theBpmn2Package.getBaseElement(), null, "bpmnElement", null, 0,
+ 1, BPMNShape.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
+ !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, !IS_ORDERED);
+ initEReference(getBPMNShape_ChoreographyActivityShape(),
+ this.getBPMNShape(), null, "choreographyActivityShape", null,
+ 0, 1, BPMNShape.class, !IS_TRANSIENT, !IS_VOLATILE,
+ IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getBPMNShape_IsExpanded(), ecorePackage.getEBoolean(),
+ "isExpanded", null, 0, 1, BPMNShape.class, !IS_TRANSIENT,
+ !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getBPMNShape_IsHorizontal(), ecorePackage.getEBoolean(),
+ "isHorizontal", null, 0, 1, BPMNShape.class, !IS_TRANSIENT,
+ !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getBPMNShape_IsMarkerVisible(),
+ ecorePackage.getEBoolean(), "isMarkerVisible", null, 0, 1,
+ BPMNShape.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
+ !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getBPMNShape_IsMessageVisible(),
+ ecorePackage.getEBoolean(), "isMessageVisible", null, 0, 1,
+ BPMNShape.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
+ !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getBPMNShape_ParticipantBandKind(),
+ this.getParticipantBandKind(), "participantBandKind", null, 0,
+ 1, BPMNShape.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
+ !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ // Initialize enums and add enum literals
+ initEEnum(messageVisibleKindEEnum, MessageVisibleKind.class,
+ "MessageVisibleKind");
+ addEEnumLiteral(messageVisibleKindEEnum, MessageVisibleKind.INITIATING);
+ addEEnumLiteral(messageVisibleKindEEnum,
+ MessageVisibleKind.NON_INITIATING);
+
+ initEEnum(participantBandKindEEnum, ParticipantBandKind.class,
+ "ParticipantBandKind");
+ addEEnumLiteral(participantBandKindEEnum,
+ ParticipantBandKind.TOP_INITIATING);
+ addEEnumLiteral(participantBandKindEEnum,
+ ParticipantBandKind.MIDDLE_INITIATING);
+ addEEnumLiteral(participantBandKindEEnum,
+ ParticipantBandKind.BOTTOM_INITIATING);
+ addEEnumLiteral(participantBandKindEEnum,
+ ParticipantBandKind.TOP_NON_INITIATING);
+ addEEnumLiteral(participantBandKindEEnum,
+ ParticipantBandKind.MIDDLE_NON_INITIATING);
+ addEEnumLiteral(participantBandKindEEnum,
+ ParticipantBandKind.BOTTOM_NON_INITIATING);
+
+ // Create resource
+ createResource(eNS_URI);
+
+ // Create annotations
+ // http:///org/eclipse/emf/ecore/util/ExtendedMetaData
+ createExtendedMetaDataAnnotations();
+ }
+
+ /**
+ * Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void createExtendedMetaDataAnnotations() {
+ String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData";
+ addAnnotation(documentRootEClass, source, new String[] { "name", "",
+ "kind", "mixed" });
+ addAnnotation(getDocumentRoot_Mixed(), source, new String[] { "kind",
+ "elementWildcard", "name", ":mixed" });
+ addAnnotation(getDocumentRoot_XMLNSPrefixMap(), source, new String[] {
+ "kind", "attribute", "name", "xmlns:prefix" });
+ addAnnotation(getDocumentRoot_XSISchemaLocation(), source,
+ new String[] { "kind", "attribute", "name",
+ "xsi:schemaLocation" });
+ addAnnotation(getDocumentRoot_BPMNDiagram(), source, new String[] {
+ "kind", "element", "name", "BPMNDiagram", "namespace",
+ "http://www.omg.org/spec/BPMN/20100524/DI" });
+ addAnnotation(getDocumentRoot_BPMNEdge(), source, new String[] {
+ "kind", "element", "name", "BPMNEdge", "namespace",
+ "http://www.omg.org/spec/BPMN/20100524/DI", "affiliation",
+ "http://www.omg.org/spec/DD/20100524/DI#DiagramElement" });
+ addAnnotation(getDocumentRoot_BPMNLabel(), source, new String[] {
+ "kind", "element", "name", "BPMNLabel", "namespace",
+ "http://www.omg.org/spec/BPMN/20100524/DI" });
+ addAnnotation(getDocumentRoot_BPMNLabelStyle(), source, new String[] {
+ "kind", "element", "name", "BPMNLabelStyle", "namespace",
+ "http://www.omg.org/spec/BPMN/20100524/DI" });
+ addAnnotation(getDocumentRoot_BPMNPlane(), source, new String[] {
+ "kind", "element", "name", "BPMNPlane", "namespace",
+ "http://www.omg.org/spec/BPMN/20100524/DI" });
+ addAnnotation(getDocumentRoot_BPMNShape(), source, new String[] {
+ "kind", "element", "name", "BPMNShape", "namespace",
+ "http://www.omg.org/spec/BPMN/20100524/DI", "affiliation",
+ "http://www.omg.org/spec/DD/20100524/DI#DiagramElement" });
+ addAnnotation(bpmnDiagramEClass, source, new String[] { "name",
+ "BPMNDiagram", "kind", "elementOnly" });
+ addAnnotation(getBPMNDiagram_Plane(), source, new String[] { "kind",
+ "element", "name", "BPMNPlane", "namespace",
+ "http://www.omg.org/spec/BPMN/20100524/DI" });
+ addAnnotation(getBPMNDiagram_LabelStyle(), source, new String[] {
+ "kind", "element", "name", "BPMNLabelStyle", "namespace",
+ "http://www.omg.org/spec/BPMN/20100524/DI" });
+ addAnnotation(bpmnEdgeEClass, source, new String[] { "name",
+ "BPMNEdge", "kind", "elementOnly" });
+ addAnnotation(getBPMNEdge_Label(), source, new String[] { "kind",
+ "element", "name", "BPMNLabel", "namespace",
+ "http://www.omg.org/spec/BPMN/20100524/DI" });
+ addAnnotation(getBPMNEdge_BpmnElement(), source, new String[] { "kind",
+ "attribute", "name", "bpmnElement" });
+ addAnnotation(getBPMNEdge_MessageVisibleKind(), source, new String[] {
+ "kind", "attribute", "name", "messageVisibleKind" });
+ addAnnotation(getBPMNEdge_SourceElement(), source, new String[] {
+ "kind", "attribute", "name", "sourceElement" });
+ addAnnotation(getBPMNEdge_TargetElement(), source, new String[] {
+ "kind", "attribute", "name", "targetElement" });
+ addAnnotation(bpmnLabelEClass, source, new String[] { "name",
+ "BPMNLabel", "kind", "elementOnly" });
+ addAnnotation(getBPMNLabel_LabelStyle(), source, new String[] { "kind",
+ "attribute", "name", "labelStyle" });
+ addAnnotation(bpmnLabelStyleEClass, source, new String[] { "name",
+ "BPMNLabelStyle", "kind", "elementOnly" });
+ addAnnotation(getBPMNLabelStyle_Font(), source, new String[] { "kind",
+ "element", "name", "Font", "namespace",
+ "http://www.omg.org/spec/DD/20100524/DC" });
+ addAnnotation(bpmnPlaneEClass, source, new String[] { "name",
+ "BPMNPlane", "kind", "elementOnly" });
+ addAnnotation(getBPMNPlane_BpmnElement(), source, new String[] {
+ "kind", "attribute", "name", "bpmnElement" });
+ addAnnotation(bpmnShapeEClass, source, new String[] { "name",
+ "BPMNShape", "kind", "elementOnly" });
+ addAnnotation(getBPMNShape_Label(), source, new String[] { "kind",
+ "element", "name", "BPMNLabel", "namespace",
+ "http://www.omg.org/spec/BPMN/20100524/DI" });
+ addAnnotation(getBPMNShape_BpmnElement(), source, new String[] {
+ "kind", "attribute", "name", "bpmnElement" });
+ addAnnotation(getBPMNShape_ChoreographyActivityShape(), source,
+ new String[] { "kind", "attribute", "name",
+ "choreographyActivityShape" });
+ addAnnotation(getBPMNShape_IsExpanded(), source, new String[] { "kind",
+ "attribute", "name", "isExpanded" });
+ addAnnotation(getBPMNShape_IsHorizontal(), source, new String[] {
+ "kind", "attribute", "name", "isHorizontal" });
+ addAnnotation(getBPMNShape_IsMarkerVisible(), source, new String[] {
+ "kind", "attribute", "name", "isMarkerVisible" });
+ addAnnotation(getBPMNShape_IsMessageVisible(), source, new String[] {
+ "kind", "attribute", "name", "isMessageVisible" });
+ addAnnotation(getBPMNShape_ParticipantBandKind(), source, new String[] {
+ "kind", "attribute", "name", "participantBandKind" });
+ }
+
+} //BpmnDiPackageImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/impl/DocumentRootImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/impl/DocumentRootImpl.java
new file mode 100644
index 000000000..d9254d273
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/impl/DocumentRootImpl.java
@@ -0,0 +1,553 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.di.impl;
+
+import java.util.Map;
+
+import org.eclipse.bpmn2.di.BPMNDiagram;
+import org.eclipse.bpmn2.di.BPMNEdge;
+import org.eclipse.bpmn2.di.BPMNLabel;
+import org.eclipse.bpmn2.di.BPMNLabelStyle;
+import org.eclipse.bpmn2.di.BPMNPlane;
+import org.eclipse.bpmn2.di.BPMNShape;
+import org.eclipse.bpmn2.di.BpmnDiPackage;
+import org.eclipse.bpmn2.di.DocumentRoot;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EMap;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.emf.ecore.EcorePackage;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+import org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl;
+
+import org.eclipse.emf.ecore.util.BasicFeatureMap;
+import org.eclipse.emf.ecore.util.EcoreEMap;
+import org.eclipse.emf.ecore.util.FeatureMap;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Document Root</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.di.impl.DocumentRootImpl#getMixed <em>Mixed</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.impl.DocumentRootImpl#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.impl.DocumentRootImpl#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.impl.DocumentRootImpl#getBPMNDiagram <em>BPMN Diagram</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.impl.DocumentRootImpl#getBPMNEdge <em>BPMN Edge</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.impl.DocumentRootImpl#getBPMNLabel <em>BPMN Label</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.impl.DocumentRootImpl#getBPMNLabelStyle <em>BPMN Label Style</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.impl.DocumentRootImpl#getBPMNPlane <em>BPMN Plane</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.di.impl.DocumentRootImpl#getBPMNShape <em>BPMN Shape</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DocumentRootImpl extends EObjectImpl implements DocumentRoot {
+ /**
+ * The cached value of the '{@link #getMixed() <em>Mixed</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMixed()
+ * @generated
+ * @ordered
+ */
+ protected FeatureMap mixed;
+
+ /**
+ * The cached value of the '{@link #getXMLNSPrefixMap() <em>XMLNS Prefix Map</em>}' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXMLNSPrefixMap()
+ * @generated
+ * @ordered
+ */
+ protected EMap<String, String> xMLNSPrefixMap;
+
+ /**
+ * The cached value of the '{@link #getXSISchemaLocation() <em>XSI Schema Location</em>}' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXSISchemaLocation()
+ * @generated
+ * @ordered
+ */
+ protected EMap<String, String> xSISchemaLocation;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DocumentRootImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return BpmnDiPackage.Literals.DOCUMENT_ROOT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeatureMap getMixed() {
+ if (mixed == null) {
+ mixed = new BasicFeatureMap(this,
+ BpmnDiPackage.DOCUMENT_ROOT__MIXED);
+ }
+ return mixed;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Map<String, String> getXMLNSPrefixMap() {
+ if (xMLNSPrefixMap == null) {
+ xMLNSPrefixMap = new EcoreEMap<String, String>(
+ EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY,
+ EStringToStringMapEntryImpl.class, this,
+ BpmnDiPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
+ }
+ return xMLNSPrefixMap.map();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Map<String, String> getXSISchemaLocation() {
+ if (xSISchemaLocation == null) {
+ xSISchemaLocation = new EcoreEMap<String, String>(
+ EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY,
+ EStringToStringMapEntryImpl.class, this,
+ BpmnDiPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
+ }
+ return xSISchemaLocation.map();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BPMNDiagram getBPMNDiagram() {
+ return (BPMNDiagram) getMixed().get(
+ BpmnDiPackage.Literals.DOCUMENT_ROOT__BPMN_DIAGRAM, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetBPMNDiagram(BPMNDiagram newBPMNDiagram,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ BpmnDiPackage.Literals.DOCUMENT_ROOT__BPMN_DIAGRAM,
+ newBPMNDiagram, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBPMNDiagram(BPMNDiagram newBPMNDiagram) {
+ ((FeatureMap.Internal) getMixed()).set(
+ BpmnDiPackage.Literals.DOCUMENT_ROOT__BPMN_DIAGRAM,
+ newBPMNDiagram);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BPMNEdge getBPMNEdge() {
+ return (BPMNEdge) getMixed().get(
+ BpmnDiPackage.Literals.DOCUMENT_ROOT__BPMN_EDGE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetBPMNEdge(BPMNEdge newBPMNEdge,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ BpmnDiPackage.Literals.DOCUMENT_ROOT__BPMN_EDGE, newBPMNEdge,
+ msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBPMNEdge(BPMNEdge newBPMNEdge) {
+ ((FeatureMap.Internal) getMixed()).set(
+ BpmnDiPackage.Literals.DOCUMENT_ROOT__BPMN_EDGE, newBPMNEdge);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BPMNLabel getBPMNLabel() {
+ return (BPMNLabel) getMixed().get(
+ BpmnDiPackage.Literals.DOCUMENT_ROOT__BPMN_LABEL, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetBPMNLabel(BPMNLabel newBPMNLabel,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ BpmnDiPackage.Literals.DOCUMENT_ROOT__BPMN_LABEL, newBPMNLabel,
+ msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBPMNLabel(BPMNLabel newBPMNLabel) {
+ ((FeatureMap.Internal) getMixed()).set(
+ BpmnDiPackage.Literals.DOCUMENT_ROOT__BPMN_LABEL, newBPMNLabel);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BPMNLabelStyle getBPMNLabelStyle() {
+ return (BPMNLabelStyle) getMixed().get(
+ BpmnDiPackage.Literals.DOCUMENT_ROOT__BPMN_LABEL_STYLE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetBPMNLabelStyle(
+ BPMNLabelStyle newBPMNLabelStyle, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ BpmnDiPackage.Literals.DOCUMENT_ROOT__BPMN_LABEL_STYLE,
+ newBPMNLabelStyle, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBPMNLabelStyle(BPMNLabelStyle newBPMNLabelStyle) {
+ ((FeatureMap.Internal) getMixed()).set(
+ BpmnDiPackage.Literals.DOCUMENT_ROOT__BPMN_LABEL_STYLE,
+ newBPMNLabelStyle);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BPMNPlane getBPMNPlane() {
+ return (BPMNPlane) getMixed().get(
+ BpmnDiPackage.Literals.DOCUMENT_ROOT__BPMN_PLANE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetBPMNPlane(BPMNPlane newBPMNPlane,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ BpmnDiPackage.Literals.DOCUMENT_ROOT__BPMN_PLANE, newBPMNPlane,
+ msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBPMNPlane(BPMNPlane newBPMNPlane) {
+ ((FeatureMap.Internal) getMixed()).set(
+ BpmnDiPackage.Literals.DOCUMENT_ROOT__BPMN_PLANE, newBPMNPlane);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BPMNShape getBPMNShape() {
+ return (BPMNShape) getMixed().get(
+ BpmnDiPackage.Literals.DOCUMENT_ROOT__BPMN_SHAPE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetBPMNShape(BPMNShape newBPMNShape,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ BpmnDiPackage.Literals.DOCUMENT_ROOT__BPMN_SHAPE, newBPMNShape,
+ msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBPMNShape(BPMNShape newBPMNShape) {
+ ((FeatureMap.Internal) getMixed()).set(
+ BpmnDiPackage.Literals.DOCUMENT_ROOT__BPMN_SHAPE, newBPMNShape);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case BpmnDiPackage.DOCUMENT_ROOT__MIXED:
+ return ((InternalEList<?>) getMixed()).basicRemove(otherEnd, msgs);
+ case BpmnDiPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ return ((InternalEList<?>) ((EMap.InternalMapView<String, String>) getXMLNSPrefixMap())
+ .eMap()).basicRemove(otherEnd, msgs);
+ case BpmnDiPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ return ((InternalEList<?>) ((EMap.InternalMapView<String, String>) getXSISchemaLocation())
+ .eMap()).basicRemove(otherEnd, msgs);
+ case BpmnDiPackage.DOCUMENT_ROOT__BPMN_DIAGRAM:
+ return basicSetBPMNDiagram(null, msgs);
+ case BpmnDiPackage.DOCUMENT_ROOT__BPMN_EDGE:
+ return basicSetBPMNEdge(null, msgs);
+ case BpmnDiPackage.DOCUMENT_ROOT__BPMN_LABEL:
+ return basicSetBPMNLabel(null, msgs);
+ case BpmnDiPackage.DOCUMENT_ROOT__BPMN_LABEL_STYLE:
+ return basicSetBPMNLabelStyle(null, msgs);
+ case BpmnDiPackage.DOCUMENT_ROOT__BPMN_PLANE:
+ return basicSetBPMNPlane(null, msgs);
+ case BpmnDiPackage.DOCUMENT_ROOT__BPMN_SHAPE:
+ return basicSetBPMNShape(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case BpmnDiPackage.DOCUMENT_ROOT__MIXED:
+ if (coreType)
+ return getMixed();
+ return ((FeatureMap.Internal) getMixed()).getWrapper();
+ case BpmnDiPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ if (coreType)
+ return ((EMap.InternalMapView<String, String>) getXMLNSPrefixMap())
+ .eMap();
+ else
+ return getXMLNSPrefixMap();
+ case BpmnDiPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ if (coreType)
+ return ((EMap.InternalMapView<String, String>) getXSISchemaLocation())
+ .eMap();
+ else
+ return getXSISchemaLocation();
+ case BpmnDiPackage.DOCUMENT_ROOT__BPMN_DIAGRAM:
+ return getBPMNDiagram();
+ case BpmnDiPackage.DOCUMENT_ROOT__BPMN_EDGE:
+ return getBPMNEdge();
+ case BpmnDiPackage.DOCUMENT_ROOT__BPMN_LABEL:
+ return getBPMNLabel();
+ case BpmnDiPackage.DOCUMENT_ROOT__BPMN_LABEL_STYLE:
+ return getBPMNLabelStyle();
+ case BpmnDiPackage.DOCUMENT_ROOT__BPMN_PLANE:
+ return getBPMNPlane();
+ case BpmnDiPackage.DOCUMENT_ROOT__BPMN_SHAPE:
+ return getBPMNShape();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case BpmnDiPackage.DOCUMENT_ROOT__MIXED:
+ ((FeatureMap.Internal) getMixed()).set(newValue);
+ return;
+ case BpmnDiPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ ((EStructuralFeature.Setting) ((EMap.InternalMapView<String, String>) getXMLNSPrefixMap())
+ .eMap()).set(newValue);
+ return;
+ case BpmnDiPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ ((EStructuralFeature.Setting) ((EMap.InternalMapView<String, String>) getXSISchemaLocation())
+ .eMap()).set(newValue);
+ return;
+ case BpmnDiPackage.DOCUMENT_ROOT__BPMN_DIAGRAM:
+ setBPMNDiagram((BPMNDiagram) newValue);
+ return;
+ case BpmnDiPackage.DOCUMENT_ROOT__BPMN_EDGE:
+ setBPMNEdge((BPMNEdge) newValue);
+ return;
+ case BpmnDiPackage.DOCUMENT_ROOT__BPMN_LABEL:
+ setBPMNLabel((BPMNLabel) newValue);
+ return;
+ case BpmnDiPackage.DOCUMENT_ROOT__BPMN_LABEL_STYLE:
+ setBPMNLabelStyle((BPMNLabelStyle) newValue);
+ return;
+ case BpmnDiPackage.DOCUMENT_ROOT__BPMN_PLANE:
+ setBPMNPlane((BPMNPlane) newValue);
+ return;
+ case BpmnDiPackage.DOCUMENT_ROOT__BPMN_SHAPE:
+ setBPMNShape((BPMNShape) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case BpmnDiPackage.DOCUMENT_ROOT__MIXED:
+ getMixed().clear();
+ return;
+ case BpmnDiPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ getXMLNSPrefixMap().clear();
+ return;
+ case BpmnDiPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ getXSISchemaLocation().clear();
+ return;
+ case BpmnDiPackage.DOCUMENT_ROOT__BPMN_DIAGRAM:
+ setBPMNDiagram((BPMNDiagram) null);
+ return;
+ case BpmnDiPackage.DOCUMENT_ROOT__BPMN_EDGE:
+ setBPMNEdge((BPMNEdge) null);
+ return;
+ case BpmnDiPackage.DOCUMENT_ROOT__BPMN_LABEL:
+ setBPMNLabel((BPMNLabel) null);
+ return;
+ case BpmnDiPackage.DOCUMENT_ROOT__BPMN_LABEL_STYLE:
+ setBPMNLabelStyle((BPMNLabelStyle) null);
+ return;
+ case BpmnDiPackage.DOCUMENT_ROOT__BPMN_PLANE:
+ setBPMNPlane((BPMNPlane) null);
+ return;
+ case BpmnDiPackage.DOCUMENT_ROOT__BPMN_SHAPE:
+ setBPMNShape((BPMNShape) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case BpmnDiPackage.DOCUMENT_ROOT__MIXED:
+ return mixed != null && !mixed.isEmpty();
+ case BpmnDiPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty();
+ case BpmnDiPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ return xSISchemaLocation != null && !xSISchemaLocation.isEmpty();
+ case BpmnDiPackage.DOCUMENT_ROOT__BPMN_DIAGRAM:
+ return getBPMNDiagram() != null;
+ case BpmnDiPackage.DOCUMENT_ROOT__BPMN_EDGE:
+ return getBPMNEdge() != null;
+ case BpmnDiPackage.DOCUMENT_ROOT__BPMN_LABEL:
+ return getBPMNLabel() != null;
+ case BpmnDiPackage.DOCUMENT_ROOT__BPMN_LABEL_STYLE:
+ return getBPMNLabelStyle() != null;
+ case BpmnDiPackage.DOCUMENT_ROOT__BPMN_PLANE:
+ return getBPMNPlane() != null;
+ case BpmnDiPackage.DOCUMENT_ROOT__BPMN_SHAPE:
+ return getBPMNShape() != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (mixed: ");
+ result.append(mixed);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DocumentRootImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/util/BpmnDiAdapterFactory.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/util/BpmnDiAdapterFactory.java
new file mode 100644
index 000000000..a303b3026
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/util/BpmnDiAdapterFactory.java
@@ -0,0 +1,446 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.di.util;
+
+import org.eclipse.bpmn2.di.*;
+
+import org.eclipse.dd.di.Diagram;
+import org.eclipse.dd.di.DiagramElement;
+import org.eclipse.dd.di.Edge;
+import org.eclipse.dd.di.Label;
+import org.eclipse.dd.di.LabeledEdge;
+import org.eclipse.dd.di.LabeledShape;
+import org.eclipse.dd.di.Node;
+import org.eclipse.dd.di.Plane;
+import org.eclipse.dd.di.Shape;
+import org.eclipse.dd.di.Style;
+
+import org.eclipse.emf.common.notify.Adapter;
+import org.eclipse.emf.common.notify.Notifier;
+
+import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Adapter Factory</b> for the model.
+ * It provides an adapter <code>createXXX</code> method for each class of the model.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage
+ * @generated
+ */
+public class BpmnDiAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static BpmnDiPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BpmnDiAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = BpmnDiPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ * <!-- begin-user-doc -->
+ * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
+ * <!-- end-user-doc -->
+ * @return whether this factory is applicable for the type of the object.
+ * @generated
+ */
+ @Override
+ public boolean isFactoryForType(Object object) {
+ if (object == modelPackage) {
+ return true;
+ }
+ if (object instanceof EObject) {
+ return ((EObject) object).eClass().getEPackage() == modelPackage;
+ }
+ return false;
+ }
+
+ /**
+ * The switch that delegates to the <code>createXXX</code> methods.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected BpmnDiSwitch<Adapter> modelSwitch = new BpmnDiSwitch<Adapter>() {
+ @Override
+ public Adapter caseDocumentRoot(DocumentRoot object) {
+ return createDocumentRootAdapter();
+ }
+
+ @Override
+ public Adapter caseBPMNDiagram(BPMNDiagram object) {
+ return createBPMNDiagramAdapter();
+ }
+
+ @Override
+ public Adapter caseBPMNEdge(BPMNEdge object) {
+ return createBPMNEdgeAdapter();
+ }
+
+ @Override
+ public Adapter caseBPMNLabel(BPMNLabel object) {
+ return createBPMNLabelAdapter();
+ }
+
+ @Override
+ public Adapter caseBPMNLabelStyle(BPMNLabelStyle object) {
+ return createBPMNLabelStyleAdapter();
+ }
+
+ @Override
+ public Adapter caseBPMNPlane(BPMNPlane object) {
+ return createBPMNPlaneAdapter();
+ }
+
+ @Override
+ public Adapter caseBPMNShape(BPMNShape object) {
+ return createBPMNShapeAdapter();
+ }
+
+ @Override
+ public Adapter caseDiagram(Diagram object) {
+ return createDiagramAdapter();
+ }
+
+ @Override
+ public Adapter caseDiagramElement(DiagramElement object) {
+ return createDiagramElementAdapter();
+ }
+
+ @Override
+ public Adapter caseEdge(Edge object) {
+ return createEdgeAdapter();
+ }
+
+ @Override
+ public Adapter caseLabeledEdge(LabeledEdge object) {
+ return createLabeledEdgeAdapter();
+ }
+
+ @Override
+ public Adapter caseNode(Node object) {
+ return createNodeAdapter();
+ }
+
+ @Override
+ public Adapter caseLabel(Label object) {
+ return createLabelAdapter();
+ }
+
+ @Override
+ public Adapter caseStyle(Style object) {
+ return createStyleAdapter();
+ }
+
+ @Override
+ public Adapter casePlane(Plane object) {
+ return createPlaneAdapter();
+ }
+
+ @Override
+ public Adapter caseShape(Shape object) {
+ return createShapeAdapter();
+ }
+
+ @Override
+ public Adapter caseLabeledShape(LabeledShape object) {
+ return createLabeledShapeAdapter();
+ }
+
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
+
+ /**
+ * Creates an adapter for the <code>target</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param target the object to adapt.
+ * @return the adapter for the <code>target</code>.
+ * @generated
+ */
+ @Override
+ public Adapter createAdapter(Notifier target) {
+ return modelSwitch.doSwitch((EObject) target);
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.di.DocumentRoot <em>Document Root</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.di.DocumentRoot
+ * @generated
+ */
+ public Adapter createDocumentRootAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.di.BPMNDiagram <em>BPMN Diagram</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.di.BPMNDiagram
+ * @generated
+ */
+ public Adapter createBPMNDiagramAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.di.BPMNEdge <em>BPMN Edge</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.di.BPMNEdge
+ * @generated
+ */
+ public Adapter createBPMNEdgeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.di.BPMNLabel <em>BPMN Label</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.di.BPMNLabel
+ * @generated
+ */
+ public Adapter createBPMNLabelAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.di.BPMNLabelStyle <em>BPMN Label Style</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.di.BPMNLabelStyle
+ * @generated
+ */
+ public Adapter createBPMNLabelStyleAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.di.BPMNPlane <em>BPMN Plane</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.di.BPMNPlane
+ * @generated
+ */
+ public Adapter createBPMNPlaneAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.di.BPMNShape <em>BPMN Shape</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.di.BPMNShape
+ * @generated
+ */
+ public Adapter createBPMNShapeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.dd.di.Diagram <em>Diagram</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.dd.di.Diagram
+ * @generated
+ */
+ public Adapter createDiagramAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.dd.di.DiagramElement <em>Diagram Element</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.dd.di.DiagramElement
+ * @generated
+ */
+ public Adapter createDiagramElementAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.dd.di.Edge <em>Edge</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.dd.di.Edge
+ * @generated
+ */
+ public Adapter createEdgeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.dd.di.LabeledEdge <em>Labeled Edge</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.dd.di.LabeledEdge
+ * @generated
+ */
+ public Adapter createLabeledEdgeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.dd.di.Node <em>Node</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.dd.di.Node
+ * @generated
+ */
+ public Adapter createNodeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.dd.di.Label <em>Label</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.dd.di.Label
+ * @generated
+ */
+ public Adapter createLabelAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.dd.di.Style <em>Style</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.dd.di.Style
+ * @generated
+ */
+ public Adapter createStyleAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.dd.di.Plane <em>Plane</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.dd.di.Plane
+ * @generated
+ */
+ public Adapter createPlaneAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.dd.di.Shape <em>Shape</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.dd.di.Shape
+ * @generated
+ */
+ public Adapter createShapeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.dd.di.LabeledShape <em>Labeled Shape</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.dd.di.LabeledShape
+ * @generated
+ */
+ public Adapter createLabeledShapeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
+
+} //BpmnDiAdapterFactory
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/util/BpmnDiResourceFactoryImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/util/BpmnDiResourceFactoryImpl.java
new file mode 100644
index 000000000..4a8629978
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/util/BpmnDiResourceFactoryImpl.java
@@ -0,0 +1,70 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.di.util;
+
+import org.eclipse.emf.common.util.URI;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
+
+import org.eclipse.emf.ecore.xmi.XMLResource;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Resource Factory</b> associated with the package.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.di.util.BpmnDiResourceImpl
+ * @generated
+ */
+public class BpmnDiResourceFactoryImpl extends ResourceFactoryImpl {
+ /**
+ * Creates an instance of the resource factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BpmnDiResourceFactoryImpl() {
+ super();
+ }
+
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Resource createResource(URI uri) {
+ XMLResource result = new BpmnDiResourceImpl(uri);
+ result.getDefaultSaveOptions().put(
+ XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
+ result.getDefaultLoadOptions().put(
+ XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
+
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION,
+ Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(
+ XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
+ result.getDefaultSaveOptions().put(
+ XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(
+ XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
+ return result;
+ }
+
+} //BpmnDiResourceFactoryImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/util/BpmnDiResourceImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/util/BpmnDiResourceImpl.java
new file mode 100644
index 000000000..faebc901e
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/util/BpmnDiResourceImpl.java
@@ -0,0 +1,40 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.di.util;
+
+import org.eclipse.emf.common.util.URI;
+
+import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Resource </b> associated with the package.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.di.util.BpmnDiResourceFactoryImpl
+ * @generated
+ */
+public class BpmnDiResourceImpl extends XMLResourceImpl {
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param uri the URI of the new resource.
+ * @generated
+ */
+ public BpmnDiResourceImpl(URI uri) {
+ super(uri);
+ }
+
+} //BpmnDiResourceImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/util/BpmnDiSwitch.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/util/BpmnDiSwitch.java
new file mode 100644
index 000000000..a4534de82
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/util/BpmnDiSwitch.java
@@ -0,0 +1,460 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.di.util;
+
+import java.util.List;
+
+import org.eclipse.bpmn2.di.*;
+
+import org.eclipse.dd.di.Diagram;
+import org.eclipse.dd.di.DiagramElement;
+import org.eclipse.dd.di.Edge;
+import org.eclipse.dd.di.Label;
+import org.eclipse.dd.di.LabeledEdge;
+import org.eclipse.dd.di.LabeledShape;
+import org.eclipse.dd.di.Node;
+import org.eclipse.dd.di.Plane;
+import org.eclipse.dd.di.Shape;
+import org.eclipse.dd.di.Style;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Switch</b> for the model's inheritance hierarchy.
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
+ * to invoke the <code>caseXXX</code> method for each class of the model,
+ * starting with the actual class of the object
+ * and proceeding up the inheritance hierarchy
+ * until a non-null result is returned,
+ * which is the result of the switch.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.di.BpmnDiPackage
+ * @generated
+ */
+public class BpmnDiSwitch<T> {
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static BpmnDiPackage modelPackage;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BpmnDiSwitch() {
+ if (modelPackage == null) {
+ modelPackage = BpmnDiPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ public T doSwitch(EObject theEObject) {
+ return doSwitch(theEObject.eClass(), theEObject);
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ protected T doSwitch(EClass theEClass, EObject theEObject) {
+ if (theEClass.eContainer() == modelPackage) {
+ return doSwitch(theEClass.getClassifierID(), theEObject);
+ } else {
+ List<EClass> eSuperTypes = theEClass.getESuperTypes();
+ return eSuperTypes.isEmpty() ? defaultCase(theEObject) : doSwitch(
+ eSuperTypes.get(0), theEObject);
+ }
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ protected T doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID) {
+ case BpmnDiPackage.DOCUMENT_ROOT: {
+ DocumentRoot documentRoot = (DocumentRoot) theEObject;
+ T result = caseDocumentRoot(documentRoot);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case BpmnDiPackage.BPMN_DIAGRAM: {
+ BPMNDiagram bpmnDiagram = (BPMNDiagram) theEObject;
+ T result = caseBPMNDiagram(bpmnDiagram);
+ if (result == null)
+ result = caseDiagram(bpmnDiagram);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case BpmnDiPackage.BPMN_EDGE: {
+ BPMNEdge bpmnEdge = (BPMNEdge) theEObject;
+ T result = caseBPMNEdge(bpmnEdge);
+ if (result == null)
+ result = caseLabeledEdge(bpmnEdge);
+ if (result == null)
+ result = caseEdge(bpmnEdge);
+ if (result == null)
+ result = caseDiagramElement(bpmnEdge);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case BpmnDiPackage.BPMN_LABEL: {
+ BPMNLabel bpmnLabel = (BPMNLabel) theEObject;
+ T result = caseBPMNLabel(bpmnLabel);
+ if (result == null)
+ result = caseLabel(bpmnLabel);
+ if (result == null)
+ result = caseNode(bpmnLabel);
+ if (result == null)
+ result = caseDiagramElement(bpmnLabel);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case BpmnDiPackage.BPMN_LABEL_STYLE: {
+ BPMNLabelStyle bpmnLabelStyle = (BPMNLabelStyle) theEObject;
+ T result = caseBPMNLabelStyle(bpmnLabelStyle);
+ if (result == null)
+ result = caseStyle(bpmnLabelStyle);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case BpmnDiPackage.BPMN_PLANE: {
+ BPMNPlane bpmnPlane = (BPMNPlane) theEObject;
+ T result = caseBPMNPlane(bpmnPlane);
+ if (result == null)
+ result = casePlane(bpmnPlane);
+ if (result == null)
+ result = caseNode(bpmnPlane);
+ if (result == null)
+ result = caseDiagramElement(bpmnPlane);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case BpmnDiPackage.BPMN_SHAPE: {
+ BPMNShape bpmnShape = (BPMNShape) theEObject;
+ T result = caseBPMNShape(bpmnShape);
+ if (result == null)
+ result = caseLabeledShape(bpmnShape);
+ if (result == null)
+ result = caseShape(bpmnShape);
+ if (result == null)
+ result = caseNode(bpmnShape);
+ if (result == null)
+ result = caseDiagramElement(bpmnShape);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ default:
+ return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Document Root</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Document Root</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDocumentRoot(DocumentRoot object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>BPMN Diagram</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>BPMN Diagram</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseBPMNDiagram(BPMNDiagram object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>BPMN Edge</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>BPMN Edge</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseBPMNEdge(BPMNEdge object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>BPMN Label</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>BPMN Label</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseBPMNLabel(BPMNLabel object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>BPMN Label Style</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>BPMN Label Style</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseBPMNLabelStyle(BPMNLabelStyle object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>BPMN Plane</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>BPMN Plane</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseBPMNPlane(BPMNPlane object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>BPMN Shape</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>BPMN Shape</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseBPMNShape(BPMNShape object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Diagram</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Diagram</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDiagram(Diagram object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Diagram Element</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Diagram Element</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDiagramElement(DiagramElement object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Edge</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Edge</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseEdge(Edge object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Labeled Edge</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Labeled Edge</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseLabeledEdge(LabeledEdge object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Node</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Node</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseNode(Node object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Label</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Label</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseLabel(Label object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Style</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Style</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseStyle(Style object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Plane</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Plane</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T casePlane(Plane object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Shape</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Shape</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseShape(Shape object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Labeled Shape</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Labeled Shape</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseLabeledShape(LabeledShape object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch, but this is the last case anyway.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ public T defaultCase(EObject object) {
+ return null;
+ }
+
+} //BpmnDiSwitch
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/util/BpmnDiXMLProcessor.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/util/BpmnDiXMLProcessor.java
new file mode 100644
index 000000000..e9be28a88
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/di/util/BpmnDiXMLProcessor.java
@@ -0,0 +1,62 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.di.util;
+
+import java.util.Map;
+
+import org.eclipse.bpmn2.di.BpmnDiPackage;
+
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
+
+/**
+ * This class contains helper methods to serialize and deserialize XML documents
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class BpmnDiXMLProcessor extends XMLProcessor {
+
+ /**
+ * Public constructor to instantiate the helper.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BpmnDiXMLProcessor() {
+ super((EPackage.Registry.INSTANCE));
+ BpmnDiPackage.eINSTANCE.eClass();
+ }
+
+ /**
+ * Register for "*" and "xml" file extensions the BpmnDiResourceFactoryImpl factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected Map<String, Resource.Factory> getRegistrations() {
+ if (registrations == null) {
+ super.getRegistrations();
+ registrations.put(XML_EXTENSION, new BpmnDiResourceFactoryImpl());
+ registrations.put(STAR_EXTENSION, new BpmnDiResourceFactoryImpl());
+ }
+ return registrations;
+ }
+
+} //BpmnDiXMLProcessor
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ActivityImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ActivityImpl.java
new file mode 100644
index 000000000..9eb909fcc
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ActivityImpl.java
@@ -0,0 +1,744 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Activity;
+import org.eclipse.bpmn2.BoundaryEvent;
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.DataInputAssociation;
+import org.eclipse.bpmn2.DataOutputAssociation;
+import org.eclipse.bpmn2.InputOutputSpecification;
+import org.eclipse.bpmn2.LoopCharacteristics;
+import org.eclipse.bpmn2.Property;
+import org.eclipse.bpmn2.ResourceRole;
+import org.eclipse.bpmn2.SequenceFlow;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.EObjectWithInverseEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Activity</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.ActivityImpl#getIoSpecification <em>Io Specification</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ActivityImpl#getBoundaryEventRefs <em>Boundary Event Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ActivityImpl#getProperties <em>Properties</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ActivityImpl#getDataInputAssociations <em>Data Input Associations</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ActivityImpl#getDataOutputAssociations <em>Data Output Associations</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ActivityImpl#getResources <em>Resources</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ActivityImpl#getLoopCharacteristics <em>Loop Characteristics</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ActivityImpl#getCompletionQuantity <em>Completion Quantity</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ActivityImpl#getDefault <em>Default</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ActivityImpl#isIsForCompensation <em>Is For Compensation</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ActivityImpl#getStartQuantity <em>Start Quantity</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ActivityImpl extends FlowNodeImpl implements Activity {
+ /**
+ * The cached value of the '{@link #getIoSpecification() <em>Io Specification</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIoSpecification()
+ * @generated
+ * @ordered
+ */
+ protected InputOutputSpecification ioSpecification;
+
+ /**
+ * The cached value of the '{@link #getBoundaryEventRefs() <em>Boundary Event Refs</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBoundaryEventRefs()
+ * @generated
+ * @ordered
+ */
+ protected EList<BoundaryEvent> boundaryEventRefs;
+
+ /**
+ * The cached value of the '{@link #getProperties() <em>Properties</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getProperties()
+ * @generated
+ * @ordered
+ */
+ protected EList<Property> properties;
+
+ /**
+ * The cached value of the '{@link #getDataInputAssociations() <em>Data Input Associations</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDataInputAssociations()
+ * @generated
+ * @ordered
+ */
+ protected EList<DataInputAssociation> dataInputAssociations;
+
+ /**
+ * The cached value of the '{@link #getDataOutputAssociations() <em>Data Output Associations</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDataOutputAssociations()
+ * @generated
+ * @ordered
+ */
+ protected EList<DataOutputAssociation> dataOutputAssociations;
+
+ /**
+ * The cached value of the '{@link #getResources() <em>Resources</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getResources()
+ * @generated
+ * @ordered
+ */
+ protected EList<ResourceRole> resources;
+
+ /**
+ * The cached value of the '{@link #getLoopCharacteristics() <em>Loop Characteristics</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLoopCharacteristics()
+ * @generated
+ * @ordered
+ */
+ protected LoopCharacteristics loopCharacteristics;
+
+ /**
+ * The default value of the '{@link #getCompletionQuantity() <em>Completion Quantity</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCompletionQuantity()
+ * @generated
+ * @ordered
+ */
+ protected static final int COMPLETION_QUANTITY_EDEFAULT = 1;
+
+ /**
+ * The cached value of the '{@link #getCompletionQuantity() <em>Completion Quantity</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCompletionQuantity()
+ * @generated
+ * @ordered
+ */
+ protected int completionQuantity = COMPLETION_QUANTITY_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getDefault() <em>Default</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDefault()
+ * @generated
+ * @ordered
+ */
+ protected SequenceFlow default_;
+
+ /**
+ * The default value of the '{@link #isIsForCompensation() <em>Is For Compensation</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsForCompensation()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean IS_FOR_COMPENSATION_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isIsForCompensation() <em>Is For Compensation</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsForCompensation()
+ * @generated
+ * @ordered
+ */
+ protected boolean isForCompensation = IS_FOR_COMPENSATION_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getStartQuantity() <em>Start Quantity</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getStartQuantity()
+ * @generated
+ * @ordered
+ */
+ protected static final int START_QUANTITY_EDEFAULT = 1;
+
+ /**
+ * The cached value of the '{@link #getStartQuantity() <em>Start Quantity</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getStartQuantity()
+ * @generated
+ * @ordered
+ */
+ protected int startQuantity = START_QUANTITY_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ActivityImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.ACTIVITY;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public InputOutputSpecification getIoSpecification() {
+ return ioSpecification;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetIoSpecification(
+ InputOutputSpecification newIoSpecification, NotificationChain msgs) {
+ InputOutputSpecification oldIoSpecification = ioSpecification;
+ ioSpecification = newIoSpecification;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET, Bpmn2Package.ACTIVITY__IO_SPECIFICATION,
+ oldIoSpecification, newIoSpecification);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIoSpecification(InputOutputSpecification newIoSpecification) {
+ if (newIoSpecification != ioSpecification) {
+ NotificationChain msgs = null;
+ if (ioSpecification != null)
+ msgs = ((InternalEObject) ioSpecification).eInverseRemove(this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.ACTIVITY__IO_SPECIFICATION,
+ null, msgs);
+ if (newIoSpecification != null)
+ msgs = ((InternalEObject) newIoSpecification).eInverseAdd(this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.ACTIVITY__IO_SPECIFICATION,
+ null, msgs);
+ msgs = basicSetIoSpecification(newIoSpecification, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.ACTIVITY__IO_SPECIFICATION,
+ newIoSpecification, newIoSpecification));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<BoundaryEvent> getBoundaryEventRefs() {
+ if (boundaryEventRefs == null) {
+ boundaryEventRefs = new EObjectWithInverseEList<BoundaryEvent>(
+ BoundaryEvent.class, this,
+ Bpmn2Package.ACTIVITY__BOUNDARY_EVENT_REFS,
+ Bpmn2Package.BOUNDARY_EVENT__ATTACHED_TO_REF);
+ }
+ return boundaryEventRefs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<Property> getProperties() {
+ if (properties == null) {
+ properties = new EObjectContainmentEList<Property>(Property.class,
+ this, Bpmn2Package.ACTIVITY__PROPERTIES);
+ }
+ return properties;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<DataInputAssociation> getDataInputAssociations() {
+ if (dataInputAssociations == null) {
+ dataInputAssociations = new EObjectContainmentEList<DataInputAssociation>(
+ DataInputAssociation.class, this,
+ Bpmn2Package.ACTIVITY__DATA_INPUT_ASSOCIATIONS);
+ }
+ return dataInputAssociations;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<DataOutputAssociation> getDataOutputAssociations() {
+ if (dataOutputAssociations == null) {
+ dataOutputAssociations = new EObjectContainmentEList<DataOutputAssociation>(
+ DataOutputAssociation.class, this,
+ Bpmn2Package.ACTIVITY__DATA_OUTPUT_ASSOCIATIONS);
+ }
+ return dataOutputAssociations;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<ResourceRole> getResources() {
+ if (resources == null) {
+ resources = new EObjectContainmentEList<ResourceRole>(
+ ResourceRole.class, this, Bpmn2Package.ACTIVITY__RESOURCES);
+ }
+ return resources;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public LoopCharacteristics getLoopCharacteristics() {
+ return loopCharacteristics;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetLoopCharacteristics(
+ LoopCharacteristics newLoopCharacteristics, NotificationChain msgs) {
+ LoopCharacteristics oldLoopCharacteristics = loopCharacteristics;
+ loopCharacteristics = newLoopCharacteristics;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET,
+ Bpmn2Package.ACTIVITY__LOOP_CHARACTERISTICS,
+ oldLoopCharacteristics, newLoopCharacteristics);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLoopCharacteristics(
+ LoopCharacteristics newLoopCharacteristics) {
+ if (newLoopCharacteristics != loopCharacteristics) {
+ NotificationChain msgs = null;
+ if (loopCharacteristics != null)
+ msgs = ((InternalEObject) loopCharacteristics).eInverseRemove(
+ this, EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.ACTIVITY__LOOP_CHARACTERISTICS,
+ null, msgs);
+ if (newLoopCharacteristics != null)
+ msgs = ((InternalEObject) newLoopCharacteristics).eInverseAdd(
+ this, EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.ACTIVITY__LOOP_CHARACTERISTICS,
+ null, msgs);
+ msgs = basicSetLoopCharacteristics(newLoopCharacteristics, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.ACTIVITY__LOOP_CHARACTERISTICS,
+ newLoopCharacteristics, newLoopCharacteristics));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getCompletionQuantity() {
+ return completionQuantity;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCompletionQuantity(int newCompletionQuantity) {
+ int oldCompletionQuantity = completionQuantity;
+ completionQuantity = newCompletionQuantity;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.ACTIVITY__COMPLETION_QUANTITY,
+ oldCompletionQuantity, completionQuantity));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SequenceFlow getDefault() {
+ return default_;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDefault(SequenceFlow newDefault) {
+ SequenceFlow oldDefault = default_;
+ default_ = newDefault;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.ACTIVITY__DEFAULT, oldDefault, default_));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isIsForCompensation() {
+ return isForCompensation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIsForCompensation(boolean newIsForCompensation) {
+ boolean oldIsForCompensation = isForCompensation;
+ isForCompensation = newIsForCompensation;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.ACTIVITY__IS_FOR_COMPENSATION,
+ oldIsForCompensation, isForCompensation));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getStartQuantity() {
+ return startQuantity;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setStartQuantity(int newStartQuantity) {
+ int oldStartQuantity = startQuantity;
+ startQuantity = newStartQuantity;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.ACTIVITY__START_QUANTITY, oldStartQuantity,
+ startQuantity));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public NotificationChain eInverseAdd(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.ACTIVITY__BOUNDARY_EVENT_REFS:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getBoundaryEventRefs())
+ .basicAdd(otherEnd, msgs);
+ }
+ return super.eInverseAdd(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.ACTIVITY__IO_SPECIFICATION:
+ return basicSetIoSpecification(null, msgs);
+ case Bpmn2Package.ACTIVITY__BOUNDARY_EVENT_REFS:
+ return ((InternalEList<?>) getBoundaryEventRefs()).basicRemove(
+ otherEnd, msgs);
+ case Bpmn2Package.ACTIVITY__PROPERTIES:
+ return ((InternalEList<?>) getProperties()).basicRemove(otherEnd,
+ msgs);
+ case Bpmn2Package.ACTIVITY__DATA_INPUT_ASSOCIATIONS:
+ return ((InternalEList<?>) getDataInputAssociations()).basicRemove(
+ otherEnd, msgs);
+ case Bpmn2Package.ACTIVITY__DATA_OUTPUT_ASSOCIATIONS:
+ return ((InternalEList<?>) getDataOutputAssociations())
+ .basicRemove(otherEnd, msgs);
+ case Bpmn2Package.ACTIVITY__RESOURCES:
+ return ((InternalEList<?>) getResources()).basicRemove(otherEnd,
+ msgs);
+ case Bpmn2Package.ACTIVITY__LOOP_CHARACTERISTICS:
+ return basicSetLoopCharacteristics(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.ACTIVITY__IO_SPECIFICATION:
+ return getIoSpecification();
+ case Bpmn2Package.ACTIVITY__BOUNDARY_EVENT_REFS:
+ return getBoundaryEventRefs();
+ case Bpmn2Package.ACTIVITY__PROPERTIES:
+ return getProperties();
+ case Bpmn2Package.ACTIVITY__DATA_INPUT_ASSOCIATIONS:
+ return getDataInputAssociations();
+ case Bpmn2Package.ACTIVITY__DATA_OUTPUT_ASSOCIATIONS:
+ return getDataOutputAssociations();
+ case Bpmn2Package.ACTIVITY__RESOURCES:
+ return getResources();
+ case Bpmn2Package.ACTIVITY__LOOP_CHARACTERISTICS:
+ return getLoopCharacteristics();
+ case Bpmn2Package.ACTIVITY__COMPLETION_QUANTITY:
+ return getCompletionQuantity();
+ case Bpmn2Package.ACTIVITY__DEFAULT:
+ return getDefault();
+ case Bpmn2Package.ACTIVITY__IS_FOR_COMPENSATION:
+ return isIsForCompensation();
+ case Bpmn2Package.ACTIVITY__START_QUANTITY:
+ return getStartQuantity();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.ACTIVITY__IO_SPECIFICATION:
+ setIoSpecification((InputOutputSpecification) newValue);
+ return;
+ case Bpmn2Package.ACTIVITY__BOUNDARY_EVENT_REFS:
+ getBoundaryEventRefs().clear();
+ getBoundaryEventRefs().addAll(
+ (Collection<? extends BoundaryEvent>) newValue);
+ return;
+ case Bpmn2Package.ACTIVITY__PROPERTIES:
+ getProperties().clear();
+ getProperties().addAll((Collection<? extends Property>) newValue);
+ return;
+ case Bpmn2Package.ACTIVITY__DATA_INPUT_ASSOCIATIONS:
+ getDataInputAssociations().clear();
+ getDataInputAssociations().addAll(
+ (Collection<? extends DataInputAssociation>) newValue);
+ return;
+ case Bpmn2Package.ACTIVITY__DATA_OUTPUT_ASSOCIATIONS:
+ getDataOutputAssociations().clear();
+ getDataOutputAssociations().addAll(
+ (Collection<? extends DataOutputAssociation>) newValue);
+ return;
+ case Bpmn2Package.ACTIVITY__RESOURCES:
+ getResources().clear();
+ getResources()
+ .addAll((Collection<? extends ResourceRole>) newValue);
+ return;
+ case Bpmn2Package.ACTIVITY__LOOP_CHARACTERISTICS:
+ setLoopCharacteristics((LoopCharacteristics) newValue);
+ return;
+ case Bpmn2Package.ACTIVITY__COMPLETION_QUANTITY:
+ setCompletionQuantity((Integer) newValue);
+ return;
+ case Bpmn2Package.ACTIVITY__DEFAULT:
+ setDefault((SequenceFlow) newValue);
+ return;
+ case Bpmn2Package.ACTIVITY__IS_FOR_COMPENSATION:
+ setIsForCompensation((Boolean) newValue);
+ return;
+ case Bpmn2Package.ACTIVITY__START_QUANTITY:
+ setStartQuantity((Integer) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.ACTIVITY__IO_SPECIFICATION:
+ setIoSpecification((InputOutputSpecification) null);
+ return;
+ case Bpmn2Package.ACTIVITY__BOUNDARY_EVENT_REFS:
+ getBoundaryEventRefs().clear();
+ return;
+ case Bpmn2Package.ACTIVITY__PROPERTIES:
+ getProperties().clear();
+ return;
+ case Bpmn2Package.ACTIVITY__DATA_INPUT_ASSOCIATIONS:
+ getDataInputAssociations().clear();
+ return;
+ case Bpmn2Package.ACTIVITY__DATA_OUTPUT_ASSOCIATIONS:
+ getDataOutputAssociations().clear();
+ return;
+ case Bpmn2Package.ACTIVITY__RESOURCES:
+ getResources().clear();
+ return;
+ case Bpmn2Package.ACTIVITY__LOOP_CHARACTERISTICS:
+ setLoopCharacteristics((LoopCharacteristics) null);
+ return;
+ case Bpmn2Package.ACTIVITY__COMPLETION_QUANTITY:
+ setCompletionQuantity(COMPLETION_QUANTITY_EDEFAULT);
+ return;
+ case Bpmn2Package.ACTIVITY__DEFAULT:
+ setDefault((SequenceFlow) null);
+ return;
+ case Bpmn2Package.ACTIVITY__IS_FOR_COMPENSATION:
+ setIsForCompensation(IS_FOR_COMPENSATION_EDEFAULT);
+ return;
+ case Bpmn2Package.ACTIVITY__START_QUANTITY:
+ setStartQuantity(START_QUANTITY_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.ACTIVITY__IO_SPECIFICATION:
+ return ioSpecification != null;
+ case Bpmn2Package.ACTIVITY__BOUNDARY_EVENT_REFS:
+ return boundaryEventRefs != null && !boundaryEventRefs.isEmpty();
+ case Bpmn2Package.ACTIVITY__PROPERTIES:
+ return properties != null && !properties.isEmpty();
+ case Bpmn2Package.ACTIVITY__DATA_INPUT_ASSOCIATIONS:
+ return dataInputAssociations != null
+ && !dataInputAssociations.isEmpty();
+ case Bpmn2Package.ACTIVITY__DATA_OUTPUT_ASSOCIATIONS:
+ return dataOutputAssociations != null
+ && !dataOutputAssociations.isEmpty();
+ case Bpmn2Package.ACTIVITY__RESOURCES:
+ return resources != null && !resources.isEmpty();
+ case Bpmn2Package.ACTIVITY__LOOP_CHARACTERISTICS:
+ return loopCharacteristics != null;
+ case Bpmn2Package.ACTIVITY__COMPLETION_QUANTITY:
+ return completionQuantity != COMPLETION_QUANTITY_EDEFAULT;
+ case Bpmn2Package.ACTIVITY__DEFAULT:
+ return default_ != null;
+ case Bpmn2Package.ACTIVITY__IS_FOR_COMPENSATION:
+ return isForCompensation != IS_FOR_COMPENSATION_EDEFAULT;
+ case Bpmn2Package.ACTIVITY__START_QUANTITY:
+ return startQuantity != START_QUANTITY_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (completionQuantity: ");
+ result.append(completionQuantity);
+ result.append(", isForCompensation: ");
+ result.append(isForCompensation);
+ result.append(", startQuantity: ");
+ result.append(startQuantity);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ActivityImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/AdHocSubProcessImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/AdHocSubProcessImpl.java
new file mode 100644
index 000000000..b1cabee25
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/AdHocSubProcessImpl.java
@@ -0,0 +1,338 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.AdHocOrdering;
+import org.eclipse.bpmn2.AdHocSubProcess;
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Expression;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Ad Hoc Sub Process</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.AdHocSubProcessImpl#getCompletionCondition <em>Completion Condition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.AdHocSubProcessImpl#isCancelRemainingInstances <em>Cancel Remaining Instances</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.AdHocSubProcessImpl#getOrdering <em>Ordering</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class AdHocSubProcessImpl extends SubProcessImpl implements
+ AdHocSubProcess {
+ /**
+ * The cached value of the '{@link #getCompletionCondition() <em>Completion Condition</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCompletionCondition()
+ * @generated
+ * @ordered
+ */
+ protected Expression completionCondition;
+
+ /**
+ * The default value of the '{@link #isCancelRemainingInstances() <em>Cancel Remaining Instances</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isCancelRemainingInstances()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean CANCEL_REMAINING_INSTANCES_EDEFAULT = true;
+
+ /**
+ * The cached value of the '{@link #isCancelRemainingInstances() <em>Cancel Remaining Instances</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isCancelRemainingInstances()
+ * @generated
+ * @ordered
+ */
+ protected boolean cancelRemainingInstances = CANCEL_REMAINING_INSTANCES_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getOrdering() <em>Ordering</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOrdering()
+ * @generated
+ * @ordered
+ */
+ protected static final AdHocOrdering ORDERING_EDEFAULT = AdHocOrdering.PARALLEL;
+
+ /**
+ * The cached value of the '{@link #getOrdering() <em>Ordering</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOrdering()
+ * @generated
+ * @ordered
+ */
+ protected AdHocOrdering ordering = ORDERING_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected AdHocSubProcessImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.AD_HOC_SUB_PROCESS;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Expression getCompletionCondition() {
+ return completionCondition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetCompletionCondition(
+ Expression newCompletionCondition, NotificationChain msgs) {
+ Expression oldCompletionCondition = completionCondition;
+ completionCondition = newCompletionCondition;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET,
+ Bpmn2Package.AD_HOC_SUB_PROCESS__COMPLETION_CONDITION,
+ oldCompletionCondition, newCompletionCondition);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCompletionCondition(Expression newCompletionCondition) {
+ if (newCompletionCondition != completionCondition) {
+ NotificationChain msgs = null;
+ if (completionCondition != null)
+ msgs = ((InternalEObject) completionCondition)
+ .eInverseRemove(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.AD_HOC_SUB_PROCESS__COMPLETION_CONDITION,
+ null, msgs);
+ if (newCompletionCondition != null)
+ msgs = ((InternalEObject) newCompletionCondition)
+ .eInverseAdd(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.AD_HOC_SUB_PROCESS__COMPLETION_CONDITION,
+ null, msgs);
+ msgs = basicSetCompletionCondition(newCompletionCondition, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.AD_HOC_SUB_PROCESS__COMPLETION_CONDITION,
+ newCompletionCondition, newCompletionCondition));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isCancelRemainingInstances() {
+ return cancelRemainingInstances;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCancelRemainingInstances(boolean newCancelRemainingInstances) {
+ boolean oldCancelRemainingInstances = cancelRemainingInstances;
+ cancelRemainingInstances = newCancelRemainingInstances;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.SET,
+ Bpmn2Package.AD_HOC_SUB_PROCESS__CANCEL_REMAINING_INSTANCES,
+ oldCancelRemainingInstances, cancelRemainingInstances));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public AdHocOrdering getOrdering() {
+ return ordering;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setOrdering(AdHocOrdering newOrdering) {
+ AdHocOrdering oldOrdering = ordering;
+ ordering = newOrdering == null ? ORDERING_EDEFAULT : newOrdering;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.AD_HOC_SUB_PROCESS__ORDERING, oldOrdering,
+ ordering));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.AD_HOC_SUB_PROCESS__COMPLETION_CONDITION:
+ return basicSetCompletionCondition(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.AD_HOC_SUB_PROCESS__COMPLETION_CONDITION:
+ return getCompletionCondition();
+ case Bpmn2Package.AD_HOC_SUB_PROCESS__CANCEL_REMAINING_INSTANCES:
+ return isCancelRemainingInstances();
+ case Bpmn2Package.AD_HOC_SUB_PROCESS__ORDERING:
+ return getOrdering();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.AD_HOC_SUB_PROCESS__COMPLETION_CONDITION:
+ setCompletionCondition((Expression) newValue);
+ return;
+ case Bpmn2Package.AD_HOC_SUB_PROCESS__CANCEL_REMAINING_INSTANCES:
+ setCancelRemainingInstances((Boolean) newValue);
+ return;
+ case Bpmn2Package.AD_HOC_SUB_PROCESS__ORDERING:
+ setOrdering((AdHocOrdering) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.AD_HOC_SUB_PROCESS__COMPLETION_CONDITION:
+ setCompletionCondition((Expression) null);
+ return;
+ case Bpmn2Package.AD_HOC_SUB_PROCESS__CANCEL_REMAINING_INSTANCES:
+ setCancelRemainingInstances(CANCEL_REMAINING_INSTANCES_EDEFAULT);
+ return;
+ case Bpmn2Package.AD_HOC_SUB_PROCESS__ORDERING:
+ setOrdering(ORDERING_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.AD_HOC_SUB_PROCESS__COMPLETION_CONDITION:
+ return completionCondition != null;
+ case Bpmn2Package.AD_HOC_SUB_PROCESS__CANCEL_REMAINING_INSTANCES:
+ return cancelRemainingInstances != CANCEL_REMAINING_INSTANCES_EDEFAULT;
+ case Bpmn2Package.AD_HOC_SUB_PROCESS__ORDERING:
+ return ordering != ORDERING_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (cancelRemainingInstances: ");
+ result.append(cancelRemainingInstances);
+ result.append(", ordering: ");
+ result.append(ordering);
+ result.append(')');
+ return result.toString();
+ }
+
+} //AdHocSubProcessImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ArtifactImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ArtifactImpl.java
new file mode 100644
index 000000000..6a7f8fb06
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ArtifactImpl.java
@@ -0,0 +1,51 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Artifact;
+import org.eclipse.bpmn2.Bpmn2Package;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Artifact</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class ArtifactImpl extends BaseElementImpl implements Artifact {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ArtifactImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.ARTIFACT;
+ }
+
+} //ArtifactImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/AssignmentImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/AssignmentImpl.java
new file mode 100644
index 000000000..8d47b954c
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/AssignmentImpl.java
@@ -0,0 +1,274 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Assignment;
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Expression;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Assignment</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.AssignmentImpl#getFrom <em>From</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.AssignmentImpl#getTo <em>To</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class AssignmentImpl extends BaseElementImpl implements Assignment {
+ /**
+ * The cached value of the '{@link #getFrom() <em>From</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFrom()
+ * @generated
+ * @ordered
+ */
+ protected Expression from;
+
+ /**
+ * The cached value of the '{@link #getTo() <em>To</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTo()
+ * @generated
+ * @ordered
+ */
+ protected Expression to;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected AssignmentImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.ASSIGNMENT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Expression getFrom() {
+ return from;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetFrom(Expression newFrom,
+ NotificationChain msgs) {
+ Expression oldFrom = from;
+ from = newFrom;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET, Bpmn2Package.ASSIGNMENT__FROM, oldFrom,
+ newFrom);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFrom(Expression newFrom) {
+ if (newFrom != from) {
+ NotificationChain msgs = null;
+ if (from != null)
+ msgs = ((InternalEObject) from).eInverseRemove(this,
+ EOPPOSITE_FEATURE_BASE - Bpmn2Package.ASSIGNMENT__FROM,
+ null, msgs);
+ if (newFrom != null)
+ msgs = ((InternalEObject) newFrom).eInverseAdd(this,
+ EOPPOSITE_FEATURE_BASE - Bpmn2Package.ASSIGNMENT__FROM,
+ null, msgs);
+ msgs = basicSetFrom(newFrom, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.ASSIGNMENT__FROM, newFrom, newFrom));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Expression getTo() {
+ return to;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetTo(Expression newTo, NotificationChain msgs) {
+ Expression oldTo = to;
+ to = newTo;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET, Bpmn2Package.ASSIGNMENT__TO, oldTo, newTo);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTo(Expression newTo) {
+ if (newTo != to) {
+ NotificationChain msgs = null;
+ if (to != null)
+ msgs = ((InternalEObject) to).eInverseRemove(this,
+ EOPPOSITE_FEATURE_BASE - Bpmn2Package.ASSIGNMENT__TO,
+ null, msgs);
+ if (newTo != null)
+ msgs = ((InternalEObject) newTo).eInverseAdd(this,
+ EOPPOSITE_FEATURE_BASE - Bpmn2Package.ASSIGNMENT__TO,
+ null, msgs);
+ msgs = basicSetTo(newTo, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.ASSIGNMENT__TO, newTo, newTo));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.ASSIGNMENT__FROM:
+ return basicSetFrom(null, msgs);
+ case Bpmn2Package.ASSIGNMENT__TO:
+ return basicSetTo(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.ASSIGNMENT__FROM:
+ return getFrom();
+ case Bpmn2Package.ASSIGNMENT__TO:
+ return getTo();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.ASSIGNMENT__FROM:
+ setFrom((Expression) newValue);
+ return;
+ case Bpmn2Package.ASSIGNMENT__TO:
+ setTo((Expression) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.ASSIGNMENT__FROM:
+ setFrom((Expression) null);
+ return;
+ case Bpmn2Package.ASSIGNMENT__TO:
+ setTo((Expression) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.ASSIGNMENT__FROM:
+ return from != null;
+ case Bpmn2Package.ASSIGNMENT__TO:
+ return to != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //AssignmentImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/AssociationImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/AssociationImpl.java
new file mode 100644
index 000000000..7a0cf6f28
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/AssociationImpl.java
@@ -0,0 +1,312 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Association;
+import org.eclipse.bpmn2.AssociationDirection;
+import org.eclipse.bpmn2.BaseElement;
+import org.eclipse.bpmn2.Bpmn2Package;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Association</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.AssociationImpl#getAssociationDirection <em>Association Direction</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.AssociationImpl#getSourceRef <em>Source Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.AssociationImpl#getTargetRef <em>Target Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class AssociationImpl extends ArtifactImpl implements Association {
+ /**
+ * The default value of the '{@link #getAssociationDirection() <em>Association Direction</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAssociationDirection()
+ * @generated
+ * @ordered
+ */
+ protected static final AssociationDirection ASSOCIATION_DIRECTION_EDEFAULT = AssociationDirection.NONE;
+
+ /**
+ * The cached value of the '{@link #getAssociationDirection() <em>Association Direction</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAssociationDirection()
+ * @generated
+ * @ordered
+ */
+ protected AssociationDirection associationDirection = ASSOCIATION_DIRECTION_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getSourceRef() <em>Source Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSourceRef()
+ * @generated
+ * @ordered
+ */
+ protected BaseElement sourceRef;
+
+ /**
+ * The cached value of the '{@link #getTargetRef() <em>Target Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTargetRef()
+ * @generated
+ * @ordered
+ */
+ protected BaseElement targetRef;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected AssociationImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.ASSOCIATION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public AssociationDirection getAssociationDirection() {
+ return associationDirection;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAssociationDirection(
+ AssociationDirection newAssociationDirection) {
+ AssociationDirection oldAssociationDirection = associationDirection;
+ associationDirection = newAssociationDirection == null ? ASSOCIATION_DIRECTION_EDEFAULT
+ : newAssociationDirection;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.ASSOCIATION__ASSOCIATION_DIRECTION,
+ oldAssociationDirection, associationDirection));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BaseElement getSourceRef() {
+ if (sourceRef != null && sourceRef.eIsProxy()) {
+ InternalEObject oldSourceRef = (InternalEObject) sourceRef;
+ sourceRef = (BaseElement) eResolveProxy(oldSourceRef);
+ if (sourceRef != oldSourceRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.ASSOCIATION__SOURCE_REF, oldSourceRef,
+ sourceRef));
+ }
+ }
+ return sourceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BaseElement basicGetSourceRef() {
+ return sourceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSourceRef(BaseElement newSourceRef) {
+ BaseElement oldSourceRef = sourceRef;
+ sourceRef = newSourceRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.ASSOCIATION__SOURCE_REF, oldSourceRef,
+ sourceRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BaseElement getTargetRef() {
+ if (targetRef != null && targetRef.eIsProxy()) {
+ InternalEObject oldTargetRef = (InternalEObject) targetRef;
+ targetRef = (BaseElement) eResolveProxy(oldTargetRef);
+ if (targetRef != oldTargetRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.ASSOCIATION__TARGET_REF, oldTargetRef,
+ targetRef));
+ }
+ }
+ return targetRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BaseElement basicGetTargetRef() {
+ return targetRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTargetRef(BaseElement newTargetRef) {
+ BaseElement oldTargetRef = targetRef;
+ targetRef = newTargetRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.ASSOCIATION__TARGET_REF, oldTargetRef,
+ targetRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.ASSOCIATION__ASSOCIATION_DIRECTION:
+ return getAssociationDirection();
+ case Bpmn2Package.ASSOCIATION__SOURCE_REF:
+ if (resolve)
+ return getSourceRef();
+ return basicGetSourceRef();
+ case Bpmn2Package.ASSOCIATION__TARGET_REF:
+ if (resolve)
+ return getTargetRef();
+ return basicGetTargetRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.ASSOCIATION__ASSOCIATION_DIRECTION:
+ setAssociationDirection((AssociationDirection) newValue);
+ return;
+ case Bpmn2Package.ASSOCIATION__SOURCE_REF:
+ setSourceRef((BaseElement) newValue);
+ return;
+ case Bpmn2Package.ASSOCIATION__TARGET_REF:
+ setTargetRef((BaseElement) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.ASSOCIATION__ASSOCIATION_DIRECTION:
+ setAssociationDirection(ASSOCIATION_DIRECTION_EDEFAULT);
+ return;
+ case Bpmn2Package.ASSOCIATION__SOURCE_REF:
+ setSourceRef((BaseElement) null);
+ return;
+ case Bpmn2Package.ASSOCIATION__TARGET_REF:
+ setTargetRef((BaseElement) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.ASSOCIATION__ASSOCIATION_DIRECTION:
+ return associationDirection != ASSOCIATION_DIRECTION_EDEFAULT;
+ case Bpmn2Package.ASSOCIATION__SOURCE_REF:
+ return sourceRef != null;
+ case Bpmn2Package.ASSOCIATION__TARGET_REF:
+ return targetRef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (associationDirection: ");
+ result.append(associationDirection);
+ result.append(')');
+ return result.toString();
+ }
+
+} //AssociationImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/AuditingImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/AuditingImpl.java
new file mode 100644
index 000000000..5d174d563
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/AuditingImpl.java
@@ -0,0 +1,51 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Auditing;
+import org.eclipse.bpmn2.Bpmn2Package;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Auditing</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class AuditingImpl extends BaseElementImpl implements Auditing {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected AuditingImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.AUDITING;
+ }
+
+} //AuditingImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/BaseElementImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/BaseElementImpl.java
new file mode 100644
index 000000000..718208176
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/BaseElementImpl.java
@@ -0,0 +1,366 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.BaseElement;
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Documentation;
+import org.eclipse.bpmn2.ExtensionAttributeValue;
+import org.eclipse.bpmn2.ExtensionDefinition;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.eclipse.emf.ecore.util.BasicFeatureMap;
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.emf.ecore.util.FeatureMap;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Base Element</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.BaseElementImpl#getExtensionValues <em>Extension Values</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.BaseElementImpl#getDocumentation <em>Documentation</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.BaseElementImpl#getExtensionDefinitions <em>Extension Definitions</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.BaseElementImpl#getId <em>Id</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.BaseElementImpl#getAnyAttribute <em>Any Attribute</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class BaseElementImpl extends EObjectImpl implements BaseElement {
+ /**
+ * The cached value of the '{@link #getExtensionValues() <em>Extension Values</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getExtensionValues()
+ * @generated
+ * @ordered
+ */
+ protected EList<ExtensionAttributeValue> extensionValues;
+
+ /**
+ * The cached value of the '{@link #getDocumentation() <em>Documentation</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDocumentation()
+ * @generated
+ * @ordered
+ */
+ protected EList<Documentation> documentation;
+
+ /**
+ * The cached value of the '{@link #getExtensionDefinitions() <em>Extension Definitions</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getExtensionDefinitions()
+ * @generated
+ * @ordered
+ */
+ protected EList<ExtensionDefinition> extensionDefinitions;
+
+ /**
+ * The default value of the '{@link #getId() <em>Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getId()
+ * @generated
+ * @ordered
+ */
+ protected static final String ID_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getId()
+ * @generated
+ * @ordered
+ */
+ protected String id = ID_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getAnyAttribute() <em>Any Attribute</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAnyAttribute()
+ * @generated
+ * @ordered
+ */
+ protected FeatureMap anyAttribute;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected BaseElementImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.BASE_ELEMENT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<ExtensionAttributeValue> getExtensionValues() {
+ if (extensionValues == null) {
+ extensionValues = new EObjectContainmentEList<ExtensionAttributeValue>(
+ ExtensionAttributeValue.class, this,
+ Bpmn2Package.BASE_ELEMENT__EXTENSION_VALUES);
+ }
+ return extensionValues;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<Documentation> getDocumentation() {
+ if (documentation == null) {
+ documentation = new EObjectContainmentEList<Documentation>(
+ Documentation.class, this,
+ Bpmn2Package.BASE_ELEMENT__DOCUMENTATION);
+ }
+ return documentation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<ExtensionDefinition> getExtensionDefinitions() {
+ if (extensionDefinitions == null) {
+ extensionDefinitions = new EObjectResolvingEList<ExtensionDefinition>(
+ ExtensionDefinition.class, this,
+ Bpmn2Package.BASE_ELEMENT__EXTENSION_DEFINITIONS);
+ }
+ return extensionDefinitions;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setId(String newId) {
+ String oldId = id;
+ id = newId;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.BASE_ELEMENT__ID, oldId, id));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeatureMap getAnyAttribute() {
+ if (anyAttribute == null) {
+ anyAttribute = new BasicFeatureMap(this,
+ Bpmn2Package.BASE_ELEMENT__ANY_ATTRIBUTE);
+ }
+ return anyAttribute;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.BASE_ELEMENT__EXTENSION_VALUES:
+ return ((InternalEList<?>) getExtensionValues()).basicRemove(
+ otherEnd, msgs);
+ case Bpmn2Package.BASE_ELEMENT__DOCUMENTATION:
+ return ((InternalEList<?>) getDocumentation()).basicRemove(
+ otherEnd, msgs);
+ case Bpmn2Package.BASE_ELEMENT__ANY_ATTRIBUTE:
+ return ((InternalEList<?>) getAnyAttribute()).basicRemove(otherEnd,
+ msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.BASE_ELEMENT__EXTENSION_VALUES:
+ return getExtensionValues();
+ case Bpmn2Package.BASE_ELEMENT__DOCUMENTATION:
+ return getDocumentation();
+ case Bpmn2Package.BASE_ELEMENT__EXTENSION_DEFINITIONS:
+ return getExtensionDefinitions();
+ case Bpmn2Package.BASE_ELEMENT__ID:
+ return getId();
+ case Bpmn2Package.BASE_ELEMENT__ANY_ATTRIBUTE:
+ if (coreType)
+ return getAnyAttribute();
+ return ((FeatureMap.Internal) getAnyAttribute()).getWrapper();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.BASE_ELEMENT__EXTENSION_VALUES:
+ getExtensionValues().clear();
+ getExtensionValues().addAll(
+ (Collection<? extends ExtensionAttributeValue>) newValue);
+ return;
+ case Bpmn2Package.BASE_ELEMENT__DOCUMENTATION:
+ getDocumentation().clear();
+ getDocumentation().addAll(
+ (Collection<? extends Documentation>) newValue);
+ return;
+ case Bpmn2Package.BASE_ELEMENT__EXTENSION_DEFINITIONS:
+ getExtensionDefinitions().clear();
+ getExtensionDefinitions().addAll(
+ (Collection<? extends ExtensionDefinition>) newValue);
+ return;
+ case Bpmn2Package.BASE_ELEMENT__ID:
+ setId((String) newValue);
+ return;
+ case Bpmn2Package.BASE_ELEMENT__ANY_ATTRIBUTE:
+ ((FeatureMap.Internal) getAnyAttribute()).set(newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.BASE_ELEMENT__EXTENSION_VALUES:
+ getExtensionValues().clear();
+ return;
+ case Bpmn2Package.BASE_ELEMENT__DOCUMENTATION:
+ getDocumentation().clear();
+ return;
+ case Bpmn2Package.BASE_ELEMENT__EXTENSION_DEFINITIONS:
+ getExtensionDefinitions().clear();
+ return;
+ case Bpmn2Package.BASE_ELEMENT__ID:
+ setId(ID_EDEFAULT);
+ return;
+ case Bpmn2Package.BASE_ELEMENT__ANY_ATTRIBUTE:
+ getAnyAttribute().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.BASE_ELEMENT__EXTENSION_VALUES:
+ return extensionValues != null && !extensionValues.isEmpty();
+ case Bpmn2Package.BASE_ELEMENT__DOCUMENTATION:
+ return documentation != null && !documentation.isEmpty();
+ case Bpmn2Package.BASE_ELEMENT__EXTENSION_DEFINITIONS:
+ return extensionDefinitions != null
+ && !extensionDefinitions.isEmpty();
+ case Bpmn2Package.BASE_ELEMENT__ID:
+ return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
+ case Bpmn2Package.BASE_ELEMENT__ANY_ATTRIBUTE:
+ return anyAttribute != null && !anyAttribute.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (id: ");
+ result.append(id);
+ result.append(", anyAttribute: ");
+ result.append(anyAttribute);
+ result.append(')');
+ return result.toString();
+ }
+
+} //BaseElementImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/BoundaryEventImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/BoundaryEventImpl.java
new file mode 100644
index 000000000..550799087
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/BoundaryEventImpl.java
@@ -0,0 +1,291 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Activity;
+import org.eclipse.bpmn2.BoundaryEvent;
+import org.eclipse.bpmn2.Bpmn2Package;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Boundary Event</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.BoundaryEventImpl#getAttachedToRef <em>Attached To Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.BoundaryEventImpl#isCancelActivity <em>Cancel Activity</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class BoundaryEventImpl extends CatchEventImpl implements BoundaryEvent {
+ /**
+ * The cached value of the '{@link #getAttachedToRef() <em>Attached To Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttachedToRef()
+ * @generated
+ * @ordered
+ */
+ protected Activity attachedToRef;
+
+ /**
+ * The default value of the '{@link #isCancelActivity() <em>Cancel Activity</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isCancelActivity()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean CANCEL_ACTIVITY_EDEFAULT = true;
+
+ /**
+ * The cached value of the '{@link #isCancelActivity() <em>Cancel Activity</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isCancelActivity()
+ * @generated
+ * @ordered
+ */
+ protected boolean cancelActivity = CANCEL_ACTIVITY_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected BoundaryEventImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.BOUNDARY_EVENT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Activity getAttachedToRef() {
+ return attachedToRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetAttachedToRef(Activity newAttachedToRef,
+ NotificationChain msgs) {
+ Activity oldAttachedToRef = attachedToRef;
+ attachedToRef = newAttachedToRef;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET,
+ Bpmn2Package.BOUNDARY_EVENT__ATTACHED_TO_REF,
+ oldAttachedToRef, newAttachedToRef);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttachedToRef(Activity newAttachedToRef) {
+ if (newAttachedToRef != attachedToRef) {
+ NotificationChain msgs = null;
+ if (attachedToRef != null)
+ msgs = ((InternalEObject) attachedToRef).eInverseRemove(this,
+ Bpmn2Package.ACTIVITY__BOUNDARY_EVENT_REFS,
+ Activity.class, msgs);
+ if (newAttachedToRef != null)
+ msgs = ((InternalEObject) newAttachedToRef).eInverseAdd(this,
+ Bpmn2Package.ACTIVITY__BOUNDARY_EVENT_REFS,
+ Activity.class, msgs);
+ msgs = basicSetAttachedToRef(newAttachedToRef, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.BOUNDARY_EVENT__ATTACHED_TO_REF,
+ newAttachedToRef, newAttachedToRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isCancelActivity() {
+ return cancelActivity;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCancelActivity(boolean newCancelActivity) {
+ boolean oldCancelActivity = cancelActivity;
+ cancelActivity = newCancelActivity;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.BOUNDARY_EVENT__CANCEL_ACTIVITY,
+ oldCancelActivity, cancelActivity));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseAdd(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.BOUNDARY_EVENT__ATTACHED_TO_REF:
+ if (attachedToRef != null)
+ msgs = ((InternalEObject) attachedToRef).eInverseRemove(this,
+ Bpmn2Package.ACTIVITY__BOUNDARY_EVENT_REFS,
+ Activity.class, msgs);
+ return basicSetAttachedToRef((Activity) otherEnd, msgs);
+ }
+ return super.eInverseAdd(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.BOUNDARY_EVENT__ATTACHED_TO_REF:
+ return basicSetAttachedToRef(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.BOUNDARY_EVENT__ATTACHED_TO_REF:
+ return getAttachedToRef();
+ case Bpmn2Package.BOUNDARY_EVENT__CANCEL_ACTIVITY:
+ return isCancelActivity();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.BOUNDARY_EVENT__ATTACHED_TO_REF:
+ setAttachedToRef((Activity) newValue);
+ return;
+ case Bpmn2Package.BOUNDARY_EVENT__CANCEL_ACTIVITY:
+ setCancelActivity((Boolean) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.BOUNDARY_EVENT__ATTACHED_TO_REF:
+ setAttachedToRef((Activity) null);
+ return;
+ case Bpmn2Package.BOUNDARY_EVENT__CANCEL_ACTIVITY:
+ setCancelActivity(CANCEL_ACTIVITY_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.BOUNDARY_EVENT__ATTACHED_TO_REF:
+ return attachedToRef != null;
+ case Bpmn2Package.BOUNDARY_EVENT__CANCEL_ACTIVITY:
+ return cancelActivity != CANCEL_ACTIVITY_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (cancelActivity: ");
+ result.append(cancelActivity);
+ result.append(')');
+ return result.toString();
+ }
+
+} //BoundaryEventImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/Bpmn2FactoryImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/Bpmn2FactoryImpl.java
new file mode 100644
index 000000000..1067d84f2
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/Bpmn2FactoryImpl.java
@@ -0,0 +1,2078 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Activity;
+import org.eclipse.bpmn2.AdHocOrdering;
+import org.eclipse.bpmn2.AdHocSubProcess;
+import org.eclipse.bpmn2.Artifact;
+import org.eclipse.bpmn2.Assignment;
+import org.eclipse.bpmn2.Association;
+import org.eclipse.bpmn2.AssociationDirection;
+import org.eclipse.bpmn2.Auditing;
+import org.eclipse.bpmn2.BaseElement;
+import org.eclipse.bpmn2.BoundaryEvent;
+import org.eclipse.bpmn2.Bpmn2Factory;
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.BusinessRuleTask;
+import org.eclipse.bpmn2.CallActivity;
+import org.eclipse.bpmn2.CallChoreography;
+import org.eclipse.bpmn2.CallConversation;
+import org.eclipse.bpmn2.CallableElement;
+import org.eclipse.bpmn2.CancelEventDefinition;
+import org.eclipse.bpmn2.Category;
+import org.eclipse.bpmn2.CategoryValue;
+import org.eclipse.bpmn2.Choreography;
+import org.eclipse.bpmn2.ChoreographyLoopType;
+import org.eclipse.bpmn2.ChoreographyTask;
+import org.eclipse.bpmn2.Collaboration;
+import org.eclipse.bpmn2.CompensateEventDefinition;
+import org.eclipse.bpmn2.ComplexBehaviorDefinition;
+import org.eclipse.bpmn2.ComplexGateway;
+import org.eclipse.bpmn2.ConditionalEventDefinition;
+import org.eclipse.bpmn2.Conversation;
+import org.eclipse.bpmn2.ConversationAssociation;
+import org.eclipse.bpmn2.ConversationLink;
+import org.eclipse.bpmn2.ConversationNode;
+import org.eclipse.bpmn2.CorrelationKey;
+import org.eclipse.bpmn2.CorrelationProperty;
+import org.eclipse.bpmn2.CorrelationPropertyBinding;
+import org.eclipse.bpmn2.CorrelationPropertyRetrievalExpression;
+import org.eclipse.bpmn2.CorrelationSubscription;
+import org.eclipse.bpmn2.DataAssociation;
+import org.eclipse.bpmn2.DataInput;
+import org.eclipse.bpmn2.DataInputAssociation;
+import org.eclipse.bpmn2.DataObject;
+import org.eclipse.bpmn2.DataObjectReference;
+import org.eclipse.bpmn2.DataOutput;
+import org.eclipse.bpmn2.DataOutputAssociation;
+import org.eclipse.bpmn2.DataState;
+import org.eclipse.bpmn2.DataStore;
+import org.eclipse.bpmn2.DataStoreReference;
+import org.eclipse.bpmn2.Definitions;
+import org.eclipse.bpmn2.DocumentRoot;
+import org.eclipse.bpmn2.Documentation;
+import org.eclipse.bpmn2.EndEvent;
+import org.eclipse.bpmn2.EndPoint;
+import org.eclipse.bpmn2.ErrorEventDefinition;
+import org.eclipse.bpmn2.Escalation;
+import org.eclipse.bpmn2.EscalationEventDefinition;
+import org.eclipse.bpmn2.EventBasedGateway;
+import org.eclipse.bpmn2.EventBasedGatewayType;
+import org.eclipse.bpmn2.EventDefinition;
+import org.eclipse.bpmn2.ExclusiveGateway;
+import org.eclipse.bpmn2.Expression;
+import org.eclipse.bpmn2.Extension;
+import org.eclipse.bpmn2.ExtensionAttributeDefinition;
+import org.eclipse.bpmn2.ExtensionAttributeValue;
+import org.eclipse.bpmn2.ExtensionDefinition;
+import org.eclipse.bpmn2.FormalExpression;
+import org.eclipse.bpmn2.GatewayDirection;
+import org.eclipse.bpmn2.GlobalBusinessRuleTask;
+import org.eclipse.bpmn2.GlobalChoreographyTask;
+import org.eclipse.bpmn2.GlobalConversation;
+import org.eclipse.bpmn2.GlobalManualTask;
+import org.eclipse.bpmn2.GlobalScriptTask;
+import org.eclipse.bpmn2.GlobalTask;
+import org.eclipse.bpmn2.GlobalUserTask;
+import org.eclipse.bpmn2.Group;
+import org.eclipse.bpmn2.HumanPerformer;
+import org.eclipse.bpmn2.ImplicitThrowEvent;
+import org.eclipse.bpmn2.Import;
+import org.eclipse.bpmn2.InclusiveGateway;
+import org.eclipse.bpmn2.InputOutputBinding;
+import org.eclipse.bpmn2.InputOutputSpecification;
+import org.eclipse.bpmn2.InputSet;
+import org.eclipse.bpmn2.InteractionNode;
+import org.eclipse.bpmn2.Interface;
+import org.eclipse.bpmn2.IntermediateCatchEvent;
+import org.eclipse.bpmn2.IntermediateThrowEvent;
+import org.eclipse.bpmn2.ItemAwareElement;
+import org.eclipse.bpmn2.ItemDefinition;
+import org.eclipse.bpmn2.ItemKind;
+import org.eclipse.bpmn2.Lane;
+import org.eclipse.bpmn2.LaneSet;
+import org.eclipse.bpmn2.LinkEventDefinition;
+import org.eclipse.bpmn2.ManualTask;
+import org.eclipse.bpmn2.Message;
+import org.eclipse.bpmn2.MessageEventDefinition;
+import org.eclipse.bpmn2.MessageFlow;
+import org.eclipse.bpmn2.MessageFlowAssociation;
+import org.eclipse.bpmn2.Monitoring;
+import org.eclipse.bpmn2.MultiInstanceBehavior;
+import org.eclipse.bpmn2.MultiInstanceLoopCharacteristics;
+import org.eclipse.bpmn2.Operation;
+import org.eclipse.bpmn2.OutputSet;
+import org.eclipse.bpmn2.ParallelGateway;
+import org.eclipse.bpmn2.Participant;
+import org.eclipse.bpmn2.ParticipantAssociation;
+import org.eclipse.bpmn2.ParticipantMultiplicity;
+import org.eclipse.bpmn2.PartnerEntity;
+import org.eclipse.bpmn2.PartnerRole;
+import org.eclipse.bpmn2.Performer;
+import org.eclipse.bpmn2.PotentialOwner;
+import org.eclipse.bpmn2.ProcessType;
+import org.eclipse.bpmn2.Property;
+import org.eclipse.bpmn2.ReceiveTask;
+import org.eclipse.bpmn2.Relationship;
+import org.eclipse.bpmn2.RelationshipDirection;
+import org.eclipse.bpmn2.Rendering;
+import org.eclipse.bpmn2.Resource;
+import org.eclipse.bpmn2.ResourceAssignmentExpression;
+import org.eclipse.bpmn2.ResourceParameter;
+import org.eclipse.bpmn2.ResourceParameterBinding;
+import org.eclipse.bpmn2.ResourceRole;
+import org.eclipse.bpmn2.RootElement;
+import org.eclipse.bpmn2.ScriptTask;
+import org.eclipse.bpmn2.SendTask;
+import org.eclipse.bpmn2.SequenceFlow;
+import org.eclipse.bpmn2.ServiceTask;
+import org.eclipse.bpmn2.Signal;
+import org.eclipse.bpmn2.SignalEventDefinition;
+import org.eclipse.bpmn2.StandardLoopCharacteristics;
+import org.eclipse.bpmn2.StartEvent;
+import org.eclipse.bpmn2.SubChoreography;
+import org.eclipse.bpmn2.SubConversation;
+import org.eclipse.bpmn2.SubProcess;
+import org.eclipse.bpmn2.Task;
+import org.eclipse.bpmn2.TerminateEventDefinition;
+import org.eclipse.bpmn2.TextAnnotation;
+import org.eclipse.bpmn2.TimerEventDefinition;
+import org.eclipse.bpmn2.Transaction;
+import org.eclipse.bpmn2.UserTask;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EDataType;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.impl.EFactoryImpl;
+
+import org.eclipse.emf.ecore.plugin.EcorePlugin;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class Bpmn2FactoryImpl extends EFactoryImpl implements Bpmn2Factory {
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static Bpmn2Factory init() {
+ try {
+ Bpmn2Factory theBpmn2Factory = (Bpmn2Factory) EPackage.Registry.INSTANCE
+ .getEFactory("http://www.omg.org/spec/BPMN/20100524/MODEL-XMI");
+ if (theBpmn2Factory != null) {
+ return theBpmn2Factory;
+ }
+ } catch (Exception exception) {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new Bpmn2FactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Bpmn2FactoryImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID()) {
+ case Bpmn2Package.DOCUMENT_ROOT:
+ return createDocumentRoot();
+ case Bpmn2Package.ACTIVITY:
+ return createActivity();
+ case Bpmn2Package.AD_HOC_SUB_PROCESS:
+ return createAdHocSubProcess();
+ case Bpmn2Package.ARTIFACT:
+ return createArtifact();
+ case Bpmn2Package.ASSIGNMENT:
+ return createAssignment();
+ case Bpmn2Package.ASSOCIATION:
+ return createAssociation();
+ case Bpmn2Package.AUDITING:
+ return createAuditing();
+ case Bpmn2Package.BASE_ELEMENT:
+ return createBaseElement();
+ case Bpmn2Package.BOUNDARY_EVENT:
+ return createBoundaryEvent();
+ case Bpmn2Package.BUSINESS_RULE_TASK:
+ return createBusinessRuleTask();
+ case Bpmn2Package.CALL_ACTIVITY:
+ return createCallActivity();
+ case Bpmn2Package.CALL_CHOREOGRAPHY:
+ return createCallChoreography();
+ case Bpmn2Package.CALL_CONVERSATION:
+ return createCallConversation();
+ case Bpmn2Package.CALLABLE_ELEMENT:
+ return createCallableElement();
+ case Bpmn2Package.CANCEL_EVENT_DEFINITION:
+ return createCancelEventDefinition();
+ case Bpmn2Package.CATEGORY:
+ return createCategory();
+ case Bpmn2Package.CATEGORY_VALUE:
+ return createCategoryValue();
+ case Bpmn2Package.CHOREOGRAPHY:
+ return createChoreography();
+ case Bpmn2Package.CHOREOGRAPHY_TASK:
+ return createChoreographyTask();
+ case Bpmn2Package.COLLABORATION:
+ return createCollaboration();
+ case Bpmn2Package.COMPENSATE_EVENT_DEFINITION:
+ return createCompensateEventDefinition();
+ case Bpmn2Package.COMPLEX_BEHAVIOR_DEFINITION:
+ return createComplexBehaviorDefinition();
+ case Bpmn2Package.COMPLEX_GATEWAY:
+ return createComplexGateway();
+ case Bpmn2Package.CONDITIONAL_EVENT_DEFINITION:
+ return createConditionalEventDefinition();
+ case Bpmn2Package.CONVERSATION:
+ return createConversation();
+ case Bpmn2Package.CONVERSATION_ASSOCIATION:
+ return createConversationAssociation();
+ case Bpmn2Package.CONVERSATION_LINK:
+ return createConversationLink();
+ case Bpmn2Package.CONVERSATION_NODE:
+ return createConversationNode();
+ case Bpmn2Package.CORRELATION_KEY:
+ return createCorrelationKey();
+ case Bpmn2Package.CORRELATION_PROPERTY:
+ return createCorrelationProperty();
+ case Bpmn2Package.CORRELATION_PROPERTY_BINDING:
+ return createCorrelationPropertyBinding();
+ case Bpmn2Package.CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION:
+ return createCorrelationPropertyRetrievalExpression();
+ case Bpmn2Package.CORRELATION_SUBSCRIPTION:
+ return createCorrelationSubscription();
+ case Bpmn2Package.DATA_ASSOCIATION:
+ return createDataAssociation();
+ case Bpmn2Package.DATA_INPUT:
+ return createDataInput();
+ case Bpmn2Package.DATA_INPUT_ASSOCIATION:
+ return createDataInputAssociation();
+ case Bpmn2Package.DATA_OBJECT:
+ return createDataObject();
+ case Bpmn2Package.DATA_OBJECT_REFERENCE:
+ return createDataObjectReference();
+ case Bpmn2Package.DATA_OUTPUT:
+ return createDataOutput();
+ case Bpmn2Package.DATA_OUTPUT_ASSOCIATION:
+ return createDataOutputAssociation();
+ case Bpmn2Package.DATA_STATE:
+ return createDataState();
+ case Bpmn2Package.DATA_STORE:
+ return createDataStore();
+ case Bpmn2Package.DATA_STORE_REFERENCE:
+ return createDataStoreReference();
+ case Bpmn2Package.DEFINITIONS:
+ return createDefinitions();
+ case Bpmn2Package.DOCUMENTATION:
+ return createDocumentation();
+ case Bpmn2Package.END_EVENT:
+ return createEndEvent();
+ case Bpmn2Package.END_POINT:
+ return createEndPoint();
+ case Bpmn2Package.ERROR:
+ return createError();
+ case Bpmn2Package.ERROR_EVENT_DEFINITION:
+ return createErrorEventDefinition();
+ case Bpmn2Package.ESCALATION:
+ return createEscalation();
+ case Bpmn2Package.ESCALATION_EVENT_DEFINITION:
+ return createEscalationEventDefinition();
+ case Bpmn2Package.EVENT_BASED_GATEWAY:
+ return createEventBasedGateway();
+ case Bpmn2Package.EVENT_DEFINITION:
+ return createEventDefinition();
+ case Bpmn2Package.EXCLUSIVE_GATEWAY:
+ return createExclusiveGateway();
+ case Bpmn2Package.EXPRESSION:
+ return createExpression();
+ case Bpmn2Package.EXTENSION:
+ return createExtension();
+ case Bpmn2Package.EXTENSION_ATTRIBUTE_DEFINITION:
+ return createExtensionAttributeDefinition();
+ case Bpmn2Package.EXTENSION_ATTRIBUTE_VALUE:
+ return createExtensionAttributeValue();
+ case Bpmn2Package.EXTENSION_DEFINITION:
+ return createExtensionDefinition();
+ case Bpmn2Package.FORMAL_EXPRESSION:
+ return createFormalExpression();
+ case Bpmn2Package.GLOBAL_BUSINESS_RULE_TASK:
+ return createGlobalBusinessRuleTask();
+ case Bpmn2Package.GLOBAL_CHOREOGRAPHY_TASK:
+ return createGlobalChoreographyTask();
+ case Bpmn2Package.GLOBAL_CONVERSATION:
+ return createGlobalConversation();
+ case Bpmn2Package.GLOBAL_MANUAL_TASK:
+ return createGlobalManualTask();
+ case Bpmn2Package.GLOBAL_SCRIPT_TASK:
+ return createGlobalScriptTask();
+ case Bpmn2Package.GLOBAL_TASK:
+ return createGlobalTask();
+ case Bpmn2Package.GLOBAL_USER_TASK:
+ return createGlobalUserTask();
+ case Bpmn2Package.GROUP:
+ return createGroup();
+ case Bpmn2Package.HUMAN_PERFORMER:
+ return createHumanPerformer();
+ case Bpmn2Package.IMPLICIT_THROW_EVENT:
+ return createImplicitThrowEvent();
+ case Bpmn2Package.IMPORT:
+ return createImport();
+ case Bpmn2Package.INCLUSIVE_GATEWAY:
+ return createInclusiveGateway();
+ case Bpmn2Package.INPUT_OUTPUT_BINDING:
+ return createInputOutputBinding();
+ case Bpmn2Package.INPUT_OUTPUT_SPECIFICATION:
+ return createInputOutputSpecification();
+ case Bpmn2Package.INPUT_SET:
+ return createInputSet();
+ case Bpmn2Package.INTERACTION_NODE:
+ return createInteractionNode();
+ case Bpmn2Package.INTERFACE:
+ return createInterface();
+ case Bpmn2Package.INTERMEDIATE_CATCH_EVENT:
+ return createIntermediateCatchEvent();
+ case Bpmn2Package.INTERMEDIATE_THROW_EVENT:
+ return createIntermediateThrowEvent();
+ case Bpmn2Package.ITEM_AWARE_ELEMENT:
+ return createItemAwareElement();
+ case Bpmn2Package.ITEM_DEFINITION:
+ return createItemDefinition();
+ case Bpmn2Package.LANE:
+ return createLane();
+ case Bpmn2Package.LANE_SET:
+ return createLaneSet();
+ case Bpmn2Package.LINK_EVENT_DEFINITION:
+ return createLinkEventDefinition();
+ case Bpmn2Package.MANUAL_TASK:
+ return createManualTask();
+ case Bpmn2Package.MESSAGE:
+ return createMessage();
+ case Bpmn2Package.MESSAGE_EVENT_DEFINITION:
+ return createMessageEventDefinition();
+ case Bpmn2Package.MESSAGE_FLOW:
+ return createMessageFlow();
+ case Bpmn2Package.MESSAGE_FLOW_ASSOCIATION:
+ return createMessageFlowAssociation();
+ case Bpmn2Package.MONITORING:
+ return createMonitoring();
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS:
+ return createMultiInstanceLoopCharacteristics();
+ case Bpmn2Package.OPERATION:
+ return createOperation();
+ case Bpmn2Package.OUTPUT_SET:
+ return createOutputSet();
+ case Bpmn2Package.PARALLEL_GATEWAY:
+ return createParallelGateway();
+ case Bpmn2Package.PARTICIPANT:
+ return createParticipant();
+ case Bpmn2Package.PARTICIPANT_ASSOCIATION:
+ return createParticipantAssociation();
+ case Bpmn2Package.PARTICIPANT_MULTIPLICITY:
+ return createParticipantMultiplicity();
+ case Bpmn2Package.PARTNER_ENTITY:
+ return createPartnerEntity();
+ case Bpmn2Package.PARTNER_ROLE:
+ return createPartnerRole();
+ case Bpmn2Package.PERFORMER:
+ return createPerformer();
+ case Bpmn2Package.POTENTIAL_OWNER:
+ return createPotentialOwner();
+ case Bpmn2Package.PROCESS:
+ return createProcess();
+ case Bpmn2Package.PROPERTY:
+ return createProperty();
+ case Bpmn2Package.RECEIVE_TASK:
+ return createReceiveTask();
+ case Bpmn2Package.RELATIONSHIP:
+ return createRelationship();
+ case Bpmn2Package.RENDERING:
+ return createRendering();
+ case Bpmn2Package.RESOURCE:
+ return createResource();
+ case Bpmn2Package.RESOURCE_ASSIGNMENT_EXPRESSION:
+ return createResourceAssignmentExpression();
+ case Bpmn2Package.RESOURCE_PARAMETER:
+ return createResourceParameter();
+ case Bpmn2Package.RESOURCE_PARAMETER_BINDING:
+ return createResourceParameterBinding();
+ case Bpmn2Package.RESOURCE_ROLE:
+ return createResourceRole();
+ case Bpmn2Package.ROOT_ELEMENT:
+ return createRootElement();
+ case Bpmn2Package.SCRIPT_TASK:
+ return createScriptTask();
+ case Bpmn2Package.SEND_TASK:
+ return createSendTask();
+ case Bpmn2Package.SEQUENCE_FLOW:
+ return createSequenceFlow();
+ case Bpmn2Package.SERVICE_TASK:
+ return createServiceTask();
+ case Bpmn2Package.SIGNAL:
+ return createSignal();
+ case Bpmn2Package.SIGNAL_EVENT_DEFINITION:
+ return createSignalEventDefinition();
+ case Bpmn2Package.STANDARD_LOOP_CHARACTERISTICS:
+ return createStandardLoopCharacteristics();
+ case Bpmn2Package.START_EVENT:
+ return createStartEvent();
+ case Bpmn2Package.SUB_CHOREOGRAPHY:
+ return createSubChoreography();
+ case Bpmn2Package.SUB_CONVERSATION:
+ return createSubConversation();
+ case Bpmn2Package.SUB_PROCESS:
+ return createSubProcess();
+ case Bpmn2Package.TASK:
+ return createTask();
+ case Bpmn2Package.TERMINATE_EVENT_DEFINITION:
+ return createTerminateEventDefinition();
+ case Bpmn2Package.TEXT_ANNOTATION:
+ return createTextAnnotation();
+ case Bpmn2Package.TIMER_EVENT_DEFINITION:
+ return createTimerEventDefinition();
+ case Bpmn2Package.TRANSACTION:
+ return createTransaction();
+ case Bpmn2Package.USER_TASK:
+ return createUserTask();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName()
+ + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object createFromString(EDataType eDataType, String initialValue) {
+ switch (eDataType.getClassifierID()) {
+ case Bpmn2Package.AD_HOC_ORDERING:
+ return createAdHocOrderingFromString(eDataType, initialValue);
+ case Bpmn2Package.ASSOCIATION_DIRECTION:
+ return createAssociationDirectionFromString(eDataType, initialValue);
+ case Bpmn2Package.CHOREOGRAPHY_LOOP_TYPE:
+ return createChoreographyLoopTypeFromString(eDataType, initialValue);
+ case Bpmn2Package.EVENT_BASED_GATEWAY_TYPE:
+ return createEventBasedGatewayTypeFromString(eDataType,
+ initialValue);
+ case Bpmn2Package.GATEWAY_DIRECTION:
+ return createGatewayDirectionFromString(eDataType, initialValue);
+ case Bpmn2Package.ITEM_KIND:
+ return createItemKindFromString(eDataType, initialValue);
+ case Bpmn2Package.MULTI_INSTANCE_BEHAVIOR:
+ return createMultiInstanceBehaviorFromString(eDataType,
+ initialValue);
+ case Bpmn2Package.PROCESS_TYPE:
+ return createProcessTypeFromString(eDataType, initialValue);
+ case Bpmn2Package.RELATIONSHIP_DIRECTION:
+ return createRelationshipDirectionFromString(eDataType,
+ initialValue);
+ default:
+ throw new IllegalArgumentException("The datatype '"
+ + eDataType.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String convertToString(EDataType eDataType, Object instanceValue) {
+ switch (eDataType.getClassifierID()) {
+ case Bpmn2Package.AD_HOC_ORDERING:
+ return convertAdHocOrderingToString(eDataType, instanceValue);
+ case Bpmn2Package.ASSOCIATION_DIRECTION:
+ return convertAssociationDirectionToString(eDataType, instanceValue);
+ case Bpmn2Package.CHOREOGRAPHY_LOOP_TYPE:
+ return convertChoreographyLoopTypeToString(eDataType, instanceValue);
+ case Bpmn2Package.EVENT_BASED_GATEWAY_TYPE:
+ return convertEventBasedGatewayTypeToString(eDataType,
+ instanceValue);
+ case Bpmn2Package.GATEWAY_DIRECTION:
+ return convertGatewayDirectionToString(eDataType, instanceValue);
+ case Bpmn2Package.ITEM_KIND:
+ return convertItemKindToString(eDataType, instanceValue);
+ case Bpmn2Package.MULTI_INSTANCE_BEHAVIOR:
+ return convertMultiInstanceBehaviorToString(eDataType,
+ instanceValue);
+ case Bpmn2Package.PROCESS_TYPE:
+ return convertProcessTypeToString(eDataType, instanceValue);
+ case Bpmn2Package.RELATIONSHIP_DIRECTION:
+ return convertRelationshipDirectionToString(eDataType,
+ instanceValue);
+ default:
+ throw new IllegalArgumentException("The datatype '"
+ + eDataType.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DocumentRoot createDocumentRoot() {
+ DocumentRootImpl documentRoot = new DocumentRootImpl();
+ return documentRoot;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Activity createActivity() {
+ ActivityImpl activity = new ActivityImpl();
+ return activity;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public AdHocSubProcess createAdHocSubProcess() {
+ AdHocSubProcessImpl adHocSubProcess = new AdHocSubProcessImpl();
+ return adHocSubProcess;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Artifact createArtifact() {
+ ArtifactImpl artifact = new ArtifactImpl();
+ return artifact;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Assignment createAssignment() {
+ AssignmentImpl assignment = new AssignmentImpl();
+ return assignment;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Association createAssociation() {
+ AssociationImpl association = new AssociationImpl();
+ return association;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Auditing createAuditing() {
+ AuditingImpl auditing = new AuditingImpl();
+ return auditing;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BaseElement createBaseElement() {
+ BaseElementImpl baseElement = new BaseElementImpl();
+ return baseElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BoundaryEvent createBoundaryEvent() {
+ BoundaryEventImpl boundaryEvent = new BoundaryEventImpl();
+ return boundaryEvent;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BusinessRuleTask createBusinessRuleTask() {
+ BusinessRuleTaskImpl businessRuleTask = new BusinessRuleTaskImpl();
+ return businessRuleTask;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CallActivity createCallActivity() {
+ CallActivityImpl callActivity = new CallActivityImpl();
+ return callActivity;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CallChoreography createCallChoreography() {
+ CallChoreographyImpl callChoreography = new CallChoreographyImpl();
+ return callChoreography;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CallConversation createCallConversation() {
+ CallConversationImpl callConversation = new CallConversationImpl();
+ return callConversation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CallableElement createCallableElement() {
+ CallableElementImpl callableElement = new CallableElementImpl();
+ return callableElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CancelEventDefinition createCancelEventDefinition() {
+ CancelEventDefinitionImpl cancelEventDefinition = new CancelEventDefinitionImpl();
+ return cancelEventDefinition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Category createCategory() {
+ CategoryImpl category = new CategoryImpl();
+ return category;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CategoryValue createCategoryValue() {
+ CategoryValueImpl categoryValue = new CategoryValueImpl();
+ return categoryValue;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Choreography createChoreography() {
+ ChoreographyImpl choreography = new ChoreographyImpl();
+ return choreography;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ChoreographyTask createChoreographyTask() {
+ ChoreographyTaskImpl choreographyTask = new ChoreographyTaskImpl();
+ return choreographyTask;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Collaboration createCollaboration() {
+ CollaborationImpl collaboration = new CollaborationImpl();
+ return collaboration;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompensateEventDefinition createCompensateEventDefinition() {
+ CompensateEventDefinitionImpl compensateEventDefinition = new CompensateEventDefinitionImpl();
+ return compensateEventDefinition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ComplexBehaviorDefinition createComplexBehaviorDefinition() {
+ ComplexBehaviorDefinitionImpl complexBehaviorDefinition = new ComplexBehaviorDefinitionImpl();
+ return complexBehaviorDefinition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ComplexGateway createComplexGateway() {
+ ComplexGatewayImpl complexGateway = new ComplexGatewayImpl();
+ return complexGateway;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ConditionalEventDefinition createConditionalEventDefinition() {
+ ConditionalEventDefinitionImpl conditionalEventDefinition = new ConditionalEventDefinitionImpl();
+ return conditionalEventDefinition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Conversation createConversation() {
+ ConversationImpl conversation = new ConversationImpl();
+ return conversation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ConversationAssociation createConversationAssociation() {
+ ConversationAssociationImpl conversationAssociation = new ConversationAssociationImpl();
+ return conversationAssociation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ConversationLink createConversationLink() {
+ ConversationLinkImpl conversationLink = new ConversationLinkImpl();
+ return conversationLink;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ConversationNode createConversationNode() {
+ ConversationNodeImpl conversationNode = new ConversationNodeImpl();
+ return conversationNode;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CorrelationKey createCorrelationKey() {
+ CorrelationKeyImpl correlationKey = new CorrelationKeyImpl();
+ return correlationKey;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CorrelationProperty createCorrelationProperty() {
+ CorrelationPropertyImpl correlationProperty = new CorrelationPropertyImpl();
+ return correlationProperty;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CorrelationPropertyBinding createCorrelationPropertyBinding() {
+ CorrelationPropertyBindingImpl correlationPropertyBinding = new CorrelationPropertyBindingImpl();
+ return correlationPropertyBinding;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CorrelationPropertyRetrievalExpression createCorrelationPropertyRetrievalExpression() {
+ CorrelationPropertyRetrievalExpressionImpl correlationPropertyRetrievalExpression = new CorrelationPropertyRetrievalExpressionImpl();
+ return correlationPropertyRetrievalExpression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CorrelationSubscription createCorrelationSubscription() {
+ CorrelationSubscriptionImpl correlationSubscription = new CorrelationSubscriptionImpl();
+ return correlationSubscription;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataAssociation createDataAssociation() {
+ DataAssociationImpl dataAssociation = new DataAssociationImpl();
+ return dataAssociation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataInput createDataInput() {
+ DataInputImpl dataInput = new DataInputImpl();
+ return dataInput;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataInputAssociation createDataInputAssociation() {
+ DataInputAssociationImpl dataInputAssociation = new DataInputAssociationImpl();
+ return dataInputAssociation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataObject createDataObject() {
+ DataObjectImpl dataObject = new DataObjectImpl();
+ return dataObject;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataObjectReference createDataObjectReference() {
+ DataObjectReferenceImpl dataObjectReference = new DataObjectReferenceImpl();
+ return dataObjectReference;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataOutput createDataOutput() {
+ DataOutputImpl dataOutput = new DataOutputImpl();
+ return dataOutput;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataOutputAssociation createDataOutputAssociation() {
+ DataOutputAssociationImpl dataOutputAssociation = new DataOutputAssociationImpl();
+ return dataOutputAssociation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataState createDataState() {
+ DataStateImpl dataState = new DataStateImpl();
+ return dataState;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataStore createDataStore() {
+ DataStoreImpl dataStore = new DataStoreImpl();
+ return dataStore;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataStoreReference createDataStoreReference() {
+ DataStoreReferenceImpl dataStoreReference = new DataStoreReferenceImpl();
+ return dataStoreReference;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Definitions createDefinitions() {
+ DefinitionsImpl definitions = new DefinitionsImpl();
+ return definitions;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Documentation createDocumentation() {
+ DocumentationImpl documentation = new DocumentationImpl();
+ return documentation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EndEvent createEndEvent() {
+ EndEventImpl endEvent = new EndEventImpl();
+ return endEvent;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EndPoint createEndPoint() {
+ EndPointImpl endPoint = new EndPointImpl();
+ return endPoint;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public org.eclipse.bpmn2.Error createError() {
+ ErrorImpl error = new ErrorImpl();
+ return error;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ErrorEventDefinition createErrorEventDefinition() {
+ ErrorEventDefinitionImpl errorEventDefinition = new ErrorEventDefinitionImpl();
+ return errorEventDefinition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Escalation createEscalation() {
+ EscalationImpl escalation = new EscalationImpl();
+ return escalation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EscalationEventDefinition createEscalationEventDefinition() {
+ EscalationEventDefinitionImpl escalationEventDefinition = new EscalationEventDefinitionImpl();
+ return escalationEventDefinition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EventBasedGateway createEventBasedGateway() {
+ EventBasedGatewayImpl eventBasedGateway = new EventBasedGatewayImpl();
+ return eventBasedGateway;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EventDefinition createEventDefinition() {
+ EventDefinitionImpl eventDefinition = new EventDefinitionImpl();
+ return eventDefinition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ExclusiveGateway createExclusiveGateway() {
+ ExclusiveGatewayImpl exclusiveGateway = new ExclusiveGatewayImpl();
+ return exclusiveGateway;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Expression createExpression() {
+ ExpressionImpl expression = new ExpressionImpl();
+ return expression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Extension createExtension() {
+ ExtensionImpl extension = new ExtensionImpl();
+ return extension;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ExtensionAttributeDefinition createExtensionAttributeDefinition() {
+ ExtensionAttributeDefinitionImpl extensionAttributeDefinition = new ExtensionAttributeDefinitionImpl();
+ return extensionAttributeDefinition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ExtensionAttributeValue createExtensionAttributeValue() {
+ ExtensionAttributeValueImpl extensionAttributeValue = new ExtensionAttributeValueImpl();
+ return extensionAttributeValue;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ExtensionDefinition createExtensionDefinition() {
+ ExtensionDefinitionImpl extensionDefinition = new ExtensionDefinitionImpl();
+ return extensionDefinition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FormalExpression createFormalExpression() {
+ FormalExpressionImpl formalExpression = new FormalExpressionImpl();
+ return formalExpression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public GlobalBusinessRuleTask createGlobalBusinessRuleTask() {
+ GlobalBusinessRuleTaskImpl globalBusinessRuleTask = new GlobalBusinessRuleTaskImpl();
+ return globalBusinessRuleTask;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public GlobalChoreographyTask createGlobalChoreographyTask() {
+ GlobalChoreographyTaskImpl globalChoreographyTask = new GlobalChoreographyTaskImpl();
+ return globalChoreographyTask;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public GlobalConversation createGlobalConversation() {
+ GlobalConversationImpl globalConversation = new GlobalConversationImpl();
+ return globalConversation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public GlobalManualTask createGlobalManualTask() {
+ GlobalManualTaskImpl globalManualTask = new GlobalManualTaskImpl();
+ return globalManualTask;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public GlobalScriptTask createGlobalScriptTask() {
+ GlobalScriptTaskImpl globalScriptTask = new GlobalScriptTaskImpl();
+ return globalScriptTask;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public GlobalTask createGlobalTask() {
+ GlobalTaskImpl globalTask = new GlobalTaskImpl();
+ return globalTask;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public GlobalUserTask createGlobalUserTask() {
+ GlobalUserTaskImpl globalUserTask = new GlobalUserTaskImpl();
+ return globalUserTask;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Group createGroup() {
+ GroupImpl group = new GroupImpl();
+ return group;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public HumanPerformer createHumanPerformer() {
+ HumanPerformerImpl humanPerformer = new HumanPerformerImpl();
+ return humanPerformer;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ImplicitThrowEvent createImplicitThrowEvent() {
+ ImplicitThrowEventImpl implicitThrowEvent = new ImplicitThrowEventImpl();
+ return implicitThrowEvent;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Import createImport() {
+ ImportImpl import_ = new ImportImpl();
+ return import_;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public InclusiveGateway createInclusiveGateway() {
+ InclusiveGatewayImpl inclusiveGateway = new InclusiveGatewayImpl();
+ return inclusiveGateway;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public InputOutputBinding createInputOutputBinding() {
+ InputOutputBindingImpl inputOutputBinding = new InputOutputBindingImpl();
+ return inputOutputBinding;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public InputOutputSpecification createInputOutputSpecification() {
+ InputOutputSpecificationImpl inputOutputSpecification = new InputOutputSpecificationImpl();
+ return inputOutputSpecification;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public InputSet createInputSet() {
+ InputSetImpl inputSet = new InputSetImpl();
+ return inputSet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public InteractionNode createInteractionNode() {
+ InteractionNodeImpl interactionNode = new InteractionNodeImpl();
+ return interactionNode;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Interface createInterface() {
+ InterfaceImpl interface_ = new InterfaceImpl();
+ return interface_;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public IntermediateCatchEvent createIntermediateCatchEvent() {
+ IntermediateCatchEventImpl intermediateCatchEvent = new IntermediateCatchEventImpl();
+ return intermediateCatchEvent;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public IntermediateThrowEvent createIntermediateThrowEvent() {
+ IntermediateThrowEventImpl intermediateThrowEvent = new IntermediateThrowEventImpl();
+ return intermediateThrowEvent;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ItemAwareElement createItemAwareElement() {
+ ItemAwareElementImpl itemAwareElement = new ItemAwareElementImpl();
+ return itemAwareElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ItemDefinition createItemDefinition() {
+ ItemDefinitionImpl itemDefinition = new ItemDefinitionImpl();
+ return itemDefinition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Lane createLane() {
+ LaneImpl lane = new LaneImpl();
+ return lane;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public LaneSet createLaneSet() {
+ LaneSetImpl laneSet = new LaneSetImpl();
+ return laneSet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public LinkEventDefinition createLinkEventDefinition() {
+ LinkEventDefinitionImpl linkEventDefinition = new LinkEventDefinitionImpl();
+ return linkEventDefinition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ManualTask createManualTask() {
+ ManualTaskImpl manualTask = new ManualTaskImpl();
+ return manualTask;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Message createMessage() {
+ MessageImpl message = new MessageImpl();
+ return message;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public MessageEventDefinition createMessageEventDefinition() {
+ MessageEventDefinitionImpl messageEventDefinition = new MessageEventDefinitionImpl();
+ return messageEventDefinition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public MessageFlow createMessageFlow() {
+ MessageFlowImpl messageFlow = new MessageFlowImpl();
+ return messageFlow;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public MessageFlowAssociation createMessageFlowAssociation() {
+ MessageFlowAssociationImpl messageFlowAssociation = new MessageFlowAssociationImpl();
+ return messageFlowAssociation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Monitoring createMonitoring() {
+ MonitoringImpl monitoring = new MonitoringImpl();
+ return monitoring;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public MultiInstanceLoopCharacteristics createMultiInstanceLoopCharacteristics() {
+ MultiInstanceLoopCharacteristicsImpl multiInstanceLoopCharacteristics = new MultiInstanceLoopCharacteristicsImpl();
+ return multiInstanceLoopCharacteristics;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Operation createOperation() {
+ OperationImpl operation = new OperationImpl();
+ return operation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OutputSet createOutputSet() {
+ OutputSetImpl outputSet = new OutputSetImpl();
+ return outputSet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ParallelGateway createParallelGateway() {
+ ParallelGatewayImpl parallelGateway = new ParallelGatewayImpl();
+ return parallelGateway;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Participant createParticipant() {
+ ParticipantImpl participant = new ParticipantImpl();
+ return participant;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ParticipantAssociation createParticipantAssociation() {
+ ParticipantAssociationImpl participantAssociation = new ParticipantAssociationImpl();
+ return participantAssociation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ParticipantMultiplicity createParticipantMultiplicity() {
+ ParticipantMultiplicityImpl participantMultiplicity = new ParticipantMultiplicityImpl();
+ return participantMultiplicity;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public PartnerEntity createPartnerEntity() {
+ PartnerEntityImpl partnerEntity = new PartnerEntityImpl();
+ return partnerEntity;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public PartnerRole createPartnerRole() {
+ PartnerRoleImpl partnerRole = new PartnerRoleImpl();
+ return partnerRole;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Performer createPerformer() {
+ PerformerImpl performer = new PerformerImpl();
+ return performer;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public PotentialOwner createPotentialOwner() {
+ PotentialOwnerImpl potentialOwner = new PotentialOwnerImpl();
+ return potentialOwner;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public org.eclipse.bpmn2.Process createProcess() {
+ ProcessImpl process = new ProcessImpl();
+ return process;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Property createProperty() {
+ PropertyImpl property = new PropertyImpl();
+ return property;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ReceiveTask createReceiveTask() {
+ ReceiveTaskImpl receiveTask = new ReceiveTaskImpl();
+ return receiveTask;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Relationship createRelationship() {
+ RelationshipImpl relationship = new RelationshipImpl();
+ return relationship;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Rendering createRendering() {
+ RenderingImpl rendering = new RenderingImpl();
+ return rendering;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Resource createResource() {
+ ResourceImpl resource = new ResourceImpl();
+ return resource;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ResourceAssignmentExpression createResourceAssignmentExpression() {
+ ResourceAssignmentExpressionImpl resourceAssignmentExpression = new ResourceAssignmentExpressionImpl();
+ return resourceAssignmentExpression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ResourceParameter createResourceParameter() {
+ ResourceParameterImpl resourceParameter = new ResourceParameterImpl();
+ return resourceParameter;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ResourceParameterBinding createResourceParameterBinding() {
+ ResourceParameterBindingImpl resourceParameterBinding = new ResourceParameterBindingImpl();
+ return resourceParameterBinding;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ResourceRole createResourceRole() {
+ ResourceRoleImpl resourceRole = new ResourceRoleImpl();
+ return resourceRole;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public RootElement createRootElement() {
+ RootElementImpl rootElement = new RootElementImpl();
+ return rootElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ScriptTask createScriptTask() {
+ ScriptTaskImpl scriptTask = new ScriptTaskImpl();
+ return scriptTask;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SendTask createSendTask() {
+ SendTaskImpl sendTask = new SendTaskImpl();
+ return sendTask;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SequenceFlow createSequenceFlow() {
+ SequenceFlowImpl sequenceFlow = new SequenceFlowImpl();
+ return sequenceFlow;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ServiceTask createServiceTask() {
+ ServiceTaskImpl serviceTask = new ServiceTaskImpl();
+ return serviceTask;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Signal createSignal() {
+ SignalImpl signal = new SignalImpl();
+ return signal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SignalEventDefinition createSignalEventDefinition() {
+ SignalEventDefinitionImpl signalEventDefinition = new SignalEventDefinitionImpl();
+ return signalEventDefinition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public StandardLoopCharacteristics createStandardLoopCharacteristics() {
+ StandardLoopCharacteristicsImpl standardLoopCharacteristics = new StandardLoopCharacteristicsImpl();
+ return standardLoopCharacteristics;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public StartEvent createStartEvent() {
+ StartEventImpl startEvent = new StartEventImpl();
+ return startEvent;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SubChoreography createSubChoreography() {
+ SubChoreographyImpl subChoreography = new SubChoreographyImpl();
+ return subChoreography;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SubConversation createSubConversation() {
+ SubConversationImpl subConversation = new SubConversationImpl();
+ return subConversation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SubProcess createSubProcess() {
+ SubProcessImpl subProcess = new SubProcessImpl();
+ return subProcess;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Task createTask() {
+ TaskImpl task = new TaskImpl();
+ return task;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TerminateEventDefinition createTerminateEventDefinition() {
+ TerminateEventDefinitionImpl terminateEventDefinition = new TerminateEventDefinitionImpl();
+ return terminateEventDefinition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TextAnnotation createTextAnnotation() {
+ TextAnnotationImpl textAnnotation = new TextAnnotationImpl();
+ return textAnnotation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TimerEventDefinition createTimerEventDefinition() {
+ TimerEventDefinitionImpl timerEventDefinition = new TimerEventDefinitionImpl();
+ return timerEventDefinition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Transaction createTransaction() {
+ TransactionImpl transaction = new TransactionImpl();
+ return transaction;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public UserTask createUserTask() {
+ UserTaskImpl userTask = new UserTaskImpl();
+ return userTask;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public AdHocOrdering createAdHocOrderingFromString(EDataType eDataType,
+ String initialValue) {
+ AdHocOrdering result = AdHocOrdering.get(initialValue);
+ if (result == null)
+ throw new IllegalArgumentException("The value '" + initialValue
+ + "' is not a valid enumerator of '" + eDataType.getName()
+ + "'");
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertAdHocOrderingToString(EDataType eDataType,
+ Object instanceValue) {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public AssociationDirection createAssociationDirectionFromString(
+ EDataType eDataType, String initialValue) {
+ AssociationDirection result = AssociationDirection.get(initialValue);
+ if (result == null)
+ throw new IllegalArgumentException("The value '" + initialValue
+ + "' is not a valid enumerator of '" + eDataType.getName()
+ + "'");
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertAssociationDirectionToString(EDataType eDataType,
+ Object instanceValue) {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ChoreographyLoopType createChoreographyLoopTypeFromString(
+ EDataType eDataType, String initialValue) {
+ ChoreographyLoopType result = ChoreographyLoopType.get(initialValue);
+ if (result == null)
+ throw new IllegalArgumentException("The value '" + initialValue
+ + "' is not a valid enumerator of '" + eDataType.getName()
+ + "'");
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertChoreographyLoopTypeToString(EDataType eDataType,
+ Object instanceValue) {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EventBasedGatewayType createEventBasedGatewayTypeFromString(
+ EDataType eDataType, String initialValue) {
+ EventBasedGatewayType result = EventBasedGatewayType.get(initialValue);
+ if (result == null)
+ throw new IllegalArgumentException("The value '" + initialValue
+ + "' is not a valid enumerator of '" + eDataType.getName()
+ + "'");
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertEventBasedGatewayTypeToString(EDataType eDataType,
+ Object instanceValue) {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public GatewayDirection createGatewayDirectionFromString(
+ EDataType eDataType, String initialValue) {
+ GatewayDirection result = GatewayDirection.get(initialValue);
+ if (result == null)
+ throw new IllegalArgumentException("The value '" + initialValue
+ + "' is not a valid enumerator of '" + eDataType.getName()
+ + "'");
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertGatewayDirectionToString(EDataType eDataType,
+ Object instanceValue) {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ItemKind createItemKindFromString(EDataType eDataType,
+ String initialValue) {
+ ItemKind result = ItemKind.get(initialValue);
+ if (result == null)
+ throw new IllegalArgumentException("The value '" + initialValue
+ + "' is not a valid enumerator of '" + eDataType.getName()
+ + "'");
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertItemKindToString(EDataType eDataType,
+ Object instanceValue) {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public MultiInstanceBehavior createMultiInstanceBehaviorFromString(
+ EDataType eDataType, String initialValue) {
+ MultiInstanceBehavior result = MultiInstanceBehavior.get(initialValue);
+ if (result == null)
+ throw new IllegalArgumentException("The value '" + initialValue
+ + "' is not a valid enumerator of '" + eDataType.getName()
+ + "'");
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertMultiInstanceBehaviorToString(EDataType eDataType,
+ Object instanceValue) {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ProcessType createProcessTypeFromString(EDataType eDataType,
+ String initialValue) {
+ ProcessType result = ProcessType.get(initialValue);
+ if (result == null)
+ throw new IllegalArgumentException("The value '" + initialValue
+ + "' is not a valid enumerator of '" + eDataType.getName()
+ + "'");
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertProcessTypeToString(EDataType eDataType,
+ Object instanceValue) {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public RelationshipDirection createRelationshipDirectionFromString(
+ EDataType eDataType, String initialValue) {
+ RelationshipDirection result = RelationshipDirection.get(initialValue);
+ if (result == null)
+ throw new IllegalArgumentException("The value '" + initialValue
+ + "' is not a valid enumerator of '" + eDataType.getName()
+ + "'");
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertRelationshipDirectionToString(EDataType eDataType,
+ Object instanceValue) {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Bpmn2Package getBpmn2Package() {
+ return (Bpmn2Package) getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static Bpmn2Package getPackage() {
+ return Bpmn2Package.eINSTANCE;
+ }
+
+} //Bpmn2FactoryImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/Bpmn2PackageImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/Bpmn2PackageImpl.java
new file mode 100644
index 000000000..4e0ee44e1
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/Bpmn2PackageImpl.java
@@ -0,0 +1,7551 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.io.IOException;
+
+import java.net.URL;
+
+import org.eclipse.bpmn2.Bpmn2Factory;
+import org.eclipse.bpmn2.Bpmn2Package;
+
+import org.eclipse.bpmn2.di.BpmnDiPackage;
+
+import org.eclipse.bpmn2.di.impl.BpmnDiPackageImpl;
+
+import org.eclipse.dd.dc.DcPackage;
+
+import org.eclipse.dd.dc.impl.DcPackageImpl;
+
+import org.eclipse.dd.di.DiPackage;
+
+import org.eclipse.dd.di.impl.DiPackageImpl;
+
+import org.eclipse.emf.common.util.URI;
+import org.eclipse.emf.common.util.WrappedException;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EClassifier;
+import org.eclipse.emf.ecore.EEnum;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+import org.eclipse.emf.ecore.impl.EPackageImpl;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.xmi.impl.EcoreResourceFactoryImpl;
+
+import org.eclipse.emf.ecore.xml.type.XMLTypePackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Package</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class Bpmn2PackageImpl extends EPackageImpl implements Bpmn2Package {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected String packageFilename = "bpmn2.ecore";
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass documentRootEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass activityEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass adHocSubProcessEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass artifactEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass assignmentEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass associationEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass auditingEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass baseElementEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass boundaryEventEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass businessRuleTaskEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass callActivityEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass callChoreographyEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass callConversationEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass callableElementEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass cancelEventDefinitionEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass catchEventEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass categoryEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass categoryValueEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass choreographyEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass choreographyActivityEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass choreographyTaskEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass collaborationEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass compensateEventDefinitionEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass complexBehaviorDefinitionEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass complexGatewayEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass conditionalEventDefinitionEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass conversationEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass conversationAssociationEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass conversationLinkEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass conversationNodeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass correlationKeyEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass correlationPropertyEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass correlationPropertyBindingEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass correlationPropertyRetrievalExpressionEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass correlationSubscriptionEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass dataAssociationEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass dataInputEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass dataInputAssociationEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass dataObjectEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass dataObjectReferenceEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass dataOutputEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass dataOutputAssociationEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass dataStateEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass dataStoreEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass dataStoreReferenceEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass definitionsEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass documentationEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass endEventEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass endPointEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass errorEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass errorEventDefinitionEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass escalationEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass escalationEventDefinitionEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eventEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eventBasedGatewayEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eventDefinitionEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass exclusiveGatewayEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass expressionEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass extensionEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass extensionAttributeDefinitionEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass extensionAttributeValueEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass extensionDefinitionEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass flowElementEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass flowElementsContainerEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass flowNodeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass formalExpressionEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass gatewayEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass globalBusinessRuleTaskEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass globalChoreographyTaskEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass globalConversationEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass globalManualTaskEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass globalScriptTaskEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass globalTaskEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass globalUserTaskEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass groupEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass humanPerformerEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass implicitThrowEventEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass importEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass inclusiveGatewayEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass inputOutputBindingEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass inputOutputSpecificationEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass inputSetEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass interactionNodeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass interfaceEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass intermediateCatchEventEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass intermediateThrowEventEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass itemAwareElementEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass itemDefinitionEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass laneEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass laneSetEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass linkEventDefinitionEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass loopCharacteristicsEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass manualTaskEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass messageEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass messageEventDefinitionEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass messageFlowEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass messageFlowAssociationEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass monitoringEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass multiInstanceLoopCharacteristicsEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass operationEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass outputSetEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass parallelGatewayEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass participantEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass participantAssociationEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass participantMultiplicityEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass partnerEntityEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass partnerRoleEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass performerEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass potentialOwnerEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass processEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass propertyEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass receiveTaskEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass relationshipEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass renderingEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass resourceEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass resourceAssignmentExpressionEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass resourceParameterEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass resourceParameterBindingEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass resourceRoleEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass rootElementEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass scriptTaskEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass sendTaskEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass sequenceFlowEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass serviceTaskEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass signalEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass signalEventDefinitionEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass standardLoopCharacteristicsEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass startEventEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass subChoreographyEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass subConversationEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass subProcessEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass taskEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass terminateEventDefinitionEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass textAnnotationEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass throwEventEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass timerEventDefinitionEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass transactionEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass userTaskEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum adHocOrderingEEnum = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum associationDirectionEEnum = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum choreographyLoopTypeEEnum = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum eventBasedGatewayTypeEEnum = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum gatewayDirectionEEnum = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum itemKindEEnum = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum multiInstanceBehaviorEEnum = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum processTypeEEnum = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum relationshipDirectionEEnum = null;
+
+ /**
+ * Creates an instance of the model <b>Package</b>, registered with
+ * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
+ * package URI value.
+ * <p>Note: the correct way to create the package is via the static
+ * factory method {@link #init init()}, which also performs
+ * initialization of the package, or returns the registered package,
+ * if one already exists.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.ecore.EPackage.Registry
+ * @see org.eclipse.bpmn2.Bpmn2Package#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private Bpmn2PackageImpl() {
+ super(eNS_URI, Bpmn2Factory.eINSTANCE);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static boolean isInited = false;
+
+ /**
+ * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
+ *
+ * <p>This method is used to initialize {@link Bpmn2Package#eINSTANCE} when that field is accessed.
+ * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #eNS_URI
+ * @generated
+ */
+ public static Bpmn2Package init() {
+ if (isInited)
+ return (Bpmn2Package) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI);
+
+ // Obtain or create and register package
+ Bpmn2PackageImpl theBpmn2Package = (Bpmn2PackageImpl) (EPackage.Registry.INSTANCE
+ .get(eNS_URI) instanceof Bpmn2PackageImpl ? EPackage.Registry.INSTANCE
+ .get(eNS_URI) : new Bpmn2PackageImpl());
+
+ isInited = true;
+
+ // Initialize simple dependencies
+ XMLTypePackage.eINSTANCE.eClass();
+
+ // Obtain or create and register interdependencies
+ BpmnDiPackageImpl theBpmnDiPackage = (BpmnDiPackageImpl) (EPackage.Registry.INSTANCE
+ .getEPackage(BpmnDiPackage.eNS_URI) instanceof BpmnDiPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(BpmnDiPackage.eNS_URI) : BpmnDiPackage.eINSTANCE);
+ DiPackageImpl theDiPackage = (DiPackageImpl) (EPackage.Registry.INSTANCE
+ .getEPackage(DiPackage.eNS_URI) instanceof DiPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(DiPackage.eNS_URI) : DiPackage.eINSTANCE);
+ DcPackageImpl theDcPackage = (DcPackageImpl) (EPackage.Registry.INSTANCE
+ .getEPackage(DcPackage.eNS_URI) instanceof DcPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(DcPackage.eNS_URI) : DcPackage.eINSTANCE);
+
+ // Load packages
+ theBpmn2Package.loadPackage();
+
+ // Create package meta-data objects
+ theBpmnDiPackage.createPackageContents();
+ theDiPackage.createPackageContents();
+ theDcPackage.createPackageContents();
+
+ // Initialize created meta-data
+ theBpmnDiPackage.initializePackageContents();
+ theDiPackage.initializePackageContents();
+ theDcPackage.initializePackageContents();
+
+ // Fix loaded packages
+ theBpmn2Package.fixPackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ theBpmn2Package.freeze();
+
+ // Update the registry and return the package
+ EPackage.Registry.INSTANCE.put(Bpmn2Package.eNS_URI, theBpmn2Package);
+ return theBpmn2Package;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDocumentRoot() {
+ if (documentRootEClass == null) {
+ documentRootEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers().get(0);
+ }
+ return documentRootEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDocumentRoot_Mixed() {
+ return (EAttribute) getDocumentRoot().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_XMLNSPrefixMap() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_XSISchemaLocation() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Activity() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_AdHocSubProcess() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_FlowElement() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Artifact() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Assignment() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Association() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(8);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Auditing() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(9);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_BaseElement() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(10);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_BaseElementWithMixedContent() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(11);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_BoundaryEvent() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(12);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_BusinessRuleTask() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(13);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_CallableElement() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(14);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_CallActivity() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(15);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_CallChoreography() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(16);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_CallConversation() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(17);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_ConversationNode() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(18);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_CancelEventDefinition() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(19);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_EventDefinition() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(20);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_RootElement() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(21);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_CatchEvent() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(22);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Category() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(23);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_CategoryValue() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(24);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Choreography() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(25);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Collaboration() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(26);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_ChoreographyActivity() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(27);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_ChoreographyTask() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(28);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_CompensateEventDefinition() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(29);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_ComplexBehaviorDefinition() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(30);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_ComplexGateway() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(31);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_ConditionalEventDefinition() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(32);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Conversation() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(33);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_ConversationAssociation() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(34);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_ConversationLink() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(35);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_CorrelationKey() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(36);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_CorrelationProperty() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(37);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_CorrelationPropertyBinding() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(38);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_CorrelationPropertyRetrievalExpression() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(39);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_CorrelationSubscription() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(40);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_DataAssociation() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(41);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_DataInput() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(42);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_DataInputAssociation() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(43);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_DataObject() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(44);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_DataObjectReference() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(45);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_DataOutput() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(46);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_DataOutputAssociation() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(47);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_DataState() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(48);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_DataStore() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(49);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_DataStoreReference() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(50);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Definitions() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(51);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Documentation() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(52);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_EndEvent() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(53);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_EndPoint() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(54);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Error() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(55);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_ErrorEventDefinition() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(56);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Escalation() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(57);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_EscalationEventDefinition() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(58);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Event() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(59);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_EventBasedGateway() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(60);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_ExclusiveGateway() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(61);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Expression() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(62);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Extension() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(63);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_ExtensionElements() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(64);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_FlowNode() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(65);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_FormalExpression() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(66);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Gateway() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(67);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_GlobalBusinessRuleTask() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(68);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_GlobalChoreographyTask() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(69);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_GlobalConversation() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(70);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_GlobalManualTask() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(71);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_GlobalScriptTask() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(72);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_GlobalTask() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(73);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_GlobalUserTask() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(74);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Group() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(75);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_HumanPerformer() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(76);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Performer() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(77);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_ResourceRole() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(78);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_ImplicitThrowEvent() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(79);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Import() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(80);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_InclusiveGateway() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(81);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_InputSet() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(82);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Interface() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(83);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_IntermediateCatchEvent() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(84);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_IntermediateThrowEvent() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(85);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_IoBinding() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(86);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_IoSpecification() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(87);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_ItemDefinition() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(88);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Lane() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(89);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_LaneSet() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(90);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_LinkEventDefinition() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(91);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_LoopCharacteristics() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(92);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_ManualTask() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(93);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Message() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(94);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_MessageEventDefinition() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(95);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_MessageFlow() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(96);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_MessageFlowAssociation() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(97);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Monitoring() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(98);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_MultiInstanceLoopCharacteristics() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(99);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Operation() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(100);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_OutputSet() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(101);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_ParallelGateway() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(102);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Participant() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(103);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_ParticipantAssociation() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(104);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_ParticipantMultiplicity() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(105);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_PartnerEntity() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(106);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_PartnerRole() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(107);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_PotentialOwner() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(108);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Process() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(109);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Property() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(110);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_ReceiveTask() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(111);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Relationship() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(112);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Rendering() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(113);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Resource() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(114);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_ResourceAssignmentExpression() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(115);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_ResourceParameter() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(116);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_ResourceParameterBinding() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(117);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Script() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(118);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_ScriptTask() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(119);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_SendTask() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(120);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_SequenceFlow() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(121);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_ServiceTask() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(122);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Signal() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(123);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_SignalEventDefinition() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(124);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_StandardLoopCharacteristics() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(125);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_StartEvent() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(126);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_SubChoreography() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(127);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_SubConversation() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(128);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_SubProcess() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(129);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Task() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(130);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_TerminateEventDefinition() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(131);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Text() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(132);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_TextAnnotation() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(133);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_ThrowEvent() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(134);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_TimerEventDefinition() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(135);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Transaction() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(136);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_UserTask() {
+ return (EReference) getDocumentRoot().getEStructuralFeatures().get(137);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getActivity() {
+ if (activityEClass == null) {
+ activityEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers().get(1);
+ }
+ return activityEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getActivity_IoSpecification() {
+ return (EReference) getActivity().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getActivity_BoundaryEventRefs() {
+ return (EReference) getActivity().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getActivity_Properties() {
+ return (EReference) getActivity().getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getActivity_DataInputAssociations() {
+ return (EReference) getActivity().getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getActivity_DataOutputAssociations() {
+ return (EReference) getActivity().getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getActivity_Resources() {
+ return (EReference) getActivity().getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getActivity_LoopCharacteristics() {
+ return (EReference) getActivity().getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getActivity_CompletionQuantity() {
+ return (EAttribute) getActivity().getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getActivity_Default() {
+ return (EReference) getActivity().getEStructuralFeatures().get(8);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getActivity_IsForCompensation() {
+ return (EAttribute) getActivity().getEStructuralFeatures().get(9);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getActivity_StartQuantity() {
+ return (EAttribute) getActivity().getEStructuralFeatures().get(10);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getAdHocSubProcess() {
+ if (adHocSubProcessEClass == null) {
+ adHocSubProcessEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers().get(3);
+ }
+ return adHocSubProcessEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getAdHocSubProcess_CompletionCondition() {
+ return (EReference) getAdHocSubProcess().getEStructuralFeatures()
+ .get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getAdHocSubProcess_CancelRemainingInstances() {
+ return (EAttribute) getAdHocSubProcess().getEStructuralFeatures()
+ .get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getAdHocSubProcess_Ordering() {
+ return (EAttribute) getAdHocSubProcess().getEStructuralFeatures()
+ .get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getArtifact() {
+ if (artifactEClass == null) {
+ artifactEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers().get(4);
+ }
+ return artifactEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getAssignment() {
+ if (assignmentEClass == null) {
+ assignmentEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers().get(5);
+ }
+ return assignmentEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getAssignment_From() {
+ return (EReference) getAssignment().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getAssignment_To() {
+ return (EReference) getAssignment().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getAssociation() {
+ if (associationEClass == null) {
+ associationEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers().get(6);
+ }
+ return associationEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getAssociation_AssociationDirection() {
+ return (EAttribute) getAssociation().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getAssociation_SourceRef() {
+ return (EReference) getAssociation().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getAssociation_TargetRef() {
+ return (EReference) getAssociation().getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getAuditing() {
+ if (auditingEClass == null) {
+ auditingEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers().get(8);
+ }
+ return auditingEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getBaseElement() {
+ if (baseElementEClass == null) {
+ baseElementEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers().get(9);
+ }
+ return baseElementEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getBaseElement_ExtensionValues() {
+ return (EReference) getBaseElement().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getBaseElement_Documentation() {
+ return (EReference) getBaseElement().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getBaseElement_ExtensionDefinitions() {
+ return (EReference) getBaseElement().getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getBaseElement_Id() {
+ return (EAttribute) getBaseElement().getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getBaseElement_AnyAttribute() {
+ return (EAttribute) getBaseElement().getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getBoundaryEvent() {
+ if (boundaryEventEClass == null) {
+ boundaryEventEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(10);
+ }
+ return boundaryEventEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getBoundaryEvent_AttachedToRef() {
+ return (EReference) getBoundaryEvent().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getBoundaryEvent_CancelActivity() {
+ return (EAttribute) getBoundaryEvent().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getBusinessRuleTask() {
+ if (businessRuleTaskEClass == null) {
+ businessRuleTaskEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(11);
+ }
+ return businessRuleTaskEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getBusinessRuleTask_Implementation() {
+ return (EAttribute) getBusinessRuleTask().getEStructuralFeatures().get(
+ 0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCallActivity() {
+ if (callActivityEClass == null) {
+ callActivityEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(12);
+ }
+ return callActivityEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCallActivity_CalledElementRef() {
+ return (EReference) getCallActivity().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCallChoreography() {
+ if (callChoreographyEClass == null) {
+ callChoreographyEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(13);
+ }
+ return callChoreographyEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCallChoreography_ParticipantAssociations() {
+ return (EReference) getCallChoreography().getEStructuralFeatures().get(
+ 0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCallChoreography_CalledChoreographyRef() {
+ return (EReference) getCallChoreography().getEStructuralFeatures().get(
+ 1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCallConversation() {
+ if (callConversationEClass == null) {
+ callConversationEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(14);
+ }
+ return callConversationEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCallConversation_ParticipantAssociations() {
+ return (EReference) getCallConversation().getEStructuralFeatures().get(
+ 0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCallConversation_CalledCollaborationRef() {
+ return (EReference) getCallConversation().getEStructuralFeatures().get(
+ 1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCallableElement() {
+ if (callableElementEClass == null) {
+ callableElementEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(15);
+ }
+ return callableElementEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCallableElement_SupportedInterfaceRefs() {
+ return (EReference) getCallableElement().getEStructuralFeatures()
+ .get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCallableElement_IoSpecification() {
+ return (EReference) getCallableElement().getEStructuralFeatures()
+ .get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCallableElement_IoBinding() {
+ return (EReference) getCallableElement().getEStructuralFeatures()
+ .get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCallableElement_Name() {
+ return (EAttribute) getCallableElement().getEStructuralFeatures()
+ .get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCancelEventDefinition() {
+ if (cancelEventDefinitionEClass == null) {
+ cancelEventDefinitionEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(16);
+ }
+ return cancelEventDefinitionEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCatchEvent() {
+ if (catchEventEClass == null) {
+ catchEventEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(17);
+ }
+ return catchEventEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCatchEvent_DataOutputs() {
+ return (EReference) getCatchEvent().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCatchEvent_DataOutputAssociation() {
+ return (EReference) getCatchEvent().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCatchEvent_OutputSet() {
+ return (EReference) getCatchEvent().getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCatchEvent_EventDefinitions() {
+ return (EReference) getCatchEvent().getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCatchEvent_EventDefinitionRefs() {
+ return (EReference) getCatchEvent().getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCatchEvent_ParallelMultiple() {
+ return (EAttribute) getCatchEvent().getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCategory() {
+ if (categoryEClass == null) {
+ categoryEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(18);
+ }
+ return categoryEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCategory_CategoryValue() {
+ return (EReference) getCategory().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCategory_Name() {
+ return (EAttribute) getCategory().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCategoryValue() {
+ if (categoryValueEClass == null) {
+ categoryValueEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(19);
+ }
+ return categoryValueEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCategoryValue_Value() {
+ return (EAttribute) getCategoryValue().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCategoryValue_CategorizedFlowElements() {
+ return (EReference) getCategoryValue().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getChoreography() {
+ if (choreographyEClass == null) {
+ choreographyEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(20);
+ }
+ return choreographyEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getChoreographyActivity() {
+ if (choreographyActivityEClass == null) {
+ choreographyActivityEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(21);
+ }
+ return choreographyActivityEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getChoreographyActivity_ParticipantRefs() {
+ return (EReference) getChoreographyActivity().getEStructuralFeatures()
+ .get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getChoreographyActivity_CorrelationKeys() {
+ return (EReference) getChoreographyActivity().getEStructuralFeatures()
+ .get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getChoreographyActivity_InitiatingParticipantRef() {
+ return (EReference) getChoreographyActivity().getEStructuralFeatures()
+ .get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getChoreographyActivity_LoopType() {
+ return (EAttribute) getChoreographyActivity().getEStructuralFeatures()
+ .get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getChoreographyTask() {
+ if (choreographyTaskEClass == null) {
+ choreographyTaskEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(23);
+ }
+ return choreographyTaskEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getChoreographyTask_MessageFlowRef() {
+ return (EReference) getChoreographyTask().getEStructuralFeatures().get(
+ 0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCollaboration() {
+ if (collaborationEClass == null) {
+ collaborationEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(24);
+ }
+ return collaborationEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCollaboration_Participants() {
+ return (EReference) getCollaboration().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCollaboration_MessageFlows() {
+ return (EReference) getCollaboration().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCollaboration_Artifacts() {
+ return (EReference) getCollaboration().getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCollaboration_Conversations() {
+ return (EReference) getCollaboration().getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCollaboration_ConversationAssociations() {
+ return (EReference) getCollaboration().getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCollaboration_ParticipantAssociations() {
+ return (EReference) getCollaboration().getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCollaboration_MessageFlowAssociations() {
+ return (EReference) getCollaboration().getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCollaboration_CorrelationKeys() {
+ return (EReference) getCollaboration().getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCollaboration_ChoreographyRef() {
+ return (EReference) getCollaboration().getEStructuralFeatures().get(8);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCollaboration_ConversationLinks() {
+ return (EReference) getCollaboration().getEStructuralFeatures().get(9);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCollaboration_IsClosed() {
+ return (EAttribute) getCollaboration().getEStructuralFeatures().get(10);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCollaboration_Name() {
+ return (EAttribute) getCollaboration().getEStructuralFeatures().get(11);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCompensateEventDefinition() {
+ if (compensateEventDefinitionEClass == null) {
+ compensateEventDefinitionEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(25);
+ }
+ return compensateEventDefinitionEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCompensateEventDefinition_ActivityRef() {
+ return (EReference) getCompensateEventDefinition()
+ .getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCompensateEventDefinition_WaitForCompletion() {
+ return (EAttribute) getCompensateEventDefinition()
+ .getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getComplexBehaviorDefinition() {
+ if (complexBehaviorDefinitionEClass == null) {
+ complexBehaviorDefinitionEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(26);
+ }
+ return complexBehaviorDefinitionEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getComplexBehaviorDefinition_Condition() {
+ return (EReference) getComplexBehaviorDefinition()
+ .getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getComplexBehaviorDefinition_Event() {
+ return (EReference) getComplexBehaviorDefinition()
+ .getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getComplexGateway() {
+ if (complexGatewayEClass == null) {
+ complexGatewayEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(27);
+ }
+ return complexGatewayEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getComplexGateway_ActivationCondition() {
+ return (EReference) getComplexGateway().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getComplexGateway_Default() {
+ return (EReference) getComplexGateway().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getConditionalEventDefinition() {
+ if (conditionalEventDefinitionEClass == null) {
+ conditionalEventDefinitionEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(28);
+ }
+ return conditionalEventDefinitionEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getConditionalEventDefinition_Condition() {
+ return (EReference) getConditionalEventDefinition()
+ .getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getConversation() {
+ if (conversationEClass == null) {
+ conversationEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(29);
+ }
+ return conversationEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getConversationAssociation() {
+ if (conversationAssociationEClass == null) {
+ conversationAssociationEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(30);
+ }
+ return conversationAssociationEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getConversationAssociation_InnerConversationNodeRef() {
+ return (EReference) getConversationAssociation()
+ .getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getConversationAssociation_OuterConversationNodeRef() {
+ return (EReference) getConversationAssociation()
+ .getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getConversationLink() {
+ if (conversationLinkEClass == null) {
+ conversationLinkEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(31);
+ }
+ return conversationLinkEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getConversationLink_Name() {
+ return (EAttribute) getConversationLink().getEStructuralFeatures().get(
+ 0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getConversationLink_SourceRef() {
+ return (EReference) getConversationLink().getEStructuralFeatures().get(
+ 1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getConversationLink_TargetRef() {
+ return (EReference) getConversationLink().getEStructuralFeatures().get(
+ 2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getConversationNode() {
+ if (conversationNodeEClass == null) {
+ conversationNodeEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(32);
+ }
+ return conversationNodeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getConversationNode_ParticipantRefs() {
+ return (EReference) getConversationNode().getEStructuralFeatures().get(
+ 0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getConversationNode_MessageFlowRefs() {
+ return (EReference) getConversationNode().getEStructuralFeatures().get(
+ 1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getConversationNode_CorrelationKeys() {
+ return (EReference) getConversationNode().getEStructuralFeatures().get(
+ 2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getConversationNode_Name() {
+ return (EAttribute) getConversationNode().getEStructuralFeatures().get(
+ 3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCorrelationKey() {
+ if (correlationKeyEClass == null) {
+ correlationKeyEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(33);
+ }
+ return correlationKeyEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCorrelationKey_CorrelationPropertyRef() {
+ return (EReference) getCorrelationKey().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCorrelationKey_Name() {
+ return (EAttribute) getCorrelationKey().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCorrelationProperty() {
+ if (correlationPropertyEClass == null) {
+ correlationPropertyEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(34);
+ }
+ return correlationPropertyEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCorrelationProperty_CorrelationPropertyRetrievalExpression() {
+ return (EReference) getCorrelationProperty().getEStructuralFeatures()
+ .get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCorrelationProperty_Name() {
+ return (EAttribute) getCorrelationProperty().getEStructuralFeatures()
+ .get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCorrelationProperty_Type() {
+ return (EReference) getCorrelationProperty().getEStructuralFeatures()
+ .get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCorrelationPropertyBinding() {
+ if (correlationPropertyBindingEClass == null) {
+ correlationPropertyBindingEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(35);
+ }
+ return correlationPropertyBindingEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCorrelationPropertyBinding_DataPath() {
+ return (EReference) getCorrelationPropertyBinding()
+ .getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCorrelationPropertyBinding_CorrelationPropertyRef() {
+ return (EReference) getCorrelationPropertyBinding()
+ .getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCorrelationPropertyRetrievalExpression() {
+ if (correlationPropertyRetrievalExpressionEClass == null) {
+ correlationPropertyRetrievalExpressionEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(36);
+ }
+ return correlationPropertyRetrievalExpressionEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCorrelationPropertyRetrievalExpression_MessagePath() {
+ return (EReference) getCorrelationPropertyRetrievalExpression()
+ .getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCorrelationPropertyRetrievalExpression_MessageRef() {
+ return (EReference) getCorrelationPropertyRetrievalExpression()
+ .getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCorrelationSubscription() {
+ if (correlationSubscriptionEClass == null) {
+ correlationSubscriptionEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(37);
+ }
+ return correlationSubscriptionEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCorrelationSubscription_CorrelationPropertyBinding() {
+ return (EReference) getCorrelationSubscription()
+ .getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCorrelationSubscription_CorrelationKeyRef() {
+ return (EReference) getCorrelationSubscription()
+ .getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDataAssociation() {
+ if (dataAssociationEClass == null) {
+ dataAssociationEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(38);
+ }
+ return dataAssociationEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDataAssociation_SourceRef() {
+ return (EReference) getDataAssociation().getEStructuralFeatures()
+ .get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDataAssociation_TargetRef() {
+ return (EReference) getDataAssociation().getEStructuralFeatures()
+ .get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDataAssociation_Transformation() {
+ return (EReference) getDataAssociation().getEStructuralFeatures()
+ .get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDataAssociation_Assignment() {
+ return (EReference) getDataAssociation().getEStructuralFeatures()
+ .get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDataInput() {
+ if (dataInputEClass == null) {
+ dataInputEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(39);
+ }
+ return dataInputEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDataInput_InputSetWithOptional() {
+ return (EReference) getDataInput().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDataInput_InputSetWithWhileExecuting() {
+ return (EReference) getDataInput().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDataInput_InputSetRefs() {
+ return (EReference) getDataInput().getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDataInput_IsCollection() {
+ return (EAttribute) getDataInput().getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDataInput_Name() {
+ return (EAttribute) getDataInput().getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDataInputAssociation() {
+ if (dataInputAssociationEClass == null) {
+ dataInputAssociationEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(40);
+ }
+ return dataInputAssociationEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDataObject() {
+ if (dataObjectEClass == null) {
+ dataObjectEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(41);
+ }
+ return dataObjectEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDataObject_IsCollection() {
+ return (EAttribute) getDataObject().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDataObjectReference() {
+ if (dataObjectReferenceEClass == null) {
+ dataObjectReferenceEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(42);
+ }
+ return dataObjectReferenceEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDataObjectReference_DataObjectRef() {
+ return (EReference) getDataObjectReference().getEStructuralFeatures()
+ .get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDataOutput() {
+ if (dataOutputEClass == null) {
+ dataOutputEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(43);
+ }
+ return dataOutputEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDataOutput_OutputSetWithOptional() {
+ return (EReference) getDataOutput().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDataOutput_OutputSetWithWhileExecuting() {
+ return (EReference) getDataOutput().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDataOutput_OutputSetRefs() {
+ return (EReference) getDataOutput().getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDataOutput_IsCollection() {
+ return (EAttribute) getDataOutput().getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDataOutput_Name() {
+ return (EAttribute) getDataOutput().getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDataOutputAssociation() {
+ if (dataOutputAssociationEClass == null) {
+ dataOutputAssociationEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(44);
+ }
+ return dataOutputAssociationEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDataState() {
+ if (dataStateEClass == null) {
+ dataStateEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(45);
+ }
+ return dataStateEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDataState_Name() {
+ return (EAttribute) getDataState().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDataStore() {
+ if (dataStoreEClass == null) {
+ dataStoreEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(46);
+ }
+ return dataStoreEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDataStore_Capacity() {
+ return (EAttribute) getDataStore().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDataStore_IsUnlimited() {
+ return (EAttribute) getDataStore().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDataStore_Name() {
+ return (EAttribute) getDataStore().getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDataStoreReference() {
+ if (dataStoreReferenceEClass == null) {
+ dataStoreReferenceEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(47);
+ }
+ return dataStoreReferenceEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDataStoreReference_DataStoreRef() {
+ return (EReference) getDataStoreReference().getEStructuralFeatures()
+ .get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDefinitions() {
+ if (definitionsEClass == null) {
+ definitionsEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(48);
+ }
+ return definitionsEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDefinitions_Imports() {
+ return (EReference) getDefinitions().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDefinitions_Extensions() {
+ return (EReference) getDefinitions().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDefinitions_RootElements() {
+ return (EReference) getDefinitions().getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDefinitions_Diagrams() {
+ return (EReference) getDefinitions().getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDefinitions_Relationships() {
+ return (EReference) getDefinitions().getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDefinitions_Exporter() {
+ return (EAttribute) getDefinitions().getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDefinitions_ExporterVersion() {
+ return (EAttribute) getDefinitions().getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDefinitions_ExpressionLanguage() {
+ return (EAttribute) getDefinitions().getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDefinitions_Name() {
+ return (EAttribute) getDefinitions().getEStructuralFeatures().get(8);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDefinitions_TargetNamespace() {
+ return (EAttribute) getDefinitions().getEStructuralFeatures().get(9);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDefinitions_TypeLanguage() {
+ return (EAttribute) getDefinitions().getEStructuralFeatures().get(10);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDocumentation() {
+ if (documentationEClass == null) {
+ documentationEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(49);
+ }
+ return documentationEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDocumentation_Mixed() {
+ return (EAttribute) getDocumentation().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDocumentation_Text() {
+ return (EAttribute) getDocumentation().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDocumentation_TextFormat() {
+ return (EAttribute) getDocumentation().getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getEndEvent() {
+ if (endEventEClass == null) {
+ endEventEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(50);
+ }
+ return endEventEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getEndPoint() {
+ if (endPointEClass == null) {
+ endPointEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(51);
+ }
+ return endPointEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getError() {
+ if (errorEClass == null) {
+ errorEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(52);
+ }
+ return errorEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getError_ErrorCode() {
+ return (EAttribute) getError().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getError_Name() {
+ return (EAttribute) getError().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getError_StructureRef() {
+ return (EReference) getError().getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getErrorEventDefinition() {
+ if (errorEventDefinitionEClass == null) {
+ errorEventDefinitionEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(53);
+ }
+ return errorEventDefinitionEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getErrorEventDefinition_ErrorRef() {
+ return (EReference) getErrorEventDefinition().getEStructuralFeatures()
+ .get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getEscalation() {
+ if (escalationEClass == null) {
+ escalationEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(54);
+ }
+ return escalationEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getEscalation_EscalationCode() {
+ return (EAttribute) getEscalation().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getEscalation_Name() {
+ return (EAttribute) getEscalation().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getEscalation_StructureRef() {
+ return (EReference) getEscalation().getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getEscalationEventDefinition() {
+ if (escalationEventDefinitionEClass == null) {
+ escalationEventDefinitionEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(55);
+ }
+ return escalationEventDefinitionEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getEscalationEventDefinition_EscalationRef() {
+ return (EReference) getEscalationEventDefinition()
+ .getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getEvent() {
+ if (eventEClass == null) {
+ eventEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(56);
+ }
+ return eventEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getEvent_Properties() {
+ return (EReference) getEvent().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getEventBasedGateway() {
+ if (eventBasedGatewayEClass == null) {
+ eventBasedGatewayEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(57);
+ }
+ return eventBasedGatewayEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getEventBasedGateway_EventGatewayType() {
+ return (EAttribute) getEventBasedGateway().getEStructuralFeatures()
+ .get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getEventBasedGateway_Instantiate() {
+ return (EAttribute) getEventBasedGateway().getEStructuralFeatures()
+ .get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getEventDefinition() {
+ if (eventDefinitionEClass == null) {
+ eventDefinitionEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(59);
+ }
+ return eventDefinitionEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getExclusiveGateway() {
+ if (exclusiveGatewayEClass == null) {
+ exclusiveGatewayEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(60);
+ }
+ return exclusiveGatewayEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getExclusiveGateway_Default() {
+ return (EReference) getExclusiveGateway().getEStructuralFeatures().get(
+ 0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getExpression() {
+ if (expressionEClass == null) {
+ expressionEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(61);
+ }
+ return expressionEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getExtension() {
+ if (extensionEClass == null) {
+ extensionEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(62);
+ }
+ return extensionEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getExtension_Definition() {
+ return (EReference) getExtension().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getExtension_MustUnderstand() {
+ return (EAttribute) getExtension().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getExtension_XsdDefinition() {
+ return (EAttribute) getExtension().getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getExtensionAttributeDefinition() {
+ if (extensionAttributeDefinitionEClass == null) {
+ extensionAttributeDefinitionEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(63);
+ }
+ return extensionAttributeDefinitionEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getExtensionAttributeDefinition_Name() {
+ return (EAttribute) getExtensionAttributeDefinition()
+ .getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getExtensionAttributeDefinition_Type() {
+ return (EAttribute) getExtensionAttributeDefinition()
+ .getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getExtensionAttributeDefinition_IsReference() {
+ return (EAttribute) getExtensionAttributeDefinition()
+ .getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getExtensionAttributeDefinition_ExtensionDefinition() {
+ return (EReference) getExtensionAttributeDefinition()
+ .getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getExtensionAttributeValue() {
+ if (extensionAttributeValueEClass == null) {
+ extensionAttributeValueEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(64);
+ }
+ return extensionAttributeValueEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getExtensionAttributeValue_ValueRef() {
+ return (EReference) getExtensionAttributeValue()
+ .getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getExtensionAttributeValue_Value() {
+ return (EAttribute) getExtensionAttributeValue()
+ .getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getExtensionAttributeValue_ExtensionAttributeDefinition() {
+ return (EReference) getExtensionAttributeValue()
+ .getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getExtensionDefinition() {
+ if (extensionDefinitionEClass == null) {
+ extensionDefinitionEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(65);
+ }
+ return extensionDefinitionEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getExtensionDefinition_Name() {
+ return (EAttribute) getExtensionDefinition().getEStructuralFeatures()
+ .get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getExtensionDefinition_ExtensionAttributeDefinitions() {
+ return (EReference) getExtensionDefinition().getEStructuralFeatures()
+ .get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getFlowElement() {
+ if (flowElementEClass == null) {
+ flowElementEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(66);
+ }
+ return flowElementEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getFlowElement_Auditing() {
+ return (EReference) getFlowElement().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getFlowElement_Monitoring() {
+ return (EReference) getFlowElement().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getFlowElement_CategoryValueRef() {
+ return (EReference) getFlowElement().getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getFlowElement_Name() {
+ return (EAttribute) getFlowElement().getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getFlowElementsContainer() {
+ if (flowElementsContainerEClass == null) {
+ flowElementsContainerEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(67);
+ }
+ return flowElementsContainerEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getFlowElementsContainer_LaneSets() {
+ return (EReference) getFlowElementsContainer().getEStructuralFeatures()
+ .get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getFlowElementsContainer_FlowElements() {
+ return (EReference) getFlowElementsContainer().getEStructuralFeatures()
+ .get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getFlowNode() {
+ if (flowNodeEClass == null) {
+ flowNodeEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(68);
+ }
+ return flowNodeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getFlowNode_Incoming() {
+ return (EReference) getFlowNode().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getFlowNode_Lanes() {
+ return (EReference) getFlowNode().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getFlowNode_Outgoing() {
+ return (EReference) getFlowNode().getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getFormalExpression() {
+ if (formalExpressionEClass == null) {
+ formalExpressionEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(69);
+ }
+ return formalExpressionEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getFormalExpression_Mixed() {
+ return (EAttribute) getFormalExpression().getEStructuralFeatures().get(
+ 0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getFormalExpression_Body() {
+ return (EAttribute) getFormalExpression().getEStructuralFeatures().get(
+ 1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getFormalExpression_EvaluatesToTypeRef() {
+ return (EReference) getFormalExpression().getEStructuralFeatures().get(
+ 2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getFormalExpression_Language() {
+ return (EAttribute) getFormalExpression().getEStructuralFeatures().get(
+ 3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getGateway() {
+ if (gatewayEClass == null) {
+ gatewayEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(70);
+ }
+ return gatewayEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getGateway_GatewayDirection() {
+ return (EAttribute) getGateway().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getGlobalBusinessRuleTask() {
+ if (globalBusinessRuleTaskEClass == null) {
+ globalBusinessRuleTaskEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(72);
+ }
+ return globalBusinessRuleTaskEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getGlobalBusinessRuleTask_Implementation() {
+ return (EAttribute) getGlobalBusinessRuleTask()
+ .getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getGlobalChoreographyTask() {
+ if (globalChoreographyTaskEClass == null) {
+ globalChoreographyTaskEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(73);
+ }
+ return globalChoreographyTaskEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getGlobalChoreographyTask_InitiatingParticipantRef() {
+ return (EReference) getGlobalChoreographyTask()
+ .getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getGlobalConversation() {
+ if (globalConversationEClass == null) {
+ globalConversationEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(74);
+ }
+ return globalConversationEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getGlobalManualTask() {
+ if (globalManualTaskEClass == null) {
+ globalManualTaskEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(75);
+ }
+ return globalManualTaskEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getGlobalScriptTask() {
+ if (globalScriptTaskEClass == null) {
+ globalScriptTaskEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(76);
+ }
+ return globalScriptTaskEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getGlobalScriptTask_Script() {
+ return (EAttribute) getGlobalScriptTask().getEStructuralFeatures().get(
+ 0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getGlobalScriptTask_ScriptLanguage() {
+ return (EAttribute) getGlobalScriptTask().getEStructuralFeatures().get(
+ 1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getGlobalTask() {
+ if (globalTaskEClass == null) {
+ globalTaskEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(77);
+ }
+ return globalTaskEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getGlobalTask_Resources() {
+ return (EReference) getGlobalTask().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getGlobalUserTask() {
+ if (globalUserTaskEClass == null) {
+ globalUserTaskEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(78);
+ }
+ return globalUserTaskEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getGlobalUserTask_Renderings() {
+ return (EReference) getGlobalUserTask().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getGlobalUserTask_Implementation() {
+ return (EAttribute) getGlobalUserTask().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getGroup() {
+ if (groupEClass == null) {
+ groupEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(79);
+ }
+ return groupEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getGroup_CategoryValueRef() {
+ return (EReference) getGroup().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getHumanPerformer() {
+ if (humanPerformerEClass == null) {
+ humanPerformerEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(80);
+ }
+ return humanPerformerEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getImplicitThrowEvent() {
+ if (implicitThrowEventEClass == null) {
+ implicitThrowEventEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(81);
+ }
+ return implicitThrowEventEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getImport() {
+ if (importEClass == null) {
+ importEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(82);
+ }
+ return importEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getImport_ImportType() {
+ return (EAttribute) getImport().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getImport_Location() {
+ return (EAttribute) getImport().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getImport_Namespace() {
+ return (EAttribute) getImport().getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getInclusiveGateway() {
+ if (inclusiveGatewayEClass == null) {
+ inclusiveGatewayEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(83);
+ }
+ return inclusiveGatewayEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getInclusiveGateway_Default() {
+ return (EReference) getInclusiveGateway().getEStructuralFeatures().get(
+ 0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getInputOutputBinding() {
+ if (inputOutputBindingEClass == null) {
+ inputOutputBindingEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(84);
+ }
+ return inputOutputBindingEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getInputOutputBinding_InputDataRef() {
+ return (EReference) getInputOutputBinding().getEStructuralFeatures()
+ .get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getInputOutputBinding_OperationRef() {
+ return (EReference) getInputOutputBinding().getEStructuralFeatures()
+ .get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getInputOutputBinding_OutputDataRef() {
+ return (EReference) getInputOutputBinding().getEStructuralFeatures()
+ .get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getInputOutputSpecification() {
+ if (inputOutputSpecificationEClass == null) {
+ inputOutputSpecificationEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(85);
+ }
+ return inputOutputSpecificationEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getInputOutputSpecification_DataInputs() {
+ return (EReference) getInputOutputSpecification()
+ .getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getInputOutputSpecification_DataOutputs() {
+ return (EReference) getInputOutputSpecification()
+ .getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getInputOutputSpecification_InputSets() {
+ return (EReference) getInputOutputSpecification()
+ .getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getInputOutputSpecification_OutputSets() {
+ return (EReference) getInputOutputSpecification()
+ .getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getInputSet() {
+ if (inputSetEClass == null) {
+ inputSetEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(86);
+ }
+ return inputSetEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getInputSet_DataInputRefs() {
+ return (EReference) getInputSet().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getInputSet_OptionalInputRefs() {
+ return (EReference) getInputSet().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getInputSet_WhileExecutingInputRefs() {
+ return (EReference) getInputSet().getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getInputSet_OutputSetRefs() {
+ return (EReference) getInputSet().getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getInputSet_Name() {
+ return (EAttribute) getInputSet().getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getInteractionNode() {
+ if (interactionNodeEClass == null) {
+ interactionNodeEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(87);
+ }
+ return interactionNodeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getInteractionNode_IncomingConversationLinks() {
+ return (EReference) getInteractionNode().getEStructuralFeatures()
+ .get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getInteractionNode_OutgoingConversationLinks() {
+ return (EReference) getInteractionNode().getEStructuralFeatures()
+ .get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getInterface() {
+ if (interfaceEClass == null) {
+ interfaceEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(88);
+ }
+ return interfaceEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getInterface_Operations() {
+ return (EReference) getInterface().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getInterface_ImplementationRef() {
+ return (EReference) getInterface().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getInterface_Name() {
+ return (EAttribute) getInterface().getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getIntermediateCatchEvent() {
+ if (intermediateCatchEventEClass == null) {
+ intermediateCatchEventEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(89);
+ }
+ return intermediateCatchEventEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getIntermediateThrowEvent() {
+ if (intermediateThrowEventEClass == null) {
+ intermediateThrowEventEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(90);
+ }
+ return intermediateThrowEventEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getItemAwareElement() {
+ if (itemAwareElementEClass == null) {
+ itemAwareElementEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(91);
+ }
+ return itemAwareElementEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getItemAwareElement_DataState() {
+ return (EReference) getItemAwareElement().getEStructuralFeatures().get(
+ 0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getItemAwareElement_ItemSubjectRef() {
+ return (EReference) getItemAwareElement().getEStructuralFeatures().get(
+ 1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getItemDefinition() {
+ if (itemDefinitionEClass == null) {
+ itemDefinitionEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(92);
+ }
+ return itemDefinitionEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getItemDefinition_IsCollection() {
+ return (EAttribute) getItemDefinition().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getItemDefinition_Import() {
+ return (EReference) getItemDefinition().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getItemDefinition_ItemKind() {
+ return (EAttribute) getItemDefinition().getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getItemDefinition_StructureRef() {
+ return (EReference) getItemDefinition().getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getLane() {
+ if (laneEClass == null) {
+ laneEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(94);
+ }
+ return laneEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getLane_PartitionElement() {
+ return (EReference) getLane().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getLane_FlowNodeRefs() {
+ return (EReference) getLane().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getLane_ChildLaneSet() {
+ return (EReference) getLane().getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getLane_Name() {
+ return (EAttribute) getLane().getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getLane_PartitionElementRef() {
+ return (EReference) getLane().getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getLaneSet() {
+ if (laneSetEClass == null) {
+ laneSetEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(95);
+ }
+ return laneSetEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getLaneSet_Lanes() {
+ return (EReference) getLaneSet().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getLaneSet_Name() {
+ return (EAttribute) getLaneSet().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getLinkEventDefinition() {
+ if (linkEventDefinitionEClass == null) {
+ linkEventDefinitionEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(96);
+ }
+ return linkEventDefinitionEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getLinkEventDefinition_Source() {
+ return (EReference) getLinkEventDefinition().getEStructuralFeatures()
+ .get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getLinkEventDefinition_Target() {
+ return (EReference) getLinkEventDefinition().getEStructuralFeatures()
+ .get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getLinkEventDefinition_Name() {
+ return (EAttribute) getLinkEventDefinition().getEStructuralFeatures()
+ .get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getLoopCharacteristics() {
+ if (loopCharacteristicsEClass == null) {
+ loopCharacteristicsEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(97);
+ }
+ return loopCharacteristicsEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getManualTask() {
+ if (manualTaskEClass == null) {
+ manualTaskEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(98);
+ }
+ return manualTaskEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getMessage() {
+ if (messageEClass == null) {
+ messageEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(99);
+ }
+ return messageEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getMessage_ItemRef() {
+ return (EReference) getMessage().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getMessage_Name() {
+ return (EAttribute) getMessage().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getMessageEventDefinition() {
+ if (messageEventDefinitionEClass == null) {
+ messageEventDefinitionEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(100);
+ }
+ return messageEventDefinitionEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getMessageEventDefinition_OperationRef() {
+ return (EReference) getMessageEventDefinition()
+ .getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getMessageEventDefinition_MessageRef() {
+ return (EReference) getMessageEventDefinition()
+ .getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getMessageFlow() {
+ if (messageFlowEClass == null) {
+ messageFlowEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(101);
+ }
+ return messageFlowEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getMessageFlow_MessageRef() {
+ return (EReference) getMessageFlow().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getMessageFlow_Name() {
+ return (EAttribute) getMessageFlow().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getMessageFlow_SourceRef() {
+ return (EReference) getMessageFlow().getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getMessageFlow_TargetRef() {
+ return (EReference) getMessageFlow().getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getMessageFlowAssociation() {
+ if (messageFlowAssociationEClass == null) {
+ messageFlowAssociationEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(102);
+ }
+ return messageFlowAssociationEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getMessageFlowAssociation_InnerMessageFlowRef() {
+ return (EReference) getMessageFlowAssociation()
+ .getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getMessageFlowAssociation_OuterMessageFlowRef() {
+ return (EReference) getMessageFlowAssociation()
+ .getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getMonitoring() {
+ if (monitoringEClass == null) {
+ monitoringEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(103);
+ }
+ return monitoringEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getMultiInstanceLoopCharacteristics() {
+ if (multiInstanceLoopCharacteristicsEClass == null) {
+ multiInstanceLoopCharacteristicsEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(105);
+ }
+ return multiInstanceLoopCharacteristicsEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getMultiInstanceLoopCharacteristics_LoopCardinality() {
+ return (EReference) getMultiInstanceLoopCharacteristics()
+ .getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getMultiInstanceLoopCharacteristics_LoopDataInputRef() {
+ return (EReference) getMultiInstanceLoopCharacteristics()
+ .getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getMultiInstanceLoopCharacteristics_LoopDataOutputRef() {
+ return (EReference) getMultiInstanceLoopCharacteristics()
+ .getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getMultiInstanceLoopCharacteristics_InputDataItem() {
+ return (EReference) getMultiInstanceLoopCharacteristics()
+ .getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getMultiInstanceLoopCharacteristics_OutputDataItem() {
+ return (EReference) getMultiInstanceLoopCharacteristics()
+ .getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getMultiInstanceLoopCharacteristics_ComplexBehaviorDefinition() {
+ return (EReference) getMultiInstanceLoopCharacteristics()
+ .getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getMultiInstanceLoopCharacteristics_CompletionCondition() {
+ return (EReference) getMultiInstanceLoopCharacteristics()
+ .getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getMultiInstanceLoopCharacteristics_Behavior() {
+ return (EAttribute) getMultiInstanceLoopCharacteristics()
+ .getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getMultiInstanceLoopCharacteristics_IsSequential() {
+ return (EAttribute) getMultiInstanceLoopCharacteristics()
+ .getEStructuralFeatures().get(8);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getMultiInstanceLoopCharacteristics_NoneBehaviorEventRef() {
+ return (EReference) getMultiInstanceLoopCharacteristics()
+ .getEStructuralFeatures().get(9);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getMultiInstanceLoopCharacteristics_OneBehaviorEventRef() {
+ return (EReference) getMultiInstanceLoopCharacteristics()
+ .getEStructuralFeatures().get(10);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getOperation() {
+ if (operationEClass == null) {
+ operationEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(106);
+ }
+ return operationEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getOperation_InMessageRef() {
+ return (EReference) getOperation().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getOperation_OutMessageRef() {
+ return (EReference) getOperation().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getOperation_ErrorRefs() {
+ return (EReference) getOperation().getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getOperation_ImplementationRef() {
+ return (EReference) getOperation().getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getOperation_Name() {
+ return (EAttribute) getOperation().getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getOutputSet() {
+ if (outputSetEClass == null) {
+ outputSetEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(107);
+ }
+ return outputSetEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getOutputSet_DataOutputRefs() {
+ return (EReference) getOutputSet().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getOutputSet_OptionalOutputRefs() {
+ return (EReference) getOutputSet().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getOutputSet_WhileExecutingOutputRefs() {
+ return (EReference) getOutputSet().getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getOutputSet_InputSetRefs() {
+ return (EReference) getOutputSet().getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getOutputSet_Name() {
+ return (EAttribute) getOutputSet().getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getParallelGateway() {
+ if (parallelGatewayEClass == null) {
+ parallelGatewayEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(108);
+ }
+ return parallelGatewayEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getParticipant() {
+ if (participantEClass == null) {
+ participantEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(109);
+ }
+ return participantEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getParticipant_InterfaceRefs() {
+ return (EReference) getParticipant().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getParticipant_EndPointRefs() {
+ return (EReference) getParticipant().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getParticipant_ParticipantMultiplicity() {
+ return (EReference) getParticipant().getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getParticipant_Name() {
+ return (EAttribute) getParticipant().getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getParticipant_ProcessRef() {
+ return (EReference) getParticipant().getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getParticipantAssociation() {
+ if (participantAssociationEClass == null) {
+ participantAssociationEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(110);
+ }
+ return participantAssociationEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getParticipantAssociation_InnerParticipantRef() {
+ return (EReference) getParticipantAssociation()
+ .getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getParticipantAssociation_OuterParticipantRef() {
+ return (EReference) getParticipantAssociation()
+ .getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getParticipantMultiplicity() {
+ if (participantMultiplicityEClass == null) {
+ participantMultiplicityEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(111);
+ }
+ return participantMultiplicityEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getParticipantMultiplicity_Maximum() {
+ return (EAttribute) getParticipantMultiplicity()
+ .getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getParticipantMultiplicity_Minimum() {
+ return (EAttribute) getParticipantMultiplicity()
+ .getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getPartnerEntity() {
+ if (partnerEntityEClass == null) {
+ partnerEntityEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(112);
+ }
+ return partnerEntityEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getPartnerEntity_ParticipantRef() {
+ return (EReference) getPartnerEntity().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getPartnerEntity_Name() {
+ return (EAttribute) getPartnerEntity().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getPartnerRole() {
+ if (partnerRoleEClass == null) {
+ partnerRoleEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(113);
+ }
+ return partnerRoleEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getPartnerRole_ParticipantRef() {
+ return (EReference) getPartnerRole().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getPartnerRole_Name() {
+ return (EAttribute) getPartnerRole().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getPerformer() {
+ if (performerEClass == null) {
+ performerEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(114);
+ }
+ return performerEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getPotentialOwner() {
+ if (potentialOwnerEClass == null) {
+ potentialOwnerEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(115);
+ }
+ return potentialOwnerEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getProcess() {
+ if (processEClass == null) {
+ processEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(116);
+ }
+ return processEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getProcess_Auditing() {
+ return (EReference) getProcess().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getProcess_Monitoring() {
+ return (EReference) getProcess().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getProcess_Properties() {
+ return (EReference) getProcess().getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getProcess_Artifacts() {
+ return (EReference) getProcess().getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getProcess_Resources() {
+ return (EReference) getProcess().getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getProcess_CorrelationSubscriptions() {
+ return (EReference) getProcess().getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getProcess_Supports() {
+ return (EReference) getProcess().getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getProcess_DefinitionalCollaborationRef() {
+ return (EReference) getProcess().getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getProcess_IsClosed() {
+ return (EAttribute) getProcess().getEStructuralFeatures().get(8);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getProcess_IsExecutable() {
+ return (EAttribute) getProcess().getEStructuralFeatures().get(9);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getProcess_ProcessType() {
+ return (EAttribute) getProcess().getEStructuralFeatures().get(10);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getProperty() {
+ if (propertyEClass == null) {
+ propertyEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(118);
+ }
+ return propertyEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getProperty_Name() {
+ return (EAttribute) getProperty().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getReceiveTask() {
+ if (receiveTaskEClass == null) {
+ receiveTaskEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(119);
+ }
+ return receiveTaskEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getReceiveTask_Implementation() {
+ return (EAttribute) getReceiveTask().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getReceiveTask_Instantiate() {
+ return (EAttribute) getReceiveTask().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getReceiveTask_MessageRef() {
+ return (EReference) getReceiveTask().getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getReceiveTask_OperationRef() {
+ return (EReference) getReceiveTask().getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getRelationship() {
+ if (relationshipEClass == null) {
+ relationshipEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(120);
+ }
+ return relationshipEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getRelationship_Sources() {
+ return (EReference) getRelationship().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getRelationship_Targets() {
+ return (EReference) getRelationship().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getRelationship_Direction() {
+ return (EAttribute) getRelationship().getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getRelationship_Type() {
+ return (EAttribute) getRelationship().getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getRendering() {
+ if (renderingEClass == null) {
+ renderingEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(122);
+ }
+ return renderingEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getResource() {
+ if (resourceEClass == null) {
+ resourceEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(123);
+ }
+ return resourceEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getResource_ResourceParameters() {
+ return (EReference) getResource().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getResource_Name() {
+ return (EAttribute) getResource().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getResourceAssignmentExpression() {
+ if (resourceAssignmentExpressionEClass == null) {
+ resourceAssignmentExpressionEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(124);
+ }
+ return resourceAssignmentExpressionEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getResourceAssignmentExpression_Expression() {
+ return (EReference) getResourceAssignmentExpression()
+ .getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getResourceParameter() {
+ if (resourceParameterEClass == null) {
+ resourceParameterEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(125);
+ }
+ return resourceParameterEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getResourceParameter_IsRequired() {
+ return (EAttribute) getResourceParameter().getEStructuralFeatures()
+ .get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getResourceParameter_Name() {
+ return (EAttribute) getResourceParameter().getEStructuralFeatures()
+ .get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getResourceParameter_Type() {
+ return (EReference) getResourceParameter().getEStructuralFeatures()
+ .get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getResourceParameterBinding() {
+ if (resourceParameterBindingEClass == null) {
+ resourceParameterBindingEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(126);
+ }
+ return resourceParameterBindingEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getResourceParameterBinding_Expression() {
+ return (EReference) getResourceParameterBinding()
+ .getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getResourceParameterBinding_ParameterRef() {
+ return (EReference) getResourceParameterBinding()
+ .getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getResourceRole() {
+ if (resourceRoleEClass == null) {
+ resourceRoleEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(127);
+ }
+ return resourceRoleEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getResourceRole_ResourceRef() {
+ return (EReference) getResourceRole().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getResourceRole_ResourceParameterBindings() {
+ return (EReference) getResourceRole().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getResourceRole_ResourceAssignmentExpression() {
+ return (EReference) getResourceRole().getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getResourceRole_Name() {
+ return (EAttribute) getResourceRole().getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getRootElement() {
+ if (rootElementEClass == null) {
+ rootElementEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(128);
+ }
+ return rootElementEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getScriptTask() {
+ if (scriptTaskEClass == null) {
+ scriptTaskEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(129);
+ }
+ return scriptTaskEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getScriptTask_Script() {
+ return (EAttribute) getScriptTask().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getScriptTask_ScriptFormat() {
+ return (EAttribute) getScriptTask().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getSendTask() {
+ if (sendTaskEClass == null) {
+ sendTaskEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(130);
+ }
+ return sendTaskEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getSendTask_Implementation() {
+ return (EAttribute) getSendTask().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getSendTask_MessageRef() {
+ return (EReference) getSendTask().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getSendTask_OperationRef() {
+ return (EReference) getSendTask().getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getSequenceFlow() {
+ if (sequenceFlowEClass == null) {
+ sequenceFlowEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(131);
+ }
+ return sequenceFlowEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getSequenceFlow_ConditionExpression() {
+ return (EReference) getSequenceFlow().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getSequenceFlow_IsImmediate() {
+ return (EAttribute) getSequenceFlow().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getSequenceFlow_SourceRef() {
+ return (EReference) getSequenceFlow().getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getSequenceFlow_TargetRef() {
+ return (EReference) getSequenceFlow().getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getServiceTask() {
+ if (serviceTaskEClass == null) {
+ serviceTaskEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(132);
+ }
+ return serviceTaskEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getServiceTask_Implementation() {
+ return (EAttribute) getServiceTask().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getServiceTask_OperationRef() {
+ return (EReference) getServiceTask().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getSignal() {
+ if (signalEClass == null) {
+ signalEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(133);
+ }
+ return signalEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getSignal_Name() {
+ return (EAttribute) getSignal().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getSignal_StructureRef() {
+ return (EReference) getSignal().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getSignalEventDefinition() {
+ if (signalEventDefinitionEClass == null) {
+ signalEventDefinitionEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(134);
+ }
+ return signalEventDefinitionEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getSignalEventDefinition_SignalRef() {
+ return (EReference) getSignalEventDefinition().getEStructuralFeatures()
+ .get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getStandardLoopCharacteristics() {
+ if (standardLoopCharacteristicsEClass == null) {
+ standardLoopCharacteristicsEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(135);
+ }
+ return standardLoopCharacteristicsEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getStandardLoopCharacteristics_LoopCondition() {
+ return (EReference) getStandardLoopCharacteristics()
+ .getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getStandardLoopCharacteristics_LoopMaximum() {
+ return (EReference) getStandardLoopCharacteristics()
+ .getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getStandardLoopCharacteristics_TestBefore() {
+ return (EAttribute) getStandardLoopCharacteristics()
+ .getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getStartEvent() {
+ if (startEventEClass == null) {
+ startEventEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(136);
+ }
+ return startEventEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getStartEvent_IsInterrupting() {
+ return (EAttribute) getStartEvent().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getSubChoreography() {
+ if (subChoreographyEClass == null) {
+ subChoreographyEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(137);
+ }
+ return subChoreographyEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getSubChoreography_Artifacts() {
+ return (EReference) getSubChoreography().getEStructuralFeatures()
+ .get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getSubConversation() {
+ if (subConversationEClass == null) {
+ subConversationEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(138);
+ }
+ return subConversationEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getSubConversation_ConversationNodes() {
+ return (EReference) getSubConversation().getEStructuralFeatures()
+ .get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getSubProcess() {
+ if (subProcessEClass == null) {
+ subProcessEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(139);
+ }
+ return subProcessEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getSubProcess_Artifacts() {
+ return (EReference) getSubProcess().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getSubProcess_TriggeredByEvent() {
+ return (EAttribute) getSubProcess().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getTask() {
+ if (taskEClass == null) {
+ taskEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(140);
+ }
+ return taskEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getTerminateEventDefinition() {
+ if (terminateEventDefinitionEClass == null) {
+ terminateEventDefinitionEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(141);
+ }
+ return terminateEventDefinitionEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getTextAnnotation() {
+ if (textAnnotationEClass == null) {
+ textAnnotationEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(142);
+ }
+ return textAnnotationEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getTextAnnotation_Text() {
+ return (EAttribute) getTextAnnotation().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getTextAnnotation_TextFormat() {
+ return (EAttribute) getTextAnnotation().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getThrowEvent() {
+ if (throwEventEClass == null) {
+ throwEventEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(143);
+ }
+ return throwEventEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getThrowEvent_DataInputs() {
+ return (EReference) getThrowEvent().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getThrowEvent_DataInputAssociation() {
+ return (EReference) getThrowEvent().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getThrowEvent_InputSet() {
+ return (EReference) getThrowEvent().getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getThrowEvent_EventDefinitions() {
+ return (EReference) getThrowEvent().getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getThrowEvent_EventDefinitionRefs() {
+ return (EReference) getThrowEvent().getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getTimerEventDefinition() {
+ if (timerEventDefinitionEClass == null) {
+ timerEventDefinitionEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(144);
+ }
+ return timerEventDefinitionEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getTimerEventDefinition_TimeDate() {
+ return (EReference) getTimerEventDefinition().getEStructuralFeatures()
+ .get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getTimerEventDefinition_TimeDuration() {
+ return (EReference) getTimerEventDefinition().getEStructuralFeatures()
+ .get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getTimerEventDefinition_TimeCycle() {
+ return (EReference) getTimerEventDefinition().getEStructuralFeatures()
+ .get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getTransaction() {
+ if (transactionEClass == null) {
+ transactionEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(145);
+ }
+ return transactionEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getTransaction_Protocol() {
+ return (EAttribute) getTransaction().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getTransaction_Method() {
+ return (EAttribute) getTransaction().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getUserTask() {
+ if (userTaskEClass == null) {
+ userTaskEClass = (EClass) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(146);
+ }
+ return userTaskEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getUserTask_Renderings() {
+ return (EReference) getUserTask().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUserTask_Implementation() {
+ return (EAttribute) getUserTask().getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EEnum getAdHocOrdering() {
+ if (adHocOrderingEEnum == null) {
+ adHocOrderingEEnum = (EEnum) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers().get(2);
+ }
+ return adHocOrderingEEnum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EEnum getAssociationDirection() {
+ if (associationDirectionEEnum == null) {
+ associationDirectionEEnum = (EEnum) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers().get(7);
+ }
+ return associationDirectionEEnum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EEnum getChoreographyLoopType() {
+ if (choreographyLoopTypeEEnum == null) {
+ choreographyLoopTypeEEnum = (EEnum) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(22);
+ }
+ return choreographyLoopTypeEEnum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EEnum getEventBasedGatewayType() {
+ if (eventBasedGatewayTypeEEnum == null) {
+ eventBasedGatewayTypeEEnum = (EEnum) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(58);
+ }
+ return eventBasedGatewayTypeEEnum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EEnum getGatewayDirection() {
+ if (gatewayDirectionEEnum == null) {
+ gatewayDirectionEEnum = (EEnum) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(71);
+ }
+ return gatewayDirectionEEnum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EEnum getItemKind() {
+ if (itemKindEEnum == null) {
+ itemKindEEnum = (EEnum) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(93);
+ }
+ return itemKindEEnum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EEnum getMultiInstanceBehavior() {
+ if (multiInstanceBehaviorEEnum == null) {
+ multiInstanceBehaviorEEnum = (EEnum) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(104);
+ }
+ return multiInstanceBehaviorEEnum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EEnum getProcessType() {
+ if (processTypeEEnum == null) {
+ processTypeEEnum = (EEnum) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(117);
+ }
+ return processTypeEEnum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EEnum getRelationshipDirection() {
+ if (relationshipDirectionEEnum == null) {
+ relationshipDirectionEEnum = (EEnum) EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI).getEClassifiers()
+ .get(121);
+ }
+ return relationshipDirectionEEnum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Bpmn2Factory getBpmn2Factory() {
+ return (Bpmn2Factory) getEFactoryInstance();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isLoaded = false;
+
+ /**
+ * Laods the package and any sub-packages from their serialized form.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void loadPackage() {
+ if (isLoaded)
+ return;
+ isLoaded = true;
+
+ URL url = getClass().getResource(packageFilename);
+ if (url == null) {
+ throw new RuntimeException("Missing serialized package: "
+ + packageFilename);
+ }
+ URI uri = URI.createURI(url.toString());
+ Resource resource = new EcoreResourceFactoryImpl().createResource(uri);
+ try {
+ resource.load(null);
+ } catch (IOException exception) {
+ throw new WrappedException(exception);
+ }
+ initializeFromLoadedEPackage(this, (EPackage) resource.getContents()
+ .get(0));
+ createResource(eNS_URI);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isFixed = false;
+
+ /**
+ * Fixes up the loaded package, to make it appear as if it had been programmatically built.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void fixPackageContents() {
+ if (isFixed)
+ return;
+ isFixed = true;
+ fixEClassifiers();
+ }
+
+ /**
+ * Sets the instance class on the given classifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void fixInstanceClass(EClassifier eClassifier) {
+ if (eClassifier.getInstanceClassName() == null) {
+ eClassifier.setInstanceClassName("org.eclipse.bpmn2."
+ + eClassifier.getName());
+ setGeneratedClassName(eClassifier);
+ }
+ }
+
+} //Bpmn2PackageImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/BusinessRuleTaskImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/BusinessRuleTaskImpl.java
new file mode 100644
index 000000000..7b7585ad9
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/BusinessRuleTaskImpl.java
@@ -0,0 +1,178 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.BusinessRuleTask;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Business Rule Task</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.BusinessRuleTaskImpl#getImplementation <em>Implementation</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class BusinessRuleTaskImpl extends TaskImpl implements BusinessRuleTask {
+ /**
+ * The default value of the '{@link #getImplementation() <em>Implementation</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getImplementation()
+ * @generated
+ * @ordered
+ */
+ protected static final String IMPLEMENTATION_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getImplementation() <em>Implementation</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getImplementation()
+ * @generated
+ * @ordered
+ */
+ protected String implementation = IMPLEMENTATION_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected BusinessRuleTaskImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.BUSINESS_RULE_TASK;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getImplementation() {
+ return implementation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setImplementation(String newImplementation) {
+ String oldImplementation = implementation;
+ implementation = newImplementation;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.BUSINESS_RULE_TASK__IMPLEMENTATION,
+ oldImplementation, implementation));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.BUSINESS_RULE_TASK__IMPLEMENTATION:
+ return getImplementation();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.BUSINESS_RULE_TASK__IMPLEMENTATION:
+ setImplementation((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.BUSINESS_RULE_TASK__IMPLEMENTATION:
+ setImplementation(IMPLEMENTATION_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.BUSINESS_RULE_TASK__IMPLEMENTATION:
+ return IMPLEMENTATION_EDEFAULT == null ? implementation != null
+ : !IMPLEMENTATION_EDEFAULT.equals(implementation);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (implementation: ");
+ result.append(implementation);
+ result.append(')');
+ return result.toString();
+ }
+
+} //BusinessRuleTaskImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CallActivityImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CallActivityImpl.java
new file mode 100644
index 000000000..97bedfcd5
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CallActivityImpl.java
@@ -0,0 +1,173 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.CallActivity;
+import org.eclipse.bpmn2.CallableElement;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Call Activity</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.CallActivityImpl#getCalledElementRef <em>Called Element Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class CallActivityImpl extends ActivityImpl implements CallActivity {
+ /**
+ * The cached value of the '{@link #getCalledElementRef() <em>Called Element Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCalledElementRef()
+ * @generated
+ * @ordered
+ */
+ protected CallableElement calledElementRef;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CallActivityImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.CALL_ACTIVITY;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CallableElement getCalledElementRef() {
+ if (calledElementRef != null && calledElementRef.eIsProxy()) {
+ InternalEObject oldCalledElementRef = (InternalEObject) calledElementRef;
+ calledElementRef = (CallableElement) eResolveProxy(oldCalledElementRef);
+ if (calledElementRef != oldCalledElementRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.CALL_ACTIVITY__CALLED_ELEMENT_REF,
+ oldCalledElementRef, calledElementRef));
+ }
+ }
+ return calledElementRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CallableElement basicGetCalledElementRef() {
+ return calledElementRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCalledElementRef(CallableElement newCalledElementRef) {
+ CallableElement oldCalledElementRef = calledElementRef;
+ calledElementRef = newCalledElementRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.CALL_ACTIVITY__CALLED_ELEMENT_REF,
+ oldCalledElementRef, calledElementRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.CALL_ACTIVITY__CALLED_ELEMENT_REF:
+ if (resolve)
+ return getCalledElementRef();
+ return basicGetCalledElementRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.CALL_ACTIVITY__CALLED_ELEMENT_REF:
+ setCalledElementRef((CallableElement) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CALL_ACTIVITY__CALLED_ELEMENT_REF:
+ setCalledElementRef((CallableElement) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CALL_ACTIVITY__CALLED_ELEMENT_REF:
+ return calledElementRef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //CallActivityImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CallChoreographyImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CallChoreographyImpl.java
new file mode 100644
index 000000000..2c22c88ce
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CallChoreographyImpl.java
@@ -0,0 +1,241 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.CallChoreography;
+import org.eclipse.bpmn2.Choreography;
+import org.eclipse.bpmn2.ParticipantAssociation;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Call Choreography</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.CallChoreographyImpl#getParticipantAssociations <em>Participant Associations</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.CallChoreographyImpl#getCalledChoreographyRef <em>Called Choreography Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class CallChoreographyImpl extends ChoreographyActivityImpl implements
+ CallChoreography {
+ /**
+ * The cached value of the '{@link #getParticipantAssociations() <em>Participant Associations</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getParticipantAssociations()
+ * @generated
+ * @ordered
+ */
+ protected EList<ParticipantAssociation> participantAssociations;
+
+ /**
+ * The cached value of the '{@link #getCalledChoreographyRef() <em>Called Choreography Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCalledChoreographyRef()
+ * @generated
+ * @ordered
+ */
+ protected Choreography calledChoreographyRef;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CallChoreographyImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.CALL_CHOREOGRAPHY;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<ParticipantAssociation> getParticipantAssociations() {
+ if (participantAssociations == null) {
+ participantAssociations = new EObjectContainmentEList<ParticipantAssociation>(
+ ParticipantAssociation.class, this,
+ Bpmn2Package.CALL_CHOREOGRAPHY__PARTICIPANT_ASSOCIATIONS);
+ }
+ return participantAssociations;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Choreography getCalledChoreographyRef() {
+ if (calledChoreographyRef != null && calledChoreographyRef.eIsProxy()) {
+ InternalEObject oldCalledChoreographyRef = (InternalEObject) calledChoreographyRef;
+ calledChoreographyRef = (Choreography) eResolveProxy(oldCalledChoreographyRef);
+ if (calledChoreographyRef != oldCalledChoreographyRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.RESOLVE,
+ Bpmn2Package.CALL_CHOREOGRAPHY__CALLED_CHOREOGRAPHY_REF,
+ oldCalledChoreographyRef, calledChoreographyRef));
+ }
+ }
+ return calledChoreographyRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Choreography basicGetCalledChoreographyRef() {
+ return calledChoreographyRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCalledChoreographyRef(Choreography newCalledChoreographyRef) {
+ Choreography oldCalledChoreographyRef = calledChoreographyRef;
+ calledChoreographyRef = newCalledChoreographyRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.CALL_CHOREOGRAPHY__CALLED_CHOREOGRAPHY_REF,
+ oldCalledChoreographyRef, calledChoreographyRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.CALL_CHOREOGRAPHY__PARTICIPANT_ASSOCIATIONS:
+ return ((InternalEList<?>) getParticipantAssociations())
+ .basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.CALL_CHOREOGRAPHY__PARTICIPANT_ASSOCIATIONS:
+ return getParticipantAssociations();
+ case Bpmn2Package.CALL_CHOREOGRAPHY__CALLED_CHOREOGRAPHY_REF:
+ if (resolve)
+ return getCalledChoreographyRef();
+ return basicGetCalledChoreographyRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.CALL_CHOREOGRAPHY__PARTICIPANT_ASSOCIATIONS:
+ getParticipantAssociations().clear();
+ getParticipantAssociations().addAll(
+ (Collection<? extends ParticipantAssociation>) newValue);
+ return;
+ case Bpmn2Package.CALL_CHOREOGRAPHY__CALLED_CHOREOGRAPHY_REF:
+ setCalledChoreographyRef((Choreography) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CALL_CHOREOGRAPHY__PARTICIPANT_ASSOCIATIONS:
+ getParticipantAssociations().clear();
+ return;
+ case Bpmn2Package.CALL_CHOREOGRAPHY__CALLED_CHOREOGRAPHY_REF:
+ setCalledChoreographyRef((Choreography) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CALL_CHOREOGRAPHY__PARTICIPANT_ASSOCIATIONS:
+ return participantAssociations != null
+ && !participantAssociations.isEmpty();
+ case Bpmn2Package.CALL_CHOREOGRAPHY__CALLED_CHOREOGRAPHY_REF:
+ return calledChoreographyRef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //CallChoreographyImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CallConversationImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CallConversationImpl.java
new file mode 100644
index 000000000..1aa605930
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CallConversationImpl.java
@@ -0,0 +1,242 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.CallConversation;
+import org.eclipse.bpmn2.Collaboration;
+import org.eclipse.bpmn2.ParticipantAssociation;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Call Conversation</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.CallConversationImpl#getParticipantAssociations <em>Participant Associations</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.CallConversationImpl#getCalledCollaborationRef <em>Called Collaboration Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class CallConversationImpl extends ConversationNodeImpl implements
+ CallConversation {
+ /**
+ * The cached value of the '{@link #getParticipantAssociations() <em>Participant Associations</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getParticipantAssociations()
+ * @generated
+ * @ordered
+ */
+ protected EList<ParticipantAssociation> participantAssociations;
+
+ /**
+ * The cached value of the '{@link #getCalledCollaborationRef() <em>Called Collaboration Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCalledCollaborationRef()
+ * @generated
+ * @ordered
+ */
+ protected Collaboration calledCollaborationRef;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CallConversationImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.CALL_CONVERSATION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<ParticipantAssociation> getParticipantAssociations() {
+ if (participantAssociations == null) {
+ participantAssociations = new EObjectContainmentEList<ParticipantAssociation>(
+ ParticipantAssociation.class, this,
+ Bpmn2Package.CALL_CONVERSATION__PARTICIPANT_ASSOCIATIONS);
+ }
+ return participantAssociations;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Collaboration getCalledCollaborationRef() {
+ if (calledCollaborationRef != null && calledCollaborationRef.eIsProxy()) {
+ InternalEObject oldCalledCollaborationRef = (InternalEObject) calledCollaborationRef;
+ calledCollaborationRef = (Collaboration) eResolveProxy(oldCalledCollaborationRef);
+ if (calledCollaborationRef != oldCalledCollaborationRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.RESOLVE,
+ Bpmn2Package.CALL_CONVERSATION__CALLED_COLLABORATION_REF,
+ oldCalledCollaborationRef, calledCollaborationRef));
+ }
+ }
+ return calledCollaborationRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Collaboration basicGetCalledCollaborationRef() {
+ return calledCollaborationRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCalledCollaborationRef(
+ Collaboration newCalledCollaborationRef) {
+ Collaboration oldCalledCollaborationRef = calledCollaborationRef;
+ calledCollaborationRef = newCalledCollaborationRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.CALL_CONVERSATION__CALLED_COLLABORATION_REF,
+ oldCalledCollaborationRef, calledCollaborationRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.CALL_CONVERSATION__PARTICIPANT_ASSOCIATIONS:
+ return ((InternalEList<?>) getParticipantAssociations())
+ .basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.CALL_CONVERSATION__PARTICIPANT_ASSOCIATIONS:
+ return getParticipantAssociations();
+ case Bpmn2Package.CALL_CONVERSATION__CALLED_COLLABORATION_REF:
+ if (resolve)
+ return getCalledCollaborationRef();
+ return basicGetCalledCollaborationRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.CALL_CONVERSATION__PARTICIPANT_ASSOCIATIONS:
+ getParticipantAssociations().clear();
+ getParticipantAssociations().addAll(
+ (Collection<? extends ParticipantAssociation>) newValue);
+ return;
+ case Bpmn2Package.CALL_CONVERSATION__CALLED_COLLABORATION_REF:
+ setCalledCollaborationRef((Collaboration) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CALL_CONVERSATION__PARTICIPANT_ASSOCIATIONS:
+ getParticipantAssociations().clear();
+ return;
+ case Bpmn2Package.CALL_CONVERSATION__CALLED_COLLABORATION_REF:
+ setCalledCollaborationRef((Collaboration) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CALL_CONVERSATION__PARTICIPANT_ASSOCIATIONS:
+ return participantAssociations != null
+ && !participantAssociations.isEmpty();
+ case Bpmn2Package.CALL_CONVERSATION__CALLED_COLLABORATION_REF:
+ return calledCollaborationRef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //CallConversationImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CallableElementImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CallableElementImpl.java
new file mode 100644
index 000000000..584d13c60
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CallableElementImpl.java
@@ -0,0 +1,369 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.CallableElement;
+import org.eclipse.bpmn2.InputOutputBinding;
+import org.eclipse.bpmn2.InputOutputSpecification;
+import org.eclipse.bpmn2.Interface;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Callable Element</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.CallableElementImpl#getSupportedInterfaceRefs <em>Supported Interface Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.CallableElementImpl#getIoSpecification <em>Io Specification</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.CallableElementImpl#getIoBinding <em>Io Binding</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.CallableElementImpl#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class CallableElementImpl extends RootElementImpl implements
+ CallableElement {
+ /**
+ * The cached value of the '{@link #getSupportedInterfaceRefs() <em>Supported Interface Refs</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSupportedInterfaceRefs()
+ * @generated
+ * @ordered
+ */
+ protected EList<Interface> supportedInterfaceRefs;
+
+ /**
+ * The cached value of the '{@link #getIoSpecification() <em>Io Specification</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIoSpecification()
+ * @generated
+ * @ordered
+ */
+ protected InputOutputSpecification ioSpecification;
+
+ /**
+ * The cached value of the '{@link #getIoBinding() <em>Io Binding</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIoBinding()
+ * @generated
+ * @ordered
+ */
+ protected EList<InputOutputBinding> ioBinding;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CallableElementImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.CALLABLE_ELEMENT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<Interface> getSupportedInterfaceRefs() {
+ if (supportedInterfaceRefs == null) {
+ supportedInterfaceRefs = new EObjectResolvingEList<Interface>(
+ Interface.class, this,
+ Bpmn2Package.CALLABLE_ELEMENT__SUPPORTED_INTERFACE_REFS);
+ }
+ return supportedInterfaceRefs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public InputOutputSpecification getIoSpecification() {
+ return ioSpecification;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetIoSpecification(
+ InputOutputSpecification newIoSpecification, NotificationChain msgs) {
+ InputOutputSpecification oldIoSpecification = ioSpecification;
+ ioSpecification = newIoSpecification;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET,
+ Bpmn2Package.CALLABLE_ELEMENT__IO_SPECIFICATION,
+ oldIoSpecification, newIoSpecification);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIoSpecification(InputOutputSpecification newIoSpecification) {
+ if (newIoSpecification != ioSpecification) {
+ NotificationChain msgs = null;
+ if (ioSpecification != null)
+ msgs = ((InternalEObject) ioSpecification)
+ .eInverseRemove(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.CALLABLE_ELEMENT__IO_SPECIFICATION,
+ null, msgs);
+ if (newIoSpecification != null)
+ msgs = ((InternalEObject) newIoSpecification)
+ .eInverseAdd(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.CALLABLE_ELEMENT__IO_SPECIFICATION,
+ null, msgs);
+ msgs = basicSetIoSpecification(newIoSpecification, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.CALLABLE_ELEMENT__IO_SPECIFICATION,
+ newIoSpecification, newIoSpecification));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<InputOutputBinding> getIoBinding() {
+ if (ioBinding == null) {
+ ioBinding = new EObjectContainmentEList<InputOutputBinding>(
+ InputOutputBinding.class, this,
+ Bpmn2Package.CALLABLE_ELEMENT__IO_BINDING);
+ }
+ return ioBinding;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.CALLABLE_ELEMENT__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.CALLABLE_ELEMENT__IO_SPECIFICATION:
+ return basicSetIoSpecification(null, msgs);
+ case Bpmn2Package.CALLABLE_ELEMENT__IO_BINDING:
+ return ((InternalEList<?>) getIoBinding()).basicRemove(otherEnd,
+ msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.CALLABLE_ELEMENT__SUPPORTED_INTERFACE_REFS:
+ return getSupportedInterfaceRefs();
+ case Bpmn2Package.CALLABLE_ELEMENT__IO_SPECIFICATION:
+ return getIoSpecification();
+ case Bpmn2Package.CALLABLE_ELEMENT__IO_BINDING:
+ return getIoBinding();
+ case Bpmn2Package.CALLABLE_ELEMENT__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.CALLABLE_ELEMENT__SUPPORTED_INTERFACE_REFS:
+ getSupportedInterfaceRefs().clear();
+ getSupportedInterfaceRefs().addAll(
+ (Collection<? extends Interface>) newValue);
+ return;
+ case Bpmn2Package.CALLABLE_ELEMENT__IO_SPECIFICATION:
+ setIoSpecification((InputOutputSpecification) newValue);
+ return;
+ case Bpmn2Package.CALLABLE_ELEMENT__IO_BINDING:
+ getIoBinding().clear();
+ getIoBinding().addAll(
+ (Collection<? extends InputOutputBinding>) newValue);
+ return;
+ case Bpmn2Package.CALLABLE_ELEMENT__NAME:
+ setName((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CALLABLE_ELEMENT__SUPPORTED_INTERFACE_REFS:
+ getSupportedInterfaceRefs().clear();
+ return;
+ case Bpmn2Package.CALLABLE_ELEMENT__IO_SPECIFICATION:
+ setIoSpecification((InputOutputSpecification) null);
+ return;
+ case Bpmn2Package.CALLABLE_ELEMENT__IO_BINDING:
+ getIoBinding().clear();
+ return;
+ case Bpmn2Package.CALLABLE_ELEMENT__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CALLABLE_ELEMENT__SUPPORTED_INTERFACE_REFS:
+ return supportedInterfaceRefs != null
+ && !supportedInterfaceRefs.isEmpty();
+ case Bpmn2Package.CALLABLE_ELEMENT__IO_SPECIFICATION:
+ return ioSpecification != null;
+ case Bpmn2Package.CALLABLE_ELEMENT__IO_BINDING:
+ return ioBinding != null && !ioBinding.isEmpty();
+ case Bpmn2Package.CALLABLE_ELEMENT__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
+ .equals(name);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //CallableElementImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CancelEventDefinitionImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CancelEventDefinitionImpl.java
new file mode 100644
index 000000000..7c7b4ac72
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CancelEventDefinitionImpl.java
@@ -0,0 +1,52 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.CancelEventDefinition;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Cancel Event Definition</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class CancelEventDefinitionImpl extends EventDefinitionImpl implements
+ CancelEventDefinition {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CancelEventDefinitionImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.CANCEL_EVENT_DEFINITION;
+ }
+
+} //CancelEventDefinitionImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CatchEventImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CatchEventImpl.java
new file mode 100644
index 000000000..b10d9ae7a
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CatchEventImpl.java
@@ -0,0 +1,445 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.CatchEvent;
+import org.eclipse.bpmn2.DataOutput;
+import org.eclipse.bpmn2.DataOutputAssociation;
+import org.eclipse.bpmn2.EventDefinition;
+import org.eclipse.bpmn2.OutputSet;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Catch Event</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.CatchEventImpl#getDataOutputs <em>Data Outputs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.CatchEventImpl#getDataOutputAssociation <em>Data Output Association</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.CatchEventImpl#getOutputSet <em>Output Set</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.CatchEventImpl#getEventDefinitions <em>Event Definitions</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.CatchEventImpl#getEventDefinitionRefs <em>Event Definition Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.CatchEventImpl#isParallelMultiple <em>Parallel Multiple</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class CatchEventImpl extends EventImpl implements CatchEvent {
+ /**
+ * The cached value of the '{@link #getDataOutputs() <em>Data Outputs</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDataOutputs()
+ * @generated
+ * @ordered
+ */
+ protected EList<DataOutput> dataOutputs;
+
+ /**
+ * The cached value of the '{@link #getDataOutputAssociation() <em>Data Output Association</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDataOutputAssociation()
+ * @generated
+ * @ordered
+ */
+ protected EList<DataOutputAssociation> dataOutputAssociation;
+
+ /**
+ * The cached value of the '{@link #getOutputSet() <em>Output Set</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOutputSet()
+ * @generated
+ * @ordered
+ */
+ protected OutputSet outputSet;
+
+ /**
+ * The cached value of the '{@link #getEventDefinitions() <em>Event Definitions</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getEventDefinitions()
+ * @generated
+ * @ordered
+ */
+ protected EList<EventDefinition> eventDefinitions;
+
+ /**
+ * The cached value of the '{@link #getEventDefinitionRefs() <em>Event Definition Refs</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getEventDefinitionRefs()
+ * @generated
+ * @ordered
+ */
+ protected EList<EventDefinition> eventDefinitionRefs;
+
+ /**
+ * The default value of the '{@link #isParallelMultiple() <em>Parallel Multiple</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isParallelMultiple()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean PARALLEL_MULTIPLE_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isParallelMultiple() <em>Parallel Multiple</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isParallelMultiple()
+ * @generated
+ * @ordered
+ */
+ protected boolean parallelMultiple = PARALLEL_MULTIPLE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CatchEventImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.CATCH_EVENT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<DataOutput> getDataOutputs() {
+ if (dataOutputs == null) {
+ dataOutputs = new EObjectContainmentEList<DataOutput>(
+ DataOutput.class, this,
+ Bpmn2Package.CATCH_EVENT__DATA_OUTPUTS);
+ }
+ return dataOutputs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<DataOutputAssociation> getDataOutputAssociation() {
+ if (dataOutputAssociation == null) {
+ dataOutputAssociation = new EObjectContainmentEList<DataOutputAssociation>(
+ DataOutputAssociation.class, this,
+ Bpmn2Package.CATCH_EVENT__DATA_OUTPUT_ASSOCIATION);
+ }
+ return dataOutputAssociation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OutputSet getOutputSet() {
+ return outputSet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetOutputSet(OutputSet newOutputSet,
+ NotificationChain msgs) {
+ OutputSet oldOutputSet = outputSet;
+ outputSet = newOutputSet;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET, Bpmn2Package.CATCH_EVENT__OUTPUT_SET,
+ oldOutputSet, newOutputSet);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setOutputSet(OutputSet newOutputSet) {
+ if (newOutputSet != outputSet) {
+ NotificationChain msgs = null;
+ if (outputSet != null)
+ msgs = ((InternalEObject) outputSet).eInverseRemove(this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.CATCH_EVENT__OUTPUT_SET, null,
+ msgs);
+ if (newOutputSet != null)
+ msgs = ((InternalEObject) newOutputSet).eInverseAdd(this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.CATCH_EVENT__OUTPUT_SET, null,
+ msgs);
+ msgs = basicSetOutputSet(newOutputSet, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.CATCH_EVENT__OUTPUT_SET, newOutputSet,
+ newOutputSet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<EventDefinition> getEventDefinitions() {
+ if (eventDefinitions == null) {
+ eventDefinitions = new EObjectContainmentEList<EventDefinition>(
+ EventDefinition.class, this,
+ Bpmn2Package.CATCH_EVENT__EVENT_DEFINITIONS);
+ }
+ return eventDefinitions;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<EventDefinition> getEventDefinitionRefs() {
+ if (eventDefinitionRefs == null) {
+ eventDefinitionRefs = new EObjectResolvingEList<EventDefinition>(
+ EventDefinition.class, this,
+ Bpmn2Package.CATCH_EVENT__EVENT_DEFINITION_REFS);
+ }
+ return eventDefinitionRefs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isParallelMultiple() {
+ return parallelMultiple;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setParallelMultiple(boolean newParallelMultiple) {
+ boolean oldParallelMultiple = parallelMultiple;
+ parallelMultiple = newParallelMultiple;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.CATCH_EVENT__PARALLEL_MULTIPLE,
+ oldParallelMultiple, parallelMultiple));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.CATCH_EVENT__DATA_OUTPUTS:
+ return ((InternalEList<?>) getDataOutputs()).basicRemove(otherEnd,
+ msgs);
+ case Bpmn2Package.CATCH_EVENT__DATA_OUTPUT_ASSOCIATION:
+ return ((InternalEList<?>) getDataOutputAssociation()).basicRemove(
+ otherEnd, msgs);
+ case Bpmn2Package.CATCH_EVENT__OUTPUT_SET:
+ return basicSetOutputSet(null, msgs);
+ case Bpmn2Package.CATCH_EVENT__EVENT_DEFINITIONS:
+ return ((InternalEList<?>) getEventDefinitions()).basicRemove(
+ otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.CATCH_EVENT__DATA_OUTPUTS:
+ return getDataOutputs();
+ case Bpmn2Package.CATCH_EVENT__DATA_OUTPUT_ASSOCIATION:
+ return getDataOutputAssociation();
+ case Bpmn2Package.CATCH_EVENT__OUTPUT_SET:
+ return getOutputSet();
+ case Bpmn2Package.CATCH_EVENT__EVENT_DEFINITIONS:
+ return getEventDefinitions();
+ case Bpmn2Package.CATCH_EVENT__EVENT_DEFINITION_REFS:
+ return getEventDefinitionRefs();
+ case Bpmn2Package.CATCH_EVENT__PARALLEL_MULTIPLE:
+ return isParallelMultiple();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.CATCH_EVENT__DATA_OUTPUTS:
+ getDataOutputs().clear();
+ getDataOutputs()
+ .addAll((Collection<? extends DataOutput>) newValue);
+ return;
+ case Bpmn2Package.CATCH_EVENT__DATA_OUTPUT_ASSOCIATION:
+ getDataOutputAssociation().clear();
+ getDataOutputAssociation().addAll(
+ (Collection<? extends DataOutputAssociation>) newValue);
+ return;
+ case Bpmn2Package.CATCH_EVENT__OUTPUT_SET:
+ setOutputSet((OutputSet) newValue);
+ return;
+ case Bpmn2Package.CATCH_EVENT__EVENT_DEFINITIONS:
+ getEventDefinitions().clear();
+ getEventDefinitions().addAll(
+ (Collection<? extends EventDefinition>) newValue);
+ return;
+ case Bpmn2Package.CATCH_EVENT__EVENT_DEFINITION_REFS:
+ getEventDefinitionRefs().clear();
+ getEventDefinitionRefs().addAll(
+ (Collection<? extends EventDefinition>) newValue);
+ return;
+ case Bpmn2Package.CATCH_EVENT__PARALLEL_MULTIPLE:
+ setParallelMultiple((Boolean) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CATCH_EVENT__DATA_OUTPUTS:
+ getDataOutputs().clear();
+ return;
+ case Bpmn2Package.CATCH_EVENT__DATA_OUTPUT_ASSOCIATION:
+ getDataOutputAssociation().clear();
+ return;
+ case Bpmn2Package.CATCH_EVENT__OUTPUT_SET:
+ setOutputSet((OutputSet) null);
+ return;
+ case Bpmn2Package.CATCH_EVENT__EVENT_DEFINITIONS:
+ getEventDefinitions().clear();
+ return;
+ case Bpmn2Package.CATCH_EVENT__EVENT_DEFINITION_REFS:
+ getEventDefinitionRefs().clear();
+ return;
+ case Bpmn2Package.CATCH_EVENT__PARALLEL_MULTIPLE:
+ setParallelMultiple(PARALLEL_MULTIPLE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CATCH_EVENT__DATA_OUTPUTS:
+ return dataOutputs != null && !dataOutputs.isEmpty();
+ case Bpmn2Package.CATCH_EVENT__DATA_OUTPUT_ASSOCIATION:
+ return dataOutputAssociation != null
+ && !dataOutputAssociation.isEmpty();
+ case Bpmn2Package.CATCH_EVENT__OUTPUT_SET:
+ return outputSet != null;
+ case Bpmn2Package.CATCH_EVENT__EVENT_DEFINITIONS:
+ return eventDefinitions != null && !eventDefinitions.isEmpty();
+ case Bpmn2Package.CATCH_EVENT__EVENT_DEFINITION_REFS:
+ return eventDefinitionRefs != null
+ && !eventDefinitionRefs.isEmpty();
+ case Bpmn2Package.CATCH_EVENT__PARALLEL_MULTIPLE:
+ return parallelMultiple != PARALLEL_MULTIPLE_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (parallelMultiple: ");
+ result.append(parallelMultiple);
+ result.append(')');
+ return result.toString();
+ }
+
+} //CatchEventImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CategoryImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CategoryImpl.java
new file mode 100644
index 000000000..3ab405a8f
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CategoryImpl.java
@@ -0,0 +1,242 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Category;
+import org.eclipse.bpmn2.CategoryValue;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Category</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.CategoryImpl#getCategoryValue <em>Category Value</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.CategoryImpl#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class CategoryImpl extends RootElementImpl implements Category {
+ /**
+ * The cached value of the '{@link #getCategoryValue() <em>Category Value</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCategoryValue()
+ * @generated
+ * @ordered
+ */
+ protected EList<CategoryValue> categoryValue;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CategoryImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.CATEGORY;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<CategoryValue> getCategoryValue() {
+ if (categoryValue == null) {
+ categoryValue = new EObjectContainmentEList<CategoryValue>(
+ CategoryValue.class, this,
+ Bpmn2Package.CATEGORY__CATEGORY_VALUE);
+ }
+ return categoryValue;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.CATEGORY__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.CATEGORY__CATEGORY_VALUE:
+ return ((InternalEList<?>) getCategoryValue()).basicRemove(
+ otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.CATEGORY__CATEGORY_VALUE:
+ return getCategoryValue();
+ case Bpmn2Package.CATEGORY__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.CATEGORY__CATEGORY_VALUE:
+ getCategoryValue().clear();
+ getCategoryValue().addAll(
+ (Collection<? extends CategoryValue>) newValue);
+ return;
+ case Bpmn2Package.CATEGORY__NAME:
+ setName((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CATEGORY__CATEGORY_VALUE:
+ getCategoryValue().clear();
+ return;
+ case Bpmn2Package.CATEGORY__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CATEGORY__CATEGORY_VALUE:
+ return categoryValue != null && !categoryValue.isEmpty();
+ case Bpmn2Package.CATEGORY__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
+ .equals(name);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //CategoryImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CategoryValueImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CategoryValueImpl.java
new file mode 100644
index 000000000..ebe1a1f80
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CategoryValueImpl.java
@@ -0,0 +1,198 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.CategoryValue;
+import org.eclipse.bpmn2.FlowElement;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Category Value</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.CategoryValueImpl#getValue <em>Value</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.CategoryValueImpl#getCategorizedFlowElements <em>Categorized Flow Elements</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class CategoryValueImpl extends BaseElementImpl implements CategoryValue {
+ /**
+ * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected static final String VALUE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected String value = VALUE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CategoryValueImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.CATEGORY_VALUE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setValue(String newValue) {
+ String oldValue = value;
+ value = newValue;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.CATEGORY_VALUE__VALUE, oldValue, value));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<FlowElement> getCategorizedFlowElements() {
+ // TODO: implement this method to return the 'Categorized Flow Elements' reference list
+ // Ensure that you remove @generated or mark it @generated NOT
+ // The list is expected to implement org.eclipse.emf.ecore.util.InternalEList and org.eclipse.emf.ecore.EStructuralFeature.Setting
+ // so it's likely that an appropriate subclass of org.eclipse.emf.ecore.util.EcoreEList should be used.
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.CATEGORY_VALUE__VALUE:
+ return getValue();
+ case Bpmn2Package.CATEGORY_VALUE__CATEGORIZED_FLOW_ELEMENTS:
+ return getCategorizedFlowElements();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.CATEGORY_VALUE__VALUE:
+ setValue((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CATEGORY_VALUE__VALUE:
+ setValue(VALUE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CATEGORY_VALUE__VALUE:
+ return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT
+ .equals(value);
+ case Bpmn2Package.CATEGORY_VALUE__CATEGORIZED_FLOW_ELEMENTS:
+ return !getCategorizedFlowElements().isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (value: ");
+ result.append(value);
+ result.append(')');
+ return result.toString();
+ }
+
+} //CategoryValueImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ChoreographyActivityImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ChoreographyActivityImpl.java
new file mode 100644
index 000000000..55ef71fa6
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ChoreographyActivityImpl.java
@@ -0,0 +1,355 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.ChoreographyActivity;
+import org.eclipse.bpmn2.ChoreographyLoopType;
+import org.eclipse.bpmn2.CorrelationKey;
+import org.eclipse.bpmn2.Participant;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Choreography Activity</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.ChoreographyActivityImpl#getParticipantRefs <em>Participant Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ChoreographyActivityImpl#getCorrelationKeys <em>Correlation Keys</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ChoreographyActivityImpl#getInitiatingParticipantRef <em>Initiating Participant Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ChoreographyActivityImpl#getLoopType <em>Loop Type</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class ChoreographyActivityImpl extends FlowNodeImpl implements
+ ChoreographyActivity {
+ /**
+ * The cached value of the '{@link #getParticipantRefs() <em>Participant Refs</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getParticipantRefs()
+ * @generated
+ * @ordered
+ */
+ protected EList<Participant> participantRefs;
+
+ /**
+ * The cached value of the '{@link #getCorrelationKeys() <em>Correlation Keys</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCorrelationKeys()
+ * @generated
+ * @ordered
+ */
+ protected EList<CorrelationKey> correlationKeys;
+
+ /**
+ * The cached value of the '{@link #getInitiatingParticipantRef() <em>Initiating Participant Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getInitiatingParticipantRef()
+ * @generated
+ * @ordered
+ */
+ protected Participant initiatingParticipantRef;
+
+ /**
+ * The default value of the '{@link #getLoopType() <em>Loop Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLoopType()
+ * @generated
+ * @ordered
+ */
+ protected static final ChoreographyLoopType LOOP_TYPE_EDEFAULT = ChoreographyLoopType.NONE;
+
+ /**
+ * The cached value of the '{@link #getLoopType() <em>Loop Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLoopType()
+ * @generated
+ * @ordered
+ */
+ protected ChoreographyLoopType loopType = LOOP_TYPE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ChoreographyActivityImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.CHOREOGRAPHY_ACTIVITY;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<Participant> getParticipantRefs() {
+ if (participantRefs == null) {
+ participantRefs = new EObjectResolvingEList<Participant>(
+ Participant.class, this,
+ Bpmn2Package.CHOREOGRAPHY_ACTIVITY__PARTICIPANT_REFS);
+ }
+ return participantRefs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<CorrelationKey> getCorrelationKeys() {
+ if (correlationKeys == null) {
+ correlationKeys = new EObjectContainmentEList<CorrelationKey>(
+ CorrelationKey.class, this,
+ Bpmn2Package.CHOREOGRAPHY_ACTIVITY__CORRELATION_KEYS);
+ }
+ return correlationKeys;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Participant getInitiatingParticipantRef() {
+ if (initiatingParticipantRef != null
+ && initiatingParticipantRef.eIsProxy()) {
+ InternalEObject oldInitiatingParticipantRef = (InternalEObject) initiatingParticipantRef;
+ initiatingParticipantRef = (Participant) eResolveProxy(oldInitiatingParticipantRef);
+ if (initiatingParticipantRef != oldInitiatingParticipantRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.RESOLVE,
+ Bpmn2Package.CHOREOGRAPHY_ACTIVITY__INITIATING_PARTICIPANT_REF,
+ oldInitiatingParticipantRef,
+ initiatingParticipantRef));
+ }
+ }
+ return initiatingParticipantRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Participant basicGetInitiatingParticipantRef() {
+ return initiatingParticipantRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setInitiatingParticipantRef(
+ Participant newInitiatingParticipantRef) {
+ Participant oldInitiatingParticipantRef = initiatingParticipantRef;
+ initiatingParticipantRef = newInitiatingParticipantRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.SET,
+ Bpmn2Package.CHOREOGRAPHY_ACTIVITY__INITIATING_PARTICIPANT_REF,
+ oldInitiatingParticipantRef, initiatingParticipantRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ChoreographyLoopType getLoopType() {
+ return loopType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLoopType(ChoreographyLoopType newLoopType) {
+ ChoreographyLoopType oldLoopType = loopType;
+ loopType = newLoopType == null ? LOOP_TYPE_EDEFAULT : newLoopType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.CHOREOGRAPHY_ACTIVITY__LOOP_TYPE, oldLoopType,
+ loopType));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.CHOREOGRAPHY_ACTIVITY__CORRELATION_KEYS:
+ return ((InternalEList<?>) getCorrelationKeys()).basicRemove(
+ otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.CHOREOGRAPHY_ACTIVITY__PARTICIPANT_REFS:
+ return getParticipantRefs();
+ case Bpmn2Package.CHOREOGRAPHY_ACTIVITY__CORRELATION_KEYS:
+ return getCorrelationKeys();
+ case Bpmn2Package.CHOREOGRAPHY_ACTIVITY__INITIATING_PARTICIPANT_REF:
+ if (resolve)
+ return getInitiatingParticipantRef();
+ return basicGetInitiatingParticipantRef();
+ case Bpmn2Package.CHOREOGRAPHY_ACTIVITY__LOOP_TYPE:
+ return getLoopType();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.CHOREOGRAPHY_ACTIVITY__PARTICIPANT_REFS:
+ getParticipantRefs().clear();
+ getParticipantRefs().addAll(
+ (Collection<? extends Participant>) newValue);
+ return;
+ case Bpmn2Package.CHOREOGRAPHY_ACTIVITY__CORRELATION_KEYS:
+ getCorrelationKeys().clear();
+ getCorrelationKeys().addAll(
+ (Collection<? extends CorrelationKey>) newValue);
+ return;
+ case Bpmn2Package.CHOREOGRAPHY_ACTIVITY__INITIATING_PARTICIPANT_REF:
+ setInitiatingParticipantRef((Participant) newValue);
+ return;
+ case Bpmn2Package.CHOREOGRAPHY_ACTIVITY__LOOP_TYPE:
+ setLoopType((ChoreographyLoopType) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CHOREOGRAPHY_ACTIVITY__PARTICIPANT_REFS:
+ getParticipantRefs().clear();
+ return;
+ case Bpmn2Package.CHOREOGRAPHY_ACTIVITY__CORRELATION_KEYS:
+ getCorrelationKeys().clear();
+ return;
+ case Bpmn2Package.CHOREOGRAPHY_ACTIVITY__INITIATING_PARTICIPANT_REF:
+ setInitiatingParticipantRef((Participant) null);
+ return;
+ case Bpmn2Package.CHOREOGRAPHY_ACTIVITY__LOOP_TYPE:
+ setLoopType(LOOP_TYPE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CHOREOGRAPHY_ACTIVITY__PARTICIPANT_REFS:
+ return participantRefs != null && !participantRefs.isEmpty();
+ case Bpmn2Package.CHOREOGRAPHY_ACTIVITY__CORRELATION_KEYS:
+ return correlationKeys != null && !correlationKeys.isEmpty();
+ case Bpmn2Package.CHOREOGRAPHY_ACTIVITY__INITIATING_PARTICIPANT_REF:
+ return initiatingParticipantRef != null;
+ case Bpmn2Package.CHOREOGRAPHY_ACTIVITY__LOOP_TYPE:
+ return loopType != LOOP_TYPE_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (loopType: ");
+ result.append(loopType);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ChoreographyActivityImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ChoreographyImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ChoreographyImpl.java
new file mode 100644
index 000000000..64a0eb44a
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ChoreographyImpl.java
@@ -0,0 +1,248 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Choreography;
+import org.eclipse.bpmn2.FlowElement;
+import org.eclipse.bpmn2.FlowElementsContainer;
+import org.eclipse.bpmn2.LaneSet;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Choreography</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.ChoreographyImpl#getLaneSets <em>Lane Sets</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ChoreographyImpl#getFlowElements <em>Flow Elements</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ChoreographyImpl extends CollaborationImpl implements Choreography {
+ /**
+ * The cached value of the '{@link #getLaneSets() <em>Lane Sets</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLaneSets()
+ * @generated
+ * @ordered
+ */
+ protected EList<LaneSet> laneSets;
+
+ /**
+ * The cached value of the '{@link #getFlowElements() <em>Flow Elements</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFlowElements()
+ * @generated
+ * @ordered
+ */
+ protected EList<FlowElement> flowElements;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ChoreographyImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.CHOREOGRAPHY;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<LaneSet> getLaneSets() {
+ if (laneSets == null) {
+ laneSets = new EObjectContainmentEList<LaneSet>(LaneSet.class,
+ this, Bpmn2Package.CHOREOGRAPHY__LANE_SETS);
+ }
+ return laneSets;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<FlowElement> getFlowElements() {
+ if (flowElements == null) {
+ flowElements = new EObjectContainmentEList<FlowElement>(
+ FlowElement.class, this,
+ Bpmn2Package.CHOREOGRAPHY__FLOW_ELEMENTS);
+ }
+ return flowElements;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.CHOREOGRAPHY__LANE_SETS:
+ return ((InternalEList<?>) getLaneSets()).basicRemove(otherEnd,
+ msgs);
+ case Bpmn2Package.CHOREOGRAPHY__FLOW_ELEMENTS:
+ return ((InternalEList<?>) getFlowElements()).basicRemove(otherEnd,
+ msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.CHOREOGRAPHY__LANE_SETS:
+ return getLaneSets();
+ case Bpmn2Package.CHOREOGRAPHY__FLOW_ELEMENTS:
+ return getFlowElements();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.CHOREOGRAPHY__LANE_SETS:
+ getLaneSets().clear();
+ getLaneSets().addAll((Collection<? extends LaneSet>) newValue);
+ return;
+ case Bpmn2Package.CHOREOGRAPHY__FLOW_ELEMENTS:
+ getFlowElements().clear();
+ getFlowElements().addAll(
+ (Collection<? extends FlowElement>) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CHOREOGRAPHY__LANE_SETS:
+ getLaneSets().clear();
+ return;
+ case Bpmn2Package.CHOREOGRAPHY__FLOW_ELEMENTS:
+ getFlowElements().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CHOREOGRAPHY__LANE_SETS:
+ return laneSets != null && !laneSets.isEmpty();
+ case Bpmn2Package.CHOREOGRAPHY__FLOW_ELEMENTS:
+ return flowElements != null && !flowElements.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
+ if (baseClass == FlowElementsContainer.class) {
+ switch (derivedFeatureID) {
+ case Bpmn2Package.CHOREOGRAPHY__LANE_SETS:
+ return Bpmn2Package.FLOW_ELEMENTS_CONTAINER__LANE_SETS;
+ case Bpmn2Package.CHOREOGRAPHY__FLOW_ELEMENTS:
+ return Bpmn2Package.FLOW_ELEMENTS_CONTAINER__FLOW_ELEMENTS;
+ default:
+ return -1;
+ }
+ }
+ return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
+ if (baseClass == FlowElementsContainer.class) {
+ switch (baseFeatureID) {
+ case Bpmn2Package.FLOW_ELEMENTS_CONTAINER__LANE_SETS:
+ return Bpmn2Package.CHOREOGRAPHY__LANE_SETS;
+ case Bpmn2Package.FLOW_ELEMENTS_CONTAINER__FLOW_ELEMENTS:
+ return Bpmn2Package.CHOREOGRAPHY__FLOW_ELEMENTS;
+ default:
+ return -1;
+ }
+ }
+ return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
+ }
+
+} //ChoreographyImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ChoreographyTaskImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ChoreographyTaskImpl.java
new file mode 100644
index 000000000..bd7535c18
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ChoreographyTaskImpl.java
@@ -0,0 +1,149 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.ChoreographyTask;
+import org.eclipse.bpmn2.MessageFlow;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Choreography Task</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.ChoreographyTaskImpl#getMessageFlowRef <em>Message Flow Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ChoreographyTaskImpl extends ChoreographyActivityImpl implements
+ ChoreographyTask {
+ /**
+ * The cached value of the '{@link #getMessageFlowRef() <em>Message Flow Ref</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMessageFlowRef()
+ * @generated
+ * @ordered
+ */
+ protected EList<MessageFlow> messageFlowRef;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ChoreographyTaskImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.CHOREOGRAPHY_TASK;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<MessageFlow> getMessageFlowRef() {
+ if (messageFlowRef == null) {
+ messageFlowRef = new EObjectResolvingEList<MessageFlow>(
+ MessageFlow.class, this,
+ Bpmn2Package.CHOREOGRAPHY_TASK__MESSAGE_FLOW_REF);
+ }
+ return messageFlowRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.CHOREOGRAPHY_TASK__MESSAGE_FLOW_REF:
+ return getMessageFlowRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.CHOREOGRAPHY_TASK__MESSAGE_FLOW_REF:
+ getMessageFlowRef().clear();
+ getMessageFlowRef().addAll(
+ (Collection<? extends MessageFlow>) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CHOREOGRAPHY_TASK__MESSAGE_FLOW_REF:
+ getMessageFlowRef().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CHOREOGRAPHY_TASK__MESSAGE_FLOW_REF:
+ return messageFlowRef != null && !messageFlowRef.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //ChoreographyTaskImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CollaborationImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CollaborationImpl.java
new file mode 100644
index 000000000..44b62e9c4
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CollaborationImpl.java
@@ -0,0 +1,666 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Artifact;
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Choreography;
+import org.eclipse.bpmn2.Collaboration;
+import org.eclipse.bpmn2.ConversationAssociation;
+import org.eclipse.bpmn2.ConversationLink;
+import org.eclipse.bpmn2.ConversationNode;
+import org.eclipse.bpmn2.CorrelationKey;
+import org.eclipse.bpmn2.MessageFlow;
+import org.eclipse.bpmn2.MessageFlowAssociation;
+import org.eclipse.bpmn2.Participant;
+import org.eclipse.bpmn2.ParticipantAssociation;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Collaboration</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.CollaborationImpl#getParticipants <em>Participants</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.CollaborationImpl#getMessageFlows <em>Message Flows</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.CollaborationImpl#getArtifacts <em>Artifacts</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.CollaborationImpl#getConversations <em>Conversations</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.CollaborationImpl#getConversationAssociations <em>Conversation Associations</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.CollaborationImpl#getParticipantAssociations <em>Participant Associations</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.CollaborationImpl#getMessageFlowAssociations <em>Message Flow Associations</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.CollaborationImpl#getCorrelationKeys <em>Correlation Keys</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.CollaborationImpl#getChoreographyRef <em>Choreography Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.CollaborationImpl#getConversationLinks <em>Conversation Links</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.CollaborationImpl#isIsClosed <em>Is Closed</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.CollaborationImpl#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class CollaborationImpl extends RootElementImpl implements Collaboration {
+ /**
+ * The cached value of the '{@link #getParticipants() <em>Participants</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getParticipants()
+ * @generated
+ * @ordered
+ */
+ protected EList<Participant> participants;
+
+ /**
+ * The cached value of the '{@link #getMessageFlows() <em>Message Flows</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMessageFlows()
+ * @generated
+ * @ordered
+ */
+ protected EList<MessageFlow> messageFlows;
+
+ /**
+ * The cached value of the '{@link #getArtifacts() <em>Artifacts</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getArtifacts()
+ * @generated
+ * @ordered
+ */
+ protected EList<Artifact> artifacts;
+
+ /**
+ * The cached value of the '{@link #getConversations() <em>Conversations</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getConversations()
+ * @generated
+ * @ordered
+ */
+ protected EList<ConversationNode> conversations;
+
+ /**
+ * The cached value of the '{@link #getConversationAssociations() <em>Conversation Associations</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getConversationAssociations()
+ * @generated
+ * @ordered
+ */
+ protected EList<ConversationAssociation> conversationAssociations;
+
+ /**
+ * The cached value of the '{@link #getParticipantAssociations() <em>Participant Associations</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getParticipantAssociations()
+ * @generated
+ * @ordered
+ */
+ protected EList<ParticipantAssociation> participantAssociations;
+
+ /**
+ * The cached value of the '{@link #getMessageFlowAssociations() <em>Message Flow Associations</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMessageFlowAssociations()
+ * @generated
+ * @ordered
+ */
+ protected EList<MessageFlowAssociation> messageFlowAssociations;
+
+ /**
+ * The cached value of the '{@link #getCorrelationKeys() <em>Correlation Keys</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCorrelationKeys()
+ * @generated
+ * @ordered
+ */
+ protected EList<CorrelationKey> correlationKeys;
+
+ /**
+ * The cached value of the '{@link #getChoreographyRef() <em>Choreography Ref</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getChoreographyRef()
+ * @generated
+ * @ordered
+ */
+ protected EList<Choreography> choreographyRef;
+
+ /**
+ * The cached value of the '{@link #getConversationLinks() <em>Conversation Links</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getConversationLinks()
+ * @generated
+ * @ordered
+ */
+ protected EList<ConversationLink> conversationLinks;
+
+ /**
+ * The default value of the '{@link #isIsClosed() <em>Is Closed</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsClosed()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean IS_CLOSED_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isIsClosed() <em>Is Closed</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsClosed()
+ * @generated
+ * @ordered
+ */
+ protected boolean isClosed = IS_CLOSED_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CollaborationImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.COLLABORATION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<Participant> getParticipants() {
+ if (participants == null) {
+ participants = new EObjectContainmentEList<Participant>(
+ Participant.class, this,
+ Bpmn2Package.COLLABORATION__PARTICIPANTS);
+ }
+ return participants;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<MessageFlow> getMessageFlows() {
+ if (messageFlows == null) {
+ messageFlows = new EObjectContainmentEList<MessageFlow>(
+ MessageFlow.class, this,
+ Bpmn2Package.COLLABORATION__MESSAGE_FLOWS);
+ }
+ return messageFlows;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<Artifact> getArtifacts() {
+ if (artifacts == null) {
+ artifacts = new EObjectContainmentEList<Artifact>(Artifact.class,
+ this, Bpmn2Package.COLLABORATION__ARTIFACTS);
+ }
+ return artifacts;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<ConversationNode> getConversations() {
+ if (conversations == null) {
+ conversations = new EObjectContainmentEList<ConversationNode>(
+ ConversationNode.class, this,
+ Bpmn2Package.COLLABORATION__CONVERSATIONS);
+ }
+ return conversations;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<ConversationAssociation> getConversationAssociations() {
+ if (conversationAssociations == null) {
+ conversationAssociations = new EObjectContainmentEList<ConversationAssociation>(
+ ConversationAssociation.class, this,
+ Bpmn2Package.COLLABORATION__CONVERSATION_ASSOCIATIONS);
+ }
+ return conversationAssociations;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<ParticipantAssociation> getParticipantAssociations() {
+ if (participantAssociations == null) {
+ participantAssociations = new EObjectContainmentEList<ParticipantAssociation>(
+ ParticipantAssociation.class, this,
+ Bpmn2Package.COLLABORATION__PARTICIPANT_ASSOCIATIONS);
+ }
+ return participantAssociations;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<MessageFlowAssociation> getMessageFlowAssociations() {
+ if (messageFlowAssociations == null) {
+ messageFlowAssociations = new EObjectContainmentEList<MessageFlowAssociation>(
+ MessageFlowAssociation.class, this,
+ Bpmn2Package.COLLABORATION__MESSAGE_FLOW_ASSOCIATIONS);
+ }
+ return messageFlowAssociations;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<CorrelationKey> getCorrelationKeys() {
+ if (correlationKeys == null) {
+ correlationKeys = new EObjectContainmentEList<CorrelationKey>(
+ CorrelationKey.class, this,
+ Bpmn2Package.COLLABORATION__CORRELATION_KEYS);
+ }
+ return correlationKeys;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<Choreography> getChoreographyRef() {
+ if (choreographyRef == null) {
+ choreographyRef = new EObjectResolvingEList<Choreography>(
+ Choreography.class, this,
+ Bpmn2Package.COLLABORATION__CHOREOGRAPHY_REF);
+ }
+ return choreographyRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<ConversationLink> getConversationLinks() {
+ if (conversationLinks == null) {
+ conversationLinks = new EObjectContainmentEList<ConversationLink>(
+ ConversationLink.class, this,
+ Bpmn2Package.COLLABORATION__CONVERSATION_LINKS);
+ }
+ return conversationLinks;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isIsClosed() {
+ return isClosed;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIsClosed(boolean newIsClosed) {
+ boolean oldIsClosed = isClosed;
+ isClosed = newIsClosed;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.COLLABORATION__IS_CLOSED, oldIsClosed,
+ isClosed));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.COLLABORATION__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.COLLABORATION__PARTICIPANTS:
+ return ((InternalEList<?>) getParticipants()).basicRemove(otherEnd,
+ msgs);
+ case Bpmn2Package.COLLABORATION__MESSAGE_FLOWS:
+ return ((InternalEList<?>) getMessageFlows()).basicRemove(otherEnd,
+ msgs);
+ case Bpmn2Package.COLLABORATION__ARTIFACTS:
+ return ((InternalEList<?>) getArtifacts()).basicRemove(otherEnd,
+ msgs);
+ case Bpmn2Package.COLLABORATION__CONVERSATIONS:
+ return ((InternalEList<?>) getConversations()).basicRemove(
+ otherEnd, msgs);
+ case Bpmn2Package.COLLABORATION__CONVERSATION_ASSOCIATIONS:
+ return ((InternalEList<?>) getConversationAssociations())
+ .basicRemove(otherEnd, msgs);
+ case Bpmn2Package.COLLABORATION__PARTICIPANT_ASSOCIATIONS:
+ return ((InternalEList<?>) getParticipantAssociations())
+ .basicRemove(otherEnd, msgs);
+ case Bpmn2Package.COLLABORATION__MESSAGE_FLOW_ASSOCIATIONS:
+ return ((InternalEList<?>) getMessageFlowAssociations())
+ .basicRemove(otherEnd, msgs);
+ case Bpmn2Package.COLLABORATION__CORRELATION_KEYS:
+ return ((InternalEList<?>) getCorrelationKeys()).basicRemove(
+ otherEnd, msgs);
+ case Bpmn2Package.COLLABORATION__CONVERSATION_LINKS:
+ return ((InternalEList<?>) getConversationLinks()).basicRemove(
+ otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.COLLABORATION__PARTICIPANTS:
+ return getParticipants();
+ case Bpmn2Package.COLLABORATION__MESSAGE_FLOWS:
+ return getMessageFlows();
+ case Bpmn2Package.COLLABORATION__ARTIFACTS:
+ return getArtifacts();
+ case Bpmn2Package.COLLABORATION__CONVERSATIONS:
+ return getConversations();
+ case Bpmn2Package.COLLABORATION__CONVERSATION_ASSOCIATIONS:
+ return getConversationAssociations();
+ case Bpmn2Package.COLLABORATION__PARTICIPANT_ASSOCIATIONS:
+ return getParticipantAssociations();
+ case Bpmn2Package.COLLABORATION__MESSAGE_FLOW_ASSOCIATIONS:
+ return getMessageFlowAssociations();
+ case Bpmn2Package.COLLABORATION__CORRELATION_KEYS:
+ return getCorrelationKeys();
+ case Bpmn2Package.COLLABORATION__CHOREOGRAPHY_REF:
+ return getChoreographyRef();
+ case Bpmn2Package.COLLABORATION__CONVERSATION_LINKS:
+ return getConversationLinks();
+ case Bpmn2Package.COLLABORATION__IS_CLOSED:
+ return isIsClosed();
+ case Bpmn2Package.COLLABORATION__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.COLLABORATION__PARTICIPANTS:
+ getParticipants().clear();
+ getParticipants().addAll(
+ (Collection<? extends Participant>) newValue);
+ return;
+ case Bpmn2Package.COLLABORATION__MESSAGE_FLOWS:
+ getMessageFlows().clear();
+ getMessageFlows().addAll(
+ (Collection<? extends MessageFlow>) newValue);
+ return;
+ case Bpmn2Package.COLLABORATION__ARTIFACTS:
+ getArtifacts().clear();
+ getArtifacts().addAll((Collection<? extends Artifact>) newValue);
+ return;
+ case Bpmn2Package.COLLABORATION__CONVERSATIONS:
+ getConversations().clear();
+ getConversations().addAll(
+ (Collection<? extends ConversationNode>) newValue);
+ return;
+ case Bpmn2Package.COLLABORATION__CONVERSATION_ASSOCIATIONS:
+ getConversationAssociations().clear();
+ getConversationAssociations().addAll(
+ (Collection<? extends ConversationAssociation>) newValue);
+ return;
+ case Bpmn2Package.COLLABORATION__PARTICIPANT_ASSOCIATIONS:
+ getParticipantAssociations().clear();
+ getParticipantAssociations().addAll(
+ (Collection<? extends ParticipantAssociation>) newValue);
+ return;
+ case Bpmn2Package.COLLABORATION__MESSAGE_FLOW_ASSOCIATIONS:
+ getMessageFlowAssociations().clear();
+ getMessageFlowAssociations().addAll(
+ (Collection<? extends MessageFlowAssociation>) newValue);
+ return;
+ case Bpmn2Package.COLLABORATION__CORRELATION_KEYS:
+ getCorrelationKeys().clear();
+ getCorrelationKeys().addAll(
+ (Collection<? extends CorrelationKey>) newValue);
+ return;
+ case Bpmn2Package.COLLABORATION__CHOREOGRAPHY_REF:
+ getChoreographyRef().clear();
+ getChoreographyRef().addAll(
+ (Collection<? extends Choreography>) newValue);
+ return;
+ case Bpmn2Package.COLLABORATION__CONVERSATION_LINKS:
+ getConversationLinks().clear();
+ getConversationLinks().addAll(
+ (Collection<? extends ConversationLink>) newValue);
+ return;
+ case Bpmn2Package.COLLABORATION__IS_CLOSED:
+ setIsClosed((Boolean) newValue);
+ return;
+ case Bpmn2Package.COLLABORATION__NAME:
+ setName((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.COLLABORATION__PARTICIPANTS:
+ getParticipants().clear();
+ return;
+ case Bpmn2Package.COLLABORATION__MESSAGE_FLOWS:
+ getMessageFlows().clear();
+ return;
+ case Bpmn2Package.COLLABORATION__ARTIFACTS:
+ getArtifacts().clear();
+ return;
+ case Bpmn2Package.COLLABORATION__CONVERSATIONS:
+ getConversations().clear();
+ return;
+ case Bpmn2Package.COLLABORATION__CONVERSATION_ASSOCIATIONS:
+ getConversationAssociations().clear();
+ return;
+ case Bpmn2Package.COLLABORATION__PARTICIPANT_ASSOCIATIONS:
+ getParticipantAssociations().clear();
+ return;
+ case Bpmn2Package.COLLABORATION__MESSAGE_FLOW_ASSOCIATIONS:
+ getMessageFlowAssociations().clear();
+ return;
+ case Bpmn2Package.COLLABORATION__CORRELATION_KEYS:
+ getCorrelationKeys().clear();
+ return;
+ case Bpmn2Package.COLLABORATION__CHOREOGRAPHY_REF:
+ getChoreographyRef().clear();
+ return;
+ case Bpmn2Package.COLLABORATION__CONVERSATION_LINKS:
+ getConversationLinks().clear();
+ return;
+ case Bpmn2Package.COLLABORATION__IS_CLOSED:
+ setIsClosed(IS_CLOSED_EDEFAULT);
+ return;
+ case Bpmn2Package.COLLABORATION__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.COLLABORATION__PARTICIPANTS:
+ return participants != null && !participants.isEmpty();
+ case Bpmn2Package.COLLABORATION__MESSAGE_FLOWS:
+ return messageFlows != null && !messageFlows.isEmpty();
+ case Bpmn2Package.COLLABORATION__ARTIFACTS:
+ return artifacts != null && !artifacts.isEmpty();
+ case Bpmn2Package.COLLABORATION__CONVERSATIONS:
+ return conversations != null && !conversations.isEmpty();
+ case Bpmn2Package.COLLABORATION__CONVERSATION_ASSOCIATIONS:
+ return conversationAssociations != null
+ && !conversationAssociations.isEmpty();
+ case Bpmn2Package.COLLABORATION__PARTICIPANT_ASSOCIATIONS:
+ return participantAssociations != null
+ && !participantAssociations.isEmpty();
+ case Bpmn2Package.COLLABORATION__MESSAGE_FLOW_ASSOCIATIONS:
+ return messageFlowAssociations != null
+ && !messageFlowAssociations.isEmpty();
+ case Bpmn2Package.COLLABORATION__CORRELATION_KEYS:
+ return correlationKeys != null && !correlationKeys.isEmpty();
+ case Bpmn2Package.COLLABORATION__CHOREOGRAPHY_REF:
+ return choreographyRef != null && !choreographyRef.isEmpty();
+ case Bpmn2Package.COLLABORATION__CONVERSATION_LINKS:
+ return conversationLinks != null && !conversationLinks.isEmpty();
+ case Bpmn2Package.COLLABORATION__IS_CLOSED:
+ return isClosed != IS_CLOSED_EDEFAULT;
+ case Bpmn2Package.COLLABORATION__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
+ .equals(name);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (isClosed: ");
+ result.append(isClosed);
+ result.append(", name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //CollaborationImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CompensateEventDefinitionImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CompensateEventDefinitionImpl.java
new file mode 100644
index 000000000..011786aba
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CompensateEventDefinitionImpl.java
@@ -0,0 +1,249 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Activity;
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.CompensateEventDefinition;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Compensate Event Definition</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.CompensateEventDefinitionImpl#getActivityRef <em>Activity Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.CompensateEventDefinitionImpl#isWaitForCompletion <em>Wait For Completion</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class CompensateEventDefinitionImpl extends EventDefinitionImpl
+ implements CompensateEventDefinition {
+ /**
+ * The cached value of the '{@link #getActivityRef() <em>Activity Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getActivityRef()
+ * @generated
+ * @ordered
+ */
+ protected Activity activityRef;
+
+ /**
+ * The default value of the '{@link #isWaitForCompletion() <em>Wait For Completion</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isWaitForCompletion()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean WAIT_FOR_COMPLETION_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isWaitForCompletion() <em>Wait For Completion</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isWaitForCompletion()
+ * @generated
+ * @ordered
+ */
+ protected boolean waitForCompletion = WAIT_FOR_COMPLETION_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CompensateEventDefinitionImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.COMPENSATE_EVENT_DEFINITION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Activity getActivityRef() {
+ if (activityRef != null && activityRef.eIsProxy()) {
+ InternalEObject oldActivityRef = (InternalEObject) activityRef;
+ activityRef = (Activity) eResolveProxy(oldActivityRef);
+ if (activityRef != oldActivityRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.RESOLVE,
+ Bpmn2Package.COMPENSATE_EVENT_DEFINITION__ACTIVITY_REF,
+ oldActivityRef, activityRef));
+ }
+ }
+ return activityRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Activity basicGetActivityRef() {
+ return activityRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setActivityRef(Activity newActivityRef) {
+ Activity oldActivityRef = activityRef;
+ activityRef = newActivityRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.COMPENSATE_EVENT_DEFINITION__ACTIVITY_REF,
+ oldActivityRef, activityRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isWaitForCompletion() {
+ return waitForCompletion;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setWaitForCompletion(boolean newWaitForCompletion) {
+ boolean oldWaitForCompletion = waitForCompletion;
+ waitForCompletion = newWaitForCompletion;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.SET,
+ Bpmn2Package.COMPENSATE_EVENT_DEFINITION__WAIT_FOR_COMPLETION,
+ oldWaitForCompletion, waitForCompletion));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.COMPENSATE_EVENT_DEFINITION__ACTIVITY_REF:
+ if (resolve)
+ return getActivityRef();
+ return basicGetActivityRef();
+ case Bpmn2Package.COMPENSATE_EVENT_DEFINITION__WAIT_FOR_COMPLETION:
+ return isWaitForCompletion();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.COMPENSATE_EVENT_DEFINITION__ACTIVITY_REF:
+ setActivityRef((Activity) newValue);
+ return;
+ case Bpmn2Package.COMPENSATE_EVENT_DEFINITION__WAIT_FOR_COMPLETION:
+ setWaitForCompletion((Boolean) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.COMPENSATE_EVENT_DEFINITION__ACTIVITY_REF:
+ setActivityRef((Activity) null);
+ return;
+ case Bpmn2Package.COMPENSATE_EVENT_DEFINITION__WAIT_FOR_COMPLETION:
+ setWaitForCompletion(WAIT_FOR_COMPLETION_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.COMPENSATE_EVENT_DEFINITION__ACTIVITY_REF:
+ return activityRef != null;
+ case Bpmn2Package.COMPENSATE_EVENT_DEFINITION__WAIT_FOR_COMPLETION:
+ return waitForCompletion != WAIT_FOR_COMPLETION_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (waitForCompletion: ");
+ result.append(waitForCompletion);
+ result.append(')');
+ return result.toString();
+ }
+
+} //CompensateEventDefinitionImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ComplexBehaviorDefinitionImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ComplexBehaviorDefinitionImpl.java
new file mode 100644
index 000000000..693497368
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ComplexBehaviorDefinitionImpl.java
@@ -0,0 +1,294 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.ComplexBehaviorDefinition;
+import org.eclipse.bpmn2.FormalExpression;
+import org.eclipse.bpmn2.ImplicitThrowEvent;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Complex Behavior Definition</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.ComplexBehaviorDefinitionImpl#getCondition <em>Condition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ComplexBehaviorDefinitionImpl#getEvent <em>Event</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ComplexBehaviorDefinitionImpl extends BaseElementImpl implements
+ ComplexBehaviorDefinition {
+ /**
+ * The cached value of the '{@link #getCondition() <em>Condition</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCondition()
+ * @generated
+ * @ordered
+ */
+ protected FormalExpression condition;
+
+ /**
+ * The cached value of the '{@link #getEvent() <em>Event</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getEvent()
+ * @generated
+ * @ordered
+ */
+ protected ImplicitThrowEvent event;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ComplexBehaviorDefinitionImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.COMPLEX_BEHAVIOR_DEFINITION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FormalExpression getCondition() {
+ return condition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetCondition(FormalExpression newCondition,
+ NotificationChain msgs) {
+ FormalExpression oldCondition = condition;
+ condition = newCondition;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET,
+ Bpmn2Package.COMPLEX_BEHAVIOR_DEFINITION__CONDITION,
+ oldCondition, newCondition);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCondition(FormalExpression newCondition) {
+ if (newCondition != condition) {
+ NotificationChain msgs = null;
+ if (condition != null)
+ msgs = ((InternalEObject) condition)
+ .eInverseRemove(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.COMPLEX_BEHAVIOR_DEFINITION__CONDITION,
+ null, msgs);
+ if (newCondition != null)
+ msgs = ((InternalEObject) newCondition)
+ .eInverseAdd(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.COMPLEX_BEHAVIOR_DEFINITION__CONDITION,
+ null, msgs);
+ msgs = basicSetCondition(newCondition, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.COMPLEX_BEHAVIOR_DEFINITION__CONDITION,
+ newCondition, newCondition));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ImplicitThrowEvent getEvent() {
+ return event;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetEvent(ImplicitThrowEvent newEvent,
+ NotificationChain msgs) {
+ ImplicitThrowEvent oldEvent = event;
+ event = newEvent;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET,
+ Bpmn2Package.COMPLEX_BEHAVIOR_DEFINITION__EVENT, oldEvent,
+ newEvent);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setEvent(ImplicitThrowEvent newEvent) {
+ if (newEvent != event) {
+ NotificationChain msgs = null;
+ if (event != null)
+ msgs = ((InternalEObject) event)
+ .eInverseRemove(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.COMPLEX_BEHAVIOR_DEFINITION__EVENT,
+ null, msgs);
+ if (newEvent != null)
+ msgs = ((InternalEObject) newEvent)
+ .eInverseAdd(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.COMPLEX_BEHAVIOR_DEFINITION__EVENT,
+ null, msgs);
+ msgs = basicSetEvent(newEvent, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.COMPLEX_BEHAVIOR_DEFINITION__EVENT, newEvent,
+ newEvent));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.COMPLEX_BEHAVIOR_DEFINITION__CONDITION:
+ return basicSetCondition(null, msgs);
+ case Bpmn2Package.COMPLEX_BEHAVIOR_DEFINITION__EVENT:
+ return basicSetEvent(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.COMPLEX_BEHAVIOR_DEFINITION__CONDITION:
+ return getCondition();
+ case Bpmn2Package.COMPLEX_BEHAVIOR_DEFINITION__EVENT:
+ return getEvent();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.COMPLEX_BEHAVIOR_DEFINITION__CONDITION:
+ setCondition((FormalExpression) newValue);
+ return;
+ case Bpmn2Package.COMPLEX_BEHAVIOR_DEFINITION__EVENT:
+ setEvent((ImplicitThrowEvent) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.COMPLEX_BEHAVIOR_DEFINITION__CONDITION:
+ setCondition((FormalExpression) null);
+ return;
+ case Bpmn2Package.COMPLEX_BEHAVIOR_DEFINITION__EVENT:
+ setEvent((ImplicitThrowEvent) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.COMPLEX_BEHAVIOR_DEFINITION__CONDITION:
+ return condition != null;
+ case Bpmn2Package.COMPLEX_BEHAVIOR_DEFINITION__EVENT:
+ return event != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //ComplexBehaviorDefinitionImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ComplexGatewayImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ComplexGatewayImpl.java
new file mode 100644
index 000000000..7de9976d8
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ComplexGatewayImpl.java
@@ -0,0 +1,251 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.ComplexGateway;
+import org.eclipse.bpmn2.Expression;
+import org.eclipse.bpmn2.SequenceFlow;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Complex Gateway</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.ComplexGatewayImpl#getActivationCondition <em>Activation Condition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ComplexGatewayImpl#getDefault <em>Default</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ComplexGatewayImpl extends GatewayImpl implements ComplexGateway {
+ /**
+ * The cached value of the '{@link #getActivationCondition() <em>Activation Condition</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getActivationCondition()
+ * @generated
+ * @ordered
+ */
+ protected Expression activationCondition;
+
+ /**
+ * The cached value of the '{@link #getDefault() <em>Default</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDefault()
+ * @generated
+ * @ordered
+ */
+ protected SequenceFlow default_;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ComplexGatewayImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.COMPLEX_GATEWAY;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Expression getActivationCondition() {
+ return activationCondition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetActivationCondition(
+ Expression newActivationCondition, NotificationChain msgs) {
+ Expression oldActivationCondition = activationCondition;
+ activationCondition = newActivationCondition;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET,
+ Bpmn2Package.COMPLEX_GATEWAY__ACTIVATION_CONDITION,
+ oldActivationCondition, newActivationCondition);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setActivationCondition(Expression newActivationCondition) {
+ if (newActivationCondition != activationCondition) {
+ NotificationChain msgs = null;
+ if (activationCondition != null)
+ msgs = ((InternalEObject) activationCondition)
+ .eInverseRemove(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.COMPLEX_GATEWAY__ACTIVATION_CONDITION,
+ null, msgs);
+ if (newActivationCondition != null)
+ msgs = ((InternalEObject) newActivationCondition)
+ .eInverseAdd(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.COMPLEX_GATEWAY__ACTIVATION_CONDITION,
+ null, msgs);
+ msgs = basicSetActivationCondition(newActivationCondition, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.COMPLEX_GATEWAY__ACTIVATION_CONDITION,
+ newActivationCondition, newActivationCondition));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SequenceFlow getDefault() {
+ return default_;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDefault(SequenceFlow newDefault) {
+ SequenceFlow oldDefault = default_;
+ default_ = newDefault;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.COMPLEX_GATEWAY__DEFAULT, oldDefault, default_));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.COMPLEX_GATEWAY__ACTIVATION_CONDITION:
+ return basicSetActivationCondition(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.COMPLEX_GATEWAY__ACTIVATION_CONDITION:
+ return getActivationCondition();
+ case Bpmn2Package.COMPLEX_GATEWAY__DEFAULT:
+ return getDefault();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.COMPLEX_GATEWAY__ACTIVATION_CONDITION:
+ setActivationCondition((Expression) newValue);
+ return;
+ case Bpmn2Package.COMPLEX_GATEWAY__DEFAULT:
+ setDefault((SequenceFlow) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.COMPLEX_GATEWAY__ACTIVATION_CONDITION:
+ setActivationCondition((Expression) null);
+ return;
+ case Bpmn2Package.COMPLEX_GATEWAY__DEFAULT:
+ setDefault((SequenceFlow) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.COMPLEX_GATEWAY__ACTIVATION_CONDITION:
+ return activationCondition != null;
+ case Bpmn2Package.COMPLEX_GATEWAY__DEFAULT:
+ return default_ != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //ComplexGatewayImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ConditionalEventDefinitionImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ConditionalEventDefinitionImpl.java
new file mode 100644
index 000000000..01a466b13
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ConditionalEventDefinitionImpl.java
@@ -0,0 +1,208 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.ConditionalEventDefinition;
+import org.eclipse.bpmn2.Expression;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Conditional Event Definition</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.ConditionalEventDefinitionImpl#getCondition <em>Condition</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ConditionalEventDefinitionImpl extends EventDefinitionImpl
+ implements ConditionalEventDefinition {
+ /**
+ * The cached value of the '{@link #getCondition() <em>Condition</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCondition()
+ * @generated
+ * @ordered
+ */
+ protected Expression condition;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ConditionalEventDefinitionImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.CONDITIONAL_EVENT_DEFINITION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Expression getCondition() {
+ return condition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetCondition(Expression newCondition,
+ NotificationChain msgs) {
+ Expression oldCondition = condition;
+ condition = newCondition;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET,
+ Bpmn2Package.CONDITIONAL_EVENT_DEFINITION__CONDITION,
+ oldCondition, newCondition);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCondition(Expression newCondition) {
+ if (newCondition != condition) {
+ NotificationChain msgs = null;
+ if (condition != null)
+ msgs = ((InternalEObject) condition)
+ .eInverseRemove(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.CONDITIONAL_EVENT_DEFINITION__CONDITION,
+ null, msgs);
+ if (newCondition != null)
+ msgs = ((InternalEObject) newCondition)
+ .eInverseAdd(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.CONDITIONAL_EVENT_DEFINITION__CONDITION,
+ null, msgs);
+ msgs = basicSetCondition(newCondition, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.CONDITIONAL_EVENT_DEFINITION__CONDITION,
+ newCondition, newCondition));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.CONDITIONAL_EVENT_DEFINITION__CONDITION:
+ return basicSetCondition(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.CONDITIONAL_EVENT_DEFINITION__CONDITION:
+ return getCondition();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.CONDITIONAL_EVENT_DEFINITION__CONDITION:
+ setCondition((Expression) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CONDITIONAL_EVENT_DEFINITION__CONDITION:
+ setCondition((Expression) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CONDITIONAL_EVENT_DEFINITION__CONDITION:
+ return condition != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //ConditionalEventDefinitionImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ConversationAssociationImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ConversationAssociationImpl.java
new file mode 100644
index 000000000..cf7dfae30
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ConversationAssociationImpl.java
@@ -0,0 +1,253 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.ConversationAssociation;
+import org.eclipse.bpmn2.ConversationNode;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Conversation Association</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.ConversationAssociationImpl#getInnerConversationNodeRef <em>Inner Conversation Node Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ConversationAssociationImpl#getOuterConversationNodeRef <em>Outer Conversation Node Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ConversationAssociationImpl extends BaseElementImpl implements
+ ConversationAssociation {
+ /**
+ * The cached value of the '{@link #getInnerConversationNodeRef() <em>Inner Conversation Node Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getInnerConversationNodeRef()
+ * @generated
+ * @ordered
+ */
+ protected ConversationNode innerConversationNodeRef;
+
+ /**
+ * The cached value of the '{@link #getOuterConversationNodeRef() <em>Outer Conversation Node Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOuterConversationNodeRef()
+ * @generated
+ * @ordered
+ */
+ protected ConversationNode outerConversationNodeRef;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ConversationAssociationImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.CONVERSATION_ASSOCIATION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ConversationNode getInnerConversationNodeRef() {
+ if (innerConversationNodeRef != null
+ && innerConversationNodeRef.eIsProxy()) {
+ InternalEObject oldInnerConversationNodeRef = (InternalEObject) innerConversationNodeRef;
+ innerConversationNodeRef = (ConversationNode) eResolveProxy(oldInnerConversationNodeRef);
+ if (innerConversationNodeRef != oldInnerConversationNodeRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.RESOLVE,
+ Bpmn2Package.CONVERSATION_ASSOCIATION__INNER_CONVERSATION_NODE_REF,
+ oldInnerConversationNodeRef,
+ innerConversationNodeRef));
+ }
+ }
+ return innerConversationNodeRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ConversationNode basicGetInnerConversationNodeRef() {
+ return innerConversationNodeRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setInnerConversationNodeRef(
+ ConversationNode newInnerConversationNodeRef) {
+ ConversationNode oldInnerConversationNodeRef = innerConversationNodeRef;
+ innerConversationNodeRef = newInnerConversationNodeRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.SET,
+ Bpmn2Package.CONVERSATION_ASSOCIATION__INNER_CONVERSATION_NODE_REF,
+ oldInnerConversationNodeRef, innerConversationNodeRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ConversationNode getOuterConversationNodeRef() {
+ if (outerConversationNodeRef != null
+ && outerConversationNodeRef.eIsProxy()) {
+ InternalEObject oldOuterConversationNodeRef = (InternalEObject) outerConversationNodeRef;
+ outerConversationNodeRef = (ConversationNode) eResolveProxy(oldOuterConversationNodeRef);
+ if (outerConversationNodeRef != oldOuterConversationNodeRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.RESOLVE,
+ Bpmn2Package.CONVERSATION_ASSOCIATION__OUTER_CONVERSATION_NODE_REF,
+ oldOuterConversationNodeRef,
+ outerConversationNodeRef));
+ }
+ }
+ return outerConversationNodeRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ConversationNode basicGetOuterConversationNodeRef() {
+ return outerConversationNodeRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setOuterConversationNodeRef(
+ ConversationNode newOuterConversationNodeRef) {
+ ConversationNode oldOuterConversationNodeRef = outerConversationNodeRef;
+ outerConversationNodeRef = newOuterConversationNodeRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.SET,
+ Bpmn2Package.CONVERSATION_ASSOCIATION__OUTER_CONVERSATION_NODE_REF,
+ oldOuterConversationNodeRef, outerConversationNodeRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.CONVERSATION_ASSOCIATION__INNER_CONVERSATION_NODE_REF:
+ if (resolve)
+ return getInnerConversationNodeRef();
+ return basicGetInnerConversationNodeRef();
+ case Bpmn2Package.CONVERSATION_ASSOCIATION__OUTER_CONVERSATION_NODE_REF:
+ if (resolve)
+ return getOuterConversationNodeRef();
+ return basicGetOuterConversationNodeRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.CONVERSATION_ASSOCIATION__INNER_CONVERSATION_NODE_REF:
+ setInnerConversationNodeRef((ConversationNode) newValue);
+ return;
+ case Bpmn2Package.CONVERSATION_ASSOCIATION__OUTER_CONVERSATION_NODE_REF:
+ setOuterConversationNodeRef((ConversationNode) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CONVERSATION_ASSOCIATION__INNER_CONVERSATION_NODE_REF:
+ setInnerConversationNodeRef((ConversationNode) null);
+ return;
+ case Bpmn2Package.CONVERSATION_ASSOCIATION__OUTER_CONVERSATION_NODE_REF:
+ setOuterConversationNodeRef((ConversationNode) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CONVERSATION_ASSOCIATION__INNER_CONVERSATION_NODE_REF:
+ return innerConversationNodeRef != null;
+ case Bpmn2Package.CONVERSATION_ASSOCIATION__OUTER_CONVERSATION_NODE_REF:
+ return outerConversationNodeRef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //ConversationAssociationImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ConversationImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ConversationImpl.java
new file mode 100644
index 000000000..acd9795da
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ConversationImpl.java
@@ -0,0 +1,52 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Conversation;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Conversation</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class ConversationImpl extends ConversationNodeImpl implements
+ Conversation {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ConversationImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.CONVERSATION;
+ }
+
+} //ConversationImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ConversationLinkImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ConversationLinkImpl.java
new file mode 100644
index 000000000..6e603959e
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ConversationLinkImpl.java
@@ -0,0 +1,310 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.ConversationLink;
+import org.eclipse.bpmn2.InteractionNode;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Conversation Link</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.ConversationLinkImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ConversationLinkImpl#getSourceRef <em>Source Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ConversationLinkImpl#getTargetRef <em>Target Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ConversationLinkImpl extends BaseElementImpl implements
+ ConversationLink {
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getSourceRef() <em>Source Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSourceRef()
+ * @generated
+ * @ordered
+ */
+ protected InteractionNode sourceRef;
+
+ /**
+ * The cached value of the '{@link #getTargetRef() <em>Target Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTargetRef()
+ * @generated
+ * @ordered
+ */
+ protected InteractionNode targetRef;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ConversationLinkImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.CONVERSATION_LINK;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.CONVERSATION_LINK__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public InteractionNode getSourceRef() {
+ if (sourceRef != null && sourceRef.eIsProxy()) {
+ InternalEObject oldSourceRef = (InternalEObject) sourceRef;
+ sourceRef = (InteractionNode) eResolveProxy(oldSourceRef);
+ if (sourceRef != oldSourceRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.CONVERSATION_LINK__SOURCE_REF,
+ oldSourceRef, sourceRef));
+ }
+ }
+ return sourceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public InteractionNode basicGetSourceRef() {
+ return sourceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSourceRef(InteractionNode newSourceRef) {
+ InteractionNode oldSourceRef = sourceRef;
+ sourceRef = newSourceRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.CONVERSATION_LINK__SOURCE_REF, oldSourceRef,
+ sourceRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public InteractionNode getTargetRef() {
+ if (targetRef != null && targetRef.eIsProxy()) {
+ InternalEObject oldTargetRef = (InternalEObject) targetRef;
+ targetRef = (InteractionNode) eResolveProxy(oldTargetRef);
+ if (targetRef != oldTargetRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.CONVERSATION_LINK__TARGET_REF,
+ oldTargetRef, targetRef));
+ }
+ }
+ return targetRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public InteractionNode basicGetTargetRef() {
+ return targetRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTargetRef(InteractionNode newTargetRef) {
+ InteractionNode oldTargetRef = targetRef;
+ targetRef = newTargetRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.CONVERSATION_LINK__TARGET_REF, oldTargetRef,
+ targetRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.CONVERSATION_LINK__NAME:
+ return getName();
+ case Bpmn2Package.CONVERSATION_LINK__SOURCE_REF:
+ if (resolve)
+ return getSourceRef();
+ return basicGetSourceRef();
+ case Bpmn2Package.CONVERSATION_LINK__TARGET_REF:
+ if (resolve)
+ return getTargetRef();
+ return basicGetTargetRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.CONVERSATION_LINK__NAME:
+ setName((String) newValue);
+ return;
+ case Bpmn2Package.CONVERSATION_LINK__SOURCE_REF:
+ setSourceRef((InteractionNode) newValue);
+ return;
+ case Bpmn2Package.CONVERSATION_LINK__TARGET_REF:
+ setTargetRef((InteractionNode) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CONVERSATION_LINK__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case Bpmn2Package.CONVERSATION_LINK__SOURCE_REF:
+ setSourceRef((InteractionNode) null);
+ return;
+ case Bpmn2Package.CONVERSATION_LINK__TARGET_REF:
+ setTargetRef((InteractionNode) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CONVERSATION_LINK__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
+ .equals(name);
+ case Bpmn2Package.CONVERSATION_LINK__SOURCE_REF:
+ return sourceRef != null;
+ case Bpmn2Package.CONVERSATION_LINK__TARGET_REF:
+ return targetRef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ConversationLinkImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ConversationNodeImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ConversationNodeImpl.java
new file mode 100644
index 000000000..f89720e70
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ConversationNodeImpl.java
@@ -0,0 +1,398 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.ConversationLink;
+import org.eclipse.bpmn2.ConversationNode;
+import org.eclipse.bpmn2.CorrelationKey;
+import org.eclipse.bpmn2.InteractionNode;
+import org.eclipse.bpmn2.MessageFlow;
+import org.eclipse.bpmn2.Participant;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Conversation Node</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.ConversationNodeImpl#getIncomingConversationLinks <em>Incoming Conversation Links</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ConversationNodeImpl#getOutgoingConversationLinks <em>Outgoing Conversation Links</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ConversationNodeImpl#getParticipantRefs <em>Participant Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ConversationNodeImpl#getMessageFlowRefs <em>Message Flow Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ConversationNodeImpl#getCorrelationKeys <em>Correlation Keys</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ConversationNodeImpl#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ConversationNodeImpl extends BaseElementImpl implements
+ ConversationNode {
+ /**
+ * The cached value of the '{@link #getParticipantRefs() <em>Participant Refs</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getParticipantRefs()
+ * @generated
+ * @ordered
+ */
+ protected EList<Participant> participantRefs;
+
+ /**
+ * The cached value of the '{@link #getMessageFlowRefs() <em>Message Flow Refs</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMessageFlowRefs()
+ * @generated
+ * @ordered
+ */
+ protected EList<MessageFlow> messageFlowRefs;
+
+ /**
+ * The cached value of the '{@link #getCorrelationKeys() <em>Correlation Keys</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCorrelationKeys()
+ * @generated
+ * @ordered
+ */
+ protected EList<CorrelationKey> correlationKeys;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ConversationNodeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.CONVERSATION_NODE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<ConversationLink> getIncomingConversationLinks() {
+ // TODO: implement this method to return the 'Incoming Conversation Links' reference list
+ // Ensure that you remove @generated or mark it @generated NOT
+ // The list is expected to implement org.eclipse.emf.ecore.util.InternalEList and org.eclipse.emf.ecore.EStructuralFeature.Setting
+ // so it's likely that an appropriate subclass of org.eclipse.emf.ecore.util.EcoreEList should be used.
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<ConversationLink> getOutgoingConversationLinks() {
+ // TODO: implement this method to return the 'Outgoing Conversation Links' reference list
+ // Ensure that you remove @generated or mark it @generated NOT
+ // The list is expected to implement org.eclipse.emf.ecore.util.InternalEList and org.eclipse.emf.ecore.EStructuralFeature.Setting
+ // so it's likely that an appropriate subclass of org.eclipse.emf.ecore.util.EcoreEList should be used.
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<Participant> getParticipantRefs() {
+ if (participantRefs == null) {
+ participantRefs = new EObjectResolvingEList<Participant>(
+ Participant.class, this,
+ Bpmn2Package.CONVERSATION_NODE__PARTICIPANT_REFS);
+ }
+ return participantRefs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<MessageFlow> getMessageFlowRefs() {
+ if (messageFlowRefs == null) {
+ messageFlowRefs = new EObjectResolvingEList<MessageFlow>(
+ MessageFlow.class, this,
+ Bpmn2Package.CONVERSATION_NODE__MESSAGE_FLOW_REFS);
+ }
+ return messageFlowRefs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<CorrelationKey> getCorrelationKeys() {
+ if (correlationKeys == null) {
+ correlationKeys = new EObjectContainmentEList<CorrelationKey>(
+ CorrelationKey.class, this,
+ Bpmn2Package.CONVERSATION_NODE__CORRELATION_KEYS);
+ }
+ return correlationKeys;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.CONVERSATION_NODE__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.CONVERSATION_NODE__CORRELATION_KEYS:
+ return ((InternalEList<?>) getCorrelationKeys()).basicRemove(
+ otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.CONVERSATION_NODE__INCOMING_CONVERSATION_LINKS:
+ return getIncomingConversationLinks();
+ case Bpmn2Package.CONVERSATION_NODE__OUTGOING_CONVERSATION_LINKS:
+ return getOutgoingConversationLinks();
+ case Bpmn2Package.CONVERSATION_NODE__PARTICIPANT_REFS:
+ return getParticipantRefs();
+ case Bpmn2Package.CONVERSATION_NODE__MESSAGE_FLOW_REFS:
+ return getMessageFlowRefs();
+ case Bpmn2Package.CONVERSATION_NODE__CORRELATION_KEYS:
+ return getCorrelationKeys();
+ case Bpmn2Package.CONVERSATION_NODE__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.CONVERSATION_NODE__PARTICIPANT_REFS:
+ getParticipantRefs().clear();
+ getParticipantRefs().addAll(
+ (Collection<? extends Participant>) newValue);
+ return;
+ case Bpmn2Package.CONVERSATION_NODE__MESSAGE_FLOW_REFS:
+ getMessageFlowRefs().clear();
+ getMessageFlowRefs().addAll(
+ (Collection<? extends MessageFlow>) newValue);
+ return;
+ case Bpmn2Package.CONVERSATION_NODE__CORRELATION_KEYS:
+ getCorrelationKeys().clear();
+ getCorrelationKeys().addAll(
+ (Collection<? extends CorrelationKey>) newValue);
+ return;
+ case Bpmn2Package.CONVERSATION_NODE__NAME:
+ setName((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CONVERSATION_NODE__PARTICIPANT_REFS:
+ getParticipantRefs().clear();
+ return;
+ case Bpmn2Package.CONVERSATION_NODE__MESSAGE_FLOW_REFS:
+ getMessageFlowRefs().clear();
+ return;
+ case Bpmn2Package.CONVERSATION_NODE__CORRELATION_KEYS:
+ getCorrelationKeys().clear();
+ return;
+ case Bpmn2Package.CONVERSATION_NODE__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CONVERSATION_NODE__INCOMING_CONVERSATION_LINKS:
+ return !getIncomingConversationLinks().isEmpty();
+ case Bpmn2Package.CONVERSATION_NODE__OUTGOING_CONVERSATION_LINKS:
+ return !getOutgoingConversationLinks().isEmpty();
+ case Bpmn2Package.CONVERSATION_NODE__PARTICIPANT_REFS:
+ return participantRefs != null && !participantRefs.isEmpty();
+ case Bpmn2Package.CONVERSATION_NODE__MESSAGE_FLOW_REFS:
+ return messageFlowRefs != null && !messageFlowRefs.isEmpty();
+ case Bpmn2Package.CONVERSATION_NODE__CORRELATION_KEYS:
+ return correlationKeys != null && !correlationKeys.isEmpty();
+ case Bpmn2Package.CONVERSATION_NODE__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
+ .equals(name);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
+ if (baseClass == InteractionNode.class) {
+ switch (derivedFeatureID) {
+ case Bpmn2Package.CONVERSATION_NODE__INCOMING_CONVERSATION_LINKS:
+ return Bpmn2Package.INTERACTION_NODE__INCOMING_CONVERSATION_LINKS;
+ case Bpmn2Package.CONVERSATION_NODE__OUTGOING_CONVERSATION_LINKS:
+ return Bpmn2Package.INTERACTION_NODE__OUTGOING_CONVERSATION_LINKS;
+ default:
+ return -1;
+ }
+ }
+ return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
+ if (baseClass == InteractionNode.class) {
+ switch (baseFeatureID) {
+ case Bpmn2Package.INTERACTION_NODE__INCOMING_CONVERSATION_LINKS:
+ return Bpmn2Package.CONVERSATION_NODE__INCOMING_CONVERSATION_LINKS;
+ case Bpmn2Package.INTERACTION_NODE__OUTGOING_CONVERSATION_LINKS:
+ return Bpmn2Package.CONVERSATION_NODE__OUTGOING_CONVERSATION_LINKS;
+ default:
+ return -1;
+ }
+ }
+ return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ConversationNodeImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CorrelationKeyImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CorrelationKeyImpl.java
new file mode 100644
index 000000000..35df57a0b
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CorrelationKeyImpl.java
@@ -0,0 +1,225 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.CorrelationKey;
+import org.eclipse.bpmn2.CorrelationProperty;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Correlation Key</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.CorrelationKeyImpl#getCorrelationPropertyRef <em>Correlation Property Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.CorrelationKeyImpl#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class CorrelationKeyImpl extends BaseElementImpl implements
+ CorrelationKey {
+ /**
+ * The cached value of the '{@link #getCorrelationPropertyRef() <em>Correlation Property Ref</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCorrelationPropertyRef()
+ * @generated
+ * @ordered
+ */
+ protected EList<CorrelationProperty> correlationPropertyRef;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CorrelationKeyImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.CORRELATION_KEY;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<CorrelationProperty> getCorrelationPropertyRef() {
+ if (correlationPropertyRef == null) {
+ correlationPropertyRef = new EObjectResolvingEList<CorrelationProperty>(
+ CorrelationProperty.class, this,
+ Bpmn2Package.CORRELATION_KEY__CORRELATION_PROPERTY_REF);
+ }
+ return correlationPropertyRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.CORRELATION_KEY__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.CORRELATION_KEY__CORRELATION_PROPERTY_REF:
+ return getCorrelationPropertyRef();
+ case Bpmn2Package.CORRELATION_KEY__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.CORRELATION_KEY__CORRELATION_PROPERTY_REF:
+ getCorrelationPropertyRef().clear();
+ getCorrelationPropertyRef().addAll(
+ (Collection<? extends CorrelationProperty>) newValue);
+ return;
+ case Bpmn2Package.CORRELATION_KEY__NAME:
+ setName((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CORRELATION_KEY__CORRELATION_PROPERTY_REF:
+ getCorrelationPropertyRef().clear();
+ return;
+ case Bpmn2Package.CORRELATION_KEY__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CORRELATION_KEY__CORRELATION_PROPERTY_REF:
+ return correlationPropertyRef != null
+ && !correlationPropertyRef.isEmpty();
+ case Bpmn2Package.CORRELATION_KEY__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
+ .equals(name);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //CorrelationKeyImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CorrelationPropertyBindingImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CorrelationPropertyBindingImpl.java
new file mode 100644
index 000000000..7a966d92f
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CorrelationPropertyBindingImpl.java
@@ -0,0 +1,279 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.CorrelationProperty;
+import org.eclipse.bpmn2.CorrelationPropertyBinding;
+import org.eclipse.bpmn2.FormalExpression;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Correlation Property Binding</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.CorrelationPropertyBindingImpl#getDataPath <em>Data Path</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.CorrelationPropertyBindingImpl#getCorrelationPropertyRef <em>Correlation Property Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class CorrelationPropertyBindingImpl extends BaseElementImpl implements
+ CorrelationPropertyBinding {
+ /**
+ * The cached value of the '{@link #getDataPath() <em>Data Path</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDataPath()
+ * @generated
+ * @ordered
+ */
+ protected FormalExpression dataPath;
+
+ /**
+ * The cached value of the '{@link #getCorrelationPropertyRef() <em>Correlation Property Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCorrelationPropertyRef()
+ * @generated
+ * @ordered
+ */
+ protected CorrelationProperty correlationPropertyRef;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CorrelationPropertyBindingImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.CORRELATION_PROPERTY_BINDING;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FormalExpression getDataPath() {
+ return dataPath;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDataPath(FormalExpression newDataPath,
+ NotificationChain msgs) {
+ FormalExpression oldDataPath = dataPath;
+ dataPath = newDataPath;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET,
+ Bpmn2Package.CORRELATION_PROPERTY_BINDING__DATA_PATH,
+ oldDataPath, newDataPath);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDataPath(FormalExpression newDataPath) {
+ if (newDataPath != dataPath) {
+ NotificationChain msgs = null;
+ if (dataPath != null)
+ msgs = ((InternalEObject) dataPath)
+ .eInverseRemove(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.CORRELATION_PROPERTY_BINDING__DATA_PATH,
+ null, msgs);
+ if (newDataPath != null)
+ msgs = ((InternalEObject) newDataPath)
+ .eInverseAdd(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.CORRELATION_PROPERTY_BINDING__DATA_PATH,
+ null, msgs);
+ msgs = basicSetDataPath(newDataPath, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.CORRELATION_PROPERTY_BINDING__DATA_PATH,
+ newDataPath, newDataPath));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CorrelationProperty getCorrelationPropertyRef() {
+ if (correlationPropertyRef != null && correlationPropertyRef.eIsProxy()) {
+ InternalEObject oldCorrelationPropertyRef = (InternalEObject) correlationPropertyRef;
+ correlationPropertyRef = (CorrelationProperty) eResolveProxy(oldCorrelationPropertyRef);
+ if (correlationPropertyRef != oldCorrelationPropertyRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.RESOLVE,
+ Bpmn2Package.CORRELATION_PROPERTY_BINDING__CORRELATION_PROPERTY_REF,
+ oldCorrelationPropertyRef, correlationPropertyRef));
+ }
+ }
+ return correlationPropertyRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CorrelationProperty basicGetCorrelationPropertyRef() {
+ return correlationPropertyRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCorrelationPropertyRef(
+ CorrelationProperty newCorrelationPropertyRef) {
+ CorrelationProperty oldCorrelationPropertyRef = correlationPropertyRef;
+ correlationPropertyRef = newCorrelationPropertyRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.SET,
+ Bpmn2Package.CORRELATION_PROPERTY_BINDING__CORRELATION_PROPERTY_REF,
+ oldCorrelationPropertyRef, correlationPropertyRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.CORRELATION_PROPERTY_BINDING__DATA_PATH:
+ return basicSetDataPath(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.CORRELATION_PROPERTY_BINDING__DATA_PATH:
+ return getDataPath();
+ case Bpmn2Package.CORRELATION_PROPERTY_BINDING__CORRELATION_PROPERTY_REF:
+ if (resolve)
+ return getCorrelationPropertyRef();
+ return basicGetCorrelationPropertyRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.CORRELATION_PROPERTY_BINDING__DATA_PATH:
+ setDataPath((FormalExpression) newValue);
+ return;
+ case Bpmn2Package.CORRELATION_PROPERTY_BINDING__CORRELATION_PROPERTY_REF:
+ setCorrelationPropertyRef((CorrelationProperty) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CORRELATION_PROPERTY_BINDING__DATA_PATH:
+ setDataPath((FormalExpression) null);
+ return;
+ case Bpmn2Package.CORRELATION_PROPERTY_BINDING__CORRELATION_PROPERTY_REF:
+ setCorrelationPropertyRef((CorrelationProperty) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CORRELATION_PROPERTY_BINDING__DATA_PATH:
+ return dataPath != null;
+ case Bpmn2Package.CORRELATION_PROPERTY_BINDING__CORRELATION_PROPERTY_REF:
+ return correlationPropertyRef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //CorrelationPropertyBindingImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CorrelationPropertyImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CorrelationPropertyImpl.java
new file mode 100644
index 000000000..1d05b4e85
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CorrelationPropertyImpl.java
@@ -0,0 +1,310 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.CorrelationProperty;
+import org.eclipse.bpmn2.CorrelationPropertyRetrievalExpression;
+import org.eclipse.bpmn2.ItemDefinition;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Correlation Property</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.CorrelationPropertyImpl#getCorrelationPropertyRetrievalExpression <em>Correlation Property Retrieval Expression</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.CorrelationPropertyImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.CorrelationPropertyImpl#getType <em>Type</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class CorrelationPropertyImpl extends RootElementImpl implements
+ CorrelationProperty {
+ /**
+ * The cached value of the '{@link #getCorrelationPropertyRetrievalExpression() <em>Correlation Property Retrieval Expression</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCorrelationPropertyRetrievalExpression()
+ * @generated
+ * @ordered
+ */
+ protected EList<CorrelationPropertyRetrievalExpression> correlationPropertyRetrievalExpression;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getType() <em>Type</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected ItemDefinition type;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CorrelationPropertyImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.CORRELATION_PROPERTY;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<CorrelationPropertyRetrievalExpression> getCorrelationPropertyRetrievalExpression() {
+ if (correlationPropertyRetrievalExpression == null) {
+ correlationPropertyRetrievalExpression = new EObjectContainmentEList<CorrelationPropertyRetrievalExpression>(
+ CorrelationPropertyRetrievalExpression.class,
+ this,
+ Bpmn2Package.CORRELATION_PROPERTY__CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION);
+ }
+ return correlationPropertyRetrievalExpression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.CORRELATION_PROPERTY__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ItemDefinition getType() {
+ if (type != null && type.eIsProxy()) {
+ InternalEObject oldType = (InternalEObject) type;
+ type = (ItemDefinition) eResolveProxy(oldType);
+ if (type != oldType) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.CORRELATION_PROPERTY__TYPE, oldType,
+ type));
+ }
+ }
+ return type;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ItemDefinition basicGetType() {
+ return type;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setType(ItemDefinition newType) {
+ ItemDefinition oldType = type;
+ type = newType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.CORRELATION_PROPERTY__TYPE, oldType, type));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.CORRELATION_PROPERTY__CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION:
+ return ((InternalEList<?>) getCorrelationPropertyRetrievalExpression())
+ .basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.CORRELATION_PROPERTY__CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION:
+ return getCorrelationPropertyRetrievalExpression();
+ case Bpmn2Package.CORRELATION_PROPERTY__NAME:
+ return getName();
+ case Bpmn2Package.CORRELATION_PROPERTY__TYPE:
+ if (resolve)
+ return getType();
+ return basicGetType();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.CORRELATION_PROPERTY__CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION:
+ getCorrelationPropertyRetrievalExpression().clear();
+ getCorrelationPropertyRetrievalExpression()
+ .addAll((Collection<? extends CorrelationPropertyRetrievalExpression>) newValue);
+ return;
+ case Bpmn2Package.CORRELATION_PROPERTY__NAME:
+ setName((String) newValue);
+ return;
+ case Bpmn2Package.CORRELATION_PROPERTY__TYPE:
+ setType((ItemDefinition) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CORRELATION_PROPERTY__CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION:
+ getCorrelationPropertyRetrievalExpression().clear();
+ return;
+ case Bpmn2Package.CORRELATION_PROPERTY__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case Bpmn2Package.CORRELATION_PROPERTY__TYPE:
+ setType((ItemDefinition) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CORRELATION_PROPERTY__CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION:
+ return correlationPropertyRetrievalExpression != null
+ && !correlationPropertyRetrievalExpression.isEmpty();
+ case Bpmn2Package.CORRELATION_PROPERTY__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
+ .equals(name);
+ case Bpmn2Package.CORRELATION_PROPERTY__TYPE:
+ return type != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //CorrelationPropertyImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CorrelationPropertyRetrievalExpressionImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CorrelationPropertyRetrievalExpressionImpl.java
new file mode 100644
index 000000000..64f9436ca
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CorrelationPropertyRetrievalExpressionImpl.java
@@ -0,0 +1,281 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.CorrelationPropertyRetrievalExpression;
+import org.eclipse.bpmn2.FormalExpression;
+import org.eclipse.bpmn2.Message;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Correlation Property Retrieval Expression</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.CorrelationPropertyRetrievalExpressionImpl#getMessagePath <em>Message Path</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.CorrelationPropertyRetrievalExpressionImpl#getMessageRef <em>Message Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class CorrelationPropertyRetrievalExpressionImpl extends BaseElementImpl
+ implements CorrelationPropertyRetrievalExpression {
+ /**
+ * The cached value of the '{@link #getMessagePath() <em>Message Path</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMessagePath()
+ * @generated
+ * @ordered
+ */
+ protected FormalExpression messagePath;
+
+ /**
+ * The cached value of the '{@link #getMessageRef() <em>Message Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMessageRef()
+ * @generated
+ * @ordered
+ */
+ protected Message messageRef;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CorrelationPropertyRetrievalExpressionImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FormalExpression getMessagePath() {
+ return messagePath;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetMessagePath(
+ FormalExpression newMessagePath, NotificationChain msgs) {
+ FormalExpression oldMessagePath = messagePath;
+ messagePath = newMessagePath;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(
+ this,
+ Notification.SET,
+ Bpmn2Package.CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION__MESSAGE_PATH,
+ oldMessagePath, newMessagePath);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMessagePath(FormalExpression newMessagePath) {
+ if (newMessagePath != messagePath) {
+ NotificationChain msgs = null;
+ if (messagePath != null)
+ msgs = ((InternalEObject) messagePath)
+ .eInverseRemove(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION__MESSAGE_PATH,
+ null, msgs);
+ if (newMessagePath != null)
+ msgs = ((InternalEObject) newMessagePath)
+ .eInverseAdd(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION__MESSAGE_PATH,
+ null, msgs);
+ msgs = basicSetMessagePath(newMessagePath, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.SET,
+ Bpmn2Package.CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION__MESSAGE_PATH,
+ newMessagePath, newMessagePath));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Message getMessageRef() {
+ if (messageRef != null && messageRef.eIsProxy()) {
+ InternalEObject oldMessageRef = (InternalEObject) messageRef;
+ messageRef = (Message) eResolveProxy(oldMessageRef);
+ if (messageRef != oldMessageRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.RESOLVE,
+ Bpmn2Package.CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION__MESSAGE_REF,
+ oldMessageRef, messageRef));
+ }
+ }
+ return messageRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Message basicGetMessageRef() {
+ return messageRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMessageRef(Message newMessageRef) {
+ Message oldMessageRef = messageRef;
+ messageRef = newMessageRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.SET,
+ Bpmn2Package.CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION__MESSAGE_REF,
+ oldMessageRef, messageRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION__MESSAGE_PATH:
+ return basicSetMessagePath(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION__MESSAGE_PATH:
+ return getMessagePath();
+ case Bpmn2Package.CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION__MESSAGE_REF:
+ if (resolve)
+ return getMessageRef();
+ return basicGetMessageRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION__MESSAGE_PATH:
+ setMessagePath((FormalExpression) newValue);
+ return;
+ case Bpmn2Package.CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION__MESSAGE_REF:
+ setMessageRef((Message) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION__MESSAGE_PATH:
+ setMessagePath((FormalExpression) null);
+ return;
+ case Bpmn2Package.CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION__MESSAGE_REF:
+ setMessageRef((Message) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION__MESSAGE_PATH:
+ return messagePath != null;
+ case Bpmn2Package.CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION__MESSAGE_REF:
+ return messageRef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //CorrelationPropertyRetrievalExpressionImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CorrelationSubscriptionImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CorrelationSubscriptionImpl.java
new file mode 100644
index 000000000..086747530
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/CorrelationSubscriptionImpl.java
@@ -0,0 +1,242 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.CorrelationKey;
+import org.eclipse.bpmn2.CorrelationPropertyBinding;
+import org.eclipse.bpmn2.CorrelationSubscription;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Correlation Subscription</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.CorrelationSubscriptionImpl#getCorrelationPropertyBinding <em>Correlation Property Binding</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.CorrelationSubscriptionImpl#getCorrelationKeyRef <em>Correlation Key Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class CorrelationSubscriptionImpl extends BaseElementImpl implements
+ CorrelationSubscription {
+ /**
+ * The cached value of the '{@link #getCorrelationPropertyBinding() <em>Correlation Property Binding</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCorrelationPropertyBinding()
+ * @generated
+ * @ordered
+ */
+ protected EList<CorrelationPropertyBinding> correlationPropertyBinding;
+
+ /**
+ * The cached value of the '{@link #getCorrelationKeyRef() <em>Correlation Key Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCorrelationKeyRef()
+ * @generated
+ * @ordered
+ */
+ protected CorrelationKey correlationKeyRef;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CorrelationSubscriptionImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.CORRELATION_SUBSCRIPTION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<CorrelationPropertyBinding> getCorrelationPropertyBinding() {
+ if (correlationPropertyBinding == null) {
+ correlationPropertyBinding = new EObjectContainmentEList<CorrelationPropertyBinding>(
+ CorrelationPropertyBinding.class,
+ this,
+ Bpmn2Package.CORRELATION_SUBSCRIPTION__CORRELATION_PROPERTY_BINDING);
+ }
+ return correlationPropertyBinding;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CorrelationKey getCorrelationKeyRef() {
+ if (correlationKeyRef != null && correlationKeyRef.eIsProxy()) {
+ InternalEObject oldCorrelationKeyRef = (InternalEObject) correlationKeyRef;
+ correlationKeyRef = (CorrelationKey) eResolveProxy(oldCorrelationKeyRef);
+ if (correlationKeyRef != oldCorrelationKeyRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.RESOLVE,
+ Bpmn2Package.CORRELATION_SUBSCRIPTION__CORRELATION_KEY_REF,
+ oldCorrelationKeyRef, correlationKeyRef));
+ }
+ }
+ return correlationKeyRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CorrelationKey basicGetCorrelationKeyRef() {
+ return correlationKeyRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCorrelationKeyRef(CorrelationKey newCorrelationKeyRef) {
+ CorrelationKey oldCorrelationKeyRef = correlationKeyRef;
+ correlationKeyRef = newCorrelationKeyRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.CORRELATION_SUBSCRIPTION__CORRELATION_KEY_REF,
+ oldCorrelationKeyRef, correlationKeyRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.CORRELATION_SUBSCRIPTION__CORRELATION_PROPERTY_BINDING:
+ return ((InternalEList<?>) getCorrelationPropertyBinding())
+ .basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.CORRELATION_SUBSCRIPTION__CORRELATION_PROPERTY_BINDING:
+ return getCorrelationPropertyBinding();
+ case Bpmn2Package.CORRELATION_SUBSCRIPTION__CORRELATION_KEY_REF:
+ if (resolve)
+ return getCorrelationKeyRef();
+ return basicGetCorrelationKeyRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.CORRELATION_SUBSCRIPTION__CORRELATION_PROPERTY_BINDING:
+ getCorrelationPropertyBinding().clear();
+ getCorrelationPropertyBinding()
+ .addAll((Collection<? extends CorrelationPropertyBinding>) newValue);
+ return;
+ case Bpmn2Package.CORRELATION_SUBSCRIPTION__CORRELATION_KEY_REF:
+ setCorrelationKeyRef((CorrelationKey) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CORRELATION_SUBSCRIPTION__CORRELATION_PROPERTY_BINDING:
+ getCorrelationPropertyBinding().clear();
+ return;
+ case Bpmn2Package.CORRELATION_SUBSCRIPTION__CORRELATION_KEY_REF:
+ setCorrelationKeyRef((CorrelationKey) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.CORRELATION_SUBSCRIPTION__CORRELATION_PROPERTY_BINDING:
+ return correlationPropertyBinding != null
+ && !correlationPropertyBinding.isEmpty();
+ case Bpmn2Package.CORRELATION_SUBSCRIPTION__CORRELATION_KEY_REF:
+ return correlationKeyRef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //CorrelationSubscriptionImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataAssociationImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataAssociationImpl.java
new file mode 100644
index 000000000..825a450d4
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataAssociationImpl.java
@@ -0,0 +1,340 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Assignment;
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.DataAssociation;
+import org.eclipse.bpmn2.FormalExpression;
+import org.eclipse.bpmn2.ItemAwareElement;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.EObjectEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Data Association</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.DataAssociationImpl#getSourceRef <em>Source Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DataAssociationImpl#getTargetRef <em>Target Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DataAssociationImpl#getTransformation <em>Transformation</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DataAssociationImpl#getAssignment <em>Assignment</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DataAssociationImpl extends BaseElementImpl implements
+ DataAssociation {
+ /**
+ * The cached value of the '{@link #getSourceRef() <em>Source Ref</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSourceRef()
+ * @generated
+ * @ordered
+ */
+ protected EList<ItemAwareElement> sourceRef;
+
+ /**
+ * The cached value of the '{@link #getTargetRef() <em>Target Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTargetRef()
+ * @generated
+ * @ordered
+ */
+ protected ItemAwareElement targetRef;
+
+ /**
+ * The cached value of the '{@link #getTransformation() <em>Transformation</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTransformation()
+ * @generated
+ * @ordered
+ */
+ protected FormalExpression transformation;
+
+ /**
+ * The cached value of the '{@link #getAssignment() <em>Assignment</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAssignment()
+ * @generated
+ * @ordered
+ */
+ protected EList<Assignment> assignment;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DataAssociationImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.DATA_ASSOCIATION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<ItemAwareElement> getSourceRef() {
+ if (sourceRef == null) {
+ sourceRef = new EObjectEList<ItemAwareElement>(
+ ItemAwareElement.class, this,
+ Bpmn2Package.DATA_ASSOCIATION__SOURCE_REF);
+ }
+ return sourceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ItemAwareElement getTargetRef() {
+ return targetRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTargetRef(ItemAwareElement newTargetRef) {
+ ItemAwareElement oldTargetRef = targetRef;
+ targetRef = newTargetRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.DATA_ASSOCIATION__TARGET_REF, oldTargetRef,
+ targetRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FormalExpression getTransformation() {
+ return transformation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetTransformation(
+ FormalExpression newTransformation, NotificationChain msgs) {
+ FormalExpression oldTransformation = transformation;
+ transformation = newTransformation;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET,
+ Bpmn2Package.DATA_ASSOCIATION__TRANSFORMATION,
+ oldTransformation, newTransformation);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTransformation(FormalExpression newTransformation) {
+ if (newTransformation != transformation) {
+ NotificationChain msgs = null;
+ if (transformation != null)
+ msgs = ((InternalEObject) transformation)
+ .eInverseRemove(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.DATA_ASSOCIATION__TRANSFORMATION,
+ null, msgs);
+ if (newTransformation != null)
+ msgs = ((InternalEObject) newTransformation)
+ .eInverseAdd(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.DATA_ASSOCIATION__TRANSFORMATION,
+ null, msgs);
+ msgs = basicSetTransformation(newTransformation, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.DATA_ASSOCIATION__TRANSFORMATION,
+ newTransformation, newTransformation));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<Assignment> getAssignment() {
+ if (assignment == null) {
+ assignment = new EObjectContainmentEList<Assignment>(
+ Assignment.class, this,
+ Bpmn2Package.DATA_ASSOCIATION__ASSIGNMENT);
+ }
+ return assignment;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_ASSOCIATION__TRANSFORMATION:
+ return basicSetTransformation(null, msgs);
+ case Bpmn2Package.DATA_ASSOCIATION__ASSIGNMENT:
+ return ((InternalEList<?>) getAssignment()).basicRemove(otherEnd,
+ msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_ASSOCIATION__SOURCE_REF:
+ return getSourceRef();
+ case Bpmn2Package.DATA_ASSOCIATION__TARGET_REF:
+ return getTargetRef();
+ case Bpmn2Package.DATA_ASSOCIATION__TRANSFORMATION:
+ return getTransformation();
+ case Bpmn2Package.DATA_ASSOCIATION__ASSIGNMENT:
+ return getAssignment();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_ASSOCIATION__SOURCE_REF:
+ getSourceRef().clear();
+ getSourceRef().addAll(
+ (Collection<? extends ItemAwareElement>) newValue);
+ return;
+ case Bpmn2Package.DATA_ASSOCIATION__TARGET_REF:
+ setTargetRef((ItemAwareElement) newValue);
+ return;
+ case Bpmn2Package.DATA_ASSOCIATION__TRANSFORMATION:
+ setTransformation((FormalExpression) newValue);
+ return;
+ case Bpmn2Package.DATA_ASSOCIATION__ASSIGNMENT:
+ getAssignment().clear();
+ getAssignment().addAll((Collection<? extends Assignment>) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_ASSOCIATION__SOURCE_REF:
+ getSourceRef().clear();
+ return;
+ case Bpmn2Package.DATA_ASSOCIATION__TARGET_REF:
+ setTargetRef((ItemAwareElement) null);
+ return;
+ case Bpmn2Package.DATA_ASSOCIATION__TRANSFORMATION:
+ setTransformation((FormalExpression) null);
+ return;
+ case Bpmn2Package.DATA_ASSOCIATION__ASSIGNMENT:
+ getAssignment().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_ASSOCIATION__SOURCE_REF:
+ return sourceRef != null && !sourceRef.isEmpty();
+ case Bpmn2Package.DATA_ASSOCIATION__TARGET_REF:
+ return targetRef != null;
+ case Bpmn2Package.DATA_ASSOCIATION__TRANSFORMATION:
+ return transformation != null;
+ case Bpmn2Package.DATA_ASSOCIATION__ASSIGNMENT:
+ return assignment != null && !assignment.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //DataAssociationImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataInputAssociationImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataInputAssociationImpl.java
new file mode 100644
index 000000000..e1a3f600d
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataInputAssociationImpl.java
@@ -0,0 +1,52 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.DataInputAssociation;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Data Input Association</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class DataInputAssociationImpl extends DataAssociationImpl implements
+ DataInputAssociation {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DataInputAssociationImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.DATA_INPUT_ASSOCIATION;
+ }
+
+} //DataInputAssociationImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataInputImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataInputImpl.java
new file mode 100644
index 000000000..c70ea0eae
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataInputImpl.java
@@ -0,0 +1,405 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.DataInput;
+import org.eclipse.bpmn2.InputSet;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Data Input</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.DataInputImpl#getInputSetWithOptional <em>Input Set With Optional</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DataInputImpl#getInputSetWithWhileExecuting <em>Input Set With While Executing</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DataInputImpl#getInputSetRefs <em>Input Set Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DataInputImpl#isIsCollection <em>Is Collection</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DataInputImpl#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DataInputImpl extends ItemAwareElementImpl implements DataInput {
+ /**
+ * The cached value of the '{@link #getInputSetWithOptional() <em>Input Set With Optional</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getInputSetWithOptional()
+ * @generated
+ * @ordered
+ */
+ protected EList<InputSet> inputSetWithOptional;
+
+ /**
+ * The cached value of the '{@link #getInputSetWithWhileExecuting() <em>Input Set With While Executing</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getInputSetWithWhileExecuting()
+ * @generated
+ * @ordered
+ */
+ protected EList<InputSet> inputSetWithWhileExecuting;
+
+ /**
+ * The cached value of the '{@link #getInputSetRefs() <em>Input Set Refs</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getInputSetRefs()
+ * @generated
+ * @ordered
+ */
+ protected EList<InputSet> inputSetRefs;
+
+ /**
+ * The default value of the '{@link #isIsCollection() <em>Is Collection</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsCollection()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean IS_COLLECTION_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isIsCollection() <em>Is Collection</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsCollection()
+ * @generated
+ * @ordered
+ */
+ protected boolean isCollection = IS_COLLECTION_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DataInputImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.DATA_INPUT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<InputSet> getInputSetWithOptional() {
+ if (inputSetWithOptional == null) {
+ inputSetWithOptional = new EObjectWithInverseResolvingEList.ManyInverse<InputSet>(
+ InputSet.class, this,
+ Bpmn2Package.DATA_INPUT__INPUT_SET_WITH_OPTIONAL,
+ Bpmn2Package.INPUT_SET__OPTIONAL_INPUT_REFS);
+ }
+ return inputSetWithOptional;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<InputSet> getInputSetWithWhileExecuting() {
+ if (inputSetWithWhileExecuting == null) {
+ inputSetWithWhileExecuting = new EObjectWithInverseResolvingEList.ManyInverse<InputSet>(
+ InputSet.class, this,
+ Bpmn2Package.DATA_INPUT__INPUT_SET_WITH_WHILE_EXECUTING,
+ Bpmn2Package.INPUT_SET__WHILE_EXECUTING_INPUT_REFS);
+ }
+ return inputSetWithWhileExecuting;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<InputSet> getInputSetRefs() {
+ if (inputSetRefs == null) {
+ inputSetRefs = new EObjectWithInverseResolvingEList.ManyInverse<InputSet>(
+ InputSet.class, this,
+ Bpmn2Package.DATA_INPUT__INPUT_SET_REFS,
+ Bpmn2Package.INPUT_SET__DATA_INPUT_REFS);
+ }
+ return inputSetRefs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isIsCollection() {
+ return isCollection;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIsCollection(boolean newIsCollection) {
+ boolean oldIsCollection = isCollection;
+ isCollection = newIsCollection;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.DATA_INPUT__IS_COLLECTION, oldIsCollection,
+ isCollection));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.DATA_INPUT__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public NotificationChain eInverseAdd(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_INPUT__INPUT_SET_WITH_OPTIONAL:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getInputSetWithOptional())
+ .basicAdd(otherEnd, msgs);
+ case Bpmn2Package.DATA_INPUT__INPUT_SET_WITH_WHILE_EXECUTING:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getInputSetWithWhileExecuting())
+ .basicAdd(otherEnd, msgs);
+ case Bpmn2Package.DATA_INPUT__INPUT_SET_REFS:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getInputSetRefs())
+ .basicAdd(otherEnd, msgs);
+ }
+ return super.eInverseAdd(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_INPUT__INPUT_SET_WITH_OPTIONAL:
+ return ((InternalEList<?>) getInputSetWithOptional()).basicRemove(
+ otherEnd, msgs);
+ case Bpmn2Package.DATA_INPUT__INPUT_SET_WITH_WHILE_EXECUTING:
+ return ((InternalEList<?>) getInputSetWithWhileExecuting())
+ .basicRemove(otherEnd, msgs);
+ case Bpmn2Package.DATA_INPUT__INPUT_SET_REFS:
+ return ((InternalEList<?>) getInputSetRefs()).basicRemove(otherEnd,
+ msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_INPUT__INPUT_SET_WITH_OPTIONAL:
+ return getInputSetWithOptional();
+ case Bpmn2Package.DATA_INPUT__INPUT_SET_WITH_WHILE_EXECUTING:
+ return getInputSetWithWhileExecuting();
+ case Bpmn2Package.DATA_INPUT__INPUT_SET_REFS:
+ return getInputSetRefs();
+ case Bpmn2Package.DATA_INPUT__IS_COLLECTION:
+ return isIsCollection();
+ case Bpmn2Package.DATA_INPUT__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_INPUT__INPUT_SET_WITH_OPTIONAL:
+ getInputSetWithOptional().clear();
+ getInputSetWithOptional().addAll(
+ (Collection<? extends InputSet>) newValue);
+ return;
+ case Bpmn2Package.DATA_INPUT__INPUT_SET_WITH_WHILE_EXECUTING:
+ getInputSetWithWhileExecuting().clear();
+ getInputSetWithWhileExecuting().addAll(
+ (Collection<? extends InputSet>) newValue);
+ return;
+ case Bpmn2Package.DATA_INPUT__INPUT_SET_REFS:
+ getInputSetRefs().clear();
+ getInputSetRefs().addAll((Collection<? extends InputSet>) newValue);
+ return;
+ case Bpmn2Package.DATA_INPUT__IS_COLLECTION:
+ setIsCollection((Boolean) newValue);
+ return;
+ case Bpmn2Package.DATA_INPUT__NAME:
+ setName((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_INPUT__INPUT_SET_WITH_OPTIONAL:
+ getInputSetWithOptional().clear();
+ return;
+ case Bpmn2Package.DATA_INPUT__INPUT_SET_WITH_WHILE_EXECUTING:
+ getInputSetWithWhileExecuting().clear();
+ return;
+ case Bpmn2Package.DATA_INPUT__INPUT_SET_REFS:
+ getInputSetRefs().clear();
+ return;
+ case Bpmn2Package.DATA_INPUT__IS_COLLECTION:
+ setIsCollection(IS_COLLECTION_EDEFAULT);
+ return;
+ case Bpmn2Package.DATA_INPUT__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_INPUT__INPUT_SET_WITH_OPTIONAL:
+ return inputSetWithOptional != null
+ && !inputSetWithOptional.isEmpty();
+ case Bpmn2Package.DATA_INPUT__INPUT_SET_WITH_WHILE_EXECUTING:
+ return inputSetWithWhileExecuting != null
+ && !inputSetWithWhileExecuting.isEmpty();
+ case Bpmn2Package.DATA_INPUT__INPUT_SET_REFS:
+ return inputSetRefs != null && !inputSetRefs.isEmpty();
+ case Bpmn2Package.DATA_INPUT__IS_COLLECTION:
+ return isCollection != IS_COLLECTION_EDEFAULT;
+ case Bpmn2Package.DATA_INPUT__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
+ .equals(name);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (isCollection: ");
+ result.append(isCollection);
+ result.append(", name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DataInputImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataObjectImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataObjectImpl.java
new file mode 100644
index 000000000..17040098a
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataObjectImpl.java
@@ -0,0 +1,380 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.DataObject;
+import org.eclipse.bpmn2.DataState;
+import org.eclipse.bpmn2.ItemAwareElement;
+import org.eclipse.bpmn2.ItemDefinition;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Data Object</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.DataObjectImpl#getDataState <em>Data State</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DataObjectImpl#getItemSubjectRef <em>Item Subject Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DataObjectImpl#isIsCollection <em>Is Collection</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DataObjectImpl extends FlowElementImpl implements DataObject {
+ /**
+ * The cached value of the '{@link #getDataState() <em>Data State</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDataState()
+ * @generated
+ * @ordered
+ */
+ protected DataState dataState;
+
+ /**
+ * The cached value of the '{@link #getItemSubjectRef() <em>Item Subject Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getItemSubjectRef()
+ * @generated
+ * @ordered
+ */
+ protected ItemDefinition itemSubjectRef;
+
+ /**
+ * The default value of the '{@link #isIsCollection() <em>Is Collection</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsCollection()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean IS_COLLECTION_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isIsCollection() <em>Is Collection</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsCollection()
+ * @generated
+ * @ordered
+ */
+ protected boolean isCollection = IS_COLLECTION_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DataObjectImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.DATA_OBJECT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataState getDataState() {
+ return dataState;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDataState(DataState newDataState,
+ NotificationChain msgs) {
+ DataState oldDataState = dataState;
+ dataState = newDataState;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET, Bpmn2Package.DATA_OBJECT__DATA_STATE,
+ oldDataState, newDataState);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDataState(DataState newDataState) {
+ if (newDataState != dataState) {
+ NotificationChain msgs = null;
+ if (dataState != null)
+ msgs = ((InternalEObject) dataState).eInverseRemove(this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.DATA_OBJECT__DATA_STATE, null,
+ msgs);
+ if (newDataState != null)
+ msgs = ((InternalEObject) newDataState).eInverseAdd(this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.DATA_OBJECT__DATA_STATE, null,
+ msgs);
+ msgs = basicSetDataState(newDataState, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.DATA_OBJECT__DATA_STATE, newDataState,
+ newDataState));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ItemDefinition getItemSubjectRef() {
+ if (itemSubjectRef != null && itemSubjectRef.eIsProxy()) {
+ InternalEObject oldItemSubjectRef = (InternalEObject) itemSubjectRef;
+ itemSubjectRef = (ItemDefinition) eResolveProxy(oldItemSubjectRef);
+ if (itemSubjectRef != oldItemSubjectRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.DATA_OBJECT__ITEM_SUBJECT_REF,
+ oldItemSubjectRef, itemSubjectRef));
+ }
+ }
+ return itemSubjectRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ItemDefinition basicGetItemSubjectRef() {
+ return itemSubjectRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setItemSubjectRef(ItemDefinition newItemSubjectRef) {
+ ItemDefinition oldItemSubjectRef = itemSubjectRef;
+ itemSubjectRef = newItemSubjectRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.DATA_OBJECT__ITEM_SUBJECT_REF,
+ oldItemSubjectRef, itemSubjectRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isIsCollection() {
+ return isCollection;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIsCollection(boolean newIsCollection) {
+ boolean oldIsCollection = isCollection;
+ isCollection = newIsCollection;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.DATA_OBJECT__IS_COLLECTION, oldIsCollection,
+ isCollection));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_OBJECT__DATA_STATE:
+ return basicSetDataState(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_OBJECT__DATA_STATE:
+ return getDataState();
+ case Bpmn2Package.DATA_OBJECT__ITEM_SUBJECT_REF:
+ if (resolve)
+ return getItemSubjectRef();
+ return basicGetItemSubjectRef();
+ case Bpmn2Package.DATA_OBJECT__IS_COLLECTION:
+ return isIsCollection();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_OBJECT__DATA_STATE:
+ setDataState((DataState) newValue);
+ return;
+ case Bpmn2Package.DATA_OBJECT__ITEM_SUBJECT_REF:
+ setItemSubjectRef((ItemDefinition) newValue);
+ return;
+ case Bpmn2Package.DATA_OBJECT__IS_COLLECTION:
+ setIsCollection((Boolean) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_OBJECT__DATA_STATE:
+ setDataState((DataState) null);
+ return;
+ case Bpmn2Package.DATA_OBJECT__ITEM_SUBJECT_REF:
+ setItemSubjectRef((ItemDefinition) null);
+ return;
+ case Bpmn2Package.DATA_OBJECT__IS_COLLECTION:
+ setIsCollection(IS_COLLECTION_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_OBJECT__DATA_STATE:
+ return dataState != null;
+ case Bpmn2Package.DATA_OBJECT__ITEM_SUBJECT_REF:
+ return itemSubjectRef != null;
+ case Bpmn2Package.DATA_OBJECT__IS_COLLECTION:
+ return isCollection != IS_COLLECTION_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
+ if (baseClass == ItemAwareElement.class) {
+ switch (derivedFeatureID) {
+ case Bpmn2Package.DATA_OBJECT__DATA_STATE:
+ return Bpmn2Package.ITEM_AWARE_ELEMENT__DATA_STATE;
+ case Bpmn2Package.DATA_OBJECT__ITEM_SUBJECT_REF:
+ return Bpmn2Package.ITEM_AWARE_ELEMENT__ITEM_SUBJECT_REF;
+ default:
+ return -1;
+ }
+ }
+ return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
+ if (baseClass == ItemAwareElement.class) {
+ switch (baseFeatureID) {
+ case Bpmn2Package.ITEM_AWARE_ELEMENT__DATA_STATE:
+ return Bpmn2Package.DATA_OBJECT__DATA_STATE;
+ case Bpmn2Package.ITEM_AWARE_ELEMENT__ITEM_SUBJECT_REF:
+ return Bpmn2Package.DATA_OBJECT__ITEM_SUBJECT_REF;
+ default:
+ return -1;
+ }
+ }
+ return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (isCollection: ");
+ result.append(isCollection);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DataObjectImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataObjectReferenceImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataObjectReferenceImpl.java
new file mode 100644
index 000000000..26f313299
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataObjectReferenceImpl.java
@@ -0,0 +1,362 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.DataObject;
+import org.eclipse.bpmn2.DataObjectReference;
+import org.eclipse.bpmn2.DataState;
+import org.eclipse.bpmn2.ItemAwareElement;
+import org.eclipse.bpmn2.ItemDefinition;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Data Object Reference</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.DataObjectReferenceImpl#getDataState <em>Data State</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DataObjectReferenceImpl#getItemSubjectRef <em>Item Subject Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DataObjectReferenceImpl#getDataObjectRef <em>Data Object Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DataObjectReferenceImpl extends FlowElementImpl implements
+ DataObjectReference {
+ /**
+ * The cached value of the '{@link #getDataState() <em>Data State</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDataState()
+ * @generated
+ * @ordered
+ */
+ protected DataState dataState;
+
+ /**
+ * The cached value of the '{@link #getItemSubjectRef() <em>Item Subject Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getItemSubjectRef()
+ * @generated
+ * @ordered
+ */
+ protected ItemDefinition itemSubjectRef;
+
+ /**
+ * The cached value of the '{@link #getDataObjectRef() <em>Data Object Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDataObjectRef()
+ * @generated
+ * @ordered
+ */
+ protected DataObject dataObjectRef;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DataObjectReferenceImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.DATA_OBJECT_REFERENCE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataState getDataState() {
+ return dataState;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDataState(DataState newDataState,
+ NotificationChain msgs) {
+ DataState oldDataState = dataState;
+ dataState = newDataState;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET,
+ Bpmn2Package.DATA_OBJECT_REFERENCE__DATA_STATE,
+ oldDataState, newDataState);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDataState(DataState newDataState) {
+ if (newDataState != dataState) {
+ NotificationChain msgs = null;
+ if (dataState != null)
+ msgs = ((InternalEObject) dataState)
+ .eInverseRemove(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.DATA_OBJECT_REFERENCE__DATA_STATE,
+ null, msgs);
+ if (newDataState != null)
+ msgs = ((InternalEObject) newDataState)
+ .eInverseAdd(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.DATA_OBJECT_REFERENCE__DATA_STATE,
+ null, msgs);
+ msgs = basicSetDataState(newDataState, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.DATA_OBJECT_REFERENCE__DATA_STATE,
+ newDataState, newDataState));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ItemDefinition getItemSubjectRef() {
+ if (itemSubjectRef != null && itemSubjectRef.eIsProxy()) {
+ InternalEObject oldItemSubjectRef = (InternalEObject) itemSubjectRef;
+ itemSubjectRef = (ItemDefinition) eResolveProxy(oldItemSubjectRef);
+ if (itemSubjectRef != oldItemSubjectRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.RESOLVE,
+ Bpmn2Package.DATA_OBJECT_REFERENCE__ITEM_SUBJECT_REF,
+ oldItemSubjectRef, itemSubjectRef));
+ }
+ }
+ return itemSubjectRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ItemDefinition basicGetItemSubjectRef() {
+ return itemSubjectRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setItemSubjectRef(ItemDefinition newItemSubjectRef) {
+ ItemDefinition oldItemSubjectRef = itemSubjectRef;
+ itemSubjectRef = newItemSubjectRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.DATA_OBJECT_REFERENCE__ITEM_SUBJECT_REF,
+ oldItemSubjectRef, itemSubjectRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataObject getDataObjectRef() {
+ return dataObjectRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDataObjectRef(DataObject newDataObjectRef) {
+ DataObject oldDataObjectRef = dataObjectRef;
+ dataObjectRef = newDataObjectRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.DATA_OBJECT_REFERENCE__DATA_OBJECT_REF,
+ oldDataObjectRef, dataObjectRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_OBJECT_REFERENCE__DATA_STATE:
+ return basicSetDataState(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_OBJECT_REFERENCE__DATA_STATE:
+ return getDataState();
+ case Bpmn2Package.DATA_OBJECT_REFERENCE__ITEM_SUBJECT_REF:
+ if (resolve)
+ return getItemSubjectRef();
+ return basicGetItemSubjectRef();
+ case Bpmn2Package.DATA_OBJECT_REFERENCE__DATA_OBJECT_REF:
+ return getDataObjectRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_OBJECT_REFERENCE__DATA_STATE:
+ setDataState((DataState) newValue);
+ return;
+ case Bpmn2Package.DATA_OBJECT_REFERENCE__ITEM_SUBJECT_REF:
+ setItemSubjectRef((ItemDefinition) newValue);
+ return;
+ case Bpmn2Package.DATA_OBJECT_REFERENCE__DATA_OBJECT_REF:
+ setDataObjectRef((DataObject) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_OBJECT_REFERENCE__DATA_STATE:
+ setDataState((DataState) null);
+ return;
+ case Bpmn2Package.DATA_OBJECT_REFERENCE__ITEM_SUBJECT_REF:
+ setItemSubjectRef((ItemDefinition) null);
+ return;
+ case Bpmn2Package.DATA_OBJECT_REFERENCE__DATA_OBJECT_REF:
+ setDataObjectRef((DataObject) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_OBJECT_REFERENCE__DATA_STATE:
+ return dataState != null;
+ case Bpmn2Package.DATA_OBJECT_REFERENCE__ITEM_SUBJECT_REF:
+ return itemSubjectRef != null;
+ case Bpmn2Package.DATA_OBJECT_REFERENCE__DATA_OBJECT_REF:
+ return dataObjectRef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
+ if (baseClass == ItemAwareElement.class) {
+ switch (derivedFeatureID) {
+ case Bpmn2Package.DATA_OBJECT_REFERENCE__DATA_STATE:
+ return Bpmn2Package.ITEM_AWARE_ELEMENT__DATA_STATE;
+ case Bpmn2Package.DATA_OBJECT_REFERENCE__ITEM_SUBJECT_REF:
+ return Bpmn2Package.ITEM_AWARE_ELEMENT__ITEM_SUBJECT_REF;
+ default:
+ return -1;
+ }
+ }
+ return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
+ if (baseClass == ItemAwareElement.class) {
+ switch (baseFeatureID) {
+ case Bpmn2Package.ITEM_AWARE_ELEMENT__DATA_STATE:
+ return Bpmn2Package.DATA_OBJECT_REFERENCE__DATA_STATE;
+ case Bpmn2Package.ITEM_AWARE_ELEMENT__ITEM_SUBJECT_REF:
+ return Bpmn2Package.DATA_OBJECT_REFERENCE__ITEM_SUBJECT_REF;
+ default:
+ return -1;
+ }
+ }
+ return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
+ }
+
+} //DataObjectReferenceImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataOutputAssociationImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataOutputAssociationImpl.java
new file mode 100644
index 000000000..7c742eda6
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataOutputAssociationImpl.java
@@ -0,0 +1,52 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.DataOutputAssociation;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Data Output Association</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class DataOutputAssociationImpl extends DataAssociationImpl implements
+ DataOutputAssociation {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DataOutputAssociationImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.DATA_OUTPUT_ASSOCIATION;
+ }
+
+} //DataOutputAssociationImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataOutputImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataOutputImpl.java
new file mode 100644
index 000000000..700349597
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataOutputImpl.java
@@ -0,0 +1,406 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.DataOutput;
+import org.eclipse.bpmn2.OutputSet;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Data Output</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.DataOutputImpl#getOutputSetWithOptional <em>Output Set With Optional</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DataOutputImpl#getOutputSetWithWhileExecuting <em>Output Set With While Executing</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DataOutputImpl#getOutputSetRefs <em>Output Set Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DataOutputImpl#isIsCollection <em>Is Collection</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DataOutputImpl#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DataOutputImpl extends ItemAwareElementImpl implements DataOutput {
+ /**
+ * The cached value of the '{@link #getOutputSetWithOptional() <em>Output Set With Optional</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOutputSetWithOptional()
+ * @generated
+ * @ordered
+ */
+ protected EList<OutputSet> outputSetWithOptional;
+
+ /**
+ * The cached value of the '{@link #getOutputSetWithWhileExecuting() <em>Output Set With While Executing</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOutputSetWithWhileExecuting()
+ * @generated
+ * @ordered
+ */
+ protected EList<OutputSet> outputSetWithWhileExecuting;
+
+ /**
+ * The cached value of the '{@link #getOutputSetRefs() <em>Output Set Refs</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOutputSetRefs()
+ * @generated
+ * @ordered
+ */
+ protected EList<OutputSet> outputSetRefs;
+
+ /**
+ * The default value of the '{@link #isIsCollection() <em>Is Collection</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsCollection()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean IS_COLLECTION_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isIsCollection() <em>Is Collection</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsCollection()
+ * @generated
+ * @ordered
+ */
+ protected boolean isCollection = IS_COLLECTION_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DataOutputImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.DATA_OUTPUT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<OutputSet> getOutputSetWithOptional() {
+ if (outputSetWithOptional == null) {
+ outputSetWithOptional = new EObjectWithInverseResolvingEList.ManyInverse<OutputSet>(
+ OutputSet.class, this,
+ Bpmn2Package.DATA_OUTPUT__OUTPUT_SET_WITH_OPTIONAL,
+ Bpmn2Package.OUTPUT_SET__OPTIONAL_OUTPUT_REFS);
+ }
+ return outputSetWithOptional;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<OutputSet> getOutputSetWithWhileExecuting() {
+ if (outputSetWithWhileExecuting == null) {
+ outputSetWithWhileExecuting = new EObjectWithInverseResolvingEList.ManyInverse<OutputSet>(
+ OutputSet.class, this,
+ Bpmn2Package.DATA_OUTPUT__OUTPUT_SET_WITH_WHILE_EXECUTING,
+ Bpmn2Package.OUTPUT_SET__WHILE_EXECUTING_OUTPUT_REFS);
+ }
+ return outputSetWithWhileExecuting;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<OutputSet> getOutputSetRefs() {
+ if (outputSetRefs == null) {
+ outputSetRefs = new EObjectWithInverseResolvingEList.ManyInverse<OutputSet>(
+ OutputSet.class, this,
+ Bpmn2Package.DATA_OUTPUT__OUTPUT_SET_REFS,
+ Bpmn2Package.OUTPUT_SET__DATA_OUTPUT_REFS);
+ }
+ return outputSetRefs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isIsCollection() {
+ return isCollection;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIsCollection(boolean newIsCollection) {
+ boolean oldIsCollection = isCollection;
+ isCollection = newIsCollection;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.DATA_OUTPUT__IS_COLLECTION, oldIsCollection,
+ isCollection));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.DATA_OUTPUT__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public NotificationChain eInverseAdd(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_OUTPUT__OUTPUT_SET_WITH_OPTIONAL:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getOutputSetWithOptional())
+ .basicAdd(otherEnd, msgs);
+ case Bpmn2Package.DATA_OUTPUT__OUTPUT_SET_WITH_WHILE_EXECUTING:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getOutputSetWithWhileExecuting())
+ .basicAdd(otherEnd, msgs);
+ case Bpmn2Package.DATA_OUTPUT__OUTPUT_SET_REFS:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getOutputSetRefs())
+ .basicAdd(otherEnd, msgs);
+ }
+ return super.eInverseAdd(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_OUTPUT__OUTPUT_SET_WITH_OPTIONAL:
+ return ((InternalEList<?>) getOutputSetWithOptional()).basicRemove(
+ otherEnd, msgs);
+ case Bpmn2Package.DATA_OUTPUT__OUTPUT_SET_WITH_WHILE_EXECUTING:
+ return ((InternalEList<?>) getOutputSetWithWhileExecuting())
+ .basicRemove(otherEnd, msgs);
+ case Bpmn2Package.DATA_OUTPUT__OUTPUT_SET_REFS:
+ return ((InternalEList<?>) getOutputSetRefs()).basicRemove(
+ otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_OUTPUT__OUTPUT_SET_WITH_OPTIONAL:
+ return getOutputSetWithOptional();
+ case Bpmn2Package.DATA_OUTPUT__OUTPUT_SET_WITH_WHILE_EXECUTING:
+ return getOutputSetWithWhileExecuting();
+ case Bpmn2Package.DATA_OUTPUT__OUTPUT_SET_REFS:
+ return getOutputSetRefs();
+ case Bpmn2Package.DATA_OUTPUT__IS_COLLECTION:
+ return isIsCollection();
+ case Bpmn2Package.DATA_OUTPUT__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_OUTPUT__OUTPUT_SET_WITH_OPTIONAL:
+ getOutputSetWithOptional().clear();
+ getOutputSetWithOptional().addAll(
+ (Collection<? extends OutputSet>) newValue);
+ return;
+ case Bpmn2Package.DATA_OUTPUT__OUTPUT_SET_WITH_WHILE_EXECUTING:
+ getOutputSetWithWhileExecuting().clear();
+ getOutputSetWithWhileExecuting().addAll(
+ (Collection<? extends OutputSet>) newValue);
+ return;
+ case Bpmn2Package.DATA_OUTPUT__OUTPUT_SET_REFS:
+ getOutputSetRefs().clear();
+ getOutputSetRefs().addAll(
+ (Collection<? extends OutputSet>) newValue);
+ return;
+ case Bpmn2Package.DATA_OUTPUT__IS_COLLECTION:
+ setIsCollection((Boolean) newValue);
+ return;
+ case Bpmn2Package.DATA_OUTPUT__NAME:
+ setName((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_OUTPUT__OUTPUT_SET_WITH_OPTIONAL:
+ getOutputSetWithOptional().clear();
+ return;
+ case Bpmn2Package.DATA_OUTPUT__OUTPUT_SET_WITH_WHILE_EXECUTING:
+ getOutputSetWithWhileExecuting().clear();
+ return;
+ case Bpmn2Package.DATA_OUTPUT__OUTPUT_SET_REFS:
+ getOutputSetRefs().clear();
+ return;
+ case Bpmn2Package.DATA_OUTPUT__IS_COLLECTION:
+ setIsCollection(IS_COLLECTION_EDEFAULT);
+ return;
+ case Bpmn2Package.DATA_OUTPUT__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_OUTPUT__OUTPUT_SET_WITH_OPTIONAL:
+ return outputSetWithOptional != null
+ && !outputSetWithOptional.isEmpty();
+ case Bpmn2Package.DATA_OUTPUT__OUTPUT_SET_WITH_WHILE_EXECUTING:
+ return outputSetWithWhileExecuting != null
+ && !outputSetWithWhileExecuting.isEmpty();
+ case Bpmn2Package.DATA_OUTPUT__OUTPUT_SET_REFS:
+ return outputSetRefs != null && !outputSetRefs.isEmpty();
+ case Bpmn2Package.DATA_OUTPUT__IS_COLLECTION:
+ return isCollection != IS_COLLECTION_EDEFAULT;
+ case Bpmn2Package.DATA_OUTPUT__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
+ .equals(name);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (isCollection: ");
+ result.append(isCollection);
+ result.append(", name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DataOutputImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataStateImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataStateImpl.java
new file mode 100644
index 000000000..24966fa5d
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataStateImpl.java
@@ -0,0 +1,177 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.DataState;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Data State</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.DataStateImpl#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DataStateImpl extends BaseElementImpl implements DataState {
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DataStateImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.DATA_STATE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.DATA_STATE__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_STATE__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_STATE__NAME:
+ setName((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_STATE__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_STATE__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
+ .equals(name);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DataStateImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataStoreImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataStoreImpl.java
new file mode 100644
index 000000000..3741a6295
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataStoreImpl.java
@@ -0,0 +1,288 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.DataStore;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Data Store</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.DataStoreImpl#getCapacity <em>Capacity</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DataStoreImpl#isIsUnlimited <em>Is Unlimited</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DataStoreImpl#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DataStoreImpl extends ItemAwareElementImpl implements DataStore {
+ /**
+ * The default value of the '{@link #getCapacity() <em>Capacity</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCapacity()
+ * @generated
+ * @ordered
+ */
+ protected static final int CAPACITY_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getCapacity() <em>Capacity</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCapacity()
+ * @generated
+ * @ordered
+ */
+ protected int capacity = CAPACITY_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #isIsUnlimited() <em>Is Unlimited</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsUnlimited()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean IS_UNLIMITED_EDEFAULT = true;
+
+ /**
+ * The cached value of the '{@link #isIsUnlimited() <em>Is Unlimited</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsUnlimited()
+ * @generated
+ * @ordered
+ */
+ protected boolean isUnlimited = IS_UNLIMITED_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DataStoreImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.DATA_STORE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getCapacity() {
+ return capacity;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCapacity(int newCapacity) {
+ int oldCapacity = capacity;
+ capacity = newCapacity;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.DATA_STORE__CAPACITY, oldCapacity, capacity));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isIsUnlimited() {
+ return isUnlimited;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIsUnlimited(boolean newIsUnlimited) {
+ boolean oldIsUnlimited = isUnlimited;
+ isUnlimited = newIsUnlimited;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.DATA_STORE__IS_UNLIMITED, oldIsUnlimited,
+ isUnlimited));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.DATA_STORE__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_STORE__CAPACITY:
+ return getCapacity();
+ case Bpmn2Package.DATA_STORE__IS_UNLIMITED:
+ return isIsUnlimited();
+ case Bpmn2Package.DATA_STORE__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_STORE__CAPACITY:
+ setCapacity((Integer) newValue);
+ return;
+ case Bpmn2Package.DATA_STORE__IS_UNLIMITED:
+ setIsUnlimited((Boolean) newValue);
+ return;
+ case Bpmn2Package.DATA_STORE__NAME:
+ setName((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_STORE__CAPACITY:
+ setCapacity(CAPACITY_EDEFAULT);
+ return;
+ case Bpmn2Package.DATA_STORE__IS_UNLIMITED:
+ setIsUnlimited(IS_UNLIMITED_EDEFAULT);
+ return;
+ case Bpmn2Package.DATA_STORE__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_STORE__CAPACITY:
+ return capacity != CAPACITY_EDEFAULT;
+ case Bpmn2Package.DATA_STORE__IS_UNLIMITED:
+ return isUnlimited != IS_UNLIMITED_EDEFAULT;
+ case Bpmn2Package.DATA_STORE__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
+ .equals(name);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (capacity: ");
+ result.append(capacity);
+ result.append(", isUnlimited: ");
+ result.append(isUnlimited);
+ result.append(", name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DataStoreImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataStoreReferenceImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataStoreReferenceImpl.java
new file mode 100644
index 000000000..a90e5c109
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DataStoreReferenceImpl.java
@@ -0,0 +1,383 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.DataState;
+import org.eclipse.bpmn2.DataStore;
+import org.eclipse.bpmn2.DataStoreReference;
+import org.eclipse.bpmn2.ItemAwareElement;
+import org.eclipse.bpmn2.ItemDefinition;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Data Store Reference</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.DataStoreReferenceImpl#getDataState <em>Data State</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DataStoreReferenceImpl#getItemSubjectRef <em>Item Subject Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DataStoreReferenceImpl#getDataStoreRef <em>Data Store Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DataStoreReferenceImpl extends FlowElementImpl implements
+ DataStoreReference {
+ /**
+ * The cached value of the '{@link #getDataState() <em>Data State</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDataState()
+ * @generated
+ * @ordered
+ */
+ protected DataState dataState;
+
+ /**
+ * The cached value of the '{@link #getItemSubjectRef() <em>Item Subject Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getItemSubjectRef()
+ * @generated
+ * @ordered
+ */
+ protected ItemDefinition itemSubjectRef;
+
+ /**
+ * The cached value of the '{@link #getDataStoreRef() <em>Data Store Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDataStoreRef()
+ * @generated
+ * @ordered
+ */
+ protected DataStore dataStoreRef;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DataStoreReferenceImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.DATA_STORE_REFERENCE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataState getDataState() {
+ return dataState;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDataState(DataState newDataState,
+ NotificationChain msgs) {
+ DataState oldDataState = dataState;
+ dataState = newDataState;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET,
+ Bpmn2Package.DATA_STORE_REFERENCE__DATA_STATE,
+ oldDataState, newDataState);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDataState(DataState newDataState) {
+ if (newDataState != dataState) {
+ NotificationChain msgs = null;
+ if (dataState != null)
+ msgs = ((InternalEObject) dataState)
+ .eInverseRemove(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.DATA_STORE_REFERENCE__DATA_STATE,
+ null, msgs);
+ if (newDataState != null)
+ msgs = ((InternalEObject) newDataState)
+ .eInverseAdd(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.DATA_STORE_REFERENCE__DATA_STATE,
+ null, msgs);
+ msgs = basicSetDataState(newDataState, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.DATA_STORE_REFERENCE__DATA_STATE,
+ newDataState, newDataState));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ItemDefinition getItemSubjectRef() {
+ if (itemSubjectRef != null && itemSubjectRef.eIsProxy()) {
+ InternalEObject oldItemSubjectRef = (InternalEObject) itemSubjectRef;
+ itemSubjectRef = (ItemDefinition) eResolveProxy(oldItemSubjectRef);
+ if (itemSubjectRef != oldItemSubjectRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.RESOLVE,
+ Bpmn2Package.DATA_STORE_REFERENCE__ITEM_SUBJECT_REF,
+ oldItemSubjectRef, itemSubjectRef));
+ }
+ }
+ return itemSubjectRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ItemDefinition basicGetItemSubjectRef() {
+ return itemSubjectRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setItemSubjectRef(ItemDefinition newItemSubjectRef) {
+ ItemDefinition oldItemSubjectRef = itemSubjectRef;
+ itemSubjectRef = newItemSubjectRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.DATA_STORE_REFERENCE__ITEM_SUBJECT_REF,
+ oldItemSubjectRef, itemSubjectRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataStore getDataStoreRef() {
+ if (dataStoreRef != null && dataStoreRef.eIsProxy()) {
+ InternalEObject oldDataStoreRef = (InternalEObject) dataStoreRef;
+ dataStoreRef = (DataStore) eResolveProxy(oldDataStoreRef);
+ if (dataStoreRef != oldDataStoreRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.DATA_STORE_REFERENCE__DATA_STORE_REF,
+ oldDataStoreRef, dataStoreRef));
+ }
+ }
+ return dataStoreRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataStore basicGetDataStoreRef() {
+ return dataStoreRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDataStoreRef(DataStore newDataStoreRef) {
+ DataStore oldDataStoreRef = dataStoreRef;
+ dataStoreRef = newDataStoreRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.DATA_STORE_REFERENCE__DATA_STORE_REF,
+ oldDataStoreRef, dataStoreRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_STORE_REFERENCE__DATA_STATE:
+ return basicSetDataState(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_STORE_REFERENCE__DATA_STATE:
+ return getDataState();
+ case Bpmn2Package.DATA_STORE_REFERENCE__ITEM_SUBJECT_REF:
+ if (resolve)
+ return getItemSubjectRef();
+ return basicGetItemSubjectRef();
+ case Bpmn2Package.DATA_STORE_REFERENCE__DATA_STORE_REF:
+ if (resolve)
+ return getDataStoreRef();
+ return basicGetDataStoreRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_STORE_REFERENCE__DATA_STATE:
+ setDataState((DataState) newValue);
+ return;
+ case Bpmn2Package.DATA_STORE_REFERENCE__ITEM_SUBJECT_REF:
+ setItemSubjectRef((ItemDefinition) newValue);
+ return;
+ case Bpmn2Package.DATA_STORE_REFERENCE__DATA_STORE_REF:
+ setDataStoreRef((DataStore) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_STORE_REFERENCE__DATA_STATE:
+ setDataState((DataState) null);
+ return;
+ case Bpmn2Package.DATA_STORE_REFERENCE__ITEM_SUBJECT_REF:
+ setItemSubjectRef((ItemDefinition) null);
+ return;
+ case Bpmn2Package.DATA_STORE_REFERENCE__DATA_STORE_REF:
+ setDataStoreRef((DataStore) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.DATA_STORE_REFERENCE__DATA_STATE:
+ return dataState != null;
+ case Bpmn2Package.DATA_STORE_REFERENCE__ITEM_SUBJECT_REF:
+ return itemSubjectRef != null;
+ case Bpmn2Package.DATA_STORE_REFERENCE__DATA_STORE_REF:
+ return dataStoreRef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
+ if (baseClass == ItemAwareElement.class) {
+ switch (derivedFeatureID) {
+ case Bpmn2Package.DATA_STORE_REFERENCE__DATA_STATE:
+ return Bpmn2Package.ITEM_AWARE_ELEMENT__DATA_STATE;
+ case Bpmn2Package.DATA_STORE_REFERENCE__ITEM_SUBJECT_REF:
+ return Bpmn2Package.ITEM_AWARE_ELEMENT__ITEM_SUBJECT_REF;
+ default:
+ return -1;
+ }
+ }
+ return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
+ if (baseClass == ItemAwareElement.class) {
+ switch (baseFeatureID) {
+ case Bpmn2Package.ITEM_AWARE_ELEMENT__DATA_STATE:
+ return Bpmn2Package.DATA_STORE_REFERENCE__DATA_STATE;
+ case Bpmn2Package.ITEM_AWARE_ELEMENT__ITEM_SUBJECT_REF:
+ return Bpmn2Package.DATA_STORE_REFERENCE__ITEM_SUBJECT_REF;
+ default:
+ return -1;
+ }
+ }
+ return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
+ }
+
+} //DataStoreReferenceImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DefinitionsImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DefinitionsImpl.java
new file mode 100644
index 000000000..40e1965b1
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DefinitionsImpl.java
@@ -0,0 +1,685 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Definitions;
+import org.eclipse.bpmn2.Extension;
+import org.eclipse.bpmn2.Import;
+import org.eclipse.bpmn2.Relationship;
+import org.eclipse.bpmn2.RootElement;
+
+import org.eclipse.bpmn2.di.BPMNDiagram;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Definitions</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.DefinitionsImpl#getImports <em>Imports</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DefinitionsImpl#getExtensions <em>Extensions</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DefinitionsImpl#getRootElements <em>Root Elements</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DefinitionsImpl#getDiagrams <em>Diagrams</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DefinitionsImpl#getRelationships <em>Relationships</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DefinitionsImpl#getExporter <em>Exporter</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DefinitionsImpl#getExporterVersion <em>Exporter Version</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DefinitionsImpl#getExpressionLanguage <em>Expression Language</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DefinitionsImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DefinitionsImpl#getTargetNamespace <em>Target Namespace</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DefinitionsImpl#getTypeLanguage <em>Type Language</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DefinitionsImpl extends BaseElementImpl implements Definitions {
+ /**
+ * The cached value of the '{@link #getImports() <em>Imports</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getImports()
+ * @generated
+ * @ordered
+ */
+ protected EList<Import> imports;
+
+ /**
+ * The cached value of the '{@link #getExtensions() <em>Extensions</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getExtensions()
+ * @generated
+ * @ordered
+ */
+ protected EList<Extension> extensions;
+
+ /**
+ * The cached value of the '{@link #getRootElements() <em>Root Elements</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRootElements()
+ * @generated
+ * @ordered
+ */
+ protected EList<RootElement> rootElements;
+
+ /**
+ * The cached value of the '{@link #getDiagrams() <em>Diagrams</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDiagrams()
+ * @generated
+ * @ordered
+ */
+ protected EList<BPMNDiagram> diagrams;
+
+ /**
+ * The cached value of the '{@link #getRelationships() <em>Relationships</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRelationships()
+ * @generated
+ * @ordered
+ */
+ protected EList<Relationship> relationships;
+
+ /**
+ * The default value of the '{@link #getExporter() <em>Exporter</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getExporter()
+ * @generated
+ * @ordered
+ */
+ protected static final String EXPORTER_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getExporter() <em>Exporter</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getExporter()
+ * @generated
+ * @ordered
+ */
+ protected String exporter = EXPORTER_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getExporterVersion() <em>Exporter Version</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getExporterVersion()
+ * @generated
+ * @ordered
+ */
+ protected static final String EXPORTER_VERSION_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getExporterVersion() <em>Exporter Version</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getExporterVersion()
+ * @generated
+ * @ordered
+ */
+ protected String exporterVersion = EXPORTER_VERSION_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getExpressionLanguage() <em>Expression Language</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getExpressionLanguage()
+ * @generated
+ * @ordered
+ */
+ protected static final String EXPRESSION_LANGUAGE_EDEFAULT = "http://www.w3.org/1999/XPath";
+
+ /**
+ * The cached value of the '{@link #getExpressionLanguage() <em>Expression Language</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getExpressionLanguage()
+ * @generated
+ * @ordered
+ */
+ protected String expressionLanguage = EXPRESSION_LANGUAGE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getTargetNamespace() <em>Target Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTargetNamespace()
+ * @generated
+ * @ordered
+ */
+ protected static final String TARGET_NAMESPACE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getTargetNamespace() <em>Target Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTargetNamespace()
+ * @generated
+ * @ordered
+ */
+ protected String targetNamespace = TARGET_NAMESPACE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getTypeLanguage() <em>Type Language</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTypeLanguage()
+ * @generated
+ * @ordered
+ */
+ protected static final String TYPE_LANGUAGE_EDEFAULT = "http://www.w3.org/2001/XMLSchema";
+
+ /**
+ * The cached value of the '{@link #getTypeLanguage() <em>Type Language</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTypeLanguage()
+ * @generated
+ * @ordered
+ */
+ protected String typeLanguage = TYPE_LANGUAGE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DefinitionsImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.DEFINITIONS;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<Import> getImports() {
+ if (imports == null) {
+ imports = new EObjectContainmentEList<Import>(Import.class, this,
+ Bpmn2Package.DEFINITIONS__IMPORTS);
+ }
+ return imports;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<Extension> getExtensions() {
+ if (extensions == null) {
+ extensions = new EObjectContainmentEList<Extension>(
+ Extension.class, this, Bpmn2Package.DEFINITIONS__EXTENSIONS);
+ }
+ return extensions;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<RootElement> getRootElements() {
+ if (rootElements == null) {
+ rootElements = new EObjectContainmentEList<RootElement>(
+ RootElement.class, this,
+ Bpmn2Package.DEFINITIONS__ROOT_ELEMENTS);
+ }
+ return rootElements;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<BPMNDiagram> getDiagrams() {
+ if (diagrams == null) {
+ diagrams = new EObjectContainmentEList<BPMNDiagram>(
+ BPMNDiagram.class, this, Bpmn2Package.DEFINITIONS__DIAGRAMS);
+ }
+ return diagrams;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<Relationship> getRelationships() {
+ if (relationships == null) {
+ relationships = new EObjectContainmentEList<Relationship>(
+ Relationship.class, this,
+ Bpmn2Package.DEFINITIONS__RELATIONSHIPS);
+ }
+ return relationships;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getExporter() {
+ return exporter;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setExporter(String newExporter) {
+ String oldExporter = exporter;
+ exporter = newExporter;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.DEFINITIONS__EXPORTER, oldExporter, exporter));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getExporterVersion() {
+ return exporterVersion;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setExporterVersion(String newExporterVersion) {
+ String oldExporterVersion = exporterVersion;
+ exporterVersion = newExporterVersion;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.DEFINITIONS__EXPORTER_VERSION,
+ oldExporterVersion, exporterVersion));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getExpressionLanguage() {
+ return expressionLanguage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setExpressionLanguage(String newExpressionLanguage) {
+ String oldExpressionLanguage = expressionLanguage;
+ expressionLanguage = newExpressionLanguage;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.DEFINITIONS__EXPRESSION_LANGUAGE,
+ oldExpressionLanguage, expressionLanguage));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.DEFINITIONS__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getTargetNamespace() {
+ return targetNamespace;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTargetNamespace(String newTargetNamespace) {
+ String oldTargetNamespace = targetNamespace;
+ targetNamespace = newTargetNamespace;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.DEFINITIONS__TARGET_NAMESPACE,
+ oldTargetNamespace, targetNamespace));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getTypeLanguage() {
+ return typeLanguage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTypeLanguage(String newTypeLanguage) {
+ String oldTypeLanguage = typeLanguage;
+ typeLanguage = newTypeLanguage;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.DEFINITIONS__TYPE_LANGUAGE, oldTypeLanguage,
+ typeLanguage));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.DEFINITIONS__IMPORTS:
+ return ((InternalEList<?>) getImports())
+ .basicRemove(otherEnd, msgs);
+ case Bpmn2Package.DEFINITIONS__EXTENSIONS:
+ return ((InternalEList<?>) getExtensions()).basicRemove(otherEnd,
+ msgs);
+ case Bpmn2Package.DEFINITIONS__ROOT_ELEMENTS:
+ return ((InternalEList<?>) getRootElements()).basicRemove(otherEnd,
+ msgs);
+ case Bpmn2Package.DEFINITIONS__DIAGRAMS:
+ return ((InternalEList<?>) getDiagrams()).basicRemove(otherEnd,
+ msgs);
+ case Bpmn2Package.DEFINITIONS__RELATIONSHIPS:
+ return ((InternalEList<?>) getRelationships()).basicRemove(
+ otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.DEFINITIONS__IMPORTS:
+ return getImports();
+ case Bpmn2Package.DEFINITIONS__EXTENSIONS:
+ return getExtensions();
+ case Bpmn2Package.DEFINITIONS__ROOT_ELEMENTS:
+ return getRootElements();
+ case Bpmn2Package.DEFINITIONS__DIAGRAMS:
+ return getDiagrams();
+ case Bpmn2Package.DEFINITIONS__RELATIONSHIPS:
+ return getRelationships();
+ case Bpmn2Package.DEFINITIONS__EXPORTER:
+ return getExporter();
+ case Bpmn2Package.DEFINITIONS__EXPORTER_VERSION:
+ return getExporterVersion();
+ case Bpmn2Package.DEFINITIONS__EXPRESSION_LANGUAGE:
+ return getExpressionLanguage();
+ case Bpmn2Package.DEFINITIONS__NAME:
+ return getName();
+ case Bpmn2Package.DEFINITIONS__TARGET_NAMESPACE:
+ return getTargetNamespace();
+ case Bpmn2Package.DEFINITIONS__TYPE_LANGUAGE:
+ return getTypeLanguage();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.DEFINITIONS__IMPORTS:
+ getImports().clear();
+ getImports().addAll((Collection<? extends Import>) newValue);
+ return;
+ case Bpmn2Package.DEFINITIONS__EXTENSIONS:
+ getExtensions().clear();
+ getExtensions().addAll((Collection<? extends Extension>) newValue);
+ return;
+ case Bpmn2Package.DEFINITIONS__ROOT_ELEMENTS:
+ getRootElements().clear();
+ getRootElements().addAll(
+ (Collection<? extends RootElement>) newValue);
+ return;
+ case Bpmn2Package.DEFINITIONS__DIAGRAMS:
+ getDiagrams().clear();
+ getDiagrams().addAll((Collection<? extends BPMNDiagram>) newValue);
+ return;
+ case Bpmn2Package.DEFINITIONS__RELATIONSHIPS:
+ getRelationships().clear();
+ getRelationships().addAll(
+ (Collection<? extends Relationship>) newValue);
+ return;
+ case Bpmn2Package.DEFINITIONS__EXPORTER:
+ setExporter((String) newValue);
+ return;
+ case Bpmn2Package.DEFINITIONS__EXPORTER_VERSION:
+ setExporterVersion((String) newValue);
+ return;
+ case Bpmn2Package.DEFINITIONS__EXPRESSION_LANGUAGE:
+ setExpressionLanguage((String) newValue);
+ return;
+ case Bpmn2Package.DEFINITIONS__NAME:
+ setName((String) newValue);
+ return;
+ case Bpmn2Package.DEFINITIONS__TARGET_NAMESPACE:
+ setTargetNamespace((String) newValue);
+ return;
+ case Bpmn2Package.DEFINITIONS__TYPE_LANGUAGE:
+ setTypeLanguage((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.DEFINITIONS__IMPORTS:
+ getImports().clear();
+ return;
+ case Bpmn2Package.DEFINITIONS__EXTENSIONS:
+ getExtensions().clear();
+ return;
+ case Bpmn2Package.DEFINITIONS__ROOT_ELEMENTS:
+ getRootElements().clear();
+ return;
+ case Bpmn2Package.DEFINITIONS__DIAGRAMS:
+ getDiagrams().clear();
+ return;
+ case Bpmn2Package.DEFINITIONS__RELATIONSHIPS:
+ getRelationships().clear();
+ return;
+ case Bpmn2Package.DEFINITIONS__EXPORTER:
+ setExporter(EXPORTER_EDEFAULT);
+ return;
+ case Bpmn2Package.DEFINITIONS__EXPORTER_VERSION:
+ setExporterVersion(EXPORTER_VERSION_EDEFAULT);
+ return;
+ case Bpmn2Package.DEFINITIONS__EXPRESSION_LANGUAGE:
+ setExpressionLanguage(EXPRESSION_LANGUAGE_EDEFAULT);
+ return;
+ case Bpmn2Package.DEFINITIONS__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case Bpmn2Package.DEFINITIONS__TARGET_NAMESPACE:
+ setTargetNamespace(TARGET_NAMESPACE_EDEFAULT);
+ return;
+ case Bpmn2Package.DEFINITIONS__TYPE_LANGUAGE:
+ setTypeLanguage(TYPE_LANGUAGE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.DEFINITIONS__IMPORTS:
+ return imports != null && !imports.isEmpty();
+ case Bpmn2Package.DEFINITIONS__EXTENSIONS:
+ return extensions != null && !extensions.isEmpty();
+ case Bpmn2Package.DEFINITIONS__ROOT_ELEMENTS:
+ return rootElements != null && !rootElements.isEmpty();
+ case Bpmn2Package.DEFINITIONS__DIAGRAMS:
+ return diagrams != null && !diagrams.isEmpty();
+ case Bpmn2Package.DEFINITIONS__RELATIONSHIPS:
+ return relationships != null && !relationships.isEmpty();
+ case Bpmn2Package.DEFINITIONS__EXPORTER:
+ return EXPORTER_EDEFAULT == null ? exporter != null
+ : !EXPORTER_EDEFAULT.equals(exporter);
+ case Bpmn2Package.DEFINITIONS__EXPORTER_VERSION:
+ return EXPORTER_VERSION_EDEFAULT == null ? exporterVersion != null
+ : !EXPORTER_VERSION_EDEFAULT.equals(exporterVersion);
+ case Bpmn2Package.DEFINITIONS__EXPRESSION_LANGUAGE:
+ return EXPRESSION_LANGUAGE_EDEFAULT == null ? expressionLanguage != null
+ : !EXPRESSION_LANGUAGE_EDEFAULT.equals(expressionLanguage);
+ case Bpmn2Package.DEFINITIONS__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
+ .equals(name);
+ case Bpmn2Package.DEFINITIONS__TARGET_NAMESPACE:
+ return TARGET_NAMESPACE_EDEFAULT == null ? targetNamespace != null
+ : !TARGET_NAMESPACE_EDEFAULT.equals(targetNamespace);
+ case Bpmn2Package.DEFINITIONS__TYPE_LANGUAGE:
+ return TYPE_LANGUAGE_EDEFAULT == null ? typeLanguage != null
+ : !TYPE_LANGUAGE_EDEFAULT.equals(typeLanguage);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (exporter: ");
+ result.append(exporter);
+ result.append(", exporterVersion: ");
+ result.append(exporterVersion);
+ result.append(", expressionLanguage: ");
+ result.append(expressionLanguage);
+ result.append(", name: ");
+ result.append(name);
+ result.append(", targetNamespace: ");
+ result.append(targetNamespace);
+ result.append(", typeLanguage: ");
+ result.append(typeLanguage);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DefinitionsImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DocumentRootImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DocumentRootImpl.java
new file mode 100644
index 000000000..00e58ca60
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DocumentRootImpl.java
@@ -0,0 +1,6651 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Map;
+
+import org.eclipse.bpmn2.Activity;
+import org.eclipse.bpmn2.AdHocSubProcess;
+import org.eclipse.bpmn2.Artifact;
+import org.eclipse.bpmn2.Assignment;
+import org.eclipse.bpmn2.Association;
+import org.eclipse.bpmn2.Auditing;
+import org.eclipse.bpmn2.BaseElement;
+import org.eclipse.bpmn2.BoundaryEvent;
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.BusinessRuleTask;
+import org.eclipse.bpmn2.CallActivity;
+import org.eclipse.bpmn2.CallChoreography;
+import org.eclipse.bpmn2.CallConversation;
+import org.eclipse.bpmn2.CallableElement;
+import org.eclipse.bpmn2.CancelEventDefinition;
+import org.eclipse.bpmn2.CatchEvent;
+import org.eclipse.bpmn2.Category;
+import org.eclipse.bpmn2.CategoryValue;
+import org.eclipse.bpmn2.Choreography;
+import org.eclipse.bpmn2.ChoreographyActivity;
+import org.eclipse.bpmn2.ChoreographyTask;
+import org.eclipse.bpmn2.Collaboration;
+import org.eclipse.bpmn2.CompensateEventDefinition;
+import org.eclipse.bpmn2.ComplexBehaviorDefinition;
+import org.eclipse.bpmn2.ComplexGateway;
+import org.eclipse.bpmn2.ConditionalEventDefinition;
+import org.eclipse.bpmn2.Conversation;
+import org.eclipse.bpmn2.ConversationAssociation;
+import org.eclipse.bpmn2.ConversationLink;
+import org.eclipse.bpmn2.ConversationNode;
+import org.eclipse.bpmn2.CorrelationKey;
+import org.eclipse.bpmn2.CorrelationProperty;
+import org.eclipse.bpmn2.CorrelationPropertyBinding;
+import org.eclipse.bpmn2.CorrelationPropertyRetrievalExpression;
+import org.eclipse.bpmn2.CorrelationSubscription;
+import org.eclipse.bpmn2.DataAssociation;
+import org.eclipse.bpmn2.DataInput;
+import org.eclipse.bpmn2.DataInputAssociation;
+import org.eclipse.bpmn2.DataObject;
+import org.eclipse.bpmn2.DataObjectReference;
+import org.eclipse.bpmn2.DataOutput;
+import org.eclipse.bpmn2.DataOutputAssociation;
+import org.eclipse.bpmn2.DataState;
+import org.eclipse.bpmn2.DataStore;
+import org.eclipse.bpmn2.DataStoreReference;
+import org.eclipse.bpmn2.Definitions;
+import org.eclipse.bpmn2.DocumentRoot;
+import org.eclipse.bpmn2.Documentation;
+import org.eclipse.bpmn2.EndEvent;
+import org.eclipse.bpmn2.EndPoint;
+import org.eclipse.bpmn2.ErrorEventDefinition;
+import org.eclipse.bpmn2.Escalation;
+import org.eclipse.bpmn2.EscalationEventDefinition;
+import org.eclipse.bpmn2.Event;
+import org.eclipse.bpmn2.EventBasedGateway;
+import org.eclipse.bpmn2.EventDefinition;
+import org.eclipse.bpmn2.ExclusiveGateway;
+import org.eclipse.bpmn2.Expression;
+import org.eclipse.bpmn2.Extension;
+import org.eclipse.bpmn2.ExtensionAttributeValue;
+import org.eclipse.bpmn2.FlowElement;
+import org.eclipse.bpmn2.FlowNode;
+import org.eclipse.bpmn2.FormalExpression;
+import org.eclipse.bpmn2.Gateway;
+import org.eclipse.bpmn2.GlobalBusinessRuleTask;
+import org.eclipse.bpmn2.GlobalChoreographyTask;
+import org.eclipse.bpmn2.GlobalConversation;
+import org.eclipse.bpmn2.GlobalManualTask;
+import org.eclipse.bpmn2.GlobalScriptTask;
+import org.eclipse.bpmn2.GlobalTask;
+import org.eclipse.bpmn2.GlobalUserTask;
+import org.eclipse.bpmn2.Group;
+import org.eclipse.bpmn2.HumanPerformer;
+import org.eclipse.bpmn2.ImplicitThrowEvent;
+import org.eclipse.bpmn2.Import;
+import org.eclipse.bpmn2.InclusiveGateway;
+import org.eclipse.bpmn2.InputOutputBinding;
+import org.eclipse.bpmn2.InputOutputSpecification;
+import org.eclipse.bpmn2.InputSet;
+import org.eclipse.bpmn2.Interface;
+import org.eclipse.bpmn2.IntermediateCatchEvent;
+import org.eclipse.bpmn2.IntermediateThrowEvent;
+import org.eclipse.bpmn2.ItemDefinition;
+import org.eclipse.bpmn2.Lane;
+import org.eclipse.bpmn2.LaneSet;
+import org.eclipse.bpmn2.LinkEventDefinition;
+import org.eclipse.bpmn2.LoopCharacteristics;
+import org.eclipse.bpmn2.ManualTask;
+import org.eclipse.bpmn2.Message;
+import org.eclipse.bpmn2.MessageEventDefinition;
+import org.eclipse.bpmn2.MessageFlow;
+import org.eclipse.bpmn2.MessageFlowAssociation;
+import org.eclipse.bpmn2.Monitoring;
+import org.eclipse.bpmn2.MultiInstanceLoopCharacteristics;
+import org.eclipse.bpmn2.Operation;
+import org.eclipse.bpmn2.OutputSet;
+import org.eclipse.bpmn2.ParallelGateway;
+import org.eclipse.bpmn2.Participant;
+import org.eclipse.bpmn2.ParticipantAssociation;
+import org.eclipse.bpmn2.ParticipantMultiplicity;
+import org.eclipse.bpmn2.PartnerEntity;
+import org.eclipse.bpmn2.PartnerRole;
+import org.eclipse.bpmn2.Performer;
+import org.eclipse.bpmn2.PotentialOwner;
+import org.eclipse.bpmn2.Property;
+import org.eclipse.bpmn2.ReceiveTask;
+import org.eclipse.bpmn2.Relationship;
+import org.eclipse.bpmn2.Rendering;
+import org.eclipse.bpmn2.Resource;
+import org.eclipse.bpmn2.ResourceAssignmentExpression;
+import org.eclipse.bpmn2.ResourceParameter;
+import org.eclipse.bpmn2.ResourceParameterBinding;
+import org.eclipse.bpmn2.ResourceRole;
+import org.eclipse.bpmn2.RootElement;
+import org.eclipse.bpmn2.ScriptTask;
+import org.eclipse.bpmn2.SendTask;
+import org.eclipse.bpmn2.SequenceFlow;
+import org.eclipse.bpmn2.ServiceTask;
+import org.eclipse.bpmn2.Signal;
+import org.eclipse.bpmn2.SignalEventDefinition;
+import org.eclipse.bpmn2.StandardLoopCharacteristics;
+import org.eclipse.bpmn2.StartEvent;
+import org.eclipse.bpmn2.SubChoreography;
+import org.eclipse.bpmn2.SubConversation;
+import org.eclipse.bpmn2.SubProcess;
+import org.eclipse.bpmn2.Task;
+import org.eclipse.bpmn2.TerminateEventDefinition;
+import org.eclipse.bpmn2.TextAnnotation;
+import org.eclipse.bpmn2.ThrowEvent;
+import org.eclipse.bpmn2.TimerEventDefinition;
+import org.eclipse.bpmn2.Transaction;
+import org.eclipse.bpmn2.UserTask;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EMap;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.emf.ecore.EcorePackage;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+import org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl;
+
+import org.eclipse.emf.ecore.util.BasicFeatureMap;
+import org.eclipse.emf.ecore.util.EcoreEMap;
+import org.eclipse.emf.ecore.util.FeatureMap;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Document Root</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getMixed <em>Mixed</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getActivity <em>Activity</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getAdHocSubProcess <em>Ad Hoc Sub Process</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getFlowElement <em>Flow Element</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getArtifact <em>Artifact</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getAssignment <em>Assignment</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getAssociation <em>Association</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getAuditing <em>Auditing</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getBaseElement <em>Base Element</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getBaseElementWithMixedContent <em>Base Element With Mixed Content</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getBoundaryEvent <em>Boundary Event</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getBusinessRuleTask <em>Business Rule Task</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getCallableElement <em>Callable Element</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getCallActivity <em>Call Activity</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getCallChoreography <em>Call Choreography</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getCallConversation <em>Call Conversation</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getConversationNode <em>Conversation Node</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getCancelEventDefinition <em>Cancel Event Definition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getEventDefinition <em>Event Definition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getRootElement <em>Root Element</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getCatchEvent <em>Catch Event</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getCategory <em>Category</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getCategoryValue <em>Category Value</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getChoreography <em>Choreography</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getCollaboration <em>Collaboration</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getChoreographyActivity <em>Choreography Activity</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getChoreographyTask <em>Choreography Task</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getCompensateEventDefinition <em>Compensate Event Definition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getComplexBehaviorDefinition <em>Complex Behavior Definition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getComplexGateway <em>Complex Gateway</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getConditionalEventDefinition <em>Conditional Event Definition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getConversation <em>Conversation</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getConversationAssociation <em>Conversation Association</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getConversationLink <em>Conversation Link</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getCorrelationKey <em>Correlation Key</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getCorrelationProperty <em>Correlation Property</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getCorrelationPropertyBinding <em>Correlation Property Binding</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getCorrelationPropertyRetrievalExpression <em>Correlation Property Retrieval Expression</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getCorrelationSubscription <em>Correlation Subscription</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getDataAssociation <em>Data Association</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getDataInput <em>Data Input</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getDataInputAssociation <em>Data Input Association</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getDataObject <em>Data Object</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getDataObjectReference <em>Data Object Reference</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getDataOutput <em>Data Output</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getDataOutputAssociation <em>Data Output Association</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getDataState <em>Data State</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getDataStore <em>Data Store</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getDataStoreReference <em>Data Store Reference</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getDefinitions <em>Definitions</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getDocumentation <em>Documentation</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getEndEvent <em>End Event</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getEndPoint <em>End Point</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getError <em>Error</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getErrorEventDefinition <em>Error Event Definition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getEscalation <em>Escalation</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getEscalationEventDefinition <em>Escalation Event Definition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getEvent <em>Event</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getEventBasedGateway <em>Event Based Gateway</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getExclusiveGateway <em>Exclusive Gateway</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getExpression <em>Expression</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getExtension <em>Extension</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getExtensionElements <em>Extension Elements</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getFlowNode <em>Flow Node</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getFormalExpression <em>Formal Expression</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getGateway <em>Gateway</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getGlobalBusinessRuleTask <em>Global Business Rule Task</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getGlobalChoreographyTask <em>Global Choreography Task</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getGlobalConversation <em>Global Conversation</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getGlobalManualTask <em>Global Manual Task</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getGlobalScriptTask <em>Global Script Task</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getGlobalTask <em>Global Task</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getGlobalUserTask <em>Global User Task</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getGroup <em>Group</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getHumanPerformer <em>Human Performer</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getPerformer <em>Performer</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getResourceRole <em>Resource Role</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getImplicitThrowEvent <em>Implicit Throw Event</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getImport <em>Import</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getInclusiveGateway <em>Inclusive Gateway</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getInputSet <em>Input Set</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getInterface <em>Interface</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getIntermediateCatchEvent <em>Intermediate Catch Event</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getIntermediateThrowEvent <em>Intermediate Throw Event</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getIoBinding <em>Io Binding</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getIoSpecification <em>Io Specification</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getItemDefinition <em>Item Definition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getLane <em>Lane</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getLaneSet <em>Lane Set</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getLinkEventDefinition <em>Link Event Definition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getLoopCharacteristics <em>Loop Characteristics</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getManualTask <em>Manual Task</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getMessage <em>Message</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getMessageEventDefinition <em>Message Event Definition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getMessageFlow <em>Message Flow</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getMessageFlowAssociation <em>Message Flow Association</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getMonitoring <em>Monitoring</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getMultiInstanceLoopCharacteristics <em>Multi Instance Loop Characteristics</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getOperation <em>Operation</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getOutputSet <em>Output Set</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getParallelGateway <em>Parallel Gateway</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getParticipant <em>Participant</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getParticipantAssociation <em>Participant Association</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getParticipantMultiplicity <em>Participant Multiplicity</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getPartnerEntity <em>Partner Entity</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getPartnerRole <em>Partner Role</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getPotentialOwner <em>Potential Owner</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getProcess <em>Process</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getProperty <em>Property</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getReceiveTask <em>Receive Task</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getRelationship <em>Relationship</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getRendering <em>Rendering</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getResource <em>Resource</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getResourceAssignmentExpression <em>Resource Assignment Expression</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getResourceParameter <em>Resource Parameter</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getResourceParameterBinding <em>Resource Parameter Binding</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getScript <em>Script</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getScriptTask <em>Script Task</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getSendTask <em>Send Task</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getSequenceFlow <em>Sequence Flow</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getServiceTask <em>Service Task</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getSignal <em>Signal</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getSignalEventDefinition <em>Signal Event Definition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getStandardLoopCharacteristics <em>Standard Loop Characteristics</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getStartEvent <em>Start Event</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getSubChoreography <em>Sub Choreography</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getSubConversation <em>Sub Conversation</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getSubProcess <em>Sub Process</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getTask <em>Task</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getTerminateEventDefinition <em>Terminate Event Definition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getText <em>Text</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getTextAnnotation <em>Text Annotation</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getThrowEvent <em>Throw Event</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getTimerEventDefinition <em>Timer Event Definition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getTransaction <em>Transaction</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentRootImpl#getUserTask <em>User Task</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DocumentRootImpl extends EObjectImpl implements DocumentRoot {
+ /**
+ * The cached value of the '{@link #getMixed() <em>Mixed</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMixed()
+ * @generated
+ * @ordered
+ */
+ protected FeatureMap mixed;
+
+ /**
+ * The cached value of the '{@link #getXMLNSPrefixMap() <em>XMLNS Prefix Map</em>}' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXMLNSPrefixMap()
+ * @generated
+ * @ordered
+ */
+ protected EMap<String, String> xMLNSPrefixMap;
+
+ /**
+ * The cached value of the '{@link #getXSISchemaLocation() <em>XSI Schema Location</em>}' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXSISchemaLocation()
+ * @generated
+ * @ordered
+ */
+ protected EMap<String, String> xSISchemaLocation;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DocumentRootImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.DOCUMENT_ROOT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeatureMap getMixed() {
+ if (mixed == null) {
+ mixed = new BasicFeatureMap(this, Bpmn2Package.DOCUMENT_ROOT__MIXED);
+ }
+ return mixed;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Map<String, String> getXMLNSPrefixMap() {
+ if (xMLNSPrefixMap == null) {
+ xMLNSPrefixMap = new EcoreEMap<String, String>(
+ EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY,
+ EStringToStringMapEntryImpl.class, this,
+ Bpmn2Package.DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
+ }
+ return xMLNSPrefixMap.map();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Map<String, String> getXSISchemaLocation() {
+ if (xSISchemaLocation == null) {
+ xSISchemaLocation = new EcoreEMap<String, String>(
+ EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY,
+ EStringToStringMapEntryImpl.class, this,
+ Bpmn2Package.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
+ }
+ return xSISchemaLocation.map();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Activity getActivity() {
+ return (Activity) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__ACTIVITY, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetActivity(Activity newActivity,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__ACTIVITY, newActivity,
+ msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setActivity(Activity newActivity) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__ACTIVITY, newActivity);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public AdHocSubProcess getAdHocSubProcess() {
+ return (AdHocSubProcess) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__AD_HOC_SUB_PROCESS, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetAdHocSubProcess(
+ AdHocSubProcess newAdHocSubProcess, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__AD_HOC_SUB_PROCESS,
+ newAdHocSubProcess, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAdHocSubProcess(AdHocSubProcess newAdHocSubProcess) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__AD_HOC_SUB_PROCESS,
+ newAdHocSubProcess);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FlowElement getFlowElement() {
+ return (FlowElement) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__FLOW_ELEMENT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetFlowElement(FlowElement newFlowElement,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__FLOW_ELEMENT,
+ newFlowElement, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFlowElement(FlowElement newFlowElement) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__FLOW_ELEMENT,
+ newFlowElement);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Artifact getArtifact() {
+ return (Artifact) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__ARTIFACT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetArtifact(Artifact newArtifact,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__ARTIFACT, newArtifact,
+ msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setArtifact(Artifact newArtifact) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__ARTIFACT, newArtifact);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Assignment getAssignment() {
+ return (Assignment) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__ASSIGNMENT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetAssignment(Assignment newAssignment,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__ASSIGNMENT, newAssignment,
+ msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAssignment(Assignment newAssignment) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__ASSIGNMENT, newAssignment);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Association getAssociation() {
+ return (Association) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__ASSOCIATION, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetAssociation(Association newAssociation,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__ASSOCIATION,
+ newAssociation, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAssociation(Association newAssociation) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__ASSOCIATION,
+ newAssociation);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Auditing getAuditing() {
+ return (Auditing) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__AUDITING, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetAuditing(Auditing newAuditing,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__AUDITING, newAuditing,
+ msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAuditing(Auditing newAuditing) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__AUDITING, newAuditing);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BaseElement getBaseElement() {
+ return (BaseElement) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__BASE_ELEMENT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetBaseElement(BaseElement newBaseElement,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__BASE_ELEMENT,
+ newBaseElement, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBaseElement(BaseElement newBaseElement) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__BASE_ELEMENT,
+ newBaseElement);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BaseElement getBaseElementWithMixedContent() {
+ return (BaseElement) getMixed()
+ .get(Bpmn2Package.Literals.DOCUMENT_ROOT__BASE_ELEMENT_WITH_MIXED_CONTENT,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetBaseElementWithMixedContent(
+ BaseElement newBaseElementWithMixedContent, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed())
+ .basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__BASE_ELEMENT_WITH_MIXED_CONTENT,
+ newBaseElementWithMixedContent, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBaseElementWithMixedContent(
+ BaseElement newBaseElementWithMixedContent) {
+ ((FeatureMap.Internal) getMixed())
+ .set(Bpmn2Package.Literals.DOCUMENT_ROOT__BASE_ELEMENT_WITH_MIXED_CONTENT,
+ newBaseElementWithMixedContent);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BoundaryEvent getBoundaryEvent() {
+ return (BoundaryEvent) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__BOUNDARY_EVENT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetBoundaryEvent(
+ BoundaryEvent newBoundaryEvent, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__BOUNDARY_EVENT,
+ newBoundaryEvent, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBoundaryEvent(BoundaryEvent newBoundaryEvent) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__BOUNDARY_EVENT,
+ newBoundaryEvent);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BusinessRuleTask getBusinessRuleTask() {
+ return (BusinessRuleTask) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__BUSINESS_RULE_TASK, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetBusinessRuleTask(
+ BusinessRuleTask newBusinessRuleTask, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__BUSINESS_RULE_TASK,
+ newBusinessRuleTask, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBusinessRuleTask(BusinessRuleTask newBusinessRuleTask) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__BUSINESS_RULE_TASK,
+ newBusinessRuleTask);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CallableElement getCallableElement() {
+ return (CallableElement) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CALLABLE_ELEMENT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetCallableElement(
+ CallableElement newCallableElement, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CALLABLE_ELEMENT,
+ newCallableElement, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCallableElement(CallableElement newCallableElement) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CALLABLE_ELEMENT,
+ newCallableElement);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CallActivity getCallActivity() {
+ return (CallActivity) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CALL_ACTIVITY, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetCallActivity(CallActivity newCallActivity,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CALL_ACTIVITY,
+ newCallActivity, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCallActivity(CallActivity newCallActivity) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CALL_ACTIVITY,
+ newCallActivity);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CallChoreography getCallChoreography() {
+ return (CallChoreography) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CALL_CHOREOGRAPHY, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetCallChoreography(
+ CallChoreography newCallChoreography, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CALL_CHOREOGRAPHY,
+ newCallChoreography, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCallChoreography(CallChoreography newCallChoreography) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CALL_CHOREOGRAPHY,
+ newCallChoreography);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CallConversation getCallConversation() {
+ return (CallConversation) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CALL_CONVERSATION, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetCallConversation(
+ CallConversation newCallConversation, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CALL_CONVERSATION,
+ newCallConversation, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCallConversation(CallConversation newCallConversation) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CALL_CONVERSATION,
+ newCallConversation);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ConversationNode getConversationNode() {
+ return (ConversationNode) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CONVERSATION_NODE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetConversationNode(
+ ConversationNode newConversationNode, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CONVERSATION_NODE,
+ newConversationNode, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setConversationNode(ConversationNode newConversationNode) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CONVERSATION_NODE,
+ newConversationNode);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CancelEventDefinition getCancelEventDefinition() {
+ return (CancelEventDefinition) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CANCEL_EVENT_DEFINITION,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetCancelEventDefinition(
+ CancelEventDefinition newCancelEventDefinition,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CANCEL_EVENT_DEFINITION,
+ newCancelEventDefinition, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCancelEventDefinition(
+ CancelEventDefinition newCancelEventDefinition) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CANCEL_EVENT_DEFINITION,
+ newCancelEventDefinition);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EventDefinition getEventDefinition() {
+ return (EventDefinition) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__EVENT_DEFINITION, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetEventDefinition(
+ EventDefinition newEventDefinition, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__EVENT_DEFINITION,
+ newEventDefinition, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setEventDefinition(EventDefinition newEventDefinition) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__EVENT_DEFINITION,
+ newEventDefinition);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public RootElement getRootElement() {
+ return (RootElement) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__ROOT_ELEMENT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetRootElement(RootElement newRootElement,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__ROOT_ELEMENT,
+ newRootElement, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setRootElement(RootElement newRootElement) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__ROOT_ELEMENT,
+ newRootElement);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CatchEvent getCatchEvent() {
+ return (CatchEvent) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CATCH_EVENT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetCatchEvent(CatchEvent newCatchEvent,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CATCH_EVENT,
+ newCatchEvent, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCatchEvent(CatchEvent newCatchEvent) {
+ ((FeatureMap.Internal) getMixed())
+ .set(Bpmn2Package.Literals.DOCUMENT_ROOT__CATCH_EVENT,
+ newCatchEvent);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Category getCategory() {
+ return (Category) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CATEGORY, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetCategory(Category newCategory,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CATEGORY, newCategory,
+ msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCategory(Category newCategory) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CATEGORY, newCategory);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CategoryValue getCategoryValue() {
+ return (CategoryValue) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CATEGORY_VALUE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetCategoryValue(
+ CategoryValue newCategoryValue, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CATEGORY_VALUE,
+ newCategoryValue, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCategoryValue(CategoryValue newCategoryValue) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CATEGORY_VALUE,
+ newCategoryValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Choreography getChoreography() {
+ return (Choreography) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CHOREOGRAPHY, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetChoreography(Choreography newChoreography,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CHOREOGRAPHY,
+ newChoreography, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setChoreography(Choreography newChoreography) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CHOREOGRAPHY,
+ newChoreography);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Collaboration getCollaboration() {
+ return (Collaboration) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__COLLABORATION, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetCollaboration(
+ Collaboration newCollaboration, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__COLLABORATION,
+ newCollaboration, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCollaboration(Collaboration newCollaboration) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__COLLABORATION,
+ newCollaboration);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ChoreographyActivity getChoreographyActivity() {
+ return (ChoreographyActivity) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CHOREOGRAPHY_ACTIVITY,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetChoreographyActivity(
+ ChoreographyActivity newChoreographyActivity, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CHOREOGRAPHY_ACTIVITY,
+ newChoreographyActivity, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setChoreographyActivity(
+ ChoreographyActivity newChoreographyActivity) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CHOREOGRAPHY_ACTIVITY,
+ newChoreographyActivity);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ChoreographyTask getChoreographyTask() {
+ return (ChoreographyTask) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CHOREOGRAPHY_TASK, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetChoreographyTask(
+ ChoreographyTask newChoreographyTask, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CHOREOGRAPHY_TASK,
+ newChoreographyTask, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setChoreographyTask(ChoreographyTask newChoreographyTask) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CHOREOGRAPHY_TASK,
+ newChoreographyTask);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompensateEventDefinition getCompensateEventDefinition() {
+ return (CompensateEventDefinition) getMixed()
+ .get(Bpmn2Package.Literals.DOCUMENT_ROOT__COMPENSATE_EVENT_DEFINITION,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetCompensateEventDefinition(
+ CompensateEventDefinition newCompensateEventDefinition,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed())
+ .basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__COMPENSATE_EVENT_DEFINITION,
+ newCompensateEventDefinition, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCompensateEventDefinition(
+ CompensateEventDefinition newCompensateEventDefinition) {
+ ((FeatureMap.Internal) getMixed())
+ .set(Bpmn2Package.Literals.DOCUMENT_ROOT__COMPENSATE_EVENT_DEFINITION,
+ newCompensateEventDefinition);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ComplexBehaviorDefinition getComplexBehaviorDefinition() {
+ return (ComplexBehaviorDefinition) getMixed()
+ .get(Bpmn2Package.Literals.DOCUMENT_ROOT__COMPLEX_BEHAVIOR_DEFINITION,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetComplexBehaviorDefinition(
+ ComplexBehaviorDefinition newComplexBehaviorDefinition,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed())
+ .basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__COMPLEX_BEHAVIOR_DEFINITION,
+ newComplexBehaviorDefinition, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setComplexBehaviorDefinition(
+ ComplexBehaviorDefinition newComplexBehaviorDefinition) {
+ ((FeatureMap.Internal) getMixed())
+ .set(Bpmn2Package.Literals.DOCUMENT_ROOT__COMPLEX_BEHAVIOR_DEFINITION,
+ newComplexBehaviorDefinition);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ComplexGateway getComplexGateway() {
+ return (ComplexGateway) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__COMPLEX_GATEWAY, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetComplexGateway(
+ ComplexGateway newComplexGateway, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__COMPLEX_GATEWAY,
+ newComplexGateway, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setComplexGateway(ComplexGateway newComplexGateway) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__COMPLEX_GATEWAY,
+ newComplexGateway);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ConditionalEventDefinition getConditionalEventDefinition() {
+ return (ConditionalEventDefinition) getMixed()
+ .get(Bpmn2Package.Literals.DOCUMENT_ROOT__CONDITIONAL_EVENT_DEFINITION,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetConditionalEventDefinition(
+ ConditionalEventDefinition newConditionalEventDefinition,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed())
+ .basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CONDITIONAL_EVENT_DEFINITION,
+ newConditionalEventDefinition, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setConditionalEventDefinition(
+ ConditionalEventDefinition newConditionalEventDefinition) {
+ ((FeatureMap.Internal) getMixed())
+ .set(Bpmn2Package.Literals.DOCUMENT_ROOT__CONDITIONAL_EVENT_DEFINITION,
+ newConditionalEventDefinition);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Conversation getConversation() {
+ return (Conversation) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CONVERSATION, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetConversation(Conversation newConversation,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CONVERSATION,
+ newConversation, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setConversation(Conversation newConversation) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CONVERSATION,
+ newConversation);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ConversationAssociation getConversationAssociation() {
+ return (ConversationAssociation) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CONVERSATION_ASSOCIATION,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetConversationAssociation(
+ ConversationAssociation newConversationAssociation,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CONVERSATION_ASSOCIATION,
+ newConversationAssociation, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setConversationAssociation(
+ ConversationAssociation newConversationAssociation) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CONVERSATION_ASSOCIATION,
+ newConversationAssociation);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ConversationLink getConversationLink() {
+ return (ConversationLink) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CONVERSATION_LINK, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetConversationLink(
+ ConversationLink newConversationLink, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CONVERSATION_LINK,
+ newConversationLink, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setConversationLink(ConversationLink newConversationLink) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CONVERSATION_LINK,
+ newConversationLink);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CorrelationKey getCorrelationKey() {
+ return (CorrelationKey) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CORRELATION_KEY, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetCorrelationKey(
+ CorrelationKey newCorrelationKey, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CORRELATION_KEY,
+ newCorrelationKey, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCorrelationKey(CorrelationKey newCorrelationKey) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CORRELATION_KEY,
+ newCorrelationKey);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CorrelationProperty getCorrelationProperty() {
+ return (CorrelationProperty) getMixed()
+ .get(Bpmn2Package.Literals.DOCUMENT_ROOT__CORRELATION_PROPERTY,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetCorrelationProperty(
+ CorrelationProperty newCorrelationProperty, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CORRELATION_PROPERTY,
+ newCorrelationProperty, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCorrelationProperty(
+ CorrelationProperty newCorrelationProperty) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CORRELATION_PROPERTY,
+ newCorrelationProperty);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CorrelationPropertyBinding getCorrelationPropertyBinding() {
+ return (CorrelationPropertyBinding) getMixed()
+ .get(Bpmn2Package.Literals.DOCUMENT_ROOT__CORRELATION_PROPERTY_BINDING,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetCorrelationPropertyBinding(
+ CorrelationPropertyBinding newCorrelationPropertyBinding,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed())
+ .basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CORRELATION_PROPERTY_BINDING,
+ newCorrelationPropertyBinding, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCorrelationPropertyBinding(
+ CorrelationPropertyBinding newCorrelationPropertyBinding) {
+ ((FeatureMap.Internal) getMixed())
+ .set(Bpmn2Package.Literals.DOCUMENT_ROOT__CORRELATION_PROPERTY_BINDING,
+ newCorrelationPropertyBinding);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CorrelationPropertyRetrievalExpression getCorrelationPropertyRetrievalExpression() {
+ return (CorrelationPropertyRetrievalExpression) getMixed()
+ .get(Bpmn2Package.Literals.DOCUMENT_ROOT__CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetCorrelationPropertyRetrievalExpression(
+ CorrelationPropertyRetrievalExpression newCorrelationPropertyRetrievalExpression,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed())
+ .basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION,
+ newCorrelationPropertyRetrievalExpression, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCorrelationPropertyRetrievalExpression(
+ CorrelationPropertyRetrievalExpression newCorrelationPropertyRetrievalExpression) {
+ ((FeatureMap.Internal) getMixed())
+ .set(Bpmn2Package.Literals.DOCUMENT_ROOT__CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION,
+ newCorrelationPropertyRetrievalExpression);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CorrelationSubscription getCorrelationSubscription() {
+ return (CorrelationSubscription) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CORRELATION_SUBSCRIPTION,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetCorrelationSubscription(
+ CorrelationSubscription newCorrelationSubscription,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CORRELATION_SUBSCRIPTION,
+ newCorrelationSubscription, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCorrelationSubscription(
+ CorrelationSubscription newCorrelationSubscription) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__CORRELATION_SUBSCRIPTION,
+ newCorrelationSubscription);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataAssociation getDataAssociation() {
+ return (DataAssociation) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__DATA_ASSOCIATION, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDataAssociation(
+ DataAssociation newDataAssociation, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__DATA_ASSOCIATION,
+ newDataAssociation, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDataAssociation(DataAssociation newDataAssociation) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__DATA_ASSOCIATION,
+ newDataAssociation);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataInput getDataInput() {
+ return (DataInput) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__DATA_INPUT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDataInput(DataInput newDataInput,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__DATA_INPUT, newDataInput,
+ msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDataInput(DataInput newDataInput) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__DATA_INPUT, newDataInput);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataInputAssociation getDataInputAssociation() {
+ return (DataInputAssociation) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__DATA_INPUT_ASSOCIATION,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDataInputAssociation(
+ DataInputAssociation newDataInputAssociation, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__DATA_INPUT_ASSOCIATION,
+ newDataInputAssociation, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDataInputAssociation(
+ DataInputAssociation newDataInputAssociation) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__DATA_INPUT_ASSOCIATION,
+ newDataInputAssociation);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataObject getDataObject() {
+ return (DataObject) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__DATA_OBJECT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDataObject(DataObject newDataObject,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__DATA_OBJECT,
+ newDataObject, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDataObject(DataObject newDataObject) {
+ ((FeatureMap.Internal) getMixed())
+ .set(Bpmn2Package.Literals.DOCUMENT_ROOT__DATA_OBJECT,
+ newDataObject);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataObjectReference getDataObjectReference() {
+ return (DataObjectReference) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__DATA_OBJECT_REFERENCE,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDataObjectReference(
+ DataObjectReference newDataObjectReference, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__DATA_OBJECT_REFERENCE,
+ newDataObjectReference, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDataObjectReference(
+ DataObjectReference newDataObjectReference) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__DATA_OBJECT_REFERENCE,
+ newDataObjectReference);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataOutput getDataOutput() {
+ return (DataOutput) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__DATA_OUTPUT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDataOutput(DataOutput newDataOutput,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__DATA_OUTPUT,
+ newDataOutput, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDataOutput(DataOutput newDataOutput) {
+ ((FeatureMap.Internal) getMixed())
+ .set(Bpmn2Package.Literals.DOCUMENT_ROOT__DATA_OUTPUT,
+ newDataOutput);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataOutputAssociation getDataOutputAssociation() {
+ return (DataOutputAssociation) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__DATA_OUTPUT_ASSOCIATION,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDataOutputAssociation(
+ DataOutputAssociation newDataOutputAssociation,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__DATA_OUTPUT_ASSOCIATION,
+ newDataOutputAssociation, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDataOutputAssociation(
+ DataOutputAssociation newDataOutputAssociation) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__DATA_OUTPUT_ASSOCIATION,
+ newDataOutputAssociation);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataState getDataState() {
+ return (DataState) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__DATA_STATE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDataState(DataState newDataState,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__DATA_STATE, newDataState,
+ msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDataState(DataState newDataState) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__DATA_STATE, newDataState);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataStore getDataStore() {
+ return (DataStore) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__DATA_STORE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDataStore(DataStore newDataStore,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__DATA_STORE, newDataStore,
+ msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDataStore(DataStore newDataStore) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__DATA_STORE, newDataStore);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataStoreReference getDataStoreReference() {
+ return (DataStoreReference) getMixed()
+ .get(Bpmn2Package.Literals.DOCUMENT_ROOT__DATA_STORE_REFERENCE,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDataStoreReference(
+ DataStoreReference newDataStoreReference, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__DATA_STORE_REFERENCE,
+ newDataStoreReference, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDataStoreReference(DataStoreReference newDataStoreReference) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__DATA_STORE_REFERENCE,
+ newDataStoreReference);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Definitions getDefinitions() {
+ return (Definitions) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__DEFINITIONS, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDefinitions(Definitions newDefinitions,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__DEFINITIONS,
+ newDefinitions, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDefinitions(Definitions newDefinitions) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__DEFINITIONS,
+ newDefinitions);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Documentation getDocumentation() {
+ return (Documentation) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__DOCUMENTATION, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDocumentation(
+ Documentation newDocumentation, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__DOCUMENTATION,
+ newDocumentation, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDocumentation(Documentation newDocumentation) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__DOCUMENTATION,
+ newDocumentation);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EndEvent getEndEvent() {
+ return (EndEvent) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__END_EVENT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetEndEvent(EndEvent newEndEvent,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__END_EVENT, newEndEvent,
+ msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setEndEvent(EndEvent newEndEvent) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__END_EVENT, newEndEvent);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EndPoint getEndPoint() {
+ return (EndPoint) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__END_POINT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetEndPoint(EndPoint newEndPoint,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__END_POINT, newEndPoint,
+ msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setEndPoint(EndPoint newEndPoint) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__END_POINT, newEndPoint);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public org.eclipse.bpmn2.Error getError() {
+ return (org.eclipse.bpmn2.Error) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__ERROR, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetError(org.eclipse.bpmn2.Error newError,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__ERROR, newError, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setError(org.eclipse.bpmn2.Error newError) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__ERROR, newError);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ErrorEventDefinition getErrorEventDefinition() {
+ return (ErrorEventDefinition) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__ERROR_EVENT_DEFINITION,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetErrorEventDefinition(
+ ErrorEventDefinition newErrorEventDefinition, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__ERROR_EVENT_DEFINITION,
+ newErrorEventDefinition, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setErrorEventDefinition(
+ ErrorEventDefinition newErrorEventDefinition) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__ERROR_EVENT_DEFINITION,
+ newErrorEventDefinition);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Escalation getEscalation() {
+ return (Escalation) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__ESCALATION, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetEscalation(Escalation newEscalation,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__ESCALATION, newEscalation,
+ msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setEscalation(Escalation newEscalation) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__ESCALATION, newEscalation);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EscalationEventDefinition getEscalationEventDefinition() {
+ return (EscalationEventDefinition) getMixed()
+ .get(Bpmn2Package.Literals.DOCUMENT_ROOT__ESCALATION_EVENT_DEFINITION,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetEscalationEventDefinition(
+ EscalationEventDefinition newEscalationEventDefinition,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed())
+ .basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__ESCALATION_EVENT_DEFINITION,
+ newEscalationEventDefinition, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setEscalationEventDefinition(
+ EscalationEventDefinition newEscalationEventDefinition) {
+ ((FeatureMap.Internal) getMixed())
+ .set(Bpmn2Package.Literals.DOCUMENT_ROOT__ESCALATION_EVENT_DEFINITION,
+ newEscalationEventDefinition);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Event getEvent() {
+ return (Event) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__EVENT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetEvent(Event newEvent,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__EVENT, newEvent, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setEvent(Event newEvent) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__EVENT, newEvent);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EventBasedGateway getEventBasedGateway() {
+ return (EventBasedGateway) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__EVENT_BASED_GATEWAY, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetEventBasedGateway(
+ EventBasedGateway newEventBasedGateway, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__EVENT_BASED_GATEWAY,
+ newEventBasedGateway, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setEventBasedGateway(EventBasedGateway newEventBasedGateway) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__EVENT_BASED_GATEWAY,
+ newEventBasedGateway);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ExclusiveGateway getExclusiveGateway() {
+ return (ExclusiveGateway) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__EXCLUSIVE_GATEWAY, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetExclusiveGateway(
+ ExclusiveGateway newExclusiveGateway, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__EXCLUSIVE_GATEWAY,
+ newExclusiveGateway, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setExclusiveGateway(ExclusiveGateway newExclusiveGateway) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__EXCLUSIVE_GATEWAY,
+ newExclusiveGateway);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Expression getExpression() {
+ return (Expression) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__EXPRESSION, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetExpression(Expression newExpression,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__EXPRESSION, newExpression,
+ msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setExpression(Expression newExpression) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__EXPRESSION, newExpression);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Extension getExtension() {
+ return (Extension) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__EXTENSION, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetExtension(Extension newExtension,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__EXTENSION, newExtension,
+ msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setExtension(Extension newExtension) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__EXTENSION, newExtension);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ExtensionAttributeValue getExtensionElements() {
+ return (ExtensionAttributeValue) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__EXTENSION_ELEMENTS, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetExtensionElements(
+ ExtensionAttributeValue newExtensionElements, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__EXTENSION_ELEMENTS,
+ newExtensionElements, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setExtensionElements(
+ ExtensionAttributeValue newExtensionElements) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__EXTENSION_ELEMENTS,
+ newExtensionElements);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FlowNode getFlowNode() {
+ return (FlowNode) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__FLOW_NODE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetFlowNode(FlowNode newFlowNode,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__FLOW_NODE, newFlowNode,
+ msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFlowNode(FlowNode newFlowNode) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__FLOW_NODE, newFlowNode);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FormalExpression getFormalExpression() {
+ return (FormalExpression) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__FORMAL_EXPRESSION, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetFormalExpression(
+ FormalExpression newFormalExpression, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__FORMAL_EXPRESSION,
+ newFormalExpression, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFormalExpression(FormalExpression newFormalExpression) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__FORMAL_EXPRESSION,
+ newFormalExpression);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Gateway getGateway() {
+ return (Gateway) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__GATEWAY, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetGateway(Gateway newGateway,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__GATEWAY, newGateway, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public GlobalBusinessRuleTask getGlobalBusinessRuleTask() {
+ return (GlobalBusinessRuleTask) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__GLOBAL_BUSINESS_RULE_TASK,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetGlobalBusinessRuleTask(
+ GlobalBusinessRuleTask newGlobalBusinessRuleTask,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__GLOBAL_BUSINESS_RULE_TASK,
+ newGlobalBusinessRuleTask, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setGlobalBusinessRuleTask(
+ GlobalBusinessRuleTask newGlobalBusinessRuleTask) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__GLOBAL_BUSINESS_RULE_TASK,
+ newGlobalBusinessRuleTask);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public GlobalChoreographyTask getGlobalChoreographyTask() {
+ return (GlobalChoreographyTask) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__GLOBAL_CHOREOGRAPHY_TASK,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetGlobalChoreographyTask(
+ GlobalChoreographyTask newGlobalChoreographyTask,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__GLOBAL_CHOREOGRAPHY_TASK,
+ newGlobalChoreographyTask, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setGlobalChoreographyTask(
+ GlobalChoreographyTask newGlobalChoreographyTask) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__GLOBAL_CHOREOGRAPHY_TASK,
+ newGlobalChoreographyTask);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public GlobalConversation getGlobalConversation() {
+ return (GlobalConversation) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__GLOBAL_CONVERSATION, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetGlobalConversation(
+ GlobalConversation newGlobalConversation, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__GLOBAL_CONVERSATION,
+ newGlobalConversation, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setGlobalConversation(GlobalConversation newGlobalConversation) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__GLOBAL_CONVERSATION,
+ newGlobalConversation);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public GlobalManualTask getGlobalManualTask() {
+ return (GlobalManualTask) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__GLOBAL_MANUAL_TASK, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetGlobalManualTask(
+ GlobalManualTask newGlobalManualTask, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__GLOBAL_MANUAL_TASK,
+ newGlobalManualTask, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setGlobalManualTask(GlobalManualTask newGlobalManualTask) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__GLOBAL_MANUAL_TASK,
+ newGlobalManualTask);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public GlobalScriptTask getGlobalScriptTask() {
+ return (GlobalScriptTask) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__GLOBAL_SCRIPT_TASK, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetGlobalScriptTask(
+ GlobalScriptTask newGlobalScriptTask, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__GLOBAL_SCRIPT_TASK,
+ newGlobalScriptTask, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setGlobalScriptTask(GlobalScriptTask newGlobalScriptTask) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__GLOBAL_SCRIPT_TASK,
+ newGlobalScriptTask);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public GlobalTask getGlobalTask() {
+ return (GlobalTask) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__GLOBAL_TASK, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetGlobalTask(GlobalTask newGlobalTask,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__GLOBAL_TASK,
+ newGlobalTask, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setGlobalTask(GlobalTask newGlobalTask) {
+ ((FeatureMap.Internal) getMixed())
+ .set(Bpmn2Package.Literals.DOCUMENT_ROOT__GLOBAL_TASK,
+ newGlobalTask);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public GlobalUserTask getGlobalUserTask() {
+ return (GlobalUserTask) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__GLOBAL_USER_TASK, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetGlobalUserTask(
+ GlobalUserTask newGlobalUserTask, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__GLOBAL_USER_TASK,
+ newGlobalUserTask, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setGlobalUserTask(GlobalUserTask newGlobalUserTask) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__GLOBAL_USER_TASK,
+ newGlobalUserTask);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Group getGroup() {
+ return (Group) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__GROUP, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetGroup(Group newGroup,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__GROUP, newGroup, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setGroup(Group newGroup) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__GROUP, newGroup);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public HumanPerformer getHumanPerformer() {
+ return (HumanPerformer) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__HUMAN_PERFORMER, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetHumanPerformer(
+ HumanPerformer newHumanPerformer, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__HUMAN_PERFORMER,
+ newHumanPerformer, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setHumanPerformer(HumanPerformer newHumanPerformer) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__HUMAN_PERFORMER,
+ newHumanPerformer);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Performer getPerformer() {
+ return (Performer) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__PERFORMER, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetPerformer(Performer newPerformer,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__PERFORMER, newPerformer,
+ msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPerformer(Performer newPerformer) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__PERFORMER, newPerformer);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ResourceRole getResourceRole() {
+ return (ResourceRole) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__RESOURCE_ROLE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetResourceRole(ResourceRole newResourceRole,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__RESOURCE_ROLE,
+ newResourceRole, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setResourceRole(ResourceRole newResourceRole) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__RESOURCE_ROLE,
+ newResourceRole);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ImplicitThrowEvent getImplicitThrowEvent() {
+ return (ImplicitThrowEvent) getMixed()
+ .get(Bpmn2Package.Literals.DOCUMENT_ROOT__IMPLICIT_THROW_EVENT,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetImplicitThrowEvent(
+ ImplicitThrowEvent newImplicitThrowEvent, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__IMPLICIT_THROW_EVENT,
+ newImplicitThrowEvent, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setImplicitThrowEvent(ImplicitThrowEvent newImplicitThrowEvent) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__IMPLICIT_THROW_EVENT,
+ newImplicitThrowEvent);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Import getImport() {
+ return (Import) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__IMPORT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetImport(Import newImport,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__IMPORT, newImport, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setImport(Import newImport) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__IMPORT, newImport);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public InclusiveGateway getInclusiveGateway() {
+ return (InclusiveGateway) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__INCLUSIVE_GATEWAY, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetInclusiveGateway(
+ InclusiveGateway newInclusiveGateway, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__INCLUSIVE_GATEWAY,
+ newInclusiveGateway, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setInclusiveGateway(InclusiveGateway newInclusiveGateway) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__INCLUSIVE_GATEWAY,
+ newInclusiveGateway);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public InputSet getInputSet() {
+ return (InputSet) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__INPUT_SET, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetInputSet(InputSet newInputSet,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__INPUT_SET, newInputSet,
+ msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setInputSet(InputSet newInputSet) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__INPUT_SET, newInputSet);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Interface getInterface() {
+ return (Interface) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__INTERFACE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetInterface(Interface newInterface,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__INTERFACE, newInterface,
+ msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setInterface(Interface newInterface) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__INTERFACE, newInterface);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public IntermediateCatchEvent getIntermediateCatchEvent() {
+ return (IntermediateCatchEvent) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__INTERMEDIATE_CATCH_EVENT,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetIntermediateCatchEvent(
+ IntermediateCatchEvent newIntermediateCatchEvent,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__INTERMEDIATE_CATCH_EVENT,
+ newIntermediateCatchEvent, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIntermediateCatchEvent(
+ IntermediateCatchEvent newIntermediateCatchEvent) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__INTERMEDIATE_CATCH_EVENT,
+ newIntermediateCatchEvent);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public IntermediateThrowEvent getIntermediateThrowEvent() {
+ return (IntermediateThrowEvent) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__INTERMEDIATE_THROW_EVENT,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetIntermediateThrowEvent(
+ IntermediateThrowEvent newIntermediateThrowEvent,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__INTERMEDIATE_THROW_EVENT,
+ newIntermediateThrowEvent, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIntermediateThrowEvent(
+ IntermediateThrowEvent newIntermediateThrowEvent) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__INTERMEDIATE_THROW_EVENT,
+ newIntermediateThrowEvent);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public InputOutputBinding getIoBinding() {
+ return (InputOutputBinding) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__IO_BINDING, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetIoBinding(InputOutputBinding newIoBinding,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__IO_BINDING, newIoBinding,
+ msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIoBinding(InputOutputBinding newIoBinding) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__IO_BINDING, newIoBinding);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public InputOutputSpecification getIoSpecification() {
+ return (InputOutputSpecification) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__IO_SPECIFICATION, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetIoSpecification(
+ InputOutputSpecification newIoSpecification, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__IO_SPECIFICATION,
+ newIoSpecification, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIoSpecification(InputOutputSpecification newIoSpecification) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__IO_SPECIFICATION,
+ newIoSpecification);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ItemDefinition getItemDefinition() {
+ return (ItemDefinition) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__ITEM_DEFINITION, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetItemDefinition(
+ ItemDefinition newItemDefinition, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__ITEM_DEFINITION,
+ newItemDefinition, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setItemDefinition(ItemDefinition newItemDefinition) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__ITEM_DEFINITION,
+ newItemDefinition);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Lane getLane() {
+ return (Lane) getMixed().get(Bpmn2Package.Literals.DOCUMENT_ROOT__LANE,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetLane(Lane newLane, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__LANE, newLane, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLane(Lane newLane) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__LANE, newLane);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public LaneSet getLaneSet() {
+ return (LaneSet) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__LANE_SET, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetLaneSet(LaneSet newLaneSet,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed())
+ .basicAdd(Bpmn2Package.Literals.DOCUMENT_ROOT__LANE_SET,
+ newLaneSet, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLaneSet(LaneSet newLaneSet) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__LANE_SET, newLaneSet);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public LinkEventDefinition getLinkEventDefinition() {
+ return (LinkEventDefinition) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__LINK_EVENT_DEFINITION,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetLinkEventDefinition(
+ LinkEventDefinition newLinkEventDefinition, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__LINK_EVENT_DEFINITION,
+ newLinkEventDefinition, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLinkEventDefinition(
+ LinkEventDefinition newLinkEventDefinition) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__LINK_EVENT_DEFINITION,
+ newLinkEventDefinition);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public LoopCharacteristics getLoopCharacteristics() {
+ return (LoopCharacteristics) getMixed()
+ .get(Bpmn2Package.Literals.DOCUMENT_ROOT__LOOP_CHARACTERISTICS,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetLoopCharacteristics(
+ LoopCharacteristics newLoopCharacteristics, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__LOOP_CHARACTERISTICS,
+ newLoopCharacteristics, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLoopCharacteristics(
+ LoopCharacteristics newLoopCharacteristics) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__LOOP_CHARACTERISTICS,
+ newLoopCharacteristics);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ManualTask getManualTask() {
+ return (ManualTask) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__MANUAL_TASK, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetManualTask(ManualTask newManualTask,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__MANUAL_TASK,
+ newManualTask, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setManualTask(ManualTask newManualTask) {
+ ((FeatureMap.Internal) getMixed())
+ .set(Bpmn2Package.Literals.DOCUMENT_ROOT__MANUAL_TASK,
+ newManualTask);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Message getMessage() {
+ return (Message) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__MESSAGE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetMessage(Message newMessage,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__MESSAGE, newMessage, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMessage(Message newMessage) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__MESSAGE, newMessage);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public MessageEventDefinition getMessageEventDefinition() {
+ return (MessageEventDefinition) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__MESSAGE_EVENT_DEFINITION,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetMessageEventDefinition(
+ MessageEventDefinition newMessageEventDefinition,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__MESSAGE_EVENT_DEFINITION,
+ newMessageEventDefinition, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMessageEventDefinition(
+ MessageEventDefinition newMessageEventDefinition) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__MESSAGE_EVENT_DEFINITION,
+ newMessageEventDefinition);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public MessageFlow getMessageFlow() {
+ return (MessageFlow) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__MESSAGE_FLOW, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetMessageFlow(MessageFlow newMessageFlow,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__MESSAGE_FLOW,
+ newMessageFlow, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMessageFlow(MessageFlow newMessageFlow) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__MESSAGE_FLOW,
+ newMessageFlow);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public MessageFlowAssociation getMessageFlowAssociation() {
+ return (MessageFlowAssociation) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__MESSAGE_FLOW_ASSOCIATION,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetMessageFlowAssociation(
+ MessageFlowAssociation newMessageFlowAssociation,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__MESSAGE_FLOW_ASSOCIATION,
+ newMessageFlowAssociation, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMessageFlowAssociation(
+ MessageFlowAssociation newMessageFlowAssociation) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__MESSAGE_FLOW_ASSOCIATION,
+ newMessageFlowAssociation);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Monitoring getMonitoring() {
+ return (Monitoring) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__MONITORING, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetMonitoring(Monitoring newMonitoring,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__MONITORING, newMonitoring,
+ msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMonitoring(Monitoring newMonitoring) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__MONITORING, newMonitoring);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public MultiInstanceLoopCharacteristics getMultiInstanceLoopCharacteristics() {
+ return (MultiInstanceLoopCharacteristics) getMixed()
+ .get(Bpmn2Package.Literals.DOCUMENT_ROOT__MULTI_INSTANCE_LOOP_CHARACTERISTICS,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetMultiInstanceLoopCharacteristics(
+ MultiInstanceLoopCharacteristics newMultiInstanceLoopCharacteristics,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed())
+ .basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__MULTI_INSTANCE_LOOP_CHARACTERISTICS,
+ newMultiInstanceLoopCharacteristics, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMultiInstanceLoopCharacteristics(
+ MultiInstanceLoopCharacteristics newMultiInstanceLoopCharacteristics) {
+ ((FeatureMap.Internal) getMixed())
+ .set(Bpmn2Package.Literals.DOCUMENT_ROOT__MULTI_INSTANCE_LOOP_CHARACTERISTICS,
+ newMultiInstanceLoopCharacteristics);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Operation getOperation() {
+ return (Operation) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__OPERATION, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetOperation(Operation newOperation,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__OPERATION, newOperation,
+ msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setOperation(Operation newOperation) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__OPERATION, newOperation);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OutputSet getOutputSet() {
+ return (OutputSet) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__OUTPUT_SET, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetOutputSet(OutputSet newOutputSet,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__OUTPUT_SET, newOutputSet,
+ msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setOutputSet(OutputSet newOutputSet) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__OUTPUT_SET, newOutputSet);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ParallelGateway getParallelGateway() {
+ return (ParallelGateway) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__PARALLEL_GATEWAY, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetParallelGateway(
+ ParallelGateway newParallelGateway, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__PARALLEL_GATEWAY,
+ newParallelGateway, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setParallelGateway(ParallelGateway newParallelGateway) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__PARALLEL_GATEWAY,
+ newParallelGateway);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Participant getParticipant() {
+ return (Participant) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__PARTICIPANT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetParticipant(Participant newParticipant,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__PARTICIPANT,
+ newParticipant, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setParticipant(Participant newParticipant) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__PARTICIPANT,
+ newParticipant);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ParticipantAssociation getParticipantAssociation() {
+ return (ParticipantAssociation) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__PARTICIPANT_ASSOCIATION,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetParticipantAssociation(
+ ParticipantAssociation newParticipantAssociation,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__PARTICIPANT_ASSOCIATION,
+ newParticipantAssociation, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setParticipantAssociation(
+ ParticipantAssociation newParticipantAssociation) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__PARTICIPANT_ASSOCIATION,
+ newParticipantAssociation);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ParticipantMultiplicity getParticipantMultiplicity() {
+ return (ParticipantMultiplicity) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__PARTICIPANT_MULTIPLICITY,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetParticipantMultiplicity(
+ ParticipantMultiplicity newParticipantMultiplicity,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__PARTICIPANT_MULTIPLICITY,
+ newParticipantMultiplicity, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setParticipantMultiplicity(
+ ParticipantMultiplicity newParticipantMultiplicity) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__PARTICIPANT_MULTIPLICITY,
+ newParticipantMultiplicity);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public PartnerEntity getPartnerEntity() {
+ return (PartnerEntity) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__PARTNER_ENTITY, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetPartnerEntity(
+ PartnerEntity newPartnerEntity, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__PARTNER_ENTITY,
+ newPartnerEntity, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPartnerEntity(PartnerEntity newPartnerEntity) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__PARTNER_ENTITY,
+ newPartnerEntity);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public PartnerRole getPartnerRole() {
+ return (PartnerRole) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__PARTNER_ROLE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetPartnerRole(PartnerRole newPartnerRole,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__PARTNER_ROLE,
+ newPartnerRole, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPartnerRole(PartnerRole newPartnerRole) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__PARTNER_ROLE,
+ newPartnerRole);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public PotentialOwner getPotentialOwner() {
+ return (PotentialOwner) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__POTENTIAL_OWNER, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetPotentialOwner(
+ PotentialOwner newPotentialOwner, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__POTENTIAL_OWNER,
+ newPotentialOwner, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPotentialOwner(PotentialOwner newPotentialOwner) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__POTENTIAL_OWNER,
+ newPotentialOwner);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public org.eclipse.bpmn2.Process getProcess() {
+ return (org.eclipse.bpmn2.Process) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__PROCESS, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetProcess(
+ org.eclipse.bpmn2.Process newProcess, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__PROCESS, newProcess, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setProcess(org.eclipse.bpmn2.Process newProcess) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__PROCESS, newProcess);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Property getProperty() {
+ return (Property) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__PROPERTY, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetProperty(Property newProperty,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__PROPERTY, newProperty,
+ msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setProperty(Property newProperty) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__PROPERTY, newProperty);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ReceiveTask getReceiveTask() {
+ return (ReceiveTask) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__RECEIVE_TASK, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetReceiveTask(ReceiveTask newReceiveTask,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__RECEIVE_TASK,
+ newReceiveTask, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setReceiveTask(ReceiveTask newReceiveTask) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__RECEIVE_TASK,
+ newReceiveTask);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Relationship getRelationship() {
+ return (Relationship) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__RELATIONSHIP, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetRelationship(Relationship newRelationship,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__RELATIONSHIP,
+ newRelationship, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setRelationship(Relationship newRelationship) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__RELATIONSHIP,
+ newRelationship);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Rendering getRendering() {
+ return (Rendering) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__RENDERING, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetRendering(Rendering newRendering,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__RENDERING, newRendering,
+ msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setRendering(Rendering newRendering) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__RENDERING, newRendering);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Resource getResource() {
+ return (Resource) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__RESOURCE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetResource(Resource newResource,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__RESOURCE, newResource,
+ msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setResource(Resource newResource) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__RESOURCE, newResource);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ResourceAssignmentExpression getResourceAssignmentExpression() {
+ return (ResourceAssignmentExpression) getMixed()
+ .get(Bpmn2Package.Literals.DOCUMENT_ROOT__RESOURCE_ASSIGNMENT_EXPRESSION,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetResourceAssignmentExpression(
+ ResourceAssignmentExpression newResourceAssignmentExpression,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed())
+ .basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__RESOURCE_ASSIGNMENT_EXPRESSION,
+ newResourceAssignmentExpression, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setResourceAssignmentExpression(
+ ResourceAssignmentExpression newResourceAssignmentExpression) {
+ ((FeatureMap.Internal) getMixed())
+ .set(Bpmn2Package.Literals.DOCUMENT_ROOT__RESOURCE_ASSIGNMENT_EXPRESSION,
+ newResourceAssignmentExpression);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ResourceParameter getResourceParameter() {
+ return (ResourceParameter) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__RESOURCE_PARAMETER, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetResourceParameter(
+ ResourceParameter newResourceParameter, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__RESOURCE_PARAMETER,
+ newResourceParameter, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setResourceParameter(ResourceParameter newResourceParameter) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__RESOURCE_PARAMETER,
+ newResourceParameter);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ResourceParameterBinding getResourceParameterBinding() {
+ return (ResourceParameterBinding) getMixed()
+ .get(Bpmn2Package.Literals.DOCUMENT_ROOT__RESOURCE_PARAMETER_BINDING,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetResourceParameterBinding(
+ ResourceParameterBinding newResourceParameterBinding,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed())
+ .basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__RESOURCE_PARAMETER_BINDING,
+ newResourceParameterBinding, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setResourceParameterBinding(
+ ResourceParameterBinding newResourceParameterBinding) {
+ ((FeatureMap.Internal) getMixed())
+ .set(Bpmn2Package.Literals.DOCUMENT_ROOT__RESOURCE_PARAMETER_BINDING,
+ newResourceParameterBinding);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Object getScript() {
+ return (Object) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__SCRIPT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetScript(EObject newScript,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__SCRIPT, newScript, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setScript(Object newScript) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__SCRIPT, newScript);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ScriptTask getScriptTask() {
+ return (ScriptTask) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__SCRIPT_TASK, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetScriptTask(ScriptTask newScriptTask,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__SCRIPT_TASK,
+ newScriptTask, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setScriptTask(ScriptTask newScriptTask) {
+ ((FeatureMap.Internal) getMixed())
+ .set(Bpmn2Package.Literals.DOCUMENT_ROOT__SCRIPT_TASK,
+ newScriptTask);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SendTask getSendTask() {
+ return (SendTask) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__SEND_TASK, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetSendTask(SendTask newSendTask,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__SEND_TASK, newSendTask,
+ msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSendTask(SendTask newSendTask) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__SEND_TASK, newSendTask);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SequenceFlow getSequenceFlow() {
+ return (SequenceFlow) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__SEQUENCE_FLOW, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetSequenceFlow(SequenceFlow newSequenceFlow,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__SEQUENCE_FLOW,
+ newSequenceFlow, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSequenceFlow(SequenceFlow newSequenceFlow) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__SEQUENCE_FLOW,
+ newSequenceFlow);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ServiceTask getServiceTask() {
+ return (ServiceTask) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__SERVICE_TASK, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetServiceTask(ServiceTask newServiceTask,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__SERVICE_TASK,
+ newServiceTask, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setServiceTask(ServiceTask newServiceTask) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__SERVICE_TASK,
+ newServiceTask);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Signal getSignal() {
+ return (Signal) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__SIGNAL, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetSignal(Signal newSignal,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__SIGNAL, newSignal, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSignal(Signal newSignal) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__SIGNAL, newSignal);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SignalEventDefinition getSignalEventDefinition() {
+ return (SignalEventDefinition) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__SIGNAL_EVENT_DEFINITION,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetSignalEventDefinition(
+ SignalEventDefinition newSignalEventDefinition,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__SIGNAL_EVENT_DEFINITION,
+ newSignalEventDefinition, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSignalEventDefinition(
+ SignalEventDefinition newSignalEventDefinition) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__SIGNAL_EVENT_DEFINITION,
+ newSignalEventDefinition);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public StandardLoopCharacteristics getStandardLoopCharacteristics() {
+ return (StandardLoopCharacteristics) getMixed()
+ .get(Bpmn2Package.Literals.DOCUMENT_ROOT__STANDARD_LOOP_CHARACTERISTICS,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetStandardLoopCharacteristics(
+ StandardLoopCharacteristics newStandardLoopCharacteristics,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed())
+ .basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__STANDARD_LOOP_CHARACTERISTICS,
+ newStandardLoopCharacteristics, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setStandardLoopCharacteristics(
+ StandardLoopCharacteristics newStandardLoopCharacteristics) {
+ ((FeatureMap.Internal) getMixed())
+ .set(Bpmn2Package.Literals.DOCUMENT_ROOT__STANDARD_LOOP_CHARACTERISTICS,
+ newStandardLoopCharacteristics);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public StartEvent getStartEvent() {
+ return (StartEvent) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__START_EVENT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetStartEvent(StartEvent newStartEvent,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__START_EVENT,
+ newStartEvent, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setStartEvent(StartEvent newStartEvent) {
+ ((FeatureMap.Internal) getMixed())
+ .set(Bpmn2Package.Literals.DOCUMENT_ROOT__START_EVENT,
+ newStartEvent);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SubChoreography getSubChoreography() {
+ return (SubChoreography) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__SUB_CHOREOGRAPHY, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetSubChoreography(
+ SubChoreography newSubChoreography, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__SUB_CHOREOGRAPHY,
+ newSubChoreography, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSubChoreography(SubChoreography newSubChoreography) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__SUB_CHOREOGRAPHY,
+ newSubChoreography);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SubConversation getSubConversation() {
+ return (SubConversation) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__SUB_CONVERSATION, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetSubConversation(
+ SubConversation newSubConversation, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__SUB_CONVERSATION,
+ newSubConversation, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSubConversation(SubConversation newSubConversation) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__SUB_CONVERSATION,
+ newSubConversation);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SubProcess getSubProcess() {
+ return (SubProcess) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__SUB_PROCESS, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetSubProcess(SubProcess newSubProcess,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__SUB_PROCESS,
+ newSubProcess, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSubProcess(SubProcess newSubProcess) {
+ ((FeatureMap.Internal) getMixed())
+ .set(Bpmn2Package.Literals.DOCUMENT_ROOT__SUB_PROCESS,
+ newSubProcess);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Task getTask() {
+ return (Task) getMixed().get(Bpmn2Package.Literals.DOCUMENT_ROOT__TASK,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetTask(Task newTask, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__TASK, newTask, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTask(Task newTask) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__TASK, newTask);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TerminateEventDefinition getTerminateEventDefinition() {
+ return (TerminateEventDefinition) getMixed()
+ .get(Bpmn2Package.Literals.DOCUMENT_ROOT__TERMINATE_EVENT_DEFINITION,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetTerminateEventDefinition(
+ TerminateEventDefinition newTerminateEventDefinition,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed())
+ .basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__TERMINATE_EVENT_DEFINITION,
+ newTerminateEventDefinition, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTerminateEventDefinition(
+ TerminateEventDefinition newTerminateEventDefinition) {
+ ((FeatureMap.Internal) getMixed())
+ .set(Bpmn2Package.Literals.DOCUMENT_ROOT__TERMINATE_EVENT_DEFINITION,
+ newTerminateEventDefinition);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Object getText() {
+ return (Object) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__TEXT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetText(EObject newText,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__TEXT, newText, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setText(Object newText) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__TEXT, newText);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TextAnnotation getTextAnnotation() {
+ return (TextAnnotation) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__TEXT_ANNOTATION, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetTextAnnotation(
+ TextAnnotation newTextAnnotation, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__TEXT_ANNOTATION,
+ newTextAnnotation, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTextAnnotation(TextAnnotation newTextAnnotation) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__TEXT_ANNOTATION,
+ newTextAnnotation);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ThrowEvent getThrowEvent() {
+ return (ThrowEvent) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__THROW_EVENT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetThrowEvent(ThrowEvent newThrowEvent,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__THROW_EVENT,
+ newThrowEvent, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setThrowEvent(ThrowEvent newThrowEvent) {
+ ((FeatureMap.Internal) getMixed())
+ .set(Bpmn2Package.Literals.DOCUMENT_ROOT__THROW_EVENT,
+ newThrowEvent);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TimerEventDefinition getTimerEventDefinition() {
+ return (TimerEventDefinition) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__TIMER_EVENT_DEFINITION,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetTimerEventDefinition(
+ TimerEventDefinition newTimerEventDefinition, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__TIMER_EVENT_DEFINITION,
+ newTimerEventDefinition, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTimerEventDefinition(
+ TimerEventDefinition newTimerEventDefinition) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__TIMER_EVENT_DEFINITION,
+ newTimerEventDefinition);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Transaction getTransaction() {
+ return (Transaction) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__TRANSACTION, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetTransaction(Transaction newTransaction,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__TRANSACTION,
+ newTransaction, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTransaction(Transaction newTransaction) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__TRANSACTION,
+ newTransaction);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public UserTask getUserTask() {
+ return (UserTask) getMixed().get(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__USER_TASK, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetUserTask(UserTask newUserTask,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__USER_TASK, newUserTask,
+ msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setUserTask(UserTask newUserTask) {
+ ((FeatureMap.Internal) getMixed()).set(
+ Bpmn2Package.Literals.DOCUMENT_ROOT__USER_TASK, newUserTask);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.DOCUMENT_ROOT__MIXED:
+ return ((InternalEList<?>) getMixed()).basicRemove(otherEnd, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ return ((InternalEList<?>) ((EMap.InternalMapView<String, String>) getXMLNSPrefixMap())
+ .eMap()).basicRemove(otherEnd, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ return ((InternalEList<?>) ((EMap.InternalMapView<String, String>) getXSISchemaLocation())
+ .eMap()).basicRemove(otherEnd, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__ACTIVITY:
+ return basicSetActivity(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__AD_HOC_SUB_PROCESS:
+ return basicSetAdHocSubProcess(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__FLOW_ELEMENT:
+ return basicSetFlowElement(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__ARTIFACT:
+ return basicSetArtifact(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__ASSIGNMENT:
+ return basicSetAssignment(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__ASSOCIATION:
+ return basicSetAssociation(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__AUDITING:
+ return basicSetAuditing(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__BASE_ELEMENT:
+ return basicSetBaseElement(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__BASE_ELEMENT_WITH_MIXED_CONTENT:
+ return basicSetBaseElementWithMixedContent(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__BOUNDARY_EVENT:
+ return basicSetBoundaryEvent(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__BUSINESS_RULE_TASK:
+ return basicSetBusinessRuleTask(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__CALLABLE_ELEMENT:
+ return basicSetCallableElement(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__CALL_ACTIVITY:
+ return basicSetCallActivity(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__CALL_CHOREOGRAPHY:
+ return basicSetCallChoreography(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__CALL_CONVERSATION:
+ return basicSetCallConversation(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__CONVERSATION_NODE:
+ return basicSetConversationNode(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__CANCEL_EVENT_DEFINITION:
+ return basicSetCancelEventDefinition(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__EVENT_DEFINITION:
+ return basicSetEventDefinition(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__ROOT_ELEMENT:
+ return basicSetRootElement(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__CATCH_EVENT:
+ return basicSetCatchEvent(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__CATEGORY:
+ return basicSetCategory(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__CATEGORY_VALUE:
+ return basicSetCategoryValue(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__CHOREOGRAPHY:
+ return basicSetChoreography(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__COLLABORATION:
+ return basicSetCollaboration(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__CHOREOGRAPHY_ACTIVITY:
+ return basicSetChoreographyActivity(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__CHOREOGRAPHY_TASK:
+ return basicSetChoreographyTask(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__COMPENSATE_EVENT_DEFINITION:
+ return basicSetCompensateEventDefinition(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__COMPLEX_BEHAVIOR_DEFINITION:
+ return basicSetComplexBehaviorDefinition(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__COMPLEX_GATEWAY:
+ return basicSetComplexGateway(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__CONDITIONAL_EVENT_DEFINITION:
+ return basicSetConditionalEventDefinition(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__CONVERSATION:
+ return basicSetConversation(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__CONVERSATION_ASSOCIATION:
+ return basicSetConversationAssociation(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__CONVERSATION_LINK:
+ return basicSetConversationLink(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__CORRELATION_KEY:
+ return basicSetCorrelationKey(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__CORRELATION_PROPERTY:
+ return basicSetCorrelationProperty(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__CORRELATION_PROPERTY_BINDING:
+ return basicSetCorrelationPropertyBinding(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION:
+ return basicSetCorrelationPropertyRetrievalExpression(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__CORRELATION_SUBSCRIPTION:
+ return basicSetCorrelationSubscription(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_ASSOCIATION:
+ return basicSetDataAssociation(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_INPUT:
+ return basicSetDataInput(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_INPUT_ASSOCIATION:
+ return basicSetDataInputAssociation(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_OBJECT:
+ return basicSetDataObject(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_OBJECT_REFERENCE:
+ return basicSetDataObjectReference(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_OUTPUT:
+ return basicSetDataOutput(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_OUTPUT_ASSOCIATION:
+ return basicSetDataOutputAssociation(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_STATE:
+ return basicSetDataState(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_STORE:
+ return basicSetDataStore(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_STORE_REFERENCE:
+ return basicSetDataStoreReference(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__DEFINITIONS:
+ return basicSetDefinitions(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__DOCUMENTATION:
+ return basicSetDocumentation(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__END_EVENT:
+ return basicSetEndEvent(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__END_POINT:
+ return basicSetEndPoint(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__ERROR:
+ return basicSetError(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__ERROR_EVENT_DEFINITION:
+ return basicSetErrorEventDefinition(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__ESCALATION:
+ return basicSetEscalation(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__ESCALATION_EVENT_DEFINITION:
+ return basicSetEscalationEventDefinition(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__EVENT:
+ return basicSetEvent(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__EVENT_BASED_GATEWAY:
+ return basicSetEventBasedGateway(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__EXCLUSIVE_GATEWAY:
+ return basicSetExclusiveGateway(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__EXPRESSION:
+ return basicSetExpression(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__EXTENSION:
+ return basicSetExtension(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__EXTENSION_ELEMENTS:
+ return basicSetExtensionElements(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__FLOW_NODE:
+ return basicSetFlowNode(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__FORMAL_EXPRESSION:
+ return basicSetFormalExpression(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__GATEWAY:
+ return basicSetGateway(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__GLOBAL_BUSINESS_RULE_TASK:
+ return basicSetGlobalBusinessRuleTask(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__GLOBAL_CHOREOGRAPHY_TASK:
+ return basicSetGlobalChoreographyTask(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__GLOBAL_CONVERSATION:
+ return basicSetGlobalConversation(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__GLOBAL_MANUAL_TASK:
+ return basicSetGlobalManualTask(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__GLOBAL_SCRIPT_TASK:
+ return basicSetGlobalScriptTask(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__GLOBAL_TASK:
+ return basicSetGlobalTask(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__GLOBAL_USER_TASK:
+ return basicSetGlobalUserTask(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__GROUP:
+ return basicSetGroup(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__HUMAN_PERFORMER:
+ return basicSetHumanPerformer(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__PERFORMER:
+ return basicSetPerformer(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__RESOURCE_ROLE:
+ return basicSetResourceRole(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__IMPLICIT_THROW_EVENT:
+ return basicSetImplicitThrowEvent(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__IMPORT:
+ return basicSetImport(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__INCLUSIVE_GATEWAY:
+ return basicSetInclusiveGateway(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__INPUT_SET:
+ return basicSetInputSet(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__INTERFACE:
+ return basicSetInterface(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__INTERMEDIATE_CATCH_EVENT:
+ return basicSetIntermediateCatchEvent(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__INTERMEDIATE_THROW_EVENT:
+ return basicSetIntermediateThrowEvent(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__IO_BINDING:
+ return basicSetIoBinding(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__IO_SPECIFICATION:
+ return basicSetIoSpecification(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__ITEM_DEFINITION:
+ return basicSetItemDefinition(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__LANE:
+ return basicSetLane(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__LANE_SET:
+ return basicSetLaneSet(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__LINK_EVENT_DEFINITION:
+ return basicSetLinkEventDefinition(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__LOOP_CHARACTERISTICS:
+ return basicSetLoopCharacteristics(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__MANUAL_TASK:
+ return basicSetManualTask(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__MESSAGE:
+ return basicSetMessage(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__MESSAGE_EVENT_DEFINITION:
+ return basicSetMessageEventDefinition(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__MESSAGE_FLOW:
+ return basicSetMessageFlow(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__MESSAGE_FLOW_ASSOCIATION:
+ return basicSetMessageFlowAssociation(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__MONITORING:
+ return basicSetMonitoring(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__MULTI_INSTANCE_LOOP_CHARACTERISTICS:
+ return basicSetMultiInstanceLoopCharacteristics(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__OPERATION:
+ return basicSetOperation(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__OUTPUT_SET:
+ return basicSetOutputSet(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__PARALLEL_GATEWAY:
+ return basicSetParallelGateway(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__PARTICIPANT:
+ return basicSetParticipant(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__PARTICIPANT_ASSOCIATION:
+ return basicSetParticipantAssociation(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__PARTICIPANT_MULTIPLICITY:
+ return basicSetParticipantMultiplicity(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__PARTNER_ENTITY:
+ return basicSetPartnerEntity(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__PARTNER_ROLE:
+ return basicSetPartnerRole(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__POTENTIAL_OWNER:
+ return basicSetPotentialOwner(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__PROCESS:
+ return basicSetProcess(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__PROPERTY:
+ return basicSetProperty(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__RECEIVE_TASK:
+ return basicSetReceiveTask(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__RELATIONSHIP:
+ return basicSetRelationship(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__RENDERING:
+ return basicSetRendering(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__RESOURCE:
+ return basicSetResource(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__RESOURCE_ASSIGNMENT_EXPRESSION:
+ return basicSetResourceAssignmentExpression(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__RESOURCE_PARAMETER:
+ return basicSetResourceParameter(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__RESOURCE_PARAMETER_BINDING:
+ return basicSetResourceParameterBinding(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__SCRIPT:
+ return basicSetScript(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__SCRIPT_TASK:
+ return basicSetScriptTask(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__SEND_TASK:
+ return basicSetSendTask(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__SEQUENCE_FLOW:
+ return basicSetSequenceFlow(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__SERVICE_TASK:
+ return basicSetServiceTask(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__SIGNAL:
+ return basicSetSignal(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__SIGNAL_EVENT_DEFINITION:
+ return basicSetSignalEventDefinition(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__STANDARD_LOOP_CHARACTERISTICS:
+ return basicSetStandardLoopCharacteristics(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__START_EVENT:
+ return basicSetStartEvent(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__SUB_CHOREOGRAPHY:
+ return basicSetSubChoreography(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__SUB_CONVERSATION:
+ return basicSetSubConversation(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__SUB_PROCESS:
+ return basicSetSubProcess(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__TASK:
+ return basicSetTask(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__TERMINATE_EVENT_DEFINITION:
+ return basicSetTerminateEventDefinition(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__TEXT:
+ return basicSetText(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__TEXT_ANNOTATION:
+ return basicSetTextAnnotation(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__THROW_EVENT:
+ return basicSetThrowEvent(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__TIMER_EVENT_DEFINITION:
+ return basicSetTimerEventDefinition(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__TRANSACTION:
+ return basicSetTransaction(null, msgs);
+ case Bpmn2Package.DOCUMENT_ROOT__USER_TASK:
+ return basicSetUserTask(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.DOCUMENT_ROOT__MIXED:
+ if (coreType)
+ return getMixed();
+ return ((FeatureMap.Internal) getMixed()).getWrapper();
+ case Bpmn2Package.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ if (coreType)
+ return ((EMap.InternalMapView<String, String>) getXMLNSPrefixMap())
+ .eMap();
+ else
+ return getXMLNSPrefixMap();
+ case Bpmn2Package.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ if (coreType)
+ return ((EMap.InternalMapView<String, String>) getXSISchemaLocation())
+ .eMap();
+ else
+ return getXSISchemaLocation();
+ case Bpmn2Package.DOCUMENT_ROOT__ACTIVITY:
+ return getActivity();
+ case Bpmn2Package.DOCUMENT_ROOT__AD_HOC_SUB_PROCESS:
+ return getAdHocSubProcess();
+ case Bpmn2Package.DOCUMENT_ROOT__FLOW_ELEMENT:
+ return getFlowElement();
+ case Bpmn2Package.DOCUMENT_ROOT__ARTIFACT:
+ return getArtifact();
+ case Bpmn2Package.DOCUMENT_ROOT__ASSIGNMENT:
+ return getAssignment();
+ case Bpmn2Package.DOCUMENT_ROOT__ASSOCIATION:
+ return getAssociation();
+ case Bpmn2Package.DOCUMENT_ROOT__AUDITING:
+ return getAuditing();
+ case Bpmn2Package.DOCUMENT_ROOT__BASE_ELEMENT:
+ return getBaseElement();
+ case Bpmn2Package.DOCUMENT_ROOT__BASE_ELEMENT_WITH_MIXED_CONTENT:
+ return getBaseElementWithMixedContent();
+ case Bpmn2Package.DOCUMENT_ROOT__BOUNDARY_EVENT:
+ return getBoundaryEvent();
+ case Bpmn2Package.DOCUMENT_ROOT__BUSINESS_RULE_TASK:
+ return getBusinessRuleTask();
+ case Bpmn2Package.DOCUMENT_ROOT__CALLABLE_ELEMENT:
+ return getCallableElement();
+ case Bpmn2Package.DOCUMENT_ROOT__CALL_ACTIVITY:
+ return getCallActivity();
+ case Bpmn2Package.DOCUMENT_ROOT__CALL_CHOREOGRAPHY:
+ return getCallChoreography();
+ case Bpmn2Package.DOCUMENT_ROOT__CALL_CONVERSATION:
+ return getCallConversation();
+ case Bpmn2Package.DOCUMENT_ROOT__CONVERSATION_NODE:
+ return getConversationNode();
+ case Bpmn2Package.DOCUMENT_ROOT__CANCEL_EVENT_DEFINITION:
+ return getCancelEventDefinition();
+ case Bpmn2Package.DOCUMENT_ROOT__EVENT_DEFINITION:
+ return getEventDefinition();
+ case Bpmn2Package.DOCUMENT_ROOT__ROOT_ELEMENT:
+ return getRootElement();
+ case Bpmn2Package.DOCUMENT_ROOT__CATCH_EVENT:
+ return getCatchEvent();
+ case Bpmn2Package.DOCUMENT_ROOT__CATEGORY:
+ return getCategory();
+ case Bpmn2Package.DOCUMENT_ROOT__CATEGORY_VALUE:
+ return getCategoryValue();
+ case Bpmn2Package.DOCUMENT_ROOT__CHOREOGRAPHY:
+ return getChoreography();
+ case Bpmn2Package.DOCUMENT_ROOT__COLLABORATION:
+ return getCollaboration();
+ case Bpmn2Package.DOCUMENT_ROOT__CHOREOGRAPHY_ACTIVITY:
+ return getChoreographyActivity();
+ case Bpmn2Package.DOCUMENT_ROOT__CHOREOGRAPHY_TASK:
+ return getChoreographyTask();
+ case Bpmn2Package.DOCUMENT_ROOT__COMPENSATE_EVENT_DEFINITION:
+ return getCompensateEventDefinition();
+ case Bpmn2Package.DOCUMENT_ROOT__COMPLEX_BEHAVIOR_DEFINITION:
+ return getComplexBehaviorDefinition();
+ case Bpmn2Package.DOCUMENT_ROOT__COMPLEX_GATEWAY:
+ return getComplexGateway();
+ case Bpmn2Package.DOCUMENT_ROOT__CONDITIONAL_EVENT_DEFINITION:
+ return getConditionalEventDefinition();
+ case Bpmn2Package.DOCUMENT_ROOT__CONVERSATION:
+ return getConversation();
+ case Bpmn2Package.DOCUMENT_ROOT__CONVERSATION_ASSOCIATION:
+ return getConversationAssociation();
+ case Bpmn2Package.DOCUMENT_ROOT__CONVERSATION_LINK:
+ return getConversationLink();
+ case Bpmn2Package.DOCUMENT_ROOT__CORRELATION_KEY:
+ return getCorrelationKey();
+ case Bpmn2Package.DOCUMENT_ROOT__CORRELATION_PROPERTY:
+ return getCorrelationProperty();
+ case Bpmn2Package.DOCUMENT_ROOT__CORRELATION_PROPERTY_BINDING:
+ return getCorrelationPropertyBinding();
+ case Bpmn2Package.DOCUMENT_ROOT__CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION:
+ return getCorrelationPropertyRetrievalExpression();
+ case Bpmn2Package.DOCUMENT_ROOT__CORRELATION_SUBSCRIPTION:
+ return getCorrelationSubscription();
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_ASSOCIATION:
+ return getDataAssociation();
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_INPUT:
+ return getDataInput();
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_INPUT_ASSOCIATION:
+ return getDataInputAssociation();
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_OBJECT:
+ return getDataObject();
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_OBJECT_REFERENCE:
+ return getDataObjectReference();
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_OUTPUT:
+ return getDataOutput();
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_OUTPUT_ASSOCIATION:
+ return getDataOutputAssociation();
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_STATE:
+ return getDataState();
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_STORE:
+ return getDataStore();
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_STORE_REFERENCE:
+ return getDataStoreReference();
+ case Bpmn2Package.DOCUMENT_ROOT__DEFINITIONS:
+ return getDefinitions();
+ case Bpmn2Package.DOCUMENT_ROOT__DOCUMENTATION:
+ return getDocumentation();
+ case Bpmn2Package.DOCUMENT_ROOT__END_EVENT:
+ return getEndEvent();
+ case Bpmn2Package.DOCUMENT_ROOT__END_POINT:
+ return getEndPoint();
+ case Bpmn2Package.DOCUMENT_ROOT__ERROR:
+ return getError();
+ case Bpmn2Package.DOCUMENT_ROOT__ERROR_EVENT_DEFINITION:
+ return getErrorEventDefinition();
+ case Bpmn2Package.DOCUMENT_ROOT__ESCALATION:
+ return getEscalation();
+ case Bpmn2Package.DOCUMENT_ROOT__ESCALATION_EVENT_DEFINITION:
+ return getEscalationEventDefinition();
+ case Bpmn2Package.DOCUMENT_ROOT__EVENT:
+ return getEvent();
+ case Bpmn2Package.DOCUMENT_ROOT__EVENT_BASED_GATEWAY:
+ return getEventBasedGateway();
+ case Bpmn2Package.DOCUMENT_ROOT__EXCLUSIVE_GATEWAY:
+ return getExclusiveGateway();
+ case Bpmn2Package.DOCUMENT_ROOT__EXPRESSION:
+ return getExpression();
+ case Bpmn2Package.DOCUMENT_ROOT__EXTENSION:
+ return getExtension();
+ case Bpmn2Package.DOCUMENT_ROOT__EXTENSION_ELEMENTS:
+ return getExtensionElements();
+ case Bpmn2Package.DOCUMENT_ROOT__FLOW_NODE:
+ return getFlowNode();
+ case Bpmn2Package.DOCUMENT_ROOT__FORMAL_EXPRESSION:
+ return getFormalExpression();
+ case Bpmn2Package.DOCUMENT_ROOT__GATEWAY:
+ return getGateway();
+ case Bpmn2Package.DOCUMENT_ROOT__GLOBAL_BUSINESS_RULE_TASK:
+ return getGlobalBusinessRuleTask();
+ case Bpmn2Package.DOCUMENT_ROOT__GLOBAL_CHOREOGRAPHY_TASK:
+ return getGlobalChoreographyTask();
+ case Bpmn2Package.DOCUMENT_ROOT__GLOBAL_CONVERSATION:
+ return getGlobalConversation();
+ case Bpmn2Package.DOCUMENT_ROOT__GLOBAL_MANUAL_TASK:
+ return getGlobalManualTask();
+ case Bpmn2Package.DOCUMENT_ROOT__GLOBAL_SCRIPT_TASK:
+ return getGlobalScriptTask();
+ case Bpmn2Package.DOCUMENT_ROOT__GLOBAL_TASK:
+ return getGlobalTask();
+ case Bpmn2Package.DOCUMENT_ROOT__GLOBAL_USER_TASK:
+ return getGlobalUserTask();
+ case Bpmn2Package.DOCUMENT_ROOT__GROUP:
+ return getGroup();
+ case Bpmn2Package.DOCUMENT_ROOT__HUMAN_PERFORMER:
+ return getHumanPerformer();
+ case Bpmn2Package.DOCUMENT_ROOT__PERFORMER:
+ return getPerformer();
+ case Bpmn2Package.DOCUMENT_ROOT__RESOURCE_ROLE:
+ return getResourceRole();
+ case Bpmn2Package.DOCUMENT_ROOT__IMPLICIT_THROW_EVENT:
+ return getImplicitThrowEvent();
+ case Bpmn2Package.DOCUMENT_ROOT__IMPORT:
+ return getImport();
+ case Bpmn2Package.DOCUMENT_ROOT__INCLUSIVE_GATEWAY:
+ return getInclusiveGateway();
+ case Bpmn2Package.DOCUMENT_ROOT__INPUT_SET:
+ return getInputSet();
+ case Bpmn2Package.DOCUMENT_ROOT__INTERFACE:
+ return getInterface();
+ case Bpmn2Package.DOCUMENT_ROOT__INTERMEDIATE_CATCH_EVENT:
+ return getIntermediateCatchEvent();
+ case Bpmn2Package.DOCUMENT_ROOT__INTERMEDIATE_THROW_EVENT:
+ return getIntermediateThrowEvent();
+ case Bpmn2Package.DOCUMENT_ROOT__IO_BINDING:
+ return getIoBinding();
+ case Bpmn2Package.DOCUMENT_ROOT__IO_SPECIFICATION:
+ return getIoSpecification();
+ case Bpmn2Package.DOCUMENT_ROOT__ITEM_DEFINITION:
+ return getItemDefinition();
+ case Bpmn2Package.DOCUMENT_ROOT__LANE:
+ return getLane();
+ case Bpmn2Package.DOCUMENT_ROOT__LANE_SET:
+ return getLaneSet();
+ case Bpmn2Package.DOCUMENT_ROOT__LINK_EVENT_DEFINITION:
+ return getLinkEventDefinition();
+ case Bpmn2Package.DOCUMENT_ROOT__LOOP_CHARACTERISTICS:
+ return getLoopCharacteristics();
+ case Bpmn2Package.DOCUMENT_ROOT__MANUAL_TASK:
+ return getManualTask();
+ case Bpmn2Package.DOCUMENT_ROOT__MESSAGE:
+ return getMessage();
+ case Bpmn2Package.DOCUMENT_ROOT__MESSAGE_EVENT_DEFINITION:
+ return getMessageEventDefinition();
+ case Bpmn2Package.DOCUMENT_ROOT__MESSAGE_FLOW:
+ return getMessageFlow();
+ case Bpmn2Package.DOCUMENT_ROOT__MESSAGE_FLOW_ASSOCIATION:
+ return getMessageFlowAssociation();
+ case Bpmn2Package.DOCUMENT_ROOT__MONITORING:
+ return getMonitoring();
+ case Bpmn2Package.DOCUMENT_ROOT__MULTI_INSTANCE_LOOP_CHARACTERISTICS:
+ return getMultiInstanceLoopCharacteristics();
+ case Bpmn2Package.DOCUMENT_ROOT__OPERATION:
+ return getOperation();
+ case Bpmn2Package.DOCUMENT_ROOT__OUTPUT_SET:
+ return getOutputSet();
+ case Bpmn2Package.DOCUMENT_ROOT__PARALLEL_GATEWAY:
+ return getParallelGateway();
+ case Bpmn2Package.DOCUMENT_ROOT__PARTICIPANT:
+ return getParticipant();
+ case Bpmn2Package.DOCUMENT_ROOT__PARTICIPANT_ASSOCIATION:
+ return getParticipantAssociation();
+ case Bpmn2Package.DOCUMENT_ROOT__PARTICIPANT_MULTIPLICITY:
+ return getParticipantMultiplicity();
+ case Bpmn2Package.DOCUMENT_ROOT__PARTNER_ENTITY:
+ return getPartnerEntity();
+ case Bpmn2Package.DOCUMENT_ROOT__PARTNER_ROLE:
+ return getPartnerRole();
+ case Bpmn2Package.DOCUMENT_ROOT__POTENTIAL_OWNER:
+ return getPotentialOwner();
+ case Bpmn2Package.DOCUMENT_ROOT__PROCESS:
+ return getProcess();
+ case Bpmn2Package.DOCUMENT_ROOT__PROPERTY:
+ return getProperty();
+ case Bpmn2Package.DOCUMENT_ROOT__RECEIVE_TASK:
+ return getReceiveTask();
+ case Bpmn2Package.DOCUMENT_ROOT__RELATIONSHIP:
+ return getRelationship();
+ case Bpmn2Package.DOCUMENT_ROOT__RENDERING:
+ return getRendering();
+ case Bpmn2Package.DOCUMENT_ROOT__RESOURCE:
+ return getResource();
+ case Bpmn2Package.DOCUMENT_ROOT__RESOURCE_ASSIGNMENT_EXPRESSION:
+ return getResourceAssignmentExpression();
+ case Bpmn2Package.DOCUMENT_ROOT__RESOURCE_PARAMETER:
+ return getResourceParameter();
+ case Bpmn2Package.DOCUMENT_ROOT__RESOURCE_PARAMETER_BINDING:
+ return getResourceParameterBinding();
+ case Bpmn2Package.DOCUMENT_ROOT__SCRIPT:
+ return getScript();
+ case Bpmn2Package.DOCUMENT_ROOT__SCRIPT_TASK:
+ return getScriptTask();
+ case Bpmn2Package.DOCUMENT_ROOT__SEND_TASK:
+ return getSendTask();
+ case Bpmn2Package.DOCUMENT_ROOT__SEQUENCE_FLOW:
+ return getSequenceFlow();
+ case Bpmn2Package.DOCUMENT_ROOT__SERVICE_TASK:
+ return getServiceTask();
+ case Bpmn2Package.DOCUMENT_ROOT__SIGNAL:
+ return getSignal();
+ case Bpmn2Package.DOCUMENT_ROOT__SIGNAL_EVENT_DEFINITION:
+ return getSignalEventDefinition();
+ case Bpmn2Package.DOCUMENT_ROOT__STANDARD_LOOP_CHARACTERISTICS:
+ return getStandardLoopCharacteristics();
+ case Bpmn2Package.DOCUMENT_ROOT__START_EVENT:
+ return getStartEvent();
+ case Bpmn2Package.DOCUMENT_ROOT__SUB_CHOREOGRAPHY:
+ return getSubChoreography();
+ case Bpmn2Package.DOCUMENT_ROOT__SUB_CONVERSATION:
+ return getSubConversation();
+ case Bpmn2Package.DOCUMENT_ROOT__SUB_PROCESS:
+ return getSubProcess();
+ case Bpmn2Package.DOCUMENT_ROOT__TASK:
+ return getTask();
+ case Bpmn2Package.DOCUMENT_ROOT__TERMINATE_EVENT_DEFINITION:
+ return getTerminateEventDefinition();
+ case Bpmn2Package.DOCUMENT_ROOT__TEXT:
+ return getText();
+ case Bpmn2Package.DOCUMENT_ROOT__TEXT_ANNOTATION:
+ return getTextAnnotation();
+ case Bpmn2Package.DOCUMENT_ROOT__THROW_EVENT:
+ return getThrowEvent();
+ case Bpmn2Package.DOCUMENT_ROOT__TIMER_EVENT_DEFINITION:
+ return getTimerEventDefinition();
+ case Bpmn2Package.DOCUMENT_ROOT__TRANSACTION:
+ return getTransaction();
+ case Bpmn2Package.DOCUMENT_ROOT__USER_TASK:
+ return getUserTask();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.DOCUMENT_ROOT__MIXED:
+ ((FeatureMap.Internal) getMixed()).set(newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ ((EStructuralFeature.Setting) ((EMap.InternalMapView<String, String>) getXMLNSPrefixMap())
+ .eMap()).set(newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ ((EStructuralFeature.Setting) ((EMap.InternalMapView<String, String>) getXSISchemaLocation())
+ .eMap()).set(newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__ACTIVITY:
+ setActivity((Activity) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__AD_HOC_SUB_PROCESS:
+ setAdHocSubProcess((AdHocSubProcess) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__FLOW_ELEMENT:
+ setFlowElement((FlowElement) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__ARTIFACT:
+ setArtifact((Artifact) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__ASSIGNMENT:
+ setAssignment((Assignment) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__ASSOCIATION:
+ setAssociation((Association) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__AUDITING:
+ setAuditing((Auditing) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__BASE_ELEMENT:
+ setBaseElement((BaseElement) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__BASE_ELEMENT_WITH_MIXED_CONTENT:
+ setBaseElementWithMixedContent((BaseElement) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__BOUNDARY_EVENT:
+ setBoundaryEvent((BoundaryEvent) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__BUSINESS_RULE_TASK:
+ setBusinessRuleTask((BusinessRuleTask) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CALLABLE_ELEMENT:
+ setCallableElement((CallableElement) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CALL_ACTIVITY:
+ setCallActivity((CallActivity) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CALL_CHOREOGRAPHY:
+ setCallChoreography((CallChoreography) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CALL_CONVERSATION:
+ setCallConversation((CallConversation) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CONVERSATION_NODE:
+ setConversationNode((ConversationNode) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CANCEL_EVENT_DEFINITION:
+ setCancelEventDefinition((CancelEventDefinition) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__EVENT_DEFINITION:
+ setEventDefinition((EventDefinition) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__ROOT_ELEMENT:
+ setRootElement((RootElement) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CATCH_EVENT:
+ setCatchEvent((CatchEvent) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CATEGORY:
+ setCategory((Category) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CATEGORY_VALUE:
+ setCategoryValue((CategoryValue) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CHOREOGRAPHY:
+ setChoreography((Choreography) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__COLLABORATION:
+ setCollaboration((Collaboration) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CHOREOGRAPHY_ACTIVITY:
+ setChoreographyActivity((ChoreographyActivity) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CHOREOGRAPHY_TASK:
+ setChoreographyTask((ChoreographyTask) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__COMPENSATE_EVENT_DEFINITION:
+ setCompensateEventDefinition((CompensateEventDefinition) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__COMPLEX_BEHAVIOR_DEFINITION:
+ setComplexBehaviorDefinition((ComplexBehaviorDefinition) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__COMPLEX_GATEWAY:
+ setComplexGateway((ComplexGateway) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CONDITIONAL_EVENT_DEFINITION:
+ setConditionalEventDefinition((ConditionalEventDefinition) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CONVERSATION:
+ setConversation((Conversation) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CONVERSATION_ASSOCIATION:
+ setConversationAssociation((ConversationAssociation) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CONVERSATION_LINK:
+ setConversationLink((ConversationLink) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CORRELATION_KEY:
+ setCorrelationKey((CorrelationKey) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CORRELATION_PROPERTY:
+ setCorrelationProperty((CorrelationProperty) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CORRELATION_PROPERTY_BINDING:
+ setCorrelationPropertyBinding((CorrelationPropertyBinding) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION:
+ setCorrelationPropertyRetrievalExpression((CorrelationPropertyRetrievalExpression) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CORRELATION_SUBSCRIPTION:
+ setCorrelationSubscription((CorrelationSubscription) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_ASSOCIATION:
+ setDataAssociation((DataAssociation) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_INPUT:
+ setDataInput((DataInput) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_INPUT_ASSOCIATION:
+ setDataInputAssociation((DataInputAssociation) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_OBJECT:
+ setDataObject((DataObject) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_OBJECT_REFERENCE:
+ setDataObjectReference((DataObjectReference) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_OUTPUT:
+ setDataOutput((DataOutput) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_OUTPUT_ASSOCIATION:
+ setDataOutputAssociation((DataOutputAssociation) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_STATE:
+ setDataState((DataState) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_STORE:
+ setDataStore((DataStore) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_STORE_REFERENCE:
+ setDataStoreReference((DataStoreReference) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__DEFINITIONS:
+ setDefinitions((Definitions) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__DOCUMENTATION:
+ setDocumentation((Documentation) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__END_EVENT:
+ setEndEvent((EndEvent) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__END_POINT:
+ setEndPoint((EndPoint) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__ERROR:
+ setError((org.eclipse.bpmn2.Error) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__ERROR_EVENT_DEFINITION:
+ setErrorEventDefinition((ErrorEventDefinition) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__ESCALATION:
+ setEscalation((Escalation) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__ESCALATION_EVENT_DEFINITION:
+ setEscalationEventDefinition((EscalationEventDefinition) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__EVENT:
+ setEvent((Event) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__EVENT_BASED_GATEWAY:
+ setEventBasedGateway((EventBasedGateway) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__EXCLUSIVE_GATEWAY:
+ setExclusiveGateway((ExclusiveGateway) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__EXPRESSION:
+ setExpression((Expression) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__EXTENSION:
+ setExtension((Extension) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__EXTENSION_ELEMENTS:
+ setExtensionElements((ExtensionAttributeValue) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__FLOW_NODE:
+ setFlowNode((FlowNode) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__FORMAL_EXPRESSION:
+ setFormalExpression((FormalExpression) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__GLOBAL_BUSINESS_RULE_TASK:
+ setGlobalBusinessRuleTask((GlobalBusinessRuleTask) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__GLOBAL_CHOREOGRAPHY_TASK:
+ setGlobalChoreographyTask((GlobalChoreographyTask) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__GLOBAL_CONVERSATION:
+ setGlobalConversation((GlobalConversation) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__GLOBAL_MANUAL_TASK:
+ setGlobalManualTask((GlobalManualTask) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__GLOBAL_SCRIPT_TASK:
+ setGlobalScriptTask((GlobalScriptTask) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__GLOBAL_TASK:
+ setGlobalTask((GlobalTask) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__GLOBAL_USER_TASK:
+ setGlobalUserTask((GlobalUserTask) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__GROUP:
+ setGroup((Group) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__HUMAN_PERFORMER:
+ setHumanPerformer((HumanPerformer) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__PERFORMER:
+ setPerformer((Performer) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__RESOURCE_ROLE:
+ setResourceRole((ResourceRole) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__IMPLICIT_THROW_EVENT:
+ setImplicitThrowEvent((ImplicitThrowEvent) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__IMPORT:
+ setImport((Import) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__INCLUSIVE_GATEWAY:
+ setInclusiveGateway((InclusiveGateway) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__INPUT_SET:
+ setInputSet((InputSet) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__INTERFACE:
+ setInterface((Interface) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__INTERMEDIATE_CATCH_EVENT:
+ setIntermediateCatchEvent((IntermediateCatchEvent) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__INTERMEDIATE_THROW_EVENT:
+ setIntermediateThrowEvent((IntermediateThrowEvent) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__IO_BINDING:
+ setIoBinding((InputOutputBinding) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__IO_SPECIFICATION:
+ setIoSpecification((InputOutputSpecification) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__ITEM_DEFINITION:
+ setItemDefinition((ItemDefinition) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__LANE:
+ setLane((Lane) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__LANE_SET:
+ setLaneSet((LaneSet) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__LINK_EVENT_DEFINITION:
+ setLinkEventDefinition((LinkEventDefinition) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__LOOP_CHARACTERISTICS:
+ setLoopCharacteristics((LoopCharacteristics) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__MANUAL_TASK:
+ setManualTask((ManualTask) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__MESSAGE:
+ setMessage((Message) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__MESSAGE_EVENT_DEFINITION:
+ setMessageEventDefinition((MessageEventDefinition) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__MESSAGE_FLOW:
+ setMessageFlow((MessageFlow) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__MESSAGE_FLOW_ASSOCIATION:
+ setMessageFlowAssociation((MessageFlowAssociation) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__MONITORING:
+ setMonitoring((Monitoring) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__MULTI_INSTANCE_LOOP_CHARACTERISTICS:
+ setMultiInstanceLoopCharacteristics((MultiInstanceLoopCharacteristics) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__OPERATION:
+ setOperation((Operation) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__OUTPUT_SET:
+ setOutputSet((OutputSet) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__PARALLEL_GATEWAY:
+ setParallelGateway((ParallelGateway) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__PARTICIPANT:
+ setParticipant((Participant) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__PARTICIPANT_ASSOCIATION:
+ setParticipantAssociation((ParticipantAssociation) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__PARTICIPANT_MULTIPLICITY:
+ setParticipantMultiplicity((ParticipantMultiplicity) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__PARTNER_ENTITY:
+ setPartnerEntity((PartnerEntity) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__PARTNER_ROLE:
+ setPartnerRole((PartnerRole) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__POTENTIAL_OWNER:
+ setPotentialOwner((PotentialOwner) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__PROCESS:
+ setProcess((org.eclipse.bpmn2.Process) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__PROPERTY:
+ setProperty((Property) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__RECEIVE_TASK:
+ setReceiveTask((ReceiveTask) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__RELATIONSHIP:
+ setRelationship((Relationship) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__RENDERING:
+ setRendering((Rendering) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__RESOURCE:
+ setResource((Resource) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__RESOURCE_ASSIGNMENT_EXPRESSION:
+ setResourceAssignmentExpression((ResourceAssignmentExpression) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__RESOURCE_PARAMETER:
+ setResourceParameter((ResourceParameter) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__RESOURCE_PARAMETER_BINDING:
+ setResourceParameterBinding((ResourceParameterBinding) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__SCRIPT:
+ setScript((Object) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__SCRIPT_TASK:
+ setScriptTask((ScriptTask) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__SEND_TASK:
+ setSendTask((SendTask) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__SEQUENCE_FLOW:
+ setSequenceFlow((SequenceFlow) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__SERVICE_TASK:
+ setServiceTask((ServiceTask) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__SIGNAL:
+ setSignal((Signal) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__SIGNAL_EVENT_DEFINITION:
+ setSignalEventDefinition((SignalEventDefinition) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__STANDARD_LOOP_CHARACTERISTICS:
+ setStandardLoopCharacteristics((StandardLoopCharacteristics) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__START_EVENT:
+ setStartEvent((StartEvent) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__SUB_CHOREOGRAPHY:
+ setSubChoreography((SubChoreography) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__SUB_CONVERSATION:
+ setSubConversation((SubConversation) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__SUB_PROCESS:
+ setSubProcess((SubProcess) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__TASK:
+ setTask((Task) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__TERMINATE_EVENT_DEFINITION:
+ setTerminateEventDefinition((TerminateEventDefinition) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__TEXT:
+ setText((Object) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__TEXT_ANNOTATION:
+ setTextAnnotation((TextAnnotation) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__THROW_EVENT:
+ setThrowEvent((ThrowEvent) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__TIMER_EVENT_DEFINITION:
+ setTimerEventDefinition((TimerEventDefinition) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__TRANSACTION:
+ setTransaction((Transaction) newValue);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__USER_TASK:
+ setUserTask((UserTask) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.DOCUMENT_ROOT__MIXED:
+ getMixed().clear();
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ getXMLNSPrefixMap().clear();
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ getXSISchemaLocation().clear();
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__ACTIVITY:
+ setActivity((Activity) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__AD_HOC_SUB_PROCESS:
+ setAdHocSubProcess((AdHocSubProcess) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__FLOW_ELEMENT:
+ setFlowElement((FlowElement) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__ARTIFACT:
+ setArtifact((Artifact) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__ASSIGNMENT:
+ setAssignment((Assignment) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__ASSOCIATION:
+ setAssociation((Association) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__AUDITING:
+ setAuditing((Auditing) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__BASE_ELEMENT:
+ setBaseElement((BaseElement) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__BASE_ELEMENT_WITH_MIXED_CONTENT:
+ setBaseElementWithMixedContent((BaseElement) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__BOUNDARY_EVENT:
+ setBoundaryEvent((BoundaryEvent) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__BUSINESS_RULE_TASK:
+ setBusinessRuleTask((BusinessRuleTask) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CALLABLE_ELEMENT:
+ setCallableElement((CallableElement) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CALL_ACTIVITY:
+ setCallActivity((CallActivity) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CALL_CHOREOGRAPHY:
+ setCallChoreography((CallChoreography) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CALL_CONVERSATION:
+ setCallConversation((CallConversation) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CONVERSATION_NODE:
+ setConversationNode((ConversationNode) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CANCEL_EVENT_DEFINITION:
+ setCancelEventDefinition((CancelEventDefinition) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__EVENT_DEFINITION:
+ setEventDefinition((EventDefinition) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__ROOT_ELEMENT:
+ setRootElement((RootElement) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CATCH_EVENT:
+ setCatchEvent((CatchEvent) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CATEGORY:
+ setCategory((Category) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CATEGORY_VALUE:
+ setCategoryValue((CategoryValue) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CHOREOGRAPHY:
+ setChoreography((Choreography) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__COLLABORATION:
+ setCollaboration((Collaboration) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CHOREOGRAPHY_ACTIVITY:
+ setChoreographyActivity((ChoreographyActivity) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CHOREOGRAPHY_TASK:
+ setChoreographyTask((ChoreographyTask) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__COMPENSATE_EVENT_DEFINITION:
+ setCompensateEventDefinition((CompensateEventDefinition) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__COMPLEX_BEHAVIOR_DEFINITION:
+ setComplexBehaviorDefinition((ComplexBehaviorDefinition) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__COMPLEX_GATEWAY:
+ setComplexGateway((ComplexGateway) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CONDITIONAL_EVENT_DEFINITION:
+ setConditionalEventDefinition((ConditionalEventDefinition) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CONVERSATION:
+ setConversation((Conversation) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CONVERSATION_ASSOCIATION:
+ setConversationAssociation((ConversationAssociation) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CONVERSATION_LINK:
+ setConversationLink((ConversationLink) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CORRELATION_KEY:
+ setCorrelationKey((CorrelationKey) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CORRELATION_PROPERTY:
+ setCorrelationProperty((CorrelationProperty) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CORRELATION_PROPERTY_BINDING:
+ setCorrelationPropertyBinding((CorrelationPropertyBinding) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION:
+ setCorrelationPropertyRetrievalExpression((CorrelationPropertyRetrievalExpression) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__CORRELATION_SUBSCRIPTION:
+ setCorrelationSubscription((CorrelationSubscription) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_ASSOCIATION:
+ setDataAssociation((DataAssociation) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_INPUT:
+ setDataInput((DataInput) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_INPUT_ASSOCIATION:
+ setDataInputAssociation((DataInputAssociation) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_OBJECT:
+ setDataObject((DataObject) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_OBJECT_REFERENCE:
+ setDataObjectReference((DataObjectReference) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_OUTPUT:
+ setDataOutput((DataOutput) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_OUTPUT_ASSOCIATION:
+ setDataOutputAssociation((DataOutputAssociation) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_STATE:
+ setDataState((DataState) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_STORE:
+ setDataStore((DataStore) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_STORE_REFERENCE:
+ setDataStoreReference((DataStoreReference) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__DEFINITIONS:
+ setDefinitions((Definitions) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__DOCUMENTATION:
+ setDocumentation((Documentation) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__END_EVENT:
+ setEndEvent((EndEvent) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__END_POINT:
+ setEndPoint((EndPoint) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__ERROR:
+ setError((org.eclipse.bpmn2.Error) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__ERROR_EVENT_DEFINITION:
+ setErrorEventDefinition((ErrorEventDefinition) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__ESCALATION:
+ setEscalation((Escalation) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__ESCALATION_EVENT_DEFINITION:
+ setEscalationEventDefinition((EscalationEventDefinition) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__EVENT:
+ setEvent((Event) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__EVENT_BASED_GATEWAY:
+ setEventBasedGateway((EventBasedGateway) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__EXCLUSIVE_GATEWAY:
+ setExclusiveGateway((ExclusiveGateway) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__EXPRESSION:
+ setExpression((Expression) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__EXTENSION:
+ setExtension((Extension) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__EXTENSION_ELEMENTS:
+ setExtensionElements((ExtensionAttributeValue) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__FLOW_NODE:
+ setFlowNode((FlowNode) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__FORMAL_EXPRESSION:
+ setFormalExpression((FormalExpression) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__GLOBAL_BUSINESS_RULE_TASK:
+ setGlobalBusinessRuleTask((GlobalBusinessRuleTask) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__GLOBAL_CHOREOGRAPHY_TASK:
+ setGlobalChoreographyTask((GlobalChoreographyTask) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__GLOBAL_CONVERSATION:
+ setGlobalConversation((GlobalConversation) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__GLOBAL_MANUAL_TASK:
+ setGlobalManualTask((GlobalManualTask) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__GLOBAL_SCRIPT_TASK:
+ setGlobalScriptTask((GlobalScriptTask) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__GLOBAL_TASK:
+ setGlobalTask((GlobalTask) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__GLOBAL_USER_TASK:
+ setGlobalUserTask((GlobalUserTask) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__GROUP:
+ setGroup((Group) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__HUMAN_PERFORMER:
+ setHumanPerformer((HumanPerformer) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__PERFORMER:
+ setPerformer((Performer) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__RESOURCE_ROLE:
+ setResourceRole((ResourceRole) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__IMPLICIT_THROW_EVENT:
+ setImplicitThrowEvent((ImplicitThrowEvent) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__IMPORT:
+ setImport((Import) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__INCLUSIVE_GATEWAY:
+ setInclusiveGateway((InclusiveGateway) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__INPUT_SET:
+ setInputSet((InputSet) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__INTERFACE:
+ setInterface((Interface) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__INTERMEDIATE_CATCH_EVENT:
+ setIntermediateCatchEvent((IntermediateCatchEvent) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__INTERMEDIATE_THROW_EVENT:
+ setIntermediateThrowEvent((IntermediateThrowEvent) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__IO_BINDING:
+ setIoBinding((InputOutputBinding) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__IO_SPECIFICATION:
+ setIoSpecification((InputOutputSpecification) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__ITEM_DEFINITION:
+ setItemDefinition((ItemDefinition) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__LANE:
+ setLane((Lane) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__LANE_SET:
+ setLaneSet((LaneSet) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__LINK_EVENT_DEFINITION:
+ setLinkEventDefinition((LinkEventDefinition) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__LOOP_CHARACTERISTICS:
+ setLoopCharacteristics((LoopCharacteristics) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__MANUAL_TASK:
+ setManualTask((ManualTask) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__MESSAGE:
+ setMessage((Message) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__MESSAGE_EVENT_DEFINITION:
+ setMessageEventDefinition((MessageEventDefinition) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__MESSAGE_FLOW:
+ setMessageFlow((MessageFlow) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__MESSAGE_FLOW_ASSOCIATION:
+ setMessageFlowAssociation((MessageFlowAssociation) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__MONITORING:
+ setMonitoring((Monitoring) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__MULTI_INSTANCE_LOOP_CHARACTERISTICS:
+ setMultiInstanceLoopCharacteristics((MultiInstanceLoopCharacteristics) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__OPERATION:
+ setOperation((Operation) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__OUTPUT_SET:
+ setOutputSet((OutputSet) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__PARALLEL_GATEWAY:
+ setParallelGateway((ParallelGateway) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__PARTICIPANT:
+ setParticipant((Participant) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__PARTICIPANT_ASSOCIATION:
+ setParticipantAssociation((ParticipantAssociation) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__PARTICIPANT_MULTIPLICITY:
+ setParticipantMultiplicity((ParticipantMultiplicity) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__PARTNER_ENTITY:
+ setPartnerEntity((PartnerEntity) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__PARTNER_ROLE:
+ setPartnerRole((PartnerRole) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__POTENTIAL_OWNER:
+ setPotentialOwner((PotentialOwner) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__PROCESS:
+ setProcess((org.eclipse.bpmn2.Process) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__PROPERTY:
+ setProperty((Property) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__RECEIVE_TASK:
+ setReceiveTask((ReceiveTask) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__RELATIONSHIP:
+ setRelationship((Relationship) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__RENDERING:
+ setRendering((Rendering) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__RESOURCE:
+ setResource((Resource) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__RESOURCE_ASSIGNMENT_EXPRESSION:
+ setResourceAssignmentExpression((ResourceAssignmentExpression) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__RESOURCE_PARAMETER:
+ setResourceParameter((ResourceParameter) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__RESOURCE_PARAMETER_BINDING:
+ setResourceParameterBinding((ResourceParameterBinding) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__SCRIPT:
+ setScript((Object) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__SCRIPT_TASK:
+ setScriptTask((ScriptTask) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__SEND_TASK:
+ setSendTask((SendTask) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__SEQUENCE_FLOW:
+ setSequenceFlow((SequenceFlow) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__SERVICE_TASK:
+ setServiceTask((ServiceTask) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__SIGNAL:
+ setSignal((Signal) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__SIGNAL_EVENT_DEFINITION:
+ setSignalEventDefinition((SignalEventDefinition) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__STANDARD_LOOP_CHARACTERISTICS:
+ setStandardLoopCharacteristics((StandardLoopCharacteristics) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__START_EVENT:
+ setStartEvent((StartEvent) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__SUB_CHOREOGRAPHY:
+ setSubChoreography((SubChoreography) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__SUB_CONVERSATION:
+ setSubConversation((SubConversation) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__SUB_PROCESS:
+ setSubProcess((SubProcess) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__TASK:
+ setTask((Task) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__TERMINATE_EVENT_DEFINITION:
+ setTerminateEventDefinition((TerminateEventDefinition) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__TEXT:
+ setText((Object) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__TEXT_ANNOTATION:
+ setTextAnnotation((TextAnnotation) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__THROW_EVENT:
+ setThrowEvent((ThrowEvent) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__TIMER_EVENT_DEFINITION:
+ setTimerEventDefinition((TimerEventDefinition) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__TRANSACTION:
+ setTransaction((Transaction) null);
+ return;
+ case Bpmn2Package.DOCUMENT_ROOT__USER_TASK:
+ setUserTask((UserTask) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.DOCUMENT_ROOT__MIXED:
+ return mixed != null && !mixed.isEmpty();
+ case Bpmn2Package.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty();
+ case Bpmn2Package.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ return xSISchemaLocation != null && !xSISchemaLocation.isEmpty();
+ case Bpmn2Package.DOCUMENT_ROOT__ACTIVITY:
+ return getActivity() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__AD_HOC_SUB_PROCESS:
+ return getAdHocSubProcess() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__FLOW_ELEMENT:
+ return getFlowElement() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__ARTIFACT:
+ return getArtifact() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__ASSIGNMENT:
+ return getAssignment() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__ASSOCIATION:
+ return getAssociation() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__AUDITING:
+ return getAuditing() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__BASE_ELEMENT:
+ return getBaseElement() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__BASE_ELEMENT_WITH_MIXED_CONTENT:
+ return getBaseElementWithMixedContent() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__BOUNDARY_EVENT:
+ return getBoundaryEvent() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__BUSINESS_RULE_TASK:
+ return getBusinessRuleTask() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__CALLABLE_ELEMENT:
+ return getCallableElement() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__CALL_ACTIVITY:
+ return getCallActivity() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__CALL_CHOREOGRAPHY:
+ return getCallChoreography() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__CALL_CONVERSATION:
+ return getCallConversation() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__CONVERSATION_NODE:
+ return getConversationNode() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__CANCEL_EVENT_DEFINITION:
+ return getCancelEventDefinition() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__EVENT_DEFINITION:
+ return getEventDefinition() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__ROOT_ELEMENT:
+ return getRootElement() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__CATCH_EVENT:
+ return getCatchEvent() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__CATEGORY:
+ return getCategory() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__CATEGORY_VALUE:
+ return getCategoryValue() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__CHOREOGRAPHY:
+ return getChoreography() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__COLLABORATION:
+ return getCollaboration() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__CHOREOGRAPHY_ACTIVITY:
+ return getChoreographyActivity() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__CHOREOGRAPHY_TASK:
+ return getChoreographyTask() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__COMPENSATE_EVENT_DEFINITION:
+ return getCompensateEventDefinition() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__COMPLEX_BEHAVIOR_DEFINITION:
+ return getComplexBehaviorDefinition() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__COMPLEX_GATEWAY:
+ return getComplexGateway() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__CONDITIONAL_EVENT_DEFINITION:
+ return getConditionalEventDefinition() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__CONVERSATION:
+ return getConversation() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__CONVERSATION_ASSOCIATION:
+ return getConversationAssociation() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__CONVERSATION_LINK:
+ return getConversationLink() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__CORRELATION_KEY:
+ return getCorrelationKey() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__CORRELATION_PROPERTY:
+ return getCorrelationProperty() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__CORRELATION_PROPERTY_BINDING:
+ return getCorrelationPropertyBinding() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION:
+ return getCorrelationPropertyRetrievalExpression() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__CORRELATION_SUBSCRIPTION:
+ return getCorrelationSubscription() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_ASSOCIATION:
+ return getDataAssociation() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_INPUT:
+ return getDataInput() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_INPUT_ASSOCIATION:
+ return getDataInputAssociation() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_OBJECT:
+ return getDataObject() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_OBJECT_REFERENCE:
+ return getDataObjectReference() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_OUTPUT:
+ return getDataOutput() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_OUTPUT_ASSOCIATION:
+ return getDataOutputAssociation() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_STATE:
+ return getDataState() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_STORE:
+ return getDataStore() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__DATA_STORE_REFERENCE:
+ return getDataStoreReference() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__DEFINITIONS:
+ return getDefinitions() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__DOCUMENTATION:
+ return getDocumentation() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__END_EVENT:
+ return getEndEvent() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__END_POINT:
+ return getEndPoint() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__ERROR:
+ return getError() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__ERROR_EVENT_DEFINITION:
+ return getErrorEventDefinition() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__ESCALATION:
+ return getEscalation() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__ESCALATION_EVENT_DEFINITION:
+ return getEscalationEventDefinition() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__EVENT:
+ return getEvent() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__EVENT_BASED_GATEWAY:
+ return getEventBasedGateway() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__EXCLUSIVE_GATEWAY:
+ return getExclusiveGateway() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__EXPRESSION:
+ return getExpression() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__EXTENSION:
+ return getExtension() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__EXTENSION_ELEMENTS:
+ return getExtensionElements() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__FLOW_NODE:
+ return getFlowNode() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__FORMAL_EXPRESSION:
+ return getFormalExpression() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__GATEWAY:
+ return getGateway() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__GLOBAL_BUSINESS_RULE_TASK:
+ return getGlobalBusinessRuleTask() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__GLOBAL_CHOREOGRAPHY_TASK:
+ return getGlobalChoreographyTask() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__GLOBAL_CONVERSATION:
+ return getGlobalConversation() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__GLOBAL_MANUAL_TASK:
+ return getGlobalManualTask() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__GLOBAL_SCRIPT_TASK:
+ return getGlobalScriptTask() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__GLOBAL_TASK:
+ return getGlobalTask() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__GLOBAL_USER_TASK:
+ return getGlobalUserTask() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__GROUP:
+ return getGroup() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__HUMAN_PERFORMER:
+ return getHumanPerformer() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__PERFORMER:
+ return getPerformer() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__RESOURCE_ROLE:
+ return getResourceRole() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__IMPLICIT_THROW_EVENT:
+ return getImplicitThrowEvent() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__IMPORT:
+ return getImport() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__INCLUSIVE_GATEWAY:
+ return getInclusiveGateway() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__INPUT_SET:
+ return getInputSet() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__INTERFACE:
+ return getInterface() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__INTERMEDIATE_CATCH_EVENT:
+ return getIntermediateCatchEvent() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__INTERMEDIATE_THROW_EVENT:
+ return getIntermediateThrowEvent() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__IO_BINDING:
+ return getIoBinding() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__IO_SPECIFICATION:
+ return getIoSpecification() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__ITEM_DEFINITION:
+ return getItemDefinition() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__LANE:
+ return getLane() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__LANE_SET:
+ return getLaneSet() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__LINK_EVENT_DEFINITION:
+ return getLinkEventDefinition() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__LOOP_CHARACTERISTICS:
+ return getLoopCharacteristics() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__MANUAL_TASK:
+ return getManualTask() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__MESSAGE:
+ return getMessage() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__MESSAGE_EVENT_DEFINITION:
+ return getMessageEventDefinition() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__MESSAGE_FLOW:
+ return getMessageFlow() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__MESSAGE_FLOW_ASSOCIATION:
+ return getMessageFlowAssociation() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__MONITORING:
+ return getMonitoring() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__MULTI_INSTANCE_LOOP_CHARACTERISTICS:
+ return getMultiInstanceLoopCharacteristics() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__OPERATION:
+ return getOperation() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__OUTPUT_SET:
+ return getOutputSet() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__PARALLEL_GATEWAY:
+ return getParallelGateway() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__PARTICIPANT:
+ return getParticipant() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__PARTICIPANT_ASSOCIATION:
+ return getParticipantAssociation() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__PARTICIPANT_MULTIPLICITY:
+ return getParticipantMultiplicity() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__PARTNER_ENTITY:
+ return getPartnerEntity() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__PARTNER_ROLE:
+ return getPartnerRole() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__POTENTIAL_OWNER:
+ return getPotentialOwner() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__PROCESS:
+ return getProcess() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__PROPERTY:
+ return getProperty() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__RECEIVE_TASK:
+ return getReceiveTask() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__RELATIONSHIP:
+ return getRelationship() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__RENDERING:
+ return getRendering() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__RESOURCE:
+ return getResource() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__RESOURCE_ASSIGNMENT_EXPRESSION:
+ return getResourceAssignmentExpression() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__RESOURCE_PARAMETER:
+ return getResourceParameter() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__RESOURCE_PARAMETER_BINDING:
+ return getResourceParameterBinding() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__SCRIPT:
+ return getScript() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__SCRIPT_TASK:
+ return getScriptTask() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__SEND_TASK:
+ return getSendTask() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__SEQUENCE_FLOW:
+ return getSequenceFlow() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__SERVICE_TASK:
+ return getServiceTask() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__SIGNAL:
+ return getSignal() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__SIGNAL_EVENT_DEFINITION:
+ return getSignalEventDefinition() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__STANDARD_LOOP_CHARACTERISTICS:
+ return getStandardLoopCharacteristics() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__START_EVENT:
+ return getStartEvent() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__SUB_CHOREOGRAPHY:
+ return getSubChoreography() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__SUB_CONVERSATION:
+ return getSubConversation() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__SUB_PROCESS:
+ return getSubProcess() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__TASK:
+ return getTask() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__TERMINATE_EVENT_DEFINITION:
+ return getTerminateEventDefinition() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__TEXT:
+ return getText() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__TEXT_ANNOTATION:
+ return getTextAnnotation() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__THROW_EVENT:
+ return getThrowEvent() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__TIMER_EVENT_DEFINITION:
+ return getTimerEventDefinition() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__TRANSACTION:
+ return getTransaction() != null;
+ case Bpmn2Package.DOCUMENT_ROOT__USER_TASK:
+ return getUserTask() != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (mixed: ");
+ result.append(mixed);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DocumentRootImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DocumentationImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DocumentationImpl.java
new file mode 100644
index 000000000..21c5ae35e
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/DocumentationImpl.java
@@ -0,0 +1,280 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Documentation;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.BasicFeatureMap;
+import org.eclipse.emf.ecore.util.FeatureMap;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Documentation</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentationImpl#getMixed <em>Mixed</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentationImpl#getText <em>Text</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.DocumentationImpl#getTextFormat <em>Text Format</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DocumentationImpl extends BaseElementImpl implements Documentation {
+ /**
+ * The cached value of the '{@link #getMixed() <em>Mixed</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMixed()
+ * @generated
+ * @ordered
+ */
+ protected FeatureMap mixed;
+
+ /**
+ * The default value of the '{@link #getText() <em>Text</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getText()
+ * @generated
+ * @ordered
+ */
+ protected static final String TEXT_EDEFAULT = null;
+
+ /**
+ * The default value of the '{@link #getTextFormat() <em>Text Format</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTextFormat()
+ * @generated
+ * @ordered
+ */
+ protected static final String TEXT_FORMAT_EDEFAULT = "text/plain";
+
+ /**
+ * The cached value of the '{@link #getTextFormat() <em>Text Format</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTextFormat()
+ * @generated
+ * @ordered
+ */
+ protected String textFormat = TEXT_FORMAT_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DocumentationImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.DOCUMENTATION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeatureMap getMixed() {
+ if (mixed == null) {
+ mixed = new BasicFeatureMap(this, Bpmn2Package.DOCUMENTATION__MIXED);
+ }
+ return mixed;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getText() {
+ // TODO: implement this method to return the 'Text' attribute
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setText(String newText) {
+ // TODO: implement this method to set the 'Text' attribute
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getTextFormat() {
+ return textFormat;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTextFormat(String newTextFormat) {
+ String oldTextFormat = textFormat;
+ textFormat = newTextFormat;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.DOCUMENTATION__TEXT_FORMAT, oldTextFormat,
+ textFormat));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.DOCUMENTATION__MIXED:
+ return ((InternalEList<?>) getMixed()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.DOCUMENTATION__MIXED:
+ if (coreType)
+ return getMixed();
+ return ((FeatureMap.Internal) getMixed()).getWrapper();
+ case Bpmn2Package.DOCUMENTATION__TEXT:
+ return getText();
+ case Bpmn2Package.DOCUMENTATION__TEXT_FORMAT:
+ return getTextFormat();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.DOCUMENTATION__MIXED:
+ ((FeatureMap.Internal) getMixed()).set(newValue);
+ return;
+ case Bpmn2Package.DOCUMENTATION__TEXT:
+ setText((String) newValue);
+ return;
+ case Bpmn2Package.DOCUMENTATION__TEXT_FORMAT:
+ setTextFormat((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.DOCUMENTATION__MIXED:
+ getMixed().clear();
+ return;
+ case Bpmn2Package.DOCUMENTATION__TEXT:
+ setText(TEXT_EDEFAULT);
+ return;
+ case Bpmn2Package.DOCUMENTATION__TEXT_FORMAT:
+ setTextFormat(TEXT_FORMAT_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.DOCUMENTATION__MIXED:
+ return mixed != null && !mixed.isEmpty();
+ case Bpmn2Package.DOCUMENTATION__TEXT:
+ return TEXT_EDEFAULT == null ? getText() != null : !TEXT_EDEFAULT
+ .equals(getText());
+ case Bpmn2Package.DOCUMENTATION__TEXT_FORMAT:
+ return TEXT_FORMAT_EDEFAULT == null ? textFormat != null
+ : !TEXT_FORMAT_EDEFAULT.equals(textFormat);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (mixed: ");
+ result.append(mixed);
+ result.append(", textFormat: ");
+ result.append(textFormat);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DocumentationImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/EndEventImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/EndEventImpl.java
new file mode 100644
index 000000000..6791cd24a
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/EndEventImpl.java
@@ -0,0 +1,51 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.EndEvent;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>End Event</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class EndEventImpl extends ThrowEventImpl implements EndEvent {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EndEventImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.END_EVENT;
+ }
+
+} //EndEventImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/EndPointImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/EndPointImpl.java
new file mode 100644
index 000000000..63869530e
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/EndPointImpl.java
@@ -0,0 +1,51 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.EndPoint;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>End Point</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class EndPointImpl extends RootElementImpl implements EndPoint {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EndPointImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.END_POINT;
+ }
+
+} //EndPointImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ErrorEventDefinitionImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ErrorEventDefinitionImpl.java
new file mode 100644
index 000000000..732b64594
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ErrorEventDefinitionImpl.java
@@ -0,0 +1,173 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.ErrorEventDefinition;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Error Event Definition</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.ErrorEventDefinitionImpl#getErrorRef <em>Error Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ErrorEventDefinitionImpl extends EventDefinitionImpl implements
+ ErrorEventDefinition {
+ /**
+ * The cached value of the '{@link #getErrorRef() <em>Error Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getErrorRef()
+ * @generated
+ * @ordered
+ */
+ protected org.eclipse.bpmn2.Error errorRef;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ErrorEventDefinitionImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.ERROR_EVENT_DEFINITION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public org.eclipse.bpmn2.Error getErrorRef() {
+ if (errorRef != null && errorRef.eIsProxy()) {
+ InternalEObject oldErrorRef = (InternalEObject) errorRef;
+ errorRef = (org.eclipse.bpmn2.Error) eResolveProxy(oldErrorRef);
+ if (errorRef != oldErrorRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.ERROR_EVENT_DEFINITION__ERROR_REF,
+ oldErrorRef, errorRef));
+ }
+ }
+ return errorRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public org.eclipse.bpmn2.Error basicGetErrorRef() {
+ return errorRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setErrorRef(org.eclipse.bpmn2.Error newErrorRef) {
+ org.eclipse.bpmn2.Error oldErrorRef = errorRef;
+ errorRef = newErrorRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.ERROR_EVENT_DEFINITION__ERROR_REF,
+ oldErrorRef, errorRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.ERROR_EVENT_DEFINITION__ERROR_REF:
+ if (resolve)
+ return getErrorRef();
+ return basicGetErrorRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.ERROR_EVENT_DEFINITION__ERROR_REF:
+ setErrorRef((org.eclipse.bpmn2.Error) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.ERROR_EVENT_DEFINITION__ERROR_REF:
+ setErrorRef((org.eclipse.bpmn2.Error) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.ERROR_EVENT_DEFINITION__ERROR_REF:
+ return errorRef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //ErrorEventDefinitionImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ErrorImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ErrorImpl.java
new file mode 100644
index 000000000..5675424b6
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ErrorImpl.java
@@ -0,0 +1,300 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.ItemDefinition;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Error</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.ErrorImpl#getErrorCode <em>Error Code</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ErrorImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ErrorImpl#getStructureRef <em>Structure Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ErrorImpl extends RootElementImpl implements
+ org.eclipse.bpmn2.Error {
+ /**
+ * The default value of the '{@link #getErrorCode() <em>Error Code</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getErrorCode()
+ * @generated
+ * @ordered
+ */
+ protected static final String ERROR_CODE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getErrorCode() <em>Error Code</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getErrorCode()
+ * @generated
+ * @ordered
+ */
+ protected String errorCode = ERROR_CODE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getStructureRef() <em>Structure Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getStructureRef()
+ * @generated
+ * @ordered
+ */
+ protected ItemDefinition structureRef;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ErrorImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.ERROR;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getErrorCode() {
+ return errorCode;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setErrorCode(String newErrorCode) {
+ String oldErrorCode = errorCode;
+ errorCode = newErrorCode;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.ERROR__ERROR_CODE, oldErrorCode, errorCode));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.ERROR__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ItemDefinition getStructureRef() {
+ if (structureRef != null && structureRef.eIsProxy()) {
+ InternalEObject oldStructureRef = (InternalEObject) structureRef;
+ structureRef = (ItemDefinition) eResolveProxy(oldStructureRef);
+ if (structureRef != oldStructureRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.ERROR__STRUCTURE_REF, oldStructureRef,
+ structureRef));
+ }
+ }
+ return structureRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ItemDefinition basicGetStructureRef() {
+ return structureRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setStructureRef(ItemDefinition newStructureRef) {
+ ItemDefinition oldStructureRef = structureRef;
+ structureRef = newStructureRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.ERROR__STRUCTURE_REF, oldStructureRef,
+ structureRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.ERROR__ERROR_CODE:
+ return getErrorCode();
+ case Bpmn2Package.ERROR__NAME:
+ return getName();
+ case Bpmn2Package.ERROR__STRUCTURE_REF:
+ if (resolve)
+ return getStructureRef();
+ return basicGetStructureRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.ERROR__ERROR_CODE:
+ setErrorCode((String) newValue);
+ return;
+ case Bpmn2Package.ERROR__NAME:
+ setName((String) newValue);
+ return;
+ case Bpmn2Package.ERROR__STRUCTURE_REF:
+ setStructureRef((ItemDefinition) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.ERROR__ERROR_CODE:
+ setErrorCode(ERROR_CODE_EDEFAULT);
+ return;
+ case Bpmn2Package.ERROR__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case Bpmn2Package.ERROR__STRUCTURE_REF:
+ setStructureRef((ItemDefinition) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.ERROR__ERROR_CODE:
+ return ERROR_CODE_EDEFAULT == null ? errorCode != null
+ : !ERROR_CODE_EDEFAULT.equals(errorCode);
+ case Bpmn2Package.ERROR__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
+ .equals(name);
+ case Bpmn2Package.ERROR__STRUCTURE_REF:
+ return structureRef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (errorCode: ");
+ result.append(errorCode);
+ result.append(", name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ErrorImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/EscalationEventDefinitionImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/EscalationEventDefinitionImpl.java
new file mode 100644
index 000000000..7d38fd685
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/EscalationEventDefinitionImpl.java
@@ -0,0 +1,176 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Escalation;
+import org.eclipse.bpmn2.EscalationEventDefinition;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Escalation Event Definition</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.EscalationEventDefinitionImpl#getEscalationRef <em>Escalation Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class EscalationEventDefinitionImpl extends EventDefinitionImpl
+ implements EscalationEventDefinition {
+ /**
+ * The cached value of the '{@link #getEscalationRef() <em>Escalation Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getEscalationRef()
+ * @generated
+ * @ordered
+ */
+ protected Escalation escalationRef;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EscalationEventDefinitionImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.ESCALATION_EVENT_DEFINITION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Escalation getEscalationRef() {
+ if (escalationRef != null && escalationRef.eIsProxy()) {
+ InternalEObject oldEscalationRef = (InternalEObject) escalationRef;
+ escalationRef = (Escalation) eResolveProxy(oldEscalationRef);
+ if (escalationRef != oldEscalationRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.RESOLVE,
+ Bpmn2Package.ESCALATION_EVENT_DEFINITION__ESCALATION_REF,
+ oldEscalationRef, escalationRef));
+ }
+ }
+ return escalationRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Escalation basicGetEscalationRef() {
+ return escalationRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setEscalationRef(Escalation newEscalationRef) {
+ Escalation oldEscalationRef = escalationRef;
+ escalationRef = newEscalationRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.ESCALATION_EVENT_DEFINITION__ESCALATION_REF,
+ oldEscalationRef, escalationRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.ESCALATION_EVENT_DEFINITION__ESCALATION_REF:
+ if (resolve)
+ return getEscalationRef();
+ return basicGetEscalationRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.ESCALATION_EVENT_DEFINITION__ESCALATION_REF:
+ setEscalationRef((Escalation) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.ESCALATION_EVENT_DEFINITION__ESCALATION_REF:
+ setEscalationRef((Escalation) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.ESCALATION_EVENT_DEFINITION__ESCALATION_REF:
+ return escalationRef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //EscalationEventDefinitionImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/EscalationImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/EscalationImpl.java
new file mode 100644
index 000000000..b0dcc200a
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/EscalationImpl.java
@@ -0,0 +1,301 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Escalation;
+import org.eclipse.bpmn2.ItemDefinition;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Escalation</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.EscalationImpl#getEscalationCode <em>Escalation Code</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.EscalationImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.EscalationImpl#getStructureRef <em>Structure Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class EscalationImpl extends RootElementImpl implements Escalation {
+ /**
+ * The default value of the '{@link #getEscalationCode() <em>Escalation Code</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getEscalationCode()
+ * @generated
+ * @ordered
+ */
+ protected static final String ESCALATION_CODE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getEscalationCode() <em>Escalation Code</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getEscalationCode()
+ * @generated
+ * @ordered
+ */
+ protected String escalationCode = ESCALATION_CODE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getStructureRef() <em>Structure Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getStructureRef()
+ * @generated
+ * @ordered
+ */
+ protected ItemDefinition structureRef;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EscalationImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.ESCALATION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getEscalationCode() {
+ return escalationCode;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setEscalationCode(String newEscalationCode) {
+ String oldEscalationCode = escalationCode;
+ escalationCode = newEscalationCode;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.ESCALATION__ESCALATION_CODE,
+ oldEscalationCode, escalationCode));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.ESCALATION__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ItemDefinition getStructureRef() {
+ if (structureRef != null && structureRef.eIsProxy()) {
+ InternalEObject oldStructureRef = (InternalEObject) structureRef;
+ structureRef = (ItemDefinition) eResolveProxy(oldStructureRef);
+ if (structureRef != oldStructureRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.ESCALATION__STRUCTURE_REF,
+ oldStructureRef, structureRef));
+ }
+ }
+ return structureRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ItemDefinition basicGetStructureRef() {
+ return structureRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setStructureRef(ItemDefinition newStructureRef) {
+ ItemDefinition oldStructureRef = structureRef;
+ structureRef = newStructureRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.ESCALATION__STRUCTURE_REF, oldStructureRef,
+ structureRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.ESCALATION__ESCALATION_CODE:
+ return getEscalationCode();
+ case Bpmn2Package.ESCALATION__NAME:
+ return getName();
+ case Bpmn2Package.ESCALATION__STRUCTURE_REF:
+ if (resolve)
+ return getStructureRef();
+ return basicGetStructureRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.ESCALATION__ESCALATION_CODE:
+ setEscalationCode((String) newValue);
+ return;
+ case Bpmn2Package.ESCALATION__NAME:
+ setName((String) newValue);
+ return;
+ case Bpmn2Package.ESCALATION__STRUCTURE_REF:
+ setStructureRef((ItemDefinition) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.ESCALATION__ESCALATION_CODE:
+ setEscalationCode(ESCALATION_CODE_EDEFAULT);
+ return;
+ case Bpmn2Package.ESCALATION__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case Bpmn2Package.ESCALATION__STRUCTURE_REF:
+ setStructureRef((ItemDefinition) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.ESCALATION__ESCALATION_CODE:
+ return ESCALATION_CODE_EDEFAULT == null ? escalationCode != null
+ : !ESCALATION_CODE_EDEFAULT.equals(escalationCode);
+ case Bpmn2Package.ESCALATION__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
+ .equals(name);
+ case Bpmn2Package.ESCALATION__STRUCTURE_REF:
+ return structureRef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (escalationCode: ");
+ result.append(escalationCode);
+ result.append(", name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //EscalationImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/EventBasedGatewayImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/EventBasedGatewayImpl.java
new file mode 100644
index 000000000..3a4ce7652
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/EventBasedGatewayImpl.java
@@ -0,0 +1,236 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.EventBasedGateway;
+import org.eclipse.bpmn2.EventBasedGatewayType;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Event Based Gateway</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.EventBasedGatewayImpl#getEventGatewayType <em>Event Gateway Type</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.EventBasedGatewayImpl#isInstantiate <em>Instantiate</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class EventBasedGatewayImpl extends GatewayImpl implements
+ EventBasedGateway {
+ /**
+ * The default value of the '{@link #getEventGatewayType() <em>Event Gateway Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getEventGatewayType()
+ * @generated
+ * @ordered
+ */
+ protected static final EventBasedGatewayType EVENT_GATEWAY_TYPE_EDEFAULT = EventBasedGatewayType.EXCLUSIVE;
+
+ /**
+ * The cached value of the '{@link #getEventGatewayType() <em>Event Gateway Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getEventGatewayType()
+ * @generated
+ * @ordered
+ */
+ protected EventBasedGatewayType eventGatewayType = EVENT_GATEWAY_TYPE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #isInstantiate() <em>Instantiate</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isInstantiate()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean INSTANTIATE_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isInstantiate() <em>Instantiate</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isInstantiate()
+ * @generated
+ * @ordered
+ */
+ protected boolean instantiate = INSTANTIATE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EventBasedGatewayImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.EVENT_BASED_GATEWAY;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EventBasedGatewayType getEventGatewayType() {
+ return eventGatewayType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setEventGatewayType(EventBasedGatewayType newEventGatewayType) {
+ EventBasedGatewayType oldEventGatewayType = eventGatewayType;
+ eventGatewayType = newEventGatewayType == null ? EVENT_GATEWAY_TYPE_EDEFAULT
+ : newEventGatewayType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.EVENT_BASED_GATEWAY__EVENT_GATEWAY_TYPE,
+ oldEventGatewayType, eventGatewayType));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isInstantiate() {
+ return instantiate;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setInstantiate(boolean newInstantiate) {
+ boolean oldInstantiate = instantiate;
+ instantiate = newInstantiate;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.EVENT_BASED_GATEWAY__INSTANTIATE,
+ oldInstantiate, instantiate));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.EVENT_BASED_GATEWAY__EVENT_GATEWAY_TYPE:
+ return getEventGatewayType();
+ case Bpmn2Package.EVENT_BASED_GATEWAY__INSTANTIATE:
+ return isInstantiate();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.EVENT_BASED_GATEWAY__EVENT_GATEWAY_TYPE:
+ setEventGatewayType((EventBasedGatewayType) newValue);
+ return;
+ case Bpmn2Package.EVENT_BASED_GATEWAY__INSTANTIATE:
+ setInstantiate((Boolean) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.EVENT_BASED_GATEWAY__EVENT_GATEWAY_TYPE:
+ setEventGatewayType(EVENT_GATEWAY_TYPE_EDEFAULT);
+ return;
+ case Bpmn2Package.EVENT_BASED_GATEWAY__INSTANTIATE:
+ setInstantiate(INSTANTIATE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.EVENT_BASED_GATEWAY__EVENT_GATEWAY_TYPE:
+ return eventGatewayType != EVENT_GATEWAY_TYPE_EDEFAULT;
+ case Bpmn2Package.EVENT_BASED_GATEWAY__INSTANTIATE:
+ return instantiate != INSTANTIATE_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (eventGatewayType: ");
+ result.append(eventGatewayType);
+ result.append(", instantiate: ");
+ result.append(instantiate);
+ result.append(')');
+ return result.toString();
+ }
+
+} //EventBasedGatewayImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/EventDefinitionImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/EventDefinitionImpl.java
new file mode 100644
index 000000000..40cc93ea6
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/EventDefinitionImpl.java
@@ -0,0 +1,52 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.EventDefinition;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Event Definition</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class EventDefinitionImpl extends RootElementImpl implements
+ EventDefinition {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EventDefinitionImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.EVENT_DEFINITION;
+ }
+
+} //EventDefinitionImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/EventImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/EventImpl.java
new file mode 100644
index 000000000..0bff7581b
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/EventImpl.java
@@ -0,0 +1,244 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.ConversationLink;
+import org.eclipse.bpmn2.Event;
+import org.eclipse.bpmn2.InteractionNode;
+import org.eclipse.bpmn2.Property;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Event</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.EventImpl#getIncomingConversationLinks <em>Incoming Conversation Links</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.EventImpl#getOutgoingConversationLinks <em>Outgoing Conversation Links</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.EventImpl#getProperties <em>Properties</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class EventImpl extends FlowNodeImpl implements Event {
+ /**
+ * The cached value of the '{@link #getProperties() <em>Properties</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getProperties()
+ * @generated
+ * @ordered
+ */
+ protected EList<Property> properties;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EventImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.EVENT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<ConversationLink> getIncomingConversationLinks() {
+ // TODO: implement this method to return the 'Incoming Conversation Links' reference list
+ // Ensure that you remove @generated or mark it @generated NOT
+ // The list is expected to implement org.eclipse.emf.ecore.util.InternalEList and org.eclipse.emf.ecore.EStructuralFeature.Setting
+ // so it's likely that an appropriate subclass of org.eclipse.emf.ecore.util.EcoreEList should be used.
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<ConversationLink> getOutgoingConversationLinks() {
+ // TODO: implement this method to return the 'Outgoing Conversation Links' reference list
+ // Ensure that you remove @generated or mark it @generated NOT
+ // The list is expected to implement org.eclipse.emf.ecore.util.InternalEList and org.eclipse.emf.ecore.EStructuralFeature.Setting
+ // so it's likely that an appropriate subclass of org.eclipse.emf.ecore.util.EcoreEList should be used.
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<Property> getProperties() {
+ if (properties == null) {
+ properties = new EObjectContainmentEList<Property>(Property.class,
+ this, Bpmn2Package.EVENT__PROPERTIES);
+ }
+ return properties;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.EVENT__PROPERTIES:
+ return ((InternalEList<?>) getProperties()).basicRemove(otherEnd,
+ msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.EVENT__INCOMING_CONVERSATION_LINKS:
+ return getIncomingConversationLinks();
+ case Bpmn2Package.EVENT__OUTGOING_CONVERSATION_LINKS:
+ return getOutgoingConversationLinks();
+ case Bpmn2Package.EVENT__PROPERTIES:
+ return getProperties();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.EVENT__PROPERTIES:
+ getProperties().clear();
+ getProperties().addAll((Collection<? extends Property>) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.EVENT__PROPERTIES:
+ getProperties().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.EVENT__INCOMING_CONVERSATION_LINKS:
+ return !getIncomingConversationLinks().isEmpty();
+ case Bpmn2Package.EVENT__OUTGOING_CONVERSATION_LINKS:
+ return !getOutgoingConversationLinks().isEmpty();
+ case Bpmn2Package.EVENT__PROPERTIES:
+ return properties != null && !properties.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
+ if (baseClass == InteractionNode.class) {
+ switch (derivedFeatureID) {
+ case Bpmn2Package.EVENT__INCOMING_CONVERSATION_LINKS:
+ return Bpmn2Package.INTERACTION_NODE__INCOMING_CONVERSATION_LINKS;
+ case Bpmn2Package.EVENT__OUTGOING_CONVERSATION_LINKS:
+ return Bpmn2Package.INTERACTION_NODE__OUTGOING_CONVERSATION_LINKS;
+ default:
+ return -1;
+ }
+ }
+ return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
+ if (baseClass == InteractionNode.class) {
+ switch (baseFeatureID) {
+ case Bpmn2Package.INTERACTION_NODE__INCOMING_CONVERSATION_LINKS:
+ return Bpmn2Package.EVENT__INCOMING_CONVERSATION_LINKS;
+ case Bpmn2Package.INTERACTION_NODE__OUTGOING_CONVERSATION_LINKS:
+ return Bpmn2Package.EVENT__OUTGOING_CONVERSATION_LINKS;
+ default:
+ return -1;
+ }
+ }
+ return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
+ }
+
+} //EventImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ExclusiveGatewayImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ExclusiveGatewayImpl.java
new file mode 100644
index 000000000..cf8b2d04c
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ExclusiveGatewayImpl.java
@@ -0,0 +1,152 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.ExclusiveGateway;
+import org.eclipse.bpmn2.SequenceFlow;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Exclusive Gateway</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.ExclusiveGatewayImpl#getDefault <em>Default</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ExclusiveGatewayImpl extends GatewayImpl implements
+ ExclusiveGateway {
+ /**
+ * The cached value of the '{@link #getDefault() <em>Default</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDefault()
+ * @generated
+ * @ordered
+ */
+ protected SequenceFlow default_;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ExclusiveGatewayImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.EXCLUSIVE_GATEWAY;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SequenceFlow getDefault() {
+ return default_;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDefault(SequenceFlow newDefault) {
+ SequenceFlow oldDefault = default_;
+ default_ = newDefault;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.EXCLUSIVE_GATEWAY__DEFAULT, oldDefault,
+ default_));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.EXCLUSIVE_GATEWAY__DEFAULT:
+ return getDefault();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.EXCLUSIVE_GATEWAY__DEFAULT:
+ setDefault((SequenceFlow) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.EXCLUSIVE_GATEWAY__DEFAULT:
+ setDefault((SequenceFlow) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.EXCLUSIVE_GATEWAY__DEFAULT:
+ return default_ != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //ExclusiveGatewayImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ExpressionImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ExpressionImpl.java
new file mode 100644
index 000000000..baff1dd45
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ExpressionImpl.java
@@ -0,0 +1,51 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Expression;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Expression</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class ExpressionImpl extends BaseElementImpl implements Expression {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ExpressionImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.EXPRESSION;
+ }
+
+} //ExpressionImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ExtensionAttributeDefinitionImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ExtensionAttributeDefinitionImpl.java
new file mode 100644
index 000000000..adc9f258c
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ExtensionAttributeDefinitionImpl.java
@@ -0,0 +1,418 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.ExtensionAttributeDefinition;
+import org.eclipse.bpmn2.ExtensionDefinition;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.eclipse.emf.ecore.util.EcoreUtil;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Extension Attribute Definition</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.ExtensionAttributeDefinitionImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ExtensionAttributeDefinitionImpl#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ExtensionAttributeDefinitionImpl#isIsReference <em>Is Reference</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ExtensionAttributeDefinitionImpl#getExtensionDefinition <em>Extension Definition</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ExtensionAttributeDefinitionImpl extends EObjectImpl implements
+ ExtensionAttributeDefinition {
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getType() <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected static final String TYPE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getType() <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected String type = TYPE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #isIsReference() <em>Is Reference</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsReference()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean IS_REFERENCE_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isIsReference() <em>Is Reference</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsReference()
+ * @generated
+ * @ordered
+ */
+ protected boolean isReference = IS_REFERENCE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ExtensionAttributeDefinitionImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.EXTENSION_ATTRIBUTE_DEFINITION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.EXTENSION_ATTRIBUTE_DEFINITION__NAME, oldName,
+ name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getType() {
+ return type;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setType(String newType) {
+ String oldType = type;
+ type = newType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.EXTENSION_ATTRIBUTE_DEFINITION__TYPE, oldType,
+ type));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isIsReference() {
+ return isReference;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIsReference(boolean newIsReference) {
+ boolean oldIsReference = isReference;
+ isReference = newIsReference;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.EXTENSION_ATTRIBUTE_DEFINITION__IS_REFERENCE,
+ oldIsReference, isReference));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ExtensionDefinition getExtensionDefinition() {
+ if (eContainerFeatureID() != Bpmn2Package.EXTENSION_ATTRIBUTE_DEFINITION__EXTENSION_DEFINITION)
+ return null;
+ return (ExtensionDefinition) eContainer();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetExtensionDefinition(
+ ExtensionDefinition newExtensionDefinition, NotificationChain msgs) {
+ msgs = eBasicSetContainer(
+ (InternalEObject) newExtensionDefinition,
+ Bpmn2Package.EXTENSION_ATTRIBUTE_DEFINITION__EXTENSION_DEFINITION,
+ msgs);
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setExtensionDefinition(
+ ExtensionDefinition newExtensionDefinition) {
+ if (newExtensionDefinition != eInternalContainer()
+ || (eContainerFeatureID() != Bpmn2Package.EXTENSION_ATTRIBUTE_DEFINITION__EXTENSION_DEFINITION && newExtensionDefinition != null)) {
+ if (EcoreUtil.isAncestor(this, newExtensionDefinition))
+ throw new IllegalArgumentException(
+ "Recursive containment not allowed for " + toString());
+ NotificationChain msgs = null;
+ if (eInternalContainer() != null)
+ msgs = eBasicRemoveFromContainer(msgs);
+ if (newExtensionDefinition != null)
+ msgs = ((InternalEObject) newExtensionDefinition)
+ .eInverseAdd(
+ this,
+ Bpmn2Package.EXTENSION_DEFINITION__EXTENSION_ATTRIBUTE_DEFINITIONS,
+ ExtensionDefinition.class, msgs);
+ msgs = basicSetExtensionDefinition(newExtensionDefinition, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.SET,
+ Bpmn2Package.EXTENSION_ATTRIBUTE_DEFINITION__EXTENSION_DEFINITION,
+ newExtensionDefinition, newExtensionDefinition));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseAdd(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.EXTENSION_ATTRIBUTE_DEFINITION__EXTENSION_DEFINITION:
+ if (eInternalContainer() != null)
+ msgs = eBasicRemoveFromContainer(msgs);
+ return basicSetExtensionDefinition((ExtensionDefinition) otherEnd,
+ msgs);
+ }
+ return super.eInverseAdd(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.EXTENSION_ATTRIBUTE_DEFINITION__EXTENSION_DEFINITION:
+ return basicSetExtensionDefinition(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eBasicRemoveFromContainerFeature(
+ NotificationChain msgs) {
+ switch (eContainerFeatureID()) {
+ case Bpmn2Package.EXTENSION_ATTRIBUTE_DEFINITION__EXTENSION_DEFINITION:
+ return eInternalContainer()
+ .eInverseRemove(
+ this,
+ Bpmn2Package.EXTENSION_DEFINITION__EXTENSION_ATTRIBUTE_DEFINITIONS,
+ ExtensionDefinition.class, msgs);
+ }
+ return super.eBasicRemoveFromContainerFeature(msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.EXTENSION_ATTRIBUTE_DEFINITION__NAME:
+ return getName();
+ case Bpmn2Package.EXTENSION_ATTRIBUTE_DEFINITION__TYPE:
+ return getType();
+ case Bpmn2Package.EXTENSION_ATTRIBUTE_DEFINITION__IS_REFERENCE:
+ return isIsReference();
+ case Bpmn2Package.EXTENSION_ATTRIBUTE_DEFINITION__EXTENSION_DEFINITION:
+ return getExtensionDefinition();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.EXTENSION_ATTRIBUTE_DEFINITION__NAME:
+ setName((String) newValue);
+ return;
+ case Bpmn2Package.EXTENSION_ATTRIBUTE_DEFINITION__TYPE:
+ setType((String) newValue);
+ return;
+ case Bpmn2Package.EXTENSION_ATTRIBUTE_DEFINITION__IS_REFERENCE:
+ setIsReference((Boolean) newValue);
+ return;
+ case Bpmn2Package.EXTENSION_ATTRIBUTE_DEFINITION__EXTENSION_DEFINITION:
+ setExtensionDefinition((ExtensionDefinition) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.EXTENSION_ATTRIBUTE_DEFINITION__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case Bpmn2Package.EXTENSION_ATTRIBUTE_DEFINITION__TYPE:
+ setType(TYPE_EDEFAULT);
+ return;
+ case Bpmn2Package.EXTENSION_ATTRIBUTE_DEFINITION__IS_REFERENCE:
+ setIsReference(IS_REFERENCE_EDEFAULT);
+ return;
+ case Bpmn2Package.EXTENSION_ATTRIBUTE_DEFINITION__EXTENSION_DEFINITION:
+ setExtensionDefinition((ExtensionDefinition) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.EXTENSION_ATTRIBUTE_DEFINITION__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
+ .equals(name);
+ case Bpmn2Package.EXTENSION_ATTRIBUTE_DEFINITION__TYPE:
+ return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT
+ .equals(type);
+ case Bpmn2Package.EXTENSION_ATTRIBUTE_DEFINITION__IS_REFERENCE:
+ return isReference != IS_REFERENCE_EDEFAULT;
+ case Bpmn2Package.EXTENSION_ATTRIBUTE_DEFINITION__EXTENSION_DEFINITION:
+ return getExtensionDefinition() != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(", type: ");
+ result.append(type);
+ result.append(", isReference: ");
+ result.append(isReference);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ExtensionAttributeDefinitionImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ExtensionAttributeValueImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ExtensionAttributeValueImpl.java
new file mode 100644
index 000000000..724284e1b
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ExtensionAttributeValueImpl.java
@@ -0,0 +1,322 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.ExtensionAttributeDefinition;
+import org.eclipse.bpmn2.ExtensionAttributeValue;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.eclipse.emf.ecore.util.BasicFeatureMap;
+import org.eclipse.emf.ecore.util.FeatureMap;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Extension Attribute Value</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.ExtensionAttributeValueImpl#getValueRef <em>Value Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ExtensionAttributeValueImpl#getValue <em>Value</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ExtensionAttributeValueImpl#getExtensionAttributeDefinition <em>Extension Attribute Definition</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ExtensionAttributeValueImpl extends EObjectImpl implements
+ ExtensionAttributeValue {
+ /**
+ * The cached value of the '{@link #getValueRef() <em>Value Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValueRef()
+ * @generated
+ * @ordered
+ */
+ protected EObject valueRef;
+
+ /**
+ * The cached value of the '{@link #getValue() <em>Value</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected FeatureMap value;
+
+ /**
+ * The cached value of the '{@link #getExtensionAttributeDefinition() <em>Extension Attribute Definition</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getExtensionAttributeDefinition()
+ * @generated
+ * @ordered
+ */
+ protected ExtensionAttributeDefinition extensionAttributeDefinition;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ExtensionAttributeValueImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.EXTENSION_ATTRIBUTE_VALUE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Object getValueRef() {
+ if (valueRef != null && valueRef.eIsProxy()) {
+ InternalEObject oldValueRef = (InternalEObject) valueRef;
+ valueRef = eResolveProxy(oldValueRef);
+ if (valueRef != oldValueRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.EXTENSION_ATTRIBUTE_VALUE__VALUE_REF,
+ oldValueRef, valueRef));
+ }
+ }
+ return valueRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Object basicGetValueRef() {
+ return valueRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setValueRef(Object newValueRef) {
+ Object oldValueRef = valueRef;
+ valueRef = (EObject) newValueRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.EXTENSION_ATTRIBUTE_VALUE__VALUE_REF,
+ oldValueRef, valueRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeatureMap getValue() {
+ if (value == null) {
+ value = new BasicFeatureMap(this,
+ Bpmn2Package.EXTENSION_ATTRIBUTE_VALUE__VALUE);
+ }
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ExtensionAttributeDefinition getExtensionAttributeDefinition() {
+ if (extensionAttributeDefinition != null
+ && extensionAttributeDefinition.eIsProxy()) {
+ InternalEObject oldExtensionAttributeDefinition = (InternalEObject) extensionAttributeDefinition;
+ extensionAttributeDefinition = (ExtensionAttributeDefinition) eResolveProxy(oldExtensionAttributeDefinition);
+ if (extensionAttributeDefinition != oldExtensionAttributeDefinition) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.RESOLVE,
+ Bpmn2Package.EXTENSION_ATTRIBUTE_VALUE__EXTENSION_ATTRIBUTE_DEFINITION,
+ oldExtensionAttributeDefinition,
+ extensionAttributeDefinition));
+ }
+ }
+ return extensionAttributeDefinition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ExtensionAttributeDefinition basicGetExtensionAttributeDefinition() {
+ return extensionAttributeDefinition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setExtensionAttributeDefinition(
+ ExtensionAttributeDefinition newExtensionAttributeDefinition) {
+ ExtensionAttributeDefinition oldExtensionAttributeDefinition = extensionAttributeDefinition;
+ extensionAttributeDefinition = newExtensionAttributeDefinition;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.SET,
+ Bpmn2Package.EXTENSION_ATTRIBUTE_VALUE__EXTENSION_ATTRIBUTE_DEFINITION,
+ oldExtensionAttributeDefinition,
+ extensionAttributeDefinition));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.EXTENSION_ATTRIBUTE_VALUE__VALUE:
+ return ((InternalEList<?>) getValue()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.EXTENSION_ATTRIBUTE_VALUE__VALUE_REF:
+ if (resolve)
+ return getValueRef();
+ return basicGetValueRef();
+ case Bpmn2Package.EXTENSION_ATTRIBUTE_VALUE__VALUE:
+ if (coreType)
+ return getValue();
+ return ((FeatureMap.Internal) getValue()).getWrapper();
+ case Bpmn2Package.EXTENSION_ATTRIBUTE_VALUE__EXTENSION_ATTRIBUTE_DEFINITION:
+ if (resolve)
+ return getExtensionAttributeDefinition();
+ return basicGetExtensionAttributeDefinition();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.EXTENSION_ATTRIBUTE_VALUE__VALUE_REF:
+ setValueRef((Object) newValue);
+ return;
+ case Bpmn2Package.EXTENSION_ATTRIBUTE_VALUE__VALUE:
+ ((FeatureMap.Internal) getValue()).set(newValue);
+ return;
+ case Bpmn2Package.EXTENSION_ATTRIBUTE_VALUE__EXTENSION_ATTRIBUTE_DEFINITION:
+ setExtensionAttributeDefinition((ExtensionAttributeDefinition) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.EXTENSION_ATTRIBUTE_VALUE__VALUE_REF:
+ setValueRef((Object) null);
+ return;
+ case Bpmn2Package.EXTENSION_ATTRIBUTE_VALUE__VALUE:
+ getValue().clear();
+ return;
+ case Bpmn2Package.EXTENSION_ATTRIBUTE_VALUE__EXTENSION_ATTRIBUTE_DEFINITION:
+ setExtensionAttributeDefinition((ExtensionAttributeDefinition) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.EXTENSION_ATTRIBUTE_VALUE__VALUE_REF:
+ return valueRef != null;
+ case Bpmn2Package.EXTENSION_ATTRIBUTE_VALUE__VALUE:
+ return value != null && !value.isEmpty();
+ case Bpmn2Package.EXTENSION_ATTRIBUTE_VALUE__EXTENSION_ATTRIBUTE_DEFINITION:
+ return extensionAttributeDefinition != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (value: ");
+ result.append(value);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ExtensionAttributeValueImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ExtensionDefinitionImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ExtensionDefinitionImpl.java
new file mode 100644
index 000000000..ea2773744
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ExtensionDefinitionImpl.java
@@ -0,0 +1,264 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.ExtensionAttributeDefinition;
+import org.eclipse.bpmn2.ExtensionDefinition;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Extension Definition</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.ExtensionDefinitionImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ExtensionDefinitionImpl#getExtensionAttributeDefinitions <em>Extension Attribute Definitions</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ExtensionDefinitionImpl extends EObjectImpl implements
+ ExtensionDefinition {
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getExtensionAttributeDefinitions() <em>Extension Attribute Definitions</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getExtensionAttributeDefinitions()
+ * @generated
+ * @ordered
+ */
+ protected EList<ExtensionAttributeDefinition> extensionAttributeDefinitions;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ExtensionDefinitionImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.EXTENSION_DEFINITION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.EXTENSION_DEFINITION__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<ExtensionAttributeDefinition> getExtensionAttributeDefinitions() {
+ if (extensionAttributeDefinitions == null) {
+ extensionAttributeDefinitions = new EObjectContainmentWithInverseEList<ExtensionAttributeDefinition>(
+ ExtensionAttributeDefinition.class,
+ this,
+ Bpmn2Package.EXTENSION_DEFINITION__EXTENSION_ATTRIBUTE_DEFINITIONS,
+ Bpmn2Package.EXTENSION_ATTRIBUTE_DEFINITION__EXTENSION_DEFINITION);
+ }
+ return extensionAttributeDefinitions;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public NotificationChain eInverseAdd(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.EXTENSION_DEFINITION__EXTENSION_ATTRIBUTE_DEFINITIONS:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getExtensionAttributeDefinitions())
+ .basicAdd(otherEnd, msgs);
+ }
+ return super.eInverseAdd(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.EXTENSION_DEFINITION__EXTENSION_ATTRIBUTE_DEFINITIONS:
+ return ((InternalEList<?>) getExtensionAttributeDefinitions())
+ .basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.EXTENSION_DEFINITION__NAME:
+ return getName();
+ case Bpmn2Package.EXTENSION_DEFINITION__EXTENSION_ATTRIBUTE_DEFINITIONS:
+ return getExtensionAttributeDefinitions();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.EXTENSION_DEFINITION__NAME:
+ setName((String) newValue);
+ return;
+ case Bpmn2Package.EXTENSION_DEFINITION__EXTENSION_ATTRIBUTE_DEFINITIONS:
+ getExtensionAttributeDefinitions().clear();
+ getExtensionAttributeDefinitions()
+ .addAll((Collection<? extends ExtensionAttributeDefinition>) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.EXTENSION_DEFINITION__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case Bpmn2Package.EXTENSION_DEFINITION__EXTENSION_ATTRIBUTE_DEFINITIONS:
+ getExtensionAttributeDefinitions().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.EXTENSION_DEFINITION__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
+ .equals(name);
+ case Bpmn2Package.EXTENSION_DEFINITION__EXTENSION_ATTRIBUTE_DEFINITIONS:
+ return extensionAttributeDefinitions != null
+ && !extensionAttributeDefinitions.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ExtensionDefinitionImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ExtensionImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ExtensionImpl.java
new file mode 100644
index 000000000..6b0414e91
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ExtensionImpl.java
@@ -0,0 +1,333 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import javax.xml.namespace.QName;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Extension;
+import org.eclipse.bpmn2.ExtensionDefinition;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Extension</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.ExtensionImpl#getDefinition <em>Definition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ExtensionImpl#isMustUnderstand <em>Must Understand</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ExtensionImpl#getXsdDefinition <em>Xsd Definition</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ExtensionImpl extends EObjectImpl implements Extension {
+ /**
+ * The cached value of the '{@link #getDefinition() <em>Definition</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDefinition()
+ * @generated
+ * @ordered
+ */
+ protected ExtensionDefinition definition;
+
+ /**
+ * The default value of the '{@link #isMustUnderstand() <em>Must Understand</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isMustUnderstand()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean MUST_UNDERSTAND_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isMustUnderstand() <em>Must Understand</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isMustUnderstand()
+ * @generated
+ * @ordered
+ */
+ protected boolean mustUnderstand = MUST_UNDERSTAND_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getXsdDefinition() <em>Xsd Definition</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXsdDefinition()
+ * @generated
+ * @ordered
+ */
+ protected static final QName XSD_DEFINITION_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getXsdDefinition() <em>Xsd Definition</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXsdDefinition()
+ * @generated
+ * @ordered
+ */
+ protected QName xsdDefinition = XSD_DEFINITION_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ExtensionImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.EXTENSION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ExtensionDefinition getDefinition() {
+ return definition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDefinition(
+ ExtensionDefinition newDefinition, NotificationChain msgs) {
+ ExtensionDefinition oldDefinition = definition;
+ definition = newDefinition;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET, Bpmn2Package.EXTENSION__DEFINITION,
+ oldDefinition, newDefinition);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDefinition(ExtensionDefinition newDefinition) {
+ if (newDefinition != definition) {
+ NotificationChain msgs = null;
+ if (definition != null)
+ msgs = ((InternalEObject) definition).eInverseRemove(this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.EXTENSION__DEFINITION, null,
+ msgs);
+ if (newDefinition != null)
+ msgs = ((InternalEObject) newDefinition).eInverseAdd(this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.EXTENSION__DEFINITION, null,
+ msgs);
+ msgs = basicSetDefinition(newDefinition, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.EXTENSION__DEFINITION, newDefinition,
+ newDefinition));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isMustUnderstand() {
+ return mustUnderstand;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMustUnderstand(boolean newMustUnderstand) {
+ boolean oldMustUnderstand = mustUnderstand;
+ mustUnderstand = newMustUnderstand;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.EXTENSION__MUST_UNDERSTAND, oldMustUnderstand,
+ mustUnderstand));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public QName getXsdDefinition() {
+ return xsdDefinition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setXsdDefinition(QName newXsdDefinition) {
+ QName oldXsdDefinition = xsdDefinition;
+ xsdDefinition = newXsdDefinition;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.EXTENSION__XSD_DEFINITION, oldXsdDefinition,
+ xsdDefinition));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.EXTENSION__DEFINITION:
+ return basicSetDefinition(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.EXTENSION__DEFINITION:
+ return getDefinition();
+ case Bpmn2Package.EXTENSION__MUST_UNDERSTAND:
+ return isMustUnderstand();
+ case Bpmn2Package.EXTENSION__XSD_DEFINITION:
+ return getXsdDefinition();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.EXTENSION__DEFINITION:
+ setDefinition((ExtensionDefinition) newValue);
+ return;
+ case Bpmn2Package.EXTENSION__MUST_UNDERSTAND:
+ setMustUnderstand((Boolean) newValue);
+ return;
+ case Bpmn2Package.EXTENSION__XSD_DEFINITION:
+ setXsdDefinition((QName) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.EXTENSION__DEFINITION:
+ setDefinition((ExtensionDefinition) null);
+ return;
+ case Bpmn2Package.EXTENSION__MUST_UNDERSTAND:
+ setMustUnderstand(MUST_UNDERSTAND_EDEFAULT);
+ return;
+ case Bpmn2Package.EXTENSION__XSD_DEFINITION:
+ setXsdDefinition(XSD_DEFINITION_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.EXTENSION__DEFINITION:
+ return definition != null;
+ case Bpmn2Package.EXTENSION__MUST_UNDERSTAND:
+ return mustUnderstand != MUST_UNDERSTAND_EDEFAULT;
+ case Bpmn2Package.EXTENSION__XSD_DEFINITION:
+ return XSD_DEFINITION_EDEFAULT == null ? xsdDefinition != null
+ : !XSD_DEFINITION_EDEFAULT.equals(xsdDefinition);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (mustUnderstand: ");
+ result.append(mustUnderstand);
+ result.append(", xsdDefinition: ");
+ result.append(xsdDefinition);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ExtensionImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/FlowElementImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/FlowElementImpl.java
new file mode 100644
index 000000000..21784ab75
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/FlowElementImpl.java
@@ -0,0 +1,401 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Auditing;
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.CategoryValue;
+import org.eclipse.bpmn2.FlowElement;
+import org.eclipse.bpmn2.Monitoring;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Flow Element</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.FlowElementImpl#getAuditing <em>Auditing</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.FlowElementImpl#getMonitoring <em>Monitoring</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.FlowElementImpl#getCategoryValueRef <em>Category Value Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.FlowElementImpl#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class FlowElementImpl extends BaseElementImpl implements
+ FlowElement {
+ /**
+ * The cached value of the '{@link #getAuditing() <em>Auditing</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAuditing()
+ * @generated
+ * @ordered
+ */
+ protected Auditing auditing;
+
+ /**
+ * The cached value of the '{@link #getMonitoring() <em>Monitoring</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMonitoring()
+ * @generated
+ * @ordered
+ */
+ protected Monitoring monitoring;
+
+ /**
+ * The cached value of the '{@link #getCategoryValueRef() <em>Category Value Ref</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCategoryValueRef()
+ * @generated
+ * @ordered
+ */
+ protected EList<CategoryValue> categoryValueRef;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected FlowElementImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.FLOW_ELEMENT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Auditing getAuditing() {
+ return auditing;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetAuditing(Auditing newAuditing,
+ NotificationChain msgs) {
+ Auditing oldAuditing = auditing;
+ auditing = newAuditing;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET, Bpmn2Package.FLOW_ELEMENT__AUDITING,
+ oldAuditing, newAuditing);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAuditing(Auditing newAuditing) {
+ if (newAuditing != auditing) {
+ NotificationChain msgs = null;
+ if (auditing != null)
+ msgs = ((InternalEObject) auditing).eInverseRemove(this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.FLOW_ELEMENT__AUDITING, null,
+ msgs);
+ if (newAuditing != null)
+ msgs = ((InternalEObject) newAuditing).eInverseAdd(this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.FLOW_ELEMENT__AUDITING, null,
+ msgs);
+ msgs = basicSetAuditing(newAuditing, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.FLOW_ELEMENT__AUDITING, newAuditing,
+ newAuditing));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Monitoring getMonitoring() {
+ return monitoring;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetMonitoring(Monitoring newMonitoring,
+ NotificationChain msgs) {
+ Monitoring oldMonitoring = monitoring;
+ monitoring = newMonitoring;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET, Bpmn2Package.FLOW_ELEMENT__MONITORING,
+ oldMonitoring, newMonitoring);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMonitoring(Monitoring newMonitoring) {
+ if (newMonitoring != monitoring) {
+ NotificationChain msgs = null;
+ if (monitoring != null)
+ msgs = ((InternalEObject) monitoring).eInverseRemove(this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.FLOW_ELEMENT__MONITORING, null,
+ msgs);
+ if (newMonitoring != null)
+ msgs = ((InternalEObject) newMonitoring).eInverseAdd(this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.FLOW_ELEMENT__MONITORING, null,
+ msgs);
+ msgs = basicSetMonitoring(newMonitoring, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.FLOW_ELEMENT__MONITORING, newMonitoring,
+ newMonitoring));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<CategoryValue> getCategoryValueRef() {
+ if (categoryValueRef == null) {
+ categoryValueRef = new EObjectResolvingEList<CategoryValue>(
+ CategoryValue.class, this,
+ Bpmn2Package.FLOW_ELEMENT__CATEGORY_VALUE_REF);
+ }
+ return categoryValueRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.FLOW_ELEMENT__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.FLOW_ELEMENT__AUDITING:
+ return basicSetAuditing(null, msgs);
+ case Bpmn2Package.FLOW_ELEMENT__MONITORING:
+ return basicSetMonitoring(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.FLOW_ELEMENT__AUDITING:
+ return getAuditing();
+ case Bpmn2Package.FLOW_ELEMENT__MONITORING:
+ return getMonitoring();
+ case Bpmn2Package.FLOW_ELEMENT__CATEGORY_VALUE_REF:
+ return getCategoryValueRef();
+ case Bpmn2Package.FLOW_ELEMENT__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.FLOW_ELEMENT__AUDITING:
+ setAuditing((Auditing) newValue);
+ return;
+ case Bpmn2Package.FLOW_ELEMENT__MONITORING:
+ setMonitoring((Monitoring) newValue);
+ return;
+ case Bpmn2Package.FLOW_ELEMENT__CATEGORY_VALUE_REF:
+ getCategoryValueRef().clear();
+ getCategoryValueRef().addAll(
+ (Collection<? extends CategoryValue>) newValue);
+ return;
+ case Bpmn2Package.FLOW_ELEMENT__NAME:
+ setName((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.FLOW_ELEMENT__AUDITING:
+ setAuditing((Auditing) null);
+ return;
+ case Bpmn2Package.FLOW_ELEMENT__MONITORING:
+ setMonitoring((Monitoring) null);
+ return;
+ case Bpmn2Package.FLOW_ELEMENT__CATEGORY_VALUE_REF:
+ getCategoryValueRef().clear();
+ return;
+ case Bpmn2Package.FLOW_ELEMENT__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.FLOW_ELEMENT__AUDITING:
+ return auditing != null;
+ case Bpmn2Package.FLOW_ELEMENT__MONITORING:
+ return monitoring != null;
+ case Bpmn2Package.FLOW_ELEMENT__CATEGORY_VALUE_REF:
+ return categoryValueRef != null && !categoryValueRef.isEmpty();
+ case Bpmn2Package.FLOW_ELEMENT__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
+ .equals(name);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //FlowElementImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/FlowElementsContainerImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/FlowElementsContainerImpl.java
new file mode 100644
index 000000000..455058fc2
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/FlowElementsContainerImpl.java
@@ -0,0 +1,208 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.FlowElement;
+import org.eclipse.bpmn2.FlowElementsContainer;
+import org.eclipse.bpmn2.LaneSet;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Flow Elements Container</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.FlowElementsContainerImpl#getLaneSets <em>Lane Sets</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.FlowElementsContainerImpl#getFlowElements <em>Flow Elements</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class FlowElementsContainerImpl extends BaseElementImpl
+ implements FlowElementsContainer {
+ /**
+ * The cached value of the '{@link #getLaneSets() <em>Lane Sets</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLaneSets()
+ * @generated
+ * @ordered
+ */
+ protected EList<LaneSet> laneSets;
+
+ /**
+ * The cached value of the '{@link #getFlowElements() <em>Flow Elements</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFlowElements()
+ * @generated
+ * @ordered
+ */
+ protected EList<FlowElement> flowElements;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected FlowElementsContainerImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.FLOW_ELEMENTS_CONTAINER;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<LaneSet> getLaneSets() {
+ if (laneSets == null) {
+ laneSets = new EObjectContainmentEList<LaneSet>(LaneSet.class,
+ this, Bpmn2Package.FLOW_ELEMENTS_CONTAINER__LANE_SETS);
+ }
+ return laneSets;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<FlowElement> getFlowElements() {
+ if (flowElements == null) {
+ flowElements = new EObjectContainmentEList<FlowElement>(
+ FlowElement.class, this,
+ Bpmn2Package.FLOW_ELEMENTS_CONTAINER__FLOW_ELEMENTS);
+ }
+ return flowElements;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.FLOW_ELEMENTS_CONTAINER__LANE_SETS:
+ return ((InternalEList<?>) getLaneSets()).basicRemove(otherEnd,
+ msgs);
+ case Bpmn2Package.FLOW_ELEMENTS_CONTAINER__FLOW_ELEMENTS:
+ return ((InternalEList<?>) getFlowElements()).basicRemove(otherEnd,
+ msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.FLOW_ELEMENTS_CONTAINER__LANE_SETS:
+ return getLaneSets();
+ case Bpmn2Package.FLOW_ELEMENTS_CONTAINER__FLOW_ELEMENTS:
+ return getFlowElements();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.FLOW_ELEMENTS_CONTAINER__LANE_SETS:
+ getLaneSets().clear();
+ getLaneSets().addAll((Collection<? extends LaneSet>) newValue);
+ return;
+ case Bpmn2Package.FLOW_ELEMENTS_CONTAINER__FLOW_ELEMENTS:
+ getFlowElements().clear();
+ getFlowElements().addAll(
+ (Collection<? extends FlowElement>) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.FLOW_ELEMENTS_CONTAINER__LANE_SETS:
+ getLaneSets().clear();
+ return;
+ case Bpmn2Package.FLOW_ELEMENTS_CONTAINER__FLOW_ELEMENTS:
+ getFlowElements().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.FLOW_ELEMENTS_CONTAINER__LANE_SETS:
+ return laneSets != null && !laneSets.isEmpty();
+ case Bpmn2Package.FLOW_ELEMENTS_CONTAINER__FLOW_ELEMENTS:
+ return flowElements != null && !flowElements.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //FlowElementsContainerImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/FlowNodeImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/FlowNodeImpl.java
new file mode 100644
index 000000000..4c5554e08
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/FlowNodeImpl.java
@@ -0,0 +1,269 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.FlowNode;
+import org.eclipse.bpmn2.Lane;
+import org.eclipse.bpmn2.SequenceFlow;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.util.EObjectWithInverseEList;
+import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Flow Node</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.FlowNodeImpl#getIncoming <em>Incoming</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.FlowNodeImpl#getLanes <em>Lanes</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.FlowNodeImpl#getOutgoing <em>Outgoing</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class FlowNodeImpl extends FlowElementImpl implements FlowNode {
+ /**
+ * The cached value of the '{@link #getIncoming() <em>Incoming</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIncoming()
+ * @generated
+ * @ordered
+ */
+ protected EList<SequenceFlow> incoming;
+
+ /**
+ * The cached value of the '{@link #getLanes() <em>Lanes</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLanes()
+ * @generated
+ * @ordered
+ */
+ protected EList<Lane> lanes;
+
+ /**
+ * The cached value of the '{@link #getOutgoing() <em>Outgoing</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOutgoing()
+ * @generated
+ * @ordered
+ */
+ protected EList<SequenceFlow> outgoing;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected FlowNodeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.FLOW_NODE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<SequenceFlow> getIncoming() {
+ if (incoming == null) {
+ incoming = new EObjectWithInverseEList<SequenceFlow>(
+ SequenceFlow.class, this, Bpmn2Package.FLOW_NODE__INCOMING,
+ Bpmn2Package.SEQUENCE_FLOW__TARGET_REF);
+ }
+ return incoming;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<Lane> getLanes() {
+ if (lanes == null) {
+ lanes = new EObjectWithInverseResolvingEList.ManyInverse<Lane>(
+ Lane.class, this, Bpmn2Package.FLOW_NODE__LANES,
+ Bpmn2Package.LANE__FLOW_NODE_REFS);
+ }
+ return lanes;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<SequenceFlow> getOutgoing() {
+ if (outgoing == null) {
+ outgoing = new EObjectWithInverseEList<SequenceFlow>(
+ SequenceFlow.class, this, Bpmn2Package.FLOW_NODE__OUTGOING,
+ Bpmn2Package.SEQUENCE_FLOW__SOURCE_REF);
+ }
+ return outgoing;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public NotificationChain eInverseAdd(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.FLOW_NODE__INCOMING:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getIncoming())
+ .basicAdd(otherEnd, msgs);
+ case Bpmn2Package.FLOW_NODE__LANES:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getLanes())
+ .basicAdd(otherEnd, msgs);
+ case Bpmn2Package.FLOW_NODE__OUTGOING:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getOutgoing())
+ .basicAdd(otherEnd, msgs);
+ }
+ return super.eInverseAdd(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.FLOW_NODE__INCOMING:
+ return ((InternalEList<?>) getIncoming()).basicRemove(otherEnd,
+ msgs);
+ case Bpmn2Package.FLOW_NODE__LANES:
+ return ((InternalEList<?>) getLanes()).basicRemove(otherEnd, msgs);
+ case Bpmn2Package.FLOW_NODE__OUTGOING:
+ return ((InternalEList<?>) getOutgoing()).basicRemove(otherEnd,
+ msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.FLOW_NODE__INCOMING:
+ return getIncoming();
+ case Bpmn2Package.FLOW_NODE__LANES:
+ return getLanes();
+ case Bpmn2Package.FLOW_NODE__OUTGOING:
+ return getOutgoing();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.FLOW_NODE__INCOMING:
+ getIncoming().clear();
+ getIncoming().addAll((Collection<? extends SequenceFlow>) newValue);
+ return;
+ case Bpmn2Package.FLOW_NODE__LANES:
+ getLanes().clear();
+ getLanes().addAll((Collection<? extends Lane>) newValue);
+ return;
+ case Bpmn2Package.FLOW_NODE__OUTGOING:
+ getOutgoing().clear();
+ getOutgoing().addAll((Collection<? extends SequenceFlow>) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.FLOW_NODE__INCOMING:
+ getIncoming().clear();
+ return;
+ case Bpmn2Package.FLOW_NODE__LANES:
+ getLanes().clear();
+ return;
+ case Bpmn2Package.FLOW_NODE__OUTGOING:
+ getOutgoing().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.FLOW_NODE__INCOMING:
+ return incoming != null && !incoming.isEmpty();
+ case Bpmn2Package.FLOW_NODE__LANES:
+ return lanes != null && !lanes.isEmpty();
+ case Bpmn2Package.FLOW_NODE__OUTGOING:
+ return outgoing != null && !outgoing.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //FlowNodeImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/FormalExpressionImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/FormalExpressionImpl.java
new file mode 100644
index 000000000..e989bcae7
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/FormalExpressionImpl.java
@@ -0,0 +1,350 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.FormalExpression;
+import org.eclipse.bpmn2.ItemDefinition;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.BasicFeatureMap;
+import org.eclipse.emf.ecore.util.FeatureMap;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Formal Expression</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.FormalExpressionImpl#getMixed <em>Mixed</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.FormalExpressionImpl#getBody <em>Body</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.FormalExpressionImpl#getEvaluatesToTypeRef <em>Evaluates To Type Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.FormalExpressionImpl#getLanguage <em>Language</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class FormalExpressionImpl extends ExpressionImpl implements
+ FormalExpression {
+ /**
+ * The cached value of the '{@link #getMixed() <em>Mixed</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMixed()
+ * @generated
+ * @ordered
+ */
+ protected FeatureMap mixed;
+
+ /**
+ * The default value of the '{@link #getBody() <em>Body</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBody()
+ * @generated
+ * @ordered
+ */
+ protected static final String BODY_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getEvaluatesToTypeRef() <em>Evaluates To Type Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getEvaluatesToTypeRef()
+ * @generated
+ * @ordered
+ */
+ protected ItemDefinition evaluatesToTypeRef;
+
+ /**
+ * The default value of the '{@link #getLanguage() <em>Language</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLanguage()
+ * @generated
+ * @ordered
+ */
+ protected static final String LANGUAGE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getLanguage() <em>Language</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLanguage()
+ * @generated
+ * @ordered
+ */
+ protected String language = LANGUAGE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected FormalExpressionImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.FORMAL_EXPRESSION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeatureMap getMixed() {
+ if (mixed == null) {
+ mixed = new BasicFeatureMap(this,
+ Bpmn2Package.FORMAL_EXPRESSION__MIXED);
+ }
+ return mixed;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getBody() {
+ // TODO: implement this method to return the 'Body' attribute
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBody(String newBody) {
+ // TODO: implement this method to set the 'Body' attribute
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ItemDefinition getEvaluatesToTypeRef() {
+ if (evaluatesToTypeRef != null && evaluatesToTypeRef.eIsProxy()) {
+ InternalEObject oldEvaluatesToTypeRef = (InternalEObject) evaluatesToTypeRef;
+ evaluatesToTypeRef = (ItemDefinition) eResolveProxy(oldEvaluatesToTypeRef);
+ if (evaluatesToTypeRef != oldEvaluatesToTypeRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.RESOLVE,
+ Bpmn2Package.FORMAL_EXPRESSION__EVALUATES_TO_TYPE_REF,
+ oldEvaluatesToTypeRef, evaluatesToTypeRef));
+ }
+ }
+ return evaluatesToTypeRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ItemDefinition basicGetEvaluatesToTypeRef() {
+ return evaluatesToTypeRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setEvaluatesToTypeRef(ItemDefinition newEvaluatesToTypeRef) {
+ ItemDefinition oldEvaluatesToTypeRef = evaluatesToTypeRef;
+ evaluatesToTypeRef = newEvaluatesToTypeRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.FORMAL_EXPRESSION__EVALUATES_TO_TYPE_REF,
+ oldEvaluatesToTypeRef, evaluatesToTypeRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLanguage() {
+ return language;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLanguage(String newLanguage) {
+ String oldLanguage = language;
+ language = newLanguage;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.FORMAL_EXPRESSION__LANGUAGE, oldLanguage,
+ language));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.FORMAL_EXPRESSION__MIXED:
+ return ((InternalEList<?>) getMixed()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.FORMAL_EXPRESSION__MIXED:
+ if (coreType)
+ return getMixed();
+ return ((FeatureMap.Internal) getMixed()).getWrapper();
+ case Bpmn2Package.FORMAL_EXPRESSION__BODY:
+ return getBody();
+ case Bpmn2Package.FORMAL_EXPRESSION__EVALUATES_TO_TYPE_REF:
+ if (resolve)
+ return getEvaluatesToTypeRef();
+ return basicGetEvaluatesToTypeRef();
+ case Bpmn2Package.FORMAL_EXPRESSION__LANGUAGE:
+ return getLanguage();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.FORMAL_EXPRESSION__MIXED:
+ ((FeatureMap.Internal) getMixed()).set(newValue);
+ return;
+ case Bpmn2Package.FORMAL_EXPRESSION__BODY:
+ setBody((String) newValue);
+ return;
+ case Bpmn2Package.FORMAL_EXPRESSION__EVALUATES_TO_TYPE_REF:
+ setEvaluatesToTypeRef((ItemDefinition) newValue);
+ return;
+ case Bpmn2Package.FORMAL_EXPRESSION__LANGUAGE:
+ setLanguage((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.FORMAL_EXPRESSION__MIXED:
+ getMixed().clear();
+ return;
+ case Bpmn2Package.FORMAL_EXPRESSION__BODY:
+ setBody(BODY_EDEFAULT);
+ return;
+ case Bpmn2Package.FORMAL_EXPRESSION__EVALUATES_TO_TYPE_REF:
+ setEvaluatesToTypeRef((ItemDefinition) null);
+ return;
+ case Bpmn2Package.FORMAL_EXPRESSION__LANGUAGE:
+ setLanguage(LANGUAGE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.FORMAL_EXPRESSION__MIXED:
+ return mixed != null && !mixed.isEmpty();
+ case Bpmn2Package.FORMAL_EXPRESSION__BODY:
+ return BODY_EDEFAULT == null ? getBody() != null : !BODY_EDEFAULT
+ .equals(getBody());
+ case Bpmn2Package.FORMAL_EXPRESSION__EVALUATES_TO_TYPE_REF:
+ return evaluatesToTypeRef != null;
+ case Bpmn2Package.FORMAL_EXPRESSION__LANGUAGE:
+ return LANGUAGE_EDEFAULT == null ? language != null
+ : !LANGUAGE_EDEFAULT.equals(language);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (mixed: ");
+ result.append(mixed);
+ result.append(", language: ");
+ result.append(language);
+ result.append(')');
+ return result.toString();
+ }
+
+} //FormalExpressionImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/GatewayImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/GatewayImpl.java
new file mode 100644
index 000000000..29cf14942
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/GatewayImpl.java
@@ -0,0 +1,179 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Gateway;
+import org.eclipse.bpmn2.GatewayDirection;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Gateway</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.GatewayImpl#getGatewayDirection <em>Gateway Direction</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class GatewayImpl extends FlowNodeImpl implements Gateway {
+ /**
+ * The default value of the '{@link #getGatewayDirection() <em>Gateway Direction</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getGatewayDirection()
+ * @generated
+ * @ordered
+ */
+ protected static final GatewayDirection GATEWAY_DIRECTION_EDEFAULT = GatewayDirection.UNSPECIFIED;
+
+ /**
+ * The cached value of the '{@link #getGatewayDirection() <em>Gateway Direction</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getGatewayDirection()
+ * @generated
+ * @ordered
+ */
+ protected GatewayDirection gatewayDirection = GATEWAY_DIRECTION_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected GatewayImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.GATEWAY;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public GatewayDirection getGatewayDirection() {
+ return gatewayDirection;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setGatewayDirection(GatewayDirection newGatewayDirection) {
+ GatewayDirection oldGatewayDirection = gatewayDirection;
+ gatewayDirection = newGatewayDirection == null ? GATEWAY_DIRECTION_EDEFAULT
+ : newGatewayDirection;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.GATEWAY__GATEWAY_DIRECTION,
+ oldGatewayDirection, gatewayDirection));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.GATEWAY__GATEWAY_DIRECTION:
+ return getGatewayDirection();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.GATEWAY__GATEWAY_DIRECTION:
+ setGatewayDirection((GatewayDirection) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.GATEWAY__GATEWAY_DIRECTION:
+ setGatewayDirection(GATEWAY_DIRECTION_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.GATEWAY__GATEWAY_DIRECTION:
+ return gatewayDirection != GATEWAY_DIRECTION_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (gatewayDirection: ");
+ result.append(gatewayDirection);
+ result.append(')');
+ return result.toString();
+ }
+
+} //GatewayImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/GlobalBusinessRuleTaskImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/GlobalBusinessRuleTaskImpl.java
new file mode 100644
index 000000000..9148b2b61
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/GlobalBusinessRuleTaskImpl.java
@@ -0,0 +1,179 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.GlobalBusinessRuleTask;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Global Business Rule Task</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.GlobalBusinessRuleTaskImpl#getImplementation <em>Implementation</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class GlobalBusinessRuleTaskImpl extends GlobalTaskImpl implements
+ GlobalBusinessRuleTask {
+ /**
+ * The default value of the '{@link #getImplementation() <em>Implementation</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getImplementation()
+ * @generated
+ * @ordered
+ */
+ protected static final String IMPLEMENTATION_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getImplementation() <em>Implementation</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getImplementation()
+ * @generated
+ * @ordered
+ */
+ protected String implementation = IMPLEMENTATION_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected GlobalBusinessRuleTaskImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.GLOBAL_BUSINESS_RULE_TASK;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getImplementation() {
+ return implementation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setImplementation(String newImplementation) {
+ String oldImplementation = implementation;
+ implementation = newImplementation;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.GLOBAL_BUSINESS_RULE_TASK__IMPLEMENTATION,
+ oldImplementation, implementation));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.GLOBAL_BUSINESS_RULE_TASK__IMPLEMENTATION:
+ return getImplementation();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.GLOBAL_BUSINESS_RULE_TASK__IMPLEMENTATION:
+ setImplementation((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.GLOBAL_BUSINESS_RULE_TASK__IMPLEMENTATION:
+ setImplementation(IMPLEMENTATION_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.GLOBAL_BUSINESS_RULE_TASK__IMPLEMENTATION:
+ return IMPLEMENTATION_EDEFAULT == null ? implementation != null
+ : !IMPLEMENTATION_EDEFAULT.equals(implementation);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (implementation: ");
+ result.append(implementation);
+ result.append(')');
+ return result.toString();
+ }
+
+} //GlobalBusinessRuleTaskImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/GlobalChoreographyTaskImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/GlobalChoreographyTaskImpl.java
new file mode 100644
index 000000000..c39a0142b
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/GlobalChoreographyTaskImpl.java
@@ -0,0 +1,181 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.GlobalChoreographyTask;
+import org.eclipse.bpmn2.Participant;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Global Choreography Task</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.GlobalChoreographyTaskImpl#getInitiatingParticipantRef <em>Initiating Participant Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class GlobalChoreographyTaskImpl extends ChoreographyImpl implements
+ GlobalChoreographyTask {
+ /**
+ * The cached value of the '{@link #getInitiatingParticipantRef() <em>Initiating Participant Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getInitiatingParticipantRef()
+ * @generated
+ * @ordered
+ */
+ protected Participant initiatingParticipantRef;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected GlobalChoreographyTaskImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.GLOBAL_CHOREOGRAPHY_TASK;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Participant getInitiatingParticipantRef() {
+ if (initiatingParticipantRef != null
+ && initiatingParticipantRef.eIsProxy()) {
+ InternalEObject oldInitiatingParticipantRef = (InternalEObject) initiatingParticipantRef;
+ initiatingParticipantRef = (Participant) eResolveProxy(oldInitiatingParticipantRef);
+ if (initiatingParticipantRef != oldInitiatingParticipantRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.RESOLVE,
+ Bpmn2Package.GLOBAL_CHOREOGRAPHY_TASK__INITIATING_PARTICIPANT_REF,
+ oldInitiatingParticipantRef,
+ initiatingParticipantRef));
+ }
+ }
+ return initiatingParticipantRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Participant basicGetInitiatingParticipantRef() {
+ return initiatingParticipantRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setInitiatingParticipantRef(
+ Participant newInitiatingParticipantRef) {
+ Participant oldInitiatingParticipantRef = initiatingParticipantRef;
+ initiatingParticipantRef = newInitiatingParticipantRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.SET,
+ Bpmn2Package.GLOBAL_CHOREOGRAPHY_TASK__INITIATING_PARTICIPANT_REF,
+ oldInitiatingParticipantRef, initiatingParticipantRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.GLOBAL_CHOREOGRAPHY_TASK__INITIATING_PARTICIPANT_REF:
+ if (resolve)
+ return getInitiatingParticipantRef();
+ return basicGetInitiatingParticipantRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.GLOBAL_CHOREOGRAPHY_TASK__INITIATING_PARTICIPANT_REF:
+ setInitiatingParticipantRef((Participant) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.GLOBAL_CHOREOGRAPHY_TASK__INITIATING_PARTICIPANT_REF:
+ setInitiatingParticipantRef((Participant) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.GLOBAL_CHOREOGRAPHY_TASK__INITIATING_PARTICIPANT_REF:
+ return initiatingParticipantRef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //GlobalChoreographyTaskImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/GlobalConversationImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/GlobalConversationImpl.java
new file mode 100644
index 000000000..57aa31569
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/GlobalConversationImpl.java
@@ -0,0 +1,52 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.GlobalConversation;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Global Conversation</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class GlobalConversationImpl extends CollaborationImpl implements
+ GlobalConversation {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected GlobalConversationImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.GLOBAL_CONVERSATION;
+ }
+
+} //GlobalConversationImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/GlobalManualTaskImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/GlobalManualTaskImpl.java
new file mode 100644
index 000000000..b185d71db
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/GlobalManualTaskImpl.java
@@ -0,0 +1,52 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.GlobalManualTask;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Global Manual Task</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class GlobalManualTaskImpl extends GlobalTaskImpl implements
+ GlobalManualTask {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected GlobalManualTaskImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.GLOBAL_MANUAL_TASK;
+ }
+
+} //GlobalManualTaskImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/GlobalScriptTaskImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/GlobalScriptTaskImpl.java
new file mode 100644
index 000000000..478a9ad52
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/GlobalScriptTaskImpl.java
@@ -0,0 +1,235 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.GlobalScriptTask;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Global Script Task</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.GlobalScriptTaskImpl#getScript <em>Script</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.GlobalScriptTaskImpl#getScriptLanguage <em>Script Language</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class GlobalScriptTaskImpl extends GlobalTaskImpl implements
+ GlobalScriptTask {
+ /**
+ * The default value of the '{@link #getScript() <em>Script</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getScript()
+ * @generated
+ * @ordered
+ */
+ protected static final String SCRIPT_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getScript() <em>Script</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getScript()
+ * @generated
+ * @ordered
+ */
+ protected String script = SCRIPT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getScriptLanguage() <em>Script Language</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getScriptLanguage()
+ * @generated
+ * @ordered
+ */
+ protected static final String SCRIPT_LANGUAGE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getScriptLanguage() <em>Script Language</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getScriptLanguage()
+ * @generated
+ * @ordered
+ */
+ protected String scriptLanguage = SCRIPT_LANGUAGE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected GlobalScriptTaskImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.GLOBAL_SCRIPT_TASK;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getScript() {
+ return script;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setScript(String newScript) {
+ String oldScript = script;
+ script = newScript;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.GLOBAL_SCRIPT_TASK__SCRIPT, oldScript, script));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getScriptLanguage() {
+ return scriptLanguage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setScriptLanguage(String newScriptLanguage) {
+ String oldScriptLanguage = scriptLanguage;
+ scriptLanguage = newScriptLanguage;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.GLOBAL_SCRIPT_TASK__SCRIPT_LANGUAGE,
+ oldScriptLanguage, scriptLanguage));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.GLOBAL_SCRIPT_TASK__SCRIPT:
+ return getScript();
+ case Bpmn2Package.GLOBAL_SCRIPT_TASK__SCRIPT_LANGUAGE:
+ return getScriptLanguage();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.GLOBAL_SCRIPT_TASK__SCRIPT:
+ setScript((String) newValue);
+ return;
+ case Bpmn2Package.GLOBAL_SCRIPT_TASK__SCRIPT_LANGUAGE:
+ setScriptLanguage((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.GLOBAL_SCRIPT_TASK__SCRIPT:
+ setScript(SCRIPT_EDEFAULT);
+ return;
+ case Bpmn2Package.GLOBAL_SCRIPT_TASK__SCRIPT_LANGUAGE:
+ setScriptLanguage(SCRIPT_LANGUAGE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.GLOBAL_SCRIPT_TASK__SCRIPT:
+ return SCRIPT_EDEFAULT == null ? script != null : !SCRIPT_EDEFAULT
+ .equals(script);
+ case Bpmn2Package.GLOBAL_SCRIPT_TASK__SCRIPT_LANGUAGE:
+ return SCRIPT_LANGUAGE_EDEFAULT == null ? scriptLanguage != null
+ : !SCRIPT_LANGUAGE_EDEFAULT.equals(scriptLanguage);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (script: ");
+ result.append(script);
+ result.append(", scriptLanguage: ");
+ result.append(scriptLanguage);
+ result.append(')');
+ return result.toString();
+ }
+
+} //GlobalScriptTaskImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/GlobalTaskImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/GlobalTaskImpl.java
new file mode 100644
index 000000000..6c8b6e6e9
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/GlobalTaskImpl.java
@@ -0,0 +1,168 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.GlobalTask;
+import org.eclipse.bpmn2.ResourceRole;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Global Task</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.GlobalTaskImpl#getResources <em>Resources</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class GlobalTaskImpl extends CallableElementImpl implements GlobalTask {
+ /**
+ * The cached value of the '{@link #getResources() <em>Resources</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getResources()
+ * @generated
+ * @ordered
+ */
+ protected EList<ResourceRole> resources;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected GlobalTaskImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.GLOBAL_TASK;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<ResourceRole> getResources() {
+ if (resources == null) {
+ resources = new EObjectContainmentEList<ResourceRole>(
+ ResourceRole.class, this,
+ Bpmn2Package.GLOBAL_TASK__RESOURCES);
+ }
+ return resources;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.GLOBAL_TASK__RESOURCES:
+ return ((InternalEList<?>) getResources()).basicRemove(otherEnd,
+ msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.GLOBAL_TASK__RESOURCES:
+ return getResources();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.GLOBAL_TASK__RESOURCES:
+ getResources().clear();
+ getResources()
+ .addAll((Collection<? extends ResourceRole>) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.GLOBAL_TASK__RESOURCES:
+ getResources().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.GLOBAL_TASK__RESOURCES:
+ return resources != null && !resources.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //GlobalTaskImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/GlobalUserTaskImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/GlobalUserTaskImpl.java
new file mode 100644
index 000000000..e744b5fbc
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/GlobalUserTaskImpl.java
@@ -0,0 +1,243 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.GlobalUserTask;
+import org.eclipse.bpmn2.Rendering;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Global User Task</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.GlobalUserTaskImpl#getRenderings <em>Renderings</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.GlobalUserTaskImpl#getImplementation <em>Implementation</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class GlobalUserTaskImpl extends GlobalTaskImpl implements
+ GlobalUserTask {
+ /**
+ * The cached value of the '{@link #getRenderings() <em>Renderings</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRenderings()
+ * @generated
+ * @ordered
+ */
+ protected EList<Rendering> renderings;
+
+ /**
+ * The default value of the '{@link #getImplementation() <em>Implementation</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getImplementation()
+ * @generated
+ * @ordered
+ */
+ protected static final String IMPLEMENTATION_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getImplementation() <em>Implementation</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getImplementation()
+ * @generated
+ * @ordered
+ */
+ protected String implementation = IMPLEMENTATION_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected GlobalUserTaskImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.GLOBAL_USER_TASK;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<Rendering> getRenderings() {
+ if (renderings == null) {
+ renderings = new EObjectContainmentEList<Rendering>(
+ Rendering.class, this,
+ Bpmn2Package.GLOBAL_USER_TASK__RENDERINGS);
+ }
+ return renderings;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getImplementation() {
+ return implementation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setImplementation(String newImplementation) {
+ String oldImplementation = implementation;
+ implementation = newImplementation;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.GLOBAL_USER_TASK__IMPLEMENTATION,
+ oldImplementation, implementation));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.GLOBAL_USER_TASK__RENDERINGS:
+ return ((InternalEList<?>) getRenderings()).basicRemove(otherEnd,
+ msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.GLOBAL_USER_TASK__RENDERINGS:
+ return getRenderings();
+ case Bpmn2Package.GLOBAL_USER_TASK__IMPLEMENTATION:
+ return getImplementation();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.GLOBAL_USER_TASK__RENDERINGS:
+ getRenderings().clear();
+ getRenderings().addAll((Collection<? extends Rendering>) newValue);
+ return;
+ case Bpmn2Package.GLOBAL_USER_TASK__IMPLEMENTATION:
+ setImplementation((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.GLOBAL_USER_TASK__RENDERINGS:
+ getRenderings().clear();
+ return;
+ case Bpmn2Package.GLOBAL_USER_TASK__IMPLEMENTATION:
+ setImplementation(IMPLEMENTATION_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.GLOBAL_USER_TASK__RENDERINGS:
+ return renderings != null && !renderings.isEmpty();
+ case Bpmn2Package.GLOBAL_USER_TASK__IMPLEMENTATION:
+ return IMPLEMENTATION_EDEFAULT == null ? implementation != null
+ : !IMPLEMENTATION_EDEFAULT.equals(implementation);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (implementation: ");
+ result.append(implementation);
+ result.append(')');
+ return result.toString();
+ }
+
+} //GlobalUserTaskImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/GroupImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/GroupImpl.java
new file mode 100644
index 000000000..283f0d2cd
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/GroupImpl.java
@@ -0,0 +1,173 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.CategoryValue;
+import org.eclipse.bpmn2.Group;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Group</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.GroupImpl#getCategoryValueRef <em>Category Value Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class GroupImpl extends ArtifactImpl implements Group {
+ /**
+ * The cached value of the '{@link #getCategoryValueRef() <em>Category Value Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCategoryValueRef()
+ * @generated
+ * @ordered
+ */
+ protected CategoryValue categoryValueRef;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected GroupImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.GROUP;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CategoryValue getCategoryValueRef() {
+ if (categoryValueRef != null && categoryValueRef.eIsProxy()) {
+ InternalEObject oldCategoryValueRef = (InternalEObject) categoryValueRef;
+ categoryValueRef = (CategoryValue) eResolveProxy(oldCategoryValueRef);
+ if (categoryValueRef != oldCategoryValueRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.GROUP__CATEGORY_VALUE_REF,
+ oldCategoryValueRef, categoryValueRef));
+ }
+ }
+ return categoryValueRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CategoryValue basicGetCategoryValueRef() {
+ return categoryValueRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCategoryValueRef(CategoryValue newCategoryValueRef) {
+ CategoryValue oldCategoryValueRef = categoryValueRef;
+ categoryValueRef = newCategoryValueRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.GROUP__CATEGORY_VALUE_REF,
+ oldCategoryValueRef, categoryValueRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.GROUP__CATEGORY_VALUE_REF:
+ if (resolve)
+ return getCategoryValueRef();
+ return basicGetCategoryValueRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.GROUP__CATEGORY_VALUE_REF:
+ setCategoryValueRef((CategoryValue) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.GROUP__CATEGORY_VALUE_REF:
+ setCategoryValueRef((CategoryValue) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.GROUP__CATEGORY_VALUE_REF:
+ return categoryValueRef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //GroupImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/HumanPerformerImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/HumanPerformerImpl.java
new file mode 100644
index 000000000..54b98b23f
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/HumanPerformerImpl.java
@@ -0,0 +1,51 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.HumanPerformer;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Human Performer</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class HumanPerformerImpl extends PerformerImpl implements HumanPerformer {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected HumanPerformerImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.HUMAN_PERFORMER;
+ }
+
+} //HumanPerformerImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ImplicitThrowEventImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ImplicitThrowEventImpl.java
new file mode 100644
index 000000000..3b42eba77
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ImplicitThrowEventImpl.java
@@ -0,0 +1,52 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.ImplicitThrowEvent;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Implicit Throw Event</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class ImplicitThrowEventImpl extends ThrowEventImpl implements
+ ImplicitThrowEvent {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ImplicitThrowEventImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.IMPLICIT_THROW_EVENT;
+ }
+
+} //ImplicitThrowEventImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ImportImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ImportImpl.java
new file mode 100644
index 000000000..a3b8aab7a
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ImportImpl.java
@@ -0,0 +1,290 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Import;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Import</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.ImportImpl#getImportType <em>Import Type</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ImportImpl#getLocation <em>Location</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ImportImpl#getNamespace <em>Namespace</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ImportImpl extends EObjectImpl implements Import {
+ /**
+ * The default value of the '{@link #getImportType() <em>Import Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getImportType()
+ * @generated
+ * @ordered
+ */
+ protected static final String IMPORT_TYPE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getImportType() <em>Import Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getImportType()
+ * @generated
+ * @ordered
+ */
+ protected String importType = IMPORT_TYPE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getLocation() <em>Location</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLocation()
+ * @generated
+ * @ordered
+ */
+ protected static final String LOCATION_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getLocation() <em>Location</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLocation()
+ * @generated
+ * @ordered
+ */
+ protected String location = LOCATION_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getNamespace() <em>Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNamespace()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAMESPACE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getNamespace() <em>Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNamespace()
+ * @generated
+ * @ordered
+ */
+ protected String namespace = NAMESPACE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ImportImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.IMPORT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getImportType() {
+ return importType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setImportType(String newImportType) {
+ String oldImportType = importType;
+ importType = newImportType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.IMPORT__IMPORT_TYPE, oldImportType, importType));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLocation() {
+ return location;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLocation(String newLocation) {
+ String oldLocation = location;
+ location = newLocation;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.IMPORT__LOCATION, oldLocation, location));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getNamespace() {
+ return namespace;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setNamespace(String newNamespace) {
+ String oldNamespace = namespace;
+ namespace = newNamespace;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.IMPORT__NAMESPACE, oldNamespace, namespace));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.IMPORT__IMPORT_TYPE:
+ return getImportType();
+ case Bpmn2Package.IMPORT__LOCATION:
+ return getLocation();
+ case Bpmn2Package.IMPORT__NAMESPACE:
+ return getNamespace();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.IMPORT__IMPORT_TYPE:
+ setImportType((String) newValue);
+ return;
+ case Bpmn2Package.IMPORT__LOCATION:
+ setLocation((String) newValue);
+ return;
+ case Bpmn2Package.IMPORT__NAMESPACE:
+ setNamespace((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.IMPORT__IMPORT_TYPE:
+ setImportType(IMPORT_TYPE_EDEFAULT);
+ return;
+ case Bpmn2Package.IMPORT__LOCATION:
+ setLocation(LOCATION_EDEFAULT);
+ return;
+ case Bpmn2Package.IMPORT__NAMESPACE:
+ setNamespace(NAMESPACE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.IMPORT__IMPORT_TYPE:
+ return IMPORT_TYPE_EDEFAULT == null ? importType != null
+ : !IMPORT_TYPE_EDEFAULT.equals(importType);
+ case Bpmn2Package.IMPORT__LOCATION:
+ return LOCATION_EDEFAULT == null ? location != null
+ : !LOCATION_EDEFAULT.equals(location);
+ case Bpmn2Package.IMPORT__NAMESPACE:
+ return NAMESPACE_EDEFAULT == null ? namespace != null
+ : !NAMESPACE_EDEFAULT.equals(namespace);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (importType: ");
+ result.append(importType);
+ result.append(", location: ");
+ result.append(location);
+ result.append(", namespace: ");
+ result.append(namespace);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ImportImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/InclusiveGatewayImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/InclusiveGatewayImpl.java
new file mode 100644
index 000000000..db55b109c
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/InclusiveGatewayImpl.java
@@ -0,0 +1,152 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.InclusiveGateway;
+import org.eclipse.bpmn2.SequenceFlow;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Inclusive Gateway</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.InclusiveGatewayImpl#getDefault <em>Default</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class InclusiveGatewayImpl extends GatewayImpl implements
+ InclusiveGateway {
+ /**
+ * The cached value of the '{@link #getDefault() <em>Default</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDefault()
+ * @generated
+ * @ordered
+ */
+ protected SequenceFlow default_;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected InclusiveGatewayImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.INCLUSIVE_GATEWAY;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SequenceFlow getDefault() {
+ return default_;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDefault(SequenceFlow newDefault) {
+ SequenceFlow oldDefault = default_;
+ default_ = newDefault;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.INCLUSIVE_GATEWAY__DEFAULT, oldDefault,
+ default_));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.INCLUSIVE_GATEWAY__DEFAULT:
+ return getDefault();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.INCLUSIVE_GATEWAY__DEFAULT:
+ setDefault((SequenceFlow) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.INCLUSIVE_GATEWAY__DEFAULT:
+ setDefault((SequenceFlow) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.INCLUSIVE_GATEWAY__DEFAULT:
+ return default_ != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //InclusiveGatewayImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/InputOutputBindingImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/InputOutputBindingImpl.java
new file mode 100644
index 000000000..d8a3deae0
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/InputOutputBindingImpl.java
@@ -0,0 +1,264 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.InputOutputBinding;
+import org.eclipse.bpmn2.InputSet;
+import org.eclipse.bpmn2.Operation;
+import org.eclipse.bpmn2.OutputSet;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Input Output Binding</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.InputOutputBindingImpl#getInputDataRef <em>Input Data Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.InputOutputBindingImpl#getOperationRef <em>Operation Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.InputOutputBindingImpl#getOutputDataRef <em>Output Data Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class InputOutputBindingImpl extends BaseElementImpl implements
+ InputOutputBinding {
+ /**
+ * The cached value of the '{@link #getInputDataRef() <em>Input Data Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getInputDataRef()
+ * @generated
+ * @ordered
+ */
+ protected InputSet inputDataRef;
+
+ /**
+ * The cached value of the '{@link #getOperationRef() <em>Operation Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOperationRef()
+ * @generated
+ * @ordered
+ */
+ protected Operation operationRef;
+
+ /**
+ * The cached value of the '{@link #getOutputDataRef() <em>Output Data Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOutputDataRef()
+ * @generated
+ * @ordered
+ */
+ protected OutputSet outputDataRef;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected InputOutputBindingImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.INPUT_OUTPUT_BINDING;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public InputSet getInputDataRef() {
+ return inputDataRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setInputDataRef(InputSet newInputDataRef) {
+ InputSet oldInputDataRef = inputDataRef;
+ inputDataRef = newInputDataRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.INPUT_OUTPUT_BINDING__INPUT_DATA_REF,
+ oldInputDataRef, inputDataRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Operation getOperationRef() {
+ if (operationRef != null && operationRef.eIsProxy()) {
+ InternalEObject oldOperationRef = (InternalEObject) operationRef;
+ operationRef = (Operation) eResolveProxy(oldOperationRef);
+ if (operationRef != oldOperationRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.INPUT_OUTPUT_BINDING__OPERATION_REF,
+ oldOperationRef, operationRef));
+ }
+ }
+ return operationRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Operation basicGetOperationRef() {
+ return operationRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setOperationRef(Operation newOperationRef) {
+ Operation oldOperationRef = operationRef;
+ operationRef = newOperationRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.INPUT_OUTPUT_BINDING__OPERATION_REF,
+ oldOperationRef, operationRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OutputSet getOutputDataRef() {
+ return outputDataRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setOutputDataRef(OutputSet newOutputDataRef) {
+ OutputSet oldOutputDataRef = outputDataRef;
+ outputDataRef = newOutputDataRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.INPUT_OUTPUT_BINDING__OUTPUT_DATA_REF,
+ oldOutputDataRef, outputDataRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.INPUT_OUTPUT_BINDING__INPUT_DATA_REF:
+ return getInputDataRef();
+ case Bpmn2Package.INPUT_OUTPUT_BINDING__OPERATION_REF:
+ if (resolve)
+ return getOperationRef();
+ return basicGetOperationRef();
+ case Bpmn2Package.INPUT_OUTPUT_BINDING__OUTPUT_DATA_REF:
+ return getOutputDataRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.INPUT_OUTPUT_BINDING__INPUT_DATA_REF:
+ setInputDataRef((InputSet) newValue);
+ return;
+ case Bpmn2Package.INPUT_OUTPUT_BINDING__OPERATION_REF:
+ setOperationRef((Operation) newValue);
+ return;
+ case Bpmn2Package.INPUT_OUTPUT_BINDING__OUTPUT_DATA_REF:
+ setOutputDataRef((OutputSet) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.INPUT_OUTPUT_BINDING__INPUT_DATA_REF:
+ setInputDataRef((InputSet) null);
+ return;
+ case Bpmn2Package.INPUT_OUTPUT_BINDING__OPERATION_REF:
+ setOperationRef((Operation) null);
+ return;
+ case Bpmn2Package.INPUT_OUTPUT_BINDING__OUTPUT_DATA_REF:
+ setOutputDataRef((OutputSet) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.INPUT_OUTPUT_BINDING__INPUT_DATA_REF:
+ return inputDataRef != null;
+ case Bpmn2Package.INPUT_OUTPUT_BINDING__OPERATION_REF:
+ return operationRef != null;
+ case Bpmn2Package.INPUT_OUTPUT_BINDING__OUTPUT_DATA_REF:
+ return outputDataRef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //InputOutputBindingImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/InputOutputSpecificationImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/InputOutputSpecificationImpl.java
new file mode 100644
index 000000000..ec645b62f
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/InputOutputSpecificationImpl.java
@@ -0,0 +1,288 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.DataInput;
+import org.eclipse.bpmn2.DataOutput;
+import org.eclipse.bpmn2.InputOutputSpecification;
+import org.eclipse.bpmn2.InputSet;
+import org.eclipse.bpmn2.OutputSet;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Input Output Specification</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.InputOutputSpecificationImpl#getDataInputs <em>Data Inputs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.InputOutputSpecificationImpl#getDataOutputs <em>Data Outputs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.InputOutputSpecificationImpl#getInputSets <em>Input Sets</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.InputOutputSpecificationImpl#getOutputSets <em>Output Sets</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class InputOutputSpecificationImpl extends BaseElementImpl implements
+ InputOutputSpecification {
+ /**
+ * The cached value of the '{@link #getDataInputs() <em>Data Inputs</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDataInputs()
+ * @generated
+ * @ordered
+ */
+ protected EList<DataInput> dataInputs;
+
+ /**
+ * The cached value of the '{@link #getDataOutputs() <em>Data Outputs</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDataOutputs()
+ * @generated
+ * @ordered
+ */
+ protected EList<DataOutput> dataOutputs;
+
+ /**
+ * The cached value of the '{@link #getInputSets() <em>Input Sets</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getInputSets()
+ * @generated
+ * @ordered
+ */
+ protected EList<InputSet> inputSets;
+
+ /**
+ * The cached value of the '{@link #getOutputSets() <em>Output Sets</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOutputSets()
+ * @generated
+ * @ordered
+ */
+ protected EList<OutputSet> outputSets;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected InputOutputSpecificationImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.INPUT_OUTPUT_SPECIFICATION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<DataInput> getDataInputs() {
+ if (dataInputs == null) {
+ dataInputs = new EObjectContainmentEList<DataInput>(
+ DataInput.class, this,
+ Bpmn2Package.INPUT_OUTPUT_SPECIFICATION__DATA_INPUTS);
+ }
+ return dataInputs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<DataOutput> getDataOutputs() {
+ if (dataOutputs == null) {
+ dataOutputs = new EObjectContainmentEList<DataOutput>(
+ DataOutput.class, this,
+ Bpmn2Package.INPUT_OUTPUT_SPECIFICATION__DATA_OUTPUTS);
+ }
+ return dataOutputs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<InputSet> getInputSets() {
+ if (inputSets == null) {
+ inputSets = new EObjectContainmentEList<InputSet>(InputSet.class,
+ this, Bpmn2Package.INPUT_OUTPUT_SPECIFICATION__INPUT_SETS);
+ }
+ return inputSets;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<OutputSet> getOutputSets() {
+ if (outputSets == null) {
+ outputSets = new EObjectContainmentEList<OutputSet>(
+ OutputSet.class, this,
+ Bpmn2Package.INPUT_OUTPUT_SPECIFICATION__OUTPUT_SETS);
+ }
+ return outputSets;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.INPUT_OUTPUT_SPECIFICATION__DATA_INPUTS:
+ return ((InternalEList<?>) getDataInputs()).basicRemove(otherEnd,
+ msgs);
+ case Bpmn2Package.INPUT_OUTPUT_SPECIFICATION__DATA_OUTPUTS:
+ return ((InternalEList<?>) getDataOutputs()).basicRemove(otherEnd,
+ msgs);
+ case Bpmn2Package.INPUT_OUTPUT_SPECIFICATION__INPUT_SETS:
+ return ((InternalEList<?>) getInputSets()).basicRemove(otherEnd,
+ msgs);
+ case Bpmn2Package.INPUT_OUTPUT_SPECIFICATION__OUTPUT_SETS:
+ return ((InternalEList<?>) getOutputSets()).basicRemove(otherEnd,
+ msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.INPUT_OUTPUT_SPECIFICATION__DATA_INPUTS:
+ return getDataInputs();
+ case Bpmn2Package.INPUT_OUTPUT_SPECIFICATION__DATA_OUTPUTS:
+ return getDataOutputs();
+ case Bpmn2Package.INPUT_OUTPUT_SPECIFICATION__INPUT_SETS:
+ return getInputSets();
+ case Bpmn2Package.INPUT_OUTPUT_SPECIFICATION__OUTPUT_SETS:
+ return getOutputSets();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.INPUT_OUTPUT_SPECIFICATION__DATA_INPUTS:
+ getDataInputs().clear();
+ getDataInputs().addAll((Collection<? extends DataInput>) newValue);
+ return;
+ case Bpmn2Package.INPUT_OUTPUT_SPECIFICATION__DATA_OUTPUTS:
+ getDataOutputs().clear();
+ getDataOutputs()
+ .addAll((Collection<? extends DataOutput>) newValue);
+ return;
+ case Bpmn2Package.INPUT_OUTPUT_SPECIFICATION__INPUT_SETS:
+ getInputSets().clear();
+ getInputSets().addAll((Collection<? extends InputSet>) newValue);
+ return;
+ case Bpmn2Package.INPUT_OUTPUT_SPECIFICATION__OUTPUT_SETS:
+ getOutputSets().clear();
+ getOutputSets().addAll((Collection<? extends OutputSet>) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.INPUT_OUTPUT_SPECIFICATION__DATA_INPUTS:
+ getDataInputs().clear();
+ return;
+ case Bpmn2Package.INPUT_OUTPUT_SPECIFICATION__DATA_OUTPUTS:
+ getDataOutputs().clear();
+ return;
+ case Bpmn2Package.INPUT_OUTPUT_SPECIFICATION__INPUT_SETS:
+ getInputSets().clear();
+ return;
+ case Bpmn2Package.INPUT_OUTPUT_SPECIFICATION__OUTPUT_SETS:
+ getOutputSets().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.INPUT_OUTPUT_SPECIFICATION__DATA_INPUTS:
+ return dataInputs != null && !dataInputs.isEmpty();
+ case Bpmn2Package.INPUT_OUTPUT_SPECIFICATION__DATA_OUTPUTS:
+ return dataOutputs != null && !dataOutputs.isEmpty();
+ case Bpmn2Package.INPUT_OUTPUT_SPECIFICATION__INPUT_SETS:
+ return inputSets != null && !inputSets.isEmpty();
+ case Bpmn2Package.INPUT_OUTPUT_SPECIFICATION__OUTPUT_SETS:
+ return outputSets != null && !outputSets.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //InputOutputSpecificationImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/InputSetImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/InputSetImpl.java
new file mode 100644
index 000000000..a9355d48b
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/InputSetImpl.java
@@ -0,0 +1,394 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.DataInput;
+import org.eclipse.bpmn2.InputSet;
+import org.eclipse.bpmn2.OutputSet;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectWithInverseEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Input Set</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.InputSetImpl#getDataInputRefs <em>Data Input Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.InputSetImpl#getOptionalInputRefs <em>Optional Input Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.InputSetImpl#getWhileExecutingInputRefs <em>While Executing Input Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.InputSetImpl#getOutputSetRefs <em>Output Set Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.InputSetImpl#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class InputSetImpl extends BaseElementImpl implements InputSet {
+ /**
+ * The cached value of the '{@link #getDataInputRefs() <em>Data Input Refs</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDataInputRefs()
+ * @generated
+ * @ordered
+ */
+ protected EList<DataInput> dataInputRefs;
+
+ /**
+ * The cached value of the '{@link #getOptionalInputRefs() <em>Optional Input Refs</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOptionalInputRefs()
+ * @generated
+ * @ordered
+ */
+ protected EList<DataInput> optionalInputRefs;
+
+ /**
+ * The cached value of the '{@link #getWhileExecutingInputRefs() <em>While Executing Input Refs</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getWhileExecutingInputRefs()
+ * @generated
+ * @ordered
+ */
+ protected EList<DataInput> whileExecutingInputRefs;
+
+ /**
+ * The cached value of the '{@link #getOutputSetRefs() <em>Output Set Refs</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOutputSetRefs()
+ * @generated
+ * @ordered
+ */
+ protected EList<OutputSet> outputSetRefs;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected InputSetImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.INPUT_SET;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<DataInput> getDataInputRefs() {
+ if (dataInputRefs == null) {
+ dataInputRefs = new EObjectWithInverseEList.ManyInverse<DataInput>(
+ DataInput.class, this,
+ Bpmn2Package.INPUT_SET__DATA_INPUT_REFS,
+ Bpmn2Package.DATA_INPUT__INPUT_SET_REFS);
+ }
+ return dataInputRefs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<DataInput> getOptionalInputRefs() {
+ if (optionalInputRefs == null) {
+ optionalInputRefs = new EObjectWithInverseEList.ManyInverse<DataInput>(
+ DataInput.class, this,
+ Bpmn2Package.INPUT_SET__OPTIONAL_INPUT_REFS,
+ Bpmn2Package.DATA_INPUT__INPUT_SET_WITH_OPTIONAL);
+ }
+ return optionalInputRefs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<DataInput> getWhileExecutingInputRefs() {
+ if (whileExecutingInputRefs == null) {
+ whileExecutingInputRefs = new EObjectWithInverseEList.ManyInverse<DataInput>(
+ DataInput.class, this,
+ Bpmn2Package.INPUT_SET__WHILE_EXECUTING_INPUT_REFS,
+ Bpmn2Package.DATA_INPUT__INPUT_SET_WITH_WHILE_EXECUTING);
+ }
+ return whileExecutingInputRefs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<OutputSet> getOutputSetRefs() {
+ if (outputSetRefs == null) {
+ outputSetRefs = new EObjectWithInverseEList.ManyInverse<OutputSet>(
+ OutputSet.class, this,
+ Bpmn2Package.INPUT_SET__OUTPUT_SET_REFS,
+ Bpmn2Package.OUTPUT_SET__INPUT_SET_REFS);
+ }
+ return outputSetRefs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.INPUT_SET__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public NotificationChain eInverseAdd(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.INPUT_SET__DATA_INPUT_REFS:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getDataInputRefs())
+ .basicAdd(otherEnd, msgs);
+ case Bpmn2Package.INPUT_SET__OPTIONAL_INPUT_REFS:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getOptionalInputRefs())
+ .basicAdd(otherEnd, msgs);
+ case Bpmn2Package.INPUT_SET__WHILE_EXECUTING_INPUT_REFS:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getWhileExecutingInputRefs())
+ .basicAdd(otherEnd, msgs);
+ case Bpmn2Package.INPUT_SET__OUTPUT_SET_REFS:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getOutputSetRefs())
+ .basicAdd(otherEnd, msgs);
+ }
+ return super.eInverseAdd(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.INPUT_SET__DATA_INPUT_REFS:
+ return ((InternalEList<?>) getDataInputRefs()).basicRemove(
+ otherEnd, msgs);
+ case Bpmn2Package.INPUT_SET__OPTIONAL_INPUT_REFS:
+ return ((InternalEList<?>) getOptionalInputRefs()).basicRemove(
+ otherEnd, msgs);
+ case Bpmn2Package.INPUT_SET__WHILE_EXECUTING_INPUT_REFS:
+ return ((InternalEList<?>) getWhileExecutingInputRefs())
+ .basicRemove(otherEnd, msgs);
+ case Bpmn2Package.INPUT_SET__OUTPUT_SET_REFS:
+ return ((InternalEList<?>) getOutputSetRefs()).basicRemove(
+ otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.INPUT_SET__DATA_INPUT_REFS:
+ return getDataInputRefs();
+ case Bpmn2Package.INPUT_SET__OPTIONAL_INPUT_REFS:
+ return getOptionalInputRefs();
+ case Bpmn2Package.INPUT_SET__WHILE_EXECUTING_INPUT_REFS:
+ return getWhileExecutingInputRefs();
+ case Bpmn2Package.INPUT_SET__OUTPUT_SET_REFS:
+ return getOutputSetRefs();
+ case Bpmn2Package.INPUT_SET__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.INPUT_SET__DATA_INPUT_REFS:
+ getDataInputRefs().clear();
+ getDataInputRefs().addAll(
+ (Collection<? extends DataInput>) newValue);
+ return;
+ case Bpmn2Package.INPUT_SET__OPTIONAL_INPUT_REFS:
+ getOptionalInputRefs().clear();
+ getOptionalInputRefs().addAll(
+ (Collection<? extends DataInput>) newValue);
+ return;
+ case Bpmn2Package.INPUT_SET__WHILE_EXECUTING_INPUT_REFS:
+ getWhileExecutingInputRefs().clear();
+ getWhileExecutingInputRefs().addAll(
+ (Collection<? extends DataInput>) newValue);
+ return;
+ case Bpmn2Package.INPUT_SET__OUTPUT_SET_REFS:
+ getOutputSetRefs().clear();
+ getOutputSetRefs().addAll(
+ (Collection<? extends OutputSet>) newValue);
+ return;
+ case Bpmn2Package.INPUT_SET__NAME:
+ setName((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.INPUT_SET__DATA_INPUT_REFS:
+ getDataInputRefs().clear();
+ return;
+ case Bpmn2Package.INPUT_SET__OPTIONAL_INPUT_REFS:
+ getOptionalInputRefs().clear();
+ return;
+ case Bpmn2Package.INPUT_SET__WHILE_EXECUTING_INPUT_REFS:
+ getWhileExecutingInputRefs().clear();
+ return;
+ case Bpmn2Package.INPUT_SET__OUTPUT_SET_REFS:
+ getOutputSetRefs().clear();
+ return;
+ case Bpmn2Package.INPUT_SET__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.INPUT_SET__DATA_INPUT_REFS:
+ return dataInputRefs != null && !dataInputRefs.isEmpty();
+ case Bpmn2Package.INPUT_SET__OPTIONAL_INPUT_REFS:
+ return optionalInputRefs != null && !optionalInputRefs.isEmpty();
+ case Bpmn2Package.INPUT_SET__WHILE_EXECUTING_INPUT_REFS:
+ return whileExecutingInputRefs != null
+ && !whileExecutingInputRefs.isEmpty();
+ case Bpmn2Package.INPUT_SET__OUTPUT_SET_REFS:
+ return outputSetRefs != null && !outputSetRefs.isEmpty();
+ case Bpmn2Package.INPUT_SET__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
+ .equals(name);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //InputSetImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/InteractionNodeImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/InteractionNodeImpl.java
new file mode 100644
index 000000000..73186a0b0
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/InteractionNodeImpl.java
@@ -0,0 +1,119 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.ConversationLink;
+import org.eclipse.bpmn2.InteractionNode;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Interaction Node</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.InteractionNodeImpl#getIncomingConversationLinks <em>Incoming Conversation Links</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.InteractionNodeImpl#getOutgoingConversationLinks <em>Outgoing Conversation Links</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class InteractionNodeImpl extends EObjectImpl implements InteractionNode {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected InteractionNodeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.INTERACTION_NODE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<ConversationLink> getIncomingConversationLinks() {
+ // TODO: implement this method to return the 'Incoming Conversation Links' reference list
+ // Ensure that you remove @generated or mark it @generated NOT
+ // The list is expected to implement org.eclipse.emf.ecore.util.InternalEList and org.eclipse.emf.ecore.EStructuralFeature.Setting
+ // so it's likely that an appropriate subclass of org.eclipse.emf.ecore.util.EcoreEList should be used.
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<ConversationLink> getOutgoingConversationLinks() {
+ // TODO: implement this method to return the 'Outgoing Conversation Links' reference list
+ // Ensure that you remove @generated or mark it @generated NOT
+ // The list is expected to implement org.eclipse.emf.ecore.util.InternalEList and org.eclipse.emf.ecore.EStructuralFeature.Setting
+ // so it's likely that an appropriate subclass of org.eclipse.emf.ecore.util.EcoreEList should be used.
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.INTERACTION_NODE__INCOMING_CONVERSATION_LINKS:
+ return getIncomingConversationLinks();
+ case Bpmn2Package.INTERACTION_NODE__OUTGOING_CONVERSATION_LINKS:
+ return getOutgoingConversationLinks();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.INTERACTION_NODE__INCOMING_CONVERSATION_LINKS:
+ return !getIncomingConversationLinks().isEmpty();
+ case Bpmn2Package.INTERACTION_NODE__OUTGOING_CONVERSATION_LINKS:
+ return !getOutgoingConversationLinks().isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //InteractionNodeImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/InterfaceImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/InterfaceImpl.java
new file mode 100644
index 000000000..4c9f9e20b
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/InterfaceImpl.java
@@ -0,0 +1,306 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Interface;
+import org.eclipse.bpmn2.Operation;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Interface</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.InterfaceImpl#getOperations <em>Operations</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.InterfaceImpl#getImplementationRef <em>Implementation Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.InterfaceImpl#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class InterfaceImpl extends RootElementImpl implements Interface {
+ /**
+ * The cached value of the '{@link #getOperations() <em>Operations</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOperations()
+ * @generated
+ * @ordered
+ */
+ protected EList<Operation> operations;
+
+ /**
+ * The cached value of the '{@link #getImplementationRef() <em>Implementation Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getImplementationRef()
+ * @generated
+ * @ordered
+ */
+ protected EObject implementationRef;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected InterfaceImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.INTERFACE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<Operation> getOperations() {
+ if (operations == null) {
+ operations = new EObjectContainmentEList<Operation>(
+ Operation.class, this, Bpmn2Package.INTERFACE__OPERATIONS);
+ }
+ return operations;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Object getImplementationRef() {
+ if (implementationRef != null && implementationRef.eIsProxy()) {
+ InternalEObject oldImplementationRef = (InternalEObject) implementationRef;
+ implementationRef = eResolveProxy(oldImplementationRef);
+ if (implementationRef != oldImplementationRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.INTERFACE__IMPLEMENTATION_REF,
+ oldImplementationRef, implementationRef));
+ }
+ }
+ return implementationRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Object basicGetImplementationRef() {
+ return implementationRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setImplementationRef(Object newImplementationRef) {
+ Object oldImplementationRef = implementationRef;
+ implementationRef = (EObject) newImplementationRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.INTERFACE__IMPLEMENTATION_REF,
+ oldImplementationRef, implementationRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.INTERFACE__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.INTERFACE__OPERATIONS:
+ return ((InternalEList<?>) getOperations()).basicRemove(otherEnd,
+ msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.INTERFACE__OPERATIONS:
+ return getOperations();
+ case Bpmn2Package.INTERFACE__IMPLEMENTATION_REF:
+ if (resolve)
+ return getImplementationRef();
+ return basicGetImplementationRef();
+ case Bpmn2Package.INTERFACE__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.INTERFACE__OPERATIONS:
+ getOperations().clear();
+ getOperations().addAll((Collection<? extends Operation>) newValue);
+ return;
+ case Bpmn2Package.INTERFACE__IMPLEMENTATION_REF:
+ setImplementationRef((Object) newValue);
+ return;
+ case Bpmn2Package.INTERFACE__NAME:
+ setName((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.INTERFACE__OPERATIONS:
+ getOperations().clear();
+ return;
+ case Bpmn2Package.INTERFACE__IMPLEMENTATION_REF:
+ setImplementationRef((Object) null);
+ return;
+ case Bpmn2Package.INTERFACE__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.INTERFACE__OPERATIONS:
+ return operations != null && !operations.isEmpty();
+ case Bpmn2Package.INTERFACE__IMPLEMENTATION_REF:
+ return implementationRef != null;
+ case Bpmn2Package.INTERFACE__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
+ .equals(name);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //InterfaceImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/IntermediateCatchEventImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/IntermediateCatchEventImpl.java
new file mode 100644
index 000000000..60ddbd67e
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/IntermediateCatchEventImpl.java
@@ -0,0 +1,52 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.IntermediateCatchEvent;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Intermediate Catch Event</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class IntermediateCatchEventImpl extends CatchEventImpl implements
+ IntermediateCatchEvent {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected IntermediateCatchEventImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.INTERMEDIATE_CATCH_EVENT;
+ }
+
+} //IntermediateCatchEventImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/IntermediateThrowEventImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/IntermediateThrowEventImpl.java
new file mode 100644
index 000000000..67b3dcd0c
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/IntermediateThrowEventImpl.java
@@ -0,0 +1,52 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.IntermediateThrowEvent;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Intermediate Throw Event</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class IntermediateThrowEventImpl extends ThrowEventImpl implements
+ IntermediateThrowEvent {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected IntermediateThrowEventImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.INTERMEDIATE_THROW_EVENT;
+ }
+
+} //IntermediateThrowEventImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ItemAwareElementImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ItemAwareElementImpl.java
new file mode 100644
index 000000000..f97f8b9bc
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ItemAwareElementImpl.java
@@ -0,0 +1,270 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.DataState;
+import org.eclipse.bpmn2.ItemAwareElement;
+import org.eclipse.bpmn2.ItemDefinition;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Item Aware Element</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.ItemAwareElementImpl#getDataState <em>Data State</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ItemAwareElementImpl#getItemSubjectRef <em>Item Subject Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ItemAwareElementImpl extends BaseElementImpl implements
+ ItemAwareElement {
+ /**
+ * The cached value of the '{@link #getDataState() <em>Data State</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDataState()
+ * @generated
+ * @ordered
+ */
+ protected DataState dataState;
+
+ /**
+ * The cached value of the '{@link #getItemSubjectRef() <em>Item Subject Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getItemSubjectRef()
+ * @generated
+ * @ordered
+ */
+ protected ItemDefinition itemSubjectRef;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ItemAwareElementImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.ITEM_AWARE_ELEMENT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataState getDataState() {
+ return dataState;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDataState(DataState newDataState,
+ NotificationChain msgs) {
+ DataState oldDataState = dataState;
+ dataState = newDataState;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET,
+ Bpmn2Package.ITEM_AWARE_ELEMENT__DATA_STATE, oldDataState,
+ newDataState);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDataState(DataState newDataState) {
+ if (newDataState != dataState) {
+ NotificationChain msgs = null;
+ if (dataState != null)
+ msgs = ((InternalEObject) dataState).eInverseRemove(this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.ITEM_AWARE_ELEMENT__DATA_STATE,
+ null, msgs);
+ if (newDataState != null)
+ msgs = ((InternalEObject) newDataState).eInverseAdd(this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.ITEM_AWARE_ELEMENT__DATA_STATE,
+ null, msgs);
+ msgs = basicSetDataState(newDataState, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.ITEM_AWARE_ELEMENT__DATA_STATE, newDataState,
+ newDataState));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ItemDefinition getItemSubjectRef() {
+ if (itemSubjectRef != null && itemSubjectRef.eIsProxy()) {
+ InternalEObject oldItemSubjectRef = (InternalEObject) itemSubjectRef;
+ itemSubjectRef = (ItemDefinition) eResolveProxy(oldItemSubjectRef);
+ if (itemSubjectRef != oldItemSubjectRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.ITEM_AWARE_ELEMENT__ITEM_SUBJECT_REF,
+ oldItemSubjectRef, itemSubjectRef));
+ }
+ }
+ return itemSubjectRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ItemDefinition basicGetItemSubjectRef() {
+ return itemSubjectRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setItemSubjectRef(ItemDefinition newItemSubjectRef) {
+ ItemDefinition oldItemSubjectRef = itemSubjectRef;
+ itemSubjectRef = newItemSubjectRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.ITEM_AWARE_ELEMENT__ITEM_SUBJECT_REF,
+ oldItemSubjectRef, itemSubjectRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.ITEM_AWARE_ELEMENT__DATA_STATE:
+ return basicSetDataState(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.ITEM_AWARE_ELEMENT__DATA_STATE:
+ return getDataState();
+ case Bpmn2Package.ITEM_AWARE_ELEMENT__ITEM_SUBJECT_REF:
+ if (resolve)
+ return getItemSubjectRef();
+ return basicGetItemSubjectRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.ITEM_AWARE_ELEMENT__DATA_STATE:
+ setDataState((DataState) newValue);
+ return;
+ case Bpmn2Package.ITEM_AWARE_ELEMENT__ITEM_SUBJECT_REF:
+ setItemSubjectRef((ItemDefinition) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.ITEM_AWARE_ELEMENT__DATA_STATE:
+ setDataState((DataState) null);
+ return;
+ case Bpmn2Package.ITEM_AWARE_ELEMENT__ITEM_SUBJECT_REF:
+ setItemSubjectRef((ItemDefinition) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.ITEM_AWARE_ELEMENT__DATA_STATE:
+ return dataState != null;
+ case Bpmn2Package.ITEM_AWARE_ELEMENT__ITEM_SUBJECT_REF:
+ return itemSubjectRef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //ItemAwareElementImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ItemDefinitionImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ItemDefinitionImpl.java
new file mode 100644
index 000000000..279e6e6a1
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ItemDefinitionImpl.java
@@ -0,0 +1,367 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Import;
+import org.eclipse.bpmn2.ItemDefinition;
+import org.eclipse.bpmn2.ItemKind;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Item Definition</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.ItemDefinitionImpl#isIsCollection <em>Is Collection</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ItemDefinitionImpl#getImport <em>Import</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ItemDefinitionImpl#getItemKind <em>Item Kind</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ItemDefinitionImpl#getStructureRef <em>Structure Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ItemDefinitionImpl extends RootElementImpl implements
+ ItemDefinition {
+ /**
+ * The default value of the '{@link #isIsCollection() <em>Is Collection</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsCollection()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean IS_COLLECTION_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isIsCollection() <em>Is Collection</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsCollection()
+ * @generated
+ * @ordered
+ */
+ protected boolean isCollection = IS_COLLECTION_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getImport() <em>Import</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getImport()
+ * @generated
+ * @ordered
+ */
+ protected Import import_;
+
+ /**
+ * The default value of the '{@link #getItemKind() <em>Item Kind</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getItemKind()
+ * @generated
+ * @ordered
+ */
+ protected static final ItemKind ITEM_KIND_EDEFAULT = ItemKind.INFORMATION;
+
+ /**
+ * The cached value of the '{@link #getItemKind() <em>Item Kind</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getItemKind()
+ * @generated
+ * @ordered
+ */
+ protected ItemKind itemKind = ITEM_KIND_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getStructureRef() <em>Structure Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getStructureRef()
+ * @generated
+ * @ordered
+ */
+ protected EObject structureRef;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ItemDefinitionImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.ITEM_DEFINITION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isIsCollection() {
+ return isCollection;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIsCollection(boolean newIsCollection) {
+ boolean oldIsCollection = isCollection;
+ isCollection = newIsCollection;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.ITEM_DEFINITION__IS_COLLECTION,
+ oldIsCollection, isCollection));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Import getImport() {
+ if (import_ != null && import_.eIsProxy()) {
+ InternalEObject oldImport = (InternalEObject) import_;
+ import_ = (Import) eResolveProxy(oldImport);
+ if (import_ != oldImport) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.ITEM_DEFINITION__IMPORT, oldImport,
+ import_));
+ }
+ }
+ return import_;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Import basicGetImport() {
+ return import_;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setImport(Import newImport) {
+ Import oldImport = import_;
+ import_ = newImport;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.ITEM_DEFINITION__IMPORT, oldImport, import_));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ItemKind getItemKind() {
+ return itemKind;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setItemKind(ItemKind newItemKind) {
+ ItemKind oldItemKind = itemKind;
+ itemKind = newItemKind == null ? ITEM_KIND_EDEFAULT : newItemKind;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.ITEM_DEFINITION__ITEM_KIND, oldItemKind,
+ itemKind));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Object getStructureRef() {
+ if (structureRef != null && structureRef.eIsProxy()) {
+ InternalEObject oldStructureRef = (InternalEObject) structureRef;
+ structureRef = eResolveProxy(oldStructureRef);
+ if (structureRef != oldStructureRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.ITEM_DEFINITION__STRUCTURE_REF,
+ oldStructureRef, structureRef));
+ }
+ }
+ return structureRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Object basicGetStructureRef() {
+ return structureRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setStructureRef(Object newStructureRef) {
+ Object oldStructureRef = structureRef;
+ structureRef = (EObject) newStructureRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.ITEM_DEFINITION__STRUCTURE_REF,
+ oldStructureRef, structureRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.ITEM_DEFINITION__IS_COLLECTION:
+ return isIsCollection();
+ case Bpmn2Package.ITEM_DEFINITION__IMPORT:
+ if (resolve)
+ return getImport();
+ return basicGetImport();
+ case Bpmn2Package.ITEM_DEFINITION__ITEM_KIND:
+ return getItemKind();
+ case Bpmn2Package.ITEM_DEFINITION__STRUCTURE_REF:
+ if (resolve)
+ return getStructureRef();
+ return basicGetStructureRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.ITEM_DEFINITION__IS_COLLECTION:
+ setIsCollection((Boolean) newValue);
+ return;
+ case Bpmn2Package.ITEM_DEFINITION__IMPORT:
+ setImport((Import) newValue);
+ return;
+ case Bpmn2Package.ITEM_DEFINITION__ITEM_KIND:
+ setItemKind((ItemKind) newValue);
+ return;
+ case Bpmn2Package.ITEM_DEFINITION__STRUCTURE_REF:
+ setStructureRef((Object) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.ITEM_DEFINITION__IS_COLLECTION:
+ setIsCollection(IS_COLLECTION_EDEFAULT);
+ return;
+ case Bpmn2Package.ITEM_DEFINITION__IMPORT:
+ setImport((Import) null);
+ return;
+ case Bpmn2Package.ITEM_DEFINITION__ITEM_KIND:
+ setItemKind(ITEM_KIND_EDEFAULT);
+ return;
+ case Bpmn2Package.ITEM_DEFINITION__STRUCTURE_REF:
+ setStructureRef((Object) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.ITEM_DEFINITION__IS_COLLECTION:
+ return isCollection != IS_COLLECTION_EDEFAULT;
+ case Bpmn2Package.ITEM_DEFINITION__IMPORT:
+ return import_ != null;
+ case Bpmn2Package.ITEM_DEFINITION__ITEM_KIND:
+ return itemKind != ITEM_KIND_EDEFAULT;
+ case Bpmn2Package.ITEM_DEFINITION__STRUCTURE_REF:
+ return structureRef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (isCollection: ");
+ result.append(isCollection);
+ result.append(", itemKind: ");
+ result.append(itemKind);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ItemDefinitionImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/LaneImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/LaneImpl.java
new file mode 100644
index 000000000..40eb44902
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/LaneImpl.java
@@ -0,0 +1,483 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.BaseElement;
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.FlowNode;
+import org.eclipse.bpmn2.Lane;
+import org.eclipse.bpmn2.LaneSet;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectWithInverseEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Lane</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.LaneImpl#getPartitionElement <em>Partition Element</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.LaneImpl#getFlowNodeRefs <em>Flow Node Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.LaneImpl#getChildLaneSet <em>Child Lane Set</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.LaneImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.LaneImpl#getPartitionElementRef <em>Partition Element Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class LaneImpl extends BaseElementImpl implements Lane {
+ /**
+ * The cached value of the '{@link #getPartitionElement() <em>Partition Element</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPartitionElement()
+ * @generated
+ * @ordered
+ */
+ protected BaseElement partitionElement;
+
+ /**
+ * The cached value of the '{@link #getFlowNodeRefs() <em>Flow Node Refs</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFlowNodeRefs()
+ * @generated
+ * @ordered
+ */
+ protected EList<FlowNode> flowNodeRefs;
+
+ /**
+ * The cached value of the '{@link #getChildLaneSet() <em>Child Lane Set</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getChildLaneSet()
+ * @generated
+ * @ordered
+ */
+ protected LaneSet childLaneSet;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getPartitionElementRef() <em>Partition Element Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPartitionElementRef()
+ * @generated
+ * @ordered
+ */
+ protected BaseElement partitionElementRef;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected LaneImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.LANE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BaseElement getPartitionElement() {
+ return partitionElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetPartitionElement(
+ BaseElement newPartitionElement, NotificationChain msgs) {
+ BaseElement oldPartitionElement = partitionElement;
+ partitionElement = newPartitionElement;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET, Bpmn2Package.LANE__PARTITION_ELEMENT,
+ oldPartitionElement, newPartitionElement);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPartitionElement(BaseElement newPartitionElement) {
+ if (newPartitionElement != partitionElement) {
+ NotificationChain msgs = null;
+ if (partitionElement != null)
+ msgs = ((InternalEObject) partitionElement).eInverseRemove(
+ this, EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.LANE__PARTITION_ELEMENT, null,
+ msgs);
+ if (newPartitionElement != null)
+ msgs = ((InternalEObject) newPartitionElement).eInverseAdd(
+ this, EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.LANE__PARTITION_ELEMENT, null,
+ msgs);
+ msgs = basicSetPartitionElement(newPartitionElement, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.LANE__PARTITION_ELEMENT, newPartitionElement,
+ newPartitionElement));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<FlowNode> getFlowNodeRefs() {
+ if (flowNodeRefs == null) {
+ flowNodeRefs = new EObjectWithInverseEList.ManyInverse<FlowNode>(
+ FlowNode.class, this, Bpmn2Package.LANE__FLOW_NODE_REFS,
+ Bpmn2Package.FLOW_NODE__LANES);
+ }
+ return flowNodeRefs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public LaneSet getChildLaneSet() {
+ return childLaneSet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetChildLaneSet(LaneSet newChildLaneSet,
+ NotificationChain msgs) {
+ LaneSet oldChildLaneSet = childLaneSet;
+ childLaneSet = newChildLaneSet;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET, Bpmn2Package.LANE__CHILD_LANE_SET,
+ oldChildLaneSet, newChildLaneSet);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setChildLaneSet(LaneSet newChildLaneSet) {
+ if (newChildLaneSet != childLaneSet) {
+ NotificationChain msgs = null;
+ if (childLaneSet != null)
+ msgs = ((InternalEObject) childLaneSet)
+ .eInverseRemove(this, EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.LANE__CHILD_LANE_SET, null, msgs);
+ if (newChildLaneSet != null)
+ msgs = ((InternalEObject) newChildLaneSet)
+ .eInverseAdd(this, EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.LANE__CHILD_LANE_SET, null, msgs);
+ msgs = basicSetChildLaneSet(newChildLaneSet, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.LANE__CHILD_LANE_SET, newChildLaneSet,
+ newChildLaneSet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.LANE__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BaseElement getPartitionElementRef() {
+ if (partitionElementRef != null && partitionElementRef.eIsProxy()) {
+ InternalEObject oldPartitionElementRef = (InternalEObject) partitionElementRef;
+ partitionElementRef = (BaseElement) eResolveProxy(oldPartitionElementRef);
+ if (partitionElementRef != oldPartitionElementRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.LANE__PARTITION_ELEMENT_REF,
+ oldPartitionElementRef, partitionElementRef));
+ }
+ }
+ return partitionElementRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BaseElement basicGetPartitionElementRef() {
+ return partitionElementRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPartitionElementRef(BaseElement newPartitionElementRef) {
+ BaseElement oldPartitionElementRef = partitionElementRef;
+ partitionElementRef = newPartitionElementRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.LANE__PARTITION_ELEMENT_REF,
+ oldPartitionElementRef, partitionElementRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public NotificationChain eInverseAdd(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.LANE__FLOW_NODE_REFS:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getFlowNodeRefs())
+ .basicAdd(otherEnd, msgs);
+ }
+ return super.eInverseAdd(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.LANE__PARTITION_ELEMENT:
+ return basicSetPartitionElement(null, msgs);
+ case Bpmn2Package.LANE__FLOW_NODE_REFS:
+ return ((InternalEList<?>) getFlowNodeRefs()).basicRemove(otherEnd,
+ msgs);
+ case Bpmn2Package.LANE__CHILD_LANE_SET:
+ return basicSetChildLaneSet(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.LANE__PARTITION_ELEMENT:
+ return getPartitionElement();
+ case Bpmn2Package.LANE__FLOW_NODE_REFS:
+ return getFlowNodeRefs();
+ case Bpmn2Package.LANE__CHILD_LANE_SET:
+ return getChildLaneSet();
+ case Bpmn2Package.LANE__NAME:
+ return getName();
+ case Bpmn2Package.LANE__PARTITION_ELEMENT_REF:
+ if (resolve)
+ return getPartitionElementRef();
+ return basicGetPartitionElementRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.LANE__PARTITION_ELEMENT:
+ setPartitionElement((BaseElement) newValue);
+ return;
+ case Bpmn2Package.LANE__FLOW_NODE_REFS:
+ getFlowNodeRefs().clear();
+ getFlowNodeRefs().addAll((Collection<? extends FlowNode>) newValue);
+ return;
+ case Bpmn2Package.LANE__CHILD_LANE_SET:
+ setChildLaneSet((LaneSet) newValue);
+ return;
+ case Bpmn2Package.LANE__NAME:
+ setName((String) newValue);
+ return;
+ case Bpmn2Package.LANE__PARTITION_ELEMENT_REF:
+ setPartitionElementRef((BaseElement) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.LANE__PARTITION_ELEMENT:
+ setPartitionElement((BaseElement) null);
+ return;
+ case Bpmn2Package.LANE__FLOW_NODE_REFS:
+ getFlowNodeRefs().clear();
+ return;
+ case Bpmn2Package.LANE__CHILD_LANE_SET:
+ setChildLaneSet((LaneSet) null);
+ return;
+ case Bpmn2Package.LANE__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case Bpmn2Package.LANE__PARTITION_ELEMENT_REF:
+ setPartitionElementRef((BaseElement) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.LANE__PARTITION_ELEMENT:
+ return partitionElement != null;
+ case Bpmn2Package.LANE__FLOW_NODE_REFS:
+ return flowNodeRefs != null && !flowNodeRefs.isEmpty();
+ case Bpmn2Package.LANE__CHILD_LANE_SET:
+ return childLaneSet != null;
+ case Bpmn2Package.LANE__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
+ .equals(name);
+ case Bpmn2Package.LANE__PARTITION_ELEMENT_REF:
+ return partitionElementRef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //LaneImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/LaneSetImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/LaneSetImpl.java
new file mode 100644
index 000000000..e708c3acb
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/LaneSetImpl.java
@@ -0,0 +1,239 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Lane;
+import org.eclipse.bpmn2.LaneSet;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Lane Set</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.LaneSetImpl#getLanes <em>Lanes</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.LaneSetImpl#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class LaneSetImpl extends BaseElementImpl implements LaneSet {
+ /**
+ * The cached value of the '{@link #getLanes() <em>Lanes</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLanes()
+ * @generated
+ * @ordered
+ */
+ protected EList<Lane> lanes;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected LaneSetImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.LANE_SET;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<Lane> getLanes() {
+ if (lanes == null) {
+ lanes = new EObjectContainmentEList<Lane>(Lane.class, this,
+ Bpmn2Package.LANE_SET__LANES);
+ }
+ return lanes;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.LANE_SET__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.LANE_SET__LANES:
+ return ((InternalEList<?>) getLanes()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.LANE_SET__LANES:
+ return getLanes();
+ case Bpmn2Package.LANE_SET__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.LANE_SET__LANES:
+ getLanes().clear();
+ getLanes().addAll((Collection<? extends Lane>) newValue);
+ return;
+ case Bpmn2Package.LANE_SET__NAME:
+ setName((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.LANE_SET__LANES:
+ getLanes().clear();
+ return;
+ case Bpmn2Package.LANE_SET__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.LANE_SET__LANES:
+ return lanes != null && !lanes.isEmpty();
+ case Bpmn2Package.LANE_SET__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
+ .equals(name);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //LaneSetImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/LinkEventDefinitionImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/LinkEventDefinitionImpl.java
new file mode 100644
index 000000000..db37a0ddb
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/LinkEventDefinitionImpl.java
@@ -0,0 +1,365 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.LinkEventDefinition;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Link Event Definition</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.LinkEventDefinitionImpl#getSource <em>Source</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.LinkEventDefinitionImpl#getTarget <em>Target</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.LinkEventDefinitionImpl#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class LinkEventDefinitionImpl extends EventDefinitionImpl implements
+ LinkEventDefinition {
+ /**
+ * The cached value of the '{@link #getSource() <em>Source</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSource()
+ * @generated
+ * @ordered
+ */
+ protected EList<LinkEventDefinition> source;
+
+ /**
+ * The cached value of the '{@link #getTarget() <em>Target</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTarget()
+ * @generated
+ * @ordered
+ */
+ protected LinkEventDefinition target;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected LinkEventDefinitionImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.LINK_EVENT_DEFINITION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<LinkEventDefinition> getSource() {
+ if (source == null) {
+ source = new EObjectWithInverseResolvingEList<LinkEventDefinition>(
+ LinkEventDefinition.class, this,
+ Bpmn2Package.LINK_EVENT_DEFINITION__SOURCE,
+ Bpmn2Package.LINK_EVENT_DEFINITION__TARGET);
+ }
+ return source;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public LinkEventDefinition getTarget() {
+ if (target != null && target.eIsProxy()) {
+ InternalEObject oldTarget = (InternalEObject) target;
+ target = (LinkEventDefinition) eResolveProxy(oldTarget);
+ if (target != oldTarget) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.LINK_EVENT_DEFINITION__TARGET,
+ oldTarget, target));
+ }
+ }
+ return target;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public LinkEventDefinition basicGetTarget() {
+ return target;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetTarget(LinkEventDefinition newTarget,
+ NotificationChain msgs) {
+ LinkEventDefinition oldTarget = target;
+ target = newTarget;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET,
+ Bpmn2Package.LINK_EVENT_DEFINITION__TARGET, oldTarget,
+ newTarget);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTarget(LinkEventDefinition newTarget) {
+ if (newTarget != target) {
+ NotificationChain msgs = null;
+ if (target != null)
+ msgs = ((InternalEObject) target).eInverseRemove(this,
+ Bpmn2Package.LINK_EVENT_DEFINITION__SOURCE,
+ LinkEventDefinition.class, msgs);
+ if (newTarget != null)
+ msgs = ((InternalEObject) newTarget).eInverseAdd(this,
+ Bpmn2Package.LINK_EVENT_DEFINITION__SOURCE,
+ LinkEventDefinition.class, msgs);
+ msgs = basicSetTarget(newTarget, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.LINK_EVENT_DEFINITION__TARGET, newTarget,
+ newTarget));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.LINK_EVENT_DEFINITION__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public NotificationChain eInverseAdd(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.LINK_EVENT_DEFINITION__SOURCE:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getSource())
+ .basicAdd(otherEnd, msgs);
+ case Bpmn2Package.LINK_EVENT_DEFINITION__TARGET:
+ if (target != null)
+ msgs = ((InternalEObject) target).eInverseRemove(this,
+ Bpmn2Package.LINK_EVENT_DEFINITION__SOURCE,
+ LinkEventDefinition.class, msgs);
+ return basicSetTarget((LinkEventDefinition) otherEnd, msgs);
+ }
+ return super.eInverseAdd(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.LINK_EVENT_DEFINITION__SOURCE:
+ return ((InternalEList<?>) getSource()).basicRemove(otherEnd, msgs);
+ case Bpmn2Package.LINK_EVENT_DEFINITION__TARGET:
+ return basicSetTarget(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.LINK_EVENT_DEFINITION__SOURCE:
+ return getSource();
+ case Bpmn2Package.LINK_EVENT_DEFINITION__TARGET:
+ if (resolve)
+ return getTarget();
+ return basicGetTarget();
+ case Bpmn2Package.LINK_EVENT_DEFINITION__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.LINK_EVENT_DEFINITION__SOURCE:
+ getSource().clear();
+ getSource().addAll(
+ (Collection<? extends LinkEventDefinition>) newValue);
+ return;
+ case Bpmn2Package.LINK_EVENT_DEFINITION__TARGET:
+ setTarget((LinkEventDefinition) newValue);
+ return;
+ case Bpmn2Package.LINK_EVENT_DEFINITION__NAME:
+ setName((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.LINK_EVENT_DEFINITION__SOURCE:
+ getSource().clear();
+ return;
+ case Bpmn2Package.LINK_EVENT_DEFINITION__TARGET:
+ setTarget((LinkEventDefinition) null);
+ return;
+ case Bpmn2Package.LINK_EVENT_DEFINITION__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.LINK_EVENT_DEFINITION__SOURCE:
+ return source != null && !source.isEmpty();
+ case Bpmn2Package.LINK_EVENT_DEFINITION__TARGET:
+ return target != null;
+ case Bpmn2Package.LINK_EVENT_DEFINITION__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
+ .equals(name);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //LinkEventDefinitionImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/LoopCharacteristicsImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/LoopCharacteristicsImpl.java
new file mode 100644
index 000000000..384e1dcce
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/LoopCharacteristicsImpl.java
@@ -0,0 +1,52 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.LoopCharacteristics;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Loop Characteristics</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class LoopCharacteristicsImpl extends BaseElementImpl implements
+ LoopCharacteristics {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected LoopCharacteristicsImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.LOOP_CHARACTERISTICS;
+ }
+
+} //LoopCharacteristicsImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ManualTaskImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ManualTaskImpl.java
new file mode 100644
index 000000000..8d763e508
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ManualTaskImpl.java
@@ -0,0 +1,51 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.ManualTask;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Manual Task</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class ManualTaskImpl extends TaskImpl implements ManualTask {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ManualTaskImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.MANUAL_TASK;
+ }
+
+} //ManualTaskImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/MessageEventDefinitionImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/MessageEventDefinitionImpl.java
new file mode 100644
index 000000000..f68bf5e47
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/MessageEventDefinitionImpl.java
@@ -0,0 +1,242 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Message;
+import org.eclipse.bpmn2.MessageEventDefinition;
+import org.eclipse.bpmn2.Operation;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Message Event Definition</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.MessageEventDefinitionImpl#getOperationRef <em>Operation Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.MessageEventDefinitionImpl#getMessageRef <em>Message Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class MessageEventDefinitionImpl extends EventDefinitionImpl implements
+ MessageEventDefinition {
+ /**
+ * The cached value of the '{@link #getOperationRef() <em>Operation Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOperationRef()
+ * @generated
+ * @ordered
+ */
+ protected Operation operationRef;
+
+ /**
+ * The cached value of the '{@link #getMessageRef() <em>Message Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMessageRef()
+ * @generated
+ * @ordered
+ */
+ protected Message messageRef;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected MessageEventDefinitionImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.MESSAGE_EVENT_DEFINITION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Operation getOperationRef() {
+ if (operationRef != null && operationRef.eIsProxy()) {
+ InternalEObject oldOperationRef = (InternalEObject) operationRef;
+ operationRef = (Operation) eResolveProxy(oldOperationRef);
+ if (operationRef != oldOperationRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.RESOLVE,
+ Bpmn2Package.MESSAGE_EVENT_DEFINITION__OPERATION_REF,
+ oldOperationRef, operationRef));
+ }
+ }
+ return operationRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Operation basicGetOperationRef() {
+ return operationRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setOperationRef(Operation newOperationRef) {
+ Operation oldOperationRef = operationRef;
+ operationRef = newOperationRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.MESSAGE_EVENT_DEFINITION__OPERATION_REF,
+ oldOperationRef, operationRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Message getMessageRef() {
+ if (messageRef != null && messageRef.eIsProxy()) {
+ InternalEObject oldMessageRef = (InternalEObject) messageRef;
+ messageRef = (Message) eResolveProxy(oldMessageRef);
+ if (messageRef != oldMessageRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.MESSAGE_EVENT_DEFINITION__MESSAGE_REF,
+ oldMessageRef, messageRef));
+ }
+ }
+ return messageRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Message basicGetMessageRef() {
+ return messageRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMessageRef(Message newMessageRef) {
+ Message oldMessageRef = messageRef;
+ messageRef = newMessageRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.MESSAGE_EVENT_DEFINITION__MESSAGE_REF,
+ oldMessageRef, messageRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.MESSAGE_EVENT_DEFINITION__OPERATION_REF:
+ if (resolve)
+ return getOperationRef();
+ return basicGetOperationRef();
+ case Bpmn2Package.MESSAGE_EVENT_DEFINITION__MESSAGE_REF:
+ if (resolve)
+ return getMessageRef();
+ return basicGetMessageRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.MESSAGE_EVENT_DEFINITION__OPERATION_REF:
+ setOperationRef((Operation) newValue);
+ return;
+ case Bpmn2Package.MESSAGE_EVENT_DEFINITION__MESSAGE_REF:
+ setMessageRef((Message) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.MESSAGE_EVENT_DEFINITION__OPERATION_REF:
+ setOperationRef((Operation) null);
+ return;
+ case Bpmn2Package.MESSAGE_EVENT_DEFINITION__MESSAGE_REF:
+ setMessageRef((Message) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.MESSAGE_EVENT_DEFINITION__OPERATION_REF:
+ return operationRef != null;
+ case Bpmn2Package.MESSAGE_EVENT_DEFINITION__MESSAGE_REF:
+ return messageRef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //MessageEventDefinitionImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/MessageFlowAssociationImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/MessageFlowAssociationImpl.java
new file mode 100644
index 000000000..e0891980b
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/MessageFlowAssociationImpl.java
@@ -0,0 +1,247 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.MessageFlow;
+import org.eclipse.bpmn2.MessageFlowAssociation;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Message Flow Association</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.MessageFlowAssociationImpl#getInnerMessageFlowRef <em>Inner Message Flow Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.MessageFlowAssociationImpl#getOuterMessageFlowRef <em>Outer Message Flow Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class MessageFlowAssociationImpl extends BaseElementImpl implements
+ MessageFlowAssociation {
+ /**
+ * The cached value of the '{@link #getInnerMessageFlowRef() <em>Inner Message Flow Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getInnerMessageFlowRef()
+ * @generated
+ * @ordered
+ */
+ protected MessageFlow innerMessageFlowRef;
+
+ /**
+ * The cached value of the '{@link #getOuterMessageFlowRef() <em>Outer Message Flow Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOuterMessageFlowRef()
+ * @generated
+ * @ordered
+ */
+ protected MessageFlow outerMessageFlowRef;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected MessageFlowAssociationImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.MESSAGE_FLOW_ASSOCIATION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public MessageFlow getInnerMessageFlowRef() {
+ if (innerMessageFlowRef != null && innerMessageFlowRef.eIsProxy()) {
+ InternalEObject oldInnerMessageFlowRef = (InternalEObject) innerMessageFlowRef;
+ innerMessageFlowRef = (MessageFlow) eResolveProxy(oldInnerMessageFlowRef);
+ if (innerMessageFlowRef != oldInnerMessageFlowRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.RESOLVE,
+ Bpmn2Package.MESSAGE_FLOW_ASSOCIATION__INNER_MESSAGE_FLOW_REF,
+ oldInnerMessageFlowRef, innerMessageFlowRef));
+ }
+ }
+ return innerMessageFlowRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public MessageFlow basicGetInnerMessageFlowRef() {
+ return innerMessageFlowRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setInnerMessageFlowRef(MessageFlow newInnerMessageFlowRef) {
+ MessageFlow oldInnerMessageFlowRef = innerMessageFlowRef;
+ innerMessageFlowRef = newInnerMessageFlowRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.SET,
+ Bpmn2Package.MESSAGE_FLOW_ASSOCIATION__INNER_MESSAGE_FLOW_REF,
+ oldInnerMessageFlowRef, innerMessageFlowRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public MessageFlow getOuterMessageFlowRef() {
+ if (outerMessageFlowRef != null && outerMessageFlowRef.eIsProxy()) {
+ InternalEObject oldOuterMessageFlowRef = (InternalEObject) outerMessageFlowRef;
+ outerMessageFlowRef = (MessageFlow) eResolveProxy(oldOuterMessageFlowRef);
+ if (outerMessageFlowRef != oldOuterMessageFlowRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.RESOLVE,
+ Bpmn2Package.MESSAGE_FLOW_ASSOCIATION__OUTER_MESSAGE_FLOW_REF,
+ oldOuterMessageFlowRef, outerMessageFlowRef));
+ }
+ }
+ return outerMessageFlowRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public MessageFlow basicGetOuterMessageFlowRef() {
+ return outerMessageFlowRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setOuterMessageFlowRef(MessageFlow newOuterMessageFlowRef) {
+ MessageFlow oldOuterMessageFlowRef = outerMessageFlowRef;
+ outerMessageFlowRef = newOuterMessageFlowRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.SET,
+ Bpmn2Package.MESSAGE_FLOW_ASSOCIATION__OUTER_MESSAGE_FLOW_REF,
+ oldOuterMessageFlowRef, outerMessageFlowRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.MESSAGE_FLOW_ASSOCIATION__INNER_MESSAGE_FLOW_REF:
+ if (resolve)
+ return getInnerMessageFlowRef();
+ return basicGetInnerMessageFlowRef();
+ case Bpmn2Package.MESSAGE_FLOW_ASSOCIATION__OUTER_MESSAGE_FLOW_REF:
+ if (resolve)
+ return getOuterMessageFlowRef();
+ return basicGetOuterMessageFlowRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.MESSAGE_FLOW_ASSOCIATION__INNER_MESSAGE_FLOW_REF:
+ setInnerMessageFlowRef((MessageFlow) newValue);
+ return;
+ case Bpmn2Package.MESSAGE_FLOW_ASSOCIATION__OUTER_MESSAGE_FLOW_REF:
+ setOuterMessageFlowRef((MessageFlow) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.MESSAGE_FLOW_ASSOCIATION__INNER_MESSAGE_FLOW_REF:
+ setInnerMessageFlowRef((MessageFlow) null);
+ return;
+ case Bpmn2Package.MESSAGE_FLOW_ASSOCIATION__OUTER_MESSAGE_FLOW_REF:
+ setOuterMessageFlowRef((MessageFlow) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.MESSAGE_FLOW_ASSOCIATION__INNER_MESSAGE_FLOW_REF:
+ return innerMessageFlowRef != null;
+ case Bpmn2Package.MESSAGE_FLOW_ASSOCIATION__OUTER_MESSAGE_FLOW_REF:
+ return outerMessageFlowRef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //MessageFlowAssociationImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/MessageFlowImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/MessageFlowImpl.java
new file mode 100644
index 000000000..2db60940e
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/MessageFlowImpl.java
@@ -0,0 +1,375 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.InteractionNode;
+import org.eclipse.bpmn2.Message;
+import org.eclipse.bpmn2.MessageFlow;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Message Flow</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.MessageFlowImpl#getMessageRef <em>Message Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.MessageFlowImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.MessageFlowImpl#getSourceRef <em>Source Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.MessageFlowImpl#getTargetRef <em>Target Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class MessageFlowImpl extends BaseElementImpl implements MessageFlow {
+ /**
+ * The cached value of the '{@link #getMessageRef() <em>Message Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMessageRef()
+ * @generated
+ * @ordered
+ */
+ protected Message messageRef;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getSourceRef() <em>Source Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSourceRef()
+ * @generated
+ * @ordered
+ */
+ protected InteractionNode sourceRef;
+
+ /**
+ * The cached value of the '{@link #getTargetRef() <em>Target Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTargetRef()
+ * @generated
+ * @ordered
+ */
+ protected InteractionNode targetRef;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected MessageFlowImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.MESSAGE_FLOW;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Message getMessageRef() {
+ if (messageRef != null && messageRef.eIsProxy()) {
+ InternalEObject oldMessageRef = (InternalEObject) messageRef;
+ messageRef = (Message) eResolveProxy(oldMessageRef);
+ if (messageRef != oldMessageRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.MESSAGE_FLOW__MESSAGE_REF,
+ oldMessageRef, messageRef));
+ }
+ }
+ return messageRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Message basicGetMessageRef() {
+ return messageRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMessageRef(Message newMessageRef) {
+ Message oldMessageRef = messageRef;
+ messageRef = newMessageRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.MESSAGE_FLOW__MESSAGE_REF, oldMessageRef,
+ messageRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.MESSAGE_FLOW__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public InteractionNode getSourceRef() {
+ if (sourceRef != null && sourceRef.eIsProxy()) {
+ InternalEObject oldSourceRef = (InternalEObject) sourceRef;
+ sourceRef = (InteractionNode) eResolveProxy(oldSourceRef);
+ if (sourceRef != oldSourceRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.MESSAGE_FLOW__SOURCE_REF,
+ oldSourceRef, sourceRef));
+ }
+ }
+ return sourceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public InteractionNode basicGetSourceRef() {
+ return sourceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSourceRef(InteractionNode newSourceRef) {
+ InteractionNode oldSourceRef = sourceRef;
+ sourceRef = newSourceRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.MESSAGE_FLOW__SOURCE_REF, oldSourceRef,
+ sourceRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public InteractionNode getTargetRef() {
+ if (targetRef != null && targetRef.eIsProxy()) {
+ InternalEObject oldTargetRef = (InternalEObject) targetRef;
+ targetRef = (InteractionNode) eResolveProxy(oldTargetRef);
+ if (targetRef != oldTargetRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.MESSAGE_FLOW__TARGET_REF,
+ oldTargetRef, targetRef));
+ }
+ }
+ return targetRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public InteractionNode basicGetTargetRef() {
+ return targetRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTargetRef(InteractionNode newTargetRef) {
+ InteractionNode oldTargetRef = targetRef;
+ targetRef = newTargetRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.MESSAGE_FLOW__TARGET_REF, oldTargetRef,
+ targetRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.MESSAGE_FLOW__MESSAGE_REF:
+ if (resolve)
+ return getMessageRef();
+ return basicGetMessageRef();
+ case Bpmn2Package.MESSAGE_FLOW__NAME:
+ return getName();
+ case Bpmn2Package.MESSAGE_FLOW__SOURCE_REF:
+ if (resolve)
+ return getSourceRef();
+ return basicGetSourceRef();
+ case Bpmn2Package.MESSAGE_FLOW__TARGET_REF:
+ if (resolve)
+ return getTargetRef();
+ return basicGetTargetRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.MESSAGE_FLOW__MESSAGE_REF:
+ setMessageRef((Message) newValue);
+ return;
+ case Bpmn2Package.MESSAGE_FLOW__NAME:
+ setName((String) newValue);
+ return;
+ case Bpmn2Package.MESSAGE_FLOW__SOURCE_REF:
+ setSourceRef((InteractionNode) newValue);
+ return;
+ case Bpmn2Package.MESSAGE_FLOW__TARGET_REF:
+ setTargetRef((InteractionNode) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.MESSAGE_FLOW__MESSAGE_REF:
+ setMessageRef((Message) null);
+ return;
+ case Bpmn2Package.MESSAGE_FLOW__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case Bpmn2Package.MESSAGE_FLOW__SOURCE_REF:
+ setSourceRef((InteractionNode) null);
+ return;
+ case Bpmn2Package.MESSAGE_FLOW__TARGET_REF:
+ setTargetRef((InteractionNode) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.MESSAGE_FLOW__MESSAGE_REF:
+ return messageRef != null;
+ case Bpmn2Package.MESSAGE_FLOW__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
+ .equals(name);
+ case Bpmn2Package.MESSAGE_FLOW__SOURCE_REF:
+ return sourceRef != null;
+ case Bpmn2Package.MESSAGE_FLOW__TARGET_REF:
+ return targetRef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //MessageFlowImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/MessageImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/MessageImpl.java
new file mode 100644
index 000000000..072ebe718
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/MessageImpl.java
@@ -0,0 +1,242 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.ItemDefinition;
+import org.eclipse.bpmn2.Message;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Message</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.MessageImpl#getItemRef <em>Item Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.MessageImpl#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class MessageImpl extends RootElementImpl implements Message {
+ /**
+ * The cached value of the '{@link #getItemRef() <em>Item Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getItemRef()
+ * @generated
+ * @ordered
+ */
+ protected ItemDefinition itemRef;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected MessageImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.MESSAGE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ItemDefinition getItemRef() {
+ if (itemRef != null && itemRef.eIsProxy()) {
+ InternalEObject oldItemRef = (InternalEObject) itemRef;
+ itemRef = (ItemDefinition) eResolveProxy(oldItemRef);
+ if (itemRef != oldItemRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.MESSAGE__ITEM_REF, oldItemRef, itemRef));
+ }
+ }
+ return itemRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ItemDefinition basicGetItemRef() {
+ return itemRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setItemRef(ItemDefinition newItemRef) {
+ ItemDefinition oldItemRef = itemRef;
+ itemRef = newItemRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.MESSAGE__ITEM_REF, oldItemRef, itemRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.MESSAGE__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.MESSAGE__ITEM_REF:
+ if (resolve)
+ return getItemRef();
+ return basicGetItemRef();
+ case Bpmn2Package.MESSAGE__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.MESSAGE__ITEM_REF:
+ setItemRef((ItemDefinition) newValue);
+ return;
+ case Bpmn2Package.MESSAGE__NAME:
+ setName((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.MESSAGE__ITEM_REF:
+ setItemRef((ItemDefinition) null);
+ return;
+ case Bpmn2Package.MESSAGE__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.MESSAGE__ITEM_REF:
+ return itemRef != null;
+ case Bpmn2Package.MESSAGE__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
+ .equals(name);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //MessageImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/MonitoringImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/MonitoringImpl.java
new file mode 100644
index 000000000..1569117ca
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/MonitoringImpl.java
@@ -0,0 +1,51 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Monitoring;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Monitoring</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class MonitoringImpl extends BaseElementImpl implements Monitoring {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected MonitoringImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.MONITORING;
+ }
+
+} //MonitoringImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/MultiInstanceLoopCharacteristicsImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/MultiInstanceLoopCharacteristicsImpl.java
new file mode 100644
index 000000000..3744feb42
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/MultiInstanceLoopCharacteristicsImpl.java
@@ -0,0 +1,937 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.ComplexBehaviorDefinition;
+import org.eclipse.bpmn2.DataInput;
+import org.eclipse.bpmn2.DataOutput;
+import org.eclipse.bpmn2.EventDefinition;
+import org.eclipse.bpmn2.Expression;
+import org.eclipse.bpmn2.ItemAwareElement;
+import org.eclipse.bpmn2.MultiInstanceBehavior;
+import org.eclipse.bpmn2.MultiInstanceLoopCharacteristics;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Multi Instance Loop Characteristics</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.MultiInstanceLoopCharacteristicsImpl#getLoopCardinality <em>Loop Cardinality</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.MultiInstanceLoopCharacteristicsImpl#getLoopDataInputRef <em>Loop Data Input Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.MultiInstanceLoopCharacteristicsImpl#getLoopDataOutputRef <em>Loop Data Output Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.MultiInstanceLoopCharacteristicsImpl#getInputDataItem <em>Input Data Item</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.MultiInstanceLoopCharacteristicsImpl#getOutputDataItem <em>Output Data Item</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.MultiInstanceLoopCharacteristicsImpl#getComplexBehaviorDefinition <em>Complex Behavior Definition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.MultiInstanceLoopCharacteristicsImpl#getCompletionCondition <em>Completion Condition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.MultiInstanceLoopCharacteristicsImpl#getBehavior <em>Behavior</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.MultiInstanceLoopCharacteristicsImpl#isIsSequential <em>Is Sequential</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.MultiInstanceLoopCharacteristicsImpl#getNoneBehaviorEventRef <em>None Behavior Event Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.MultiInstanceLoopCharacteristicsImpl#getOneBehaviorEventRef <em>One Behavior Event Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class MultiInstanceLoopCharacteristicsImpl extends
+ LoopCharacteristicsImpl implements MultiInstanceLoopCharacteristics {
+ /**
+ * The cached value of the '{@link #getLoopCardinality() <em>Loop Cardinality</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLoopCardinality()
+ * @generated
+ * @ordered
+ */
+ protected Expression loopCardinality;
+
+ /**
+ * The cached value of the '{@link #getLoopDataInputRef() <em>Loop Data Input Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLoopDataInputRef()
+ * @generated
+ * @ordered
+ */
+ protected ItemAwareElement loopDataInputRef;
+
+ /**
+ * The cached value of the '{@link #getLoopDataOutputRef() <em>Loop Data Output Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLoopDataOutputRef()
+ * @generated
+ * @ordered
+ */
+ protected ItemAwareElement loopDataOutputRef;
+
+ /**
+ * The cached value of the '{@link #getInputDataItem() <em>Input Data Item</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getInputDataItem()
+ * @generated
+ * @ordered
+ */
+ protected DataInput inputDataItem;
+
+ /**
+ * The cached value of the '{@link #getOutputDataItem() <em>Output Data Item</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOutputDataItem()
+ * @generated
+ * @ordered
+ */
+ protected DataOutput outputDataItem;
+
+ /**
+ * The cached value of the '{@link #getComplexBehaviorDefinition() <em>Complex Behavior Definition</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getComplexBehaviorDefinition()
+ * @generated
+ * @ordered
+ */
+ protected EList<ComplexBehaviorDefinition> complexBehaviorDefinition;
+
+ /**
+ * The cached value of the '{@link #getCompletionCondition() <em>Completion Condition</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCompletionCondition()
+ * @generated
+ * @ordered
+ */
+ protected Expression completionCondition;
+
+ /**
+ * The default value of the '{@link #getBehavior() <em>Behavior</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBehavior()
+ * @generated
+ * @ordered
+ */
+ protected static final MultiInstanceBehavior BEHAVIOR_EDEFAULT = MultiInstanceBehavior.ALL;
+
+ /**
+ * The cached value of the '{@link #getBehavior() <em>Behavior</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBehavior()
+ * @generated
+ * @ordered
+ */
+ protected MultiInstanceBehavior behavior = BEHAVIOR_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #isIsSequential() <em>Is Sequential</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsSequential()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean IS_SEQUENTIAL_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isIsSequential() <em>Is Sequential</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsSequential()
+ * @generated
+ * @ordered
+ */
+ protected boolean isSequential = IS_SEQUENTIAL_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getNoneBehaviorEventRef() <em>None Behavior Event Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNoneBehaviorEventRef()
+ * @generated
+ * @ordered
+ */
+ protected EventDefinition noneBehaviorEventRef;
+
+ /**
+ * The cached value of the '{@link #getOneBehaviorEventRef() <em>One Behavior Event Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOneBehaviorEventRef()
+ * @generated
+ * @ordered
+ */
+ protected EventDefinition oneBehaviorEventRef;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected MultiInstanceLoopCharacteristicsImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.MULTI_INSTANCE_LOOP_CHARACTERISTICS;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Expression getLoopCardinality() {
+ return loopCardinality;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetLoopCardinality(
+ Expression newLoopCardinality, NotificationChain msgs) {
+ Expression oldLoopCardinality = loopCardinality;
+ loopCardinality = newLoopCardinality;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(
+ this,
+ Notification.SET,
+ Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__LOOP_CARDINALITY,
+ oldLoopCardinality, newLoopCardinality);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLoopCardinality(Expression newLoopCardinality) {
+ if (newLoopCardinality != loopCardinality) {
+ NotificationChain msgs = null;
+ if (loopCardinality != null)
+ msgs = ((InternalEObject) loopCardinality)
+ .eInverseRemove(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__LOOP_CARDINALITY,
+ null, msgs);
+ if (newLoopCardinality != null)
+ msgs = ((InternalEObject) newLoopCardinality)
+ .eInverseAdd(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__LOOP_CARDINALITY,
+ null, msgs);
+ msgs = basicSetLoopCardinality(newLoopCardinality, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.SET,
+ Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__LOOP_CARDINALITY,
+ newLoopCardinality, newLoopCardinality));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ItemAwareElement getLoopDataInputRef() {
+ if (loopDataInputRef != null && loopDataInputRef.eIsProxy()) {
+ InternalEObject oldLoopDataInputRef = (InternalEObject) loopDataInputRef;
+ loopDataInputRef = (ItemAwareElement) eResolveProxy(oldLoopDataInputRef);
+ if (loopDataInputRef != oldLoopDataInputRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.RESOLVE,
+ Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__LOOP_DATA_INPUT_REF,
+ oldLoopDataInputRef, loopDataInputRef));
+ }
+ }
+ return loopDataInputRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ItemAwareElement basicGetLoopDataInputRef() {
+ return loopDataInputRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLoopDataInputRef(ItemAwareElement newLoopDataInputRef) {
+ ItemAwareElement oldLoopDataInputRef = loopDataInputRef;
+ loopDataInputRef = newLoopDataInputRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.SET,
+ Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__LOOP_DATA_INPUT_REF,
+ oldLoopDataInputRef, loopDataInputRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ItemAwareElement getLoopDataOutputRef() {
+ if (loopDataOutputRef != null && loopDataOutputRef.eIsProxy()) {
+ InternalEObject oldLoopDataOutputRef = (InternalEObject) loopDataOutputRef;
+ loopDataOutputRef = (ItemAwareElement) eResolveProxy(oldLoopDataOutputRef);
+ if (loopDataOutputRef != oldLoopDataOutputRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.RESOLVE,
+ Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__LOOP_DATA_OUTPUT_REF,
+ oldLoopDataOutputRef, loopDataOutputRef));
+ }
+ }
+ return loopDataOutputRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ItemAwareElement basicGetLoopDataOutputRef() {
+ return loopDataOutputRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLoopDataOutputRef(ItemAwareElement newLoopDataOutputRef) {
+ ItemAwareElement oldLoopDataOutputRef = loopDataOutputRef;
+ loopDataOutputRef = newLoopDataOutputRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.SET,
+ Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__LOOP_DATA_OUTPUT_REF,
+ oldLoopDataOutputRef, loopDataOutputRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataInput getInputDataItem() {
+ return inputDataItem;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetInputDataItem(DataInput newInputDataItem,
+ NotificationChain msgs) {
+ DataInput oldInputDataItem = inputDataItem;
+ inputDataItem = newInputDataItem;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(
+ this,
+ Notification.SET,
+ Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__INPUT_DATA_ITEM,
+ oldInputDataItem, newInputDataItem);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setInputDataItem(DataInput newInputDataItem) {
+ if (newInputDataItem != inputDataItem) {
+ NotificationChain msgs = null;
+ if (inputDataItem != null)
+ msgs = ((InternalEObject) inputDataItem)
+ .eInverseRemove(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__INPUT_DATA_ITEM,
+ null, msgs);
+ if (newInputDataItem != null)
+ msgs = ((InternalEObject) newInputDataItem)
+ .eInverseAdd(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__INPUT_DATA_ITEM,
+ null, msgs);
+ msgs = basicSetInputDataItem(newInputDataItem, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.SET,
+ Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__INPUT_DATA_ITEM,
+ newInputDataItem, newInputDataItem));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataOutput getOutputDataItem() {
+ return outputDataItem;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetOutputDataItem(
+ DataOutput newOutputDataItem, NotificationChain msgs) {
+ DataOutput oldOutputDataItem = outputDataItem;
+ outputDataItem = newOutputDataItem;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(
+ this,
+ Notification.SET,
+ Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__OUTPUT_DATA_ITEM,
+ oldOutputDataItem, newOutputDataItem);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setOutputDataItem(DataOutput newOutputDataItem) {
+ if (newOutputDataItem != outputDataItem) {
+ NotificationChain msgs = null;
+ if (outputDataItem != null)
+ msgs = ((InternalEObject) outputDataItem)
+ .eInverseRemove(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__OUTPUT_DATA_ITEM,
+ null, msgs);
+ if (newOutputDataItem != null)
+ msgs = ((InternalEObject) newOutputDataItem)
+ .eInverseAdd(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__OUTPUT_DATA_ITEM,
+ null, msgs);
+ msgs = basicSetOutputDataItem(newOutputDataItem, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.SET,
+ Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__OUTPUT_DATA_ITEM,
+ newOutputDataItem, newOutputDataItem));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<ComplexBehaviorDefinition> getComplexBehaviorDefinition() {
+ if (complexBehaviorDefinition == null) {
+ complexBehaviorDefinition = new EObjectContainmentEList<ComplexBehaviorDefinition>(
+ ComplexBehaviorDefinition.class,
+ this,
+ Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__COMPLEX_BEHAVIOR_DEFINITION);
+ }
+ return complexBehaviorDefinition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Expression getCompletionCondition() {
+ return completionCondition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetCompletionCondition(
+ Expression newCompletionCondition, NotificationChain msgs) {
+ Expression oldCompletionCondition = completionCondition;
+ completionCondition = newCompletionCondition;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(
+ this,
+ Notification.SET,
+ Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__COMPLETION_CONDITION,
+ oldCompletionCondition, newCompletionCondition);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCompletionCondition(Expression newCompletionCondition) {
+ if (newCompletionCondition != completionCondition) {
+ NotificationChain msgs = null;
+ if (completionCondition != null)
+ msgs = ((InternalEObject) completionCondition)
+ .eInverseRemove(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__COMPLETION_CONDITION,
+ null, msgs);
+ if (newCompletionCondition != null)
+ msgs = ((InternalEObject) newCompletionCondition)
+ .eInverseAdd(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__COMPLETION_CONDITION,
+ null, msgs);
+ msgs = basicSetCompletionCondition(newCompletionCondition, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.SET,
+ Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__COMPLETION_CONDITION,
+ newCompletionCondition, newCompletionCondition));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public MultiInstanceBehavior getBehavior() {
+ return behavior;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBehavior(MultiInstanceBehavior newBehavior) {
+ MultiInstanceBehavior oldBehavior = behavior;
+ behavior = newBehavior == null ? BEHAVIOR_EDEFAULT : newBehavior;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__BEHAVIOR,
+ oldBehavior, behavior));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isIsSequential() {
+ return isSequential;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIsSequential(boolean newIsSequential) {
+ boolean oldIsSequential = isSequential;
+ isSequential = newIsSequential;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.SET,
+ Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__IS_SEQUENTIAL,
+ oldIsSequential, isSequential));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EventDefinition getNoneBehaviorEventRef() {
+ if (noneBehaviorEventRef != null && noneBehaviorEventRef.eIsProxy()) {
+ InternalEObject oldNoneBehaviorEventRef = (InternalEObject) noneBehaviorEventRef;
+ noneBehaviorEventRef = (EventDefinition) eResolveProxy(oldNoneBehaviorEventRef);
+ if (noneBehaviorEventRef != oldNoneBehaviorEventRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.RESOLVE,
+ Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__NONE_BEHAVIOR_EVENT_REF,
+ oldNoneBehaviorEventRef, noneBehaviorEventRef));
+ }
+ }
+ return noneBehaviorEventRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EventDefinition basicGetNoneBehaviorEventRef() {
+ return noneBehaviorEventRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setNoneBehaviorEventRef(EventDefinition newNoneBehaviorEventRef) {
+ EventDefinition oldNoneBehaviorEventRef = noneBehaviorEventRef;
+ noneBehaviorEventRef = newNoneBehaviorEventRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.SET,
+ Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__NONE_BEHAVIOR_EVENT_REF,
+ oldNoneBehaviorEventRef, noneBehaviorEventRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EventDefinition getOneBehaviorEventRef() {
+ if (oneBehaviorEventRef != null && oneBehaviorEventRef.eIsProxy()) {
+ InternalEObject oldOneBehaviorEventRef = (InternalEObject) oneBehaviorEventRef;
+ oneBehaviorEventRef = (EventDefinition) eResolveProxy(oldOneBehaviorEventRef);
+ if (oneBehaviorEventRef != oldOneBehaviorEventRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.RESOLVE,
+ Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__ONE_BEHAVIOR_EVENT_REF,
+ oldOneBehaviorEventRef, oneBehaviorEventRef));
+ }
+ }
+ return oneBehaviorEventRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EventDefinition basicGetOneBehaviorEventRef() {
+ return oneBehaviorEventRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setOneBehaviorEventRef(EventDefinition newOneBehaviorEventRef) {
+ EventDefinition oldOneBehaviorEventRef = oneBehaviorEventRef;
+ oneBehaviorEventRef = newOneBehaviorEventRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.SET,
+ Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__ONE_BEHAVIOR_EVENT_REF,
+ oldOneBehaviorEventRef, oneBehaviorEventRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__LOOP_CARDINALITY:
+ return basicSetLoopCardinality(null, msgs);
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__INPUT_DATA_ITEM:
+ return basicSetInputDataItem(null, msgs);
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__OUTPUT_DATA_ITEM:
+ return basicSetOutputDataItem(null, msgs);
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__COMPLEX_BEHAVIOR_DEFINITION:
+ return ((InternalEList<?>) getComplexBehaviorDefinition())
+ .basicRemove(otherEnd, msgs);
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__COMPLETION_CONDITION:
+ return basicSetCompletionCondition(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__LOOP_CARDINALITY:
+ return getLoopCardinality();
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__LOOP_DATA_INPUT_REF:
+ if (resolve)
+ return getLoopDataInputRef();
+ return basicGetLoopDataInputRef();
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__LOOP_DATA_OUTPUT_REF:
+ if (resolve)
+ return getLoopDataOutputRef();
+ return basicGetLoopDataOutputRef();
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__INPUT_DATA_ITEM:
+ return getInputDataItem();
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__OUTPUT_DATA_ITEM:
+ return getOutputDataItem();
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__COMPLEX_BEHAVIOR_DEFINITION:
+ return getComplexBehaviorDefinition();
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__COMPLETION_CONDITION:
+ return getCompletionCondition();
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__BEHAVIOR:
+ return getBehavior();
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__IS_SEQUENTIAL:
+ return isIsSequential();
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__NONE_BEHAVIOR_EVENT_REF:
+ if (resolve)
+ return getNoneBehaviorEventRef();
+ return basicGetNoneBehaviorEventRef();
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__ONE_BEHAVIOR_EVENT_REF:
+ if (resolve)
+ return getOneBehaviorEventRef();
+ return basicGetOneBehaviorEventRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__LOOP_CARDINALITY:
+ setLoopCardinality((Expression) newValue);
+ return;
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__LOOP_DATA_INPUT_REF:
+ setLoopDataInputRef((ItemAwareElement) newValue);
+ return;
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__LOOP_DATA_OUTPUT_REF:
+ setLoopDataOutputRef((ItemAwareElement) newValue);
+ return;
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__INPUT_DATA_ITEM:
+ setInputDataItem((DataInput) newValue);
+ return;
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__OUTPUT_DATA_ITEM:
+ setOutputDataItem((DataOutput) newValue);
+ return;
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__COMPLEX_BEHAVIOR_DEFINITION:
+ getComplexBehaviorDefinition().clear();
+ getComplexBehaviorDefinition().addAll(
+ (Collection<? extends ComplexBehaviorDefinition>) newValue);
+ return;
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__COMPLETION_CONDITION:
+ setCompletionCondition((Expression) newValue);
+ return;
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__BEHAVIOR:
+ setBehavior((MultiInstanceBehavior) newValue);
+ return;
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__IS_SEQUENTIAL:
+ setIsSequential((Boolean) newValue);
+ return;
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__NONE_BEHAVIOR_EVENT_REF:
+ setNoneBehaviorEventRef((EventDefinition) newValue);
+ return;
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__ONE_BEHAVIOR_EVENT_REF:
+ setOneBehaviorEventRef((EventDefinition) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__LOOP_CARDINALITY:
+ setLoopCardinality((Expression) null);
+ return;
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__LOOP_DATA_INPUT_REF:
+ setLoopDataInputRef((ItemAwareElement) null);
+ return;
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__LOOP_DATA_OUTPUT_REF:
+ setLoopDataOutputRef((ItemAwareElement) null);
+ return;
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__INPUT_DATA_ITEM:
+ setInputDataItem((DataInput) null);
+ return;
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__OUTPUT_DATA_ITEM:
+ setOutputDataItem((DataOutput) null);
+ return;
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__COMPLEX_BEHAVIOR_DEFINITION:
+ getComplexBehaviorDefinition().clear();
+ return;
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__COMPLETION_CONDITION:
+ setCompletionCondition((Expression) null);
+ return;
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__BEHAVIOR:
+ setBehavior(BEHAVIOR_EDEFAULT);
+ return;
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__IS_SEQUENTIAL:
+ setIsSequential(IS_SEQUENTIAL_EDEFAULT);
+ return;
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__NONE_BEHAVIOR_EVENT_REF:
+ setNoneBehaviorEventRef((EventDefinition) null);
+ return;
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__ONE_BEHAVIOR_EVENT_REF:
+ setOneBehaviorEventRef((EventDefinition) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__LOOP_CARDINALITY:
+ return loopCardinality != null;
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__LOOP_DATA_INPUT_REF:
+ return loopDataInputRef != null;
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__LOOP_DATA_OUTPUT_REF:
+ return loopDataOutputRef != null;
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__INPUT_DATA_ITEM:
+ return inputDataItem != null;
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__OUTPUT_DATA_ITEM:
+ return outputDataItem != null;
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__COMPLEX_BEHAVIOR_DEFINITION:
+ return complexBehaviorDefinition != null
+ && !complexBehaviorDefinition.isEmpty();
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__COMPLETION_CONDITION:
+ return completionCondition != null;
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__BEHAVIOR:
+ return behavior != BEHAVIOR_EDEFAULT;
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__IS_SEQUENTIAL:
+ return isSequential != IS_SEQUENTIAL_EDEFAULT;
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__NONE_BEHAVIOR_EVENT_REF:
+ return noneBehaviorEventRef != null;
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS__ONE_BEHAVIOR_EVENT_REF:
+ return oneBehaviorEventRef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (behavior: ");
+ result.append(behavior);
+ result.append(", isSequential: ");
+ result.append(isSequential);
+ result.append(')');
+ return result.toString();
+ }
+
+} //MultiInstanceLoopCharacteristicsImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/OperationImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/OperationImpl.java
new file mode 100644
index 000000000..8f290310a
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/OperationImpl.java
@@ -0,0 +1,420 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Message;
+import org.eclipse.bpmn2.Operation;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Operation</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.OperationImpl#getInMessageRef <em>In Message Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.OperationImpl#getOutMessageRef <em>Out Message Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.OperationImpl#getErrorRefs <em>Error Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.OperationImpl#getImplementationRef <em>Implementation Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.OperationImpl#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class OperationImpl extends BaseElementImpl implements Operation {
+ /**
+ * The cached value of the '{@link #getInMessageRef() <em>In Message Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getInMessageRef()
+ * @generated
+ * @ordered
+ */
+ protected Message inMessageRef;
+
+ /**
+ * The cached value of the '{@link #getOutMessageRef() <em>Out Message Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOutMessageRef()
+ * @generated
+ * @ordered
+ */
+ protected Message outMessageRef;
+
+ /**
+ * The cached value of the '{@link #getErrorRefs() <em>Error Refs</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getErrorRefs()
+ * @generated
+ * @ordered
+ */
+ protected EList<org.eclipse.bpmn2.Error> errorRefs;
+
+ /**
+ * The cached value of the '{@link #getImplementationRef() <em>Implementation Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getImplementationRef()
+ * @generated
+ * @ordered
+ */
+ protected EObject implementationRef;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected OperationImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.OPERATION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Message getInMessageRef() {
+ if (inMessageRef != null && inMessageRef.eIsProxy()) {
+ InternalEObject oldInMessageRef = (InternalEObject) inMessageRef;
+ inMessageRef = (Message) eResolveProxy(oldInMessageRef);
+ if (inMessageRef != oldInMessageRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.OPERATION__IN_MESSAGE_REF,
+ oldInMessageRef, inMessageRef));
+ }
+ }
+ return inMessageRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Message basicGetInMessageRef() {
+ return inMessageRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setInMessageRef(Message newInMessageRef) {
+ Message oldInMessageRef = inMessageRef;
+ inMessageRef = newInMessageRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.OPERATION__IN_MESSAGE_REF, oldInMessageRef,
+ inMessageRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Message getOutMessageRef() {
+ if (outMessageRef != null && outMessageRef.eIsProxy()) {
+ InternalEObject oldOutMessageRef = (InternalEObject) outMessageRef;
+ outMessageRef = (Message) eResolveProxy(oldOutMessageRef);
+ if (outMessageRef != oldOutMessageRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.OPERATION__OUT_MESSAGE_REF,
+ oldOutMessageRef, outMessageRef));
+ }
+ }
+ return outMessageRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Message basicGetOutMessageRef() {
+ return outMessageRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setOutMessageRef(Message newOutMessageRef) {
+ Message oldOutMessageRef = outMessageRef;
+ outMessageRef = newOutMessageRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.OPERATION__OUT_MESSAGE_REF, oldOutMessageRef,
+ outMessageRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<org.eclipse.bpmn2.Error> getErrorRefs() {
+ if (errorRefs == null) {
+ errorRefs = new EObjectResolvingEList<org.eclipse.bpmn2.Error>(
+ org.eclipse.bpmn2.Error.class, this,
+ Bpmn2Package.OPERATION__ERROR_REFS);
+ }
+ return errorRefs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Object getImplementationRef() {
+ if (implementationRef != null && implementationRef.eIsProxy()) {
+ InternalEObject oldImplementationRef = (InternalEObject) implementationRef;
+ implementationRef = eResolveProxy(oldImplementationRef);
+ if (implementationRef != oldImplementationRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.OPERATION__IMPLEMENTATION_REF,
+ oldImplementationRef, implementationRef));
+ }
+ }
+ return implementationRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Object basicGetImplementationRef() {
+ return implementationRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setImplementationRef(Object newImplementationRef) {
+ Object oldImplementationRef = implementationRef;
+ implementationRef = (EObject) newImplementationRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.OPERATION__IMPLEMENTATION_REF,
+ oldImplementationRef, implementationRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.OPERATION__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.OPERATION__IN_MESSAGE_REF:
+ if (resolve)
+ return getInMessageRef();
+ return basicGetInMessageRef();
+ case Bpmn2Package.OPERATION__OUT_MESSAGE_REF:
+ if (resolve)
+ return getOutMessageRef();
+ return basicGetOutMessageRef();
+ case Bpmn2Package.OPERATION__ERROR_REFS:
+ return getErrorRefs();
+ case Bpmn2Package.OPERATION__IMPLEMENTATION_REF:
+ if (resolve)
+ return getImplementationRef();
+ return basicGetImplementationRef();
+ case Bpmn2Package.OPERATION__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.OPERATION__IN_MESSAGE_REF:
+ setInMessageRef((Message) newValue);
+ return;
+ case Bpmn2Package.OPERATION__OUT_MESSAGE_REF:
+ setOutMessageRef((Message) newValue);
+ return;
+ case Bpmn2Package.OPERATION__ERROR_REFS:
+ getErrorRefs().clear();
+ getErrorRefs().addAll(
+ (Collection<? extends org.eclipse.bpmn2.Error>) newValue);
+ return;
+ case Bpmn2Package.OPERATION__IMPLEMENTATION_REF:
+ setImplementationRef((Object) newValue);
+ return;
+ case Bpmn2Package.OPERATION__NAME:
+ setName((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.OPERATION__IN_MESSAGE_REF:
+ setInMessageRef((Message) null);
+ return;
+ case Bpmn2Package.OPERATION__OUT_MESSAGE_REF:
+ setOutMessageRef((Message) null);
+ return;
+ case Bpmn2Package.OPERATION__ERROR_REFS:
+ getErrorRefs().clear();
+ return;
+ case Bpmn2Package.OPERATION__IMPLEMENTATION_REF:
+ setImplementationRef((Object) null);
+ return;
+ case Bpmn2Package.OPERATION__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.OPERATION__IN_MESSAGE_REF:
+ return inMessageRef != null;
+ case Bpmn2Package.OPERATION__OUT_MESSAGE_REF:
+ return outMessageRef != null;
+ case Bpmn2Package.OPERATION__ERROR_REFS:
+ return errorRefs != null && !errorRefs.isEmpty();
+ case Bpmn2Package.OPERATION__IMPLEMENTATION_REF:
+ return implementationRef != null;
+ case Bpmn2Package.OPERATION__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
+ .equals(name);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //OperationImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/OutputSetImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/OutputSetImpl.java
new file mode 100644
index 000000000..40b308afe
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/OutputSetImpl.java
@@ -0,0 +1,393 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.DataOutput;
+import org.eclipse.bpmn2.InputSet;
+import org.eclipse.bpmn2.OutputSet;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectWithInverseEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Output Set</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.OutputSetImpl#getDataOutputRefs <em>Data Output Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.OutputSetImpl#getOptionalOutputRefs <em>Optional Output Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.OutputSetImpl#getWhileExecutingOutputRefs <em>While Executing Output Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.OutputSetImpl#getInputSetRefs <em>Input Set Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.OutputSetImpl#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class OutputSetImpl extends BaseElementImpl implements OutputSet {
+ /**
+ * The cached value of the '{@link #getDataOutputRefs() <em>Data Output Refs</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDataOutputRefs()
+ * @generated
+ * @ordered
+ */
+ protected EList<DataOutput> dataOutputRefs;
+
+ /**
+ * The cached value of the '{@link #getOptionalOutputRefs() <em>Optional Output Refs</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOptionalOutputRefs()
+ * @generated
+ * @ordered
+ */
+ protected EList<DataOutput> optionalOutputRefs;
+
+ /**
+ * The cached value of the '{@link #getWhileExecutingOutputRefs() <em>While Executing Output Refs</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getWhileExecutingOutputRefs()
+ * @generated
+ * @ordered
+ */
+ protected EList<DataOutput> whileExecutingOutputRefs;
+
+ /**
+ * The cached value of the '{@link #getInputSetRefs() <em>Input Set Refs</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getInputSetRefs()
+ * @generated
+ * @ordered
+ */
+ protected EList<InputSet> inputSetRefs;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected OutputSetImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.OUTPUT_SET;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<DataOutput> getDataOutputRefs() {
+ if (dataOutputRefs == null) {
+ dataOutputRefs = new EObjectWithInverseEList.ManyInverse<DataOutput>(
+ DataOutput.class, this,
+ Bpmn2Package.OUTPUT_SET__DATA_OUTPUT_REFS,
+ Bpmn2Package.DATA_OUTPUT__OUTPUT_SET_REFS);
+ }
+ return dataOutputRefs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<DataOutput> getOptionalOutputRefs() {
+ if (optionalOutputRefs == null) {
+ optionalOutputRefs = new EObjectWithInverseEList.ManyInverse<DataOutput>(
+ DataOutput.class, this,
+ Bpmn2Package.OUTPUT_SET__OPTIONAL_OUTPUT_REFS,
+ Bpmn2Package.DATA_OUTPUT__OUTPUT_SET_WITH_OPTIONAL);
+ }
+ return optionalOutputRefs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<DataOutput> getWhileExecutingOutputRefs() {
+ if (whileExecutingOutputRefs == null) {
+ whileExecutingOutputRefs = new EObjectWithInverseEList.ManyInverse<DataOutput>(
+ DataOutput.class, this,
+ Bpmn2Package.OUTPUT_SET__WHILE_EXECUTING_OUTPUT_REFS,
+ Bpmn2Package.DATA_OUTPUT__OUTPUT_SET_WITH_WHILE_EXECUTING);
+ }
+ return whileExecutingOutputRefs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<InputSet> getInputSetRefs() {
+ if (inputSetRefs == null) {
+ inputSetRefs = new EObjectWithInverseEList.ManyInverse<InputSet>(
+ InputSet.class, this,
+ Bpmn2Package.OUTPUT_SET__INPUT_SET_REFS,
+ Bpmn2Package.INPUT_SET__OUTPUT_SET_REFS);
+ }
+ return inputSetRefs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.OUTPUT_SET__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public NotificationChain eInverseAdd(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.OUTPUT_SET__DATA_OUTPUT_REFS:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getDataOutputRefs())
+ .basicAdd(otherEnd, msgs);
+ case Bpmn2Package.OUTPUT_SET__OPTIONAL_OUTPUT_REFS:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getOptionalOutputRefs())
+ .basicAdd(otherEnd, msgs);
+ case Bpmn2Package.OUTPUT_SET__WHILE_EXECUTING_OUTPUT_REFS:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getWhileExecutingOutputRefs())
+ .basicAdd(otherEnd, msgs);
+ case Bpmn2Package.OUTPUT_SET__INPUT_SET_REFS:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getInputSetRefs())
+ .basicAdd(otherEnd, msgs);
+ }
+ return super.eInverseAdd(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.OUTPUT_SET__DATA_OUTPUT_REFS:
+ return ((InternalEList<?>) getDataOutputRefs()).basicRemove(
+ otherEnd, msgs);
+ case Bpmn2Package.OUTPUT_SET__OPTIONAL_OUTPUT_REFS:
+ return ((InternalEList<?>) getOptionalOutputRefs()).basicRemove(
+ otherEnd, msgs);
+ case Bpmn2Package.OUTPUT_SET__WHILE_EXECUTING_OUTPUT_REFS:
+ return ((InternalEList<?>) getWhileExecutingOutputRefs())
+ .basicRemove(otherEnd, msgs);
+ case Bpmn2Package.OUTPUT_SET__INPUT_SET_REFS:
+ return ((InternalEList<?>) getInputSetRefs()).basicRemove(otherEnd,
+ msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.OUTPUT_SET__DATA_OUTPUT_REFS:
+ return getDataOutputRefs();
+ case Bpmn2Package.OUTPUT_SET__OPTIONAL_OUTPUT_REFS:
+ return getOptionalOutputRefs();
+ case Bpmn2Package.OUTPUT_SET__WHILE_EXECUTING_OUTPUT_REFS:
+ return getWhileExecutingOutputRefs();
+ case Bpmn2Package.OUTPUT_SET__INPUT_SET_REFS:
+ return getInputSetRefs();
+ case Bpmn2Package.OUTPUT_SET__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.OUTPUT_SET__DATA_OUTPUT_REFS:
+ getDataOutputRefs().clear();
+ getDataOutputRefs().addAll(
+ (Collection<? extends DataOutput>) newValue);
+ return;
+ case Bpmn2Package.OUTPUT_SET__OPTIONAL_OUTPUT_REFS:
+ getOptionalOutputRefs().clear();
+ getOptionalOutputRefs().addAll(
+ (Collection<? extends DataOutput>) newValue);
+ return;
+ case Bpmn2Package.OUTPUT_SET__WHILE_EXECUTING_OUTPUT_REFS:
+ getWhileExecutingOutputRefs().clear();
+ getWhileExecutingOutputRefs().addAll(
+ (Collection<? extends DataOutput>) newValue);
+ return;
+ case Bpmn2Package.OUTPUT_SET__INPUT_SET_REFS:
+ getInputSetRefs().clear();
+ getInputSetRefs().addAll((Collection<? extends InputSet>) newValue);
+ return;
+ case Bpmn2Package.OUTPUT_SET__NAME:
+ setName((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.OUTPUT_SET__DATA_OUTPUT_REFS:
+ getDataOutputRefs().clear();
+ return;
+ case Bpmn2Package.OUTPUT_SET__OPTIONAL_OUTPUT_REFS:
+ getOptionalOutputRefs().clear();
+ return;
+ case Bpmn2Package.OUTPUT_SET__WHILE_EXECUTING_OUTPUT_REFS:
+ getWhileExecutingOutputRefs().clear();
+ return;
+ case Bpmn2Package.OUTPUT_SET__INPUT_SET_REFS:
+ getInputSetRefs().clear();
+ return;
+ case Bpmn2Package.OUTPUT_SET__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.OUTPUT_SET__DATA_OUTPUT_REFS:
+ return dataOutputRefs != null && !dataOutputRefs.isEmpty();
+ case Bpmn2Package.OUTPUT_SET__OPTIONAL_OUTPUT_REFS:
+ return optionalOutputRefs != null && !optionalOutputRefs.isEmpty();
+ case Bpmn2Package.OUTPUT_SET__WHILE_EXECUTING_OUTPUT_REFS:
+ return whileExecutingOutputRefs != null
+ && !whileExecutingOutputRefs.isEmpty();
+ case Bpmn2Package.OUTPUT_SET__INPUT_SET_REFS:
+ return inputSetRefs != null && !inputSetRefs.isEmpty();
+ case Bpmn2Package.OUTPUT_SET__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
+ .equals(name);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //OutputSetImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ParallelGatewayImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ParallelGatewayImpl.java
new file mode 100644
index 000000000..b86c113c4
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ParallelGatewayImpl.java
@@ -0,0 +1,51 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.ParallelGateway;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Parallel Gateway</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class ParallelGatewayImpl extends GatewayImpl implements ParallelGateway {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ParallelGatewayImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.PARALLEL_GATEWAY;
+ }
+
+} //ParallelGatewayImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ParticipantAssociationImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ParticipantAssociationImpl.java
new file mode 100644
index 000000000..a93c61176
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ParticipantAssociationImpl.java
@@ -0,0 +1,247 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Participant;
+import org.eclipse.bpmn2.ParticipantAssociation;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Participant Association</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.ParticipantAssociationImpl#getInnerParticipantRef <em>Inner Participant Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ParticipantAssociationImpl#getOuterParticipantRef <em>Outer Participant Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ParticipantAssociationImpl extends BaseElementImpl implements
+ ParticipantAssociation {
+ /**
+ * The cached value of the '{@link #getInnerParticipantRef() <em>Inner Participant Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getInnerParticipantRef()
+ * @generated
+ * @ordered
+ */
+ protected Participant innerParticipantRef;
+
+ /**
+ * The cached value of the '{@link #getOuterParticipantRef() <em>Outer Participant Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOuterParticipantRef()
+ * @generated
+ * @ordered
+ */
+ protected Participant outerParticipantRef;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ParticipantAssociationImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.PARTICIPANT_ASSOCIATION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Participant getInnerParticipantRef() {
+ if (innerParticipantRef != null && innerParticipantRef.eIsProxy()) {
+ InternalEObject oldInnerParticipantRef = (InternalEObject) innerParticipantRef;
+ innerParticipantRef = (Participant) eResolveProxy(oldInnerParticipantRef);
+ if (innerParticipantRef != oldInnerParticipantRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.RESOLVE,
+ Bpmn2Package.PARTICIPANT_ASSOCIATION__INNER_PARTICIPANT_REF,
+ oldInnerParticipantRef, innerParticipantRef));
+ }
+ }
+ return innerParticipantRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Participant basicGetInnerParticipantRef() {
+ return innerParticipantRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setInnerParticipantRef(Participant newInnerParticipantRef) {
+ Participant oldInnerParticipantRef = innerParticipantRef;
+ innerParticipantRef = newInnerParticipantRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.SET,
+ Bpmn2Package.PARTICIPANT_ASSOCIATION__INNER_PARTICIPANT_REF,
+ oldInnerParticipantRef, innerParticipantRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Participant getOuterParticipantRef() {
+ if (outerParticipantRef != null && outerParticipantRef.eIsProxy()) {
+ InternalEObject oldOuterParticipantRef = (InternalEObject) outerParticipantRef;
+ outerParticipantRef = (Participant) eResolveProxy(oldOuterParticipantRef);
+ if (outerParticipantRef != oldOuterParticipantRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.RESOLVE,
+ Bpmn2Package.PARTICIPANT_ASSOCIATION__OUTER_PARTICIPANT_REF,
+ oldOuterParticipantRef, outerParticipantRef));
+ }
+ }
+ return outerParticipantRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Participant basicGetOuterParticipantRef() {
+ return outerParticipantRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setOuterParticipantRef(Participant newOuterParticipantRef) {
+ Participant oldOuterParticipantRef = outerParticipantRef;
+ outerParticipantRef = newOuterParticipantRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.SET,
+ Bpmn2Package.PARTICIPANT_ASSOCIATION__OUTER_PARTICIPANT_REF,
+ oldOuterParticipantRef, outerParticipantRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.PARTICIPANT_ASSOCIATION__INNER_PARTICIPANT_REF:
+ if (resolve)
+ return getInnerParticipantRef();
+ return basicGetInnerParticipantRef();
+ case Bpmn2Package.PARTICIPANT_ASSOCIATION__OUTER_PARTICIPANT_REF:
+ if (resolve)
+ return getOuterParticipantRef();
+ return basicGetOuterParticipantRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.PARTICIPANT_ASSOCIATION__INNER_PARTICIPANT_REF:
+ setInnerParticipantRef((Participant) newValue);
+ return;
+ case Bpmn2Package.PARTICIPANT_ASSOCIATION__OUTER_PARTICIPANT_REF:
+ setOuterParticipantRef((Participant) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.PARTICIPANT_ASSOCIATION__INNER_PARTICIPANT_REF:
+ setInnerParticipantRef((Participant) null);
+ return;
+ case Bpmn2Package.PARTICIPANT_ASSOCIATION__OUTER_PARTICIPANT_REF:
+ setOuterParticipantRef((Participant) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.PARTICIPANT_ASSOCIATION__INNER_PARTICIPANT_REF:
+ return innerParticipantRef != null;
+ case Bpmn2Package.PARTICIPANT_ASSOCIATION__OUTER_PARTICIPANT_REF:
+ return outerParticipantRef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //ParticipantAssociationImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ParticipantImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ParticipantImpl.java
new file mode 100644
index 000000000..b1421ece9
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ParticipantImpl.java
@@ -0,0 +1,506 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.ConversationLink;
+import org.eclipse.bpmn2.EndPoint;
+import org.eclipse.bpmn2.InteractionNode;
+import org.eclipse.bpmn2.Interface;
+import org.eclipse.bpmn2.Participant;
+import org.eclipse.bpmn2.ParticipantMultiplicity;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Participant</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.ParticipantImpl#getIncomingConversationLinks <em>Incoming Conversation Links</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ParticipantImpl#getOutgoingConversationLinks <em>Outgoing Conversation Links</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ParticipantImpl#getInterfaceRefs <em>Interface Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ParticipantImpl#getEndPointRefs <em>End Point Refs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ParticipantImpl#getParticipantMultiplicity <em>Participant Multiplicity</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ParticipantImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ParticipantImpl#getProcessRef <em>Process Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ParticipantImpl extends BaseElementImpl implements Participant {
+ /**
+ * The cached value of the '{@link #getInterfaceRefs() <em>Interface Refs</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getInterfaceRefs()
+ * @generated
+ * @ordered
+ */
+ protected EList<Interface> interfaceRefs;
+
+ /**
+ * The cached value of the '{@link #getEndPointRefs() <em>End Point Refs</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getEndPointRefs()
+ * @generated
+ * @ordered
+ */
+ protected EList<EndPoint> endPointRefs;
+
+ /**
+ * The cached value of the '{@link #getParticipantMultiplicity() <em>Participant Multiplicity</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getParticipantMultiplicity()
+ * @generated
+ * @ordered
+ */
+ protected ParticipantMultiplicity participantMultiplicity;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getProcessRef() <em>Process Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getProcessRef()
+ * @generated
+ * @ordered
+ */
+ protected org.eclipse.bpmn2.Process processRef;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ParticipantImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.PARTICIPANT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<ConversationLink> getIncomingConversationLinks() {
+ // TODO: implement this method to return the 'Incoming Conversation Links' reference list
+ // Ensure that you remove @generated or mark it @generated NOT
+ // The list is expected to implement org.eclipse.emf.ecore.util.InternalEList and org.eclipse.emf.ecore.EStructuralFeature.Setting
+ // so it's likely that an appropriate subclass of org.eclipse.emf.ecore.util.EcoreEList should be used.
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<ConversationLink> getOutgoingConversationLinks() {
+ // TODO: implement this method to return the 'Outgoing Conversation Links' reference list
+ // Ensure that you remove @generated or mark it @generated NOT
+ // The list is expected to implement org.eclipse.emf.ecore.util.InternalEList and org.eclipse.emf.ecore.EStructuralFeature.Setting
+ // so it's likely that an appropriate subclass of org.eclipse.emf.ecore.util.EcoreEList should be used.
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<Interface> getInterfaceRefs() {
+ if (interfaceRefs == null) {
+ interfaceRefs = new EObjectResolvingEList<Interface>(
+ Interface.class, this,
+ Bpmn2Package.PARTICIPANT__INTERFACE_REFS);
+ }
+ return interfaceRefs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<EndPoint> getEndPointRefs() {
+ if (endPointRefs == null) {
+ endPointRefs = new EObjectResolvingEList<EndPoint>(EndPoint.class,
+ this, Bpmn2Package.PARTICIPANT__END_POINT_REFS);
+ }
+ return endPointRefs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ParticipantMultiplicity getParticipantMultiplicity() {
+ return participantMultiplicity;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetParticipantMultiplicity(
+ ParticipantMultiplicity newParticipantMultiplicity,
+ NotificationChain msgs) {
+ ParticipantMultiplicity oldParticipantMultiplicity = participantMultiplicity;
+ participantMultiplicity = newParticipantMultiplicity;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET,
+ Bpmn2Package.PARTICIPANT__PARTICIPANT_MULTIPLICITY,
+ oldParticipantMultiplicity, newParticipantMultiplicity);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setParticipantMultiplicity(
+ ParticipantMultiplicity newParticipantMultiplicity) {
+ if (newParticipantMultiplicity != participantMultiplicity) {
+ NotificationChain msgs = null;
+ if (participantMultiplicity != null)
+ msgs = ((InternalEObject) participantMultiplicity)
+ .eInverseRemove(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.PARTICIPANT__PARTICIPANT_MULTIPLICITY,
+ null, msgs);
+ if (newParticipantMultiplicity != null)
+ msgs = ((InternalEObject) newParticipantMultiplicity)
+ .eInverseAdd(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.PARTICIPANT__PARTICIPANT_MULTIPLICITY,
+ null, msgs);
+ msgs = basicSetParticipantMultiplicity(newParticipantMultiplicity,
+ msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.PARTICIPANT__PARTICIPANT_MULTIPLICITY,
+ newParticipantMultiplicity, newParticipantMultiplicity));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.PARTICIPANT__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public org.eclipse.bpmn2.Process getProcessRef() {
+ if (processRef != null && processRef.eIsProxy()) {
+ InternalEObject oldProcessRef = (InternalEObject) processRef;
+ processRef = (org.eclipse.bpmn2.Process) eResolveProxy(oldProcessRef);
+ if (processRef != oldProcessRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.PARTICIPANT__PROCESS_REF,
+ oldProcessRef, processRef));
+ }
+ }
+ return processRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public org.eclipse.bpmn2.Process basicGetProcessRef() {
+ return processRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setProcessRef(org.eclipse.bpmn2.Process newProcessRef) {
+ org.eclipse.bpmn2.Process oldProcessRef = processRef;
+ processRef = newProcessRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.PARTICIPANT__PROCESS_REF, oldProcessRef,
+ processRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.PARTICIPANT__PARTICIPANT_MULTIPLICITY:
+ return basicSetParticipantMultiplicity(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.PARTICIPANT__INCOMING_CONVERSATION_LINKS:
+ return getIncomingConversationLinks();
+ case Bpmn2Package.PARTICIPANT__OUTGOING_CONVERSATION_LINKS:
+ return getOutgoingConversationLinks();
+ case Bpmn2Package.PARTICIPANT__INTERFACE_REFS:
+ return getInterfaceRefs();
+ case Bpmn2Package.PARTICIPANT__END_POINT_REFS:
+ return getEndPointRefs();
+ case Bpmn2Package.PARTICIPANT__PARTICIPANT_MULTIPLICITY:
+ return getParticipantMultiplicity();
+ case Bpmn2Package.PARTICIPANT__NAME:
+ return getName();
+ case Bpmn2Package.PARTICIPANT__PROCESS_REF:
+ if (resolve)
+ return getProcessRef();
+ return basicGetProcessRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.PARTICIPANT__INTERFACE_REFS:
+ getInterfaceRefs().clear();
+ getInterfaceRefs().addAll(
+ (Collection<? extends Interface>) newValue);
+ return;
+ case Bpmn2Package.PARTICIPANT__END_POINT_REFS:
+ getEndPointRefs().clear();
+ getEndPointRefs().addAll((Collection<? extends EndPoint>) newValue);
+ return;
+ case Bpmn2Package.PARTICIPANT__PARTICIPANT_MULTIPLICITY:
+ setParticipantMultiplicity((ParticipantMultiplicity) newValue);
+ return;
+ case Bpmn2Package.PARTICIPANT__NAME:
+ setName((String) newValue);
+ return;
+ case Bpmn2Package.PARTICIPANT__PROCESS_REF:
+ setProcessRef((org.eclipse.bpmn2.Process) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.PARTICIPANT__INTERFACE_REFS:
+ getInterfaceRefs().clear();
+ return;
+ case Bpmn2Package.PARTICIPANT__END_POINT_REFS:
+ getEndPointRefs().clear();
+ return;
+ case Bpmn2Package.PARTICIPANT__PARTICIPANT_MULTIPLICITY:
+ setParticipantMultiplicity((ParticipantMultiplicity) null);
+ return;
+ case Bpmn2Package.PARTICIPANT__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case Bpmn2Package.PARTICIPANT__PROCESS_REF:
+ setProcessRef((org.eclipse.bpmn2.Process) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.PARTICIPANT__INCOMING_CONVERSATION_LINKS:
+ return !getIncomingConversationLinks().isEmpty();
+ case Bpmn2Package.PARTICIPANT__OUTGOING_CONVERSATION_LINKS:
+ return !getOutgoingConversationLinks().isEmpty();
+ case Bpmn2Package.PARTICIPANT__INTERFACE_REFS:
+ return interfaceRefs != null && !interfaceRefs.isEmpty();
+ case Bpmn2Package.PARTICIPANT__END_POINT_REFS:
+ return endPointRefs != null && !endPointRefs.isEmpty();
+ case Bpmn2Package.PARTICIPANT__PARTICIPANT_MULTIPLICITY:
+ return participantMultiplicity != null;
+ case Bpmn2Package.PARTICIPANT__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
+ .equals(name);
+ case Bpmn2Package.PARTICIPANT__PROCESS_REF:
+ return processRef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
+ if (baseClass == InteractionNode.class) {
+ switch (derivedFeatureID) {
+ case Bpmn2Package.PARTICIPANT__INCOMING_CONVERSATION_LINKS:
+ return Bpmn2Package.INTERACTION_NODE__INCOMING_CONVERSATION_LINKS;
+ case Bpmn2Package.PARTICIPANT__OUTGOING_CONVERSATION_LINKS:
+ return Bpmn2Package.INTERACTION_NODE__OUTGOING_CONVERSATION_LINKS;
+ default:
+ return -1;
+ }
+ }
+ return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
+ if (baseClass == InteractionNode.class) {
+ switch (baseFeatureID) {
+ case Bpmn2Package.INTERACTION_NODE__INCOMING_CONVERSATION_LINKS:
+ return Bpmn2Package.PARTICIPANT__INCOMING_CONVERSATION_LINKS;
+ case Bpmn2Package.INTERACTION_NODE__OUTGOING_CONVERSATION_LINKS:
+ return Bpmn2Package.PARTICIPANT__OUTGOING_CONVERSATION_LINKS;
+ default:
+ return -1;
+ }
+ }
+ return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ParticipantImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ParticipantMultiplicityImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ParticipantMultiplicityImpl.java
new file mode 100644
index 000000000..6a1c10863
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ParticipantMultiplicityImpl.java
@@ -0,0 +1,234 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.ParticipantMultiplicity;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Participant Multiplicity</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.ParticipantMultiplicityImpl#getMaximum <em>Maximum</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ParticipantMultiplicityImpl#getMinimum <em>Minimum</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ParticipantMultiplicityImpl extends BaseElementImpl implements
+ ParticipantMultiplicity {
+ /**
+ * The default value of the '{@link #getMaximum() <em>Maximum</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMaximum()
+ * @generated
+ * @ordered
+ */
+ protected static final int MAXIMUM_EDEFAULT = 1;
+
+ /**
+ * The cached value of the '{@link #getMaximum() <em>Maximum</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMaximum()
+ * @generated
+ * @ordered
+ */
+ protected int maximum = MAXIMUM_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getMinimum() <em>Minimum</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMinimum()
+ * @generated
+ * @ordered
+ */
+ protected static final int MINIMUM_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getMinimum() <em>Minimum</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMinimum()
+ * @generated
+ * @ordered
+ */
+ protected int minimum = MINIMUM_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ParticipantMultiplicityImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.PARTICIPANT_MULTIPLICITY;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getMaximum() {
+ return maximum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMaximum(int newMaximum) {
+ int oldMaximum = maximum;
+ maximum = newMaximum;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.PARTICIPANT_MULTIPLICITY__MAXIMUM, oldMaximum,
+ maximum));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getMinimum() {
+ return minimum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMinimum(int newMinimum) {
+ int oldMinimum = minimum;
+ minimum = newMinimum;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.PARTICIPANT_MULTIPLICITY__MINIMUM, oldMinimum,
+ minimum));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.PARTICIPANT_MULTIPLICITY__MAXIMUM:
+ return getMaximum();
+ case Bpmn2Package.PARTICIPANT_MULTIPLICITY__MINIMUM:
+ return getMinimum();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.PARTICIPANT_MULTIPLICITY__MAXIMUM:
+ setMaximum((Integer) newValue);
+ return;
+ case Bpmn2Package.PARTICIPANT_MULTIPLICITY__MINIMUM:
+ setMinimum((Integer) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.PARTICIPANT_MULTIPLICITY__MAXIMUM:
+ setMaximum(MAXIMUM_EDEFAULT);
+ return;
+ case Bpmn2Package.PARTICIPANT_MULTIPLICITY__MINIMUM:
+ setMinimum(MINIMUM_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.PARTICIPANT_MULTIPLICITY__MAXIMUM:
+ return maximum != MAXIMUM_EDEFAULT;
+ case Bpmn2Package.PARTICIPANT_MULTIPLICITY__MINIMUM:
+ return minimum != MINIMUM_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (maximum: ");
+ result.append(maximum);
+ result.append(", minimum: ");
+ result.append(minimum);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ParticipantMultiplicityImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/PartnerEntityImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/PartnerEntityImpl.java
new file mode 100644
index 000000000..538b308de
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/PartnerEntityImpl.java
@@ -0,0 +1,223 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Participant;
+import org.eclipse.bpmn2.PartnerEntity;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Partner Entity</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.PartnerEntityImpl#getParticipantRef <em>Participant Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.PartnerEntityImpl#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class PartnerEntityImpl extends RootElementImpl implements PartnerEntity {
+ /**
+ * The cached value of the '{@link #getParticipantRef() <em>Participant Ref</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getParticipantRef()
+ * @generated
+ * @ordered
+ */
+ protected EList<Participant> participantRef;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected PartnerEntityImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.PARTNER_ENTITY;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<Participant> getParticipantRef() {
+ if (participantRef == null) {
+ participantRef = new EObjectResolvingEList<Participant>(
+ Participant.class, this,
+ Bpmn2Package.PARTNER_ENTITY__PARTICIPANT_REF);
+ }
+ return participantRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.PARTNER_ENTITY__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.PARTNER_ENTITY__PARTICIPANT_REF:
+ return getParticipantRef();
+ case Bpmn2Package.PARTNER_ENTITY__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.PARTNER_ENTITY__PARTICIPANT_REF:
+ getParticipantRef().clear();
+ getParticipantRef().addAll(
+ (Collection<? extends Participant>) newValue);
+ return;
+ case Bpmn2Package.PARTNER_ENTITY__NAME:
+ setName((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.PARTNER_ENTITY__PARTICIPANT_REF:
+ getParticipantRef().clear();
+ return;
+ case Bpmn2Package.PARTNER_ENTITY__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.PARTNER_ENTITY__PARTICIPANT_REF:
+ return participantRef != null && !participantRef.isEmpty();
+ case Bpmn2Package.PARTNER_ENTITY__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
+ .equals(name);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //PartnerEntityImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/PartnerRoleImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/PartnerRoleImpl.java
new file mode 100644
index 000000000..f5bcf4a92
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/PartnerRoleImpl.java
@@ -0,0 +1,223 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Participant;
+import org.eclipse.bpmn2.PartnerRole;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Partner Role</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.PartnerRoleImpl#getParticipantRef <em>Participant Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.PartnerRoleImpl#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class PartnerRoleImpl extends RootElementImpl implements PartnerRole {
+ /**
+ * The cached value of the '{@link #getParticipantRef() <em>Participant Ref</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getParticipantRef()
+ * @generated
+ * @ordered
+ */
+ protected EList<Participant> participantRef;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected PartnerRoleImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.PARTNER_ROLE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<Participant> getParticipantRef() {
+ if (participantRef == null) {
+ participantRef = new EObjectResolvingEList<Participant>(
+ Participant.class, this,
+ Bpmn2Package.PARTNER_ROLE__PARTICIPANT_REF);
+ }
+ return participantRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.PARTNER_ROLE__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.PARTNER_ROLE__PARTICIPANT_REF:
+ return getParticipantRef();
+ case Bpmn2Package.PARTNER_ROLE__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.PARTNER_ROLE__PARTICIPANT_REF:
+ getParticipantRef().clear();
+ getParticipantRef().addAll(
+ (Collection<? extends Participant>) newValue);
+ return;
+ case Bpmn2Package.PARTNER_ROLE__NAME:
+ setName((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.PARTNER_ROLE__PARTICIPANT_REF:
+ getParticipantRef().clear();
+ return;
+ case Bpmn2Package.PARTNER_ROLE__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.PARTNER_ROLE__PARTICIPANT_REF:
+ return participantRef != null && !participantRef.isEmpty();
+ case Bpmn2Package.PARTNER_ROLE__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
+ .equals(name);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //PartnerRoleImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/PerformerImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/PerformerImpl.java
new file mode 100644
index 000000000..5ebcf217d
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/PerformerImpl.java
@@ -0,0 +1,51 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Performer;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Performer</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class PerformerImpl extends ResourceRoleImpl implements Performer {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected PerformerImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.PERFORMER;
+ }
+
+} //PerformerImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/PotentialOwnerImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/PotentialOwnerImpl.java
new file mode 100644
index 000000000..7b55fef5f
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/PotentialOwnerImpl.java
@@ -0,0 +1,52 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.PotentialOwner;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Potential Owner</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class PotentialOwnerImpl extends HumanPerformerImpl implements
+ PotentialOwner {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected PotentialOwnerImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.POTENTIAL_OWNER;
+ }
+
+} //PotentialOwnerImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ProcessImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ProcessImpl.java
new file mode 100644
index 000000000..570e2e573
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ProcessImpl.java
@@ -0,0 +1,862 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Artifact;
+import org.eclipse.bpmn2.Auditing;
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Collaboration;
+import org.eclipse.bpmn2.CorrelationSubscription;
+import org.eclipse.bpmn2.FlowElement;
+import org.eclipse.bpmn2.FlowElementsContainer;
+import org.eclipse.bpmn2.LaneSet;
+import org.eclipse.bpmn2.Monitoring;
+import org.eclipse.bpmn2.ProcessType;
+import org.eclipse.bpmn2.Property;
+import org.eclipse.bpmn2.ResourceRole;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Process</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.ProcessImpl#getLaneSets <em>Lane Sets</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ProcessImpl#getFlowElements <em>Flow Elements</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ProcessImpl#getAuditing <em>Auditing</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ProcessImpl#getMonitoring <em>Monitoring</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ProcessImpl#getProperties <em>Properties</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ProcessImpl#getArtifacts <em>Artifacts</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ProcessImpl#getResources <em>Resources</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ProcessImpl#getCorrelationSubscriptions <em>Correlation Subscriptions</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ProcessImpl#getSupports <em>Supports</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ProcessImpl#getDefinitionalCollaborationRef <em>Definitional Collaboration Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ProcessImpl#isIsClosed <em>Is Closed</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ProcessImpl#isIsExecutable <em>Is Executable</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ProcessImpl#getProcessType <em>Process Type</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ProcessImpl extends CallableElementImpl implements
+ org.eclipse.bpmn2.Process {
+ /**
+ * The cached value of the '{@link #getLaneSets() <em>Lane Sets</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLaneSets()
+ * @generated
+ * @ordered
+ */
+ protected EList<LaneSet> laneSets;
+
+ /**
+ * The cached value of the '{@link #getFlowElements() <em>Flow Elements</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFlowElements()
+ * @generated
+ * @ordered
+ */
+ protected EList<FlowElement> flowElements;
+
+ /**
+ * The cached value of the '{@link #getAuditing() <em>Auditing</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAuditing()
+ * @generated
+ * @ordered
+ */
+ protected Auditing auditing;
+
+ /**
+ * The cached value of the '{@link #getMonitoring() <em>Monitoring</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMonitoring()
+ * @generated
+ * @ordered
+ */
+ protected Monitoring monitoring;
+
+ /**
+ * The cached value of the '{@link #getProperties() <em>Properties</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getProperties()
+ * @generated
+ * @ordered
+ */
+ protected EList<Property> properties;
+
+ /**
+ * The cached value of the '{@link #getArtifacts() <em>Artifacts</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getArtifacts()
+ * @generated
+ * @ordered
+ */
+ protected EList<Artifact> artifacts;
+
+ /**
+ * The cached value of the '{@link #getResources() <em>Resources</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getResources()
+ * @generated
+ * @ordered
+ */
+ protected EList<ResourceRole> resources;
+
+ /**
+ * The cached value of the '{@link #getCorrelationSubscriptions() <em>Correlation Subscriptions</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCorrelationSubscriptions()
+ * @generated
+ * @ordered
+ */
+ protected EList<CorrelationSubscription> correlationSubscriptions;
+
+ /**
+ * The cached value of the '{@link #getSupports() <em>Supports</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSupports()
+ * @generated
+ * @ordered
+ */
+ protected EList<org.eclipse.bpmn2.Process> supports;
+
+ /**
+ * The cached value of the '{@link #getDefinitionalCollaborationRef() <em>Definitional Collaboration Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDefinitionalCollaborationRef()
+ * @generated
+ * @ordered
+ */
+ protected Collaboration definitionalCollaborationRef;
+
+ /**
+ * The default value of the '{@link #isIsClosed() <em>Is Closed</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsClosed()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean IS_CLOSED_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isIsClosed() <em>Is Closed</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsClosed()
+ * @generated
+ * @ordered
+ */
+ protected boolean isClosed = IS_CLOSED_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #isIsExecutable() <em>Is Executable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsExecutable()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean IS_EXECUTABLE_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isIsExecutable() <em>Is Executable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsExecutable()
+ * @generated
+ * @ordered
+ */
+ protected boolean isExecutable = IS_EXECUTABLE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getProcessType() <em>Process Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getProcessType()
+ * @generated
+ * @ordered
+ */
+ protected static final ProcessType PROCESS_TYPE_EDEFAULT = ProcessType.NONE;
+
+ /**
+ * The cached value of the '{@link #getProcessType() <em>Process Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getProcessType()
+ * @generated
+ * @ordered
+ */
+ protected ProcessType processType = PROCESS_TYPE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ProcessImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.PROCESS;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<LaneSet> getLaneSets() {
+ if (laneSets == null) {
+ laneSets = new EObjectContainmentEList<LaneSet>(LaneSet.class,
+ this, Bpmn2Package.PROCESS__LANE_SETS);
+ }
+ return laneSets;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<FlowElement> getFlowElements() {
+ if (flowElements == null) {
+ flowElements = new EObjectContainmentEList<FlowElement>(
+ FlowElement.class, this,
+ Bpmn2Package.PROCESS__FLOW_ELEMENTS);
+ }
+ return flowElements;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Auditing getAuditing() {
+ return auditing;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetAuditing(Auditing newAuditing,
+ NotificationChain msgs) {
+ Auditing oldAuditing = auditing;
+ auditing = newAuditing;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET, Bpmn2Package.PROCESS__AUDITING,
+ oldAuditing, newAuditing);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAuditing(Auditing newAuditing) {
+ if (newAuditing != auditing) {
+ NotificationChain msgs = null;
+ if (auditing != null)
+ msgs = ((InternalEObject) auditing)
+ .eInverseRemove(this, EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.PROCESS__AUDITING, null, msgs);
+ if (newAuditing != null)
+ msgs = ((InternalEObject) newAuditing)
+ .eInverseAdd(this, EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.PROCESS__AUDITING, null, msgs);
+ msgs = basicSetAuditing(newAuditing, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.PROCESS__AUDITING, newAuditing, newAuditing));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Monitoring getMonitoring() {
+ return monitoring;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetMonitoring(Monitoring newMonitoring,
+ NotificationChain msgs) {
+ Monitoring oldMonitoring = monitoring;
+ monitoring = newMonitoring;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET, Bpmn2Package.PROCESS__MONITORING,
+ oldMonitoring, newMonitoring);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMonitoring(Monitoring newMonitoring) {
+ if (newMonitoring != monitoring) {
+ NotificationChain msgs = null;
+ if (monitoring != null)
+ msgs = ((InternalEObject) monitoring).eInverseRemove(this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.PROCESS__MONITORING, null, msgs);
+ if (newMonitoring != null)
+ msgs = ((InternalEObject) newMonitoring).eInverseAdd(this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.PROCESS__MONITORING, null, msgs);
+ msgs = basicSetMonitoring(newMonitoring, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.PROCESS__MONITORING, newMonitoring,
+ newMonitoring));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<Property> getProperties() {
+ if (properties == null) {
+ properties = new EObjectContainmentEList<Property>(Property.class,
+ this, Bpmn2Package.PROCESS__PROPERTIES);
+ }
+ return properties;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<Artifact> getArtifacts() {
+ if (artifacts == null) {
+ artifacts = new EObjectContainmentEList<Artifact>(Artifact.class,
+ this, Bpmn2Package.PROCESS__ARTIFACTS);
+ }
+ return artifacts;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<ResourceRole> getResources() {
+ if (resources == null) {
+ resources = new EObjectContainmentEList<ResourceRole>(
+ ResourceRole.class, this, Bpmn2Package.PROCESS__RESOURCES);
+ }
+ return resources;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<CorrelationSubscription> getCorrelationSubscriptions() {
+ if (correlationSubscriptions == null) {
+ correlationSubscriptions = new EObjectContainmentEList<CorrelationSubscription>(
+ CorrelationSubscription.class, this,
+ Bpmn2Package.PROCESS__CORRELATION_SUBSCRIPTIONS);
+ }
+ return correlationSubscriptions;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<org.eclipse.bpmn2.Process> getSupports() {
+ if (supports == null) {
+ supports = new EObjectResolvingEList<org.eclipse.bpmn2.Process>(
+ org.eclipse.bpmn2.Process.class, this,
+ Bpmn2Package.PROCESS__SUPPORTS);
+ }
+ return supports;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Collaboration getDefinitionalCollaborationRef() {
+ if (definitionalCollaborationRef != null
+ && definitionalCollaborationRef.eIsProxy()) {
+ InternalEObject oldDefinitionalCollaborationRef = (InternalEObject) definitionalCollaborationRef;
+ definitionalCollaborationRef = (Collaboration) eResolveProxy(oldDefinitionalCollaborationRef);
+ if (definitionalCollaborationRef != oldDefinitionalCollaborationRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.RESOLVE,
+ Bpmn2Package.PROCESS__DEFINITIONAL_COLLABORATION_REF,
+ oldDefinitionalCollaborationRef,
+ definitionalCollaborationRef));
+ }
+ }
+ return definitionalCollaborationRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Collaboration basicGetDefinitionalCollaborationRef() {
+ return definitionalCollaborationRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDefinitionalCollaborationRef(
+ Collaboration newDefinitionalCollaborationRef) {
+ Collaboration oldDefinitionalCollaborationRef = definitionalCollaborationRef;
+ definitionalCollaborationRef = newDefinitionalCollaborationRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.PROCESS__DEFINITIONAL_COLLABORATION_REF,
+ oldDefinitionalCollaborationRef,
+ definitionalCollaborationRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isIsClosed() {
+ return isClosed;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIsClosed(boolean newIsClosed) {
+ boolean oldIsClosed = isClosed;
+ isClosed = newIsClosed;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.PROCESS__IS_CLOSED, oldIsClosed, isClosed));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isIsExecutable() {
+ return isExecutable;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIsExecutable(boolean newIsExecutable) {
+ boolean oldIsExecutable = isExecutable;
+ isExecutable = newIsExecutable;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.PROCESS__IS_EXECUTABLE, oldIsExecutable,
+ isExecutable));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ProcessType getProcessType() {
+ return processType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setProcessType(ProcessType newProcessType) {
+ ProcessType oldProcessType = processType;
+ processType = newProcessType == null ? PROCESS_TYPE_EDEFAULT
+ : newProcessType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.PROCESS__PROCESS_TYPE, oldProcessType,
+ processType));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.PROCESS__LANE_SETS:
+ return ((InternalEList<?>) getLaneSets()).basicRemove(otherEnd,
+ msgs);
+ case Bpmn2Package.PROCESS__FLOW_ELEMENTS:
+ return ((InternalEList<?>) getFlowElements()).basicRemove(otherEnd,
+ msgs);
+ case Bpmn2Package.PROCESS__AUDITING:
+ return basicSetAuditing(null, msgs);
+ case Bpmn2Package.PROCESS__MONITORING:
+ return basicSetMonitoring(null, msgs);
+ case Bpmn2Package.PROCESS__PROPERTIES:
+ return ((InternalEList<?>) getProperties()).basicRemove(otherEnd,
+ msgs);
+ case Bpmn2Package.PROCESS__ARTIFACTS:
+ return ((InternalEList<?>) getArtifacts()).basicRemove(otherEnd,
+ msgs);
+ case Bpmn2Package.PROCESS__RESOURCES:
+ return ((InternalEList<?>) getResources()).basicRemove(otherEnd,
+ msgs);
+ case Bpmn2Package.PROCESS__CORRELATION_SUBSCRIPTIONS:
+ return ((InternalEList<?>) getCorrelationSubscriptions())
+ .basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.PROCESS__LANE_SETS:
+ return getLaneSets();
+ case Bpmn2Package.PROCESS__FLOW_ELEMENTS:
+ return getFlowElements();
+ case Bpmn2Package.PROCESS__AUDITING:
+ return getAuditing();
+ case Bpmn2Package.PROCESS__MONITORING:
+ return getMonitoring();
+ case Bpmn2Package.PROCESS__PROPERTIES:
+ return getProperties();
+ case Bpmn2Package.PROCESS__ARTIFACTS:
+ return getArtifacts();
+ case Bpmn2Package.PROCESS__RESOURCES:
+ return getResources();
+ case Bpmn2Package.PROCESS__CORRELATION_SUBSCRIPTIONS:
+ return getCorrelationSubscriptions();
+ case Bpmn2Package.PROCESS__SUPPORTS:
+ return getSupports();
+ case Bpmn2Package.PROCESS__DEFINITIONAL_COLLABORATION_REF:
+ if (resolve)
+ return getDefinitionalCollaborationRef();
+ return basicGetDefinitionalCollaborationRef();
+ case Bpmn2Package.PROCESS__IS_CLOSED:
+ return isIsClosed();
+ case Bpmn2Package.PROCESS__IS_EXECUTABLE:
+ return isIsExecutable();
+ case Bpmn2Package.PROCESS__PROCESS_TYPE:
+ return getProcessType();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.PROCESS__LANE_SETS:
+ getLaneSets().clear();
+ getLaneSets().addAll((Collection<? extends LaneSet>) newValue);
+ return;
+ case Bpmn2Package.PROCESS__FLOW_ELEMENTS:
+ getFlowElements().clear();
+ getFlowElements().addAll(
+ (Collection<? extends FlowElement>) newValue);
+ return;
+ case Bpmn2Package.PROCESS__AUDITING:
+ setAuditing((Auditing) newValue);
+ return;
+ case Bpmn2Package.PROCESS__MONITORING:
+ setMonitoring((Monitoring) newValue);
+ return;
+ case Bpmn2Package.PROCESS__PROPERTIES:
+ getProperties().clear();
+ getProperties().addAll((Collection<? extends Property>) newValue);
+ return;
+ case Bpmn2Package.PROCESS__ARTIFACTS:
+ getArtifacts().clear();
+ getArtifacts().addAll((Collection<? extends Artifact>) newValue);
+ return;
+ case Bpmn2Package.PROCESS__RESOURCES:
+ getResources().clear();
+ getResources()
+ .addAll((Collection<? extends ResourceRole>) newValue);
+ return;
+ case Bpmn2Package.PROCESS__CORRELATION_SUBSCRIPTIONS:
+ getCorrelationSubscriptions().clear();
+ getCorrelationSubscriptions().addAll(
+ (Collection<? extends CorrelationSubscription>) newValue);
+ return;
+ case Bpmn2Package.PROCESS__SUPPORTS:
+ getSupports().clear();
+ getSupports().addAll(
+ (Collection<? extends org.eclipse.bpmn2.Process>) newValue);
+ return;
+ case Bpmn2Package.PROCESS__DEFINITIONAL_COLLABORATION_REF:
+ setDefinitionalCollaborationRef((Collaboration) newValue);
+ return;
+ case Bpmn2Package.PROCESS__IS_CLOSED:
+ setIsClosed((Boolean) newValue);
+ return;
+ case Bpmn2Package.PROCESS__IS_EXECUTABLE:
+ setIsExecutable((Boolean) newValue);
+ return;
+ case Bpmn2Package.PROCESS__PROCESS_TYPE:
+ setProcessType((ProcessType) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.PROCESS__LANE_SETS:
+ getLaneSets().clear();
+ return;
+ case Bpmn2Package.PROCESS__FLOW_ELEMENTS:
+ getFlowElements().clear();
+ return;
+ case Bpmn2Package.PROCESS__AUDITING:
+ setAuditing((Auditing) null);
+ return;
+ case Bpmn2Package.PROCESS__MONITORING:
+ setMonitoring((Monitoring) null);
+ return;
+ case Bpmn2Package.PROCESS__PROPERTIES:
+ getProperties().clear();
+ return;
+ case Bpmn2Package.PROCESS__ARTIFACTS:
+ getArtifacts().clear();
+ return;
+ case Bpmn2Package.PROCESS__RESOURCES:
+ getResources().clear();
+ return;
+ case Bpmn2Package.PROCESS__CORRELATION_SUBSCRIPTIONS:
+ getCorrelationSubscriptions().clear();
+ return;
+ case Bpmn2Package.PROCESS__SUPPORTS:
+ getSupports().clear();
+ return;
+ case Bpmn2Package.PROCESS__DEFINITIONAL_COLLABORATION_REF:
+ setDefinitionalCollaborationRef((Collaboration) null);
+ return;
+ case Bpmn2Package.PROCESS__IS_CLOSED:
+ setIsClosed(IS_CLOSED_EDEFAULT);
+ return;
+ case Bpmn2Package.PROCESS__IS_EXECUTABLE:
+ setIsExecutable(IS_EXECUTABLE_EDEFAULT);
+ return;
+ case Bpmn2Package.PROCESS__PROCESS_TYPE:
+ setProcessType(PROCESS_TYPE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.PROCESS__LANE_SETS:
+ return laneSets != null && !laneSets.isEmpty();
+ case Bpmn2Package.PROCESS__FLOW_ELEMENTS:
+ return flowElements != null && !flowElements.isEmpty();
+ case Bpmn2Package.PROCESS__AUDITING:
+ return auditing != null;
+ case Bpmn2Package.PROCESS__MONITORING:
+ return monitoring != null;
+ case Bpmn2Package.PROCESS__PROPERTIES:
+ return properties != null && !properties.isEmpty();
+ case Bpmn2Package.PROCESS__ARTIFACTS:
+ return artifacts != null && !artifacts.isEmpty();
+ case Bpmn2Package.PROCESS__RESOURCES:
+ return resources != null && !resources.isEmpty();
+ case Bpmn2Package.PROCESS__CORRELATION_SUBSCRIPTIONS:
+ return correlationSubscriptions != null
+ && !correlationSubscriptions.isEmpty();
+ case Bpmn2Package.PROCESS__SUPPORTS:
+ return supports != null && !supports.isEmpty();
+ case Bpmn2Package.PROCESS__DEFINITIONAL_COLLABORATION_REF:
+ return definitionalCollaborationRef != null;
+ case Bpmn2Package.PROCESS__IS_CLOSED:
+ return isClosed != IS_CLOSED_EDEFAULT;
+ case Bpmn2Package.PROCESS__IS_EXECUTABLE:
+ return isExecutable != IS_EXECUTABLE_EDEFAULT;
+ case Bpmn2Package.PROCESS__PROCESS_TYPE:
+ return processType != PROCESS_TYPE_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
+ if (baseClass == FlowElementsContainer.class) {
+ switch (derivedFeatureID) {
+ case Bpmn2Package.PROCESS__LANE_SETS:
+ return Bpmn2Package.FLOW_ELEMENTS_CONTAINER__LANE_SETS;
+ case Bpmn2Package.PROCESS__FLOW_ELEMENTS:
+ return Bpmn2Package.FLOW_ELEMENTS_CONTAINER__FLOW_ELEMENTS;
+ default:
+ return -1;
+ }
+ }
+ return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
+ if (baseClass == FlowElementsContainer.class) {
+ switch (baseFeatureID) {
+ case Bpmn2Package.FLOW_ELEMENTS_CONTAINER__LANE_SETS:
+ return Bpmn2Package.PROCESS__LANE_SETS;
+ case Bpmn2Package.FLOW_ELEMENTS_CONTAINER__FLOW_ELEMENTS:
+ return Bpmn2Package.PROCESS__FLOW_ELEMENTS;
+ default:
+ return -1;
+ }
+ }
+ return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (isClosed: ");
+ result.append(isClosed);
+ result.append(", isExecutable: ");
+ result.append(isExecutable);
+ result.append(", processType: ");
+ result.append(processType);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ProcessImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/PropertyImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/PropertyImpl.java
new file mode 100644
index 000000000..f08d20006
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/PropertyImpl.java
@@ -0,0 +1,177 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Property;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Property</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.PropertyImpl#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class PropertyImpl extends ItemAwareElementImpl implements Property {
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected PropertyImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.PROPERTY;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.PROPERTY__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.PROPERTY__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.PROPERTY__NAME:
+ setName((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.PROPERTY__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.PROPERTY__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
+ .equals(name);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //PropertyImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ReceiveTaskImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ReceiveTaskImpl.java
new file mode 100644
index 000000000..bab0d388a
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ReceiveTaskImpl.java
@@ -0,0 +1,367 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Message;
+import org.eclipse.bpmn2.Operation;
+import org.eclipse.bpmn2.ReceiveTask;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Receive Task</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.ReceiveTaskImpl#getImplementation <em>Implementation</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ReceiveTaskImpl#isInstantiate <em>Instantiate</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ReceiveTaskImpl#getMessageRef <em>Message Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ReceiveTaskImpl#getOperationRef <em>Operation Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ReceiveTaskImpl extends TaskImpl implements ReceiveTask {
+ /**
+ * The default value of the '{@link #getImplementation() <em>Implementation</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getImplementation()
+ * @generated
+ * @ordered
+ */
+ protected static final String IMPLEMENTATION_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getImplementation() <em>Implementation</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getImplementation()
+ * @generated
+ * @ordered
+ */
+ protected String implementation = IMPLEMENTATION_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #isInstantiate() <em>Instantiate</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isInstantiate()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean INSTANTIATE_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isInstantiate() <em>Instantiate</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isInstantiate()
+ * @generated
+ * @ordered
+ */
+ protected boolean instantiate = INSTANTIATE_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getMessageRef() <em>Message Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMessageRef()
+ * @generated
+ * @ordered
+ */
+ protected Message messageRef;
+
+ /**
+ * The cached value of the '{@link #getOperationRef() <em>Operation Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOperationRef()
+ * @generated
+ * @ordered
+ */
+ protected Operation operationRef;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ReceiveTaskImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.RECEIVE_TASK;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getImplementation() {
+ return implementation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setImplementation(String newImplementation) {
+ String oldImplementation = implementation;
+ implementation = newImplementation;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.RECEIVE_TASK__IMPLEMENTATION,
+ oldImplementation, implementation));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isInstantiate() {
+ return instantiate;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setInstantiate(boolean newInstantiate) {
+ boolean oldInstantiate = instantiate;
+ instantiate = newInstantiate;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.RECEIVE_TASK__INSTANTIATE, oldInstantiate,
+ instantiate));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Message getMessageRef() {
+ if (messageRef != null && messageRef.eIsProxy()) {
+ InternalEObject oldMessageRef = (InternalEObject) messageRef;
+ messageRef = (Message) eResolveProxy(oldMessageRef);
+ if (messageRef != oldMessageRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.RECEIVE_TASK__MESSAGE_REF,
+ oldMessageRef, messageRef));
+ }
+ }
+ return messageRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Message basicGetMessageRef() {
+ return messageRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMessageRef(Message newMessageRef) {
+ Message oldMessageRef = messageRef;
+ messageRef = newMessageRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.RECEIVE_TASK__MESSAGE_REF, oldMessageRef,
+ messageRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Operation getOperationRef() {
+ if (operationRef != null && operationRef.eIsProxy()) {
+ InternalEObject oldOperationRef = (InternalEObject) operationRef;
+ operationRef = (Operation) eResolveProxy(oldOperationRef);
+ if (operationRef != oldOperationRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.RECEIVE_TASK__OPERATION_REF,
+ oldOperationRef, operationRef));
+ }
+ }
+ return operationRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Operation basicGetOperationRef() {
+ return operationRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setOperationRef(Operation newOperationRef) {
+ Operation oldOperationRef = operationRef;
+ operationRef = newOperationRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.RECEIVE_TASK__OPERATION_REF, oldOperationRef,
+ operationRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.RECEIVE_TASK__IMPLEMENTATION:
+ return getImplementation();
+ case Bpmn2Package.RECEIVE_TASK__INSTANTIATE:
+ return isInstantiate();
+ case Bpmn2Package.RECEIVE_TASK__MESSAGE_REF:
+ if (resolve)
+ return getMessageRef();
+ return basicGetMessageRef();
+ case Bpmn2Package.RECEIVE_TASK__OPERATION_REF:
+ if (resolve)
+ return getOperationRef();
+ return basicGetOperationRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.RECEIVE_TASK__IMPLEMENTATION:
+ setImplementation((String) newValue);
+ return;
+ case Bpmn2Package.RECEIVE_TASK__INSTANTIATE:
+ setInstantiate((Boolean) newValue);
+ return;
+ case Bpmn2Package.RECEIVE_TASK__MESSAGE_REF:
+ setMessageRef((Message) newValue);
+ return;
+ case Bpmn2Package.RECEIVE_TASK__OPERATION_REF:
+ setOperationRef((Operation) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.RECEIVE_TASK__IMPLEMENTATION:
+ setImplementation(IMPLEMENTATION_EDEFAULT);
+ return;
+ case Bpmn2Package.RECEIVE_TASK__INSTANTIATE:
+ setInstantiate(INSTANTIATE_EDEFAULT);
+ return;
+ case Bpmn2Package.RECEIVE_TASK__MESSAGE_REF:
+ setMessageRef((Message) null);
+ return;
+ case Bpmn2Package.RECEIVE_TASK__OPERATION_REF:
+ setOperationRef((Operation) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.RECEIVE_TASK__IMPLEMENTATION:
+ return IMPLEMENTATION_EDEFAULT == null ? implementation != null
+ : !IMPLEMENTATION_EDEFAULT.equals(implementation);
+ case Bpmn2Package.RECEIVE_TASK__INSTANTIATE:
+ return instantiate != INSTANTIATE_EDEFAULT;
+ case Bpmn2Package.RECEIVE_TASK__MESSAGE_REF:
+ return messageRef != null;
+ case Bpmn2Package.RECEIVE_TASK__OPERATION_REF:
+ return operationRef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (implementation: ");
+ result.append(implementation);
+ result.append(", instantiate: ");
+ result.append(instantiate);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ReceiveTaskImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/RelationshipImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/RelationshipImpl.java
new file mode 100644
index 000000000..7212ca449
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/RelationshipImpl.java
@@ -0,0 +1,313 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Relationship;
+import org.eclipse.bpmn2.RelationshipDirection;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Relationship</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.RelationshipImpl#getSources <em>Sources</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.RelationshipImpl#getTargets <em>Targets</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.RelationshipImpl#getDirection <em>Direction</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.RelationshipImpl#getType <em>Type</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class RelationshipImpl extends BaseElementImpl implements Relationship {
+ /**
+ * The cached value of the '{@link #getSources() <em>Sources</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSources()
+ * @generated
+ * @ordered
+ */
+ protected EList<EObject> sources;
+
+ /**
+ * The cached value of the '{@link #getTargets() <em>Targets</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTargets()
+ * @generated
+ * @ordered
+ */
+ protected EList<EObject> targets;
+
+ /**
+ * The default value of the '{@link #getDirection() <em>Direction</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDirection()
+ * @generated
+ * @ordered
+ */
+ protected static final RelationshipDirection DIRECTION_EDEFAULT = RelationshipDirection.NONE;
+
+ /**
+ * The cached value of the '{@link #getDirection() <em>Direction</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDirection()
+ * @generated
+ * @ordered
+ */
+ protected RelationshipDirection direction = DIRECTION_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getType() <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected static final String TYPE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getType() <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected String type = TYPE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected RelationshipImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.RELATIONSHIP;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<EObject> getSources() {
+ if (sources == null) {
+ sources = new EObjectResolvingEList<EObject>(EObject.class, this,
+ Bpmn2Package.RELATIONSHIP__SOURCES);
+ }
+ return sources;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<EObject> getTargets() {
+ if (targets == null) {
+ targets = new EObjectResolvingEList<EObject>(EObject.class, this,
+ Bpmn2Package.RELATIONSHIP__TARGETS);
+ }
+ return targets;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public RelationshipDirection getDirection() {
+ return direction;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDirection(RelationshipDirection newDirection) {
+ RelationshipDirection oldDirection = direction;
+ direction = newDirection == null ? DIRECTION_EDEFAULT : newDirection;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.RELATIONSHIP__DIRECTION, oldDirection,
+ direction));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getType() {
+ return type;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setType(String newType) {
+ String oldType = type;
+ type = newType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.RELATIONSHIP__TYPE, oldType, type));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.RELATIONSHIP__SOURCES:
+ return getSources();
+ case Bpmn2Package.RELATIONSHIP__TARGETS:
+ return getTargets();
+ case Bpmn2Package.RELATIONSHIP__DIRECTION:
+ return getDirection();
+ case Bpmn2Package.RELATIONSHIP__TYPE:
+ return getType();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.RELATIONSHIP__SOURCES:
+ getSources().clear();
+ getSources().addAll((Collection<? extends EObject>) newValue);
+ return;
+ case Bpmn2Package.RELATIONSHIP__TARGETS:
+ getTargets().clear();
+ getTargets().addAll((Collection<? extends EObject>) newValue);
+ return;
+ case Bpmn2Package.RELATIONSHIP__DIRECTION:
+ setDirection((RelationshipDirection) newValue);
+ return;
+ case Bpmn2Package.RELATIONSHIP__TYPE:
+ setType((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.RELATIONSHIP__SOURCES:
+ getSources().clear();
+ return;
+ case Bpmn2Package.RELATIONSHIP__TARGETS:
+ getTargets().clear();
+ return;
+ case Bpmn2Package.RELATIONSHIP__DIRECTION:
+ setDirection(DIRECTION_EDEFAULT);
+ return;
+ case Bpmn2Package.RELATIONSHIP__TYPE:
+ setType(TYPE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.RELATIONSHIP__SOURCES:
+ return sources != null && !sources.isEmpty();
+ case Bpmn2Package.RELATIONSHIP__TARGETS:
+ return targets != null && !targets.isEmpty();
+ case Bpmn2Package.RELATIONSHIP__DIRECTION:
+ return direction != DIRECTION_EDEFAULT;
+ case Bpmn2Package.RELATIONSHIP__TYPE:
+ return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT
+ .equals(type);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (direction: ");
+ result.append(direction);
+ result.append(", type: ");
+ result.append(type);
+ result.append(')');
+ return result.toString();
+ }
+
+} //RelationshipImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/RenderingImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/RenderingImpl.java
new file mode 100644
index 000000000..123834cd5
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/RenderingImpl.java
@@ -0,0 +1,51 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Rendering;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Rendering</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class RenderingImpl extends BaseElementImpl implements Rendering {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected RenderingImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.RENDERING;
+ }
+
+} //RenderingImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ResourceAssignmentExpressionImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ResourceAssignmentExpressionImpl.java
new file mode 100644
index 000000000..c4f4c6dbb
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ResourceAssignmentExpressionImpl.java
@@ -0,0 +1,208 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Expression;
+import org.eclipse.bpmn2.ResourceAssignmentExpression;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Resource Assignment Expression</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.ResourceAssignmentExpressionImpl#getExpression <em>Expression</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ResourceAssignmentExpressionImpl extends BaseElementImpl implements
+ ResourceAssignmentExpression {
+ /**
+ * The cached value of the '{@link #getExpression() <em>Expression</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getExpression()
+ * @generated
+ * @ordered
+ */
+ protected Expression expression;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ResourceAssignmentExpressionImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.RESOURCE_ASSIGNMENT_EXPRESSION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Expression getExpression() {
+ return expression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetExpression(Expression newExpression,
+ NotificationChain msgs) {
+ Expression oldExpression = expression;
+ expression = newExpression;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET,
+ Bpmn2Package.RESOURCE_ASSIGNMENT_EXPRESSION__EXPRESSION,
+ oldExpression, newExpression);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setExpression(Expression newExpression) {
+ if (newExpression != expression) {
+ NotificationChain msgs = null;
+ if (expression != null)
+ msgs = ((InternalEObject) expression)
+ .eInverseRemove(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.RESOURCE_ASSIGNMENT_EXPRESSION__EXPRESSION,
+ null, msgs);
+ if (newExpression != null)
+ msgs = ((InternalEObject) newExpression)
+ .eInverseAdd(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.RESOURCE_ASSIGNMENT_EXPRESSION__EXPRESSION,
+ null, msgs);
+ msgs = basicSetExpression(newExpression, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.RESOURCE_ASSIGNMENT_EXPRESSION__EXPRESSION,
+ newExpression, newExpression));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.RESOURCE_ASSIGNMENT_EXPRESSION__EXPRESSION:
+ return basicSetExpression(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.RESOURCE_ASSIGNMENT_EXPRESSION__EXPRESSION:
+ return getExpression();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.RESOURCE_ASSIGNMENT_EXPRESSION__EXPRESSION:
+ setExpression((Expression) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.RESOURCE_ASSIGNMENT_EXPRESSION__EXPRESSION:
+ setExpression((Expression) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.RESOURCE_ASSIGNMENT_EXPRESSION__EXPRESSION:
+ return expression != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //ResourceAssignmentExpressionImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ResourceImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ResourceImpl.java
new file mode 100644
index 000000000..cd5e72aaf
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ResourceImpl.java
@@ -0,0 +1,242 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Resource;
+import org.eclipse.bpmn2.ResourceParameter;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Resource</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.ResourceImpl#getResourceParameters <em>Resource Parameters</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ResourceImpl#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ResourceImpl extends RootElementImpl implements Resource {
+ /**
+ * The cached value of the '{@link #getResourceParameters() <em>Resource Parameters</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getResourceParameters()
+ * @generated
+ * @ordered
+ */
+ protected EList<ResourceParameter> resourceParameters;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ResourceImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.RESOURCE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<ResourceParameter> getResourceParameters() {
+ if (resourceParameters == null) {
+ resourceParameters = new EObjectContainmentEList<ResourceParameter>(
+ ResourceParameter.class, this,
+ Bpmn2Package.RESOURCE__RESOURCE_PARAMETERS);
+ }
+ return resourceParameters;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.RESOURCE__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.RESOURCE__RESOURCE_PARAMETERS:
+ return ((InternalEList<?>) getResourceParameters()).basicRemove(
+ otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.RESOURCE__RESOURCE_PARAMETERS:
+ return getResourceParameters();
+ case Bpmn2Package.RESOURCE__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.RESOURCE__RESOURCE_PARAMETERS:
+ getResourceParameters().clear();
+ getResourceParameters().addAll(
+ (Collection<? extends ResourceParameter>) newValue);
+ return;
+ case Bpmn2Package.RESOURCE__NAME:
+ setName((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.RESOURCE__RESOURCE_PARAMETERS:
+ getResourceParameters().clear();
+ return;
+ case Bpmn2Package.RESOURCE__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.RESOURCE__RESOURCE_PARAMETERS:
+ return resourceParameters != null && !resourceParameters.isEmpty();
+ case Bpmn2Package.RESOURCE__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
+ .equals(name);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ResourceImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ResourceParameterBindingImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ResourceParameterBindingImpl.java
new file mode 100644
index 000000000..5cc7a0816
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ResourceParameterBindingImpl.java
@@ -0,0 +1,276 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Expression;
+import org.eclipse.bpmn2.ResourceParameter;
+import org.eclipse.bpmn2.ResourceParameterBinding;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Resource Parameter Binding</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.ResourceParameterBindingImpl#getExpression <em>Expression</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ResourceParameterBindingImpl#getParameterRef <em>Parameter Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ResourceParameterBindingImpl extends BaseElementImpl implements
+ ResourceParameterBinding {
+ /**
+ * The cached value of the '{@link #getExpression() <em>Expression</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getExpression()
+ * @generated
+ * @ordered
+ */
+ protected Expression expression;
+
+ /**
+ * The cached value of the '{@link #getParameterRef() <em>Parameter Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getParameterRef()
+ * @generated
+ * @ordered
+ */
+ protected ResourceParameter parameterRef;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ResourceParameterBindingImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.RESOURCE_PARAMETER_BINDING;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Expression getExpression() {
+ return expression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetExpression(Expression newExpression,
+ NotificationChain msgs) {
+ Expression oldExpression = expression;
+ expression = newExpression;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET,
+ Bpmn2Package.RESOURCE_PARAMETER_BINDING__EXPRESSION,
+ oldExpression, newExpression);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setExpression(Expression newExpression) {
+ if (newExpression != expression) {
+ NotificationChain msgs = null;
+ if (expression != null)
+ msgs = ((InternalEObject) expression)
+ .eInverseRemove(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.RESOURCE_PARAMETER_BINDING__EXPRESSION,
+ null, msgs);
+ if (newExpression != null)
+ msgs = ((InternalEObject) newExpression)
+ .eInverseAdd(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.RESOURCE_PARAMETER_BINDING__EXPRESSION,
+ null, msgs);
+ msgs = basicSetExpression(newExpression, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.RESOURCE_PARAMETER_BINDING__EXPRESSION,
+ newExpression, newExpression));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ResourceParameter getParameterRef() {
+ if (parameterRef != null && parameterRef.eIsProxy()) {
+ InternalEObject oldParameterRef = (InternalEObject) parameterRef;
+ parameterRef = (ResourceParameter) eResolveProxy(oldParameterRef);
+ if (parameterRef != oldParameterRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(
+ this,
+ Notification.RESOLVE,
+ Bpmn2Package.RESOURCE_PARAMETER_BINDING__PARAMETER_REF,
+ oldParameterRef, parameterRef));
+ }
+ }
+ return parameterRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ResourceParameter basicGetParameterRef() {
+ return parameterRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setParameterRef(ResourceParameter newParameterRef) {
+ ResourceParameter oldParameterRef = parameterRef;
+ parameterRef = newParameterRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.RESOURCE_PARAMETER_BINDING__PARAMETER_REF,
+ oldParameterRef, parameterRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.RESOURCE_PARAMETER_BINDING__EXPRESSION:
+ return basicSetExpression(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.RESOURCE_PARAMETER_BINDING__EXPRESSION:
+ return getExpression();
+ case Bpmn2Package.RESOURCE_PARAMETER_BINDING__PARAMETER_REF:
+ if (resolve)
+ return getParameterRef();
+ return basicGetParameterRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.RESOURCE_PARAMETER_BINDING__EXPRESSION:
+ setExpression((Expression) newValue);
+ return;
+ case Bpmn2Package.RESOURCE_PARAMETER_BINDING__PARAMETER_REF:
+ setParameterRef((ResourceParameter) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.RESOURCE_PARAMETER_BINDING__EXPRESSION:
+ setExpression((Expression) null);
+ return;
+ case Bpmn2Package.RESOURCE_PARAMETER_BINDING__PARAMETER_REF:
+ setParameterRef((ResourceParameter) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.RESOURCE_PARAMETER_BINDING__EXPRESSION:
+ return expression != null;
+ case Bpmn2Package.RESOURCE_PARAMETER_BINDING__PARAMETER_REF:
+ return parameterRef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //ResourceParameterBindingImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ResourceParameterImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ResourceParameterImpl.java
new file mode 100644
index 000000000..9b1e0705b
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ResourceParameterImpl.java
@@ -0,0 +1,300 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.ItemDefinition;
+import org.eclipse.bpmn2.ResourceParameter;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Resource Parameter</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.ResourceParameterImpl#isIsRequired <em>Is Required</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ResourceParameterImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ResourceParameterImpl#getType <em>Type</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ResourceParameterImpl extends BaseElementImpl implements
+ ResourceParameter {
+ /**
+ * The default value of the '{@link #isIsRequired() <em>Is Required</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsRequired()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean IS_REQUIRED_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isIsRequired() <em>Is Required</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsRequired()
+ * @generated
+ * @ordered
+ */
+ protected boolean isRequired = IS_REQUIRED_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getType() <em>Type</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected ItemDefinition type;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ResourceParameterImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.RESOURCE_PARAMETER;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isIsRequired() {
+ return isRequired;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIsRequired(boolean newIsRequired) {
+ boolean oldIsRequired = isRequired;
+ isRequired = newIsRequired;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.RESOURCE_PARAMETER__IS_REQUIRED,
+ oldIsRequired, isRequired));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.RESOURCE_PARAMETER__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ItemDefinition getType() {
+ if (type != null && type.eIsProxy()) {
+ InternalEObject oldType = (InternalEObject) type;
+ type = (ItemDefinition) eResolveProxy(oldType);
+ if (type != oldType) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.RESOURCE_PARAMETER__TYPE, oldType,
+ type));
+ }
+ }
+ return type;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ItemDefinition basicGetType() {
+ return type;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setType(ItemDefinition newType) {
+ ItemDefinition oldType = type;
+ type = newType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.RESOURCE_PARAMETER__TYPE, oldType, type));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.RESOURCE_PARAMETER__IS_REQUIRED:
+ return isIsRequired();
+ case Bpmn2Package.RESOURCE_PARAMETER__NAME:
+ return getName();
+ case Bpmn2Package.RESOURCE_PARAMETER__TYPE:
+ if (resolve)
+ return getType();
+ return basicGetType();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.RESOURCE_PARAMETER__IS_REQUIRED:
+ setIsRequired((Boolean) newValue);
+ return;
+ case Bpmn2Package.RESOURCE_PARAMETER__NAME:
+ setName((String) newValue);
+ return;
+ case Bpmn2Package.RESOURCE_PARAMETER__TYPE:
+ setType((ItemDefinition) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.RESOURCE_PARAMETER__IS_REQUIRED:
+ setIsRequired(IS_REQUIRED_EDEFAULT);
+ return;
+ case Bpmn2Package.RESOURCE_PARAMETER__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case Bpmn2Package.RESOURCE_PARAMETER__TYPE:
+ setType((ItemDefinition) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.RESOURCE_PARAMETER__IS_REQUIRED:
+ return isRequired != IS_REQUIRED_EDEFAULT;
+ case Bpmn2Package.RESOURCE_PARAMETER__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
+ .equals(name);
+ case Bpmn2Package.RESOURCE_PARAMETER__TYPE:
+ return type != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (isRequired: ");
+ result.append(isRequired);
+ result.append(", name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ResourceParameterImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ResourceRoleImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ResourceRoleImpl.java
new file mode 100644
index 000000000..c1f3ad2e1
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ResourceRoleImpl.java
@@ -0,0 +1,400 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Resource;
+import org.eclipse.bpmn2.ResourceAssignmentExpression;
+import org.eclipse.bpmn2.ResourceParameterBinding;
+import org.eclipse.bpmn2.ResourceRole;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Resource Role</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.ResourceRoleImpl#getResourceRef <em>Resource Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ResourceRoleImpl#getResourceParameterBindings <em>Resource Parameter Bindings</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ResourceRoleImpl#getResourceAssignmentExpression <em>Resource Assignment Expression</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ResourceRoleImpl#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ResourceRoleImpl extends BaseElementImpl implements ResourceRole {
+ /**
+ * The cached value of the '{@link #getResourceRef() <em>Resource Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getResourceRef()
+ * @generated
+ * @ordered
+ */
+ protected Resource resourceRef;
+
+ /**
+ * The cached value of the '{@link #getResourceParameterBindings() <em>Resource Parameter Bindings</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getResourceParameterBindings()
+ * @generated
+ * @ordered
+ */
+ protected EList<ResourceParameterBinding> resourceParameterBindings;
+
+ /**
+ * The cached value of the '{@link #getResourceAssignmentExpression() <em>Resource Assignment Expression</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getResourceAssignmentExpression()
+ * @generated
+ * @ordered
+ */
+ protected ResourceAssignmentExpression resourceAssignmentExpression;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ResourceRoleImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.RESOURCE_ROLE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Resource getResourceRef() {
+ if (resourceRef != null && resourceRef.eIsProxy()) {
+ InternalEObject oldResourceRef = (InternalEObject) resourceRef;
+ resourceRef = (Resource) eResolveProxy(oldResourceRef);
+ if (resourceRef != oldResourceRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.RESOURCE_ROLE__RESOURCE_REF,
+ oldResourceRef, resourceRef));
+ }
+ }
+ return resourceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Resource basicGetResourceRef() {
+ return resourceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setResourceRef(Resource newResourceRef) {
+ Resource oldResourceRef = resourceRef;
+ resourceRef = newResourceRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.RESOURCE_ROLE__RESOURCE_REF, oldResourceRef,
+ resourceRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<ResourceParameterBinding> getResourceParameterBindings() {
+ if (resourceParameterBindings == null) {
+ resourceParameterBindings = new EObjectContainmentEList<ResourceParameterBinding>(
+ ResourceParameterBinding.class, this,
+ Bpmn2Package.RESOURCE_ROLE__RESOURCE_PARAMETER_BINDINGS);
+ }
+ return resourceParameterBindings;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ResourceAssignmentExpression getResourceAssignmentExpression() {
+ return resourceAssignmentExpression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetResourceAssignmentExpression(
+ ResourceAssignmentExpression newResourceAssignmentExpression,
+ NotificationChain msgs) {
+ ResourceAssignmentExpression oldResourceAssignmentExpression = resourceAssignmentExpression;
+ resourceAssignmentExpression = newResourceAssignmentExpression;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET,
+ Bpmn2Package.RESOURCE_ROLE__RESOURCE_ASSIGNMENT_EXPRESSION,
+ oldResourceAssignmentExpression,
+ newResourceAssignmentExpression);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setResourceAssignmentExpression(
+ ResourceAssignmentExpression newResourceAssignmentExpression) {
+ if (newResourceAssignmentExpression != resourceAssignmentExpression) {
+ NotificationChain msgs = null;
+ if (resourceAssignmentExpression != null)
+ msgs = ((InternalEObject) resourceAssignmentExpression)
+ .eInverseRemove(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.RESOURCE_ROLE__RESOURCE_ASSIGNMENT_EXPRESSION,
+ null, msgs);
+ if (newResourceAssignmentExpression != null)
+ msgs = ((InternalEObject) newResourceAssignmentExpression)
+ .eInverseAdd(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.RESOURCE_ROLE__RESOURCE_ASSIGNMENT_EXPRESSION,
+ null, msgs);
+ msgs = basicSetResourceAssignmentExpression(
+ newResourceAssignmentExpression, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.RESOURCE_ROLE__RESOURCE_ASSIGNMENT_EXPRESSION,
+ newResourceAssignmentExpression,
+ newResourceAssignmentExpression));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.RESOURCE_ROLE__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.RESOURCE_ROLE__RESOURCE_PARAMETER_BINDINGS:
+ return ((InternalEList<?>) getResourceParameterBindings())
+ .basicRemove(otherEnd, msgs);
+ case Bpmn2Package.RESOURCE_ROLE__RESOURCE_ASSIGNMENT_EXPRESSION:
+ return basicSetResourceAssignmentExpression(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.RESOURCE_ROLE__RESOURCE_REF:
+ if (resolve)
+ return getResourceRef();
+ return basicGetResourceRef();
+ case Bpmn2Package.RESOURCE_ROLE__RESOURCE_PARAMETER_BINDINGS:
+ return getResourceParameterBindings();
+ case Bpmn2Package.RESOURCE_ROLE__RESOURCE_ASSIGNMENT_EXPRESSION:
+ return getResourceAssignmentExpression();
+ case Bpmn2Package.RESOURCE_ROLE__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.RESOURCE_ROLE__RESOURCE_REF:
+ setResourceRef((Resource) newValue);
+ return;
+ case Bpmn2Package.RESOURCE_ROLE__RESOURCE_PARAMETER_BINDINGS:
+ getResourceParameterBindings().clear();
+ getResourceParameterBindings().addAll(
+ (Collection<? extends ResourceParameterBinding>) newValue);
+ return;
+ case Bpmn2Package.RESOURCE_ROLE__RESOURCE_ASSIGNMENT_EXPRESSION:
+ setResourceAssignmentExpression((ResourceAssignmentExpression) newValue);
+ return;
+ case Bpmn2Package.RESOURCE_ROLE__NAME:
+ setName((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.RESOURCE_ROLE__RESOURCE_REF:
+ setResourceRef((Resource) null);
+ return;
+ case Bpmn2Package.RESOURCE_ROLE__RESOURCE_PARAMETER_BINDINGS:
+ getResourceParameterBindings().clear();
+ return;
+ case Bpmn2Package.RESOURCE_ROLE__RESOURCE_ASSIGNMENT_EXPRESSION:
+ setResourceAssignmentExpression((ResourceAssignmentExpression) null);
+ return;
+ case Bpmn2Package.RESOURCE_ROLE__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.RESOURCE_ROLE__RESOURCE_REF:
+ return resourceRef != null;
+ case Bpmn2Package.RESOURCE_ROLE__RESOURCE_PARAMETER_BINDINGS:
+ return resourceParameterBindings != null
+ && !resourceParameterBindings.isEmpty();
+ case Bpmn2Package.RESOURCE_ROLE__RESOURCE_ASSIGNMENT_EXPRESSION:
+ return resourceAssignmentExpression != null;
+ case Bpmn2Package.RESOURCE_ROLE__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
+ .equals(name);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ResourceRoleImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/RootElementImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/RootElementImpl.java
new file mode 100644
index 000000000..21321e3b9
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/RootElementImpl.java
@@ -0,0 +1,51 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.RootElement;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Root Element</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class RootElementImpl extends BaseElementImpl implements RootElement {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected RootElementImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.ROOT_ELEMENT;
+ }
+
+} //RootElementImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ScriptTaskImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ScriptTaskImpl.java
new file mode 100644
index 000000000..88a2c3242
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ScriptTaskImpl.java
@@ -0,0 +1,234 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.ScriptTask;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Script Task</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.ScriptTaskImpl#getScript <em>Script</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ScriptTaskImpl#getScriptFormat <em>Script Format</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ScriptTaskImpl extends TaskImpl implements ScriptTask {
+ /**
+ * The default value of the '{@link #getScript() <em>Script</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getScript()
+ * @generated
+ * @ordered
+ */
+ protected static final String SCRIPT_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getScript() <em>Script</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getScript()
+ * @generated
+ * @ordered
+ */
+ protected String script = SCRIPT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getScriptFormat() <em>Script Format</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getScriptFormat()
+ * @generated
+ * @ordered
+ */
+ protected static final String SCRIPT_FORMAT_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getScriptFormat() <em>Script Format</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getScriptFormat()
+ * @generated
+ * @ordered
+ */
+ protected String scriptFormat = SCRIPT_FORMAT_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ScriptTaskImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.SCRIPT_TASK;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getScript() {
+ return script;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setScript(String newScript) {
+ String oldScript = script;
+ script = newScript;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.SCRIPT_TASK__SCRIPT, oldScript, script));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getScriptFormat() {
+ return scriptFormat;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setScriptFormat(String newScriptFormat) {
+ String oldScriptFormat = scriptFormat;
+ scriptFormat = newScriptFormat;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.SCRIPT_TASK__SCRIPT_FORMAT, oldScriptFormat,
+ scriptFormat));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.SCRIPT_TASK__SCRIPT:
+ return getScript();
+ case Bpmn2Package.SCRIPT_TASK__SCRIPT_FORMAT:
+ return getScriptFormat();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.SCRIPT_TASK__SCRIPT:
+ setScript((String) newValue);
+ return;
+ case Bpmn2Package.SCRIPT_TASK__SCRIPT_FORMAT:
+ setScriptFormat((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.SCRIPT_TASK__SCRIPT:
+ setScript(SCRIPT_EDEFAULT);
+ return;
+ case Bpmn2Package.SCRIPT_TASK__SCRIPT_FORMAT:
+ setScriptFormat(SCRIPT_FORMAT_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.SCRIPT_TASK__SCRIPT:
+ return SCRIPT_EDEFAULT == null ? script != null : !SCRIPT_EDEFAULT
+ .equals(script);
+ case Bpmn2Package.SCRIPT_TASK__SCRIPT_FORMAT:
+ return SCRIPT_FORMAT_EDEFAULT == null ? scriptFormat != null
+ : !SCRIPT_FORMAT_EDEFAULT.equals(scriptFormat);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (script: ");
+ result.append(script);
+ result.append(", scriptFormat: ");
+ result.append(scriptFormat);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ScriptTaskImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/SendTaskImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/SendTaskImpl.java
new file mode 100644
index 000000000..42a7d9d83
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/SendTaskImpl.java
@@ -0,0 +1,311 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Message;
+import org.eclipse.bpmn2.Operation;
+import org.eclipse.bpmn2.SendTask;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Send Task</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.SendTaskImpl#getImplementation <em>Implementation</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.SendTaskImpl#getMessageRef <em>Message Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.SendTaskImpl#getOperationRef <em>Operation Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class SendTaskImpl extends TaskImpl implements SendTask {
+ /**
+ * The default value of the '{@link #getImplementation() <em>Implementation</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getImplementation()
+ * @generated
+ * @ordered
+ */
+ protected static final String IMPLEMENTATION_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getImplementation() <em>Implementation</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getImplementation()
+ * @generated
+ * @ordered
+ */
+ protected String implementation = IMPLEMENTATION_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getMessageRef() <em>Message Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMessageRef()
+ * @generated
+ * @ordered
+ */
+ protected Message messageRef;
+
+ /**
+ * The cached value of the '{@link #getOperationRef() <em>Operation Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOperationRef()
+ * @generated
+ * @ordered
+ */
+ protected Operation operationRef;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected SendTaskImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.SEND_TASK;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getImplementation() {
+ return implementation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setImplementation(String newImplementation) {
+ String oldImplementation = implementation;
+ implementation = newImplementation;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.SEND_TASK__IMPLEMENTATION, oldImplementation,
+ implementation));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Message getMessageRef() {
+ if (messageRef != null && messageRef.eIsProxy()) {
+ InternalEObject oldMessageRef = (InternalEObject) messageRef;
+ messageRef = (Message) eResolveProxy(oldMessageRef);
+ if (messageRef != oldMessageRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.SEND_TASK__MESSAGE_REF, oldMessageRef,
+ messageRef));
+ }
+ }
+ return messageRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Message basicGetMessageRef() {
+ return messageRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMessageRef(Message newMessageRef) {
+ Message oldMessageRef = messageRef;
+ messageRef = newMessageRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.SEND_TASK__MESSAGE_REF, oldMessageRef,
+ messageRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Operation getOperationRef() {
+ if (operationRef != null && operationRef.eIsProxy()) {
+ InternalEObject oldOperationRef = (InternalEObject) operationRef;
+ operationRef = (Operation) eResolveProxy(oldOperationRef);
+ if (operationRef != oldOperationRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.SEND_TASK__OPERATION_REF,
+ oldOperationRef, operationRef));
+ }
+ }
+ return operationRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Operation basicGetOperationRef() {
+ return operationRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setOperationRef(Operation newOperationRef) {
+ Operation oldOperationRef = operationRef;
+ operationRef = newOperationRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.SEND_TASK__OPERATION_REF, oldOperationRef,
+ operationRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.SEND_TASK__IMPLEMENTATION:
+ return getImplementation();
+ case Bpmn2Package.SEND_TASK__MESSAGE_REF:
+ if (resolve)
+ return getMessageRef();
+ return basicGetMessageRef();
+ case Bpmn2Package.SEND_TASK__OPERATION_REF:
+ if (resolve)
+ return getOperationRef();
+ return basicGetOperationRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.SEND_TASK__IMPLEMENTATION:
+ setImplementation((String) newValue);
+ return;
+ case Bpmn2Package.SEND_TASK__MESSAGE_REF:
+ setMessageRef((Message) newValue);
+ return;
+ case Bpmn2Package.SEND_TASK__OPERATION_REF:
+ setOperationRef((Operation) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.SEND_TASK__IMPLEMENTATION:
+ setImplementation(IMPLEMENTATION_EDEFAULT);
+ return;
+ case Bpmn2Package.SEND_TASK__MESSAGE_REF:
+ setMessageRef((Message) null);
+ return;
+ case Bpmn2Package.SEND_TASK__OPERATION_REF:
+ setOperationRef((Operation) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.SEND_TASK__IMPLEMENTATION:
+ return IMPLEMENTATION_EDEFAULT == null ? implementation != null
+ : !IMPLEMENTATION_EDEFAULT.equals(implementation);
+ case Bpmn2Package.SEND_TASK__MESSAGE_REF:
+ return messageRef != null;
+ case Bpmn2Package.SEND_TASK__OPERATION_REF:
+ return operationRef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (implementation: ");
+ result.append(implementation);
+ result.append(')');
+ return result.toString();
+ }
+
+} //SendTaskImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/SequenceFlowImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/SequenceFlowImpl.java
new file mode 100644
index 000000000..443413e07
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/SequenceFlowImpl.java
@@ -0,0 +1,454 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Expression;
+import org.eclipse.bpmn2.FlowNode;
+import org.eclipse.bpmn2.SequenceFlow;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Sequence Flow</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.SequenceFlowImpl#getConditionExpression <em>Condition Expression</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.SequenceFlowImpl#isIsImmediate <em>Is Immediate</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.SequenceFlowImpl#getSourceRef <em>Source Ref</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.SequenceFlowImpl#getTargetRef <em>Target Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class SequenceFlowImpl extends FlowElementImpl implements SequenceFlow {
+ /**
+ * The cached value of the '{@link #getConditionExpression() <em>Condition Expression</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getConditionExpression()
+ * @generated
+ * @ordered
+ */
+ protected Expression conditionExpression;
+
+ /**
+ * The default value of the '{@link #isIsImmediate() <em>Is Immediate</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsImmediate()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean IS_IMMEDIATE_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isIsImmediate() <em>Is Immediate</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsImmediate()
+ * @generated
+ * @ordered
+ */
+ protected boolean isImmediate = IS_IMMEDIATE_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getSourceRef() <em>Source Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSourceRef()
+ * @generated
+ * @ordered
+ */
+ protected FlowNode sourceRef;
+
+ /**
+ * The cached value of the '{@link #getTargetRef() <em>Target Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTargetRef()
+ * @generated
+ * @ordered
+ */
+ protected FlowNode targetRef;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected SequenceFlowImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.SEQUENCE_FLOW;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Expression getConditionExpression() {
+ return conditionExpression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetConditionExpression(
+ Expression newConditionExpression, NotificationChain msgs) {
+ Expression oldConditionExpression = conditionExpression;
+ conditionExpression = newConditionExpression;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET,
+ Bpmn2Package.SEQUENCE_FLOW__CONDITION_EXPRESSION,
+ oldConditionExpression, newConditionExpression);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setConditionExpression(Expression newConditionExpression) {
+ if (newConditionExpression != conditionExpression) {
+ NotificationChain msgs = null;
+ if (conditionExpression != null)
+ msgs = ((InternalEObject) conditionExpression)
+ .eInverseRemove(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.SEQUENCE_FLOW__CONDITION_EXPRESSION,
+ null, msgs);
+ if (newConditionExpression != null)
+ msgs = ((InternalEObject) newConditionExpression)
+ .eInverseAdd(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.SEQUENCE_FLOW__CONDITION_EXPRESSION,
+ null, msgs);
+ msgs = basicSetConditionExpression(newConditionExpression, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.SEQUENCE_FLOW__CONDITION_EXPRESSION,
+ newConditionExpression, newConditionExpression));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isIsImmediate() {
+ return isImmediate;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIsImmediate(boolean newIsImmediate) {
+ boolean oldIsImmediate = isImmediate;
+ isImmediate = newIsImmediate;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.SEQUENCE_FLOW__IS_IMMEDIATE, oldIsImmediate,
+ isImmediate));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FlowNode getSourceRef() {
+ return sourceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetSourceRef(FlowNode newSourceRef,
+ NotificationChain msgs) {
+ FlowNode oldSourceRef = sourceRef;
+ sourceRef = newSourceRef;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET, Bpmn2Package.SEQUENCE_FLOW__SOURCE_REF,
+ oldSourceRef, newSourceRef);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSourceRef(FlowNode newSourceRef) {
+ if (newSourceRef != sourceRef) {
+ NotificationChain msgs = null;
+ if (sourceRef != null)
+ msgs = ((InternalEObject) sourceRef).eInverseRemove(this,
+ Bpmn2Package.FLOW_NODE__OUTGOING, FlowNode.class, msgs);
+ if (newSourceRef != null)
+ msgs = ((InternalEObject) newSourceRef).eInverseAdd(this,
+ Bpmn2Package.FLOW_NODE__OUTGOING, FlowNode.class, msgs);
+ msgs = basicSetSourceRef(newSourceRef, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.SEQUENCE_FLOW__SOURCE_REF, newSourceRef,
+ newSourceRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FlowNode getTargetRef() {
+ return targetRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetTargetRef(FlowNode newTargetRef,
+ NotificationChain msgs) {
+ FlowNode oldTargetRef = targetRef;
+ targetRef = newTargetRef;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET, Bpmn2Package.SEQUENCE_FLOW__TARGET_REF,
+ oldTargetRef, newTargetRef);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTargetRef(FlowNode newTargetRef) {
+ if (newTargetRef != targetRef) {
+ NotificationChain msgs = null;
+ if (targetRef != null)
+ msgs = ((InternalEObject) targetRef).eInverseRemove(this,
+ Bpmn2Package.FLOW_NODE__INCOMING, FlowNode.class, msgs);
+ if (newTargetRef != null)
+ msgs = ((InternalEObject) newTargetRef).eInverseAdd(this,
+ Bpmn2Package.FLOW_NODE__INCOMING, FlowNode.class, msgs);
+ msgs = basicSetTargetRef(newTargetRef, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.SEQUENCE_FLOW__TARGET_REF, newTargetRef,
+ newTargetRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseAdd(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.SEQUENCE_FLOW__SOURCE_REF:
+ if (sourceRef != null)
+ msgs = ((InternalEObject) sourceRef).eInverseRemove(this,
+ Bpmn2Package.FLOW_NODE__OUTGOING, FlowNode.class, msgs);
+ return basicSetSourceRef((FlowNode) otherEnd, msgs);
+ case Bpmn2Package.SEQUENCE_FLOW__TARGET_REF:
+ if (targetRef != null)
+ msgs = ((InternalEObject) targetRef).eInverseRemove(this,
+ Bpmn2Package.FLOW_NODE__INCOMING, FlowNode.class, msgs);
+ return basicSetTargetRef((FlowNode) otherEnd, msgs);
+ }
+ return super.eInverseAdd(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.SEQUENCE_FLOW__CONDITION_EXPRESSION:
+ return basicSetConditionExpression(null, msgs);
+ case Bpmn2Package.SEQUENCE_FLOW__SOURCE_REF:
+ return basicSetSourceRef(null, msgs);
+ case Bpmn2Package.SEQUENCE_FLOW__TARGET_REF:
+ return basicSetTargetRef(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.SEQUENCE_FLOW__CONDITION_EXPRESSION:
+ return getConditionExpression();
+ case Bpmn2Package.SEQUENCE_FLOW__IS_IMMEDIATE:
+ return isIsImmediate();
+ case Bpmn2Package.SEQUENCE_FLOW__SOURCE_REF:
+ return getSourceRef();
+ case Bpmn2Package.SEQUENCE_FLOW__TARGET_REF:
+ return getTargetRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.SEQUENCE_FLOW__CONDITION_EXPRESSION:
+ setConditionExpression((Expression) newValue);
+ return;
+ case Bpmn2Package.SEQUENCE_FLOW__IS_IMMEDIATE:
+ setIsImmediate((Boolean) newValue);
+ return;
+ case Bpmn2Package.SEQUENCE_FLOW__SOURCE_REF:
+ setSourceRef((FlowNode) newValue);
+ return;
+ case Bpmn2Package.SEQUENCE_FLOW__TARGET_REF:
+ setTargetRef((FlowNode) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.SEQUENCE_FLOW__CONDITION_EXPRESSION:
+ setConditionExpression((Expression) null);
+ return;
+ case Bpmn2Package.SEQUENCE_FLOW__IS_IMMEDIATE:
+ setIsImmediate(IS_IMMEDIATE_EDEFAULT);
+ return;
+ case Bpmn2Package.SEQUENCE_FLOW__SOURCE_REF:
+ setSourceRef((FlowNode) null);
+ return;
+ case Bpmn2Package.SEQUENCE_FLOW__TARGET_REF:
+ setTargetRef((FlowNode) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.SEQUENCE_FLOW__CONDITION_EXPRESSION:
+ return conditionExpression != null;
+ case Bpmn2Package.SEQUENCE_FLOW__IS_IMMEDIATE:
+ return isImmediate != IS_IMMEDIATE_EDEFAULT;
+ case Bpmn2Package.SEQUENCE_FLOW__SOURCE_REF:
+ return sourceRef != null;
+ case Bpmn2Package.SEQUENCE_FLOW__TARGET_REF:
+ return targetRef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (isImmediate: ");
+ result.append(isImmediate);
+ result.append(')');
+ return result.toString();
+ }
+
+} //SequenceFlowImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ServiceTaskImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ServiceTaskImpl.java
new file mode 100644
index 000000000..5519d2aba
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ServiceTaskImpl.java
@@ -0,0 +1,245 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Operation;
+import org.eclipse.bpmn2.ServiceTask;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Service Task</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.ServiceTaskImpl#getImplementation <em>Implementation</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ServiceTaskImpl#getOperationRef <em>Operation Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ServiceTaskImpl extends TaskImpl implements ServiceTask {
+ /**
+ * The default value of the '{@link #getImplementation() <em>Implementation</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getImplementation()
+ * @generated
+ * @ordered
+ */
+ protected static final String IMPLEMENTATION_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getImplementation() <em>Implementation</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getImplementation()
+ * @generated
+ * @ordered
+ */
+ protected String implementation = IMPLEMENTATION_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getOperationRef() <em>Operation Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOperationRef()
+ * @generated
+ * @ordered
+ */
+ protected Operation operationRef;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ServiceTaskImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.SERVICE_TASK;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getImplementation() {
+ return implementation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setImplementation(String newImplementation) {
+ String oldImplementation = implementation;
+ implementation = newImplementation;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.SERVICE_TASK__IMPLEMENTATION,
+ oldImplementation, implementation));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Operation getOperationRef() {
+ if (operationRef != null && operationRef.eIsProxy()) {
+ InternalEObject oldOperationRef = (InternalEObject) operationRef;
+ operationRef = (Operation) eResolveProxy(oldOperationRef);
+ if (operationRef != oldOperationRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.SERVICE_TASK__OPERATION_REF,
+ oldOperationRef, operationRef));
+ }
+ }
+ return operationRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Operation basicGetOperationRef() {
+ return operationRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setOperationRef(Operation newOperationRef) {
+ Operation oldOperationRef = operationRef;
+ operationRef = newOperationRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.SERVICE_TASK__OPERATION_REF, oldOperationRef,
+ operationRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.SERVICE_TASK__IMPLEMENTATION:
+ return getImplementation();
+ case Bpmn2Package.SERVICE_TASK__OPERATION_REF:
+ if (resolve)
+ return getOperationRef();
+ return basicGetOperationRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.SERVICE_TASK__IMPLEMENTATION:
+ setImplementation((String) newValue);
+ return;
+ case Bpmn2Package.SERVICE_TASK__OPERATION_REF:
+ setOperationRef((Operation) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.SERVICE_TASK__IMPLEMENTATION:
+ setImplementation(IMPLEMENTATION_EDEFAULT);
+ return;
+ case Bpmn2Package.SERVICE_TASK__OPERATION_REF:
+ setOperationRef((Operation) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.SERVICE_TASK__IMPLEMENTATION:
+ return IMPLEMENTATION_EDEFAULT == null ? implementation != null
+ : !IMPLEMENTATION_EDEFAULT.equals(implementation);
+ case Bpmn2Package.SERVICE_TASK__OPERATION_REF:
+ return operationRef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (implementation: ");
+ result.append(implementation);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ServiceTaskImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/SignalEventDefinitionImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/SignalEventDefinitionImpl.java
new file mode 100644
index 000000000..366b423c4
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/SignalEventDefinitionImpl.java
@@ -0,0 +1,174 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Signal;
+import org.eclipse.bpmn2.SignalEventDefinition;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Signal Event Definition</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.SignalEventDefinitionImpl#getSignalRef <em>Signal Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class SignalEventDefinitionImpl extends EventDefinitionImpl implements
+ SignalEventDefinition {
+ /**
+ * The cached value of the '{@link #getSignalRef() <em>Signal Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSignalRef()
+ * @generated
+ * @ordered
+ */
+ protected Signal signalRef;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected SignalEventDefinitionImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.SIGNAL_EVENT_DEFINITION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Signal getSignalRef() {
+ if (signalRef != null && signalRef.eIsProxy()) {
+ InternalEObject oldSignalRef = (InternalEObject) signalRef;
+ signalRef = (Signal) eResolveProxy(oldSignalRef);
+ if (signalRef != oldSignalRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.SIGNAL_EVENT_DEFINITION__SIGNAL_REF,
+ oldSignalRef, signalRef));
+ }
+ }
+ return signalRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Signal basicGetSignalRef() {
+ return signalRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSignalRef(Signal newSignalRef) {
+ Signal oldSignalRef = signalRef;
+ signalRef = newSignalRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.SIGNAL_EVENT_DEFINITION__SIGNAL_REF,
+ oldSignalRef, signalRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.SIGNAL_EVENT_DEFINITION__SIGNAL_REF:
+ if (resolve)
+ return getSignalRef();
+ return basicGetSignalRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.SIGNAL_EVENT_DEFINITION__SIGNAL_REF:
+ setSignalRef((Signal) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.SIGNAL_EVENT_DEFINITION__SIGNAL_REF:
+ setSignalRef((Signal) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.SIGNAL_EVENT_DEFINITION__SIGNAL_REF:
+ return signalRef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //SignalEventDefinitionImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/SignalImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/SignalImpl.java
new file mode 100644
index 000000000..79da07373
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/SignalImpl.java
@@ -0,0 +1,244 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.ItemDefinition;
+import org.eclipse.bpmn2.Signal;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Signal</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.SignalImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.SignalImpl#getStructureRef <em>Structure Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class SignalImpl extends RootElementImpl implements Signal {
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getStructureRef() <em>Structure Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getStructureRef()
+ * @generated
+ * @ordered
+ */
+ protected ItemDefinition structureRef;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected SignalImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.SIGNAL;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.SIGNAL__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ItemDefinition getStructureRef() {
+ if (structureRef != null && structureRef.eIsProxy()) {
+ InternalEObject oldStructureRef = (InternalEObject) structureRef;
+ structureRef = (ItemDefinition) eResolveProxy(oldStructureRef);
+ if (structureRef != oldStructureRef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Bpmn2Package.SIGNAL__STRUCTURE_REF,
+ oldStructureRef, structureRef));
+ }
+ }
+ return structureRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ItemDefinition basicGetStructureRef() {
+ return structureRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setStructureRef(ItemDefinition newStructureRef) {
+ ItemDefinition oldStructureRef = structureRef;
+ structureRef = newStructureRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.SIGNAL__STRUCTURE_REF, oldStructureRef,
+ structureRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.SIGNAL__NAME:
+ return getName();
+ case Bpmn2Package.SIGNAL__STRUCTURE_REF:
+ if (resolve)
+ return getStructureRef();
+ return basicGetStructureRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.SIGNAL__NAME:
+ setName((String) newValue);
+ return;
+ case Bpmn2Package.SIGNAL__STRUCTURE_REF:
+ setStructureRef((ItemDefinition) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.SIGNAL__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case Bpmn2Package.SIGNAL__STRUCTURE_REF:
+ setStructureRef((ItemDefinition) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.SIGNAL__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
+ .equals(name);
+ case Bpmn2Package.SIGNAL__STRUCTURE_REF:
+ return structureRef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //SignalImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/StandardLoopCharacteristicsImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/StandardLoopCharacteristicsImpl.java
new file mode 100644
index 000000000..811ab1c4e
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/StandardLoopCharacteristicsImpl.java
@@ -0,0 +1,364 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Expression;
+import org.eclipse.bpmn2.StandardLoopCharacteristics;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Standard Loop Characteristics</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.StandardLoopCharacteristicsImpl#getLoopCondition <em>Loop Condition</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.StandardLoopCharacteristicsImpl#getLoopMaximum <em>Loop Maximum</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.StandardLoopCharacteristicsImpl#isTestBefore <em>Test Before</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class StandardLoopCharacteristicsImpl extends LoopCharacteristicsImpl
+ implements StandardLoopCharacteristics {
+ /**
+ * The cached value of the '{@link #getLoopCondition() <em>Loop Condition</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLoopCondition()
+ * @generated
+ * @ordered
+ */
+ protected Expression loopCondition;
+
+ /**
+ * The cached value of the '{@link #getLoopMaximum() <em>Loop Maximum</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLoopMaximum()
+ * @generated
+ * @ordered
+ */
+ protected Expression loopMaximum;
+
+ /**
+ * The default value of the '{@link #isTestBefore() <em>Test Before</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isTestBefore()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean TEST_BEFORE_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isTestBefore() <em>Test Before</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isTestBefore()
+ * @generated
+ * @ordered
+ */
+ protected boolean testBefore = TEST_BEFORE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected StandardLoopCharacteristicsImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.STANDARD_LOOP_CHARACTERISTICS;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Expression getLoopCondition() {
+ return loopCondition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetLoopCondition(Expression newLoopCondition,
+ NotificationChain msgs) {
+ Expression oldLoopCondition = loopCondition;
+ loopCondition = newLoopCondition;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET,
+ Bpmn2Package.STANDARD_LOOP_CHARACTERISTICS__LOOP_CONDITION,
+ oldLoopCondition, newLoopCondition);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLoopCondition(Expression newLoopCondition) {
+ if (newLoopCondition != loopCondition) {
+ NotificationChain msgs = null;
+ if (loopCondition != null)
+ msgs = ((InternalEObject) loopCondition)
+ .eInverseRemove(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.STANDARD_LOOP_CHARACTERISTICS__LOOP_CONDITION,
+ null, msgs);
+ if (newLoopCondition != null)
+ msgs = ((InternalEObject) newLoopCondition)
+ .eInverseAdd(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.STANDARD_LOOP_CHARACTERISTICS__LOOP_CONDITION,
+ null, msgs);
+ msgs = basicSetLoopCondition(newLoopCondition, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.STANDARD_LOOP_CHARACTERISTICS__LOOP_CONDITION,
+ newLoopCondition, newLoopCondition));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Expression getLoopMaximum() {
+ return loopMaximum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetLoopMaximum(Expression newLoopMaximum,
+ NotificationChain msgs) {
+ Expression oldLoopMaximum = loopMaximum;
+ loopMaximum = newLoopMaximum;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET,
+ Bpmn2Package.STANDARD_LOOP_CHARACTERISTICS__LOOP_MAXIMUM,
+ oldLoopMaximum, newLoopMaximum);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLoopMaximum(Expression newLoopMaximum) {
+ if (newLoopMaximum != loopMaximum) {
+ NotificationChain msgs = null;
+ if (loopMaximum != null)
+ msgs = ((InternalEObject) loopMaximum)
+ .eInverseRemove(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.STANDARD_LOOP_CHARACTERISTICS__LOOP_MAXIMUM,
+ null, msgs);
+ if (newLoopMaximum != null)
+ msgs = ((InternalEObject) newLoopMaximum)
+ .eInverseAdd(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.STANDARD_LOOP_CHARACTERISTICS__LOOP_MAXIMUM,
+ null, msgs);
+ msgs = basicSetLoopMaximum(newLoopMaximum, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.STANDARD_LOOP_CHARACTERISTICS__LOOP_MAXIMUM,
+ newLoopMaximum, newLoopMaximum));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isTestBefore() {
+ return testBefore;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTestBefore(boolean newTestBefore) {
+ boolean oldTestBefore = testBefore;
+ testBefore = newTestBefore;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.STANDARD_LOOP_CHARACTERISTICS__TEST_BEFORE,
+ oldTestBefore, testBefore));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.STANDARD_LOOP_CHARACTERISTICS__LOOP_CONDITION:
+ return basicSetLoopCondition(null, msgs);
+ case Bpmn2Package.STANDARD_LOOP_CHARACTERISTICS__LOOP_MAXIMUM:
+ return basicSetLoopMaximum(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.STANDARD_LOOP_CHARACTERISTICS__LOOP_CONDITION:
+ return getLoopCondition();
+ case Bpmn2Package.STANDARD_LOOP_CHARACTERISTICS__LOOP_MAXIMUM:
+ return getLoopMaximum();
+ case Bpmn2Package.STANDARD_LOOP_CHARACTERISTICS__TEST_BEFORE:
+ return isTestBefore();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.STANDARD_LOOP_CHARACTERISTICS__LOOP_CONDITION:
+ setLoopCondition((Expression) newValue);
+ return;
+ case Bpmn2Package.STANDARD_LOOP_CHARACTERISTICS__LOOP_MAXIMUM:
+ setLoopMaximum((Expression) newValue);
+ return;
+ case Bpmn2Package.STANDARD_LOOP_CHARACTERISTICS__TEST_BEFORE:
+ setTestBefore((Boolean) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.STANDARD_LOOP_CHARACTERISTICS__LOOP_CONDITION:
+ setLoopCondition((Expression) null);
+ return;
+ case Bpmn2Package.STANDARD_LOOP_CHARACTERISTICS__LOOP_MAXIMUM:
+ setLoopMaximum((Expression) null);
+ return;
+ case Bpmn2Package.STANDARD_LOOP_CHARACTERISTICS__TEST_BEFORE:
+ setTestBefore(TEST_BEFORE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.STANDARD_LOOP_CHARACTERISTICS__LOOP_CONDITION:
+ return loopCondition != null;
+ case Bpmn2Package.STANDARD_LOOP_CHARACTERISTICS__LOOP_MAXIMUM:
+ return loopMaximum != null;
+ case Bpmn2Package.STANDARD_LOOP_CHARACTERISTICS__TEST_BEFORE:
+ return testBefore != TEST_BEFORE_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (testBefore: ");
+ result.append(testBefore);
+ result.append(')');
+ return result.toString();
+ }
+
+} //StandardLoopCharacteristicsImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/StartEventImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/StartEventImpl.java
new file mode 100644
index 000000000..e96340a8b
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/StartEventImpl.java
@@ -0,0 +1,177 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.StartEvent;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Start Event</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.StartEventImpl#isIsInterrupting <em>Is Interrupting</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class StartEventImpl extends CatchEventImpl implements StartEvent {
+ /**
+ * The default value of the '{@link #isIsInterrupting() <em>Is Interrupting</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsInterrupting()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean IS_INTERRUPTING_EDEFAULT = true;
+
+ /**
+ * The cached value of the '{@link #isIsInterrupting() <em>Is Interrupting</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsInterrupting()
+ * @generated
+ * @ordered
+ */
+ protected boolean isInterrupting = IS_INTERRUPTING_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected StartEventImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.START_EVENT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isIsInterrupting() {
+ return isInterrupting;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIsInterrupting(boolean newIsInterrupting) {
+ boolean oldIsInterrupting = isInterrupting;
+ isInterrupting = newIsInterrupting;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.START_EVENT__IS_INTERRUPTING,
+ oldIsInterrupting, isInterrupting));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.START_EVENT__IS_INTERRUPTING:
+ return isIsInterrupting();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.START_EVENT__IS_INTERRUPTING:
+ setIsInterrupting((Boolean) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.START_EVENT__IS_INTERRUPTING:
+ setIsInterrupting(IS_INTERRUPTING_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.START_EVENT__IS_INTERRUPTING:
+ return isInterrupting != IS_INTERRUPTING_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (isInterrupting: ");
+ result.append(isInterrupting);
+ result.append(')');
+ return result.toString();
+ }
+
+} //StartEventImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/SubChoreographyImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/SubChoreographyImpl.java
new file mode 100644
index 000000000..37e6d6a93
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/SubChoreographyImpl.java
@@ -0,0 +1,288 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Artifact;
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.FlowElement;
+import org.eclipse.bpmn2.FlowElementsContainer;
+import org.eclipse.bpmn2.LaneSet;
+import org.eclipse.bpmn2.SubChoreography;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Sub Choreography</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.SubChoreographyImpl#getLaneSets <em>Lane Sets</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.SubChoreographyImpl#getFlowElements <em>Flow Elements</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.SubChoreographyImpl#getArtifacts <em>Artifacts</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class SubChoreographyImpl extends ChoreographyActivityImpl implements
+ SubChoreography {
+ /**
+ * The cached value of the '{@link #getLaneSets() <em>Lane Sets</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLaneSets()
+ * @generated
+ * @ordered
+ */
+ protected EList<LaneSet> laneSets;
+
+ /**
+ * The cached value of the '{@link #getFlowElements() <em>Flow Elements</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFlowElements()
+ * @generated
+ * @ordered
+ */
+ protected EList<FlowElement> flowElements;
+
+ /**
+ * The cached value of the '{@link #getArtifacts() <em>Artifacts</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getArtifacts()
+ * @generated
+ * @ordered
+ */
+ protected EList<Artifact> artifacts;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected SubChoreographyImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.SUB_CHOREOGRAPHY;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<LaneSet> getLaneSets() {
+ if (laneSets == null) {
+ laneSets = new EObjectContainmentEList<LaneSet>(LaneSet.class,
+ this, Bpmn2Package.SUB_CHOREOGRAPHY__LANE_SETS);
+ }
+ return laneSets;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<FlowElement> getFlowElements() {
+ if (flowElements == null) {
+ flowElements = new EObjectContainmentEList<FlowElement>(
+ FlowElement.class, this,
+ Bpmn2Package.SUB_CHOREOGRAPHY__FLOW_ELEMENTS);
+ }
+ return flowElements;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<Artifact> getArtifacts() {
+ if (artifacts == null) {
+ artifacts = new EObjectContainmentEList<Artifact>(Artifact.class,
+ this, Bpmn2Package.SUB_CHOREOGRAPHY__ARTIFACTS);
+ }
+ return artifacts;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.SUB_CHOREOGRAPHY__LANE_SETS:
+ return ((InternalEList<?>) getLaneSets()).basicRemove(otherEnd,
+ msgs);
+ case Bpmn2Package.SUB_CHOREOGRAPHY__FLOW_ELEMENTS:
+ return ((InternalEList<?>) getFlowElements()).basicRemove(otherEnd,
+ msgs);
+ case Bpmn2Package.SUB_CHOREOGRAPHY__ARTIFACTS:
+ return ((InternalEList<?>) getArtifacts()).basicRemove(otherEnd,
+ msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.SUB_CHOREOGRAPHY__LANE_SETS:
+ return getLaneSets();
+ case Bpmn2Package.SUB_CHOREOGRAPHY__FLOW_ELEMENTS:
+ return getFlowElements();
+ case Bpmn2Package.SUB_CHOREOGRAPHY__ARTIFACTS:
+ return getArtifacts();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.SUB_CHOREOGRAPHY__LANE_SETS:
+ getLaneSets().clear();
+ getLaneSets().addAll((Collection<? extends LaneSet>) newValue);
+ return;
+ case Bpmn2Package.SUB_CHOREOGRAPHY__FLOW_ELEMENTS:
+ getFlowElements().clear();
+ getFlowElements().addAll(
+ (Collection<? extends FlowElement>) newValue);
+ return;
+ case Bpmn2Package.SUB_CHOREOGRAPHY__ARTIFACTS:
+ getArtifacts().clear();
+ getArtifacts().addAll((Collection<? extends Artifact>) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.SUB_CHOREOGRAPHY__LANE_SETS:
+ getLaneSets().clear();
+ return;
+ case Bpmn2Package.SUB_CHOREOGRAPHY__FLOW_ELEMENTS:
+ getFlowElements().clear();
+ return;
+ case Bpmn2Package.SUB_CHOREOGRAPHY__ARTIFACTS:
+ getArtifacts().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.SUB_CHOREOGRAPHY__LANE_SETS:
+ return laneSets != null && !laneSets.isEmpty();
+ case Bpmn2Package.SUB_CHOREOGRAPHY__FLOW_ELEMENTS:
+ return flowElements != null && !flowElements.isEmpty();
+ case Bpmn2Package.SUB_CHOREOGRAPHY__ARTIFACTS:
+ return artifacts != null && !artifacts.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
+ if (baseClass == FlowElementsContainer.class) {
+ switch (derivedFeatureID) {
+ case Bpmn2Package.SUB_CHOREOGRAPHY__LANE_SETS:
+ return Bpmn2Package.FLOW_ELEMENTS_CONTAINER__LANE_SETS;
+ case Bpmn2Package.SUB_CHOREOGRAPHY__FLOW_ELEMENTS:
+ return Bpmn2Package.FLOW_ELEMENTS_CONTAINER__FLOW_ELEMENTS;
+ default:
+ return -1;
+ }
+ }
+ return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
+ if (baseClass == FlowElementsContainer.class) {
+ switch (baseFeatureID) {
+ case Bpmn2Package.FLOW_ELEMENTS_CONTAINER__LANE_SETS:
+ return Bpmn2Package.SUB_CHOREOGRAPHY__LANE_SETS;
+ case Bpmn2Package.FLOW_ELEMENTS_CONTAINER__FLOW_ELEMENTS:
+ return Bpmn2Package.SUB_CHOREOGRAPHY__FLOW_ELEMENTS;
+ default:
+ return -1;
+ }
+ }
+ return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
+ }
+
+} //SubChoreographyImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/SubConversationImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/SubConversationImpl.java
new file mode 100644
index 000000000..e8f88280d
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/SubConversationImpl.java
@@ -0,0 +1,169 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.ConversationNode;
+import org.eclipse.bpmn2.SubConversation;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Sub Conversation</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.SubConversationImpl#getConversationNodes <em>Conversation Nodes</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class SubConversationImpl extends ConversationNodeImpl implements
+ SubConversation {
+ /**
+ * The cached value of the '{@link #getConversationNodes() <em>Conversation Nodes</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getConversationNodes()
+ * @generated
+ * @ordered
+ */
+ protected EList<ConversationNode> conversationNodes;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected SubConversationImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.SUB_CONVERSATION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<ConversationNode> getConversationNodes() {
+ if (conversationNodes == null) {
+ conversationNodes = new EObjectContainmentEList<ConversationNode>(
+ ConversationNode.class, this,
+ Bpmn2Package.SUB_CONVERSATION__CONVERSATION_NODES);
+ }
+ return conversationNodes;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.SUB_CONVERSATION__CONVERSATION_NODES:
+ return ((InternalEList<?>) getConversationNodes()).basicRemove(
+ otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.SUB_CONVERSATION__CONVERSATION_NODES:
+ return getConversationNodes();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.SUB_CONVERSATION__CONVERSATION_NODES:
+ getConversationNodes().clear();
+ getConversationNodes().addAll(
+ (Collection<? extends ConversationNode>) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.SUB_CONVERSATION__CONVERSATION_NODES:
+ getConversationNodes().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.SUB_CONVERSATION__CONVERSATION_NODES:
+ return conversationNodes != null && !conversationNodes.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //SubConversationImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/SubProcessImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/SubProcessImpl.java
new file mode 100644
index 000000000..b22c98bb6
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/SubProcessImpl.java
@@ -0,0 +1,361 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Artifact;
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.FlowElement;
+import org.eclipse.bpmn2.FlowElementsContainer;
+import org.eclipse.bpmn2.LaneSet;
+import org.eclipse.bpmn2.SubProcess;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Sub Process</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.SubProcessImpl#getLaneSets <em>Lane Sets</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.SubProcessImpl#getFlowElements <em>Flow Elements</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.SubProcessImpl#getArtifacts <em>Artifacts</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.SubProcessImpl#isTriggeredByEvent <em>Triggered By Event</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class SubProcessImpl extends ActivityImpl implements SubProcess {
+ /**
+ * The cached value of the '{@link #getLaneSets() <em>Lane Sets</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLaneSets()
+ * @generated
+ * @ordered
+ */
+ protected EList<LaneSet> laneSets;
+
+ /**
+ * The cached value of the '{@link #getFlowElements() <em>Flow Elements</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFlowElements()
+ * @generated
+ * @ordered
+ */
+ protected EList<FlowElement> flowElements;
+
+ /**
+ * The cached value of the '{@link #getArtifacts() <em>Artifacts</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getArtifacts()
+ * @generated
+ * @ordered
+ */
+ protected EList<Artifact> artifacts;
+
+ /**
+ * The default value of the '{@link #isTriggeredByEvent() <em>Triggered By Event</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isTriggeredByEvent()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean TRIGGERED_BY_EVENT_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isTriggeredByEvent() <em>Triggered By Event</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isTriggeredByEvent()
+ * @generated
+ * @ordered
+ */
+ protected boolean triggeredByEvent = TRIGGERED_BY_EVENT_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected SubProcessImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.SUB_PROCESS;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<LaneSet> getLaneSets() {
+ if (laneSets == null) {
+ laneSets = new EObjectContainmentEList<LaneSet>(LaneSet.class,
+ this, Bpmn2Package.SUB_PROCESS__LANE_SETS);
+ }
+ return laneSets;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<FlowElement> getFlowElements() {
+ if (flowElements == null) {
+ flowElements = new EObjectContainmentEList<FlowElement>(
+ FlowElement.class, this,
+ Bpmn2Package.SUB_PROCESS__FLOW_ELEMENTS);
+ }
+ return flowElements;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<Artifact> getArtifacts() {
+ if (artifacts == null) {
+ artifacts = new EObjectContainmentEList<Artifact>(Artifact.class,
+ this, Bpmn2Package.SUB_PROCESS__ARTIFACTS);
+ }
+ return artifacts;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isTriggeredByEvent() {
+ return triggeredByEvent;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTriggeredByEvent(boolean newTriggeredByEvent) {
+ boolean oldTriggeredByEvent = triggeredByEvent;
+ triggeredByEvent = newTriggeredByEvent;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.SUB_PROCESS__TRIGGERED_BY_EVENT,
+ oldTriggeredByEvent, triggeredByEvent));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.SUB_PROCESS__LANE_SETS:
+ return ((InternalEList<?>) getLaneSets()).basicRemove(otherEnd,
+ msgs);
+ case Bpmn2Package.SUB_PROCESS__FLOW_ELEMENTS:
+ return ((InternalEList<?>) getFlowElements()).basicRemove(otherEnd,
+ msgs);
+ case Bpmn2Package.SUB_PROCESS__ARTIFACTS:
+ return ((InternalEList<?>) getArtifacts()).basicRemove(otherEnd,
+ msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.SUB_PROCESS__LANE_SETS:
+ return getLaneSets();
+ case Bpmn2Package.SUB_PROCESS__FLOW_ELEMENTS:
+ return getFlowElements();
+ case Bpmn2Package.SUB_PROCESS__ARTIFACTS:
+ return getArtifacts();
+ case Bpmn2Package.SUB_PROCESS__TRIGGERED_BY_EVENT:
+ return isTriggeredByEvent();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.SUB_PROCESS__LANE_SETS:
+ getLaneSets().clear();
+ getLaneSets().addAll((Collection<? extends LaneSet>) newValue);
+ return;
+ case Bpmn2Package.SUB_PROCESS__FLOW_ELEMENTS:
+ getFlowElements().clear();
+ getFlowElements().addAll(
+ (Collection<? extends FlowElement>) newValue);
+ return;
+ case Bpmn2Package.SUB_PROCESS__ARTIFACTS:
+ getArtifacts().clear();
+ getArtifacts().addAll((Collection<? extends Artifact>) newValue);
+ return;
+ case Bpmn2Package.SUB_PROCESS__TRIGGERED_BY_EVENT:
+ setTriggeredByEvent((Boolean) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.SUB_PROCESS__LANE_SETS:
+ getLaneSets().clear();
+ return;
+ case Bpmn2Package.SUB_PROCESS__FLOW_ELEMENTS:
+ getFlowElements().clear();
+ return;
+ case Bpmn2Package.SUB_PROCESS__ARTIFACTS:
+ getArtifacts().clear();
+ return;
+ case Bpmn2Package.SUB_PROCESS__TRIGGERED_BY_EVENT:
+ setTriggeredByEvent(TRIGGERED_BY_EVENT_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.SUB_PROCESS__LANE_SETS:
+ return laneSets != null && !laneSets.isEmpty();
+ case Bpmn2Package.SUB_PROCESS__FLOW_ELEMENTS:
+ return flowElements != null && !flowElements.isEmpty();
+ case Bpmn2Package.SUB_PROCESS__ARTIFACTS:
+ return artifacts != null && !artifacts.isEmpty();
+ case Bpmn2Package.SUB_PROCESS__TRIGGERED_BY_EVENT:
+ return triggeredByEvent != TRIGGERED_BY_EVENT_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
+ if (baseClass == FlowElementsContainer.class) {
+ switch (derivedFeatureID) {
+ case Bpmn2Package.SUB_PROCESS__LANE_SETS:
+ return Bpmn2Package.FLOW_ELEMENTS_CONTAINER__LANE_SETS;
+ case Bpmn2Package.SUB_PROCESS__FLOW_ELEMENTS:
+ return Bpmn2Package.FLOW_ELEMENTS_CONTAINER__FLOW_ELEMENTS;
+ default:
+ return -1;
+ }
+ }
+ return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
+ if (baseClass == FlowElementsContainer.class) {
+ switch (baseFeatureID) {
+ case Bpmn2Package.FLOW_ELEMENTS_CONTAINER__LANE_SETS:
+ return Bpmn2Package.SUB_PROCESS__LANE_SETS;
+ case Bpmn2Package.FLOW_ELEMENTS_CONTAINER__FLOW_ELEMENTS:
+ return Bpmn2Package.SUB_PROCESS__FLOW_ELEMENTS;
+ default:
+ return -1;
+ }
+ }
+ return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (triggeredByEvent: ");
+ result.append(triggeredByEvent);
+ result.append(')');
+ return result.toString();
+ }
+
+} //SubProcessImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/TaskImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/TaskImpl.java
new file mode 100644
index 000000000..ae3e178c0
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/TaskImpl.java
@@ -0,0 +1,158 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.ConversationLink;
+import org.eclipse.bpmn2.InteractionNode;
+import org.eclipse.bpmn2.Task;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Task</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.TaskImpl#getIncomingConversationLinks <em>Incoming Conversation Links</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.TaskImpl#getOutgoingConversationLinks <em>Outgoing Conversation Links</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class TaskImpl extends ActivityImpl implements Task {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected TaskImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.TASK;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<ConversationLink> getIncomingConversationLinks() {
+ // TODO: implement this method to return the 'Incoming Conversation Links' reference list
+ // Ensure that you remove @generated or mark it @generated NOT
+ // The list is expected to implement org.eclipse.emf.ecore.util.InternalEList and org.eclipse.emf.ecore.EStructuralFeature.Setting
+ // so it's likely that an appropriate subclass of org.eclipse.emf.ecore.util.EcoreEList should be used.
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<ConversationLink> getOutgoingConversationLinks() {
+ // TODO: implement this method to return the 'Outgoing Conversation Links' reference list
+ // Ensure that you remove @generated or mark it @generated NOT
+ // The list is expected to implement org.eclipse.emf.ecore.util.InternalEList and org.eclipse.emf.ecore.EStructuralFeature.Setting
+ // so it's likely that an appropriate subclass of org.eclipse.emf.ecore.util.EcoreEList should be used.
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.TASK__INCOMING_CONVERSATION_LINKS:
+ return getIncomingConversationLinks();
+ case Bpmn2Package.TASK__OUTGOING_CONVERSATION_LINKS:
+ return getOutgoingConversationLinks();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.TASK__INCOMING_CONVERSATION_LINKS:
+ return !getIncomingConversationLinks().isEmpty();
+ case Bpmn2Package.TASK__OUTGOING_CONVERSATION_LINKS:
+ return !getOutgoingConversationLinks().isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
+ if (baseClass == InteractionNode.class) {
+ switch (derivedFeatureID) {
+ case Bpmn2Package.TASK__INCOMING_CONVERSATION_LINKS:
+ return Bpmn2Package.INTERACTION_NODE__INCOMING_CONVERSATION_LINKS;
+ case Bpmn2Package.TASK__OUTGOING_CONVERSATION_LINKS:
+ return Bpmn2Package.INTERACTION_NODE__OUTGOING_CONVERSATION_LINKS;
+ default:
+ return -1;
+ }
+ }
+ return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
+ if (baseClass == InteractionNode.class) {
+ switch (baseFeatureID) {
+ case Bpmn2Package.INTERACTION_NODE__INCOMING_CONVERSATION_LINKS:
+ return Bpmn2Package.TASK__INCOMING_CONVERSATION_LINKS;
+ case Bpmn2Package.INTERACTION_NODE__OUTGOING_CONVERSATION_LINKS:
+ return Bpmn2Package.TASK__OUTGOING_CONVERSATION_LINKS;
+ default:
+ return -1;
+ }
+ }
+ return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
+ }
+
+} //TaskImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/TerminateEventDefinitionImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/TerminateEventDefinitionImpl.java
new file mode 100644
index 000000000..3524451e5
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/TerminateEventDefinitionImpl.java
@@ -0,0 +1,52 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.TerminateEventDefinition;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Terminate Event Definition</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class TerminateEventDefinitionImpl extends EventDefinitionImpl implements
+ TerminateEventDefinition {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected TerminateEventDefinitionImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.TERMINATE_EVENT_DEFINITION;
+ }
+
+} //TerminateEventDefinitionImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/TextAnnotationImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/TextAnnotationImpl.java
new file mode 100644
index 000000000..d76a2a2e2
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/TextAnnotationImpl.java
@@ -0,0 +1,234 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.TextAnnotation;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Text Annotation</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.TextAnnotationImpl#getText <em>Text</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.TextAnnotationImpl#getTextFormat <em>Text Format</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class TextAnnotationImpl extends ArtifactImpl implements TextAnnotation {
+ /**
+ * The default value of the '{@link #getText() <em>Text</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getText()
+ * @generated
+ * @ordered
+ */
+ protected static final String TEXT_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getText() <em>Text</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getText()
+ * @generated
+ * @ordered
+ */
+ protected String text = TEXT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getTextFormat() <em>Text Format</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTextFormat()
+ * @generated
+ * @ordered
+ */
+ protected static final String TEXT_FORMAT_EDEFAULT = "text/plain";
+
+ /**
+ * The cached value of the '{@link #getTextFormat() <em>Text Format</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTextFormat()
+ * @generated
+ * @ordered
+ */
+ protected String textFormat = TEXT_FORMAT_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected TextAnnotationImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.TEXT_ANNOTATION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getText() {
+ return text;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setText(String newText) {
+ String oldText = text;
+ text = newText;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.TEXT_ANNOTATION__TEXT, oldText, text));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getTextFormat() {
+ return textFormat;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTextFormat(String newTextFormat) {
+ String oldTextFormat = textFormat;
+ textFormat = newTextFormat;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.TEXT_ANNOTATION__TEXT_FORMAT, oldTextFormat,
+ textFormat));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.TEXT_ANNOTATION__TEXT:
+ return getText();
+ case Bpmn2Package.TEXT_ANNOTATION__TEXT_FORMAT:
+ return getTextFormat();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.TEXT_ANNOTATION__TEXT:
+ setText((String) newValue);
+ return;
+ case Bpmn2Package.TEXT_ANNOTATION__TEXT_FORMAT:
+ setTextFormat((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.TEXT_ANNOTATION__TEXT:
+ setText(TEXT_EDEFAULT);
+ return;
+ case Bpmn2Package.TEXT_ANNOTATION__TEXT_FORMAT:
+ setTextFormat(TEXT_FORMAT_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.TEXT_ANNOTATION__TEXT:
+ return TEXT_EDEFAULT == null ? text != null : !TEXT_EDEFAULT
+ .equals(text);
+ case Bpmn2Package.TEXT_ANNOTATION__TEXT_FORMAT:
+ return TEXT_FORMAT_EDEFAULT == null ? textFormat != null
+ : !TEXT_FORMAT_EDEFAULT.equals(textFormat);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (text: ");
+ result.append(text);
+ result.append(", textFormat: ");
+ result.append(textFormat);
+ result.append(')');
+ return result.toString();
+ }
+
+} //TextAnnotationImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ThrowEventImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ThrowEventImpl.java
new file mode 100644
index 000000000..93db1ce58
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/ThrowEventImpl.java
@@ -0,0 +1,373 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.DataInput;
+import org.eclipse.bpmn2.DataInputAssociation;
+import org.eclipse.bpmn2.EventDefinition;
+import org.eclipse.bpmn2.InputSet;
+import org.eclipse.bpmn2.ThrowEvent;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Throw Event</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.ThrowEventImpl#getDataInputs <em>Data Inputs</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ThrowEventImpl#getDataInputAssociation <em>Data Input Association</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ThrowEventImpl#getInputSet <em>Input Set</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ThrowEventImpl#getEventDefinitions <em>Event Definitions</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.ThrowEventImpl#getEventDefinitionRefs <em>Event Definition Refs</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class ThrowEventImpl extends EventImpl implements ThrowEvent {
+ /**
+ * The cached value of the '{@link #getDataInputs() <em>Data Inputs</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDataInputs()
+ * @generated
+ * @ordered
+ */
+ protected EList<DataInput> dataInputs;
+
+ /**
+ * The cached value of the '{@link #getDataInputAssociation() <em>Data Input Association</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDataInputAssociation()
+ * @generated
+ * @ordered
+ */
+ protected EList<DataInputAssociation> dataInputAssociation;
+
+ /**
+ * The cached value of the '{@link #getInputSet() <em>Input Set</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getInputSet()
+ * @generated
+ * @ordered
+ */
+ protected InputSet inputSet;
+
+ /**
+ * The cached value of the '{@link #getEventDefinitions() <em>Event Definitions</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getEventDefinitions()
+ * @generated
+ * @ordered
+ */
+ protected EList<EventDefinition> eventDefinitions;
+
+ /**
+ * The cached value of the '{@link #getEventDefinitionRefs() <em>Event Definition Refs</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getEventDefinitionRefs()
+ * @generated
+ * @ordered
+ */
+ protected EList<EventDefinition> eventDefinitionRefs;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ThrowEventImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.THROW_EVENT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<DataInput> getDataInputs() {
+ if (dataInputs == null) {
+ dataInputs = new EObjectContainmentEList<DataInput>(
+ DataInput.class, this,
+ Bpmn2Package.THROW_EVENT__DATA_INPUTS);
+ }
+ return dataInputs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<DataInputAssociation> getDataInputAssociation() {
+ if (dataInputAssociation == null) {
+ dataInputAssociation = new EObjectContainmentEList<DataInputAssociation>(
+ DataInputAssociation.class, this,
+ Bpmn2Package.THROW_EVENT__DATA_INPUT_ASSOCIATION);
+ }
+ return dataInputAssociation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public InputSet getInputSet() {
+ return inputSet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetInputSet(InputSet newInputSet,
+ NotificationChain msgs) {
+ InputSet oldInputSet = inputSet;
+ inputSet = newInputSet;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET, Bpmn2Package.THROW_EVENT__INPUT_SET,
+ oldInputSet, newInputSet);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setInputSet(InputSet newInputSet) {
+ if (newInputSet != inputSet) {
+ NotificationChain msgs = null;
+ if (inputSet != null)
+ msgs = ((InternalEObject) inputSet).eInverseRemove(this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.THROW_EVENT__INPUT_SET, null,
+ msgs);
+ if (newInputSet != null)
+ msgs = ((InternalEObject) newInputSet).eInverseAdd(this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.THROW_EVENT__INPUT_SET, null,
+ msgs);
+ msgs = basicSetInputSet(newInputSet, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.THROW_EVENT__INPUT_SET, newInputSet,
+ newInputSet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<EventDefinition> getEventDefinitions() {
+ if (eventDefinitions == null) {
+ eventDefinitions = new EObjectContainmentEList<EventDefinition>(
+ EventDefinition.class, this,
+ Bpmn2Package.THROW_EVENT__EVENT_DEFINITIONS);
+ }
+ return eventDefinitions;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<EventDefinition> getEventDefinitionRefs() {
+ if (eventDefinitionRefs == null) {
+ eventDefinitionRefs = new EObjectResolvingEList<EventDefinition>(
+ EventDefinition.class, this,
+ Bpmn2Package.THROW_EVENT__EVENT_DEFINITION_REFS);
+ }
+ return eventDefinitionRefs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.THROW_EVENT__DATA_INPUTS:
+ return ((InternalEList<?>) getDataInputs()).basicRemove(otherEnd,
+ msgs);
+ case Bpmn2Package.THROW_EVENT__DATA_INPUT_ASSOCIATION:
+ return ((InternalEList<?>) getDataInputAssociation()).basicRemove(
+ otherEnd, msgs);
+ case Bpmn2Package.THROW_EVENT__INPUT_SET:
+ return basicSetInputSet(null, msgs);
+ case Bpmn2Package.THROW_EVENT__EVENT_DEFINITIONS:
+ return ((InternalEList<?>) getEventDefinitions()).basicRemove(
+ otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.THROW_EVENT__DATA_INPUTS:
+ return getDataInputs();
+ case Bpmn2Package.THROW_EVENT__DATA_INPUT_ASSOCIATION:
+ return getDataInputAssociation();
+ case Bpmn2Package.THROW_EVENT__INPUT_SET:
+ return getInputSet();
+ case Bpmn2Package.THROW_EVENT__EVENT_DEFINITIONS:
+ return getEventDefinitions();
+ case Bpmn2Package.THROW_EVENT__EVENT_DEFINITION_REFS:
+ return getEventDefinitionRefs();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.THROW_EVENT__DATA_INPUTS:
+ getDataInputs().clear();
+ getDataInputs().addAll((Collection<? extends DataInput>) newValue);
+ return;
+ case Bpmn2Package.THROW_EVENT__DATA_INPUT_ASSOCIATION:
+ getDataInputAssociation().clear();
+ getDataInputAssociation().addAll(
+ (Collection<? extends DataInputAssociation>) newValue);
+ return;
+ case Bpmn2Package.THROW_EVENT__INPUT_SET:
+ setInputSet((InputSet) newValue);
+ return;
+ case Bpmn2Package.THROW_EVENT__EVENT_DEFINITIONS:
+ getEventDefinitions().clear();
+ getEventDefinitions().addAll(
+ (Collection<? extends EventDefinition>) newValue);
+ return;
+ case Bpmn2Package.THROW_EVENT__EVENT_DEFINITION_REFS:
+ getEventDefinitionRefs().clear();
+ getEventDefinitionRefs().addAll(
+ (Collection<? extends EventDefinition>) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.THROW_EVENT__DATA_INPUTS:
+ getDataInputs().clear();
+ return;
+ case Bpmn2Package.THROW_EVENT__DATA_INPUT_ASSOCIATION:
+ getDataInputAssociation().clear();
+ return;
+ case Bpmn2Package.THROW_EVENT__INPUT_SET:
+ setInputSet((InputSet) null);
+ return;
+ case Bpmn2Package.THROW_EVENT__EVENT_DEFINITIONS:
+ getEventDefinitions().clear();
+ return;
+ case Bpmn2Package.THROW_EVENT__EVENT_DEFINITION_REFS:
+ getEventDefinitionRefs().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.THROW_EVENT__DATA_INPUTS:
+ return dataInputs != null && !dataInputs.isEmpty();
+ case Bpmn2Package.THROW_EVENT__DATA_INPUT_ASSOCIATION:
+ return dataInputAssociation != null
+ && !dataInputAssociation.isEmpty();
+ case Bpmn2Package.THROW_EVENT__INPUT_SET:
+ return inputSet != null;
+ case Bpmn2Package.THROW_EVENT__EVENT_DEFINITIONS:
+ return eventDefinitions != null && !eventDefinitions.isEmpty();
+ case Bpmn2Package.THROW_EVENT__EVENT_DEFINITION_REFS:
+ return eventDefinitionRefs != null
+ && !eventDefinitionRefs.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //ThrowEventImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/TimerEventDefinitionImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/TimerEventDefinitionImpl.java
new file mode 100644
index 000000000..a4ff85853
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/TimerEventDefinitionImpl.java
@@ -0,0 +1,378 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Expression;
+import org.eclipse.bpmn2.TimerEventDefinition;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Timer Event Definition</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.TimerEventDefinitionImpl#getTimeDate <em>Time Date</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.TimerEventDefinitionImpl#getTimeDuration <em>Time Duration</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.TimerEventDefinitionImpl#getTimeCycle <em>Time Cycle</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class TimerEventDefinitionImpl extends EventDefinitionImpl implements
+ TimerEventDefinition {
+ /**
+ * The cached value of the '{@link #getTimeDate() <em>Time Date</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTimeDate()
+ * @generated
+ * @ordered
+ */
+ protected Expression timeDate;
+
+ /**
+ * The cached value of the '{@link #getTimeDuration() <em>Time Duration</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTimeDuration()
+ * @generated
+ * @ordered
+ */
+ protected Expression timeDuration;
+
+ /**
+ * The cached value of the '{@link #getTimeCycle() <em>Time Cycle</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTimeCycle()
+ * @generated
+ * @ordered
+ */
+ protected Expression timeCycle;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected TimerEventDefinitionImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.TIMER_EVENT_DEFINITION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Expression getTimeDate() {
+ return timeDate;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetTimeDate(Expression newTimeDate,
+ NotificationChain msgs) {
+ Expression oldTimeDate = timeDate;
+ timeDate = newTimeDate;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET,
+ Bpmn2Package.TIMER_EVENT_DEFINITION__TIME_DATE,
+ oldTimeDate, newTimeDate);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTimeDate(Expression newTimeDate) {
+ if (newTimeDate != timeDate) {
+ NotificationChain msgs = null;
+ if (timeDate != null)
+ msgs = ((InternalEObject) timeDate)
+ .eInverseRemove(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.TIMER_EVENT_DEFINITION__TIME_DATE,
+ null, msgs);
+ if (newTimeDate != null)
+ msgs = ((InternalEObject) newTimeDate)
+ .eInverseAdd(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.TIMER_EVENT_DEFINITION__TIME_DATE,
+ null, msgs);
+ msgs = basicSetTimeDate(newTimeDate, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.TIMER_EVENT_DEFINITION__TIME_DATE,
+ newTimeDate, newTimeDate));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Expression getTimeDuration() {
+ return timeDuration;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetTimeDuration(Expression newTimeDuration,
+ NotificationChain msgs) {
+ Expression oldTimeDuration = timeDuration;
+ timeDuration = newTimeDuration;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET,
+ Bpmn2Package.TIMER_EVENT_DEFINITION__TIME_DURATION,
+ oldTimeDuration, newTimeDuration);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTimeDuration(Expression newTimeDuration) {
+ if (newTimeDuration != timeDuration) {
+ NotificationChain msgs = null;
+ if (timeDuration != null)
+ msgs = ((InternalEObject) timeDuration)
+ .eInverseRemove(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.TIMER_EVENT_DEFINITION__TIME_DURATION,
+ null, msgs);
+ if (newTimeDuration != null)
+ msgs = ((InternalEObject) newTimeDuration)
+ .eInverseAdd(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.TIMER_EVENT_DEFINITION__TIME_DURATION,
+ null, msgs);
+ msgs = basicSetTimeDuration(newTimeDuration, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.TIMER_EVENT_DEFINITION__TIME_DURATION,
+ newTimeDuration, newTimeDuration));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Expression getTimeCycle() {
+ return timeCycle;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetTimeCycle(Expression newTimeCycle,
+ NotificationChain msgs) {
+ Expression oldTimeCycle = timeCycle;
+ timeCycle = newTimeCycle;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET,
+ Bpmn2Package.TIMER_EVENT_DEFINITION__TIME_CYCLE,
+ oldTimeCycle, newTimeCycle);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTimeCycle(Expression newTimeCycle) {
+ if (newTimeCycle != timeCycle) {
+ NotificationChain msgs = null;
+ if (timeCycle != null)
+ msgs = ((InternalEObject) timeCycle)
+ .eInverseRemove(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.TIMER_EVENT_DEFINITION__TIME_CYCLE,
+ null, msgs);
+ if (newTimeCycle != null)
+ msgs = ((InternalEObject) newTimeCycle)
+ .eInverseAdd(
+ this,
+ EOPPOSITE_FEATURE_BASE
+ - Bpmn2Package.TIMER_EVENT_DEFINITION__TIME_CYCLE,
+ null, msgs);
+ msgs = basicSetTimeCycle(newTimeCycle, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.TIMER_EVENT_DEFINITION__TIME_CYCLE,
+ newTimeCycle, newTimeCycle));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.TIMER_EVENT_DEFINITION__TIME_DATE:
+ return basicSetTimeDate(null, msgs);
+ case Bpmn2Package.TIMER_EVENT_DEFINITION__TIME_DURATION:
+ return basicSetTimeDuration(null, msgs);
+ case Bpmn2Package.TIMER_EVENT_DEFINITION__TIME_CYCLE:
+ return basicSetTimeCycle(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.TIMER_EVENT_DEFINITION__TIME_DATE:
+ return getTimeDate();
+ case Bpmn2Package.TIMER_EVENT_DEFINITION__TIME_DURATION:
+ return getTimeDuration();
+ case Bpmn2Package.TIMER_EVENT_DEFINITION__TIME_CYCLE:
+ return getTimeCycle();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.TIMER_EVENT_DEFINITION__TIME_DATE:
+ setTimeDate((Expression) newValue);
+ return;
+ case Bpmn2Package.TIMER_EVENT_DEFINITION__TIME_DURATION:
+ setTimeDuration((Expression) newValue);
+ return;
+ case Bpmn2Package.TIMER_EVENT_DEFINITION__TIME_CYCLE:
+ setTimeCycle((Expression) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.TIMER_EVENT_DEFINITION__TIME_DATE:
+ setTimeDate((Expression) null);
+ return;
+ case Bpmn2Package.TIMER_EVENT_DEFINITION__TIME_DURATION:
+ setTimeDuration((Expression) null);
+ return;
+ case Bpmn2Package.TIMER_EVENT_DEFINITION__TIME_CYCLE:
+ setTimeCycle((Expression) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.TIMER_EVENT_DEFINITION__TIME_DATE:
+ return timeDate != null;
+ case Bpmn2Package.TIMER_EVENT_DEFINITION__TIME_DURATION:
+ return timeDuration != null;
+ case Bpmn2Package.TIMER_EVENT_DEFINITION__TIME_CYCLE:
+ return timeCycle != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //TimerEventDefinitionImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/TransactionImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/TransactionImpl.java
new file mode 100644
index 000000000..348b692ac
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/TransactionImpl.java
@@ -0,0 +1,233 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Transaction;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Transaction</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.TransactionImpl#getProtocol <em>Protocol</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.TransactionImpl#getMethod <em>Method</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class TransactionImpl extends SubProcessImpl implements Transaction {
+ /**
+ * The default value of the '{@link #getProtocol() <em>Protocol</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getProtocol()
+ * @generated
+ * @ordered
+ */
+ protected static final String PROTOCOL_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getProtocol() <em>Protocol</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getProtocol()
+ * @generated
+ * @ordered
+ */
+ protected String protocol = PROTOCOL_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getMethod() <em>Method</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMethod()
+ * @generated
+ * @ordered
+ */
+ protected static final String METHOD_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getMethod() <em>Method</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMethod()
+ * @generated
+ * @ordered
+ */
+ protected String method = METHOD_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected TransactionImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.TRANSACTION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getProtocol() {
+ return protocol;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setProtocol(String newProtocol) {
+ String oldProtocol = protocol;
+ protocol = newProtocol;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.TRANSACTION__PROTOCOL, oldProtocol, protocol));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getMethod() {
+ return method;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMethod(String newMethod) {
+ String oldMethod = method;
+ method = newMethod;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.TRANSACTION__METHOD, oldMethod, method));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.TRANSACTION__PROTOCOL:
+ return getProtocol();
+ case Bpmn2Package.TRANSACTION__METHOD:
+ return getMethod();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.TRANSACTION__PROTOCOL:
+ setProtocol((String) newValue);
+ return;
+ case Bpmn2Package.TRANSACTION__METHOD:
+ setMethod((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.TRANSACTION__PROTOCOL:
+ setProtocol(PROTOCOL_EDEFAULT);
+ return;
+ case Bpmn2Package.TRANSACTION__METHOD:
+ setMethod(METHOD_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.TRANSACTION__PROTOCOL:
+ return PROTOCOL_EDEFAULT == null ? protocol != null
+ : !PROTOCOL_EDEFAULT.equals(protocol);
+ case Bpmn2Package.TRANSACTION__METHOD:
+ return METHOD_EDEFAULT == null ? method != null : !METHOD_EDEFAULT
+ .equals(method);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (protocol: ");
+ result.append(protocol);
+ result.append(", method: ");
+ result.append(method);
+ result.append(')');
+ return result.toString();
+ }
+
+} //TransactionImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/UserTaskImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/UserTaskImpl.java
new file mode 100644
index 000000000..97e83d422
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/UserTaskImpl.java
@@ -0,0 +1,241 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Rendering;
+import org.eclipse.bpmn2.UserTask;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>User Task</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpmn2.impl.UserTaskImpl#getRenderings <em>Renderings</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.UserTaskImpl#getImplementation <em>Implementation</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class UserTaskImpl extends TaskImpl implements UserTask {
+ /**
+ * The cached value of the '{@link #getRenderings() <em>Renderings</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRenderings()
+ * @generated
+ * @ordered
+ */
+ protected EList<Rendering> renderings;
+
+ /**
+ * The default value of the '{@link #getImplementation() <em>Implementation</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getImplementation()
+ * @generated
+ * @ordered
+ */
+ protected static final String IMPLEMENTATION_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getImplementation() <em>Implementation</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getImplementation()
+ * @generated
+ * @ordered
+ */
+ protected String implementation = IMPLEMENTATION_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected UserTaskImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Bpmn2Package.Literals.USER_TASK;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<Rendering> getRenderings() {
+ if (renderings == null) {
+ renderings = new EObjectContainmentEList<Rendering>(
+ Rendering.class, this, Bpmn2Package.USER_TASK__RENDERINGS);
+ }
+ return renderings;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getImplementation() {
+ return implementation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setImplementation(String newImplementation) {
+ String oldImplementation = implementation;
+ implementation = newImplementation;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.USER_TASK__IMPLEMENTATION, oldImplementation,
+ implementation));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case Bpmn2Package.USER_TASK__RENDERINGS:
+ return ((InternalEList<?>) getRenderings()).basicRemove(otherEnd,
+ msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Bpmn2Package.USER_TASK__RENDERINGS:
+ return getRenderings();
+ case Bpmn2Package.USER_TASK__IMPLEMENTATION:
+ return getImplementation();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Bpmn2Package.USER_TASK__RENDERINGS:
+ getRenderings().clear();
+ getRenderings().addAll((Collection<? extends Rendering>) newValue);
+ return;
+ case Bpmn2Package.USER_TASK__IMPLEMENTATION:
+ setImplementation((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.USER_TASK__RENDERINGS:
+ getRenderings().clear();
+ return;
+ case Bpmn2Package.USER_TASK__IMPLEMENTATION:
+ setImplementation(IMPLEMENTATION_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Bpmn2Package.USER_TASK__RENDERINGS:
+ return renderings != null && !renderings.isEmpty();
+ case Bpmn2Package.USER_TASK__IMPLEMENTATION:
+ return IMPLEMENTATION_EDEFAULT == null ? implementation != null
+ : !IMPLEMENTATION_EDEFAULT.equals(implementation);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (implementation: ");
+ result.append(implementation);
+ result.append(')');
+ return result.toString();
+ }
+
+} //UserTaskImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/bpmn2.ecore b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/bpmn2.ecore
new file mode 100644
index 000000000..fa62230ce
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/bpmn2.ecore
@@ -0,0 +1,4473 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="bpmn2" nsURI="http://www.omg.org/spec/BPMN/20100524/MODEL-XMI"
+ nsPrefix="bpmn2">
+ <eClassifiers xsi:type="ecore:EClass" name="DocumentRoot">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed" unique="false" upperBound="-1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="activity" upperBound="-2"
+ eType="#//Activity" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="activity"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="adHocSubProcess" upperBound="-2"
+ eType="#//AdHocSubProcess" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="adHocSubProcess"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="flowElement" upperBound="-2"
+ eType="#//FlowElement" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="flowElement"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="artifact" upperBound="-2"
+ eType="#//Artifact" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="artifact"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="assignment" upperBound="-2"
+ eType="#//Assignment" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="assignment"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="association" upperBound="-2"
+ eType="#//Association" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="association"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#artifact"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="auditing" upperBound="-2"
+ eType="#//Auditing" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="auditing"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="baseElement" upperBound="-2"
+ eType="#//BaseElement" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="baseElement"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="baseElementWithMixedContent"
+ upperBound="-2" eType="#//BaseElement" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="baseElementWithMixedContent"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="boundaryEvent" upperBound="-2"
+ eType="#//BoundaryEvent" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="boundaryEvent"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="businessRuleTask" upperBound="-2"
+ eType="#//BusinessRuleTask" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="businessRuleTask"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="callableElement" upperBound="-2"
+ eType="#//CallableElement" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="callableElement"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="callActivity" upperBound="-2"
+ eType="#//CallActivity" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="callActivity"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="callChoreography" upperBound="-2"
+ eType="#//CallChoreography" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="callChoreography"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="callConversation" upperBound="-2"
+ eType="#//CallConversation" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="callConversation"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#conversationNode"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="conversationNode" upperBound="-2"
+ eType="#//ConversationNode" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="conversationNode"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="cancelEventDefinition"
+ upperBound="-2" eType="#//CancelEventDefinition" volatile="true" transient="true"
+ derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="cancelEventDefinition"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#eventDefinition"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eventDefinition" upperBound="-2"
+ eType="#//EventDefinition" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="eventDefinition"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="rootElement" upperBound="-2"
+ eType="#//RootElement" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="rootElement"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="catchEvent" upperBound="-2"
+ eType="#//CatchEvent" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="catchEvent"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="category" upperBound="-2"
+ eType="#//Category" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="category"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="categoryValue" upperBound="-2"
+ eType="#//CategoryValue" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="categoryValue"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="choreography" upperBound="-2"
+ eType="#//Choreography" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="choreography"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#collaboration"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="collaboration" upperBound="-2"
+ eType="#//Collaboration" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="collaboration"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="choreographyActivity" upperBound="-2"
+ eType="#//ChoreographyActivity" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="choreographyActivity"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="choreographyTask" upperBound="-2"
+ eType="#//ChoreographyTask" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="choreographyTask"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="compensateEventDefinition"
+ upperBound="-2" eType="#//CompensateEventDefinition" volatile="true" transient="true"
+ derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="compensateEventDefinition"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#eventDefinition"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="complexBehaviorDefinition"
+ upperBound="-2" eType="#//ComplexBehaviorDefinition" volatile="true" transient="true"
+ derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="complexBehaviorDefinition"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="complexGateway" upperBound="-2"
+ eType="#//ComplexGateway" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="complexGateway"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="conditionalEventDefinition"
+ upperBound="-2" eType="#//ConditionalEventDefinition" volatile="true" transient="true"
+ derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="conditionalEventDefinition"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#eventDefinition"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="conversation" upperBound="-2"
+ eType="#//Conversation" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="conversation"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#conversationNode"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="conversationAssociation"
+ upperBound="-2" eType="#//ConversationAssociation" volatile="true" transient="true"
+ derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="conversationAssociation"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="conversationLink" upperBound="-2"
+ eType="#//ConversationLink" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="conversationLink"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="correlationKey" upperBound="-2"
+ eType="#//CorrelationKey" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="correlationKey"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="correlationProperty" upperBound="-2"
+ eType="#//CorrelationProperty" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="correlationProperty"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="correlationPropertyBinding"
+ upperBound="-2" eType="#//CorrelationPropertyBinding" volatile="true" transient="true"
+ derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="correlationPropertyBinding"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="correlationPropertyRetrievalExpression"
+ upperBound="-2" eType="#//CorrelationPropertyRetrievalExpression" volatile="true"
+ transient="true" derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="correlationPropertyRetrievalExpression"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="correlationSubscription"
+ upperBound="-2" eType="#//CorrelationSubscription" volatile="true" transient="true"
+ derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="correlationSubscription"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="dataAssociation" upperBound="-2"
+ eType="#//DataAssociation" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="dataAssociation"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="dataInput" upperBound="-2"
+ eType="#//DataInput" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="dataInput"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="dataInputAssociation" upperBound="-2"
+ eType="#//DataInputAssociation" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="dataInputAssociation"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="dataObject" upperBound="-2"
+ eType="#//DataObject" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="dataObject"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="dataObjectReference" upperBound="-2"
+ eType="#//DataObjectReference" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="dataObjectReference"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="dataOutput" upperBound="-2"
+ eType="#//DataOutput" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="dataOutput"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="dataOutputAssociation"
+ upperBound="-2" eType="#//DataOutputAssociation" volatile="true" transient="true"
+ derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="dataOutputAssociation"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="dataState" upperBound="-2"
+ eType="#//DataState" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="dataState"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="dataStore" upperBound="-2"
+ eType="#//DataStore" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="dataStore"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="dataStoreReference" upperBound="-2"
+ eType="#//DataStoreReference" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="dataStoreReference"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="definitions" upperBound="-2"
+ eType="#//Definitions" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="definitions"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="documentation" upperBound="-2"
+ eType="#//Documentation" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="documentation"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="endEvent" upperBound="-2"
+ eType="#//EndEvent" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="endEvent"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="endPoint" upperBound="-2"
+ eType="#//EndPoint" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="endPoint"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="error" upperBound="-2"
+ eType="#//Error" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="error"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="errorEventDefinition" upperBound="-2"
+ eType="#//ErrorEventDefinition" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="errorEventDefinition"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#eventDefinition"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="escalation" upperBound="-2"
+ eType="#//Escalation" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="escalation"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="escalationEventDefinition"
+ upperBound="-2" eType="#//EscalationEventDefinition" volatile="true" transient="true"
+ derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="escalationEventDefinition"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#eventDefinition"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="event" upperBound="-2"
+ eType="#//Event" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="event"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eventBasedGateway" upperBound="-2"
+ eType="#//EventBasedGateway" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="eventBasedGateway"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="exclusiveGateway" upperBound="-2"
+ eType="#//ExclusiveGateway" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="exclusiveGateway"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="expression" upperBound="-2"
+ eType="#//Expression" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="expression"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="extension" upperBound="-2"
+ eType="#//Extension" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="extension"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="extensionElements" upperBound="-2"
+ eType="#//ExtensionAttributeValue" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="extensionElements"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="flowNode" upperBound="-2"
+ eType="#//FlowNode" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="flowNode"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="formalExpression" upperBound="-2"
+ eType="#//FormalExpression" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="formalExpression"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#expression"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="gateway" upperBound="-2"
+ eType="#//Gateway" changeable="false" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="gateway"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="globalBusinessRuleTask"
+ upperBound="-2" eType="#//GlobalBusinessRuleTask" volatile="true" transient="true"
+ derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="globalBusinessRuleTask"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="globalChoreographyTask"
+ upperBound="-2" eType="#//GlobalChoreographyTask" volatile="true" transient="true"
+ derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="globalChoreographyTask"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#choreography"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="globalConversation" upperBound="-2"
+ eType="#//GlobalConversation" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="globalConversation"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#collaboration"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="globalManualTask" upperBound="-2"
+ eType="#//GlobalManualTask" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="globalManualTask"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="globalScriptTask" upperBound="-2"
+ eType="#//GlobalScriptTask" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="globalScriptTask"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="globalTask" upperBound="-2"
+ eType="#//GlobalTask" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="globalTask"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="globalUserTask" upperBound="-2"
+ eType="#//GlobalUserTask" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="globalUserTask"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="group" upperBound="-2"
+ eType="#//Group" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="group"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#artifact"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="humanPerformer" upperBound="-2"
+ eType="#//HumanPerformer" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="humanPerformer"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#performer"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="performer" upperBound="-2"
+ eType="#//Performer" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="performer"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#resourceRole"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="resourceRole" upperBound="-2"
+ eType="#//ResourceRole" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="resourceRole"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="implicitThrowEvent" upperBound="-2"
+ eType="#//ImplicitThrowEvent" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="implicitThrowEvent"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="import" upperBound="-2"
+ eType="#//Import" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="import"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="inclusiveGateway" upperBound="-2"
+ eType="#//InclusiveGateway" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="inclusiveGateway"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="inputSet" upperBound="-2"
+ eType="#//InputSet" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="inputSet"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="interface" upperBound="-2"
+ eType="#//Interface" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="interface"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="intermediateCatchEvent"
+ upperBound="-2" eType="#//IntermediateCatchEvent" volatile="true" transient="true"
+ derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="intermediateCatchEvent"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="intermediateThrowEvent"
+ upperBound="-2" eType="#//IntermediateThrowEvent" volatile="true" transient="true"
+ derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="intermediateThrowEvent"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="ioBinding" upperBound="-2"
+ eType="#//InputOutputBinding" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="ioBinding"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="ioSpecification" upperBound="-2"
+ eType="#//InputOutputSpecification" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="ioSpecification"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="itemDefinition" upperBound="-2"
+ eType="#//ItemDefinition" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="itemDefinition"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="lane" upperBound="-2" eType="#//Lane"
+ volatile="true" transient="true" derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="lane"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="laneSet" upperBound="-2"
+ eType="#//LaneSet" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="laneSet"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="linkEventDefinition" upperBound="-2"
+ eType="#//LinkEventDefinition" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="linkEventDefinition"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#eventDefinition"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="loopCharacteristics" upperBound="-2"
+ eType="#//LoopCharacteristics" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="loopCharacteristics"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="manualTask" upperBound="-2"
+ eType="#//ManualTask" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="manualTask"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="message" upperBound="-2"
+ eType="#//Message" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="message"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="messageEventDefinition"
+ upperBound="-2" eType="#//MessageEventDefinition" volatile="true" transient="true"
+ derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="messageEventDefinition"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#eventDefinition"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="messageFlow" upperBound="-2"
+ eType="#//MessageFlow" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="messageFlow"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="messageFlowAssociation"
+ upperBound="-2" eType="#//MessageFlowAssociation" volatile="true" transient="true"
+ derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="messageFlowAssociation"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="monitoring" upperBound="-2"
+ eType="#//Monitoring" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="monitoring"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="multiInstanceLoopCharacteristics"
+ upperBound="-2" eType="#//MultiInstanceLoopCharacteristics" volatile="true"
+ transient="true" derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="multiInstanceLoopCharacteristics"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#loopCharacteristics"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="operation" upperBound="-2"
+ eType="#//Operation" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="operation"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="outputSet" upperBound="-2"
+ eType="#//OutputSet" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="outputSet"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="parallelGateway" upperBound="-2"
+ eType="#//ParallelGateway" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="parallelGateway"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="participant" upperBound="-2"
+ eType="#//Participant" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="participant"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="participantAssociation"
+ upperBound="-2" eType="#//ParticipantAssociation" volatile="true" transient="true"
+ derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="participantAssociation"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="participantMultiplicity"
+ upperBound="-2" eType="#//ParticipantMultiplicity" volatile="true" transient="true"
+ derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="participantMultiplicity"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="partnerEntity" upperBound="-2"
+ eType="#//PartnerEntity" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="partnerEntity"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="partnerRole" upperBound="-2"
+ eType="#//PartnerRole" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="partnerRole"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="potentialOwner" upperBound="-2"
+ eType="#//PotentialOwner" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="potentialOwner"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#performer"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="process" upperBound="-2"
+ eType="#//Process" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="process"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="property" upperBound="-2"
+ eType="#//Property" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="property"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="receiveTask" upperBound="-2"
+ eType="#//ReceiveTask" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="receiveTask"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="relationship" upperBound="-2"
+ eType="#//Relationship" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="relationship"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="rendering" upperBound="-2"
+ eType="#//Rendering" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="rendering"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="resource" upperBound="-2"
+ eType="#//Resource" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="resource"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="resourceAssignmentExpression"
+ upperBound="-2" eType="#//ResourceAssignmentExpression" volatile="true" transient="true"
+ derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="resourceAssignmentExpression"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="resourceParameter" upperBound="-2"
+ eType="#//ResourceParameter" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="resourceParameter"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="resourceParameterBinding"
+ upperBound="-2" eType="#//ResourceParameterBinding" volatile="true" transient="true"
+ derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="resourceParameterBinding"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="script" upperBound="-2"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject" volatile="true"
+ transient="true" derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="script"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="scriptTask" upperBound="-2"
+ eType="#//ScriptTask" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="scriptTask"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="sendTask" upperBound="-2"
+ eType="#//SendTask" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="sendTask"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="sequenceFlow" upperBound="-2"
+ eType="#//SequenceFlow" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="sequenceFlow"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="serviceTask" upperBound="-2"
+ eType="#//ServiceTask" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="serviceTask"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="signal" upperBound="-2"
+ eType="#//Signal" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="signal"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="signalEventDefinition"
+ upperBound="-2" eType="#//SignalEventDefinition" volatile="true" transient="true"
+ derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="signalEventDefinition"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#eventDefinition"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="standardLoopCharacteristics"
+ upperBound="-2" eType="#//StandardLoopCharacteristics" volatile="true" transient="true"
+ derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="standardLoopCharacteristics"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#loopCharacteristics"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="startEvent" upperBound="-2"
+ eType="#//StartEvent" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="startEvent"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="subChoreography" upperBound="-2"
+ eType="#//SubChoreography" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="subChoreography"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="subConversation" upperBound="-2"
+ eType="#//SubConversation" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="subConversation"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#conversationNode"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="subProcess" upperBound="-2"
+ eType="#//SubProcess" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="subProcess"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="task" upperBound="-2" eType="#//Task"
+ volatile="true" transient="true" derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="task"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="terminateEventDefinition"
+ upperBound="-2" eType="#//TerminateEventDefinition" volatile="true" transient="true"
+ derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="terminateEventDefinition"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#eventDefinition"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="text" upperBound="-2" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject"
+ volatile="true" transient="true" derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="text"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="textAnnotation" upperBound="-2"
+ eType="#//TextAnnotation" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="textAnnotation"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#artifact"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="throwEvent" upperBound="-2"
+ eType="#//ThrowEvent" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="throwEvent"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="timerEventDefinition" upperBound="-2"
+ eType="#//TimerEventDefinition" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="timerEventDefinition"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#eventDefinition"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="transaction" upperBound="-2"
+ eType="#//Transaction" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="transaction"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="userTask" upperBound="-2"
+ eType="#//UserTask" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="userTask"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="affiliation" value="http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Activity" eSuperTypes="#//FlowNode">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tActivity"/>
+ <details key="kind" value="elementOnly"/>
+ <details key="abstract" value="true"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="ioSpecification" ordered="false"
+ eType="#//InputOutputSpecification" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="ioSpecification"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="boundaryEventRefs" ordered="false"
+ upperBound="-1" eType="#//BoundaryEvent" transient="true" derived="true" resolveProxies="false"
+ eOpposite="#//BoundaryEvent/attachedToRef"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="properties" ordered="false"
+ upperBound="-1" eType="#//Property" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="property"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="dataInputAssociations"
+ ordered="false" upperBound="-1" eType="#//DataInputAssociation" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="dataInputAssociation"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="dataOutputAssociations"
+ ordered="false" upperBound="-1" eType="#//DataOutputAssociation" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="dataOutputAssociation"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="resources" ordered="false"
+ upperBound="-1" eType="#//ResourceRole" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="resourceRole"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="group" value="http://www.omg.org/spec/BPMN/20100524/MODEL#resourceRole"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="loopCharacteristics" ordered="false"
+ eType="#//LoopCharacteristics" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="loopCharacteristics"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="group" value="http://www.omg.org/spec/BPMN/20100524/MODEL#loopCharacteristics"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="completionQuantity" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt" defaultValueLiteral="1">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="completionQuantity"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="default" ordered="false"
+ eType="#//SequenceFlow" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="default"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="isForCompensation" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" defaultValueLiteral="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="isForCompensation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="startQuantity" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt" defaultValueLiteral="1">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="startQuantity"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EEnum" name="AdHocOrdering">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tAdHocOrdering"/>
+ </eAnnotations>
+ <eLiterals name="Parallel"/>
+ <eLiterals name="Sequential" value="1"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="AdHocSubProcess" eSuperTypes="#//SubProcess">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tAdHocSubProcess"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="completionCondition" ordered="false"
+ lowerBound="1" eType="#//Expression" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="completionCondition"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="cancelRemainingInstances"
+ ordered="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
+ defaultValueLiteral="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="cancelRemainingInstances"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="ordering" ordered="false"
+ eType="#//AdHocOrdering">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="ordering"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Artifact" eSuperTypes="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tArtifact"/>
+ <details key="kind" value="elementOnly"/>
+ <details key="abstract" value="true"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Assignment" eSuperTypes="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tAssignment"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="from" ordered="false" lowerBound="1"
+ eType="#//Expression" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="from"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="to" ordered="false" lowerBound="1"
+ eType="#//Expression" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="to"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Association" eSuperTypes="#//Artifact">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tAssociation"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="associationDirection" ordered="false"
+ eType="#//AssociationDirection" defaultValueLiteral="None">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="associationDirection"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="sourceRef" ordered="false"
+ lowerBound="1" eType="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="sourceRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="targetRef" ordered="false"
+ lowerBound="1" eType="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="targetRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EEnum" name="AssociationDirection">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tAssociationDirection"/>
+ </eAnnotations>
+ <eLiterals name="None"/>
+ <eLiterals name="One" value="1"/>
+ <eLiterals name="Both" value="2"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Auditing" eSuperTypes="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tAuditing"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tBaseElement"/>
+ <details key="kind" value="elementOnly"/>
+ <details key="abstract" value="true"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="extensionValues" ordered="false"
+ upperBound="-1" eType="#//ExtensionAttributeValue" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="extensionElements"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="documentation" ordered="false"
+ upperBound="-1" eType="#//Documentation" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="documentation"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="extensionDefinitions" ordered="false"
+ upperBound="-1" eType="#//ExtensionDefinition"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" ordered="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
+ iD="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="id"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="anyAttribute" unique="false"
+ upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attributeWildcard"/>
+ <details key="wildcards" value="##other"/>
+ <details key="name" value=":3"/>
+ <details key="processing" value="lax"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="BoundaryEvent" eSuperTypes="#//CatchEvent">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tBoundaryEvent"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="attachedToRef" ordered="false"
+ lowerBound="1" eType="#//Activity" resolveProxies="false" eOpposite="#//Activity/boundaryEventRefs">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="attachedToRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="cancelActivity" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" defaultValueLiteral="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="cancelActivity"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="BusinessRuleTask" eSuperTypes="#//Task">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tBusinessRuleTask"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="implementation" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="implementation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="CallActivity" eSuperTypes="#//Activity">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tCallActivity"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="calledElementRef" ordered="false"
+ eType="#//CallableElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="calledElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="CallChoreography" eSuperTypes="#//ChoreographyActivity">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tCallChoreography"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="participantAssociations"
+ ordered="false" upperBound="-1" eType="#//ParticipantAssociation" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="participantAssociation"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="calledChoreographyRef"
+ ordered="false" eType="#//Choreography">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="calledChoreographyRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="CallConversation" eSuperTypes="#//ConversationNode">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tCallConversation"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="participantAssociations"
+ ordered="false" upperBound="-1" eType="#//ParticipantAssociation" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="participantAssociation"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="calledCollaborationRef"
+ ordered="false" eType="#//Collaboration">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="calledCollaborationRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="CallableElement" eSuperTypes="#//RootElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tCallableElement"/>
+ <details key="kind" value="elementOnly"/>
+ <details key="abstract" value="true"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="supportedInterfaceRefs"
+ ordered="false" upperBound="-1" eType="#//Interface">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="supportedInterfaceRef"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="ioSpecification" ordered="false"
+ eType="#//InputOutputSpecification" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="ioSpecification"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="ioBinding" ordered="false"
+ upperBound="-1" eType="#//InputOutputBinding" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="ioBinding"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="CancelEventDefinition" eSuperTypes="#//EventDefinition">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tCancelEventDefinition"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="CatchEvent" abstract="true" eSuperTypes="#//Event">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tCatchEvent"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="dataOutputs" ordered="false"
+ upperBound="-1" eType="#//DataOutput" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="dataOutput"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="dataOutputAssociation"
+ ordered="false" upperBound="-1" eType="#//DataOutputAssociation" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="dataOutputAssociation"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="outputSet" ordered="false"
+ eType="#//OutputSet" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="outputSet"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eventDefinitions" ordered="false"
+ upperBound="-1" eType="#//EventDefinition" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="eventDefinition"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="group" value="http://www.omg.org/spec/BPMN/20100524/MODEL#eventDefinition"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eventDefinitionRefs" ordered="false"
+ upperBound="-1" eType="#//EventDefinition">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="eventDefinitionRef"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="parallelMultiple" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="parallelMultiple"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Category" eSuperTypes="#//RootElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tCategory"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="categoryValue" ordered="false"
+ upperBound="-1" eType="#//CategoryValue" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="categoryValue"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="CategoryValue" eSuperTypes="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tCategoryValue"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="value"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="categorizedFlowElements"
+ ordered="false" upperBound="-1" eType="#//FlowElement" changeable="false"
+ volatile="true" transient="true" derived="true" resolveProxies="false"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Choreography" eSuperTypes="#//Collaboration #//FlowElementsContainer">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tChoreography"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ChoreographyActivity" abstract="true"
+ eSuperTypes="#//FlowNode">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tChoreographyActivity"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="participantRefs" ordered="false"
+ lowerBound="2" upperBound="-1" eType="#//Participant">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="participantRef"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="correlationKeys" ordered="false"
+ upperBound="-1" eType="#//CorrelationKey" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="correlationKey"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="initiatingParticipantRef"
+ ordered="false" lowerBound="1" eType="#//Participant">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="initiatingParticipantRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="loopType" ordered="false"
+ eType="#//ChoreographyLoopType" defaultValueLiteral="None">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="loopType"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EEnum" name="ChoreographyLoopType">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tChoreographyLoopType"/>
+ </eAnnotations>
+ <eLiterals name="None"/>
+ <eLiterals name="Standard" value="1"/>
+ <eLiterals name="MultiInstanceSequential" value="2"/>
+ <eLiterals name="MultiInstanceParallel" value="3"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ChoreographyTask" eSuperTypes="#//ChoreographyActivity">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tChoreographyTask"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="messageFlowRef" ordered="false"
+ lowerBound="1" upperBound="2" eType="#//MessageFlow">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="messageFlowRef"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Collaboration" eSuperTypes="#//RootElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tCollaboration"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="participants" ordered="false"
+ upperBound="-1" eType="#//Participant" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="participant"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="messageFlows" ordered="false"
+ upperBound="-1" eType="#//MessageFlow" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="messageFlow"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="artifacts" ordered="false"
+ upperBound="-1" eType="#//Artifact" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="artifact"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="group" value="http://www.omg.org/spec/BPMN/20100524/MODEL#artifact"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="conversations" ordered="false"
+ upperBound="-1" eType="#//ConversationNode" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="conversationNode"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="group" value="http://www.omg.org/spec/BPMN/20100524/MODEL#conversationNode"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="conversationAssociations"
+ ordered="false" upperBound="-1" eType="#//ConversationAssociation" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="conversationAssociation"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="participantAssociations"
+ ordered="false" upperBound="-1" eType="#//ParticipantAssociation" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="participantAssociation"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="messageFlowAssociations"
+ ordered="false" upperBound="-1" eType="#//MessageFlowAssociation" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="messageFlowAssociation"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="correlationKeys" ordered="false"
+ upperBound="-1" eType="#//CorrelationKey" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="correlationKey"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="choreographyRef" ordered="false"
+ upperBound="-1" eType="#//Choreography">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="choreographyRef"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="conversationLinks" ordered="false"
+ upperBound="-1" eType="#//ConversationLink" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="conversationLink"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="isClosed" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="isClosed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="CompensateEventDefinition" eSuperTypes="#//EventDefinition">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tCompensateEventDefinition"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="activityRef" ordered="false"
+ eType="#//Activity">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="activityRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="waitForCompletion" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="waitForCompletion"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ComplexBehaviorDefinition" eSuperTypes="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tComplexBehaviorDefinition"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="condition" ordered="false"
+ lowerBound="1" eType="#//FormalExpression" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="condition"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="event" ordered="false"
+ eType="#//ImplicitThrowEvent" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="event"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ComplexGateway" eSuperTypes="#//Gateway">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tComplexGateway"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="activationCondition" ordered="false"
+ eType="#//Expression" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="activationCondition"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="default" ordered="false"
+ eType="#//SequenceFlow" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="default"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ConditionalEventDefinition" eSuperTypes="#//EventDefinition">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tConditionalEventDefinition"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="condition" ordered="false"
+ lowerBound="1" eType="#//Expression" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="condition"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Conversation" eSuperTypes="#//ConversationNode">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tConversation"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ConversationAssociation" eSuperTypes="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tConversationAssociation"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="innerConversationNodeRef"
+ ordered="false" lowerBound="1" eType="#//ConversationNode">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="innerConversationNodeRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="outerConversationNodeRef"
+ ordered="false" lowerBound="1" eType="#//ConversationNode">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="outerConversationNodeRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ConversationLink" eSuperTypes="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tConversationLink"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="sourceRef" ordered="false"
+ lowerBound="1" eType="#//InteractionNode">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="sourceRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="targetRef" ordered="false"
+ lowerBound="1" eType="#//InteractionNode">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="targetRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ConversationNode" eSuperTypes="#//BaseElement #//InteractionNode">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tConversationNode"/>
+ <details key="kind" value="elementOnly"/>
+ <details key="abstract" value="true"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="participantRefs" ordered="false"
+ lowerBound="2" upperBound="-1" eType="#//Participant">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="participantRef"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="messageFlowRefs" ordered="false"
+ upperBound="-1" eType="#//MessageFlow">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="messageFlowRef"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="correlationKeys" ordered="false"
+ upperBound="-1" eType="#//CorrelationKey" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="correlationKey"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="CorrelationKey" eSuperTypes="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tCorrelationKey"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="correlationPropertyRef"
+ ordered="false" upperBound="-1" eType="#//CorrelationProperty">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="correlationPropertyRef"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="CorrelationProperty" eSuperTypes="#//RootElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tCorrelationProperty"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="correlationPropertyRetrievalExpression"
+ ordered="false" lowerBound="1" upperBound="-1" eType="#//CorrelationPropertyRetrievalExpression"
+ containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="correlationPropertyRetrievalExpression"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="type" ordered="false" eType="#//ItemDefinition">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="type"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="CorrelationPropertyBinding" eSuperTypes="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tCorrelationPropertyBinding"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="dataPath" ordered="false"
+ lowerBound="1" eType="#//FormalExpression" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="dataPath"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="correlationPropertyRef"
+ ordered="false" lowerBound="1" eType="#//CorrelationProperty">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="correlationPropertyRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="CorrelationPropertyRetrievalExpression"
+ eSuperTypes="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tCorrelationPropertyRetrievalExpression"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="messagePath" ordered="false"
+ lowerBound="1" eType="#//FormalExpression" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="messagePath"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="messageRef" ordered="false"
+ lowerBound="1" eType="#//Message">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="messageRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="CorrelationSubscription" eSuperTypes="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tCorrelationSubscription"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="correlationPropertyBinding"
+ ordered="false" upperBound="-1" eType="#//CorrelationPropertyBinding" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="correlationPropertyBinding"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="correlationKeyRef" ordered="false"
+ lowerBound="1" eType="#//CorrelationKey">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="correlationKeyRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="DataAssociation" eSuperTypes="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tDataAssociation"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="sourceRef" ordered="false"
+ upperBound="-1" eType="#//ItemAwareElement" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="sourceRef"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="targetRef" ordered="false"
+ lowerBound="1" eType="#//ItemAwareElement" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="targetRef"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="transformation" ordered="false"
+ eType="#//FormalExpression" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="transformation"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="assignment" ordered="false"
+ upperBound="-1" eType="#//Assignment" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="assignment"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="DataInput" eSuperTypes="#//ItemAwareElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tDataInput"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="inputSetWithOptional" ordered="false"
+ upperBound="-1" eType="#//InputSet" transient="true" derived="true" eOpposite="#//InputSet/optionalInputRefs"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="inputSetWithWhileExecuting"
+ ordered="false" upperBound="-1" eType="#//InputSet" transient="true" derived="true"
+ eOpposite="#//InputSet/whileExecutingInputRefs"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="inputSetRefs" ordered="false"
+ lowerBound="1" upperBound="-1" eType="#//InputSet" transient="true" derived="true"
+ eOpposite="#//InputSet/dataInputRefs"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="isCollection" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" defaultValueLiteral="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="isCollection"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="DataInputAssociation" eSuperTypes="#//DataAssociation">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tDataInputAssociation"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="DataObject" eSuperTypes="#//FlowElement #//ItemAwareElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tDataObject"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="isCollection" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" defaultValueLiteral="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="isCollection"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="DataObjectReference" eSuperTypes="#//FlowElement #//ItemAwareElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tDataObjectReference"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="dataObjectRef" ordered="false"
+ lowerBound="1" eType="#//DataObject" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="dataObjectRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="DataOutput" eSuperTypes="#//ItemAwareElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tDataOutput"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="outputSetWithOptional"
+ ordered="false" upperBound="-1" eType="#//OutputSet" transient="true" derived="true"
+ eOpposite="#//OutputSet/optionalOutputRefs"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="outputSetWithWhileExecuting"
+ ordered="false" upperBound="-1" eType="#//OutputSet" transient="true" derived="true"
+ eOpposite="#//OutputSet/whileExecutingOutputRefs"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="outputSetRefs" ordered="false"
+ lowerBound="1" upperBound="-1" eType="#//OutputSet" transient="true" derived="true"
+ eOpposite="#//OutputSet/dataOutputRefs"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="isCollection" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" defaultValueLiteral="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="isCollection"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="DataOutputAssociation" eSuperTypes="#//DataAssociation">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tDataOutputAssociation"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="DataState" eSuperTypes="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tDataState"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="DataStore" eSuperTypes="#//ItemAwareElement #//RootElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tDataStore"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="capacity" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="capacity"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="isUnlimited" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" defaultValueLiteral="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="isUnlimited"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="DataStoreReference" eSuperTypes="#//FlowElement #//ItemAwareElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tDataStoreReference"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="dataStoreRef" ordered="false"
+ eType="#//DataStore">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="dataStoreRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Definitions" eSuperTypes="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tDefinitions"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="imports" ordered="false"
+ upperBound="-1" eType="#//Import" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="import"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="extensions" ordered="false"
+ upperBound="-1" eType="#//Extension" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="extension"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="rootElements" ordered="false"
+ upperBound="-1" eType="#//RootElement" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="rootElement"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="group" value="http://www.omg.org/spec/BPMN/20100524/MODEL#rootElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="diagrams" ordered="false"
+ upperBound="-1" eType="ecore:EClass http://www.omg.org/spec/BPMN/20100524/DI-XMI#//BPMNDiagram"
+ containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="BPMNDiagram"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/DI"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="relationships" ordered="false"
+ upperBound="-1" eType="#//Relationship" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="relationship"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="exporter" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="exporter"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="exporterVersion" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="exporterVersion"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="expressionLanguage" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" defaultValueLiteral="http://www.w3.org/1999/XPath">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="expressionLanguage"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="targetNamespace" ordered="false"
+ lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="typeLanguage" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" defaultValueLiteral="http://www.w3.org/2001/XMLSchema">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="typeLanguage"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Documentation" eSuperTypes="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tDocumentation"/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed" unique="false" upperBound="-1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="text" ordered="false" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" volatile="true"
+ derived="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="textFormat" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" defaultValueLiteral="text/plain">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="textFormat"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="EndEvent" eSuperTypes="#//ThrowEvent">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tEndEvent"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="EndPoint" eSuperTypes="#//RootElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tEndPoint"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Error" eSuperTypes="#//RootElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tError"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="errorCode" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="errorCode"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="structureRef" ordered="false"
+ eType="#//ItemDefinition">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="structureRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ErrorEventDefinition" eSuperTypes="#//EventDefinition">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tErrorEventDefinition"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="errorRef" ordered="false"
+ eType="#//Error">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="errorRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Escalation" eSuperTypes="#//RootElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tEscalation"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="escalationCode" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="escalationCode"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="structureRef" ordered="false"
+ eType="#//ItemDefinition">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="structureRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="EscalationEventDefinition" eSuperTypes="#//EventDefinition">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tEscalationEventDefinition"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="escalationRef" ordered="false"
+ eType="#//Escalation">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="escalationRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Event" abstract="true" eSuperTypes="#//FlowNode #//InteractionNode">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tEvent"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="properties" ordered="false"
+ upperBound="-1" eType="#//Property" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="property"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="EventBasedGateway" eSuperTypes="#//Gateway">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tEventBasedGateway"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="eventGatewayType" ordered="false"
+ eType="#//EventBasedGatewayType" defaultValueLiteral="Exclusive">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="eventGatewayType"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="instantiate" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" defaultValueLiteral="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="instantiate"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EEnum" name="EventBasedGatewayType">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tEventBasedGatewayType"/>
+ </eAnnotations>
+ <eLiterals name="Parallel"/>
+ <eLiterals name="Exclusive" value="1"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="EventDefinition" eSuperTypes="#//RootElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tEventDefinition"/>
+ <details key="kind" value="elementOnly"/>
+ <details key="abstract" value="true"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ExclusiveGateway" eSuperTypes="#//Gateway">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tExclusiveGateway"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="default" ordered="false"
+ eType="#//SequenceFlow" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="default"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Expression" eSuperTypes="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tExpression"/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Extension">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tExtension"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="definition" ordered="false"
+ lowerBound="1" eType="#//ExtensionDefinition" containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mustUnderstand" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" defaultValueLiteral="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="mustUnderstand"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="xsdDefinition" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//QName">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="definition"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ExtensionAttributeDefinition">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" ordered="false" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="isReference" ordered="false"
+ lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
+ defaultValueLiteral="false"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="extensionDefinition" ordered="false"
+ lowerBound="1" eType="#//ExtensionDefinition" transient="true" derived="true"
+ resolveProxies="false" eOpposite="#//ExtensionDefinition/extensionAttributeDefinitions"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ExtensionAttributeValue">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tExtensionElements"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="valueRef" ordered="false"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject" transient="true"
+ derived="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" unique="false" upperBound="-1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="wildcards" value="##other"/>
+ <details key="name" value=":0"/>
+ <details key="processing" value="lax"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="extensionAttributeDefinition"
+ ordered="false" lowerBound="1" eType="#//ExtensionAttributeDefinition" transient="true"
+ derived="true"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ExtensionDefinition">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="extensionAttributeDefinitions"
+ ordered="false" upperBound="-1" eType="#//ExtensionAttributeDefinition" transient="true"
+ derived="true" containment="true" resolveProxies="false" eOpposite="#//ExtensionAttributeDefinition/extensionDefinition"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="FlowElement" abstract="true" eSuperTypes="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tFlowElement"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="auditing" ordered="false"
+ eType="#//Auditing" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="auditing"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="monitoring" ordered="false"
+ eType="#//Monitoring" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="monitoring"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="categoryValueRef" ordered="false"
+ upperBound="-1" eType="#//CategoryValue">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="categoryValueRef"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="FlowElementsContainer" abstract="true"
+ eSuperTypes="#//BaseElement">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="laneSets" ordered="false"
+ upperBound="-1" eType="#//LaneSet" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="laneSet"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="flowElements" ordered="false"
+ upperBound="-1" eType="#//FlowElement" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="flowElement"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="group" value="http://www.omg.org/spec/BPMN/20100524/MODEL#flowElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="FlowNode" abstract="true" eSuperTypes="#//FlowElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tFlowNode"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="incoming" ordered="false"
+ upperBound="-1" eType="#//SequenceFlow" resolveProxies="false" eOpposite="#//SequenceFlow/targetRef">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="incoming"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="lanes" ordered="false"
+ upperBound="-1" eType="#//Lane" transient="true" derived="true" eOpposite="#//Lane/flowNodeRefs"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="outgoing" upperBound="-1"
+ eType="#//SequenceFlow" resolveProxies="false" eOpposite="#//SequenceFlow/sourceRef">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="outgoing"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="FormalExpression" eSuperTypes="#//Expression">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tFormalExpression"/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed" unique="false" upperBound="-1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="body" ordered="false" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" volatile="true"
+ derived="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="evaluatesToTypeRef" ordered="false"
+ lowerBound="1" eType="#//ItemDefinition">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="evaluatesToTypeRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="language" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="language"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Gateway" abstract="true" eSuperTypes="#//FlowNode">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tGateway"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="gatewayDirection" ordered="false"
+ eType="#//GatewayDirection" defaultValueLiteral="Unspecified">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="gatewayDirection"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EEnum" name="GatewayDirection">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tGatewayDirection"/>
+ </eAnnotations>
+ <eLiterals name="Unspecified"/>
+ <eLiterals name="Converging" value="1"/>
+ <eLiterals name="Diverging" value="2"/>
+ <eLiterals name="Mixed" value="3"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="GlobalBusinessRuleTask" eSuperTypes="#//GlobalTask">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tGlobalBusinessRuleTask"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="implementation" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="implementation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="GlobalChoreographyTask" eSuperTypes="#//Choreography">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tGlobalChoreographyTask"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="initiatingParticipantRef"
+ ordered="false" lowerBound="1" eType="#//Participant">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="initiatingParticipantRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="GlobalConversation" eSuperTypes="#//Collaboration">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tGlobalConversation"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="GlobalManualTask" eSuperTypes="#//GlobalTask">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tGlobalManualTask"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="GlobalScriptTask" eSuperTypes="#//GlobalTask">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tGlobalScriptTask"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="script" ordered="false"
+ lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="script"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="scriptLanguage" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="scriptLanguage"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="GlobalTask" eSuperTypes="#//CallableElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tGlobalTask"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="resources" ordered="false"
+ upperBound="-1" eType="#//ResourceRole" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="resourceRole"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="group" value="http://www.omg.org/spec/BPMN/20100524/MODEL#resourceRole"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="GlobalUserTask" eSuperTypes="#//GlobalTask">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tGlobalUserTask"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="renderings" ordered="false"
+ upperBound="-1" eType="#//Rendering" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="rendering"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="implementation" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="implementation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Group" eSuperTypes="#//Artifact">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tGroup"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="categoryValueRef" ordered="false"
+ eType="#//CategoryValue">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="categoryValueRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="HumanPerformer" eSuperTypes="#//Performer">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tHumanPerformer"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ImplicitThrowEvent" eSuperTypes="#//ThrowEvent">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tImplicitThrowEvent"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Import">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tImport"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="importType" ordered="false"
+ lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="importType"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="location" ordered="false"
+ lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="location"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="namespace" ordered="false"
+ lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="namespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="InclusiveGateway" eSuperTypes="#//Gateway">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tInclusiveGateway"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="default" ordered="false"
+ eType="#//SequenceFlow" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="default"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="InputOutputBinding" eSuperTypes="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tInputOutputBinding"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="inputDataRef" ordered="false"
+ lowerBound="1" eType="#//InputSet" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="inputDataRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="operationRef" ordered="false"
+ lowerBound="1" eType="#//Operation">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="operationRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="outputDataRef" ordered="false"
+ lowerBound="1" eType="#//OutputSet" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="outputDataRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="InputOutputSpecification" eSuperTypes="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tInputOutputSpecification"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="dataInputs" ordered="false"
+ upperBound="-1" eType="#//DataInput" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="dataInput"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="dataOutputs" ordered="false"
+ upperBound="-1" eType="#//DataOutput" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="dataOutput"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="inputSets" ordered="false"
+ lowerBound="1" upperBound="-1" eType="#//InputSet" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="inputSet"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="outputSets" ordered="false"
+ lowerBound="1" upperBound="-1" eType="#//OutputSet" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="outputSet"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="InputSet" eSuperTypes="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tInputSet"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="dataInputRefs" ordered="false"
+ upperBound="-1" eType="#//DataInput" resolveProxies="false" eOpposite="#//DataInput/inputSetRefs">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="dataInputRefs"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="optionalInputRefs" ordered="false"
+ upperBound="-1" eType="#//DataInput" resolveProxies="false" eOpposite="#//DataInput/inputSetWithOptional">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="optionalInputRefs"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="whileExecutingInputRefs"
+ ordered="false" upperBound="-1" eType="#//DataInput" resolveProxies="false"
+ eOpposite="#//DataInput/inputSetWithWhileExecuting">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="whileExecutingInputRefs"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="outputSetRefs" ordered="false"
+ upperBound="-1" eType="#//OutputSet" resolveProxies="false" eOpposite="#//OutputSet/inputSetRefs">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="outputSetRefs"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="InteractionNode">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="abstract" value="true"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="incomingConversationLinks"
+ ordered="false" upperBound="-1" eType="#//ConversationLink" changeable="false"
+ volatile="true" transient="true" derived="true" resolveProxies="false"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="outgoingConversationLinks"
+ ordered="false" upperBound="-1" eType="#//ConversationLink" changeable="false"
+ volatile="true" transient="true" derived="true"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Interface" eSuperTypes="#//RootElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tInterface"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="operations" ordered="false"
+ lowerBound="1" upperBound="-1" eType="#//Operation" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="operation"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="implementationRef" ordered="false"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="implementationRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="IntermediateCatchEvent" eSuperTypes="#//CatchEvent">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tIntermediateCatchEvent"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="IntermediateThrowEvent" eSuperTypes="#//ThrowEvent">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tIntermediateThrowEvent"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ItemAwareElement" eSuperTypes="#//BaseElement">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="dataState" ordered="false"
+ eType="#//DataState" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="dataState"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="itemSubjectRef" ordered="false"
+ eType="#//ItemDefinition">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="itemSubjectRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ItemDefinition" eSuperTypes="#//RootElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tItemDefinition"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="isCollection" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" defaultValueLiteral="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="isCollection"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="import" ordered="false"
+ eType="#//Import" transient="true" derived="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="itemKind" ordered="false"
+ eType="#//ItemKind" defaultValueLiteral="Information">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="itemKind"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="structureRef" ordered="false"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="structureRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EEnum" name="ItemKind">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tItemKind"/>
+ </eAnnotations>
+ <eLiterals name="Physical"/>
+ <eLiterals name="Information" value="1"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Lane" eSuperTypes="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tLane"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="partitionElement" ordered="false"
+ eType="#//BaseElement" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="partitionElement"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="flowNodeRefs" ordered="false"
+ upperBound="-1" eType="#//FlowNode" resolveProxies="false" eOpposite="#//FlowNode/lanes">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="flowNodeRef"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="childLaneSet" ordered="false"
+ eType="#//LaneSet" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="childLaneSet"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="partitionElementRef" ordered="false"
+ eType="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="partitionElementRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="LaneSet" eSuperTypes="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tLaneSet"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="lanes" ordered="false"
+ upperBound="-1" eType="#//Lane" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="lane"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="LinkEventDefinition" eSuperTypes="#//EventDefinition">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tLinkEventDefinition"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="source" ordered="false"
+ upperBound="-1" eType="#//LinkEventDefinition" eOpposite="#//LinkEventDefinition/target">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="source"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="target" ordered="false"
+ eType="#//LinkEventDefinition" eOpposite="#//LinkEventDefinition/source">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="target"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="LoopCharacteristics" abstract="true"
+ eSuperTypes="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tLoopCharacteristics"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ManualTask" eSuperTypes="#//Task">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tManualTask"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Message" eSuperTypes="#//RootElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tMessage"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="itemRef" ordered="false"
+ eType="#//ItemDefinition">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="itemRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="MessageEventDefinition" eSuperTypes="#//EventDefinition">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tMessageEventDefinition"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="operationRef" ordered="false"
+ eType="#//Operation">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="operationRef"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="messageRef" ordered="false"
+ eType="#//Message">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="messageRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="MessageFlow" eSuperTypes="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tMessageFlow"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="messageRef" ordered="false"
+ eType="#//Message">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="messageRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="sourceRef" ordered="false"
+ lowerBound="1" eType="#//InteractionNode">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="sourceRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="targetRef" ordered="false"
+ lowerBound="1" eType="#//InteractionNode">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="targetRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="MessageFlowAssociation" eSuperTypes="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tMessageFlowAssociation"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="innerMessageFlowRef" ordered="false"
+ lowerBound="1" eType="#//MessageFlow">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="innerMessageFlowRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="outerMessageFlowRef" ordered="false"
+ lowerBound="1" eType="#//MessageFlow">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="outerMessageFlowRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Monitoring" eSuperTypes="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tMonitoring"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EEnum" name="MultiInstanceBehavior">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tMultiInstanceFlowCondition"/>
+ </eAnnotations>
+ <eLiterals name="None"/>
+ <eLiterals name="One" value="1"/>
+ <eLiterals name="All" value="2"/>
+ <eLiterals name="Complex" value="3"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="MultiInstanceLoopCharacteristics" eSuperTypes="#//LoopCharacteristics">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tMultiInstanceLoopCharacteristics"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="loopCardinality" ordered="false"
+ eType="#//Expression" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="loopCardinality"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="loopDataInputRef" ordered="false"
+ eType="#//ItemAwareElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="loopDataInputRef"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="loopDataOutputRef" ordered="false"
+ eType="#//ItemAwareElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="loopDataOutputRef"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="inputDataItem" ordered="false"
+ eType="#//DataInput" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="inputDataItem"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="outputDataItem" ordered="false"
+ eType="#//DataOutput" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="outputDataItem"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="complexBehaviorDefinition"
+ ordered="false" upperBound="-1" eType="#//ComplexBehaviorDefinition" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="complexBehaviorDefinition"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="completionCondition" ordered="false"
+ eType="#//Expression" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="completionCondition"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="behavior" ordered="false"
+ eType="#//MultiInstanceBehavior" defaultValueLiteral="All">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="behavior"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="isSequential" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" defaultValueLiteral="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="isSequential"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="noneBehaviorEventRef" ordered="false"
+ eType="#//EventDefinition">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="noneBehaviorEventRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="oneBehaviorEventRef" ordered="false"
+ eType="#//EventDefinition">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="oneBehaviorEventRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Operation" eSuperTypes="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tOperation"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="inMessageRef" ordered="false"
+ lowerBound="1" eType="#//Message">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="inMessageRef"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="outMessageRef" ordered="false"
+ eType="#//Message">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="outMessageRef"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="errorRefs" ordered="false"
+ upperBound="-1" eType="#//Error">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="errorRef"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="implementationRef" ordered="false"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="implementationRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="OutputSet" eSuperTypes="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tOutputSet"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="dataOutputRefs" ordered="false"
+ upperBound="-1" eType="#//DataOutput" resolveProxies="false" eOpposite="#//DataOutput/outputSetRefs">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="dataOutputRefs"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="optionalOutputRefs" ordered="false"
+ upperBound="-1" eType="#//DataOutput" resolveProxies="false" eOpposite="#//DataOutput/outputSetWithOptional">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="optionalOutputRefs"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="whileExecutingOutputRefs"
+ ordered="false" upperBound="-1" eType="#//DataOutput" resolveProxies="false"
+ eOpposite="#//DataOutput/outputSetWithWhileExecuting">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="whileExecutingOutputRefs"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="inputSetRefs" ordered="false"
+ upperBound="-1" eType="#//InputSet" resolveProxies="false" eOpposite="#//InputSet/outputSetRefs">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="inputSetRefs"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ParallelGateway" eSuperTypes="#//Gateway">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tParallelGateway"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Participant" eSuperTypes="#//BaseElement #//InteractionNode">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tParticipant"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="interfaceRefs" ordered="false"
+ upperBound="-1" eType="#//Interface">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="interfaceRef"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="endPointRefs" ordered="false"
+ upperBound="-1" eType="#//EndPoint">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="endPointRef"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="participantMultiplicity"
+ ordered="false" eType="#//ParticipantMultiplicity" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="participantMultiplicity"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="processRef" ordered="false"
+ eType="#//Process">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="processRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ParticipantAssociation" eSuperTypes="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tParticipantAssociation"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="innerParticipantRef" ordered="false"
+ lowerBound="1" eType="#//Participant">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="innerParticipantRef"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="outerParticipantRef" ordered="false"
+ lowerBound="1" eType="#//Participant">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="outerParticipantRef"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ParticipantMultiplicity" eSuperTypes="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tParticipantMultiplicity"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="maximum" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt" defaultValueLiteral="1">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="maximum"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="minimum" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt" defaultValueLiteral="0">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="minimum"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="PartnerEntity" eSuperTypes="#//RootElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tPartnerEntity"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="participantRef" ordered="false"
+ upperBound="-1" eType="#//Participant">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="participantRef"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="PartnerRole" eSuperTypes="#//RootElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tPartnerRole"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="participantRef" ordered="false"
+ upperBound="-1" eType="#//Participant">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="participantRef"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Performer" eSuperTypes="#//ResourceRole">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tPerformer"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="PotentialOwner" eSuperTypes="#//HumanPerformer">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tPotentialOwner"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Process" eSuperTypes="#//CallableElement #//FlowElementsContainer">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tProcess"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="auditing" ordered="false"
+ eType="#//Auditing" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="auditing"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="monitoring" ordered="false"
+ eType="#//Monitoring" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="monitoring"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="properties" ordered="false"
+ upperBound="-1" eType="#//Property" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="property"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="artifacts" ordered="false"
+ upperBound="-1" eType="#//Artifact" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="artifact"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="group" value="http://www.omg.org/spec/BPMN/20100524/MODEL#artifact"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="resources" ordered="false"
+ upperBound="-1" eType="#//ResourceRole" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="resourceRole"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="group" value="http://www.omg.org/spec/BPMN/20100524/MODEL#resourceRole"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="correlationSubscriptions"
+ ordered="false" upperBound="-1" eType="#//CorrelationSubscription" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="correlationSubscription"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="supports" ordered="false"
+ upperBound="-1" eType="#//Process">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="supports"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="definitionalCollaborationRef"
+ ordered="false" eType="#//Collaboration">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="definitionalCollaborationRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="isClosed" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="isClosed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="isExecutable" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="isExecutable"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="processType" ordered="false"
+ eType="#//ProcessType" defaultValueLiteral="None">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="processType"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EEnum" name="ProcessType">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tProcessType"/>
+ </eAnnotations>
+ <eLiterals name="None"/>
+ <eLiterals name="Public" value="1"/>
+ <eLiterals name="Private" value="2"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Property" eSuperTypes="#//ItemAwareElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tProperty"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ReceiveTask" eSuperTypes="#//Task">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tReceiveTask"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="implementation" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="implementation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="instantiate" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" defaultValueLiteral="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="instantiate"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="messageRef" ordered="false"
+ eType="#//Message">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="messageRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="operationRef" ordered="false"
+ eType="#//Operation">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="operationRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Relationship" eSuperTypes="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tRelationship"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="sources" ordered="false"
+ lowerBound="1" upperBound="-1" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="source"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="targets" ordered="false"
+ lowerBound="1" upperBound="-1" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="target"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="direction" ordered="false"
+ eType="#//RelationshipDirection">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="direction"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" ordered="false" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="type"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EEnum" name="RelationshipDirection">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tRelationshipDirection"/>
+ </eAnnotations>
+ <eLiterals name="None"/>
+ <eLiterals name="Forward" value="1"/>
+ <eLiterals name="Backward" value="2"/>
+ <eLiterals name="Both" value="3"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Rendering" eSuperTypes="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tRendering"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Resource" eSuperTypes="#//RootElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tResource"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="resourceParameters" ordered="false"
+ upperBound="-1" eType="#//ResourceParameter" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="resourceParameter"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ResourceAssignmentExpression" eSuperTypes="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tResourceAssignmentExpression"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="expression" ordered="false"
+ lowerBound="1" eType="#//Expression" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="expression"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="group" value="http://www.omg.org/spec/BPMN/20100524/MODEL#expression"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ResourceParameter" eSuperTypes="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tResourceParameter"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="isRequired" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="isRequired"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="type" ordered="false" eType="#//ItemDefinition">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="type"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ResourceParameterBinding" eSuperTypes="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tResourceParameterBinding"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="expression" ordered="false"
+ lowerBound="1" eType="#//Expression" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="expression"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="group" value="http://www.omg.org/spec/BPMN/20100524/MODEL#expression"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="parameterRef" ordered="false"
+ lowerBound="1" eType="#//ResourceParameter">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="parameterRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ResourceRole" eSuperTypes="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tResourceRole"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="resourceRef" ordered="false"
+ eType="#//Resource">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="resourceRef"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="resourceParameterBindings"
+ ordered="false" upperBound="-1" eType="#//ResourceParameterBinding" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="resourceParameterBinding"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="resourceAssignmentExpression"
+ ordered="false" eType="#//ResourceAssignmentExpression" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="resourceAssignmentExpression"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="RootElement" eSuperTypes="#//BaseElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tRootElement"/>
+ <details key="kind" value="elementOnly"/>
+ <details key="abstract" value="true"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ScriptTask" eSuperTypes="#//Task">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tScriptTask"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="script" ordered="false"
+ lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="script"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="scriptFormat" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="scriptFormat"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="SendTask" eSuperTypes="#//Task">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tSendTask"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="implementation" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="implementation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="messageRef" ordered="false"
+ eType="#//Message">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="messageRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="operationRef" ordered="false"
+ eType="#//Operation">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="operationRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="SequenceFlow" eSuperTypes="#//FlowElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tSequenceFlow"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="conditionExpression" ordered="false"
+ eType="#//Expression" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="conditionExpression"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="isImmediate" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="isImmediate"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="sourceRef" ordered="false"
+ lowerBound="1" eType="#//FlowNode" resolveProxies="false" eOpposite="#//FlowNode/outgoing">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="sourceRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="targetRef" ordered="false"
+ lowerBound="1" eType="#//FlowNode" resolveProxies="false" eOpposite="#//FlowNode/incoming">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="targetRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ServiceTask" eSuperTypes="#//Task">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tServiceTask"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="implementation" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="implementation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="operationRef" ordered="false"
+ eType="#//Operation">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="operationRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Signal" eSuperTypes="#//RootElement">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tSignal"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="structureRef" ordered="false"
+ eType="#//ItemDefinition">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="structureRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="SignalEventDefinition" eSuperTypes="#//EventDefinition">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tSignalEventDefinition"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="signalRef" ordered="false"
+ eType="#//Signal">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="signalRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="StandardLoopCharacteristics" eSuperTypes="#//LoopCharacteristics">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tStandardLoopCharacteristics"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="loopCondition" ordered="false"
+ eType="#//Expression" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="loopCondition"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="loopMaximum" ordered="false"
+ eType="#//Expression" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="loopMaximum"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="testBefore" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" defaultValueLiteral="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="testBefore"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="StartEvent" eSuperTypes="#//CatchEvent">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tStartEvent"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="isInterrupting" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" defaultValueLiteral="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="isInterrupting"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="SubChoreography" eSuperTypes="#//ChoreographyActivity #//FlowElementsContainer">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tSubChoreography"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="artifacts" ordered="false"
+ upperBound="-1" eType="#//Artifact" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="artifact"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="group" value="http://www.omg.org/spec/BPMN/20100524/MODEL#artifact"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="SubConversation" eSuperTypes="#//ConversationNode">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tSubConversation"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="conversationNodes" ordered="false"
+ upperBound="-1" eType="#//ConversationNode" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="conversationNode"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="group" value="http://www.omg.org/spec/BPMN/20100524/MODEL#conversationNode"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="SubProcess" eSuperTypes="#//Activity #//FlowElementsContainer">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tSubProcess"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="artifacts" ordered="false"
+ upperBound="-1" eType="#//Artifact" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="artifact"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="group" value="http://www.omg.org/spec/BPMN/20100524/MODEL#artifact"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="triggeredByEvent" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" defaultValueLiteral="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="triggeredByEvent"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Task" eSuperTypes="#//Activity #//InteractionNode">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tTask"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="TerminateEventDefinition" eSuperTypes="#//EventDefinition">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tTerminateEventDefinition"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="TextAnnotation" eSuperTypes="#//Artifact">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tTextAnnotation"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="text" ordered="false" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="text"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="textFormat" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" defaultValueLiteral="text/plain">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="textFormat"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ThrowEvent" abstract="true" eSuperTypes="#//Event">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tThrowEvent"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="dataInputs" ordered="false"
+ upperBound="-1" eType="#//DataInput" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="dataInput"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="dataInputAssociation" ordered="false"
+ upperBound="-1" eType="#//DataInputAssociation" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="dataInputAssociation"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="inputSet" ordered="false"
+ eType="#//InputSet" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="inputSet"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eventDefinitions" ordered="false"
+ upperBound="-1" eType="#//EventDefinition" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="eventDefinition"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ <details key="group" value="http://www.omg.org/spec/BPMN/20100524/MODEL#eventDefinition"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eventDefinitionRefs" ordered="false"
+ upperBound="-1" eType="#//EventDefinition">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="eventDefinitionRef"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="TimerEventDefinition" eSuperTypes="#//EventDefinition">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tTimerEventDefinition"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="timeDate" ordered="false"
+ eType="#//Expression" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="timeDate"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="timeDuration" ordered="false"
+ eType="#//Expression" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="timeDuration"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="timeCycle" ordered="false"
+ eType="#//Expression" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="timeCycle"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Transaction" eSuperTypes="#//SubProcess">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tTransaction"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="protocol" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="method" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="method"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="UserTask" eSuperTypes="#//Task">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tUserTask"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="renderings" ordered="false"
+ upperBound="-1" eType="#//Rendering" containment="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="rendering"/>
+ <details key="namespace" value="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="implementation" ordered="false"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="implementation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/util/Bpmn2AdapterFactory.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/util/Bpmn2AdapterFactory.java
new file mode 100644
index 000000000..549b1a730
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/util/Bpmn2AdapterFactory.java
@@ -0,0 +1,2887 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.util;
+
+import org.eclipse.bpmn2.Activity;
+import org.eclipse.bpmn2.AdHocSubProcess;
+import org.eclipse.bpmn2.Artifact;
+import org.eclipse.bpmn2.Assignment;
+import org.eclipse.bpmn2.Association;
+import org.eclipse.bpmn2.Auditing;
+import org.eclipse.bpmn2.BaseElement;
+import org.eclipse.bpmn2.BoundaryEvent;
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.BusinessRuleTask;
+import org.eclipse.bpmn2.CallActivity;
+import org.eclipse.bpmn2.CallChoreography;
+import org.eclipse.bpmn2.CallConversation;
+import org.eclipse.bpmn2.CallableElement;
+import org.eclipse.bpmn2.CancelEventDefinition;
+import org.eclipse.bpmn2.CatchEvent;
+import org.eclipse.bpmn2.Category;
+import org.eclipse.bpmn2.CategoryValue;
+import org.eclipse.bpmn2.Choreography;
+import org.eclipse.bpmn2.ChoreographyActivity;
+import org.eclipse.bpmn2.ChoreographyTask;
+import org.eclipse.bpmn2.Collaboration;
+import org.eclipse.bpmn2.CompensateEventDefinition;
+import org.eclipse.bpmn2.ComplexBehaviorDefinition;
+import org.eclipse.bpmn2.ComplexGateway;
+import org.eclipse.bpmn2.ConditionalEventDefinition;
+import org.eclipse.bpmn2.Conversation;
+import org.eclipse.bpmn2.ConversationAssociation;
+import org.eclipse.bpmn2.ConversationLink;
+import org.eclipse.bpmn2.ConversationNode;
+import org.eclipse.bpmn2.CorrelationKey;
+import org.eclipse.bpmn2.CorrelationProperty;
+import org.eclipse.bpmn2.CorrelationPropertyBinding;
+import org.eclipse.bpmn2.CorrelationPropertyRetrievalExpression;
+import org.eclipse.bpmn2.CorrelationSubscription;
+import org.eclipse.bpmn2.DataAssociation;
+import org.eclipse.bpmn2.DataInput;
+import org.eclipse.bpmn2.DataInputAssociation;
+import org.eclipse.bpmn2.DataObject;
+import org.eclipse.bpmn2.DataObjectReference;
+import org.eclipse.bpmn2.DataOutput;
+import org.eclipse.bpmn2.DataOutputAssociation;
+import org.eclipse.bpmn2.DataState;
+import org.eclipse.bpmn2.DataStore;
+import org.eclipse.bpmn2.DataStoreReference;
+import org.eclipse.bpmn2.Definitions;
+import org.eclipse.bpmn2.DocumentRoot;
+import org.eclipse.bpmn2.Documentation;
+import org.eclipse.bpmn2.EndEvent;
+import org.eclipse.bpmn2.EndPoint;
+import org.eclipse.bpmn2.ErrorEventDefinition;
+import org.eclipse.bpmn2.Escalation;
+import org.eclipse.bpmn2.EscalationEventDefinition;
+import org.eclipse.bpmn2.Event;
+import org.eclipse.bpmn2.EventBasedGateway;
+import org.eclipse.bpmn2.EventDefinition;
+import org.eclipse.bpmn2.ExclusiveGateway;
+import org.eclipse.bpmn2.Expression;
+import org.eclipse.bpmn2.Extension;
+import org.eclipse.bpmn2.ExtensionAttributeDefinition;
+import org.eclipse.bpmn2.ExtensionAttributeValue;
+import org.eclipse.bpmn2.ExtensionDefinition;
+import org.eclipse.bpmn2.FlowElement;
+import org.eclipse.bpmn2.FlowElementsContainer;
+import org.eclipse.bpmn2.FlowNode;
+import org.eclipse.bpmn2.FormalExpression;
+import org.eclipse.bpmn2.Gateway;
+import org.eclipse.bpmn2.GlobalBusinessRuleTask;
+import org.eclipse.bpmn2.GlobalChoreographyTask;
+import org.eclipse.bpmn2.GlobalConversation;
+import org.eclipse.bpmn2.GlobalManualTask;
+import org.eclipse.bpmn2.GlobalScriptTask;
+import org.eclipse.bpmn2.GlobalTask;
+import org.eclipse.bpmn2.GlobalUserTask;
+import org.eclipse.bpmn2.Group;
+import org.eclipse.bpmn2.HumanPerformer;
+import org.eclipse.bpmn2.ImplicitThrowEvent;
+import org.eclipse.bpmn2.Import;
+import org.eclipse.bpmn2.InclusiveGateway;
+import org.eclipse.bpmn2.InputOutputBinding;
+import org.eclipse.bpmn2.InputOutputSpecification;
+import org.eclipse.bpmn2.InputSet;
+import org.eclipse.bpmn2.InteractionNode;
+import org.eclipse.bpmn2.Interface;
+import org.eclipse.bpmn2.IntermediateCatchEvent;
+import org.eclipse.bpmn2.IntermediateThrowEvent;
+import org.eclipse.bpmn2.ItemAwareElement;
+import org.eclipse.bpmn2.ItemDefinition;
+import org.eclipse.bpmn2.Lane;
+import org.eclipse.bpmn2.LaneSet;
+import org.eclipse.bpmn2.LinkEventDefinition;
+import org.eclipse.bpmn2.LoopCharacteristics;
+import org.eclipse.bpmn2.ManualTask;
+import org.eclipse.bpmn2.Message;
+import org.eclipse.bpmn2.MessageEventDefinition;
+import org.eclipse.bpmn2.MessageFlow;
+import org.eclipse.bpmn2.MessageFlowAssociation;
+import org.eclipse.bpmn2.Monitoring;
+import org.eclipse.bpmn2.MultiInstanceLoopCharacteristics;
+import org.eclipse.bpmn2.Operation;
+import org.eclipse.bpmn2.OutputSet;
+import org.eclipse.bpmn2.ParallelGateway;
+import org.eclipse.bpmn2.Participant;
+import org.eclipse.bpmn2.ParticipantAssociation;
+import org.eclipse.bpmn2.ParticipantMultiplicity;
+import org.eclipse.bpmn2.PartnerEntity;
+import org.eclipse.bpmn2.PartnerRole;
+import org.eclipse.bpmn2.Performer;
+import org.eclipse.bpmn2.PotentialOwner;
+import org.eclipse.bpmn2.Property;
+import org.eclipse.bpmn2.ReceiveTask;
+import org.eclipse.bpmn2.Relationship;
+import org.eclipse.bpmn2.Rendering;
+import org.eclipse.bpmn2.Resource;
+import org.eclipse.bpmn2.ResourceAssignmentExpression;
+import org.eclipse.bpmn2.ResourceParameter;
+import org.eclipse.bpmn2.ResourceParameterBinding;
+import org.eclipse.bpmn2.ResourceRole;
+import org.eclipse.bpmn2.RootElement;
+import org.eclipse.bpmn2.ScriptTask;
+import org.eclipse.bpmn2.SendTask;
+import org.eclipse.bpmn2.SequenceFlow;
+import org.eclipse.bpmn2.ServiceTask;
+import org.eclipse.bpmn2.Signal;
+import org.eclipse.bpmn2.SignalEventDefinition;
+import org.eclipse.bpmn2.StandardLoopCharacteristics;
+import org.eclipse.bpmn2.StartEvent;
+import org.eclipse.bpmn2.SubChoreography;
+import org.eclipse.bpmn2.SubConversation;
+import org.eclipse.bpmn2.SubProcess;
+import org.eclipse.bpmn2.Task;
+import org.eclipse.bpmn2.TerminateEventDefinition;
+import org.eclipse.bpmn2.TextAnnotation;
+import org.eclipse.bpmn2.ThrowEvent;
+import org.eclipse.bpmn2.TimerEventDefinition;
+import org.eclipse.bpmn2.Transaction;
+import org.eclipse.bpmn2.UserTask;
+
+import org.eclipse.emf.common.notify.Adapter;
+import org.eclipse.emf.common.notify.Notifier;
+
+import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Adapter Factory</b> for the model.
+ * It provides an adapter <code>createXXX</code> method for each class of the model.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.Bpmn2Package
+ * @generated
+ */
+public class Bpmn2AdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static Bpmn2Package modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Bpmn2AdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = Bpmn2Package.eINSTANCE;
+ }
+ }
+
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ * <!-- begin-user-doc -->
+ * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
+ * <!-- end-user-doc -->
+ * @return whether this factory is applicable for the type of the object.
+ * @generated
+ */
+ @Override
+ public boolean isFactoryForType(Object object) {
+ if (object == modelPackage) {
+ return true;
+ }
+ if (object instanceof EObject) {
+ return ((EObject) object).eClass().getEPackage() == modelPackage;
+ }
+ return false;
+ }
+
+ /**
+ * The switch that delegates to the <code>createXXX</code> methods.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected Bpmn2Switch<Adapter> modelSwitch = new Bpmn2Switch<Adapter>() {
+ @Override
+ public Adapter caseDocumentRoot(DocumentRoot object) {
+ return createDocumentRootAdapter();
+ }
+
+ @Override
+ public Adapter caseActivity(Activity object) {
+ return createActivityAdapter();
+ }
+
+ @Override
+ public Adapter caseAdHocSubProcess(AdHocSubProcess object) {
+ return createAdHocSubProcessAdapter();
+ }
+
+ @Override
+ public Adapter caseArtifact(Artifact object) {
+ return createArtifactAdapter();
+ }
+
+ @Override
+ public Adapter caseAssignment(Assignment object) {
+ return createAssignmentAdapter();
+ }
+
+ @Override
+ public Adapter caseAssociation(Association object) {
+ return createAssociationAdapter();
+ }
+
+ @Override
+ public Adapter caseAuditing(Auditing object) {
+ return createAuditingAdapter();
+ }
+
+ @Override
+ public Adapter caseBaseElement(BaseElement object) {
+ return createBaseElementAdapter();
+ }
+
+ @Override
+ public Adapter caseBoundaryEvent(BoundaryEvent object) {
+ return createBoundaryEventAdapter();
+ }
+
+ @Override
+ public Adapter caseBusinessRuleTask(BusinessRuleTask object) {
+ return createBusinessRuleTaskAdapter();
+ }
+
+ @Override
+ public Adapter caseCallActivity(CallActivity object) {
+ return createCallActivityAdapter();
+ }
+
+ @Override
+ public Adapter caseCallChoreography(CallChoreography object) {
+ return createCallChoreographyAdapter();
+ }
+
+ @Override
+ public Adapter caseCallConversation(CallConversation object) {
+ return createCallConversationAdapter();
+ }
+
+ @Override
+ public Adapter caseCallableElement(CallableElement object) {
+ return createCallableElementAdapter();
+ }
+
+ @Override
+ public Adapter caseCancelEventDefinition(CancelEventDefinition object) {
+ return createCancelEventDefinitionAdapter();
+ }
+
+ @Override
+ public Adapter caseCatchEvent(CatchEvent object) {
+ return createCatchEventAdapter();
+ }
+
+ @Override
+ public Adapter caseCategory(Category object) {
+ return createCategoryAdapter();
+ }
+
+ @Override
+ public Adapter caseCategoryValue(CategoryValue object) {
+ return createCategoryValueAdapter();
+ }
+
+ @Override
+ public Adapter caseChoreography(Choreography object) {
+ return createChoreographyAdapter();
+ }
+
+ @Override
+ public Adapter caseChoreographyActivity(ChoreographyActivity object) {
+ return createChoreographyActivityAdapter();
+ }
+
+ @Override
+ public Adapter caseChoreographyTask(ChoreographyTask object) {
+ return createChoreographyTaskAdapter();
+ }
+
+ @Override
+ public Adapter caseCollaboration(Collaboration object) {
+ return createCollaborationAdapter();
+ }
+
+ @Override
+ public Adapter caseCompensateEventDefinition(
+ CompensateEventDefinition object) {
+ return createCompensateEventDefinitionAdapter();
+ }
+
+ @Override
+ public Adapter caseComplexBehaviorDefinition(
+ ComplexBehaviorDefinition object) {
+ return createComplexBehaviorDefinitionAdapter();
+ }
+
+ @Override
+ public Adapter caseComplexGateway(ComplexGateway object) {
+ return createComplexGatewayAdapter();
+ }
+
+ @Override
+ public Adapter caseConditionalEventDefinition(
+ ConditionalEventDefinition object) {
+ return createConditionalEventDefinitionAdapter();
+ }
+
+ @Override
+ public Adapter caseConversation(Conversation object) {
+ return createConversationAdapter();
+ }
+
+ @Override
+ public Adapter caseConversationAssociation(
+ ConversationAssociation object) {
+ return createConversationAssociationAdapter();
+ }
+
+ @Override
+ public Adapter caseConversationLink(ConversationLink object) {
+ return createConversationLinkAdapter();
+ }
+
+ @Override
+ public Adapter caseConversationNode(ConversationNode object) {
+ return createConversationNodeAdapter();
+ }
+
+ @Override
+ public Adapter caseCorrelationKey(CorrelationKey object) {
+ return createCorrelationKeyAdapter();
+ }
+
+ @Override
+ public Adapter caseCorrelationProperty(CorrelationProperty object) {
+ return createCorrelationPropertyAdapter();
+ }
+
+ @Override
+ public Adapter caseCorrelationPropertyBinding(
+ CorrelationPropertyBinding object) {
+ return createCorrelationPropertyBindingAdapter();
+ }
+
+ @Override
+ public Adapter caseCorrelationPropertyRetrievalExpression(
+ CorrelationPropertyRetrievalExpression object) {
+ return createCorrelationPropertyRetrievalExpressionAdapter();
+ }
+
+ @Override
+ public Adapter caseCorrelationSubscription(
+ CorrelationSubscription object) {
+ return createCorrelationSubscriptionAdapter();
+ }
+
+ @Override
+ public Adapter caseDataAssociation(DataAssociation object) {
+ return createDataAssociationAdapter();
+ }
+
+ @Override
+ public Adapter caseDataInput(DataInput object) {
+ return createDataInputAdapter();
+ }
+
+ @Override
+ public Adapter caseDataInputAssociation(DataInputAssociation object) {
+ return createDataInputAssociationAdapter();
+ }
+
+ @Override
+ public Adapter caseDataObject(DataObject object) {
+ return createDataObjectAdapter();
+ }
+
+ @Override
+ public Adapter caseDataObjectReference(DataObjectReference object) {
+ return createDataObjectReferenceAdapter();
+ }
+
+ @Override
+ public Adapter caseDataOutput(DataOutput object) {
+ return createDataOutputAdapter();
+ }
+
+ @Override
+ public Adapter caseDataOutputAssociation(DataOutputAssociation object) {
+ return createDataOutputAssociationAdapter();
+ }
+
+ @Override
+ public Adapter caseDataState(DataState object) {
+ return createDataStateAdapter();
+ }
+
+ @Override
+ public Adapter caseDataStore(DataStore object) {
+ return createDataStoreAdapter();
+ }
+
+ @Override
+ public Adapter caseDataStoreReference(DataStoreReference object) {
+ return createDataStoreReferenceAdapter();
+ }
+
+ @Override
+ public Adapter caseDefinitions(Definitions object) {
+ return createDefinitionsAdapter();
+ }
+
+ @Override
+ public Adapter caseDocumentation(Documentation object) {
+ return createDocumentationAdapter();
+ }
+
+ @Override
+ public Adapter caseEndEvent(EndEvent object) {
+ return createEndEventAdapter();
+ }
+
+ @Override
+ public Adapter caseEndPoint(EndPoint object) {
+ return createEndPointAdapter();
+ }
+
+ @Override
+ public Adapter caseError(org.eclipse.bpmn2.Error object) {
+ return createErrorAdapter();
+ }
+
+ @Override
+ public Adapter caseErrorEventDefinition(ErrorEventDefinition object) {
+ return createErrorEventDefinitionAdapter();
+ }
+
+ @Override
+ public Adapter caseEscalation(Escalation object) {
+ return createEscalationAdapter();
+ }
+
+ @Override
+ public Adapter caseEscalationEventDefinition(
+ EscalationEventDefinition object) {
+ return createEscalationEventDefinitionAdapter();
+ }
+
+ @Override
+ public Adapter caseEvent(Event object) {
+ return createEventAdapter();
+ }
+
+ @Override
+ public Adapter caseEventBasedGateway(EventBasedGateway object) {
+ return createEventBasedGatewayAdapter();
+ }
+
+ @Override
+ public Adapter caseEventDefinition(EventDefinition object) {
+ return createEventDefinitionAdapter();
+ }
+
+ @Override
+ public Adapter caseExclusiveGateway(ExclusiveGateway object) {
+ return createExclusiveGatewayAdapter();
+ }
+
+ @Override
+ public Adapter caseExpression(Expression object) {
+ return createExpressionAdapter();
+ }
+
+ @Override
+ public Adapter caseExtension(Extension object) {
+ return createExtensionAdapter();
+ }
+
+ @Override
+ public Adapter caseExtensionAttributeDefinition(
+ ExtensionAttributeDefinition object) {
+ return createExtensionAttributeDefinitionAdapter();
+ }
+
+ @Override
+ public Adapter caseExtensionAttributeValue(
+ ExtensionAttributeValue object) {
+ return createExtensionAttributeValueAdapter();
+ }
+
+ @Override
+ public Adapter caseExtensionDefinition(ExtensionDefinition object) {
+ return createExtensionDefinitionAdapter();
+ }
+
+ @Override
+ public Adapter caseFlowElement(FlowElement object) {
+ return createFlowElementAdapter();
+ }
+
+ @Override
+ public Adapter caseFlowElementsContainer(FlowElementsContainer object) {
+ return createFlowElementsContainerAdapter();
+ }
+
+ @Override
+ public Adapter caseFlowNode(FlowNode object) {
+ return createFlowNodeAdapter();
+ }
+
+ @Override
+ public Adapter caseFormalExpression(FormalExpression object) {
+ return createFormalExpressionAdapter();
+ }
+
+ @Override
+ public Adapter caseGateway(Gateway object) {
+ return createGatewayAdapter();
+ }
+
+ @Override
+ public Adapter caseGlobalBusinessRuleTask(GlobalBusinessRuleTask object) {
+ return createGlobalBusinessRuleTaskAdapter();
+ }
+
+ @Override
+ public Adapter caseGlobalChoreographyTask(GlobalChoreographyTask object) {
+ return createGlobalChoreographyTaskAdapter();
+ }
+
+ @Override
+ public Adapter caseGlobalConversation(GlobalConversation object) {
+ return createGlobalConversationAdapter();
+ }
+
+ @Override
+ public Adapter caseGlobalManualTask(GlobalManualTask object) {
+ return createGlobalManualTaskAdapter();
+ }
+
+ @Override
+ public Adapter caseGlobalScriptTask(GlobalScriptTask object) {
+ return createGlobalScriptTaskAdapter();
+ }
+
+ @Override
+ public Adapter caseGlobalTask(GlobalTask object) {
+ return createGlobalTaskAdapter();
+ }
+
+ @Override
+ public Adapter caseGlobalUserTask(GlobalUserTask object) {
+ return createGlobalUserTaskAdapter();
+ }
+
+ @Override
+ public Adapter caseGroup(Group object) {
+ return createGroupAdapter();
+ }
+
+ @Override
+ public Adapter caseHumanPerformer(HumanPerformer object) {
+ return createHumanPerformerAdapter();
+ }
+
+ @Override
+ public Adapter caseImplicitThrowEvent(ImplicitThrowEvent object) {
+ return createImplicitThrowEventAdapter();
+ }
+
+ @Override
+ public Adapter caseImport(Import object) {
+ return createImportAdapter();
+ }
+
+ @Override
+ public Adapter caseInclusiveGateway(InclusiveGateway object) {
+ return createInclusiveGatewayAdapter();
+ }
+
+ @Override
+ public Adapter caseInputOutputBinding(InputOutputBinding object) {
+ return createInputOutputBindingAdapter();
+ }
+
+ @Override
+ public Adapter caseInputOutputSpecification(
+ InputOutputSpecification object) {
+ return createInputOutputSpecificationAdapter();
+ }
+
+ @Override
+ public Adapter caseInputSet(InputSet object) {
+ return createInputSetAdapter();
+ }
+
+ @Override
+ public Adapter caseInteractionNode(InteractionNode object) {
+ return createInteractionNodeAdapter();
+ }
+
+ @Override
+ public Adapter caseInterface(Interface object) {
+ return createInterfaceAdapter();
+ }
+
+ @Override
+ public Adapter caseIntermediateCatchEvent(IntermediateCatchEvent object) {
+ return createIntermediateCatchEventAdapter();
+ }
+
+ @Override
+ public Adapter caseIntermediateThrowEvent(IntermediateThrowEvent object) {
+ return createIntermediateThrowEventAdapter();
+ }
+
+ @Override
+ public Adapter caseItemAwareElement(ItemAwareElement object) {
+ return createItemAwareElementAdapter();
+ }
+
+ @Override
+ public Adapter caseItemDefinition(ItemDefinition object) {
+ return createItemDefinitionAdapter();
+ }
+
+ @Override
+ public Adapter caseLane(Lane object) {
+ return createLaneAdapter();
+ }
+
+ @Override
+ public Adapter caseLaneSet(LaneSet object) {
+ return createLaneSetAdapter();
+ }
+
+ @Override
+ public Adapter caseLinkEventDefinition(LinkEventDefinition object) {
+ return createLinkEventDefinitionAdapter();
+ }
+
+ @Override
+ public Adapter caseLoopCharacteristics(LoopCharacteristics object) {
+ return createLoopCharacteristicsAdapter();
+ }
+
+ @Override
+ public Adapter caseManualTask(ManualTask object) {
+ return createManualTaskAdapter();
+ }
+
+ @Override
+ public Adapter caseMessage(Message object) {
+ return createMessageAdapter();
+ }
+
+ @Override
+ public Adapter caseMessageEventDefinition(MessageEventDefinition object) {
+ return createMessageEventDefinitionAdapter();
+ }
+
+ @Override
+ public Adapter caseMessageFlow(MessageFlow object) {
+ return createMessageFlowAdapter();
+ }
+
+ @Override
+ public Adapter caseMessageFlowAssociation(MessageFlowAssociation object) {
+ return createMessageFlowAssociationAdapter();
+ }
+
+ @Override
+ public Adapter caseMonitoring(Monitoring object) {
+ return createMonitoringAdapter();
+ }
+
+ @Override
+ public Adapter caseMultiInstanceLoopCharacteristics(
+ MultiInstanceLoopCharacteristics object) {
+ return createMultiInstanceLoopCharacteristicsAdapter();
+ }
+
+ @Override
+ public Adapter caseOperation(Operation object) {
+ return createOperationAdapter();
+ }
+
+ @Override
+ public Adapter caseOutputSet(OutputSet object) {
+ return createOutputSetAdapter();
+ }
+
+ @Override
+ public Adapter caseParallelGateway(ParallelGateway object) {
+ return createParallelGatewayAdapter();
+ }
+
+ @Override
+ public Adapter caseParticipant(Participant object) {
+ return createParticipantAdapter();
+ }
+
+ @Override
+ public Adapter caseParticipantAssociation(ParticipantAssociation object) {
+ return createParticipantAssociationAdapter();
+ }
+
+ @Override
+ public Adapter caseParticipantMultiplicity(
+ ParticipantMultiplicity object) {
+ return createParticipantMultiplicityAdapter();
+ }
+
+ @Override
+ public Adapter casePartnerEntity(PartnerEntity object) {
+ return createPartnerEntityAdapter();
+ }
+
+ @Override
+ public Adapter casePartnerRole(PartnerRole object) {
+ return createPartnerRoleAdapter();
+ }
+
+ @Override
+ public Adapter casePerformer(Performer object) {
+ return createPerformerAdapter();
+ }
+
+ @Override
+ public Adapter casePotentialOwner(PotentialOwner object) {
+ return createPotentialOwnerAdapter();
+ }
+
+ @Override
+ public Adapter caseProcess(org.eclipse.bpmn2.Process object) {
+ return createProcessAdapter();
+ }
+
+ @Override
+ public Adapter caseProperty(Property object) {
+ return createPropertyAdapter();
+ }
+
+ @Override
+ public Adapter caseReceiveTask(ReceiveTask object) {
+ return createReceiveTaskAdapter();
+ }
+
+ @Override
+ public Adapter caseRelationship(Relationship object) {
+ return createRelationshipAdapter();
+ }
+
+ @Override
+ public Adapter caseRendering(Rendering object) {
+ return createRenderingAdapter();
+ }
+
+ @Override
+ public Adapter caseResource(Resource object) {
+ return createResourceAdapter();
+ }
+
+ @Override
+ public Adapter caseResourceAssignmentExpression(
+ ResourceAssignmentExpression object) {
+ return createResourceAssignmentExpressionAdapter();
+ }
+
+ @Override
+ public Adapter caseResourceParameter(ResourceParameter object) {
+ return createResourceParameterAdapter();
+ }
+
+ @Override
+ public Adapter caseResourceParameterBinding(
+ ResourceParameterBinding object) {
+ return createResourceParameterBindingAdapter();
+ }
+
+ @Override
+ public Adapter caseResourceRole(ResourceRole object) {
+ return createResourceRoleAdapter();
+ }
+
+ @Override
+ public Adapter caseRootElement(RootElement object) {
+ return createRootElementAdapter();
+ }
+
+ @Override
+ public Adapter caseScriptTask(ScriptTask object) {
+ return createScriptTaskAdapter();
+ }
+
+ @Override
+ public Adapter caseSendTask(SendTask object) {
+ return createSendTaskAdapter();
+ }
+
+ @Override
+ public Adapter caseSequenceFlow(SequenceFlow object) {
+ return createSequenceFlowAdapter();
+ }
+
+ @Override
+ public Adapter caseServiceTask(ServiceTask object) {
+ return createServiceTaskAdapter();
+ }
+
+ @Override
+ public Adapter caseSignal(Signal object) {
+ return createSignalAdapter();
+ }
+
+ @Override
+ public Adapter caseSignalEventDefinition(SignalEventDefinition object) {
+ return createSignalEventDefinitionAdapter();
+ }
+
+ @Override
+ public Adapter caseStandardLoopCharacteristics(
+ StandardLoopCharacteristics object) {
+ return createStandardLoopCharacteristicsAdapter();
+ }
+
+ @Override
+ public Adapter caseStartEvent(StartEvent object) {
+ return createStartEventAdapter();
+ }
+
+ @Override
+ public Adapter caseSubChoreography(SubChoreography object) {
+ return createSubChoreographyAdapter();
+ }
+
+ @Override
+ public Adapter caseSubConversation(SubConversation object) {
+ return createSubConversationAdapter();
+ }
+
+ @Override
+ public Adapter caseSubProcess(SubProcess object) {
+ return createSubProcessAdapter();
+ }
+
+ @Override
+ public Adapter caseTask(Task object) {
+ return createTaskAdapter();
+ }
+
+ @Override
+ public Adapter caseTerminateEventDefinition(
+ TerminateEventDefinition object) {
+ return createTerminateEventDefinitionAdapter();
+ }
+
+ @Override
+ public Adapter caseTextAnnotation(TextAnnotation object) {
+ return createTextAnnotationAdapter();
+ }
+
+ @Override
+ public Adapter caseThrowEvent(ThrowEvent object) {
+ return createThrowEventAdapter();
+ }
+
+ @Override
+ public Adapter caseTimerEventDefinition(TimerEventDefinition object) {
+ return createTimerEventDefinitionAdapter();
+ }
+
+ @Override
+ public Adapter caseTransaction(Transaction object) {
+ return createTransactionAdapter();
+ }
+
+ @Override
+ public Adapter caseUserTask(UserTask object) {
+ return createUserTaskAdapter();
+ }
+
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
+
+ /**
+ * Creates an adapter for the <code>target</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param target the object to adapt.
+ * @return the adapter for the <code>target</code>.
+ * @generated
+ */
+ @Override
+ public Adapter createAdapter(Notifier target) {
+ return modelSwitch.doSwitch((EObject) target);
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.DocumentRoot <em>Document Root</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.DocumentRoot
+ * @generated
+ */
+ public Adapter createDocumentRootAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.Activity <em>Activity</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.Activity
+ * @generated
+ */
+ public Adapter createActivityAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.AdHocSubProcess <em>Ad Hoc Sub Process</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.AdHocSubProcess
+ * @generated
+ */
+ public Adapter createAdHocSubProcessAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.Artifact <em>Artifact</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.Artifact
+ * @generated
+ */
+ public Adapter createArtifactAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.Assignment <em>Assignment</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.Assignment
+ * @generated
+ */
+ public Adapter createAssignmentAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.Association <em>Association</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.Association
+ * @generated
+ */
+ public Adapter createAssociationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.Auditing <em>Auditing</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.Auditing
+ * @generated
+ */
+ public Adapter createAuditingAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.BaseElement <em>Base Element</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.BaseElement
+ * @generated
+ */
+ public Adapter createBaseElementAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.BoundaryEvent <em>Boundary Event</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.BoundaryEvent
+ * @generated
+ */
+ public Adapter createBoundaryEventAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.BusinessRuleTask <em>Business Rule Task</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.BusinessRuleTask
+ * @generated
+ */
+ public Adapter createBusinessRuleTaskAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.CallActivity <em>Call Activity</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.CallActivity
+ * @generated
+ */
+ public Adapter createCallActivityAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.CallChoreography <em>Call Choreography</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.CallChoreography
+ * @generated
+ */
+ public Adapter createCallChoreographyAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.CallConversation <em>Call Conversation</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.CallConversation
+ * @generated
+ */
+ public Adapter createCallConversationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.CallableElement <em>Callable Element</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.CallableElement
+ * @generated
+ */
+ public Adapter createCallableElementAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.CancelEventDefinition <em>Cancel Event Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.CancelEventDefinition
+ * @generated
+ */
+ public Adapter createCancelEventDefinitionAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.CatchEvent <em>Catch Event</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.CatchEvent
+ * @generated
+ */
+ public Adapter createCatchEventAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.Category <em>Category</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.Category
+ * @generated
+ */
+ public Adapter createCategoryAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.CategoryValue <em>Category Value</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.CategoryValue
+ * @generated
+ */
+ public Adapter createCategoryValueAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.Choreography <em>Choreography</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.Choreography
+ * @generated
+ */
+ public Adapter createChoreographyAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.ChoreographyActivity <em>Choreography Activity</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.ChoreographyActivity
+ * @generated
+ */
+ public Adapter createChoreographyActivityAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.ChoreographyTask <em>Choreography Task</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.ChoreographyTask
+ * @generated
+ */
+ public Adapter createChoreographyTaskAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.Collaboration <em>Collaboration</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.Collaboration
+ * @generated
+ */
+ public Adapter createCollaborationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.CompensateEventDefinition <em>Compensate Event Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.CompensateEventDefinition
+ * @generated
+ */
+ public Adapter createCompensateEventDefinitionAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.ComplexBehaviorDefinition <em>Complex Behavior Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.ComplexBehaviorDefinition
+ * @generated
+ */
+ public Adapter createComplexBehaviorDefinitionAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.ComplexGateway <em>Complex Gateway</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.ComplexGateway
+ * @generated
+ */
+ public Adapter createComplexGatewayAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.ConditionalEventDefinition <em>Conditional Event Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.ConditionalEventDefinition
+ * @generated
+ */
+ public Adapter createConditionalEventDefinitionAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.Conversation <em>Conversation</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.Conversation
+ * @generated
+ */
+ public Adapter createConversationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.ConversationAssociation <em>Conversation Association</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.ConversationAssociation
+ * @generated
+ */
+ public Adapter createConversationAssociationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.ConversationLink <em>Conversation Link</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.ConversationLink
+ * @generated
+ */
+ public Adapter createConversationLinkAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.ConversationNode <em>Conversation Node</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.ConversationNode
+ * @generated
+ */
+ public Adapter createConversationNodeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.CorrelationKey <em>Correlation Key</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.CorrelationKey
+ * @generated
+ */
+ public Adapter createCorrelationKeyAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.CorrelationProperty <em>Correlation Property</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.CorrelationProperty
+ * @generated
+ */
+ public Adapter createCorrelationPropertyAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.CorrelationPropertyBinding <em>Correlation Property Binding</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.CorrelationPropertyBinding
+ * @generated
+ */
+ public Adapter createCorrelationPropertyBindingAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.CorrelationPropertyRetrievalExpression <em>Correlation Property Retrieval Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.CorrelationPropertyRetrievalExpression
+ * @generated
+ */
+ public Adapter createCorrelationPropertyRetrievalExpressionAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.CorrelationSubscription <em>Correlation Subscription</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.CorrelationSubscription
+ * @generated
+ */
+ public Adapter createCorrelationSubscriptionAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.DataAssociation <em>Data Association</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.DataAssociation
+ * @generated
+ */
+ public Adapter createDataAssociationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.DataInput <em>Data Input</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.DataInput
+ * @generated
+ */
+ public Adapter createDataInputAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.DataInputAssociation <em>Data Input Association</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.DataInputAssociation
+ * @generated
+ */
+ public Adapter createDataInputAssociationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.DataObject <em>Data Object</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.DataObject
+ * @generated
+ */
+ public Adapter createDataObjectAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.DataObjectReference <em>Data Object Reference</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.DataObjectReference
+ * @generated
+ */
+ public Adapter createDataObjectReferenceAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.DataOutput <em>Data Output</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.DataOutput
+ * @generated
+ */
+ public Adapter createDataOutputAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.DataOutputAssociation <em>Data Output Association</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.DataOutputAssociation
+ * @generated
+ */
+ public Adapter createDataOutputAssociationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.DataState <em>Data State</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.DataState
+ * @generated
+ */
+ public Adapter createDataStateAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.DataStore <em>Data Store</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.DataStore
+ * @generated
+ */
+ public Adapter createDataStoreAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.DataStoreReference <em>Data Store Reference</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.DataStoreReference
+ * @generated
+ */
+ public Adapter createDataStoreReferenceAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.Definitions <em>Definitions</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.Definitions
+ * @generated
+ */
+ public Adapter createDefinitionsAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.Documentation <em>Documentation</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.Documentation
+ * @generated
+ */
+ public Adapter createDocumentationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.EndEvent <em>End Event</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.EndEvent
+ * @generated
+ */
+ public Adapter createEndEventAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.EndPoint <em>End Point</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.EndPoint
+ * @generated
+ */
+ public Adapter createEndPointAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.Error <em>Error</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.Error
+ * @generated
+ */
+ public Adapter createErrorAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.ErrorEventDefinition <em>Error Event Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.ErrorEventDefinition
+ * @generated
+ */
+ public Adapter createErrorEventDefinitionAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.Escalation <em>Escalation</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.Escalation
+ * @generated
+ */
+ public Adapter createEscalationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.EscalationEventDefinition <em>Escalation Event Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.EscalationEventDefinition
+ * @generated
+ */
+ public Adapter createEscalationEventDefinitionAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.Event <em>Event</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.Event
+ * @generated
+ */
+ public Adapter createEventAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.EventBasedGateway <em>Event Based Gateway</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.EventBasedGateway
+ * @generated
+ */
+ public Adapter createEventBasedGatewayAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.EventDefinition <em>Event Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.EventDefinition
+ * @generated
+ */
+ public Adapter createEventDefinitionAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.ExclusiveGateway <em>Exclusive Gateway</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.ExclusiveGateway
+ * @generated
+ */
+ public Adapter createExclusiveGatewayAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.Expression <em>Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.Expression
+ * @generated
+ */
+ public Adapter createExpressionAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.Extension <em>Extension</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.Extension
+ * @generated
+ */
+ public Adapter createExtensionAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.ExtensionAttributeDefinition <em>Extension Attribute Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.ExtensionAttributeDefinition
+ * @generated
+ */
+ public Adapter createExtensionAttributeDefinitionAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.ExtensionAttributeValue <em>Extension Attribute Value</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.ExtensionAttributeValue
+ * @generated
+ */
+ public Adapter createExtensionAttributeValueAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.ExtensionDefinition <em>Extension Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.ExtensionDefinition
+ * @generated
+ */
+ public Adapter createExtensionDefinitionAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.FlowElement <em>Flow Element</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.FlowElement
+ * @generated
+ */
+ public Adapter createFlowElementAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.FlowElementsContainer <em>Flow Elements Container</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.FlowElementsContainer
+ * @generated
+ */
+ public Adapter createFlowElementsContainerAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.FlowNode <em>Flow Node</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.FlowNode
+ * @generated
+ */
+ public Adapter createFlowNodeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.FormalExpression <em>Formal Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.FormalExpression
+ * @generated
+ */
+ public Adapter createFormalExpressionAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.Gateway <em>Gateway</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.Gateway
+ * @generated
+ */
+ public Adapter createGatewayAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.GlobalBusinessRuleTask <em>Global Business Rule Task</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.GlobalBusinessRuleTask
+ * @generated
+ */
+ public Adapter createGlobalBusinessRuleTaskAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.GlobalChoreographyTask <em>Global Choreography Task</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.GlobalChoreographyTask
+ * @generated
+ */
+ public Adapter createGlobalChoreographyTaskAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.GlobalConversation <em>Global Conversation</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.GlobalConversation
+ * @generated
+ */
+ public Adapter createGlobalConversationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.GlobalManualTask <em>Global Manual Task</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.GlobalManualTask
+ * @generated
+ */
+ public Adapter createGlobalManualTaskAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.GlobalScriptTask <em>Global Script Task</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.GlobalScriptTask
+ * @generated
+ */
+ public Adapter createGlobalScriptTaskAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.GlobalTask <em>Global Task</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.GlobalTask
+ * @generated
+ */
+ public Adapter createGlobalTaskAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.GlobalUserTask <em>Global User Task</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.GlobalUserTask
+ * @generated
+ */
+ public Adapter createGlobalUserTaskAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.Group <em>Group</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.Group
+ * @generated
+ */
+ public Adapter createGroupAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.HumanPerformer <em>Human Performer</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.HumanPerformer
+ * @generated
+ */
+ public Adapter createHumanPerformerAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.ImplicitThrowEvent <em>Implicit Throw Event</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.ImplicitThrowEvent
+ * @generated
+ */
+ public Adapter createImplicitThrowEventAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.Import <em>Import</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.Import
+ * @generated
+ */
+ public Adapter createImportAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.InclusiveGateway <em>Inclusive Gateway</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.InclusiveGateway
+ * @generated
+ */
+ public Adapter createInclusiveGatewayAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.InputOutputBinding <em>Input Output Binding</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.InputOutputBinding
+ * @generated
+ */
+ public Adapter createInputOutputBindingAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.InputOutputSpecification <em>Input Output Specification</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.InputOutputSpecification
+ * @generated
+ */
+ public Adapter createInputOutputSpecificationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.InputSet <em>Input Set</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.InputSet
+ * @generated
+ */
+ public Adapter createInputSetAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.InteractionNode <em>Interaction Node</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.InteractionNode
+ * @generated
+ */
+ public Adapter createInteractionNodeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.Interface <em>Interface</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.Interface
+ * @generated
+ */
+ public Adapter createInterfaceAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.IntermediateCatchEvent <em>Intermediate Catch Event</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.IntermediateCatchEvent
+ * @generated
+ */
+ public Adapter createIntermediateCatchEventAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.IntermediateThrowEvent <em>Intermediate Throw Event</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.IntermediateThrowEvent
+ * @generated
+ */
+ public Adapter createIntermediateThrowEventAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.ItemAwareElement <em>Item Aware Element</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.ItemAwareElement
+ * @generated
+ */
+ public Adapter createItemAwareElementAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.ItemDefinition <em>Item Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.ItemDefinition
+ * @generated
+ */
+ public Adapter createItemDefinitionAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.Lane <em>Lane</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.Lane
+ * @generated
+ */
+ public Adapter createLaneAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.LaneSet <em>Lane Set</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.LaneSet
+ * @generated
+ */
+ public Adapter createLaneSetAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.LinkEventDefinition <em>Link Event Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.LinkEventDefinition
+ * @generated
+ */
+ public Adapter createLinkEventDefinitionAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.LoopCharacteristics <em>Loop Characteristics</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.LoopCharacteristics
+ * @generated
+ */
+ public Adapter createLoopCharacteristicsAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.ManualTask <em>Manual Task</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.ManualTask
+ * @generated
+ */
+ public Adapter createManualTaskAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.Message <em>Message</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.Message
+ * @generated
+ */
+ public Adapter createMessageAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.MessageEventDefinition <em>Message Event Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.MessageEventDefinition
+ * @generated
+ */
+ public Adapter createMessageEventDefinitionAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.MessageFlow <em>Message Flow</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.MessageFlow
+ * @generated
+ */
+ public Adapter createMessageFlowAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.MessageFlowAssociation <em>Message Flow Association</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.MessageFlowAssociation
+ * @generated
+ */
+ public Adapter createMessageFlowAssociationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.Monitoring <em>Monitoring</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.Monitoring
+ * @generated
+ */
+ public Adapter createMonitoringAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.MultiInstanceLoopCharacteristics <em>Multi Instance Loop Characteristics</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.MultiInstanceLoopCharacteristics
+ * @generated
+ */
+ public Adapter createMultiInstanceLoopCharacteristicsAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.Operation <em>Operation</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.Operation
+ * @generated
+ */
+ public Adapter createOperationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.OutputSet <em>Output Set</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.OutputSet
+ * @generated
+ */
+ public Adapter createOutputSetAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.ParallelGateway <em>Parallel Gateway</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.ParallelGateway
+ * @generated
+ */
+ public Adapter createParallelGatewayAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.Participant <em>Participant</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.Participant
+ * @generated
+ */
+ public Adapter createParticipantAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.ParticipantAssociation <em>Participant Association</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.ParticipantAssociation
+ * @generated
+ */
+ public Adapter createParticipantAssociationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.ParticipantMultiplicity <em>Participant Multiplicity</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.ParticipantMultiplicity
+ * @generated
+ */
+ public Adapter createParticipantMultiplicityAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.PartnerEntity <em>Partner Entity</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.PartnerEntity
+ * @generated
+ */
+ public Adapter createPartnerEntityAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.PartnerRole <em>Partner Role</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.PartnerRole
+ * @generated
+ */
+ public Adapter createPartnerRoleAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.Performer <em>Performer</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.Performer
+ * @generated
+ */
+ public Adapter createPerformerAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.PotentialOwner <em>Potential Owner</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.PotentialOwner
+ * @generated
+ */
+ public Adapter createPotentialOwnerAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.Process <em>Process</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.Process
+ * @generated
+ */
+ public Adapter createProcessAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.Property <em>Property</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.Property
+ * @generated
+ */
+ public Adapter createPropertyAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.ReceiveTask <em>Receive Task</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.ReceiveTask
+ * @generated
+ */
+ public Adapter createReceiveTaskAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.Relationship <em>Relationship</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.Relationship
+ * @generated
+ */
+ public Adapter createRelationshipAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.Rendering <em>Rendering</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.Rendering
+ * @generated
+ */
+ public Adapter createRenderingAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.Resource <em>Resource</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.Resource
+ * @generated
+ */
+ public Adapter createResourceAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.ResourceAssignmentExpression <em>Resource Assignment Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.ResourceAssignmentExpression
+ * @generated
+ */
+ public Adapter createResourceAssignmentExpressionAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.ResourceParameter <em>Resource Parameter</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.ResourceParameter
+ * @generated
+ */
+ public Adapter createResourceParameterAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.ResourceParameterBinding <em>Resource Parameter Binding</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.ResourceParameterBinding
+ * @generated
+ */
+ public Adapter createResourceParameterBindingAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.ResourceRole <em>Resource Role</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.ResourceRole
+ * @generated
+ */
+ public Adapter createResourceRoleAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.RootElement <em>Root Element</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.RootElement
+ * @generated
+ */
+ public Adapter createRootElementAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.ScriptTask <em>Script Task</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.ScriptTask
+ * @generated
+ */
+ public Adapter createScriptTaskAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.SendTask <em>Send Task</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.SendTask
+ * @generated
+ */
+ public Adapter createSendTaskAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.SequenceFlow <em>Sequence Flow</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.SequenceFlow
+ * @generated
+ */
+ public Adapter createSequenceFlowAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.ServiceTask <em>Service Task</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.ServiceTask
+ * @generated
+ */
+ public Adapter createServiceTaskAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.Signal <em>Signal</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.Signal
+ * @generated
+ */
+ public Adapter createSignalAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.SignalEventDefinition <em>Signal Event Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.SignalEventDefinition
+ * @generated
+ */
+ public Adapter createSignalEventDefinitionAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.StandardLoopCharacteristics <em>Standard Loop Characteristics</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.StandardLoopCharacteristics
+ * @generated
+ */
+ public Adapter createStandardLoopCharacteristicsAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.StartEvent <em>Start Event</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.StartEvent
+ * @generated
+ */
+ public Adapter createStartEventAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.SubChoreography <em>Sub Choreography</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.SubChoreography
+ * @generated
+ */
+ public Adapter createSubChoreographyAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.SubConversation <em>Sub Conversation</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.SubConversation
+ * @generated
+ */
+ public Adapter createSubConversationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.SubProcess <em>Sub Process</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.SubProcess
+ * @generated
+ */
+ public Adapter createSubProcessAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.Task <em>Task</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.Task
+ * @generated
+ */
+ public Adapter createTaskAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.TerminateEventDefinition <em>Terminate Event Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.TerminateEventDefinition
+ * @generated
+ */
+ public Adapter createTerminateEventDefinitionAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.TextAnnotation <em>Text Annotation</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.TextAnnotation
+ * @generated
+ */
+ public Adapter createTextAnnotationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.ThrowEvent <em>Throw Event</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.ThrowEvent
+ * @generated
+ */
+ public Adapter createThrowEventAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.TimerEventDefinition <em>Timer Event Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.TimerEventDefinition
+ * @generated
+ */
+ public Adapter createTimerEventDefinitionAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.Transaction <em>Transaction</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.Transaction
+ * @generated
+ */
+ public Adapter createTransactionAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.UserTask <em>User Task</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpmn2.UserTask
+ * @generated
+ */
+ public Adapter createUserTaskAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
+
+} //Bpmn2AdapterFactory
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/util/Bpmn2ResourceFactoryImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/util/Bpmn2ResourceFactoryImpl.java
new file mode 100644
index 000000000..b18eb23e2
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/util/Bpmn2ResourceFactoryImpl.java
@@ -0,0 +1,70 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.util;
+
+import org.eclipse.emf.common.util.URI;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
+
+import org.eclipse.emf.ecore.xmi.XMLResource;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Resource Factory</b> associated with the package.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.util.Bpmn2ResourceImpl
+ * @generated
+ */
+public class Bpmn2ResourceFactoryImpl extends ResourceFactoryImpl {
+ /**
+ * Creates an instance of the resource factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Bpmn2ResourceFactoryImpl() {
+ super();
+ }
+
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Resource createResource(URI uri) {
+ XMLResource result = new Bpmn2ResourceImpl(uri);
+ result.getDefaultSaveOptions().put(
+ XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
+ result.getDefaultLoadOptions().put(
+ XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
+
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION,
+ Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(
+ XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
+ result.getDefaultSaveOptions().put(
+ XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(
+ XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
+ return result;
+ }
+
+} //Bpmn2ResourceFactoryImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/util/Bpmn2ResourceImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/util/Bpmn2ResourceImpl.java
new file mode 100644
index 000000000..3504ebf8b
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/util/Bpmn2ResourceImpl.java
@@ -0,0 +1,40 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.util;
+
+import org.eclipse.emf.common.util.URI;
+
+import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Resource </b> associated with the package.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.util.Bpmn2ResourceFactoryImpl
+ * @generated
+ */
+public class Bpmn2ResourceImpl extends XMLResourceImpl {
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param uri the URI of the new resource.
+ * @generated
+ */
+ public Bpmn2ResourceImpl(URI uri) {
+ super(uri);
+ }
+
+} //Bpmn2ResourceImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/util/Bpmn2Switch.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/util/Bpmn2Switch.java
new file mode 100644
index 000000000..464736fae
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/util/Bpmn2Switch.java
@@ -0,0 +1,3999 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.util;
+
+import java.util.List;
+
+import org.eclipse.bpmn2.Activity;
+import org.eclipse.bpmn2.AdHocSubProcess;
+import org.eclipse.bpmn2.Artifact;
+import org.eclipse.bpmn2.Assignment;
+import org.eclipse.bpmn2.Association;
+import org.eclipse.bpmn2.Auditing;
+import org.eclipse.bpmn2.BaseElement;
+import org.eclipse.bpmn2.BoundaryEvent;
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.BusinessRuleTask;
+import org.eclipse.bpmn2.CallActivity;
+import org.eclipse.bpmn2.CallChoreography;
+import org.eclipse.bpmn2.CallConversation;
+import org.eclipse.bpmn2.CallableElement;
+import org.eclipse.bpmn2.CancelEventDefinition;
+import org.eclipse.bpmn2.CatchEvent;
+import org.eclipse.bpmn2.Category;
+import org.eclipse.bpmn2.CategoryValue;
+import org.eclipse.bpmn2.Choreography;
+import org.eclipse.bpmn2.ChoreographyActivity;
+import org.eclipse.bpmn2.ChoreographyTask;
+import org.eclipse.bpmn2.Collaboration;
+import org.eclipse.bpmn2.CompensateEventDefinition;
+import org.eclipse.bpmn2.ComplexBehaviorDefinition;
+import org.eclipse.bpmn2.ComplexGateway;
+import org.eclipse.bpmn2.ConditionalEventDefinition;
+import org.eclipse.bpmn2.Conversation;
+import org.eclipse.bpmn2.ConversationAssociation;
+import org.eclipse.bpmn2.ConversationLink;
+import org.eclipse.bpmn2.ConversationNode;
+import org.eclipse.bpmn2.CorrelationKey;
+import org.eclipse.bpmn2.CorrelationProperty;
+import org.eclipse.bpmn2.CorrelationPropertyBinding;
+import org.eclipse.bpmn2.CorrelationPropertyRetrievalExpression;
+import org.eclipse.bpmn2.CorrelationSubscription;
+import org.eclipse.bpmn2.DataAssociation;
+import org.eclipse.bpmn2.DataInput;
+import org.eclipse.bpmn2.DataInputAssociation;
+import org.eclipse.bpmn2.DataObject;
+import org.eclipse.bpmn2.DataObjectReference;
+import org.eclipse.bpmn2.DataOutput;
+import org.eclipse.bpmn2.DataOutputAssociation;
+import org.eclipse.bpmn2.DataState;
+import org.eclipse.bpmn2.DataStore;
+import org.eclipse.bpmn2.DataStoreReference;
+import org.eclipse.bpmn2.Definitions;
+import org.eclipse.bpmn2.DocumentRoot;
+import org.eclipse.bpmn2.Documentation;
+import org.eclipse.bpmn2.EndEvent;
+import org.eclipse.bpmn2.EndPoint;
+import org.eclipse.bpmn2.ErrorEventDefinition;
+import org.eclipse.bpmn2.Escalation;
+import org.eclipse.bpmn2.EscalationEventDefinition;
+import org.eclipse.bpmn2.Event;
+import org.eclipse.bpmn2.EventBasedGateway;
+import org.eclipse.bpmn2.EventDefinition;
+import org.eclipse.bpmn2.ExclusiveGateway;
+import org.eclipse.bpmn2.Expression;
+import org.eclipse.bpmn2.Extension;
+import org.eclipse.bpmn2.ExtensionAttributeDefinition;
+import org.eclipse.bpmn2.ExtensionAttributeValue;
+import org.eclipse.bpmn2.ExtensionDefinition;
+import org.eclipse.bpmn2.FlowElement;
+import org.eclipse.bpmn2.FlowElementsContainer;
+import org.eclipse.bpmn2.FlowNode;
+import org.eclipse.bpmn2.FormalExpression;
+import org.eclipse.bpmn2.Gateway;
+import org.eclipse.bpmn2.GlobalBusinessRuleTask;
+import org.eclipse.bpmn2.GlobalChoreographyTask;
+import org.eclipse.bpmn2.GlobalConversation;
+import org.eclipse.bpmn2.GlobalManualTask;
+import org.eclipse.bpmn2.GlobalScriptTask;
+import org.eclipse.bpmn2.GlobalTask;
+import org.eclipse.bpmn2.GlobalUserTask;
+import org.eclipse.bpmn2.Group;
+import org.eclipse.bpmn2.HumanPerformer;
+import org.eclipse.bpmn2.ImplicitThrowEvent;
+import org.eclipse.bpmn2.Import;
+import org.eclipse.bpmn2.InclusiveGateway;
+import org.eclipse.bpmn2.InputOutputBinding;
+import org.eclipse.bpmn2.InputOutputSpecification;
+import org.eclipse.bpmn2.InputSet;
+import org.eclipse.bpmn2.InteractionNode;
+import org.eclipse.bpmn2.Interface;
+import org.eclipse.bpmn2.IntermediateCatchEvent;
+import org.eclipse.bpmn2.IntermediateThrowEvent;
+import org.eclipse.bpmn2.ItemAwareElement;
+import org.eclipse.bpmn2.ItemDefinition;
+import org.eclipse.bpmn2.Lane;
+import org.eclipse.bpmn2.LaneSet;
+import org.eclipse.bpmn2.LinkEventDefinition;
+import org.eclipse.bpmn2.LoopCharacteristics;
+import org.eclipse.bpmn2.ManualTask;
+import org.eclipse.bpmn2.Message;
+import org.eclipse.bpmn2.MessageEventDefinition;
+import org.eclipse.bpmn2.MessageFlow;
+import org.eclipse.bpmn2.MessageFlowAssociation;
+import org.eclipse.bpmn2.Monitoring;
+import org.eclipse.bpmn2.MultiInstanceLoopCharacteristics;
+import org.eclipse.bpmn2.Operation;
+import org.eclipse.bpmn2.OutputSet;
+import org.eclipse.bpmn2.ParallelGateway;
+import org.eclipse.bpmn2.Participant;
+import org.eclipse.bpmn2.ParticipantAssociation;
+import org.eclipse.bpmn2.ParticipantMultiplicity;
+import org.eclipse.bpmn2.PartnerEntity;
+import org.eclipse.bpmn2.PartnerRole;
+import org.eclipse.bpmn2.Performer;
+import org.eclipse.bpmn2.PotentialOwner;
+import org.eclipse.bpmn2.Property;
+import org.eclipse.bpmn2.ReceiveTask;
+import org.eclipse.bpmn2.Relationship;
+import org.eclipse.bpmn2.Rendering;
+import org.eclipse.bpmn2.Resource;
+import org.eclipse.bpmn2.ResourceAssignmentExpression;
+import org.eclipse.bpmn2.ResourceParameter;
+import org.eclipse.bpmn2.ResourceParameterBinding;
+import org.eclipse.bpmn2.ResourceRole;
+import org.eclipse.bpmn2.RootElement;
+import org.eclipse.bpmn2.ScriptTask;
+import org.eclipse.bpmn2.SendTask;
+import org.eclipse.bpmn2.SequenceFlow;
+import org.eclipse.bpmn2.ServiceTask;
+import org.eclipse.bpmn2.Signal;
+import org.eclipse.bpmn2.SignalEventDefinition;
+import org.eclipse.bpmn2.StandardLoopCharacteristics;
+import org.eclipse.bpmn2.StartEvent;
+import org.eclipse.bpmn2.SubChoreography;
+import org.eclipse.bpmn2.SubConversation;
+import org.eclipse.bpmn2.SubProcess;
+import org.eclipse.bpmn2.Task;
+import org.eclipse.bpmn2.TerminateEventDefinition;
+import org.eclipse.bpmn2.TextAnnotation;
+import org.eclipse.bpmn2.ThrowEvent;
+import org.eclipse.bpmn2.TimerEventDefinition;
+import org.eclipse.bpmn2.Transaction;
+import org.eclipse.bpmn2.UserTask;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Switch</b> for the model's inheritance hierarchy.
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
+ * to invoke the <code>caseXXX</code> method for each class of the model,
+ * starting with the actual class of the object
+ * and proceeding up the inheritance hierarchy
+ * until a non-null result is returned,
+ * which is the result of the switch.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpmn2.Bpmn2Package
+ * @generated
+ */
+public class Bpmn2Switch<T> {
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static Bpmn2Package modelPackage;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Bpmn2Switch() {
+ if (modelPackage == null) {
+ modelPackage = Bpmn2Package.eINSTANCE;
+ }
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ public T doSwitch(EObject theEObject) {
+ return doSwitch(theEObject.eClass(), theEObject);
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ protected T doSwitch(EClass theEClass, EObject theEObject) {
+ if (theEClass.eContainer() == modelPackage) {
+ return doSwitch(theEClass.getClassifierID(), theEObject);
+ } else {
+ List<EClass> eSuperTypes = theEClass.getESuperTypes();
+ return eSuperTypes.isEmpty() ? defaultCase(theEObject) : doSwitch(
+ eSuperTypes.get(0), theEObject);
+ }
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ protected T doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID) {
+ case Bpmn2Package.DOCUMENT_ROOT: {
+ DocumentRoot documentRoot = (DocumentRoot) theEObject;
+ T result = caseDocumentRoot(documentRoot);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.ACTIVITY: {
+ Activity activity = (Activity) theEObject;
+ T result = caseActivity(activity);
+ if (result == null)
+ result = caseFlowNode(activity);
+ if (result == null)
+ result = caseFlowElement(activity);
+ if (result == null)
+ result = caseBaseElement(activity);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.AD_HOC_SUB_PROCESS: {
+ AdHocSubProcess adHocSubProcess = (AdHocSubProcess) theEObject;
+ T result = caseAdHocSubProcess(adHocSubProcess);
+ if (result == null)
+ result = caseSubProcess(adHocSubProcess);
+ if (result == null)
+ result = caseActivity(adHocSubProcess);
+ if (result == null)
+ result = caseFlowElementsContainer(adHocSubProcess);
+ if (result == null)
+ result = caseFlowNode(adHocSubProcess);
+ if (result == null)
+ result = caseFlowElement(adHocSubProcess);
+ if (result == null)
+ result = caseBaseElement(adHocSubProcess);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.ARTIFACT: {
+ Artifact artifact = (Artifact) theEObject;
+ T result = caseArtifact(artifact);
+ if (result == null)
+ result = caseBaseElement(artifact);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.ASSIGNMENT: {
+ Assignment assignment = (Assignment) theEObject;
+ T result = caseAssignment(assignment);
+ if (result == null)
+ result = caseBaseElement(assignment);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.ASSOCIATION: {
+ Association association = (Association) theEObject;
+ T result = caseAssociation(association);
+ if (result == null)
+ result = caseArtifact(association);
+ if (result == null)
+ result = caseBaseElement(association);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.AUDITING: {
+ Auditing auditing = (Auditing) theEObject;
+ T result = caseAuditing(auditing);
+ if (result == null)
+ result = caseBaseElement(auditing);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.BASE_ELEMENT: {
+ BaseElement baseElement = (BaseElement) theEObject;
+ T result = caseBaseElement(baseElement);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.BOUNDARY_EVENT: {
+ BoundaryEvent boundaryEvent = (BoundaryEvent) theEObject;
+ T result = caseBoundaryEvent(boundaryEvent);
+ if (result == null)
+ result = caseCatchEvent(boundaryEvent);
+ if (result == null)
+ result = caseEvent(boundaryEvent);
+ if (result == null)
+ result = caseFlowNode(boundaryEvent);
+ if (result == null)
+ result = caseInteractionNode(boundaryEvent);
+ if (result == null)
+ result = caseFlowElement(boundaryEvent);
+ if (result == null)
+ result = caseBaseElement(boundaryEvent);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.BUSINESS_RULE_TASK: {
+ BusinessRuleTask businessRuleTask = (BusinessRuleTask) theEObject;
+ T result = caseBusinessRuleTask(businessRuleTask);
+ if (result == null)
+ result = caseTask(businessRuleTask);
+ if (result == null)
+ result = caseActivity(businessRuleTask);
+ if (result == null)
+ result = caseInteractionNode(businessRuleTask);
+ if (result == null)
+ result = caseFlowNode(businessRuleTask);
+ if (result == null)
+ result = caseFlowElement(businessRuleTask);
+ if (result == null)
+ result = caseBaseElement(businessRuleTask);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.CALL_ACTIVITY: {
+ CallActivity callActivity = (CallActivity) theEObject;
+ T result = caseCallActivity(callActivity);
+ if (result == null)
+ result = caseActivity(callActivity);
+ if (result == null)
+ result = caseFlowNode(callActivity);
+ if (result == null)
+ result = caseFlowElement(callActivity);
+ if (result == null)
+ result = caseBaseElement(callActivity);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.CALL_CHOREOGRAPHY: {
+ CallChoreography callChoreography = (CallChoreography) theEObject;
+ T result = caseCallChoreography(callChoreography);
+ if (result == null)
+ result = caseChoreographyActivity(callChoreography);
+ if (result == null)
+ result = caseFlowNode(callChoreography);
+ if (result == null)
+ result = caseFlowElement(callChoreography);
+ if (result == null)
+ result = caseBaseElement(callChoreography);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.CALL_CONVERSATION: {
+ CallConversation callConversation = (CallConversation) theEObject;
+ T result = caseCallConversation(callConversation);
+ if (result == null)
+ result = caseConversationNode(callConversation);
+ if (result == null)
+ result = caseBaseElement(callConversation);
+ if (result == null)
+ result = caseInteractionNode(callConversation);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.CALLABLE_ELEMENT: {
+ CallableElement callableElement = (CallableElement) theEObject;
+ T result = caseCallableElement(callableElement);
+ if (result == null)
+ result = caseRootElement(callableElement);
+ if (result == null)
+ result = caseBaseElement(callableElement);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.CANCEL_EVENT_DEFINITION: {
+ CancelEventDefinition cancelEventDefinition = (CancelEventDefinition) theEObject;
+ T result = caseCancelEventDefinition(cancelEventDefinition);
+ if (result == null)
+ result = caseEventDefinition(cancelEventDefinition);
+ if (result == null)
+ result = caseRootElement(cancelEventDefinition);
+ if (result == null)
+ result = caseBaseElement(cancelEventDefinition);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.CATCH_EVENT: {
+ CatchEvent catchEvent = (CatchEvent) theEObject;
+ T result = caseCatchEvent(catchEvent);
+ if (result == null)
+ result = caseEvent(catchEvent);
+ if (result == null)
+ result = caseFlowNode(catchEvent);
+ if (result == null)
+ result = caseInteractionNode(catchEvent);
+ if (result == null)
+ result = caseFlowElement(catchEvent);
+ if (result == null)
+ result = caseBaseElement(catchEvent);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.CATEGORY: {
+ Category category = (Category) theEObject;
+ T result = caseCategory(category);
+ if (result == null)
+ result = caseRootElement(category);
+ if (result == null)
+ result = caseBaseElement(category);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.CATEGORY_VALUE: {
+ CategoryValue categoryValue = (CategoryValue) theEObject;
+ T result = caseCategoryValue(categoryValue);
+ if (result == null)
+ result = caseBaseElement(categoryValue);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.CHOREOGRAPHY: {
+ Choreography choreography = (Choreography) theEObject;
+ T result = caseChoreography(choreography);
+ if (result == null)
+ result = caseCollaboration(choreography);
+ if (result == null)
+ result = caseFlowElementsContainer(choreography);
+ if (result == null)
+ result = caseRootElement(choreography);
+ if (result == null)
+ result = caseBaseElement(choreography);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.CHOREOGRAPHY_ACTIVITY: {
+ ChoreographyActivity choreographyActivity = (ChoreographyActivity) theEObject;
+ T result = caseChoreographyActivity(choreographyActivity);
+ if (result == null)
+ result = caseFlowNode(choreographyActivity);
+ if (result == null)
+ result = caseFlowElement(choreographyActivity);
+ if (result == null)
+ result = caseBaseElement(choreographyActivity);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.CHOREOGRAPHY_TASK: {
+ ChoreographyTask choreographyTask = (ChoreographyTask) theEObject;
+ T result = caseChoreographyTask(choreographyTask);
+ if (result == null)
+ result = caseChoreographyActivity(choreographyTask);
+ if (result == null)
+ result = caseFlowNode(choreographyTask);
+ if (result == null)
+ result = caseFlowElement(choreographyTask);
+ if (result == null)
+ result = caseBaseElement(choreographyTask);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.COLLABORATION: {
+ Collaboration collaboration = (Collaboration) theEObject;
+ T result = caseCollaboration(collaboration);
+ if (result == null)
+ result = caseRootElement(collaboration);
+ if (result == null)
+ result = caseBaseElement(collaboration);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.COMPENSATE_EVENT_DEFINITION: {
+ CompensateEventDefinition compensateEventDefinition = (CompensateEventDefinition) theEObject;
+ T result = caseCompensateEventDefinition(compensateEventDefinition);
+ if (result == null)
+ result = caseEventDefinition(compensateEventDefinition);
+ if (result == null)
+ result = caseRootElement(compensateEventDefinition);
+ if (result == null)
+ result = caseBaseElement(compensateEventDefinition);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.COMPLEX_BEHAVIOR_DEFINITION: {
+ ComplexBehaviorDefinition complexBehaviorDefinition = (ComplexBehaviorDefinition) theEObject;
+ T result = caseComplexBehaviorDefinition(complexBehaviorDefinition);
+ if (result == null)
+ result = caseBaseElement(complexBehaviorDefinition);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.COMPLEX_GATEWAY: {
+ ComplexGateway complexGateway = (ComplexGateway) theEObject;
+ T result = caseComplexGateway(complexGateway);
+ if (result == null)
+ result = caseGateway(complexGateway);
+ if (result == null)
+ result = caseFlowNode(complexGateway);
+ if (result == null)
+ result = caseFlowElement(complexGateway);
+ if (result == null)
+ result = caseBaseElement(complexGateway);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.CONDITIONAL_EVENT_DEFINITION: {
+ ConditionalEventDefinition conditionalEventDefinition = (ConditionalEventDefinition) theEObject;
+ T result = caseConditionalEventDefinition(conditionalEventDefinition);
+ if (result == null)
+ result = caseEventDefinition(conditionalEventDefinition);
+ if (result == null)
+ result = caseRootElement(conditionalEventDefinition);
+ if (result == null)
+ result = caseBaseElement(conditionalEventDefinition);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.CONVERSATION: {
+ Conversation conversation = (Conversation) theEObject;
+ T result = caseConversation(conversation);
+ if (result == null)
+ result = caseConversationNode(conversation);
+ if (result == null)
+ result = caseBaseElement(conversation);
+ if (result == null)
+ result = caseInteractionNode(conversation);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.CONVERSATION_ASSOCIATION: {
+ ConversationAssociation conversationAssociation = (ConversationAssociation) theEObject;
+ T result = caseConversationAssociation(conversationAssociation);
+ if (result == null)
+ result = caseBaseElement(conversationAssociation);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.CONVERSATION_LINK: {
+ ConversationLink conversationLink = (ConversationLink) theEObject;
+ T result = caseConversationLink(conversationLink);
+ if (result == null)
+ result = caseBaseElement(conversationLink);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.CONVERSATION_NODE: {
+ ConversationNode conversationNode = (ConversationNode) theEObject;
+ T result = caseConversationNode(conversationNode);
+ if (result == null)
+ result = caseBaseElement(conversationNode);
+ if (result == null)
+ result = caseInteractionNode(conversationNode);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.CORRELATION_KEY: {
+ CorrelationKey correlationKey = (CorrelationKey) theEObject;
+ T result = caseCorrelationKey(correlationKey);
+ if (result == null)
+ result = caseBaseElement(correlationKey);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.CORRELATION_PROPERTY: {
+ CorrelationProperty correlationProperty = (CorrelationProperty) theEObject;
+ T result = caseCorrelationProperty(correlationProperty);
+ if (result == null)
+ result = caseRootElement(correlationProperty);
+ if (result == null)
+ result = caseBaseElement(correlationProperty);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.CORRELATION_PROPERTY_BINDING: {
+ CorrelationPropertyBinding correlationPropertyBinding = (CorrelationPropertyBinding) theEObject;
+ T result = caseCorrelationPropertyBinding(correlationPropertyBinding);
+ if (result == null)
+ result = caseBaseElement(correlationPropertyBinding);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION: {
+ CorrelationPropertyRetrievalExpression correlationPropertyRetrievalExpression = (CorrelationPropertyRetrievalExpression) theEObject;
+ T result = caseCorrelationPropertyRetrievalExpression(correlationPropertyRetrievalExpression);
+ if (result == null)
+ result = caseBaseElement(correlationPropertyRetrievalExpression);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.CORRELATION_SUBSCRIPTION: {
+ CorrelationSubscription correlationSubscription = (CorrelationSubscription) theEObject;
+ T result = caseCorrelationSubscription(correlationSubscription);
+ if (result == null)
+ result = caseBaseElement(correlationSubscription);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.DATA_ASSOCIATION: {
+ DataAssociation dataAssociation = (DataAssociation) theEObject;
+ T result = caseDataAssociation(dataAssociation);
+ if (result == null)
+ result = caseBaseElement(dataAssociation);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.DATA_INPUT: {
+ DataInput dataInput = (DataInput) theEObject;
+ T result = caseDataInput(dataInput);
+ if (result == null)
+ result = caseItemAwareElement(dataInput);
+ if (result == null)
+ result = caseBaseElement(dataInput);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.DATA_INPUT_ASSOCIATION: {
+ DataInputAssociation dataInputAssociation = (DataInputAssociation) theEObject;
+ T result = caseDataInputAssociation(dataInputAssociation);
+ if (result == null)
+ result = caseDataAssociation(dataInputAssociation);
+ if (result == null)
+ result = caseBaseElement(dataInputAssociation);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.DATA_OBJECT: {
+ DataObject dataObject = (DataObject) theEObject;
+ T result = caseDataObject(dataObject);
+ if (result == null)
+ result = caseFlowElement(dataObject);
+ if (result == null)
+ result = caseItemAwareElement(dataObject);
+ if (result == null)
+ result = caseBaseElement(dataObject);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.DATA_OBJECT_REFERENCE: {
+ DataObjectReference dataObjectReference = (DataObjectReference) theEObject;
+ T result = caseDataObjectReference(dataObjectReference);
+ if (result == null)
+ result = caseFlowElement(dataObjectReference);
+ if (result == null)
+ result = caseItemAwareElement(dataObjectReference);
+ if (result == null)
+ result = caseBaseElement(dataObjectReference);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.DATA_OUTPUT: {
+ DataOutput dataOutput = (DataOutput) theEObject;
+ T result = caseDataOutput(dataOutput);
+ if (result == null)
+ result = caseItemAwareElement(dataOutput);
+ if (result == null)
+ result = caseBaseElement(dataOutput);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.DATA_OUTPUT_ASSOCIATION: {
+ DataOutputAssociation dataOutputAssociation = (DataOutputAssociation) theEObject;
+ T result = caseDataOutputAssociation(dataOutputAssociation);
+ if (result == null)
+ result = caseDataAssociation(dataOutputAssociation);
+ if (result == null)
+ result = caseBaseElement(dataOutputAssociation);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.DATA_STATE: {
+ DataState dataState = (DataState) theEObject;
+ T result = caseDataState(dataState);
+ if (result == null)
+ result = caseBaseElement(dataState);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.DATA_STORE: {
+ DataStore dataStore = (DataStore) theEObject;
+ T result = caseDataStore(dataStore);
+ if (result == null)
+ result = caseItemAwareElement(dataStore);
+ if (result == null)
+ result = caseRootElement(dataStore);
+ if (result == null)
+ result = caseBaseElement(dataStore);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.DATA_STORE_REFERENCE: {
+ DataStoreReference dataStoreReference = (DataStoreReference) theEObject;
+ T result = caseDataStoreReference(dataStoreReference);
+ if (result == null)
+ result = caseFlowElement(dataStoreReference);
+ if (result == null)
+ result = caseItemAwareElement(dataStoreReference);
+ if (result == null)
+ result = caseBaseElement(dataStoreReference);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.DEFINITIONS: {
+ Definitions definitions = (Definitions) theEObject;
+ T result = caseDefinitions(definitions);
+ if (result == null)
+ result = caseBaseElement(definitions);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.DOCUMENTATION: {
+ Documentation documentation = (Documentation) theEObject;
+ T result = caseDocumentation(documentation);
+ if (result == null)
+ result = caseBaseElement(documentation);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.END_EVENT: {
+ EndEvent endEvent = (EndEvent) theEObject;
+ T result = caseEndEvent(endEvent);
+ if (result == null)
+ result = caseThrowEvent(endEvent);
+ if (result == null)
+ result = caseEvent(endEvent);
+ if (result == null)
+ result = caseFlowNode(endEvent);
+ if (result == null)
+ result = caseInteractionNode(endEvent);
+ if (result == null)
+ result = caseFlowElement(endEvent);
+ if (result == null)
+ result = caseBaseElement(endEvent);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.END_POINT: {
+ EndPoint endPoint = (EndPoint) theEObject;
+ T result = caseEndPoint(endPoint);
+ if (result == null)
+ result = caseRootElement(endPoint);
+ if (result == null)
+ result = caseBaseElement(endPoint);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.ERROR: {
+ org.eclipse.bpmn2.Error error = (org.eclipse.bpmn2.Error) theEObject;
+ T result = caseError(error);
+ if (result == null)
+ result = caseRootElement(error);
+ if (result == null)
+ result = caseBaseElement(error);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.ERROR_EVENT_DEFINITION: {
+ ErrorEventDefinition errorEventDefinition = (ErrorEventDefinition) theEObject;
+ T result = caseErrorEventDefinition(errorEventDefinition);
+ if (result == null)
+ result = caseEventDefinition(errorEventDefinition);
+ if (result == null)
+ result = caseRootElement(errorEventDefinition);
+ if (result == null)
+ result = caseBaseElement(errorEventDefinition);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.ESCALATION: {
+ Escalation escalation = (Escalation) theEObject;
+ T result = caseEscalation(escalation);
+ if (result == null)
+ result = caseRootElement(escalation);
+ if (result == null)
+ result = caseBaseElement(escalation);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.ESCALATION_EVENT_DEFINITION: {
+ EscalationEventDefinition escalationEventDefinition = (EscalationEventDefinition) theEObject;
+ T result = caseEscalationEventDefinition(escalationEventDefinition);
+ if (result == null)
+ result = caseEventDefinition(escalationEventDefinition);
+ if (result == null)
+ result = caseRootElement(escalationEventDefinition);
+ if (result == null)
+ result = caseBaseElement(escalationEventDefinition);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.EVENT: {
+ Event event = (Event) theEObject;
+ T result = caseEvent(event);
+ if (result == null)
+ result = caseFlowNode(event);
+ if (result == null)
+ result = caseInteractionNode(event);
+ if (result == null)
+ result = caseFlowElement(event);
+ if (result == null)
+ result = caseBaseElement(event);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.EVENT_BASED_GATEWAY: {
+ EventBasedGateway eventBasedGateway = (EventBasedGateway) theEObject;
+ T result = caseEventBasedGateway(eventBasedGateway);
+ if (result == null)
+ result = caseGateway(eventBasedGateway);
+ if (result == null)
+ result = caseFlowNode(eventBasedGateway);
+ if (result == null)
+ result = caseFlowElement(eventBasedGateway);
+ if (result == null)
+ result = caseBaseElement(eventBasedGateway);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.EVENT_DEFINITION: {
+ EventDefinition eventDefinition = (EventDefinition) theEObject;
+ T result = caseEventDefinition(eventDefinition);
+ if (result == null)
+ result = caseRootElement(eventDefinition);
+ if (result == null)
+ result = caseBaseElement(eventDefinition);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.EXCLUSIVE_GATEWAY: {
+ ExclusiveGateway exclusiveGateway = (ExclusiveGateway) theEObject;
+ T result = caseExclusiveGateway(exclusiveGateway);
+ if (result == null)
+ result = caseGateway(exclusiveGateway);
+ if (result == null)
+ result = caseFlowNode(exclusiveGateway);
+ if (result == null)
+ result = caseFlowElement(exclusiveGateway);
+ if (result == null)
+ result = caseBaseElement(exclusiveGateway);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.EXPRESSION: {
+ Expression expression = (Expression) theEObject;
+ T result = caseExpression(expression);
+ if (result == null)
+ result = caseBaseElement(expression);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.EXTENSION: {
+ Extension extension = (Extension) theEObject;
+ T result = caseExtension(extension);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.EXTENSION_ATTRIBUTE_DEFINITION: {
+ ExtensionAttributeDefinition extensionAttributeDefinition = (ExtensionAttributeDefinition) theEObject;
+ T result = caseExtensionAttributeDefinition(extensionAttributeDefinition);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.EXTENSION_ATTRIBUTE_VALUE: {
+ ExtensionAttributeValue extensionAttributeValue = (ExtensionAttributeValue) theEObject;
+ T result = caseExtensionAttributeValue(extensionAttributeValue);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.EXTENSION_DEFINITION: {
+ ExtensionDefinition extensionDefinition = (ExtensionDefinition) theEObject;
+ T result = caseExtensionDefinition(extensionDefinition);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.FLOW_ELEMENT: {
+ FlowElement flowElement = (FlowElement) theEObject;
+ T result = caseFlowElement(flowElement);
+ if (result == null)
+ result = caseBaseElement(flowElement);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.FLOW_ELEMENTS_CONTAINER: {
+ FlowElementsContainer flowElementsContainer = (FlowElementsContainer) theEObject;
+ T result = caseFlowElementsContainer(flowElementsContainer);
+ if (result == null)
+ result = caseBaseElement(flowElementsContainer);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.FLOW_NODE: {
+ FlowNode flowNode = (FlowNode) theEObject;
+ T result = caseFlowNode(flowNode);
+ if (result == null)
+ result = caseFlowElement(flowNode);
+ if (result == null)
+ result = caseBaseElement(flowNode);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.FORMAL_EXPRESSION: {
+ FormalExpression formalExpression = (FormalExpression) theEObject;
+ T result = caseFormalExpression(formalExpression);
+ if (result == null)
+ result = caseExpression(formalExpression);
+ if (result == null)
+ result = caseBaseElement(formalExpression);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.GATEWAY: {
+ Gateway gateway = (Gateway) theEObject;
+ T result = caseGateway(gateway);
+ if (result == null)
+ result = caseFlowNode(gateway);
+ if (result == null)
+ result = caseFlowElement(gateway);
+ if (result == null)
+ result = caseBaseElement(gateway);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.GLOBAL_BUSINESS_RULE_TASK: {
+ GlobalBusinessRuleTask globalBusinessRuleTask = (GlobalBusinessRuleTask) theEObject;
+ T result = caseGlobalBusinessRuleTask(globalBusinessRuleTask);
+ if (result == null)
+ result = caseGlobalTask(globalBusinessRuleTask);
+ if (result == null)
+ result = caseCallableElement(globalBusinessRuleTask);
+ if (result == null)
+ result = caseRootElement(globalBusinessRuleTask);
+ if (result == null)
+ result = caseBaseElement(globalBusinessRuleTask);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.GLOBAL_CHOREOGRAPHY_TASK: {
+ GlobalChoreographyTask globalChoreographyTask = (GlobalChoreographyTask) theEObject;
+ T result = caseGlobalChoreographyTask(globalChoreographyTask);
+ if (result == null)
+ result = caseChoreography(globalChoreographyTask);
+ if (result == null)
+ result = caseCollaboration(globalChoreographyTask);
+ if (result == null)
+ result = caseFlowElementsContainer(globalChoreographyTask);
+ if (result == null)
+ result = caseRootElement(globalChoreographyTask);
+ if (result == null)
+ result = caseBaseElement(globalChoreographyTask);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.GLOBAL_CONVERSATION: {
+ GlobalConversation globalConversation = (GlobalConversation) theEObject;
+ T result = caseGlobalConversation(globalConversation);
+ if (result == null)
+ result = caseCollaboration(globalConversation);
+ if (result == null)
+ result = caseRootElement(globalConversation);
+ if (result == null)
+ result = caseBaseElement(globalConversation);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.GLOBAL_MANUAL_TASK: {
+ GlobalManualTask globalManualTask = (GlobalManualTask) theEObject;
+ T result = caseGlobalManualTask(globalManualTask);
+ if (result == null)
+ result = caseGlobalTask(globalManualTask);
+ if (result == null)
+ result = caseCallableElement(globalManualTask);
+ if (result == null)
+ result = caseRootElement(globalManualTask);
+ if (result == null)
+ result = caseBaseElement(globalManualTask);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.GLOBAL_SCRIPT_TASK: {
+ GlobalScriptTask globalScriptTask = (GlobalScriptTask) theEObject;
+ T result = caseGlobalScriptTask(globalScriptTask);
+ if (result == null)
+ result = caseGlobalTask(globalScriptTask);
+ if (result == null)
+ result = caseCallableElement(globalScriptTask);
+ if (result == null)
+ result = caseRootElement(globalScriptTask);
+ if (result == null)
+ result = caseBaseElement(globalScriptTask);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.GLOBAL_TASK: {
+ GlobalTask globalTask = (GlobalTask) theEObject;
+ T result = caseGlobalTask(globalTask);
+ if (result == null)
+ result = caseCallableElement(globalTask);
+ if (result == null)
+ result = caseRootElement(globalTask);
+ if (result == null)
+ result = caseBaseElement(globalTask);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.GLOBAL_USER_TASK: {
+ GlobalUserTask globalUserTask = (GlobalUserTask) theEObject;
+ T result = caseGlobalUserTask(globalUserTask);
+ if (result == null)
+ result = caseGlobalTask(globalUserTask);
+ if (result == null)
+ result = caseCallableElement(globalUserTask);
+ if (result == null)
+ result = caseRootElement(globalUserTask);
+ if (result == null)
+ result = caseBaseElement(globalUserTask);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.GROUP: {
+ Group group = (Group) theEObject;
+ T result = caseGroup(group);
+ if (result == null)
+ result = caseArtifact(group);
+ if (result == null)
+ result = caseBaseElement(group);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.HUMAN_PERFORMER: {
+ HumanPerformer humanPerformer = (HumanPerformer) theEObject;
+ T result = caseHumanPerformer(humanPerformer);
+ if (result == null)
+ result = casePerformer(humanPerformer);
+ if (result == null)
+ result = caseResourceRole(humanPerformer);
+ if (result == null)
+ result = caseBaseElement(humanPerformer);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.IMPLICIT_THROW_EVENT: {
+ ImplicitThrowEvent implicitThrowEvent = (ImplicitThrowEvent) theEObject;
+ T result = caseImplicitThrowEvent(implicitThrowEvent);
+ if (result == null)
+ result = caseThrowEvent(implicitThrowEvent);
+ if (result == null)
+ result = caseEvent(implicitThrowEvent);
+ if (result == null)
+ result = caseFlowNode(implicitThrowEvent);
+ if (result == null)
+ result = caseInteractionNode(implicitThrowEvent);
+ if (result == null)
+ result = caseFlowElement(implicitThrowEvent);
+ if (result == null)
+ result = caseBaseElement(implicitThrowEvent);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.IMPORT: {
+ Import import_ = (Import) theEObject;
+ T result = caseImport(import_);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.INCLUSIVE_GATEWAY: {
+ InclusiveGateway inclusiveGateway = (InclusiveGateway) theEObject;
+ T result = caseInclusiveGateway(inclusiveGateway);
+ if (result == null)
+ result = caseGateway(inclusiveGateway);
+ if (result == null)
+ result = caseFlowNode(inclusiveGateway);
+ if (result == null)
+ result = caseFlowElement(inclusiveGateway);
+ if (result == null)
+ result = caseBaseElement(inclusiveGateway);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.INPUT_OUTPUT_BINDING: {
+ InputOutputBinding inputOutputBinding = (InputOutputBinding) theEObject;
+ T result = caseInputOutputBinding(inputOutputBinding);
+ if (result == null)
+ result = caseBaseElement(inputOutputBinding);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.INPUT_OUTPUT_SPECIFICATION: {
+ InputOutputSpecification inputOutputSpecification = (InputOutputSpecification) theEObject;
+ T result = caseInputOutputSpecification(inputOutputSpecification);
+ if (result == null)
+ result = caseBaseElement(inputOutputSpecification);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.INPUT_SET: {
+ InputSet inputSet = (InputSet) theEObject;
+ T result = caseInputSet(inputSet);
+ if (result == null)
+ result = caseBaseElement(inputSet);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.INTERACTION_NODE: {
+ InteractionNode interactionNode = (InteractionNode) theEObject;
+ T result = caseInteractionNode(interactionNode);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.INTERFACE: {
+ Interface interface_ = (Interface) theEObject;
+ T result = caseInterface(interface_);
+ if (result == null)
+ result = caseRootElement(interface_);
+ if (result == null)
+ result = caseBaseElement(interface_);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.INTERMEDIATE_CATCH_EVENT: {
+ IntermediateCatchEvent intermediateCatchEvent = (IntermediateCatchEvent) theEObject;
+ T result = caseIntermediateCatchEvent(intermediateCatchEvent);
+ if (result == null)
+ result = caseCatchEvent(intermediateCatchEvent);
+ if (result == null)
+ result = caseEvent(intermediateCatchEvent);
+ if (result == null)
+ result = caseFlowNode(intermediateCatchEvent);
+ if (result == null)
+ result = caseInteractionNode(intermediateCatchEvent);
+ if (result == null)
+ result = caseFlowElement(intermediateCatchEvent);
+ if (result == null)
+ result = caseBaseElement(intermediateCatchEvent);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.INTERMEDIATE_THROW_EVENT: {
+ IntermediateThrowEvent intermediateThrowEvent = (IntermediateThrowEvent) theEObject;
+ T result = caseIntermediateThrowEvent(intermediateThrowEvent);
+ if (result == null)
+ result = caseThrowEvent(intermediateThrowEvent);
+ if (result == null)
+ result = caseEvent(intermediateThrowEvent);
+ if (result == null)
+ result = caseFlowNode(intermediateThrowEvent);
+ if (result == null)
+ result = caseInteractionNode(intermediateThrowEvent);
+ if (result == null)
+ result = caseFlowElement(intermediateThrowEvent);
+ if (result == null)
+ result = caseBaseElement(intermediateThrowEvent);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.ITEM_AWARE_ELEMENT: {
+ ItemAwareElement itemAwareElement = (ItemAwareElement) theEObject;
+ T result = caseItemAwareElement(itemAwareElement);
+ if (result == null)
+ result = caseBaseElement(itemAwareElement);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.ITEM_DEFINITION: {
+ ItemDefinition itemDefinition = (ItemDefinition) theEObject;
+ T result = caseItemDefinition(itemDefinition);
+ if (result == null)
+ result = caseRootElement(itemDefinition);
+ if (result == null)
+ result = caseBaseElement(itemDefinition);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.LANE: {
+ Lane lane = (Lane) theEObject;
+ T result = caseLane(lane);
+ if (result == null)
+ result = caseBaseElement(lane);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.LANE_SET: {
+ LaneSet laneSet = (LaneSet) theEObject;
+ T result = caseLaneSet(laneSet);
+ if (result == null)
+ result = caseBaseElement(laneSet);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.LINK_EVENT_DEFINITION: {
+ LinkEventDefinition linkEventDefinition = (LinkEventDefinition) theEObject;
+ T result = caseLinkEventDefinition(linkEventDefinition);
+ if (result == null)
+ result = caseEventDefinition(linkEventDefinition);
+ if (result == null)
+ result = caseRootElement(linkEventDefinition);
+ if (result == null)
+ result = caseBaseElement(linkEventDefinition);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.LOOP_CHARACTERISTICS: {
+ LoopCharacteristics loopCharacteristics = (LoopCharacteristics) theEObject;
+ T result = caseLoopCharacteristics(loopCharacteristics);
+ if (result == null)
+ result = caseBaseElement(loopCharacteristics);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.MANUAL_TASK: {
+ ManualTask manualTask = (ManualTask) theEObject;
+ T result = caseManualTask(manualTask);
+ if (result == null)
+ result = caseTask(manualTask);
+ if (result == null)
+ result = caseActivity(manualTask);
+ if (result == null)
+ result = caseInteractionNode(manualTask);
+ if (result == null)
+ result = caseFlowNode(manualTask);
+ if (result == null)
+ result = caseFlowElement(manualTask);
+ if (result == null)
+ result = caseBaseElement(manualTask);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.MESSAGE: {
+ Message message = (Message) theEObject;
+ T result = caseMessage(message);
+ if (result == null)
+ result = caseRootElement(message);
+ if (result == null)
+ result = caseBaseElement(message);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.MESSAGE_EVENT_DEFINITION: {
+ MessageEventDefinition messageEventDefinition = (MessageEventDefinition) theEObject;
+ T result = caseMessageEventDefinition(messageEventDefinition);
+ if (result == null)
+ result = caseEventDefinition(messageEventDefinition);
+ if (result == null)
+ result = caseRootElement(messageEventDefinition);
+ if (result == null)
+ result = caseBaseElement(messageEventDefinition);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.MESSAGE_FLOW: {
+ MessageFlow messageFlow = (MessageFlow) theEObject;
+ T result = caseMessageFlow(messageFlow);
+ if (result == null)
+ result = caseBaseElement(messageFlow);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.MESSAGE_FLOW_ASSOCIATION: {
+ MessageFlowAssociation messageFlowAssociation = (MessageFlowAssociation) theEObject;
+ T result = caseMessageFlowAssociation(messageFlowAssociation);
+ if (result == null)
+ result = caseBaseElement(messageFlowAssociation);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.MONITORING: {
+ Monitoring monitoring = (Monitoring) theEObject;
+ T result = caseMonitoring(monitoring);
+ if (result == null)
+ result = caseBaseElement(monitoring);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS: {
+ MultiInstanceLoopCharacteristics multiInstanceLoopCharacteristics = (MultiInstanceLoopCharacteristics) theEObject;
+ T result = caseMultiInstanceLoopCharacteristics(multiInstanceLoopCharacteristics);
+ if (result == null)
+ result = caseLoopCharacteristics(multiInstanceLoopCharacteristics);
+ if (result == null)
+ result = caseBaseElement(multiInstanceLoopCharacteristics);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.OPERATION: {
+ Operation operation = (Operation) theEObject;
+ T result = caseOperation(operation);
+ if (result == null)
+ result = caseBaseElement(operation);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.OUTPUT_SET: {
+ OutputSet outputSet = (OutputSet) theEObject;
+ T result = caseOutputSet(outputSet);
+ if (result == null)
+ result = caseBaseElement(outputSet);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.PARALLEL_GATEWAY: {
+ ParallelGateway parallelGateway = (ParallelGateway) theEObject;
+ T result = caseParallelGateway(parallelGateway);
+ if (result == null)
+ result = caseGateway(parallelGateway);
+ if (result == null)
+ result = caseFlowNode(parallelGateway);
+ if (result == null)
+ result = caseFlowElement(parallelGateway);
+ if (result == null)
+ result = caseBaseElement(parallelGateway);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.PARTICIPANT: {
+ Participant participant = (Participant) theEObject;
+ T result = caseParticipant(participant);
+ if (result == null)
+ result = caseBaseElement(participant);
+ if (result == null)
+ result = caseInteractionNode(participant);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.PARTICIPANT_ASSOCIATION: {
+ ParticipantAssociation participantAssociation = (ParticipantAssociation) theEObject;
+ T result = caseParticipantAssociation(participantAssociation);
+ if (result == null)
+ result = caseBaseElement(participantAssociation);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.PARTICIPANT_MULTIPLICITY: {
+ ParticipantMultiplicity participantMultiplicity = (ParticipantMultiplicity) theEObject;
+ T result = caseParticipantMultiplicity(participantMultiplicity);
+ if (result == null)
+ result = caseBaseElement(participantMultiplicity);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.PARTNER_ENTITY: {
+ PartnerEntity partnerEntity = (PartnerEntity) theEObject;
+ T result = casePartnerEntity(partnerEntity);
+ if (result == null)
+ result = caseRootElement(partnerEntity);
+ if (result == null)
+ result = caseBaseElement(partnerEntity);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.PARTNER_ROLE: {
+ PartnerRole partnerRole = (PartnerRole) theEObject;
+ T result = casePartnerRole(partnerRole);
+ if (result == null)
+ result = caseRootElement(partnerRole);
+ if (result == null)
+ result = caseBaseElement(partnerRole);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.PERFORMER: {
+ Performer performer = (Performer) theEObject;
+ T result = casePerformer(performer);
+ if (result == null)
+ result = caseResourceRole(performer);
+ if (result == null)
+ result = caseBaseElement(performer);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.POTENTIAL_OWNER: {
+ PotentialOwner potentialOwner = (PotentialOwner) theEObject;
+ T result = casePotentialOwner(potentialOwner);
+ if (result == null)
+ result = caseHumanPerformer(potentialOwner);
+ if (result == null)
+ result = casePerformer(potentialOwner);
+ if (result == null)
+ result = caseResourceRole(potentialOwner);
+ if (result == null)
+ result = caseBaseElement(potentialOwner);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.PROCESS: {
+ org.eclipse.bpmn2.Process process = (org.eclipse.bpmn2.Process) theEObject;
+ T result = caseProcess(process);
+ if (result == null)
+ result = caseCallableElement(process);
+ if (result == null)
+ result = caseFlowElementsContainer(process);
+ if (result == null)
+ result = caseRootElement(process);
+ if (result == null)
+ result = caseBaseElement(process);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.PROPERTY: {
+ Property property = (Property) theEObject;
+ T result = caseProperty(property);
+ if (result == null)
+ result = caseItemAwareElement(property);
+ if (result == null)
+ result = caseBaseElement(property);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.RECEIVE_TASK: {
+ ReceiveTask receiveTask = (ReceiveTask) theEObject;
+ T result = caseReceiveTask(receiveTask);
+ if (result == null)
+ result = caseTask(receiveTask);
+ if (result == null)
+ result = caseActivity(receiveTask);
+ if (result == null)
+ result = caseInteractionNode(receiveTask);
+ if (result == null)
+ result = caseFlowNode(receiveTask);
+ if (result == null)
+ result = caseFlowElement(receiveTask);
+ if (result == null)
+ result = caseBaseElement(receiveTask);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.RELATIONSHIP: {
+ Relationship relationship = (Relationship) theEObject;
+ T result = caseRelationship(relationship);
+ if (result == null)
+ result = caseBaseElement(relationship);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.RENDERING: {
+ Rendering rendering = (Rendering) theEObject;
+ T result = caseRendering(rendering);
+ if (result == null)
+ result = caseBaseElement(rendering);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.RESOURCE: {
+ Resource resource = (Resource) theEObject;
+ T result = caseResource(resource);
+ if (result == null)
+ result = caseRootElement(resource);
+ if (result == null)
+ result = caseBaseElement(resource);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.RESOURCE_ASSIGNMENT_EXPRESSION: {
+ ResourceAssignmentExpression resourceAssignmentExpression = (ResourceAssignmentExpression) theEObject;
+ T result = caseResourceAssignmentExpression(resourceAssignmentExpression);
+ if (result == null)
+ result = caseBaseElement(resourceAssignmentExpression);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.RESOURCE_PARAMETER: {
+ ResourceParameter resourceParameter = (ResourceParameter) theEObject;
+ T result = caseResourceParameter(resourceParameter);
+ if (result == null)
+ result = caseBaseElement(resourceParameter);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.RESOURCE_PARAMETER_BINDING: {
+ ResourceParameterBinding resourceParameterBinding = (ResourceParameterBinding) theEObject;
+ T result = caseResourceParameterBinding(resourceParameterBinding);
+ if (result == null)
+ result = caseBaseElement(resourceParameterBinding);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.RESOURCE_ROLE: {
+ ResourceRole resourceRole = (ResourceRole) theEObject;
+ T result = caseResourceRole(resourceRole);
+ if (result == null)
+ result = caseBaseElement(resourceRole);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.ROOT_ELEMENT: {
+ RootElement rootElement = (RootElement) theEObject;
+ T result = caseRootElement(rootElement);
+ if (result == null)
+ result = caseBaseElement(rootElement);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.SCRIPT_TASK: {
+ ScriptTask scriptTask = (ScriptTask) theEObject;
+ T result = caseScriptTask(scriptTask);
+ if (result == null)
+ result = caseTask(scriptTask);
+ if (result == null)
+ result = caseActivity(scriptTask);
+ if (result == null)
+ result = caseInteractionNode(scriptTask);
+ if (result == null)
+ result = caseFlowNode(scriptTask);
+ if (result == null)
+ result = caseFlowElement(scriptTask);
+ if (result == null)
+ result = caseBaseElement(scriptTask);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.SEND_TASK: {
+ SendTask sendTask = (SendTask) theEObject;
+ T result = caseSendTask(sendTask);
+ if (result == null)
+ result = caseTask(sendTask);
+ if (result == null)
+ result = caseActivity(sendTask);
+ if (result == null)
+ result = caseInteractionNode(sendTask);
+ if (result == null)
+ result = caseFlowNode(sendTask);
+ if (result == null)
+ result = caseFlowElement(sendTask);
+ if (result == null)
+ result = caseBaseElement(sendTask);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.SEQUENCE_FLOW: {
+ SequenceFlow sequenceFlow = (SequenceFlow) theEObject;
+ T result = caseSequenceFlow(sequenceFlow);
+ if (result == null)
+ result = caseFlowElement(sequenceFlow);
+ if (result == null)
+ result = caseBaseElement(sequenceFlow);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.SERVICE_TASK: {
+ ServiceTask serviceTask = (ServiceTask) theEObject;
+ T result = caseServiceTask(serviceTask);
+ if (result == null)
+ result = caseTask(serviceTask);
+ if (result == null)
+ result = caseActivity(serviceTask);
+ if (result == null)
+ result = caseInteractionNode(serviceTask);
+ if (result == null)
+ result = caseFlowNode(serviceTask);
+ if (result == null)
+ result = caseFlowElement(serviceTask);
+ if (result == null)
+ result = caseBaseElement(serviceTask);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.SIGNAL: {
+ Signal signal = (Signal) theEObject;
+ T result = caseSignal(signal);
+ if (result == null)
+ result = caseRootElement(signal);
+ if (result == null)
+ result = caseBaseElement(signal);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.SIGNAL_EVENT_DEFINITION: {
+ SignalEventDefinition signalEventDefinition = (SignalEventDefinition) theEObject;
+ T result = caseSignalEventDefinition(signalEventDefinition);
+ if (result == null)
+ result = caseEventDefinition(signalEventDefinition);
+ if (result == null)
+ result = caseRootElement(signalEventDefinition);
+ if (result == null)
+ result = caseBaseElement(signalEventDefinition);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.STANDARD_LOOP_CHARACTERISTICS: {
+ StandardLoopCharacteristics standardLoopCharacteristics = (StandardLoopCharacteristics) theEObject;
+ T result = caseStandardLoopCharacteristics(standardLoopCharacteristics);
+ if (result == null)
+ result = caseLoopCharacteristics(standardLoopCharacteristics);
+ if (result == null)
+ result = caseBaseElement(standardLoopCharacteristics);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.START_EVENT: {
+ StartEvent startEvent = (StartEvent) theEObject;
+ T result = caseStartEvent(startEvent);
+ if (result == null)
+ result = caseCatchEvent(startEvent);
+ if (result == null)
+ result = caseEvent(startEvent);
+ if (result == null)
+ result = caseFlowNode(startEvent);
+ if (result == null)
+ result = caseInteractionNode(startEvent);
+ if (result == null)
+ result = caseFlowElement(startEvent);
+ if (result == null)
+ result = caseBaseElement(startEvent);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.SUB_CHOREOGRAPHY: {
+ SubChoreography subChoreography = (SubChoreography) theEObject;
+ T result = caseSubChoreography(subChoreography);
+ if (result == null)
+ result = caseChoreographyActivity(subChoreography);
+ if (result == null)
+ result = caseFlowElementsContainer(subChoreography);
+ if (result == null)
+ result = caseFlowNode(subChoreography);
+ if (result == null)
+ result = caseFlowElement(subChoreography);
+ if (result == null)
+ result = caseBaseElement(subChoreography);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.SUB_CONVERSATION: {
+ SubConversation subConversation = (SubConversation) theEObject;
+ T result = caseSubConversation(subConversation);
+ if (result == null)
+ result = caseConversationNode(subConversation);
+ if (result == null)
+ result = caseBaseElement(subConversation);
+ if (result == null)
+ result = caseInteractionNode(subConversation);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.SUB_PROCESS: {
+ SubProcess subProcess = (SubProcess) theEObject;
+ T result = caseSubProcess(subProcess);
+ if (result == null)
+ result = caseActivity(subProcess);
+ if (result == null)
+ result = caseFlowElementsContainer(subProcess);
+ if (result == null)
+ result = caseFlowNode(subProcess);
+ if (result == null)
+ result = caseFlowElement(subProcess);
+ if (result == null)
+ result = caseBaseElement(subProcess);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.TASK: {
+ Task task = (Task) theEObject;
+ T result = caseTask(task);
+ if (result == null)
+ result = caseActivity(task);
+ if (result == null)
+ result = caseInteractionNode(task);
+ if (result == null)
+ result = caseFlowNode(task);
+ if (result == null)
+ result = caseFlowElement(task);
+ if (result == null)
+ result = caseBaseElement(task);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.TERMINATE_EVENT_DEFINITION: {
+ TerminateEventDefinition terminateEventDefinition = (TerminateEventDefinition) theEObject;
+ T result = caseTerminateEventDefinition(terminateEventDefinition);
+ if (result == null)
+ result = caseEventDefinition(terminateEventDefinition);
+ if (result == null)
+ result = caseRootElement(terminateEventDefinition);
+ if (result == null)
+ result = caseBaseElement(terminateEventDefinition);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.TEXT_ANNOTATION: {
+ TextAnnotation textAnnotation = (TextAnnotation) theEObject;
+ T result = caseTextAnnotation(textAnnotation);
+ if (result == null)
+ result = caseArtifact(textAnnotation);
+ if (result == null)
+ result = caseBaseElement(textAnnotation);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.THROW_EVENT: {
+ ThrowEvent throwEvent = (ThrowEvent) theEObject;
+ T result = caseThrowEvent(throwEvent);
+ if (result == null)
+ result = caseEvent(throwEvent);
+ if (result == null)
+ result = caseFlowNode(throwEvent);
+ if (result == null)
+ result = caseInteractionNode(throwEvent);
+ if (result == null)
+ result = caseFlowElement(throwEvent);
+ if (result == null)
+ result = caseBaseElement(throwEvent);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.TIMER_EVENT_DEFINITION: {
+ TimerEventDefinition timerEventDefinition = (TimerEventDefinition) theEObject;
+ T result = caseTimerEventDefinition(timerEventDefinition);
+ if (result == null)
+ result = caseEventDefinition(timerEventDefinition);
+ if (result == null)
+ result = caseRootElement(timerEventDefinition);
+ if (result == null)
+ result = caseBaseElement(timerEventDefinition);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.TRANSACTION: {
+ Transaction transaction = (Transaction) theEObject;
+ T result = caseTransaction(transaction);
+ if (result == null)
+ result = caseSubProcess(transaction);
+ if (result == null)
+ result = caseActivity(transaction);
+ if (result == null)
+ result = caseFlowElementsContainer(transaction);
+ if (result == null)
+ result = caseFlowNode(transaction);
+ if (result == null)
+ result = caseFlowElement(transaction);
+ if (result == null)
+ result = caseBaseElement(transaction);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Bpmn2Package.USER_TASK: {
+ UserTask userTask = (UserTask) theEObject;
+ T result = caseUserTask(userTask);
+ if (result == null)
+ result = caseTask(userTask);
+ if (result == null)
+ result = caseActivity(userTask);
+ if (result == null)
+ result = caseInteractionNode(userTask);
+ if (result == null)
+ result = caseFlowNode(userTask);
+ if (result == null)
+ result = caseFlowElement(userTask);
+ if (result == null)
+ result = caseBaseElement(userTask);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ default:
+ return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Document Root</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Document Root</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDocumentRoot(DocumentRoot object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Activity</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Activity</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseActivity(Activity object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Ad Hoc Sub Process</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Ad Hoc Sub Process</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseAdHocSubProcess(AdHocSubProcess object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Artifact</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Artifact</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseArtifact(Artifact object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Assignment</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Assignment</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseAssignment(Assignment object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Association</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Association</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseAssociation(Association object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Auditing</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Auditing</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseAuditing(Auditing object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Base Element</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Base Element</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseBaseElement(BaseElement object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Boundary Event</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Boundary Event</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseBoundaryEvent(BoundaryEvent object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Business Rule Task</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Business Rule Task</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseBusinessRuleTask(BusinessRuleTask object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Call Activity</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Call Activity</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCallActivity(CallActivity object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Call Choreography</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Call Choreography</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCallChoreography(CallChoreography object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Call Conversation</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Call Conversation</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCallConversation(CallConversation object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Callable Element</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Callable Element</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCallableElement(CallableElement object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Cancel Event Definition</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Cancel Event Definition</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCancelEventDefinition(CancelEventDefinition object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Catch Event</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Catch Event</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCatchEvent(CatchEvent object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Category</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Category</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCategory(Category object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Category Value</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Category Value</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCategoryValue(CategoryValue object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Choreography</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Choreography</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseChoreography(Choreography object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Choreography Activity</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Choreography Activity</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseChoreographyActivity(ChoreographyActivity object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Choreography Task</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Choreography Task</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseChoreographyTask(ChoreographyTask object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Collaboration</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Collaboration</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCollaboration(Collaboration object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Compensate Event Definition</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Compensate Event Definition</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCompensateEventDefinition(CompensateEventDefinition object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Complex Behavior Definition</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Complex Behavior Definition</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseComplexBehaviorDefinition(ComplexBehaviorDefinition object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Complex Gateway</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Complex Gateway</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseComplexGateway(ComplexGateway object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Conditional Event Definition</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Conditional Event Definition</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseConditionalEventDefinition(ConditionalEventDefinition object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Conversation</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Conversation</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseConversation(Conversation object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Conversation Association</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Conversation Association</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseConversationAssociation(ConversationAssociation object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Conversation Link</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Conversation Link</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseConversationLink(ConversationLink object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Conversation Node</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Conversation Node</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseConversationNode(ConversationNode object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Correlation Key</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Correlation Key</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCorrelationKey(CorrelationKey object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Correlation Property</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Correlation Property</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCorrelationProperty(CorrelationProperty object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Correlation Property Binding</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Correlation Property Binding</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCorrelationPropertyBinding(CorrelationPropertyBinding object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Correlation Property Retrieval Expression</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Correlation Property Retrieval Expression</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCorrelationPropertyRetrievalExpression(
+ CorrelationPropertyRetrievalExpression object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Correlation Subscription</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Correlation Subscription</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCorrelationSubscription(CorrelationSubscription object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Data Association</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Data Association</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDataAssociation(DataAssociation object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Data Input</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Data Input</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDataInput(DataInput object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Data Input Association</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Data Input Association</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDataInputAssociation(DataInputAssociation object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Data Object</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Data Object</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDataObject(DataObject object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Data Object Reference</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Data Object Reference</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDataObjectReference(DataObjectReference object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Data Output</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Data Output</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDataOutput(DataOutput object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Data Output Association</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Data Output Association</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDataOutputAssociation(DataOutputAssociation object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Data State</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Data State</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDataState(DataState object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Data Store</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Data Store</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDataStore(DataStore object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Data Store Reference</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Data Store Reference</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDataStoreReference(DataStoreReference object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Definitions</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Definitions</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDefinitions(Definitions object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Documentation</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Documentation</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDocumentation(Documentation object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>End Event</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>End Event</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseEndEvent(EndEvent object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>End Point</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>End Point</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseEndPoint(EndPoint object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Error</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Error</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseError(org.eclipse.bpmn2.Error object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Error Event Definition</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Error Event Definition</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseErrorEventDefinition(ErrorEventDefinition object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Escalation</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Escalation</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseEscalation(Escalation object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Escalation Event Definition</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Escalation Event Definition</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseEscalationEventDefinition(EscalationEventDefinition object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Event</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Event</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseEvent(Event object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Event Based Gateway</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Event Based Gateway</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseEventBasedGateway(EventBasedGateway object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Event Definition</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Event Definition</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseEventDefinition(EventDefinition object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Exclusive Gateway</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Exclusive Gateway</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseExclusiveGateway(ExclusiveGateway object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Expression</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Expression</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseExpression(Expression object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Extension</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Extension</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseExtension(Extension object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Extension Attribute Definition</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Extension Attribute Definition</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseExtensionAttributeDefinition(
+ ExtensionAttributeDefinition object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Extension Attribute Value</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Extension Attribute Value</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseExtensionAttributeValue(ExtensionAttributeValue object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Extension Definition</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Extension Definition</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseExtensionDefinition(ExtensionDefinition object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Flow Element</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Flow Element</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseFlowElement(FlowElement object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Flow Elements Container</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Flow Elements Container</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseFlowElementsContainer(FlowElementsContainer object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Flow Node</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Flow Node</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseFlowNode(FlowNode object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Formal Expression</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Formal Expression</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseFormalExpression(FormalExpression object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Gateway</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Gateway</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGateway(Gateway object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Global Business Rule Task</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Global Business Rule Task</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGlobalBusinessRuleTask(GlobalBusinessRuleTask object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Global Choreography Task</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Global Choreography Task</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGlobalChoreographyTask(GlobalChoreographyTask object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Global Conversation</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Global Conversation</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGlobalConversation(GlobalConversation object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Global Manual Task</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Global Manual Task</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGlobalManualTask(GlobalManualTask object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Global Script Task</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Global Script Task</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGlobalScriptTask(GlobalScriptTask object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Global Task</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Global Task</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGlobalTask(GlobalTask object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Global User Task</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Global User Task</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGlobalUserTask(GlobalUserTask object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Group</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Group</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGroup(Group object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Human Performer</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Human Performer</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseHumanPerformer(HumanPerformer object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Implicit Throw Event</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Implicit Throw Event</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseImplicitThrowEvent(ImplicitThrowEvent object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Import</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Import</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseImport(Import object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Inclusive Gateway</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Inclusive Gateway</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseInclusiveGateway(InclusiveGateway object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Input Output Binding</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Input Output Binding</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseInputOutputBinding(InputOutputBinding object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Input Output Specification</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Input Output Specification</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseInputOutputSpecification(InputOutputSpecification object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Input Set</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Input Set</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseInputSet(InputSet object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Interaction Node</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Interaction Node</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseInteractionNode(InteractionNode object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Interface</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Interface</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseInterface(Interface object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Intermediate Catch Event</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Intermediate Catch Event</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseIntermediateCatchEvent(IntermediateCatchEvent object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Intermediate Throw Event</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Intermediate Throw Event</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseIntermediateThrowEvent(IntermediateThrowEvent object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Item Aware Element</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Item Aware Element</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseItemAwareElement(ItemAwareElement object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Item Definition</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Item Definition</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseItemDefinition(ItemDefinition object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Lane</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Lane</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseLane(Lane object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Lane Set</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Lane Set</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseLaneSet(LaneSet object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Link Event Definition</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Link Event Definition</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseLinkEventDefinition(LinkEventDefinition object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Loop Characteristics</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Loop Characteristics</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseLoopCharacteristics(LoopCharacteristics object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Manual Task</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Manual Task</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseManualTask(ManualTask object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Message</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Message</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseMessage(Message object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Message Event Definition</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Message Event Definition</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseMessageEventDefinition(MessageEventDefinition object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Message Flow</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Message Flow</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseMessageFlow(MessageFlow object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Message Flow Association</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Message Flow Association</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseMessageFlowAssociation(MessageFlowAssociation object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Monitoring</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Monitoring</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseMonitoring(Monitoring object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Multi Instance Loop Characteristics</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Multi Instance Loop Characteristics</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseMultiInstanceLoopCharacteristics(
+ MultiInstanceLoopCharacteristics object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Operation</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Operation</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseOperation(Operation object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Output Set</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Output Set</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseOutputSet(OutputSet object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Parallel Gateway</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Parallel Gateway</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseParallelGateway(ParallelGateway object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Participant</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Participant</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseParticipant(Participant object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Participant Association</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Participant Association</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseParticipantAssociation(ParticipantAssociation object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Participant Multiplicity</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Participant Multiplicity</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseParticipantMultiplicity(ParticipantMultiplicity object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Partner Entity</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Partner Entity</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T casePartnerEntity(PartnerEntity object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Partner Role</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Partner Role</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T casePartnerRole(PartnerRole object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Performer</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Performer</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T casePerformer(Performer object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Potential Owner</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Potential Owner</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T casePotentialOwner(PotentialOwner object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Process</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Process</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseProcess(org.eclipse.bpmn2.Process object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Property</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Property</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseProperty(Property object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Receive Task</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Receive Task</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseReceiveTask(ReceiveTask object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Relationship</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Relationship</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseRelationship(Relationship object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Rendering</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Rendering</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseRendering(Rendering object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Resource</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Resource</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseResource(Resource object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Resource Assignment Expression</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Resource Assignment Expression</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseResourceAssignmentExpression(
+ ResourceAssignmentExpression object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Resource Parameter</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Resource Parameter</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseResourceParameter(ResourceParameter object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Resource Parameter Binding</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Resource Parameter Binding</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseResourceParameterBinding(ResourceParameterBinding object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Resource Role</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Resource Role</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseResourceRole(ResourceRole object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Root Element</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Root Element</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseRootElement(RootElement object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Script Task</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Script Task</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseScriptTask(ScriptTask object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Send Task</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Send Task</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseSendTask(SendTask object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Sequence Flow</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Sequence Flow</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseSequenceFlow(SequenceFlow object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Service Task</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Service Task</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseServiceTask(ServiceTask object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Signal</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Signal</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseSignal(Signal object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Signal Event Definition</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Signal Event Definition</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseSignalEventDefinition(SignalEventDefinition object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Standard Loop Characteristics</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Standard Loop Characteristics</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseStandardLoopCharacteristics(StandardLoopCharacteristics object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Start Event</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Start Event</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseStartEvent(StartEvent object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Sub Choreography</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Sub Choreography</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseSubChoreography(SubChoreography object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Sub Conversation</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Sub Conversation</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseSubConversation(SubConversation object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Sub Process</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Sub Process</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseSubProcess(SubProcess object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Task</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Task</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTask(Task object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Terminate Event Definition</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Terminate Event Definition</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTerminateEventDefinition(TerminateEventDefinition object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Text Annotation</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Text Annotation</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTextAnnotation(TextAnnotation object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Throw Event</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Throw Event</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseThrowEvent(ThrowEvent object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Timer Event Definition</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Timer Event Definition</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTimerEventDefinition(TimerEventDefinition object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Transaction</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Transaction</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTransaction(Transaction object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>User Task</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>User Task</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseUserTask(UserTask object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch, but this is the last case anyway.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ public T defaultCase(EObject object) {
+ return null;
+ }
+
+} //Bpmn2Switch
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/util/Bpmn2XMLProcessor.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/util/Bpmn2XMLProcessor.java
new file mode 100644
index 000000000..33a1135cc
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/util/Bpmn2XMLProcessor.java
@@ -0,0 +1,62 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.bpmn2.util;
+
+import java.util.Map;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
+
+/**
+ * This class contains helper methods to serialize and deserialize XML documents
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class Bpmn2XMLProcessor extends XMLProcessor {
+
+ /**
+ * Public constructor to instantiate the helper.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Bpmn2XMLProcessor() {
+ super((EPackage.Registry.INSTANCE));
+ Bpmn2Package.eINSTANCE.eClass();
+ }
+
+ /**
+ * Register for "*" and "xml" file extensions the Bpmn2ResourceFactoryImpl factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected Map<String, Resource.Factory> getRegistrations() {
+ if (registrations == null) {
+ super.getRegistrations();
+ registrations.put(XML_EXTENSION, new Bpmn2ResourceFactoryImpl());
+ registrations.put(STAR_EXTENSION, new Bpmn2ResourceFactoryImpl());
+ }
+ return registrations;
+ }
+
+} //Bpmn2XMLProcessor
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/Bounds.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/Bounds.java
new file mode 100644
index 000000000..b07a0c223
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/Bounds.java
@@ -0,0 +1,149 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.dc;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Bounds</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.dd.dc.Bounds#getHeight <em>Height</em>}</li>
+ * <li>{@link org.eclipse.dd.dc.Bounds#getWidth <em>Width</em>}</li>
+ * <li>{@link org.eclipse.dd.dc.Bounds#getX <em>X</em>}</li>
+ * <li>{@link org.eclipse.dd.dc.Bounds#getY <em>Y</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.dd.dc.DcPackage#getBounds()
+ * @model extendedMetaData="name='Bounds' kind='empty'"
+ * @generated
+ */
+public interface Bounds extends EObject {
+ /**
+ * Returns the value of the '<em><b>Height</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Height</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Height</em>' attribute.
+ * @see #setHeight(float)
+ * @see org.eclipse.dd.dc.DcPackage#getBounds_Height()
+ * @model required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='height'"
+ * @generated
+ */
+ float getHeight();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.dd.dc.Bounds#getHeight <em>Height</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Height</em>' attribute.
+ * @see #getHeight()
+ * @generated
+ */
+ void setHeight(float value);
+
+ /**
+ * Returns the value of the '<em><b>Width</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Width</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Width</em>' attribute.
+ * @see #setWidth(float)
+ * @see org.eclipse.dd.dc.DcPackage#getBounds_Width()
+ * @model required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='width'"
+ * @generated
+ */
+ float getWidth();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.dd.dc.Bounds#getWidth <em>Width</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Width</em>' attribute.
+ * @see #getWidth()
+ * @generated
+ */
+ void setWidth(float value);
+
+ /**
+ * Returns the value of the '<em><b>X</b></em>' attribute.
+ * The default value is <code>"0"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>X</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>X</em>' attribute.
+ * @see #setX(float)
+ * @see org.eclipse.dd.dc.DcPackage#getBounds_X()
+ * @model default="0" required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='x'"
+ * @generated
+ */
+ float getX();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.dd.dc.Bounds#getX <em>X</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>X</em>' attribute.
+ * @see #getX()
+ * @generated
+ */
+ void setX(float value);
+
+ /**
+ * Returns the value of the '<em><b>Y</b></em>' attribute.
+ * The default value is <code>"0"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Y</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Y</em>' attribute.
+ * @see #setY(float)
+ * @see org.eclipse.dd.dc.DcPackage#getBounds_Y()
+ * @model default="0" required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='y'"
+ * @generated
+ */
+ float getY();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.dd.dc.Bounds#getY <em>Y</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Y</em>' attribute.
+ * @see #getY()
+ * @generated
+ */
+ void setY(float value);
+
+} // Bounds
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/DcFactory.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/DcFactory.java
new file mode 100644
index 000000000..d7d790ff1
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/DcFactory.java
@@ -0,0 +1,81 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.dc;
+
+import org.eclipse.emf.ecore.EFactory;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Factory</b> for the model.
+ * It provides a create method for each non-abstract class of the model.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.dc.DcPackage
+ * @generated
+ */
+public interface DcFactory extends EFactory {
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ DcFactory eINSTANCE = org.eclipse.dd.dc.impl.DcFactoryImpl.init();
+
+ /**
+ * Returns a new object of class '<em>Document Root</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Document Root</em>'.
+ * @generated
+ */
+ DocumentRoot createDocumentRoot();
+
+ /**
+ * Returns a new object of class '<em>Bounds</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Bounds</em>'.
+ * @generated
+ */
+ Bounds createBounds();
+
+ /**
+ * Returns a new object of class '<em>Font</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Font</em>'.
+ * @generated
+ */
+ Font createFont();
+
+ /**
+ * Returns a new object of class '<em>Point</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Point</em>'.
+ * @generated
+ */
+ Point createPoint();
+
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the package supported by this factory.
+ * @generated
+ */
+ DcPackage getDcPackage();
+
+} //DcFactory
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/DcPackage.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/DcPackage.java
new file mode 100644
index 000000000..bf175287f
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/DcPackage.java
@@ -0,0 +1,757 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.dc;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Package</b> for the model.
+ * It contains accessors for the meta objects to represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.dc.DcFactory
+ * @model kind="package"
+ * @generated
+ */
+public interface DcPackage extends EPackage {
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNAME = "dc";
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_URI = "http://www.omg.org/spec/DD/20100524/DC-XMI";
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_PREFIX = "dc";
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ DcPackage eINSTANCE = org.eclipse.dd.dc.impl.DcPackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link org.eclipse.dd.dc.impl.DocumentRootImpl <em>Document Root</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.dc.impl.DocumentRootImpl
+ * @see org.eclipse.dd.dc.impl.DcPackageImpl#getDocumentRoot()
+ * @generated
+ */
+ int DOCUMENT_ROOT = 0;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__MIXED = 0;
+
+ /**
+ * The feature id for the '<em><b>XMLNS Prefix Map</b></em>' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__XMLNS_PREFIX_MAP = 1;
+
+ /**
+ * The feature id for the '<em><b>XSI Schema Location</b></em>' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = 2;
+
+ /**
+ * The feature id for the '<em><b>Bounds</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__BOUNDS = 3;
+
+ /**
+ * The feature id for the '<em><b>Font</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__FONT = 4;
+
+ /**
+ * The feature id for the '<em><b>Point</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__POINT = 5;
+
+ /**
+ * The number of structural features of the '<em>Document Root</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT_FEATURE_COUNT = 6;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.dd.dc.impl.BoundsImpl <em>Bounds</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.dc.impl.BoundsImpl
+ * @see org.eclipse.dd.dc.impl.DcPackageImpl#getBounds()
+ * @generated
+ */
+ int BOUNDS = 1;
+
+ /**
+ * The feature id for the '<em><b>Height</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BOUNDS__HEIGHT = 0;
+
+ /**
+ * The feature id for the '<em><b>Width</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BOUNDS__WIDTH = 1;
+
+ /**
+ * The feature id for the '<em><b>X</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BOUNDS__X = 2;
+
+ /**
+ * The feature id for the '<em><b>Y</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BOUNDS__Y = 3;
+
+ /**
+ * The number of structural features of the '<em>Bounds</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BOUNDS_FEATURE_COUNT = 4;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.dd.dc.impl.FontImpl <em>Font</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.dc.impl.FontImpl
+ * @see org.eclipse.dd.dc.impl.DcPackageImpl#getFont()
+ * @generated
+ */
+ int FONT = 2;
+
+ /**
+ * The feature id for the '<em><b>Is Bold</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FONT__IS_BOLD = 0;
+
+ /**
+ * The feature id for the '<em><b>Is Italic</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FONT__IS_ITALIC = 1;
+
+ /**
+ * The feature id for the '<em><b>Is Strike Through</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FONT__IS_STRIKE_THROUGH = 2;
+
+ /**
+ * The feature id for the '<em><b>Is Underline</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FONT__IS_UNDERLINE = 3;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FONT__NAME = 4;
+
+ /**
+ * The feature id for the '<em><b>Size</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FONT__SIZE = 5;
+
+ /**
+ * The number of structural features of the '<em>Font</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FONT_FEATURE_COUNT = 6;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.dd.dc.impl.PointImpl <em>Point</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.dc.impl.PointImpl
+ * @see org.eclipse.dd.dc.impl.DcPackageImpl#getPoint()
+ * @generated
+ */
+ int POINT = 3;
+
+ /**
+ * The feature id for the '<em><b>X</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int POINT__X = 0;
+
+ /**
+ * The feature id for the '<em><b>Y</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int POINT__Y = 1;
+
+ /**
+ * The number of structural features of the '<em>Point</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int POINT_FEATURE_COUNT = 2;
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.dd.dc.DocumentRoot <em>Document Root</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Document Root</em>'.
+ * @see org.eclipse.dd.dc.DocumentRoot
+ * @generated
+ */
+ EClass getDocumentRoot();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.eclipse.dd.dc.DocumentRoot#getMixed <em>Mixed</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Mixed</em>'.
+ * @see org.eclipse.dd.dc.DocumentRoot#getMixed()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EAttribute getDocumentRoot_Mixed();
+
+ /**
+ * Returns the meta object for the map '{@link org.eclipse.dd.dc.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the map '<em>XMLNS Prefix Map</em>'.
+ * @see org.eclipse.dd.dc.DocumentRoot#getXMLNSPrefixMap()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_XMLNSPrefixMap();
+
+ /**
+ * Returns the meta object for the map '{@link org.eclipse.dd.dc.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the map '<em>XSI Schema Location</em>'.
+ * @see org.eclipse.dd.dc.DocumentRoot#getXSISchemaLocation()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_XSISchemaLocation();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.dd.dc.DocumentRoot#getBounds <em>Bounds</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Bounds</em>'.
+ * @see org.eclipse.dd.dc.DocumentRoot#getBounds()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Bounds();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.dd.dc.DocumentRoot#getFont <em>Font</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Font</em>'.
+ * @see org.eclipse.dd.dc.DocumentRoot#getFont()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Font();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.dd.dc.DocumentRoot#getPoint <em>Point</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Point</em>'.
+ * @see org.eclipse.dd.dc.DocumentRoot#getPoint()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Point();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.dd.dc.Bounds <em>Bounds</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Bounds</em>'.
+ * @see org.eclipse.dd.dc.Bounds
+ * @generated
+ */
+ EClass getBounds();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.dd.dc.Bounds#getHeight <em>Height</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Height</em>'.
+ * @see org.eclipse.dd.dc.Bounds#getHeight()
+ * @see #getBounds()
+ * @generated
+ */
+ EAttribute getBounds_Height();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.dd.dc.Bounds#getWidth <em>Width</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Width</em>'.
+ * @see org.eclipse.dd.dc.Bounds#getWidth()
+ * @see #getBounds()
+ * @generated
+ */
+ EAttribute getBounds_Width();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.dd.dc.Bounds#getX <em>X</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>X</em>'.
+ * @see org.eclipse.dd.dc.Bounds#getX()
+ * @see #getBounds()
+ * @generated
+ */
+ EAttribute getBounds_X();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.dd.dc.Bounds#getY <em>Y</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Y</em>'.
+ * @see org.eclipse.dd.dc.Bounds#getY()
+ * @see #getBounds()
+ * @generated
+ */
+ EAttribute getBounds_Y();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.dd.dc.Font <em>Font</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Font</em>'.
+ * @see org.eclipse.dd.dc.Font
+ * @generated
+ */
+ EClass getFont();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.dd.dc.Font#isIsBold <em>Is Bold</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Is Bold</em>'.
+ * @see org.eclipse.dd.dc.Font#isIsBold()
+ * @see #getFont()
+ * @generated
+ */
+ EAttribute getFont_IsBold();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.dd.dc.Font#isIsItalic <em>Is Italic</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Is Italic</em>'.
+ * @see org.eclipse.dd.dc.Font#isIsItalic()
+ * @see #getFont()
+ * @generated
+ */
+ EAttribute getFont_IsItalic();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.dd.dc.Font#isIsStrikeThrough <em>Is Strike Through</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Is Strike Through</em>'.
+ * @see org.eclipse.dd.dc.Font#isIsStrikeThrough()
+ * @see #getFont()
+ * @generated
+ */
+ EAttribute getFont_IsStrikeThrough();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.dd.dc.Font#isIsUnderline <em>Is Underline</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Is Underline</em>'.
+ * @see org.eclipse.dd.dc.Font#isIsUnderline()
+ * @see #getFont()
+ * @generated
+ */
+ EAttribute getFont_IsUnderline();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.dd.dc.Font#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.dd.dc.Font#getName()
+ * @see #getFont()
+ * @generated
+ */
+ EAttribute getFont_Name();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.dd.dc.Font#getSize <em>Size</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Size</em>'.
+ * @see org.eclipse.dd.dc.Font#getSize()
+ * @see #getFont()
+ * @generated
+ */
+ EAttribute getFont_Size();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.dd.dc.Point <em>Point</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Point</em>'.
+ * @see org.eclipse.dd.dc.Point
+ * @generated
+ */
+ EClass getPoint();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.dd.dc.Point#getX <em>X</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>X</em>'.
+ * @see org.eclipse.dd.dc.Point#getX()
+ * @see #getPoint()
+ * @generated
+ */
+ EAttribute getPoint_X();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.dd.dc.Point#getY <em>Y</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Y</em>'.
+ * @see org.eclipse.dd.dc.Point#getY()
+ * @see #getPoint()
+ * @generated
+ */
+ EAttribute getPoint_Y();
+
+ /**
+ * Returns the factory that creates the instances of the model.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the factory that creates the instances of the model.
+ * @generated
+ */
+ DcFactory getDcFactory();
+
+ /**
+ * <!-- begin-user-doc -->
+ * Defines literals for the meta objects that represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ interface Literals {
+ /**
+ * The meta object literal for the '{@link org.eclipse.dd.dc.impl.DocumentRootImpl <em>Document Root</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.dc.impl.DocumentRootImpl
+ * @see org.eclipse.dd.dc.impl.DcPackageImpl#getDocumentRoot()
+ * @generated
+ */
+ EClass DOCUMENT_ROOT = eINSTANCE.getDocumentRoot();
+
+ /**
+ * The meta object literal for the '<em><b>Mixed</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DOCUMENT_ROOT__MIXED = eINSTANCE.getDocumentRoot_Mixed();
+
+ /**
+ * The meta object literal for the '<em><b>XMLNS Prefix Map</b></em>' map feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__XMLNS_PREFIX_MAP = eINSTANCE
+ .getDocumentRoot_XMLNSPrefixMap();
+
+ /**
+ * The meta object literal for the '<em><b>XSI Schema Location</b></em>' map feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = eINSTANCE
+ .getDocumentRoot_XSISchemaLocation();
+
+ /**
+ * The meta object literal for the '<em><b>Bounds</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__BOUNDS = eINSTANCE.getDocumentRoot_Bounds();
+
+ /**
+ * The meta object literal for the '<em><b>Font</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__FONT = eINSTANCE.getDocumentRoot_Font();
+
+ /**
+ * The meta object literal for the '<em><b>Point</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__POINT = eINSTANCE.getDocumentRoot_Point();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.dd.dc.impl.BoundsImpl <em>Bounds</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.dc.impl.BoundsImpl
+ * @see org.eclipse.dd.dc.impl.DcPackageImpl#getBounds()
+ * @generated
+ */
+ EClass BOUNDS = eINSTANCE.getBounds();
+
+ /**
+ * The meta object literal for the '<em><b>Height</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute BOUNDS__HEIGHT = eINSTANCE.getBounds_Height();
+
+ /**
+ * The meta object literal for the '<em><b>Width</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute BOUNDS__WIDTH = eINSTANCE.getBounds_Width();
+
+ /**
+ * The meta object literal for the '<em><b>X</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute BOUNDS__X = eINSTANCE.getBounds_X();
+
+ /**
+ * The meta object literal for the '<em><b>Y</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute BOUNDS__Y = eINSTANCE.getBounds_Y();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.dd.dc.impl.FontImpl <em>Font</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.dc.impl.FontImpl
+ * @see org.eclipse.dd.dc.impl.DcPackageImpl#getFont()
+ * @generated
+ */
+ EClass FONT = eINSTANCE.getFont();
+
+ /**
+ * The meta object literal for the '<em><b>Is Bold</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute FONT__IS_BOLD = eINSTANCE.getFont_IsBold();
+
+ /**
+ * The meta object literal for the '<em><b>Is Italic</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute FONT__IS_ITALIC = eINSTANCE.getFont_IsItalic();
+
+ /**
+ * The meta object literal for the '<em><b>Is Strike Through</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute FONT__IS_STRIKE_THROUGH = eINSTANCE
+ .getFont_IsStrikeThrough();
+
+ /**
+ * The meta object literal for the '<em><b>Is Underline</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute FONT__IS_UNDERLINE = eINSTANCE.getFont_IsUnderline();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute FONT__NAME = eINSTANCE.getFont_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Size</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute FONT__SIZE = eINSTANCE.getFont_Size();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.dd.dc.impl.PointImpl <em>Point</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.dc.impl.PointImpl
+ * @see org.eclipse.dd.dc.impl.DcPackageImpl#getPoint()
+ * @generated
+ */
+ EClass POINT = eINSTANCE.getPoint();
+
+ /**
+ * The meta object literal for the '<em><b>X</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute POINT__X = eINSTANCE.getPoint_X();
+
+ /**
+ * The meta object literal for the '<em><b>Y</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute POINT__Y = eINSTANCE.getPoint_Y();
+
+ }
+
+} //DcPackage
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/DocumentRoot.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/DocumentRoot.java
new file mode 100644
index 000000000..8848fb89d
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/DocumentRoot.java
@@ -0,0 +1,179 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.dc;
+
+import java.util.Map;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.ecore.util.FeatureMap;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Document Root</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.dd.dc.DocumentRoot#getMixed <em>Mixed</em>}</li>
+ * <li>{@link org.eclipse.dd.dc.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
+ * <li>{@link org.eclipse.dd.dc.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
+ * <li>{@link org.eclipse.dd.dc.DocumentRoot#getBounds <em>Bounds</em>}</li>
+ * <li>{@link org.eclipse.dd.dc.DocumentRoot#getFont <em>Font</em>}</li>
+ * <li>{@link org.eclipse.dd.dc.DocumentRoot#getPoint <em>Point</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.dd.dc.DcPackage#getDocumentRoot()
+ * @model extendedMetaData="name='' kind='mixed'"
+ * @generated
+ */
+public interface DocumentRoot extends EObject {
+ /**
+ * Returns the value of the '<em><b>Mixed</b></em>' attribute list.
+ * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Mixed</em>' attribute list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Mixed</em>' attribute list.
+ * @see org.eclipse.dd.dc.DcPackage#getDocumentRoot_Mixed()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
+ * extendedMetaData="kind='elementWildcard' name=':mixed'"
+ * @generated
+ */
+ FeatureMap getMixed();
+
+ /**
+ * Returns the value of the '<em><b>XMLNS Prefix Map</b></em>' map.
+ * The key is of type {@link java.lang.String},
+ * and the value is of type {@link java.lang.String},
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>XMLNS Prefix Map</em>' map isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>XMLNS Prefix Map</em>' map.
+ * @see org.eclipse.dd.dc.DcPackage#getDocumentRoot_XMLNSPrefixMap()
+ * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>" transient="true"
+ * extendedMetaData="kind='attribute' name='xmlns:prefix'"
+ * @generated
+ */
+ Map<String, String> getXMLNSPrefixMap();
+
+ /**
+ * Returns the value of the '<em><b>XSI Schema Location</b></em>' map.
+ * The key is of type {@link java.lang.String},
+ * and the value is of type {@link java.lang.String},
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>XSI Schema Location</em>' map isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>XSI Schema Location</em>' map.
+ * @see org.eclipse.dd.dc.DcPackage#getDocumentRoot_XSISchemaLocation()
+ * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>" transient="true"
+ * extendedMetaData="kind='attribute' name='xsi:schemaLocation'"
+ * @generated
+ */
+ Map<String, String> getXSISchemaLocation();
+
+ /**
+ * Returns the value of the '<em><b>Bounds</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Bounds</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Bounds</em>' containment reference.
+ * @see #setBounds(Bounds)
+ * @see org.eclipse.dd.dc.DcPackage#getDocumentRoot_Bounds()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='Bounds' namespace='http://www.omg.org/spec/DD/20100524/DC'"
+ * @generated
+ */
+ Bounds getBounds();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.dd.dc.DocumentRoot#getBounds <em>Bounds</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Bounds</em>' containment reference.
+ * @see #getBounds()
+ * @generated
+ */
+ void setBounds(Bounds value);
+
+ /**
+ * Returns the value of the '<em><b>Font</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Font</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Font</em>' containment reference.
+ * @see #setFont(Font)
+ * @see org.eclipse.dd.dc.DcPackage#getDocumentRoot_Font()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='Font' namespace='http://www.omg.org/spec/DD/20100524/DC'"
+ * @generated
+ */
+ Font getFont();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.dd.dc.DocumentRoot#getFont <em>Font</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Font</em>' containment reference.
+ * @see #getFont()
+ * @generated
+ */
+ void setFont(Font value);
+
+ /**
+ * Returns the value of the '<em><b>Point</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Point</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Point</em>' containment reference.
+ * @see #setPoint(Point)
+ * @see org.eclipse.dd.dc.DcPackage#getDocumentRoot_Point()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='Point' namespace='http://www.omg.org/spec/DD/20100524/DC'"
+ * @generated
+ */
+ Point getPoint();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.dd.dc.DocumentRoot#getPoint <em>Point</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Point</em>' containment reference.
+ * @see #getPoint()
+ * @generated
+ */
+ void setPoint(Point value);
+
+} // DocumentRoot
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/Font.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/Font.java
new file mode 100644
index 000000000..eeb8f2df4
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/Font.java
@@ -0,0 +1,221 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.dc;
+
+import java.util.Map;
+
+import org.eclipse.emf.common.util.DiagnosticChain;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Font</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.dd.dc.Font#isIsBold <em>Is Bold</em>}</li>
+ * <li>{@link org.eclipse.dd.dc.Font#isIsItalic <em>Is Italic</em>}</li>
+ * <li>{@link org.eclipse.dd.dc.Font#isIsStrikeThrough <em>Is Strike Through</em>}</li>
+ * <li>{@link org.eclipse.dd.dc.Font#isIsUnderline <em>Is Underline</em>}</li>
+ * <li>{@link org.eclipse.dd.dc.Font#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.dd.dc.Font#getSize <em>Size</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.dd.dc.DcPackage#getFont()
+ * @model extendedMetaData="name='Font' kind='empty'"
+ * @generated
+ */
+public interface Font extends EObject {
+ /**
+ * Returns the value of the '<em><b>Is Bold</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Is Bold</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Is Bold</em>' attribute.
+ * @see #setIsBold(boolean)
+ * @see org.eclipse.dd.dc.DcPackage#getFont_IsBold()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='isBold'"
+ * @generated
+ */
+ boolean isIsBold();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.dd.dc.Font#isIsBold <em>Is Bold</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Is Bold</em>' attribute.
+ * @see #isIsBold()
+ * @generated
+ */
+ void setIsBold(boolean value);
+
+ /**
+ * Returns the value of the '<em><b>Is Italic</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Is Italic</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Is Italic</em>' attribute.
+ * @see #setIsItalic(boolean)
+ * @see org.eclipse.dd.dc.DcPackage#getFont_IsItalic()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='isItalic'"
+ * @generated
+ */
+ boolean isIsItalic();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.dd.dc.Font#isIsItalic <em>Is Italic</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Is Italic</em>' attribute.
+ * @see #isIsItalic()
+ * @generated
+ */
+ void setIsItalic(boolean value);
+
+ /**
+ * Returns the value of the '<em><b>Is Strike Through</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Is Strike Through</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Is Strike Through</em>' attribute.
+ * @see #setIsStrikeThrough(boolean)
+ * @see org.eclipse.dd.dc.DcPackage#getFont_IsStrikeThrough()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='isStrikeThrough'"
+ * @generated
+ */
+ boolean isIsStrikeThrough();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.dd.dc.Font#isIsStrikeThrough <em>Is Strike Through</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Is Strike Through</em>' attribute.
+ * @see #isIsStrikeThrough()
+ * @generated
+ */
+ void setIsStrikeThrough(boolean value);
+
+ /**
+ * Returns the value of the '<em><b>Is Underline</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Is Underline</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Is Underline</em>' attribute.
+ * @see #setIsUnderline(boolean)
+ * @see org.eclipse.dd.dc.DcPackage#getFont_IsUnderline()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='isUnderline'"
+ * @generated
+ */
+ boolean isIsUnderline();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.dd.dc.Font#isIsUnderline <em>Is Underline</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Is Underline</em>' attribute.
+ * @see #isIsUnderline()
+ * @generated
+ */
+ void setIsUnderline(boolean value);
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.dd.dc.DcPackage#getFont_Name()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.dd.dc.Font#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+ /**
+ * Returns the value of the '<em><b>Size</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Size</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Size</em>' attribute.
+ * @see #setSize(float)
+ * @see org.eclipse.dd.dc.DcPackage#getFont_Size()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='size'"
+ * @generated
+ */
+ float getSize();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.dd.dc.Font#getSize <em>Size</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Size</em>' attribute.
+ * @see #getSize()
+ * @generated
+ */
+ void setSize(float value);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * size >= 0
+ * @param diagnostics The chain of diagnostics to which problems are to be appended.
+ * @param context The cache of context-specific information.
+ * <!-- end-model-doc -->
+ * @model
+ * @generated
+ */
+ boolean non_negative_size(DiagnosticChain diagnostics,
+ Map<Object, Object> context);
+
+} // Font
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/Point.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/Point.java
new file mode 100644
index 000000000..dc953dc96
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/Point.java
@@ -0,0 +1,93 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.dc;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Point</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.dd.dc.Point#getX <em>X</em>}</li>
+ * <li>{@link org.eclipse.dd.dc.Point#getY <em>Y</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.dd.dc.DcPackage#getPoint()
+ * @model extendedMetaData="name='Point' kind='empty'"
+ * @generated
+ */
+public interface Point extends EObject {
+ /**
+ * Returns the value of the '<em><b>X</b></em>' attribute.
+ * The default value is <code>"0"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>X</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>X</em>' attribute.
+ * @see #setX(float)
+ * @see org.eclipse.dd.dc.DcPackage#getPoint_X()
+ * @model default="0" required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='x'"
+ * @generated
+ */
+ float getX();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.dd.dc.Point#getX <em>X</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>X</em>' attribute.
+ * @see #getX()
+ * @generated
+ */
+ void setX(float value);
+
+ /**
+ * Returns the value of the '<em><b>Y</b></em>' attribute.
+ * The default value is <code>"0"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Y</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Y</em>' attribute.
+ * @see #setY(float)
+ * @see org.eclipse.dd.dc.DcPackage#getPoint_Y()
+ * @model default="0" required="true" ordered="false"
+ * extendedMetaData="kind='attribute' name='y'"
+ * @generated
+ */
+ float getY();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.dd.dc.Point#getY <em>Y</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Y</em>' attribute.
+ * @see #getY()
+ * @generated
+ */
+ void setY(float value);
+
+} // Point
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/impl/BoundsImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/impl/BoundsImpl.java
new file mode 100644
index 000000000..0c3a3c669
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/impl/BoundsImpl.java
@@ -0,0 +1,342 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.dc.impl;
+
+import org.eclipse.dd.dc.Bounds;
+import org.eclipse.dd.dc.DcPackage;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Bounds</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.dd.dc.impl.BoundsImpl#getHeight <em>Height</em>}</li>
+ * <li>{@link org.eclipse.dd.dc.impl.BoundsImpl#getWidth <em>Width</em>}</li>
+ * <li>{@link org.eclipse.dd.dc.impl.BoundsImpl#getX <em>X</em>}</li>
+ * <li>{@link org.eclipse.dd.dc.impl.BoundsImpl#getY <em>Y</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class BoundsImpl extends EObjectImpl implements Bounds {
+ /**
+ * The default value of the '{@link #getHeight() <em>Height</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getHeight()
+ * @generated
+ * @ordered
+ */
+ protected static final float HEIGHT_EDEFAULT = 0.0F;
+
+ /**
+ * The cached value of the '{@link #getHeight() <em>Height</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getHeight()
+ * @generated
+ * @ordered
+ */
+ protected float height = HEIGHT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getWidth() <em>Width</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getWidth()
+ * @generated
+ * @ordered
+ */
+ protected static final float WIDTH_EDEFAULT = 0.0F;
+
+ /**
+ * The cached value of the '{@link #getWidth() <em>Width</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getWidth()
+ * @generated
+ * @ordered
+ */
+ protected float width = WIDTH_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getX() <em>X</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getX()
+ * @generated
+ * @ordered
+ */
+ protected static final float X_EDEFAULT = 0.0F;
+
+ /**
+ * The cached value of the '{@link #getX() <em>X</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getX()
+ * @generated
+ * @ordered
+ */
+ protected float x = X_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getY() <em>Y</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getY()
+ * @generated
+ * @ordered
+ */
+ protected static final float Y_EDEFAULT = 0.0F;
+
+ /**
+ * The cached value of the '{@link #getY() <em>Y</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getY()
+ * @generated
+ * @ordered
+ */
+ protected float y = Y_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected BoundsImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DcPackage.Literals.BOUNDS;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public float getHeight() {
+ return height;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setHeight(float newHeight) {
+ float oldHeight = height;
+ height = newHeight;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ DcPackage.BOUNDS__HEIGHT, oldHeight, height));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public float getWidth() {
+ return width;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setWidth(float newWidth) {
+ float oldWidth = width;
+ width = newWidth;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ DcPackage.BOUNDS__WIDTH, oldWidth, width));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public float getX() {
+ return x;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setX(float newX) {
+ float oldX = x;
+ x = newX;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ DcPackage.BOUNDS__X, oldX, x));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public float getY() {
+ return y;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setY(float newY) {
+ float oldY = y;
+ y = newY;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ DcPackage.BOUNDS__Y, oldY, y));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DcPackage.BOUNDS__HEIGHT:
+ return getHeight();
+ case DcPackage.BOUNDS__WIDTH:
+ return getWidth();
+ case DcPackage.BOUNDS__X:
+ return getX();
+ case DcPackage.BOUNDS__Y:
+ return getY();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DcPackage.BOUNDS__HEIGHT:
+ setHeight((Float) newValue);
+ return;
+ case DcPackage.BOUNDS__WIDTH:
+ setWidth((Float) newValue);
+ return;
+ case DcPackage.BOUNDS__X:
+ setX((Float) newValue);
+ return;
+ case DcPackage.BOUNDS__Y:
+ setY((Float) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DcPackage.BOUNDS__HEIGHT:
+ setHeight(HEIGHT_EDEFAULT);
+ return;
+ case DcPackage.BOUNDS__WIDTH:
+ setWidth(WIDTH_EDEFAULT);
+ return;
+ case DcPackage.BOUNDS__X:
+ setX(X_EDEFAULT);
+ return;
+ case DcPackage.BOUNDS__Y:
+ setY(Y_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DcPackage.BOUNDS__HEIGHT:
+ return height != HEIGHT_EDEFAULT;
+ case DcPackage.BOUNDS__WIDTH:
+ return width != WIDTH_EDEFAULT;
+ case DcPackage.BOUNDS__X:
+ return x != X_EDEFAULT;
+ case DcPackage.BOUNDS__Y:
+ return y != Y_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (height: ");
+ result.append(height);
+ result.append(", width: ");
+ result.append(width);
+ result.append(", x: ");
+ result.append(x);
+ result.append(", y: ");
+ result.append(y);
+ result.append(')');
+ return result.toString();
+ }
+
+} //BoundsImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/impl/DcFactoryImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/impl/DcFactoryImpl.java
new file mode 100644
index 000000000..14163e0dd
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/impl/DcFactoryImpl.java
@@ -0,0 +1,145 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.dc.impl;
+
+import org.eclipse.dd.dc.*;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.impl.EFactoryImpl;
+
+import org.eclipse.emf.ecore.plugin.EcorePlugin;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class DcFactoryImpl extends EFactoryImpl implements DcFactory {
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static DcFactory init() {
+ try {
+ DcFactory theDcFactory = (DcFactory) EPackage.Registry.INSTANCE
+ .getEFactory("http://www.omg.org/spec/DD/20100524/DC-XMI");
+ if (theDcFactory != null) {
+ return theDcFactory;
+ }
+ } catch (Exception exception) {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new DcFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DcFactoryImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID()) {
+ case DcPackage.DOCUMENT_ROOT:
+ return createDocumentRoot();
+ case DcPackage.BOUNDS:
+ return createBounds();
+ case DcPackage.FONT:
+ return createFont();
+ case DcPackage.POINT:
+ return createPoint();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName()
+ + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DocumentRoot createDocumentRoot() {
+ DocumentRootImpl documentRoot = new DocumentRootImpl();
+ return documentRoot;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Bounds createBounds() {
+ BoundsImpl bounds = new BoundsImpl();
+ return bounds;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Font createFont() {
+ FontImpl font = new FontImpl();
+ return font;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Point createPoint() {
+ PointImpl point = new PointImpl();
+ return point;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DcPackage getDcPackage() {
+ return (DcPackage) getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static DcPackage getPackage() {
+ return DcPackage.eINSTANCE;
+ }
+
+} //DcFactoryImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/impl/DcPackageImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/impl/DcPackageImpl.java
new file mode 100644
index 000000000..3a55b38af
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/impl/DcPackageImpl.java
@@ -0,0 +1,618 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.dc.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+
+import org.eclipse.bpmn2.di.BpmnDiPackage;
+
+import org.eclipse.bpmn2.di.impl.BpmnDiPackageImpl;
+
+import org.eclipse.bpmn2.impl.Bpmn2PackageImpl;
+
+import org.eclipse.dd.dc.Bounds;
+import org.eclipse.dd.dc.DcFactory;
+import org.eclipse.dd.dc.DcPackage;
+import org.eclipse.dd.dc.DocumentRoot;
+import org.eclipse.dd.dc.Font;
+import org.eclipse.dd.dc.Point;
+
+import org.eclipse.dd.dc.util.DcValidator;
+
+import org.eclipse.dd.di.DiPackage;
+
+import org.eclipse.dd.di.impl.DiPackageImpl;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EGenericType;
+import org.eclipse.emf.ecore.EOperation;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+import org.eclipse.emf.ecore.EValidator;
+
+import org.eclipse.emf.ecore.impl.EPackageImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Package</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class DcPackageImpl extends EPackageImpl implements DcPackage {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass documentRootEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass boundsEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass fontEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass pointEClass = null;
+
+ /**
+ * Creates an instance of the model <b>Package</b>, registered with
+ * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
+ * package URI value.
+ * <p>Note: the correct way to create the package is via the static
+ * factory method {@link #init init()}, which also performs
+ * initialization of the package, or returns the registered package,
+ * if one already exists.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.ecore.EPackage.Registry
+ * @see org.eclipse.dd.dc.DcPackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private DcPackageImpl() {
+ super(eNS_URI, DcFactory.eINSTANCE);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static boolean isInited = false;
+
+ /**
+ * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
+ *
+ * <p>This method is used to initialize {@link DcPackage#eINSTANCE} when that field is accessed.
+ * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #eNS_URI
+ * @see #createPackageContents()
+ * @see #initializePackageContents()
+ * @generated
+ */
+ public static DcPackage init() {
+ if (isInited)
+ return (DcPackage) EPackage.Registry.INSTANCE
+ .getEPackage(DcPackage.eNS_URI);
+
+ // Obtain or create and register package
+ DcPackageImpl theDcPackage = (DcPackageImpl) (EPackage.Registry.INSTANCE
+ .get(eNS_URI) instanceof DcPackageImpl ? EPackage.Registry.INSTANCE
+ .get(eNS_URI) : new DcPackageImpl());
+
+ isInited = true;
+
+ // Obtain or create and register interdependencies
+ Bpmn2PackageImpl theBpmn2Package = (Bpmn2PackageImpl) (EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI) instanceof Bpmn2PackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI) : Bpmn2Package.eINSTANCE);
+ BpmnDiPackageImpl theBpmnDiPackage = (BpmnDiPackageImpl) (EPackage.Registry.INSTANCE
+ .getEPackage(BpmnDiPackage.eNS_URI) instanceof BpmnDiPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(BpmnDiPackage.eNS_URI) : BpmnDiPackage.eINSTANCE);
+ DiPackageImpl theDiPackage = (DiPackageImpl) (EPackage.Registry.INSTANCE
+ .getEPackage(DiPackage.eNS_URI) instanceof DiPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(DiPackage.eNS_URI) : DiPackage.eINSTANCE);
+
+ // Load packages
+ theBpmn2Package.loadPackage();
+
+ // Create package meta-data objects
+ theDcPackage.createPackageContents();
+ theBpmnDiPackage.createPackageContents();
+ theDiPackage.createPackageContents();
+
+ // Initialize created meta-data
+ theDcPackage.initializePackageContents();
+ theBpmnDiPackage.initializePackageContents();
+ theDiPackage.initializePackageContents();
+
+ // Fix loaded packages
+ theBpmn2Package.fixPackageContents();
+
+ // Register package validator
+ EValidator.Registry.INSTANCE.put(theDcPackage,
+ new EValidator.Descriptor() {
+ public EValidator getEValidator() {
+ return DcValidator.INSTANCE;
+ }
+ });
+
+ // Mark meta-data to indicate it can't be changed
+ theDcPackage.freeze();
+
+ // Update the registry and return the package
+ EPackage.Registry.INSTANCE.put(DcPackage.eNS_URI, theDcPackage);
+ return theDcPackage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDocumentRoot() {
+ return documentRootEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDocumentRoot_Mixed() {
+ return (EAttribute) documentRootEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_XMLNSPrefixMap() {
+ return (EReference) documentRootEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_XSISchemaLocation() {
+ return (EReference) documentRootEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Bounds() {
+ return (EReference) documentRootEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Font() {
+ return (EReference) documentRootEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Point() {
+ return (EReference) documentRootEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getBounds() {
+ return boundsEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getBounds_Height() {
+ return (EAttribute) boundsEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getBounds_Width() {
+ return (EAttribute) boundsEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getBounds_X() {
+ return (EAttribute) boundsEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getBounds_Y() {
+ return (EAttribute) boundsEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getFont() {
+ return fontEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getFont_IsBold() {
+ return (EAttribute) fontEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getFont_IsItalic() {
+ return (EAttribute) fontEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getFont_IsStrikeThrough() {
+ return (EAttribute) fontEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getFont_IsUnderline() {
+ return (EAttribute) fontEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getFont_Name() {
+ return (EAttribute) fontEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getFont_Size() {
+ return (EAttribute) fontEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getPoint() {
+ return pointEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getPoint_X() {
+ return (EAttribute) pointEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getPoint_Y() {
+ return (EAttribute) pointEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DcFactory getDcFactory() {
+ return (DcFactory) getEFactoryInstance();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isCreated = false;
+
+ /**
+ * Creates the meta-model objects for the package. This method is
+ * guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void createPackageContents() {
+ if (isCreated)
+ return;
+ isCreated = true;
+
+ // Create classes and their features
+ documentRootEClass = createEClass(DOCUMENT_ROOT);
+ createEAttribute(documentRootEClass, DOCUMENT_ROOT__MIXED);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__BOUNDS);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__FONT);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__POINT);
+
+ boundsEClass = createEClass(BOUNDS);
+ createEAttribute(boundsEClass, BOUNDS__HEIGHT);
+ createEAttribute(boundsEClass, BOUNDS__WIDTH);
+ createEAttribute(boundsEClass, BOUNDS__X);
+ createEAttribute(boundsEClass, BOUNDS__Y);
+
+ fontEClass = createEClass(FONT);
+ createEAttribute(fontEClass, FONT__IS_BOLD);
+ createEAttribute(fontEClass, FONT__IS_ITALIC);
+ createEAttribute(fontEClass, FONT__IS_STRIKE_THROUGH);
+ createEAttribute(fontEClass, FONT__IS_UNDERLINE);
+ createEAttribute(fontEClass, FONT__NAME);
+ createEAttribute(fontEClass, FONT__SIZE);
+
+ pointEClass = createEClass(POINT);
+ createEAttribute(pointEClass, POINT__X);
+ createEAttribute(pointEClass, POINT__Y);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isInitialized = false;
+
+ /**
+ * Complete the initialization of the package and its meta-model. This
+ * method is guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void initializePackageContents() {
+ if (isInitialized)
+ return;
+ isInitialized = true;
+
+ // Initialize package
+ setName(eNAME);
+ setNsPrefix(eNS_PREFIX);
+ setNsURI(eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+
+ // Initialize classes and features; add operations and parameters
+ initEClass(documentRootEClass, DocumentRoot.class, "DocumentRoot",
+ !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDocumentRoot_Mixed(),
+ ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, null,
+ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
+ !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_XMLNSPrefixMap(),
+ ecorePackage.getEStringToStringMapEntry(), null,
+ "xMLNSPrefixMap", null, 0, -1, null, IS_TRANSIENT,
+ !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_XSISchemaLocation(),
+ ecorePackage.getEStringToStringMapEntry(), null,
+ "xSISchemaLocation", null, 0, -1, null, IS_TRANSIENT,
+ !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_Bounds(), this.getBounds(), null,
+ "bounds", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE,
+ IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_Font(), this.getFont(), null, "font",
+ null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE,
+ IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_Point(), this.getPoint(), null, "point",
+ null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE,
+ IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ IS_DERIVED, IS_ORDERED);
+
+ initEClass(boundsEClass, Bounds.class, "Bounds", !IS_ABSTRACT,
+ !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getBounds_Height(), ecorePackage.getEFloat(), "height",
+ null, 1, 1, Bounds.class, !IS_TRANSIENT, !IS_VOLATILE,
+ IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
+ initEAttribute(getBounds_Width(), ecorePackage.getEFloat(), "width",
+ null, 1, 1, Bounds.class, !IS_TRANSIENT, !IS_VOLATILE,
+ IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
+ initEAttribute(getBounds_X(), ecorePackage.getEFloat(), "x", "0", 1, 1,
+ Bounds.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
+ !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getBounds_Y(), ecorePackage.getEFloat(), "y", "0", 1, 1,
+ Bounds.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
+ !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(fontEClass, Font.class, "Font", !IS_ABSTRACT, !IS_INTERFACE,
+ IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getFont_IsBold(), ecorePackage.getEBoolean(), "isBold",
+ null, 0, 1, Font.class, !IS_TRANSIENT, !IS_VOLATILE,
+ IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
+ initEAttribute(getFont_IsItalic(), ecorePackage.getEBoolean(),
+ "isItalic", null, 0, 1, Font.class, !IS_TRANSIENT,
+ !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getFont_IsStrikeThrough(), ecorePackage.getEBoolean(),
+ "isStrikeThrough", null, 0, 1, Font.class, !IS_TRANSIENT,
+ !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getFont_IsUnderline(), ecorePackage.getEBoolean(),
+ "isUnderline", null, 0, 1, Font.class, !IS_TRANSIENT,
+ !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getFont_Name(), ecorePackage.getEString(), "name", null,
+ 0, 1, Font.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
+ !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getFont_Size(), ecorePackage.getEFloat(), "size", null,
+ 0, 1, Font.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
+ !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ EOperation op = addEOperation(fontEClass, ecorePackage.getEBoolean(),
+ "non_negative_size", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0,
+ 1, IS_UNIQUE, IS_ORDERED);
+ EGenericType g1 = createEGenericType(ecorePackage.getEMap());
+ EGenericType g2 = createEGenericType(ecorePackage.getEJavaObject());
+ g1.getETypeArguments().add(g2);
+ g2 = createEGenericType(ecorePackage.getEJavaObject());
+ g1.getETypeArguments().add(g2);
+ addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ initEClass(pointEClass, Point.class, "Point", !IS_ABSTRACT,
+ !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getPoint_X(), ecorePackage.getEFloat(), "x", "0", 1, 1,
+ Point.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
+ !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getPoint_Y(), ecorePackage.getEFloat(), "y", "0", 1, 1,
+ Point.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
+ !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ // Create resource
+ createResource(eNS_URI);
+
+ // Create annotations
+ // http:///org/eclipse/emf/ecore/util/ExtendedMetaData
+ createExtendedMetaDataAnnotations();
+ }
+
+ /**
+ * Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void createExtendedMetaDataAnnotations() {
+ String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData";
+ addAnnotation(documentRootEClass, source, new String[] { "name", "",
+ "kind", "mixed" });
+ addAnnotation(getDocumentRoot_Mixed(), source, new String[] { "kind",
+ "elementWildcard", "name", ":mixed" });
+ addAnnotation(getDocumentRoot_XMLNSPrefixMap(), source, new String[] {
+ "kind", "attribute", "name", "xmlns:prefix" });
+ addAnnotation(getDocumentRoot_XSISchemaLocation(), source,
+ new String[] { "kind", "attribute", "name",
+ "xsi:schemaLocation" });
+ addAnnotation(getDocumentRoot_Bounds(), source, new String[] { "kind",
+ "element", "name", "Bounds", "namespace",
+ "http://www.omg.org/spec/DD/20100524/DC" });
+ addAnnotation(getDocumentRoot_Font(), source, new String[] { "kind",
+ "element", "name", "Font", "namespace",
+ "http://www.omg.org/spec/DD/20100524/DC" });
+ addAnnotation(getDocumentRoot_Point(), source, new String[] { "kind",
+ "element", "name", "Point", "namespace",
+ "http://www.omg.org/spec/DD/20100524/DC" });
+ addAnnotation(boundsEClass, source, new String[] { "name", "Bounds",
+ "kind", "empty" });
+ addAnnotation(getBounds_Height(), source, new String[] { "kind",
+ "attribute", "name", "height" });
+ addAnnotation(getBounds_Width(), source, new String[] { "kind",
+ "attribute", "name", "width" });
+ addAnnotation(getBounds_X(), source, new String[] { "kind",
+ "attribute", "name", "x" });
+ addAnnotation(getBounds_Y(), source, new String[] { "kind",
+ "attribute", "name", "y" });
+ addAnnotation(fontEClass, source, new String[] { "name", "Font",
+ "kind", "empty" });
+ addAnnotation(getFont_IsBold(), source, new String[] { "kind",
+ "attribute", "name", "isBold" });
+ addAnnotation(getFont_IsItalic(), source, new String[] { "kind",
+ "attribute", "name", "isItalic" });
+ addAnnotation(getFont_IsStrikeThrough(), source, new String[] { "kind",
+ "attribute", "name", "isStrikeThrough" });
+ addAnnotation(getFont_IsUnderline(), source, new String[] { "kind",
+ "attribute", "name", "isUnderline" });
+ addAnnotation(getFont_Name(), source, new String[] { "kind",
+ "attribute", "name", "name" });
+ addAnnotation(getFont_Size(), source, new String[] { "kind",
+ "attribute", "name", "size" });
+ addAnnotation(pointEClass, source, new String[] { "name", "Point",
+ "kind", "empty" });
+ addAnnotation(getPoint_X(), source, new String[] { "kind", "attribute",
+ "name", "x" });
+ addAnnotation(getPoint_Y(), source, new String[] { "kind", "attribute",
+ "name", "y" });
+ }
+
+} //DcPackageImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/impl/DocumentRootImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/impl/DocumentRootImpl.java
new file mode 100644
index 000000000..d2e0caf40
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/impl/DocumentRootImpl.java
@@ -0,0 +1,408 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.dc.impl;
+
+import java.util.Map;
+
+import org.eclipse.dd.dc.Bounds;
+import org.eclipse.dd.dc.DcPackage;
+import org.eclipse.dd.dc.DocumentRoot;
+import org.eclipse.dd.dc.Font;
+import org.eclipse.dd.dc.Point;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EMap;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.emf.ecore.EcorePackage;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+import org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl;
+
+import org.eclipse.emf.ecore.util.BasicFeatureMap;
+import org.eclipse.emf.ecore.util.EcoreEMap;
+import org.eclipse.emf.ecore.util.FeatureMap;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Document Root</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.dd.dc.impl.DocumentRootImpl#getMixed <em>Mixed</em>}</li>
+ * <li>{@link org.eclipse.dd.dc.impl.DocumentRootImpl#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
+ * <li>{@link org.eclipse.dd.dc.impl.DocumentRootImpl#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
+ * <li>{@link org.eclipse.dd.dc.impl.DocumentRootImpl#getBounds <em>Bounds</em>}</li>
+ * <li>{@link org.eclipse.dd.dc.impl.DocumentRootImpl#getFont <em>Font</em>}</li>
+ * <li>{@link org.eclipse.dd.dc.impl.DocumentRootImpl#getPoint <em>Point</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DocumentRootImpl extends EObjectImpl implements DocumentRoot {
+ /**
+ * The cached value of the '{@link #getMixed() <em>Mixed</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMixed()
+ * @generated
+ * @ordered
+ */
+ protected FeatureMap mixed;
+
+ /**
+ * The cached value of the '{@link #getXMLNSPrefixMap() <em>XMLNS Prefix Map</em>}' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXMLNSPrefixMap()
+ * @generated
+ * @ordered
+ */
+ protected EMap<String, String> xMLNSPrefixMap;
+
+ /**
+ * The cached value of the '{@link #getXSISchemaLocation() <em>XSI Schema Location</em>}' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXSISchemaLocation()
+ * @generated
+ * @ordered
+ */
+ protected EMap<String, String> xSISchemaLocation;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DocumentRootImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DcPackage.Literals.DOCUMENT_ROOT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeatureMap getMixed() {
+ if (mixed == null) {
+ mixed = new BasicFeatureMap(this, DcPackage.DOCUMENT_ROOT__MIXED);
+ }
+ return mixed;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Map<String, String> getXMLNSPrefixMap() {
+ if (xMLNSPrefixMap == null) {
+ xMLNSPrefixMap = new EcoreEMap<String, String>(
+ EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY,
+ EStringToStringMapEntryImpl.class, this,
+ DcPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
+ }
+ return xMLNSPrefixMap.map();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Map<String, String> getXSISchemaLocation() {
+ if (xSISchemaLocation == null) {
+ xSISchemaLocation = new EcoreEMap<String, String>(
+ EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY,
+ EStringToStringMapEntryImpl.class, this,
+ DcPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
+ }
+ return xSISchemaLocation.map();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Bounds getBounds() {
+ return (Bounds) getMixed().get(
+ DcPackage.Literals.DOCUMENT_ROOT__BOUNDS, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetBounds(Bounds newBounds,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ DcPackage.Literals.DOCUMENT_ROOT__BOUNDS, newBounds, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBounds(Bounds newBounds) {
+ ((FeatureMap.Internal) getMixed()).set(
+ DcPackage.Literals.DOCUMENT_ROOT__BOUNDS, newBounds);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Font getFont() {
+ return (Font) getMixed().get(DcPackage.Literals.DOCUMENT_ROOT__FONT,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetFont(Font newFont, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ DcPackage.Literals.DOCUMENT_ROOT__FONT, newFont, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFont(Font newFont) {
+ ((FeatureMap.Internal) getMixed()).set(
+ DcPackage.Literals.DOCUMENT_ROOT__FONT, newFont);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Point getPoint() {
+ return (Point) getMixed().get(DcPackage.Literals.DOCUMENT_ROOT__POINT,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetPoint(Point newPoint,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ DcPackage.Literals.DOCUMENT_ROOT__POINT, newPoint, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPoint(Point newPoint) {
+ ((FeatureMap.Internal) getMixed()).set(
+ DcPackage.Literals.DOCUMENT_ROOT__POINT, newPoint);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case DcPackage.DOCUMENT_ROOT__MIXED:
+ return ((InternalEList<?>) getMixed()).basicRemove(otherEnd, msgs);
+ case DcPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ return ((InternalEList<?>) ((EMap.InternalMapView<String, String>) getXMLNSPrefixMap())
+ .eMap()).basicRemove(otherEnd, msgs);
+ case DcPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ return ((InternalEList<?>) ((EMap.InternalMapView<String, String>) getXSISchemaLocation())
+ .eMap()).basicRemove(otherEnd, msgs);
+ case DcPackage.DOCUMENT_ROOT__BOUNDS:
+ return basicSetBounds(null, msgs);
+ case DcPackage.DOCUMENT_ROOT__FONT:
+ return basicSetFont(null, msgs);
+ case DcPackage.DOCUMENT_ROOT__POINT:
+ return basicSetPoint(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DcPackage.DOCUMENT_ROOT__MIXED:
+ if (coreType)
+ return getMixed();
+ return ((FeatureMap.Internal) getMixed()).getWrapper();
+ case DcPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ if (coreType)
+ return ((EMap.InternalMapView<String, String>) getXMLNSPrefixMap())
+ .eMap();
+ else
+ return getXMLNSPrefixMap();
+ case DcPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ if (coreType)
+ return ((EMap.InternalMapView<String, String>) getXSISchemaLocation())
+ .eMap();
+ else
+ return getXSISchemaLocation();
+ case DcPackage.DOCUMENT_ROOT__BOUNDS:
+ return getBounds();
+ case DcPackage.DOCUMENT_ROOT__FONT:
+ return getFont();
+ case DcPackage.DOCUMENT_ROOT__POINT:
+ return getPoint();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DcPackage.DOCUMENT_ROOT__MIXED:
+ ((FeatureMap.Internal) getMixed()).set(newValue);
+ return;
+ case DcPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ ((EStructuralFeature.Setting) ((EMap.InternalMapView<String, String>) getXMLNSPrefixMap())
+ .eMap()).set(newValue);
+ return;
+ case DcPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ ((EStructuralFeature.Setting) ((EMap.InternalMapView<String, String>) getXSISchemaLocation())
+ .eMap()).set(newValue);
+ return;
+ case DcPackage.DOCUMENT_ROOT__BOUNDS:
+ setBounds((Bounds) newValue);
+ return;
+ case DcPackage.DOCUMENT_ROOT__FONT:
+ setFont((Font) newValue);
+ return;
+ case DcPackage.DOCUMENT_ROOT__POINT:
+ setPoint((Point) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DcPackage.DOCUMENT_ROOT__MIXED:
+ getMixed().clear();
+ return;
+ case DcPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ getXMLNSPrefixMap().clear();
+ return;
+ case DcPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ getXSISchemaLocation().clear();
+ return;
+ case DcPackage.DOCUMENT_ROOT__BOUNDS:
+ setBounds((Bounds) null);
+ return;
+ case DcPackage.DOCUMENT_ROOT__FONT:
+ setFont((Font) null);
+ return;
+ case DcPackage.DOCUMENT_ROOT__POINT:
+ setPoint((Point) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DcPackage.DOCUMENT_ROOT__MIXED:
+ return mixed != null && !mixed.isEmpty();
+ case DcPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty();
+ case DcPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ return xSISchemaLocation != null && !xSISchemaLocation.isEmpty();
+ case DcPackage.DOCUMENT_ROOT__BOUNDS:
+ return getBounds() != null;
+ case DcPackage.DOCUMENT_ROOT__FONT:
+ return getFont() != null;
+ case DcPackage.DOCUMENT_ROOT__POINT:
+ return getPoint() != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (mixed: ");
+ result.append(mixed);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DocumentRootImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/impl/FontImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/impl/FontImpl.java
new file mode 100644
index 000000000..130159e94
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/impl/FontImpl.java
@@ -0,0 +1,495 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.dc.impl;
+
+import java.util.Map;
+
+import org.eclipse.dd.dc.DcPackage;
+import org.eclipse.dd.dc.Font;
+
+import org.eclipse.dd.dc.util.DcValidator;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.common.util.BasicDiagnostic;
+import org.eclipse.emf.common.util.Diagnostic;
+import org.eclipse.emf.common.util.DiagnosticChain;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.eclipse.emf.ecore.plugin.EcorePlugin;
+
+import org.eclipse.emf.ecore.util.EObjectValidator;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Font</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.dd.dc.impl.FontImpl#isIsBold <em>Is Bold</em>}</li>
+ * <li>{@link org.eclipse.dd.dc.impl.FontImpl#isIsItalic <em>Is Italic</em>}</li>
+ * <li>{@link org.eclipse.dd.dc.impl.FontImpl#isIsStrikeThrough <em>Is Strike Through</em>}</li>
+ * <li>{@link org.eclipse.dd.dc.impl.FontImpl#isIsUnderline <em>Is Underline</em>}</li>
+ * <li>{@link org.eclipse.dd.dc.impl.FontImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.dd.dc.impl.FontImpl#getSize <em>Size</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class FontImpl extends EObjectImpl implements Font {
+ /**
+ * The default value of the '{@link #isIsBold() <em>Is Bold</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsBold()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean IS_BOLD_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isIsBold() <em>Is Bold</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsBold()
+ * @generated
+ * @ordered
+ */
+ protected boolean isBold = IS_BOLD_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #isIsItalic() <em>Is Italic</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsItalic()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean IS_ITALIC_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isIsItalic() <em>Is Italic</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsItalic()
+ * @generated
+ * @ordered
+ */
+ protected boolean isItalic = IS_ITALIC_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #isIsStrikeThrough() <em>Is Strike Through</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsStrikeThrough()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean IS_STRIKE_THROUGH_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isIsStrikeThrough() <em>Is Strike Through</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsStrikeThrough()
+ * @generated
+ * @ordered
+ */
+ protected boolean isStrikeThrough = IS_STRIKE_THROUGH_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #isIsUnderline() <em>Is Underline</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsUnderline()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean IS_UNDERLINE_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isIsUnderline() <em>Is Underline</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsUnderline()
+ * @generated
+ * @ordered
+ */
+ protected boolean isUnderline = IS_UNDERLINE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getSize() <em>Size</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSize()
+ * @generated
+ * @ordered
+ */
+ protected static final float SIZE_EDEFAULT = 0.0F;
+
+ /**
+ * The cached value of the '{@link #getSize() <em>Size</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSize()
+ * @generated
+ * @ordered
+ */
+ protected float size = SIZE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected FontImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DcPackage.Literals.FONT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isIsBold() {
+ return isBold;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIsBold(boolean newIsBold) {
+ boolean oldIsBold = isBold;
+ isBold = newIsBold;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ DcPackage.FONT__IS_BOLD, oldIsBold, isBold));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isIsItalic() {
+ return isItalic;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIsItalic(boolean newIsItalic) {
+ boolean oldIsItalic = isItalic;
+ isItalic = newIsItalic;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ DcPackage.FONT__IS_ITALIC, oldIsItalic, isItalic));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isIsStrikeThrough() {
+ return isStrikeThrough;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIsStrikeThrough(boolean newIsStrikeThrough) {
+ boolean oldIsStrikeThrough = isStrikeThrough;
+ isStrikeThrough = newIsStrikeThrough;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ DcPackage.FONT__IS_STRIKE_THROUGH, oldIsStrikeThrough,
+ isStrikeThrough));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isIsUnderline() {
+ return isUnderline;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIsUnderline(boolean newIsUnderline) {
+ boolean oldIsUnderline = isUnderline;
+ isUnderline = newIsUnderline;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ DcPackage.FONT__IS_UNDERLINE, oldIsUnderline, isUnderline));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ DcPackage.FONT__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public float getSize() {
+ return size;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSize(float newSize) {
+ float oldSize = size;
+ size = newSize;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ DcPackage.FONT__SIZE, oldSize, size));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean non_negative_size(DiagnosticChain diagnostics,
+ Map<Object, Object> context) {
+ // TODO: implement this method
+ // -> specify the condition that violates the invariant
+ // -> verify the details of the diagnostic, including severity and message
+ // Ensure that you remove @generated or mark it @generated NOT
+ if (false) {
+ if (diagnostics != null) {
+ diagnostics.add(new BasicDiagnostic(Diagnostic.ERROR,
+ DcValidator.DIAGNOSTIC_SOURCE,
+ DcValidator.FONT__NON_NEGATIVE_SIZE,
+ EcorePlugin.INSTANCE.getString(
+ "_UI_GenericInvariant_diagnostic",
+ new Object[] {
+ "non_negative_size",
+ EObjectValidator.getObjectLabel(this,
+ context) }),
+ new Object[] { this }));
+ }
+ return false;
+ }
+ return true;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DcPackage.FONT__IS_BOLD:
+ return isIsBold();
+ case DcPackage.FONT__IS_ITALIC:
+ return isIsItalic();
+ case DcPackage.FONT__IS_STRIKE_THROUGH:
+ return isIsStrikeThrough();
+ case DcPackage.FONT__IS_UNDERLINE:
+ return isIsUnderline();
+ case DcPackage.FONT__NAME:
+ return getName();
+ case DcPackage.FONT__SIZE:
+ return getSize();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DcPackage.FONT__IS_BOLD:
+ setIsBold((Boolean) newValue);
+ return;
+ case DcPackage.FONT__IS_ITALIC:
+ setIsItalic((Boolean) newValue);
+ return;
+ case DcPackage.FONT__IS_STRIKE_THROUGH:
+ setIsStrikeThrough((Boolean) newValue);
+ return;
+ case DcPackage.FONT__IS_UNDERLINE:
+ setIsUnderline((Boolean) newValue);
+ return;
+ case DcPackage.FONT__NAME:
+ setName((String) newValue);
+ return;
+ case DcPackage.FONT__SIZE:
+ setSize((Float) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DcPackage.FONT__IS_BOLD:
+ setIsBold(IS_BOLD_EDEFAULT);
+ return;
+ case DcPackage.FONT__IS_ITALIC:
+ setIsItalic(IS_ITALIC_EDEFAULT);
+ return;
+ case DcPackage.FONT__IS_STRIKE_THROUGH:
+ setIsStrikeThrough(IS_STRIKE_THROUGH_EDEFAULT);
+ return;
+ case DcPackage.FONT__IS_UNDERLINE:
+ setIsUnderline(IS_UNDERLINE_EDEFAULT);
+ return;
+ case DcPackage.FONT__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case DcPackage.FONT__SIZE:
+ setSize(SIZE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DcPackage.FONT__IS_BOLD:
+ return isBold != IS_BOLD_EDEFAULT;
+ case DcPackage.FONT__IS_ITALIC:
+ return isItalic != IS_ITALIC_EDEFAULT;
+ case DcPackage.FONT__IS_STRIKE_THROUGH:
+ return isStrikeThrough != IS_STRIKE_THROUGH_EDEFAULT;
+ case DcPackage.FONT__IS_UNDERLINE:
+ return isUnderline != IS_UNDERLINE_EDEFAULT;
+ case DcPackage.FONT__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
+ .equals(name);
+ case DcPackage.FONT__SIZE:
+ return size != SIZE_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (isBold: ");
+ result.append(isBold);
+ result.append(", isItalic: ");
+ result.append(isItalic);
+ result.append(", isStrikeThrough: ");
+ result.append(isStrikeThrough);
+ result.append(", isUnderline: ");
+ result.append(isUnderline);
+ result.append(", name: ");
+ result.append(name);
+ result.append(", size: ");
+ result.append(size);
+ result.append(')');
+ return result.toString();
+ }
+
+} //FontImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/impl/PointImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/impl/PointImpl.java
new file mode 100644
index 000000000..51795e67e
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/impl/PointImpl.java
@@ -0,0 +1,232 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.dc.impl;
+
+import org.eclipse.dd.dc.DcPackage;
+import org.eclipse.dd.dc.Point;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Point</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.dd.dc.impl.PointImpl#getX <em>X</em>}</li>
+ * <li>{@link org.eclipse.dd.dc.impl.PointImpl#getY <em>Y</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class PointImpl extends EObjectImpl implements Point {
+ /**
+ * The default value of the '{@link #getX() <em>X</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getX()
+ * @generated
+ * @ordered
+ */
+ protected static final float X_EDEFAULT = 0.0F;
+
+ /**
+ * The cached value of the '{@link #getX() <em>X</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getX()
+ * @generated
+ * @ordered
+ */
+ protected float x = X_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getY() <em>Y</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getY()
+ * @generated
+ * @ordered
+ */
+ protected static final float Y_EDEFAULT = 0.0F;
+
+ /**
+ * The cached value of the '{@link #getY() <em>Y</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getY()
+ * @generated
+ * @ordered
+ */
+ protected float y = Y_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected PointImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DcPackage.Literals.POINT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public float getX() {
+ return x;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setX(float newX) {
+ float oldX = x;
+ x = newX;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ DcPackage.POINT__X, oldX, x));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public float getY() {
+ return y;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setY(float newY) {
+ float oldY = y;
+ y = newY;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ DcPackage.POINT__Y, oldY, y));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DcPackage.POINT__X:
+ return getX();
+ case DcPackage.POINT__Y:
+ return getY();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DcPackage.POINT__X:
+ setX((Float) newValue);
+ return;
+ case DcPackage.POINT__Y:
+ setY((Float) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DcPackage.POINT__X:
+ setX(X_EDEFAULT);
+ return;
+ case DcPackage.POINT__Y:
+ setY(Y_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DcPackage.POINT__X:
+ return x != X_EDEFAULT;
+ case DcPackage.POINT__Y:
+ return y != Y_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (x: ");
+ result.append(x);
+ result.append(", y: ");
+ result.append(y);
+ result.append(')');
+ return result.toString();
+ }
+
+} //PointImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/util/DcAdapterFactory.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/util/DcAdapterFactory.java
new file mode 100644
index 000000000..3b8f0866e
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/util/DcAdapterFactory.java
@@ -0,0 +1,188 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.dc.util;
+
+import org.eclipse.dd.dc.*;
+
+import org.eclipse.emf.common.notify.Adapter;
+import org.eclipse.emf.common.notify.Notifier;
+
+import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Adapter Factory</b> for the model.
+ * It provides an adapter <code>createXXX</code> method for each class of the model.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.dc.DcPackage
+ * @generated
+ */
+public class DcAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static DcPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DcAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = DcPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ * <!-- begin-user-doc -->
+ * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
+ * <!-- end-user-doc -->
+ * @return whether this factory is applicable for the type of the object.
+ * @generated
+ */
+ @Override
+ public boolean isFactoryForType(Object object) {
+ if (object == modelPackage) {
+ return true;
+ }
+ if (object instanceof EObject) {
+ return ((EObject) object).eClass().getEPackage() == modelPackage;
+ }
+ return false;
+ }
+
+ /**
+ * The switch that delegates to the <code>createXXX</code> methods.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DcSwitch<Adapter> modelSwitch = new DcSwitch<Adapter>() {
+ @Override
+ public Adapter caseDocumentRoot(DocumentRoot object) {
+ return createDocumentRootAdapter();
+ }
+
+ @Override
+ public Adapter caseBounds(Bounds object) {
+ return createBoundsAdapter();
+ }
+
+ @Override
+ public Adapter caseFont(Font object) {
+ return createFontAdapter();
+ }
+
+ @Override
+ public Adapter casePoint(Point object) {
+ return createPointAdapter();
+ }
+
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
+
+ /**
+ * Creates an adapter for the <code>target</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param target the object to adapt.
+ * @return the adapter for the <code>target</code>.
+ * @generated
+ */
+ @Override
+ public Adapter createAdapter(Notifier target) {
+ return modelSwitch.doSwitch((EObject) target);
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.dd.dc.DocumentRoot <em>Document Root</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.dd.dc.DocumentRoot
+ * @generated
+ */
+ public Adapter createDocumentRootAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.dd.dc.Bounds <em>Bounds</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.dd.dc.Bounds
+ * @generated
+ */
+ public Adapter createBoundsAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.dd.dc.Font <em>Font</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.dd.dc.Font
+ * @generated
+ */
+ public Adapter createFontAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.dd.dc.Point <em>Point</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.dd.dc.Point
+ * @generated
+ */
+ public Adapter createPointAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
+
+} //DcAdapterFactory
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/util/DcResourceFactoryImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/util/DcResourceFactoryImpl.java
new file mode 100644
index 000000000..d5a746767
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/util/DcResourceFactoryImpl.java
@@ -0,0 +1,70 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.dc.util;
+
+import org.eclipse.emf.common.util.URI;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
+
+import org.eclipse.emf.ecore.xmi.XMLResource;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Resource Factory</b> associated with the package.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.dc.util.DcResourceImpl
+ * @generated
+ */
+public class DcResourceFactoryImpl extends ResourceFactoryImpl {
+ /**
+ * Creates an instance of the resource factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DcResourceFactoryImpl() {
+ super();
+ }
+
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Resource createResource(URI uri) {
+ XMLResource result = new DcResourceImpl(uri);
+ result.getDefaultSaveOptions().put(
+ XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
+ result.getDefaultLoadOptions().put(
+ XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
+
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION,
+ Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(
+ XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
+ result.getDefaultSaveOptions().put(
+ XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(
+ XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
+ return result;
+ }
+
+} //DcResourceFactoryImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/util/DcResourceImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/util/DcResourceImpl.java
new file mode 100644
index 000000000..1c6c77648
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/util/DcResourceImpl.java
@@ -0,0 +1,40 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.dc.util;
+
+import org.eclipse.emf.common.util.URI;
+
+import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Resource </b> associated with the package.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.dc.util.DcResourceFactoryImpl
+ * @generated
+ */
+public class DcResourceImpl extends XMLResourceImpl {
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param uri the URI of the new resource.
+ * @generated
+ */
+ public DcResourceImpl(URI uri) {
+ super(uri);
+ }
+
+} //DcResourceImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/util/DcSwitch.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/util/DcSwitch.java
new file mode 100644
index 000000000..334712853
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/util/DcSwitch.java
@@ -0,0 +1,203 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.dc.util;
+
+import java.util.List;
+
+import org.eclipse.dd.dc.*;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Switch</b> for the model's inheritance hierarchy.
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
+ * to invoke the <code>caseXXX</code> method for each class of the model,
+ * starting with the actual class of the object
+ * and proceeding up the inheritance hierarchy
+ * until a non-null result is returned,
+ * which is the result of the switch.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.dc.DcPackage
+ * @generated
+ */
+public class DcSwitch<T> {
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static DcPackage modelPackage;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DcSwitch() {
+ if (modelPackage == null) {
+ modelPackage = DcPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ public T doSwitch(EObject theEObject) {
+ return doSwitch(theEObject.eClass(), theEObject);
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ protected T doSwitch(EClass theEClass, EObject theEObject) {
+ if (theEClass.eContainer() == modelPackage) {
+ return doSwitch(theEClass.getClassifierID(), theEObject);
+ } else {
+ List<EClass> eSuperTypes = theEClass.getESuperTypes();
+ return eSuperTypes.isEmpty() ? defaultCase(theEObject) : doSwitch(
+ eSuperTypes.get(0), theEObject);
+ }
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ protected T doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID) {
+ case DcPackage.DOCUMENT_ROOT: {
+ DocumentRoot documentRoot = (DocumentRoot) theEObject;
+ T result = caseDocumentRoot(documentRoot);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case DcPackage.BOUNDS: {
+ Bounds bounds = (Bounds) theEObject;
+ T result = caseBounds(bounds);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case DcPackage.FONT: {
+ Font font = (Font) theEObject;
+ T result = caseFont(font);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case DcPackage.POINT: {
+ Point point = (Point) theEObject;
+ T result = casePoint(point);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ default:
+ return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Document Root</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Document Root</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDocumentRoot(DocumentRoot object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Bounds</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Bounds</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseBounds(Bounds object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Font</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Font</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseFont(Font object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Point</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Point</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T casePoint(Point object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch, but this is the last case anyway.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ public T defaultCase(EObject object) {
+ return null;
+ }
+
+} //DcSwitch
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/util/DcValidator.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/util/DcValidator.java
new file mode 100644
index 000000000..8cf5b0d0c
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/util/DcValidator.java
@@ -0,0 +1,207 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.dc.util;
+
+import java.util.Map;
+
+import org.eclipse.dd.dc.*;
+
+import org.eclipse.emf.common.util.DiagnosticChain;
+import org.eclipse.emf.common.util.ResourceLocator;
+
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.util.EObjectValidator;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Validator</b> for the model.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.dc.DcPackage
+ * @generated
+ */
+public class DcValidator extends EObjectValidator {
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final DcValidator INSTANCE = new DcValidator();
+
+ /**
+ * A constant for the {@link org.eclipse.emf.common.util.Diagnostic#getSource() source} of diagnostic {@link org.eclipse.emf.common.util.Diagnostic#getCode() codes} from this package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.common.util.Diagnostic#getSource()
+ * @see org.eclipse.emf.common.util.Diagnostic#getCode()
+ * @generated
+ */
+ public static final String DIAGNOSTIC_SOURCE = "org.eclipse.dd.dc";
+
+ /**
+ * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint 'Non negative size' of 'Font'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final int FONT__NON_NEGATIVE_SIZE = 1;
+
+ /**
+ * A constant with a fixed name that can be used as the base value for additional hand written constants.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final int GENERATED_DIAGNOSTIC_CODE_COUNT = 1;
+
+ /**
+ * A constant with a fixed name that can be used as the base value for additional hand written constants in a derived class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static final int DIAGNOSTIC_CODE_COUNT = GENERATED_DIAGNOSTIC_CODE_COUNT;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DcValidator() {
+ super();
+ }
+
+ /**
+ * Returns the package of this validator switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EPackage getEPackage() {
+ return DcPackage.eINSTANCE;
+ }
+
+ /**
+ * Calls <code>validateXXX</code> for the corresponding classifier of the model.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean validate(int classifierID, Object value,
+ DiagnosticChain diagnostics, Map<Object, Object> context) {
+ switch (classifierID) {
+ case DcPackage.DOCUMENT_ROOT:
+ return validateDocumentRoot((DocumentRoot) value, diagnostics,
+ context);
+ case DcPackage.BOUNDS:
+ return validateBounds((Bounds) value, diagnostics, context);
+ case DcPackage.FONT:
+ return validateFont((Font) value, diagnostics, context);
+ case DcPackage.POINT:
+ return validatePoint((Point) value, diagnostics, context);
+ default:
+ return true;
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateDocumentRoot(DocumentRoot documentRoot,
+ DiagnosticChain diagnostics, Map<Object, Object> context) {
+ return validate_EveryDefaultConstraint(documentRoot, diagnostics,
+ context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateBounds(Bounds bounds, DiagnosticChain diagnostics,
+ Map<Object, Object> context) {
+ return validate_EveryDefaultConstraint(bounds, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateFont(Font font, DiagnosticChain diagnostics,
+ Map<Object, Object> context) {
+ boolean result = validate_EveryMultiplicityConforms(font, diagnostics,
+ context);
+ if (result || diagnostics != null)
+ result &= validate_EveryDataValueConforms(font, diagnostics,
+ context);
+ if (result || diagnostics != null)
+ result &= validate_EveryReferenceIsContained(font, diagnostics,
+ context);
+ if (result || diagnostics != null)
+ result &= validate_EveryProxyResolves(font, diagnostics, context);
+ if (result || diagnostics != null)
+ result &= validate_UniqueID(font, diagnostics, context);
+ if (result || diagnostics != null)
+ result &= validate_EveryKeyUnique(font, diagnostics, context);
+ if (result || diagnostics != null)
+ result &= validate_EveryMapEntryUnique(font, diagnostics, context);
+ if (result || diagnostics != null)
+ result &= validateFont_non_negative_size(font, diagnostics, context);
+ return result;
+ }
+
+ /**
+ * Validates the non_negative_size constraint of '<em>Font</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateFont_non_negative_size(Font font,
+ DiagnosticChain diagnostics, Map<Object, Object> context) {
+ return font.non_negative_size(diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validatePoint(Point point, DiagnosticChain diagnostics,
+ Map<Object, Object> context) {
+ return validate_EveryDefaultConstraint(point, diagnostics, context);
+ }
+
+ /**
+ * Returns the resource locator that will be used to fetch messages for this validator's diagnostics.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ // TODO
+ // Specialize this to return a resource locator for messages specific to this validator.
+ // Ensure that you remove @generated or mark it @generated NOT
+ return super.getResourceLocator();
+ }
+
+} //DcValidator
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/util/DcXMLProcessor.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/util/DcXMLProcessor.java
new file mode 100644
index 000000000..993d6130b
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/dc/util/DcXMLProcessor.java
@@ -0,0 +1,62 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.dc.util;
+
+import java.util.Map;
+
+import org.eclipse.dd.dc.DcPackage;
+
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
+
+/**
+ * This class contains helper methods to serialize and deserialize XML documents
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class DcXMLProcessor extends XMLProcessor {
+
+ /**
+ * Public constructor to instantiate the helper.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DcXMLProcessor() {
+ super((EPackage.Registry.INSTANCE));
+ DcPackage.eINSTANCE.eClass();
+ }
+
+ /**
+ * Register for "*" and "xml" file extensions the DcResourceFactoryImpl factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected Map<String, Resource.Factory> getRegistrations() {
+ if (registrations == null) {
+ super.getRegistrations();
+ registrations.put(XML_EXTENSION, new DcResourceFactoryImpl());
+ registrations.put(STAR_EXTENSION, new DcResourceFactoryImpl());
+ }
+ return registrations;
+ }
+
+} //DcXMLProcessor
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/DiFactory.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/DiFactory.java
new file mode 100644
index 000000000..3af6dc1d9
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/DiFactory.java
@@ -0,0 +1,63 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.di;
+
+import org.eclipse.emf.ecore.EFactory;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Factory</b> for the model.
+ * It provides a create method for each non-abstract class of the model.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.di.DiPackage
+ * @generated
+ */
+public interface DiFactory extends EFactory {
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ DiFactory eINSTANCE = org.eclipse.dd.di.impl.DiFactoryImpl.init();
+
+ /**
+ * Returns a new object of class '<em>Document Root</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Document Root</em>'.
+ * @generated
+ */
+ DocumentRoot createDocumentRoot();
+
+ /**
+ * Returns a new object of class '<em>Diagram Element</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Diagram Element</em>'.
+ * @generated
+ */
+ DiagramElement createDiagramElement();
+
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the package supported by this factory.
+ * @generated
+ */
+ DiPackage getDiPackage();
+
+} //DiFactory
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/DiPackage.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/DiPackage.java
new file mode 100644
index 000000000..87d8d58e4
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/DiPackage.java
@@ -0,0 +1,1901 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.di;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Package</b> for the model.
+ * It contains accessors for the meta objects to represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.di.DiFactory
+ * @model kind="package"
+ * @generated
+ */
+public interface DiPackage extends EPackage {
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNAME = "di";
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_URI = "http://www.omg.org/spec/DD/20100524/DI-XMI";
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_PREFIX = "di";
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ DiPackage eINSTANCE = org.eclipse.dd.di.impl.DiPackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link org.eclipse.dd.di.impl.DocumentRootImpl <em>Document Root</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.di.impl.DocumentRootImpl
+ * @see org.eclipse.dd.di.impl.DiPackageImpl#getDocumentRoot()
+ * @generated
+ */
+ int DOCUMENT_ROOT = 0;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__MIXED = 0;
+
+ /**
+ * The feature id for the '<em><b>XMLNS Prefix Map</b></em>' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__XMLNS_PREFIX_MAP = 1;
+
+ /**
+ * The feature id for the '<em><b>XSI Schema Location</b></em>' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = 2;
+
+ /**
+ * The feature id for the '<em><b>Diagram Element</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__DIAGRAM_ELEMENT = 3;
+
+ /**
+ * The feature id for the '<em><b>Diagram</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__DIAGRAM = 4;
+
+ /**
+ * The feature id for the '<em><b>Edge</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__EDGE = 5;
+
+ /**
+ * The feature id for the '<em><b>Label</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__LABEL = 6;
+
+ /**
+ * The feature id for the '<em><b>Labeled Edge</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__LABELED_EDGE = 7;
+
+ /**
+ * The feature id for the '<em><b>Labeled Shape</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__LABELED_SHAPE = 8;
+
+ /**
+ * The feature id for the '<em><b>Node</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__NODE = 9;
+
+ /**
+ * The feature id for the '<em><b>Plane</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__PLANE = 10;
+
+ /**
+ * The feature id for the '<em><b>Shape</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__SHAPE = 11;
+
+ /**
+ * The feature id for the '<em><b>Style</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__STYLE = 12;
+
+ /**
+ * The number of structural features of the '<em>Document Root</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT_FEATURE_COUNT = 13;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.dd.di.impl.DiagramImpl <em>Diagram</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.di.impl.DiagramImpl
+ * @see org.eclipse.dd.di.impl.DiPackageImpl#getDiagram()
+ * @generated
+ */
+ int DIAGRAM = 1;
+
+ /**
+ * The feature id for the '<em><b>Documentation</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIAGRAM__DOCUMENTATION = 0;
+
+ /**
+ * The feature id for the '<em><b>Owned Style</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIAGRAM__OWNED_STYLE = 1;
+
+ /**
+ * The feature id for the '<em><b>Root Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIAGRAM__ROOT_ELEMENT = 2;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIAGRAM__ID = 3;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIAGRAM__NAME = 4;
+
+ /**
+ * The feature id for the '<em><b>Resolution</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIAGRAM__RESOLUTION = 5;
+
+ /**
+ * The number of structural features of the '<em>Diagram</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIAGRAM_FEATURE_COUNT = 6;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.dd.di.impl.DiagramElementImpl <em>Diagram Element</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.di.impl.DiagramElementImpl
+ * @see org.eclipse.dd.di.impl.DiPackageImpl#getDiagramElement()
+ * @generated
+ */
+ int DIAGRAM_ELEMENT = 2;
+
+ /**
+ * The feature id for the '<em><b>Owning Diagram</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIAGRAM_ELEMENT__OWNING_DIAGRAM = 0;
+
+ /**
+ * The feature id for the '<em><b>Owning Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIAGRAM_ELEMENT__OWNING_ELEMENT = 1;
+
+ /**
+ * The feature id for the '<em><b>Owned Element</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIAGRAM_ELEMENT__OWNED_ELEMENT = 2;
+
+ /**
+ * The feature id for the '<em><b>Model Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIAGRAM_ELEMENT__MODEL_ELEMENT = 3;
+
+ /**
+ * The feature id for the '<em><b>Style</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIAGRAM_ELEMENT__STYLE = 4;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIAGRAM_ELEMENT__ID = 5;
+
+ /**
+ * The number of structural features of the '<em>Diagram Element</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIAGRAM_ELEMENT_FEATURE_COUNT = 6;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.dd.di.impl.EdgeImpl <em>Edge</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.di.impl.EdgeImpl
+ * @see org.eclipse.dd.di.impl.DiPackageImpl#getEdge()
+ * @generated
+ */
+ int EDGE = 3;
+
+ /**
+ * The feature id for the '<em><b>Owning Diagram</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EDGE__OWNING_DIAGRAM = DIAGRAM_ELEMENT__OWNING_DIAGRAM;
+
+ /**
+ * The feature id for the '<em><b>Owning Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EDGE__OWNING_ELEMENT = DIAGRAM_ELEMENT__OWNING_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Owned Element</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EDGE__OWNED_ELEMENT = DIAGRAM_ELEMENT__OWNED_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Model Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EDGE__MODEL_ELEMENT = DIAGRAM_ELEMENT__MODEL_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Style</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EDGE__STYLE = DIAGRAM_ELEMENT__STYLE;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EDGE__ID = DIAGRAM_ELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Source</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EDGE__SOURCE = DIAGRAM_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Target</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EDGE__TARGET = DIAGRAM_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Waypoint</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EDGE__WAYPOINT = DIAGRAM_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>Edge</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EDGE_FEATURE_COUNT = DIAGRAM_ELEMENT_FEATURE_COUNT + 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.dd.di.impl.NodeImpl <em>Node</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.di.impl.NodeImpl
+ * @see org.eclipse.dd.di.impl.DiPackageImpl#getNode()
+ * @generated
+ */
+ int NODE = 7;
+
+ /**
+ * The feature id for the '<em><b>Owning Diagram</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int NODE__OWNING_DIAGRAM = DIAGRAM_ELEMENT__OWNING_DIAGRAM;
+
+ /**
+ * The feature id for the '<em><b>Owning Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int NODE__OWNING_ELEMENT = DIAGRAM_ELEMENT__OWNING_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Owned Element</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int NODE__OWNED_ELEMENT = DIAGRAM_ELEMENT__OWNED_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Model Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int NODE__MODEL_ELEMENT = DIAGRAM_ELEMENT__MODEL_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Style</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int NODE__STYLE = DIAGRAM_ELEMENT__STYLE;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int NODE__ID = DIAGRAM_ELEMENT__ID;
+
+ /**
+ * The number of structural features of the '<em>Node</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int NODE_FEATURE_COUNT = DIAGRAM_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.dd.di.impl.LabelImpl <em>Label</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.di.impl.LabelImpl
+ * @see org.eclipse.dd.di.impl.DiPackageImpl#getLabel()
+ * @generated
+ */
+ int LABEL = 4;
+
+ /**
+ * The feature id for the '<em><b>Owning Diagram</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LABEL__OWNING_DIAGRAM = NODE__OWNING_DIAGRAM;
+
+ /**
+ * The feature id for the '<em><b>Owning Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LABEL__OWNING_ELEMENT = NODE__OWNING_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Owned Element</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LABEL__OWNED_ELEMENT = NODE__OWNED_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Model Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LABEL__MODEL_ELEMENT = NODE__MODEL_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Style</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LABEL__STYLE = NODE__STYLE;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LABEL__ID = NODE__ID;
+
+ /**
+ * The feature id for the '<em><b>Bounds</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LABEL__BOUNDS = NODE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Label</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LABEL_FEATURE_COUNT = NODE_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.dd.di.impl.LabeledEdgeImpl <em>Labeled Edge</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.di.impl.LabeledEdgeImpl
+ * @see org.eclipse.dd.di.impl.DiPackageImpl#getLabeledEdge()
+ * @generated
+ */
+ int LABELED_EDGE = 5;
+
+ /**
+ * The feature id for the '<em><b>Owning Diagram</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LABELED_EDGE__OWNING_DIAGRAM = EDGE__OWNING_DIAGRAM;
+
+ /**
+ * The feature id for the '<em><b>Owning Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LABELED_EDGE__OWNING_ELEMENT = EDGE__OWNING_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Owned Element</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LABELED_EDGE__OWNED_ELEMENT = EDGE__OWNED_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Model Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LABELED_EDGE__MODEL_ELEMENT = EDGE__MODEL_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Style</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LABELED_EDGE__STYLE = EDGE__STYLE;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LABELED_EDGE__ID = EDGE__ID;
+
+ /**
+ * The feature id for the '<em><b>Source</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LABELED_EDGE__SOURCE = EDGE__SOURCE;
+
+ /**
+ * The feature id for the '<em><b>Target</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LABELED_EDGE__TARGET = EDGE__TARGET;
+
+ /**
+ * The feature id for the '<em><b>Waypoint</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LABELED_EDGE__WAYPOINT = EDGE__WAYPOINT;
+
+ /**
+ * The feature id for the '<em><b>Owned Label</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LABELED_EDGE__OWNED_LABEL = EDGE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Labeled Edge</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LABELED_EDGE_FEATURE_COUNT = EDGE_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.dd.di.impl.ShapeImpl <em>Shape</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.di.impl.ShapeImpl
+ * @see org.eclipse.dd.di.impl.DiPackageImpl#getShape()
+ * @generated
+ */
+ int SHAPE = 9;
+
+ /**
+ * The feature id for the '<em><b>Owning Diagram</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SHAPE__OWNING_DIAGRAM = NODE__OWNING_DIAGRAM;
+
+ /**
+ * The feature id for the '<em><b>Owning Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SHAPE__OWNING_ELEMENT = NODE__OWNING_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Owned Element</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SHAPE__OWNED_ELEMENT = NODE__OWNED_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Model Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SHAPE__MODEL_ELEMENT = NODE__MODEL_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Style</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SHAPE__STYLE = NODE__STYLE;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SHAPE__ID = NODE__ID;
+
+ /**
+ * The feature id for the '<em><b>Bounds</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SHAPE__BOUNDS = NODE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Shape</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SHAPE_FEATURE_COUNT = NODE_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.dd.di.impl.LabeledShapeImpl <em>Labeled Shape</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.di.impl.LabeledShapeImpl
+ * @see org.eclipse.dd.di.impl.DiPackageImpl#getLabeledShape()
+ * @generated
+ */
+ int LABELED_SHAPE = 6;
+
+ /**
+ * The feature id for the '<em><b>Owning Diagram</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LABELED_SHAPE__OWNING_DIAGRAM = SHAPE__OWNING_DIAGRAM;
+
+ /**
+ * The feature id for the '<em><b>Owning Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LABELED_SHAPE__OWNING_ELEMENT = SHAPE__OWNING_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Owned Element</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LABELED_SHAPE__OWNED_ELEMENT = SHAPE__OWNED_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Model Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LABELED_SHAPE__MODEL_ELEMENT = SHAPE__MODEL_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Style</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LABELED_SHAPE__STYLE = SHAPE__STYLE;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LABELED_SHAPE__ID = SHAPE__ID;
+
+ /**
+ * The feature id for the '<em><b>Bounds</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LABELED_SHAPE__BOUNDS = SHAPE__BOUNDS;
+
+ /**
+ * The feature id for the '<em><b>Owned Label</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LABELED_SHAPE__OWNED_LABEL = SHAPE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Labeled Shape</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LABELED_SHAPE_FEATURE_COUNT = SHAPE_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.dd.di.impl.PlaneImpl <em>Plane</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.di.impl.PlaneImpl
+ * @see org.eclipse.dd.di.impl.DiPackageImpl#getPlane()
+ * @generated
+ */
+ int PLANE = 8;
+
+ /**
+ * The feature id for the '<em><b>Owning Diagram</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PLANE__OWNING_DIAGRAM = NODE__OWNING_DIAGRAM;
+
+ /**
+ * The feature id for the '<em><b>Owning Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PLANE__OWNING_ELEMENT = NODE__OWNING_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Owned Element</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PLANE__OWNED_ELEMENT = NODE__OWNED_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Model Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PLANE__MODEL_ELEMENT = NODE__MODEL_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Style</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PLANE__STYLE = NODE__STYLE;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PLANE__ID = NODE__ID;
+
+ /**
+ * The feature id for the '<em><b>Plane Element</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PLANE__PLANE_ELEMENT = NODE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Plane</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PLANE_FEATURE_COUNT = NODE_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.dd.di.impl.StyleImpl <em>Style</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.di.impl.StyleImpl
+ * @see org.eclipse.dd.di.impl.DiPackageImpl#getStyle()
+ * @generated
+ */
+ int STYLE = 10;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int STYLE__ID = 0;
+
+ /**
+ * The number of structural features of the '<em>Style</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int STYLE_FEATURE_COUNT = 1;
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.dd.di.DocumentRoot <em>Document Root</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Document Root</em>'.
+ * @see org.eclipse.dd.di.DocumentRoot
+ * @generated
+ */
+ EClass getDocumentRoot();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.eclipse.dd.di.DocumentRoot#getMixed <em>Mixed</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Mixed</em>'.
+ * @see org.eclipse.dd.di.DocumentRoot#getMixed()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EAttribute getDocumentRoot_Mixed();
+
+ /**
+ * Returns the meta object for the map '{@link org.eclipse.dd.di.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the map '<em>XMLNS Prefix Map</em>'.
+ * @see org.eclipse.dd.di.DocumentRoot#getXMLNSPrefixMap()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_XMLNSPrefixMap();
+
+ /**
+ * Returns the meta object for the map '{@link org.eclipse.dd.di.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the map '<em>XSI Schema Location</em>'.
+ * @see org.eclipse.dd.di.DocumentRoot#getXSISchemaLocation()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_XSISchemaLocation();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.dd.di.DocumentRoot#getDiagramElement <em>Diagram Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Diagram Element</em>'.
+ * @see org.eclipse.dd.di.DocumentRoot#getDiagramElement()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_DiagramElement();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.dd.di.DocumentRoot#getDiagram <em>Diagram</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Diagram</em>'.
+ * @see org.eclipse.dd.di.DocumentRoot#getDiagram()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Diagram();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.dd.di.DocumentRoot#getEdge <em>Edge</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Edge</em>'.
+ * @see org.eclipse.dd.di.DocumentRoot#getEdge()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Edge();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.dd.di.DocumentRoot#getLabel <em>Label</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Label</em>'.
+ * @see org.eclipse.dd.di.DocumentRoot#getLabel()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Label();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.dd.di.DocumentRoot#getLabeledEdge <em>Labeled Edge</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Labeled Edge</em>'.
+ * @see org.eclipse.dd.di.DocumentRoot#getLabeledEdge()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_LabeledEdge();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.dd.di.DocumentRoot#getLabeledShape <em>Labeled Shape</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Labeled Shape</em>'.
+ * @see org.eclipse.dd.di.DocumentRoot#getLabeledShape()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_LabeledShape();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.dd.di.DocumentRoot#getNode <em>Node</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Node</em>'.
+ * @see org.eclipse.dd.di.DocumentRoot#getNode()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Node();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.dd.di.DocumentRoot#getPlane <em>Plane</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Plane</em>'.
+ * @see org.eclipse.dd.di.DocumentRoot#getPlane()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Plane();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.dd.di.DocumentRoot#getShape <em>Shape</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Shape</em>'.
+ * @see org.eclipse.dd.di.DocumentRoot#getShape()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Shape();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.dd.di.DocumentRoot#getStyle <em>Style</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Style</em>'.
+ * @see org.eclipse.dd.di.DocumentRoot#getStyle()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Style();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.dd.di.Diagram <em>Diagram</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Diagram</em>'.
+ * @see org.eclipse.dd.di.Diagram
+ * @generated
+ */
+ EClass getDiagram();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.dd.di.Diagram#getDocumentation <em>Documentation</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Documentation</em>'.
+ * @see org.eclipse.dd.di.Diagram#getDocumentation()
+ * @see #getDiagram()
+ * @generated
+ */
+ EAttribute getDiagram_Documentation();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.dd.di.Diagram#getOwnedStyle <em>Owned Style</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Owned Style</em>'.
+ * @see org.eclipse.dd.di.Diagram#getOwnedStyle()
+ * @see #getDiagram()
+ * @generated
+ */
+ EReference getDiagram_OwnedStyle();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.dd.di.Diagram#getRootElement <em>Root Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Root Element</em>'.
+ * @see org.eclipse.dd.di.Diagram#getRootElement()
+ * @see #getDiagram()
+ * @generated
+ */
+ EReference getDiagram_RootElement();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.dd.di.Diagram#getId <em>Id</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Id</em>'.
+ * @see org.eclipse.dd.di.Diagram#getId()
+ * @see #getDiagram()
+ * @generated
+ */
+ EAttribute getDiagram_Id();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.dd.di.Diagram#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.dd.di.Diagram#getName()
+ * @see #getDiagram()
+ * @generated
+ */
+ EAttribute getDiagram_Name();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.dd.di.Diagram#getResolution <em>Resolution</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Resolution</em>'.
+ * @see org.eclipse.dd.di.Diagram#getResolution()
+ * @see #getDiagram()
+ * @generated
+ */
+ EAttribute getDiagram_Resolution();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.dd.di.DiagramElement <em>Diagram Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Diagram Element</em>'.
+ * @see org.eclipse.dd.di.DiagramElement
+ * @generated
+ */
+ EClass getDiagramElement();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.dd.di.DiagramElement#getOwningDiagram <em>Owning Diagram</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Owning Diagram</em>'.
+ * @see org.eclipse.dd.di.DiagramElement#getOwningDiagram()
+ * @see #getDiagramElement()
+ * @generated
+ */
+ EReference getDiagramElement_OwningDiagram();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.dd.di.DiagramElement#getOwningElement <em>Owning Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Owning Element</em>'.
+ * @see org.eclipse.dd.di.DiagramElement#getOwningElement()
+ * @see #getDiagramElement()
+ * @generated
+ */
+ EReference getDiagramElement_OwningElement();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.dd.di.DiagramElement#getOwnedElement <em>Owned Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Owned Element</em>'.
+ * @see org.eclipse.dd.di.DiagramElement#getOwnedElement()
+ * @see #getDiagramElement()
+ * @generated
+ */
+ EReference getDiagramElement_OwnedElement();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.dd.di.DiagramElement#getModelElement <em>Model Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Model Element</em>'.
+ * @see org.eclipse.dd.di.DiagramElement#getModelElement()
+ * @see #getDiagramElement()
+ * @generated
+ */
+ EReference getDiagramElement_ModelElement();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.dd.di.DiagramElement#getStyle <em>Style</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Style</em>'.
+ * @see org.eclipse.dd.di.DiagramElement#getStyle()
+ * @see #getDiagramElement()
+ * @generated
+ */
+ EReference getDiagramElement_Style();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.dd.di.DiagramElement#getId <em>Id</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Id</em>'.
+ * @see org.eclipse.dd.di.DiagramElement#getId()
+ * @see #getDiagramElement()
+ * @generated
+ */
+ EAttribute getDiagramElement_Id();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.dd.di.Edge <em>Edge</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Edge</em>'.
+ * @see org.eclipse.dd.di.Edge
+ * @generated
+ */
+ EClass getEdge();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.dd.di.Edge#getSource <em>Source</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Source</em>'.
+ * @see org.eclipse.dd.di.Edge#getSource()
+ * @see #getEdge()
+ * @generated
+ */
+ EReference getEdge_Source();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.dd.di.Edge#getTarget <em>Target</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Target</em>'.
+ * @see org.eclipse.dd.di.Edge#getTarget()
+ * @see #getEdge()
+ * @generated
+ */
+ EReference getEdge_Target();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.dd.di.Edge#getWaypoint <em>Waypoint</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Waypoint</em>'.
+ * @see org.eclipse.dd.di.Edge#getWaypoint()
+ * @see #getEdge()
+ * @generated
+ */
+ EReference getEdge_Waypoint();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.dd.di.Label <em>Label</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Label</em>'.
+ * @see org.eclipse.dd.di.Label
+ * @generated
+ */
+ EClass getLabel();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.dd.di.Label#getBounds <em>Bounds</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Bounds</em>'.
+ * @see org.eclipse.dd.di.Label#getBounds()
+ * @see #getLabel()
+ * @generated
+ */
+ EReference getLabel_Bounds();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.dd.di.LabeledEdge <em>Labeled Edge</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Labeled Edge</em>'.
+ * @see org.eclipse.dd.di.LabeledEdge
+ * @generated
+ */
+ EClass getLabeledEdge();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.dd.di.LabeledEdge#getOwnedLabel <em>Owned Label</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Owned Label</em>'.
+ * @see org.eclipse.dd.di.LabeledEdge#getOwnedLabel()
+ * @see #getLabeledEdge()
+ * @generated
+ */
+ EReference getLabeledEdge_OwnedLabel();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.dd.di.LabeledShape <em>Labeled Shape</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Labeled Shape</em>'.
+ * @see org.eclipse.dd.di.LabeledShape
+ * @generated
+ */
+ EClass getLabeledShape();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.dd.di.LabeledShape#getOwnedLabel <em>Owned Label</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Owned Label</em>'.
+ * @see org.eclipse.dd.di.LabeledShape#getOwnedLabel()
+ * @see #getLabeledShape()
+ * @generated
+ */
+ EReference getLabeledShape_OwnedLabel();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.dd.di.Node <em>Node</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Node</em>'.
+ * @see org.eclipse.dd.di.Node
+ * @generated
+ */
+ EClass getNode();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.dd.di.Plane <em>Plane</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Plane</em>'.
+ * @see org.eclipse.dd.di.Plane
+ * @generated
+ */
+ EClass getPlane();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.dd.di.Plane#getPlaneElement <em>Plane Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Plane Element</em>'.
+ * @see org.eclipse.dd.di.Plane#getPlaneElement()
+ * @see #getPlane()
+ * @generated
+ */
+ EReference getPlane_PlaneElement();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.dd.di.Shape <em>Shape</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Shape</em>'.
+ * @see org.eclipse.dd.di.Shape
+ * @generated
+ */
+ EClass getShape();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.dd.di.Shape#getBounds <em>Bounds</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Bounds</em>'.
+ * @see org.eclipse.dd.di.Shape#getBounds()
+ * @see #getShape()
+ * @generated
+ */
+ EReference getShape_Bounds();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.dd.di.Style <em>Style</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Style</em>'.
+ * @see org.eclipse.dd.di.Style
+ * @generated
+ */
+ EClass getStyle();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.dd.di.Style#getId <em>Id</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Id</em>'.
+ * @see org.eclipse.dd.di.Style#getId()
+ * @see #getStyle()
+ * @generated
+ */
+ EAttribute getStyle_Id();
+
+ /**
+ * Returns the factory that creates the instances of the model.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the factory that creates the instances of the model.
+ * @generated
+ */
+ DiFactory getDiFactory();
+
+ /**
+ * <!-- begin-user-doc -->
+ * Defines literals for the meta objects that represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ interface Literals {
+ /**
+ * The meta object literal for the '{@link org.eclipse.dd.di.impl.DocumentRootImpl <em>Document Root</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.di.impl.DocumentRootImpl
+ * @see org.eclipse.dd.di.impl.DiPackageImpl#getDocumentRoot()
+ * @generated
+ */
+ EClass DOCUMENT_ROOT = eINSTANCE.getDocumentRoot();
+
+ /**
+ * The meta object literal for the '<em><b>Mixed</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DOCUMENT_ROOT__MIXED = eINSTANCE.getDocumentRoot_Mixed();
+
+ /**
+ * The meta object literal for the '<em><b>XMLNS Prefix Map</b></em>' map feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__XMLNS_PREFIX_MAP = eINSTANCE
+ .getDocumentRoot_XMLNSPrefixMap();
+
+ /**
+ * The meta object literal for the '<em><b>XSI Schema Location</b></em>' map feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = eINSTANCE
+ .getDocumentRoot_XSISchemaLocation();
+
+ /**
+ * The meta object literal for the '<em><b>Diagram Element</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__DIAGRAM_ELEMENT = eINSTANCE
+ .getDocumentRoot_DiagramElement();
+
+ /**
+ * The meta object literal for the '<em><b>Diagram</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__DIAGRAM = eINSTANCE.getDocumentRoot_Diagram();
+
+ /**
+ * The meta object literal for the '<em><b>Edge</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__EDGE = eINSTANCE.getDocumentRoot_Edge();
+
+ /**
+ * The meta object literal for the '<em><b>Label</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__LABEL = eINSTANCE.getDocumentRoot_Label();
+
+ /**
+ * The meta object literal for the '<em><b>Labeled Edge</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__LABELED_EDGE = eINSTANCE
+ .getDocumentRoot_LabeledEdge();
+
+ /**
+ * The meta object literal for the '<em><b>Labeled Shape</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__LABELED_SHAPE = eINSTANCE
+ .getDocumentRoot_LabeledShape();
+
+ /**
+ * The meta object literal for the '<em><b>Node</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__NODE = eINSTANCE.getDocumentRoot_Node();
+
+ /**
+ * The meta object literal for the '<em><b>Plane</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__PLANE = eINSTANCE.getDocumentRoot_Plane();
+
+ /**
+ * The meta object literal for the '<em><b>Shape</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__SHAPE = eINSTANCE.getDocumentRoot_Shape();
+
+ /**
+ * The meta object literal for the '<em><b>Style</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__STYLE = eINSTANCE.getDocumentRoot_Style();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.dd.di.impl.DiagramImpl <em>Diagram</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.di.impl.DiagramImpl
+ * @see org.eclipse.dd.di.impl.DiPackageImpl#getDiagram()
+ * @generated
+ */
+ EClass DIAGRAM = eINSTANCE.getDiagram();
+
+ /**
+ * The meta object literal for the '<em><b>Documentation</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DIAGRAM__DOCUMENTATION = eINSTANCE
+ .getDiagram_Documentation();
+
+ /**
+ * The meta object literal for the '<em><b>Owned Style</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DIAGRAM__OWNED_STYLE = eINSTANCE.getDiagram_OwnedStyle();
+
+ /**
+ * The meta object literal for the '<em><b>Root Element</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DIAGRAM__ROOT_ELEMENT = eINSTANCE.getDiagram_RootElement();
+
+ /**
+ * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DIAGRAM__ID = eINSTANCE.getDiagram_Id();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DIAGRAM__NAME = eINSTANCE.getDiagram_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Resolution</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DIAGRAM__RESOLUTION = eINSTANCE.getDiagram_Resolution();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.dd.di.impl.DiagramElementImpl <em>Diagram Element</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.di.impl.DiagramElementImpl
+ * @see org.eclipse.dd.di.impl.DiPackageImpl#getDiagramElement()
+ * @generated
+ */
+ EClass DIAGRAM_ELEMENT = eINSTANCE.getDiagramElement();
+
+ /**
+ * The meta object literal for the '<em><b>Owning Diagram</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DIAGRAM_ELEMENT__OWNING_DIAGRAM = eINSTANCE
+ .getDiagramElement_OwningDiagram();
+
+ /**
+ * The meta object literal for the '<em><b>Owning Element</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DIAGRAM_ELEMENT__OWNING_ELEMENT = eINSTANCE
+ .getDiagramElement_OwningElement();
+
+ /**
+ * The meta object literal for the '<em><b>Owned Element</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DIAGRAM_ELEMENT__OWNED_ELEMENT = eINSTANCE
+ .getDiagramElement_OwnedElement();
+
+ /**
+ * The meta object literal for the '<em><b>Model Element</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DIAGRAM_ELEMENT__MODEL_ELEMENT = eINSTANCE
+ .getDiagramElement_ModelElement();
+
+ /**
+ * The meta object literal for the '<em><b>Style</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DIAGRAM_ELEMENT__STYLE = eINSTANCE.getDiagramElement_Style();
+
+ /**
+ * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DIAGRAM_ELEMENT__ID = eINSTANCE.getDiagramElement_Id();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.dd.di.impl.EdgeImpl <em>Edge</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.di.impl.EdgeImpl
+ * @see org.eclipse.dd.di.impl.DiPackageImpl#getEdge()
+ * @generated
+ */
+ EClass EDGE = eINSTANCE.getEdge();
+
+ /**
+ * The meta object literal for the '<em><b>Source</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference EDGE__SOURCE = eINSTANCE.getEdge_Source();
+
+ /**
+ * The meta object literal for the '<em><b>Target</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference EDGE__TARGET = eINSTANCE.getEdge_Target();
+
+ /**
+ * The meta object literal for the '<em><b>Waypoint</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference EDGE__WAYPOINT = eINSTANCE.getEdge_Waypoint();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.dd.di.impl.LabelImpl <em>Label</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.di.impl.LabelImpl
+ * @see org.eclipse.dd.di.impl.DiPackageImpl#getLabel()
+ * @generated
+ */
+ EClass LABEL = eINSTANCE.getLabel();
+
+ /**
+ * The meta object literal for the '<em><b>Bounds</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference LABEL__BOUNDS = eINSTANCE.getLabel_Bounds();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.dd.di.impl.LabeledEdgeImpl <em>Labeled Edge</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.di.impl.LabeledEdgeImpl
+ * @see org.eclipse.dd.di.impl.DiPackageImpl#getLabeledEdge()
+ * @generated
+ */
+ EClass LABELED_EDGE = eINSTANCE.getLabeledEdge();
+
+ /**
+ * The meta object literal for the '<em><b>Owned Label</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference LABELED_EDGE__OWNED_LABEL = eINSTANCE
+ .getLabeledEdge_OwnedLabel();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.dd.di.impl.LabeledShapeImpl <em>Labeled Shape</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.di.impl.LabeledShapeImpl
+ * @see org.eclipse.dd.di.impl.DiPackageImpl#getLabeledShape()
+ * @generated
+ */
+ EClass LABELED_SHAPE = eINSTANCE.getLabeledShape();
+
+ /**
+ * The meta object literal for the '<em><b>Owned Label</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference LABELED_SHAPE__OWNED_LABEL = eINSTANCE
+ .getLabeledShape_OwnedLabel();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.dd.di.impl.NodeImpl <em>Node</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.di.impl.NodeImpl
+ * @see org.eclipse.dd.di.impl.DiPackageImpl#getNode()
+ * @generated
+ */
+ EClass NODE = eINSTANCE.getNode();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.dd.di.impl.PlaneImpl <em>Plane</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.di.impl.PlaneImpl
+ * @see org.eclipse.dd.di.impl.DiPackageImpl#getPlane()
+ * @generated
+ */
+ EClass PLANE = eINSTANCE.getPlane();
+
+ /**
+ * The meta object literal for the '<em><b>Plane Element</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PLANE__PLANE_ELEMENT = eINSTANCE.getPlane_PlaneElement();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.dd.di.impl.ShapeImpl <em>Shape</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.di.impl.ShapeImpl
+ * @see org.eclipse.dd.di.impl.DiPackageImpl#getShape()
+ * @generated
+ */
+ EClass SHAPE = eINSTANCE.getShape();
+
+ /**
+ * The meta object literal for the '<em><b>Bounds</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference SHAPE__BOUNDS = eINSTANCE.getShape_Bounds();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.dd.di.impl.StyleImpl <em>Style</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.di.impl.StyleImpl
+ * @see org.eclipse.dd.di.impl.DiPackageImpl#getStyle()
+ * @generated
+ */
+ EClass STYLE = eINSTANCE.getStyle();
+
+ /**
+ * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute STYLE__ID = eINSTANCE.getStyle_Id();
+
+ }
+
+} //DiPackage
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/Diagram.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/Diagram.java
new file mode 100644
index 000000000..76c62f010
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/Diagram.java
@@ -0,0 +1,185 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.di;
+
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Diagram</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.dd.di.Diagram#getDocumentation <em>Documentation</em>}</li>
+ * <li>{@link org.eclipse.dd.di.Diagram#getOwnedStyle <em>Owned Style</em>}</li>
+ * <li>{@link org.eclipse.dd.di.Diagram#getRootElement <em>Root Element</em>}</li>
+ * <li>{@link org.eclipse.dd.di.Diagram#getId <em>Id</em>}</li>
+ * <li>{@link org.eclipse.dd.di.Diagram#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.dd.di.Diagram#getResolution <em>Resolution</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.dd.di.DiPackage#getDiagram()
+ * @model abstract="true"
+ * extendedMetaData="name='Diagram' kind='empty'"
+ * @generated
+ */
+public interface Diagram extends EObject {
+ /**
+ * Returns the value of the '<em><b>Documentation</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Documentation</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Documentation</em>' attribute.
+ * @see #setDocumentation(String)
+ * @see org.eclipse.dd.di.DiPackage#getDiagram_Documentation()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='documentation'"
+ * @generated
+ */
+ String getDocumentation();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.dd.di.Diagram#getDocumentation <em>Documentation</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Documentation</em>' attribute.
+ * @see #getDocumentation()
+ * @generated
+ */
+ void setDocumentation(String value);
+
+ /**
+ * Returns the value of the '<em><b>Owned Style</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.dd.di.Style}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Owned Style</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Owned Style</em>' reference list.
+ * @see org.eclipse.dd.di.DiPackage#getDiagram_OwnedStyle()
+ * @model transient="true" changeable="false" derived="true" ordered="false"
+ * @generated
+ */
+ List<Style> getOwnedStyle();
+
+ /**
+ * Returns the value of the '<em><b>Root Element</b></em>' reference.
+ * It is bidirectional and its opposite is '{@link org.eclipse.dd.di.DiagramElement#getOwningDiagram <em>Owning Diagram</em>}'.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Root Element</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Root Element</em>' reference.
+ * @see org.eclipse.dd.di.DiPackage#getDiagram_RootElement()
+ * @see org.eclipse.dd.di.DiagramElement#getOwningDiagram
+ * @model opposite="owningDiagram" resolveProxies="false" required="true" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
+ * @generated
+ */
+ DiagramElement getRootElement();
+
+ /**
+ * Returns the value of the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Id</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Id</em>' attribute.
+ * @see #setId(String)
+ * @see org.eclipse.dd.di.DiPackage#getDiagram_Id()
+ * @model id="true" dataType="org.eclipse.emf.ecore.xml.type.ID"
+ * extendedMetaData="kind='attribute' name='id'"
+ * @generated
+ */
+ String getId();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.dd.di.Diagram#getId <em>Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Id</em>' attribute.
+ * @see #getId()
+ * @generated
+ */
+ void setId(String value);
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.dd.di.DiPackage#getDiagram_Name()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.dd.di.Diagram#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+ /**
+ * Returns the value of the '<em><b>Resolution</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Resolution</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Resolution</em>' attribute.
+ * @see #setResolution(float)
+ * @see org.eclipse.dd.di.DiPackage#getDiagram_Resolution()
+ * @model ordered="false"
+ * extendedMetaData="kind='attribute' name='resolution'"
+ * @generated
+ */
+ float getResolution();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.dd.di.Diagram#getResolution <em>Resolution</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Resolution</em>' attribute.
+ * @see #getResolution()
+ * @generated
+ */
+ void setResolution(float value);
+
+} // Diagram
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/DiagramElement.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/DiagramElement.java
new file mode 100644
index 000000000..4afc762b8
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/DiagramElement.java
@@ -0,0 +1,152 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.di;
+
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Diagram Element</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.dd.di.DiagramElement#getOwningDiagram <em>Owning Diagram</em>}</li>
+ * <li>{@link org.eclipse.dd.di.DiagramElement#getOwningElement <em>Owning Element</em>}</li>
+ * <li>{@link org.eclipse.dd.di.DiagramElement#getOwnedElement <em>Owned Element</em>}</li>
+ * <li>{@link org.eclipse.dd.di.DiagramElement#getModelElement <em>Model Element</em>}</li>
+ * <li>{@link org.eclipse.dd.di.DiagramElement#getStyle <em>Style</em>}</li>
+ * <li>{@link org.eclipse.dd.di.DiagramElement#getId <em>Id</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.dd.di.DiPackage#getDiagramElement()
+ * @model extendedMetaData="name='DiagramElement' kind='elementOnly' abstract='true'"
+ * @generated
+ */
+public interface DiagramElement extends EObject {
+ /**
+ * Returns the value of the '<em><b>Owning Diagram</b></em>' reference.
+ * It is bidirectional and its opposite is '{@link org.eclipse.dd.di.Diagram#getRootElement <em>Root Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Owning Diagram</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Owning Diagram</em>' reference.
+ * @see org.eclipse.dd.di.DiPackage#getDiagramElement_OwningDiagram()
+ * @see org.eclipse.dd.di.Diagram#getRootElement
+ * @model opposite="rootElement" resolveProxies="false" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
+ * @generated
+ */
+ Diagram getOwningDiagram();
+
+ /**
+ * Returns the value of the '<em><b>Owning Element</b></em>' reference.
+ * It is bidirectional and its opposite is '{@link org.eclipse.dd.di.DiagramElement#getOwnedElement <em>Owned Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Owning Element</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Owning Element</em>' reference.
+ * @see org.eclipse.dd.di.DiPackage#getDiagramElement_OwningElement()
+ * @see org.eclipse.dd.di.DiagramElement#getOwnedElement
+ * @model opposite="ownedElement" resolveProxies="false" transient="true" changeable="false" derived="true" ordered="false"
+ * @generated
+ */
+ DiagramElement getOwningElement();
+
+ /**
+ * Returns the value of the '<em><b>Owned Element</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.dd.di.DiagramElement}.
+ * It is bidirectional and its opposite is '{@link org.eclipse.dd.di.DiagramElement#getOwningElement <em>Owning Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Owned Element</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Owned Element</em>' reference list.
+ * @see org.eclipse.dd.di.DiPackage#getDiagramElement_OwnedElement()
+ * @see org.eclipse.dd.di.DiagramElement#getOwningElement
+ * @model opposite="owningElement" resolveProxies="false" transient="true" changeable="false" derived="true" ordered="false"
+ * @generated
+ */
+ List<DiagramElement> getOwnedElement();
+
+ /**
+ * Returns the value of the '<em><b>Model Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Model Element</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Model Element</em>' reference.
+ * @see org.eclipse.dd.di.DiPackage#getDiagramElement_ModelElement()
+ * @model transient="true" changeable="false" derived="true" ordered="false"
+ * @generated
+ */
+ Object getModelElement();
+
+ /**
+ * Returns the value of the '<em><b>Style</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Style</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Style</em>' reference.
+ * @see org.eclipse.dd.di.DiPackage#getDiagramElement_Style()
+ * @model transient="true" changeable="false" derived="true" ordered="false"
+ * @generated
+ */
+ Style getStyle();
+
+ /**
+ * Returns the value of the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Id</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Id</em>' attribute.
+ * @see #setId(String)
+ * @see org.eclipse.dd.di.DiPackage#getDiagramElement_Id()
+ * @model id="true" dataType="org.eclipse.emf.ecore.xml.type.ID"
+ * extendedMetaData="kind='attribute' name='id'"
+ * @generated
+ */
+ String getId();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.dd.di.DiagramElement#getId <em>Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Id</em>' attribute.
+ * @see #getId()
+ * @generated
+ */
+ void setId(String value);
+
+} // DiagramElement
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/DocumentRoot.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/DocumentRoot.java
new file mode 100644
index 000000000..bb00859d5
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/DocumentRoot.java
@@ -0,0 +1,375 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.di;
+
+import java.util.Map;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.ecore.util.FeatureMap;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Document Root</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.dd.di.DocumentRoot#getMixed <em>Mixed</em>}</li>
+ * <li>{@link org.eclipse.dd.di.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
+ * <li>{@link org.eclipse.dd.di.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
+ * <li>{@link org.eclipse.dd.di.DocumentRoot#getDiagramElement <em>Diagram Element</em>}</li>
+ * <li>{@link org.eclipse.dd.di.DocumentRoot#getDiagram <em>Diagram</em>}</li>
+ * <li>{@link org.eclipse.dd.di.DocumentRoot#getEdge <em>Edge</em>}</li>
+ * <li>{@link org.eclipse.dd.di.DocumentRoot#getLabel <em>Label</em>}</li>
+ * <li>{@link org.eclipse.dd.di.DocumentRoot#getLabeledEdge <em>Labeled Edge</em>}</li>
+ * <li>{@link org.eclipse.dd.di.DocumentRoot#getLabeledShape <em>Labeled Shape</em>}</li>
+ * <li>{@link org.eclipse.dd.di.DocumentRoot#getNode <em>Node</em>}</li>
+ * <li>{@link org.eclipse.dd.di.DocumentRoot#getPlane <em>Plane</em>}</li>
+ * <li>{@link org.eclipse.dd.di.DocumentRoot#getShape <em>Shape</em>}</li>
+ * <li>{@link org.eclipse.dd.di.DocumentRoot#getStyle <em>Style</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.dd.di.DiPackage#getDocumentRoot()
+ * @model extendedMetaData="name='' kind='mixed'"
+ * @generated
+ */
+public interface DocumentRoot extends EObject {
+ /**
+ * Returns the value of the '<em><b>Mixed</b></em>' attribute list.
+ * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Mixed</em>' attribute list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Mixed</em>' attribute list.
+ * @see org.eclipse.dd.di.DiPackage#getDocumentRoot_Mixed()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
+ * extendedMetaData="kind='elementWildcard' name=':mixed'"
+ * @generated
+ */
+ FeatureMap getMixed();
+
+ /**
+ * Returns the value of the '<em><b>XMLNS Prefix Map</b></em>' map.
+ * The key is of type {@link java.lang.String},
+ * and the value is of type {@link java.lang.String},
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>XMLNS Prefix Map</em>' map isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>XMLNS Prefix Map</em>' map.
+ * @see org.eclipse.dd.di.DiPackage#getDocumentRoot_XMLNSPrefixMap()
+ * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>" transient="true"
+ * extendedMetaData="kind='attribute' name='xmlns:prefix'"
+ * @generated
+ */
+ Map<String, String> getXMLNSPrefixMap();
+
+ /**
+ * Returns the value of the '<em><b>XSI Schema Location</b></em>' map.
+ * The key is of type {@link java.lang.String},
+ * and the value is of type {@link java.lang.String},
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>XSI Schema Location</em>' map isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>XSI Schema Location</em>' map.
+ * @see org.eclipse.dd.di.DiPackage#getDocumentRoot_XSISchemaLocation()
+ * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>" transient="true"
+ * extendedMetaData="kind='attribute' name='xsi:schemaLocation'"
+ * @generated
+ */
+ Map<String, String> getXSISchemaLocation();
+
+ /**
+ * Returns the value of the '<em><b>Diagram Element</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Diagram Element</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Diagram Element</em>' containment reference.
+ * @see #setDiagramElement(DiagramElement)
+ * @see org.eclipse.dd.di.DiPackage#getDocumentRoot_DiagramElement()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='DiagramElement' namespace='http://www.omg.org/spec/DD/20100524/DI'"
+ * @generated
+ */
+ DiagramElement getDiagramElement();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.dd.di.DocumentRoot#getDiagramElement <em>Diagram Element</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Diagram Element</em>' containment reference.
+ * @see #getDiagramElement()
+ * @generated
+ */
+ void setDiagramElement(DiagramElement value);
+
+ /**
+ * Returns the value of the '<em><b>Diagram</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Diagram</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Diagram</em>' containment reference.
+ * @see #setDiagram(Diagram)
+ * @see org.eclipse.dd.di.DiPackage#getDocumentRoot_Diagram()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='Diagram' namespace='http://www.omg.org/spec/DD/20100524/DI'"
+ * @generated
+ */
+ Diagram getDiagram();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.dd.di.DocumentRoot#getDiagram <em>Diagram</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Diagram</em>' containment reference.
+ * @see #getDiagram()
+ * @generated
+ */
+ void setDiagram(Diagram value);
+
+ /**
+ * Returns the value of the '<em><b>Edge</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Edge</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Edge</em>' containment reference.
+ * @see #setEdge(Edge)
+ * @see org.eclipse.dd.di.DiPackage#getDocumentRoot_Edge()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='Edge' namespace='http://www.omg.org/spec/DD/20100524/DI'"
+ * @generated
+ */
+ Edge getEdge();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.dd.di.DocumentRoot#getEdge <em>Edge</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Edge</em>' containment reference.
+ * @see #getEdge()
+ * @generated
+ */
+ void setEdge(Edge value);
+
+ /**
+ * Returns the value of the '<em><b>Label</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Label</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Label</em>' containment reference.
+ * @see #setLabel(Label)
+ * @see org.eclipse.dd.di.DiPackage#getDocumentRoot_Label()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='Label' namespace='http://www.omg.org/spec/DD/20100524/DI'"
+ * @generated
+ */
+ Label getLabel();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.dd.di.DocumentRoot#getLabel <em>Label</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Label</em>' containment reference.
+ * @see #getLabel()
+ * @generated
+ */
+ void setLabel(Label value);
+
+ /**
+ * Returns the value of the '<em><b>Labeled Edge</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Labeled Edge</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Labeled Edge</em>' containment reference.
+ * @see #setLabeledEdge(LabeledEdge)
+ * @see org.eclipse.dd.di.DiPackage#getDocumentRoot_LabeledEdge()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='LabeledEdge' namespace='http://www.omg.org/spec/DD/20100524/DI'"
+ * @generated
+ */
+ LabeledEdge getLabeledEdge();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.dd.di.DocumentRoot#getLabeledEdge <em>Labeled Edge</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Labeled Edge</em>' containment reference.
+ * @see #getLabeledEdge()
+ * @generated
+ */
+ void setLabeledEdge(LabeledEdge value);
+
+ /**
+ * Returns the value of the '<em><b>Labeled Shape</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Labeled Shape</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Labeled Shape</em>' containment reference.
+ * @see #setLabeledShape(LabeledShape)
+ * @see org.eclipse.dd.di.DiPackage#getDocumentRoot_LabeledShape()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='LabeledShape' namespace='http://www.omg.org/spec/DD/20100524/DI'"
+ * @generated
+ */
+ LabeledShape getLabeledShape();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.dd.di.DocumentRoot#getLabeledShape <em>Labeled Shape</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Labeled Shape</em>' containment reference.
+ * @see #getLabeledShape()
+ * @generated
+ */
+ void setLabeledShape(LabeledShape value);
+
+ /**
+ * Returns the value of the '<em><b>Node</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Node</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Node</em>' containment reference.
+ * @see #setNode(Node)
+ * @see org.eclipse.dd.di.DiPackage#getDocumentRoot_Node()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='Node' namespace='http://www.omg.org/spec/DD/20100524/DI'"
+ * @generated
+ */
+ Node getNode();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.dd.di.DocumentRoot#getNode <em>Node</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Node</em>' containment reference.
+ * @see #getNode()
+ * @generated
+ */
+ void setNode(Node value);
+
+ /**
+ * Returns the value of the '<em><b>Plane</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Plane</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Plane</em>' containment reference.
+ * @see #setPlane(Plane)
+ * @see org.eclipse.dd.di.DiPackage#getDocumentRoot_Plane()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='Plane' namespace='http://www.omg.org/spec/DD/20100524/DI'"
+ * @generated
+ */
+ Plane getPlane();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.dd.di.DocumentRoot#getPlane <em>Plane</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Plane</em>' containment reference.
+ * @see #getPlane()
+ * @generated
+ */
+ void setPlane(Plane value);
+
+ /**
+ * Returns the value of the '<em><b>Shape</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Shape</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Shape</em>' containment reference.
+ * @see #setShape(Shape)
+ * @see org.eclipse.dd.di.DiPackage#getDocumentRoot_Shape()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='Shape' namespace='http://www.omg.org/spec/DD/20100524/DI'"
+ * @generated
+ */
+ Shape getShape();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.dd.di.DocumentRoot#getShape <em>Shape</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Shape</em>' containment reference.
+ * @see #getShape()
+ * @generated
+ */
+ void setShape(Shape value);
+
+ /**
+ * Returns the value of the '<em><b>Style</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Style</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Style</em>' containment reference.
+ * @see #setStyle(Style)
+ * @see org.eclipse.dd.di.DiPackage#getDocumentRoot_Style()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='Style' namespace='http://www.omg.org/spec/DD/20100524/DI'"
+ * @generated
+ */
+ Style getStyle();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.dd.di.DocumentRoot#getStyle <em>Style</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Style</em>' containment reference.
+ * @see #getStyle()
+ * @generated
+ */
+ void setStyle(Style value);
+
+} // DocumentRoot
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/Edge.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/Edge.java
new file mode 100644
index 000000000..175f90a05
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/Edge.java
@@ -0,0 +1,88 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.di;
+
+import java.util.List;
+
+import org.eclipse.dd.dc.Point;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Edge</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.dd.di.Edge#getSource <em>Source</em>}</li>
+ * <li>{@link org.eclipse.dd.di.Edge#getTarget <em>Target</em>}</li>
+ * <li>{@link org.eclipse.dd.di.Edge#getWaypoint <em>Waypoint</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.dd.di.DiPackage#getEdge()
+ * @model abstract="true"
+ * extendedMetaData="name='Edge' kind='elementOnly'"
+ * @generated
+ */
+public interface Edge extends DiagramElement {
+ /**
+ * Returns the value of the '<em><b>Source</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Source</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Source</em>' reference.
+ * @see org.eclipse.dd.di.DiPackage#getEdge_Source()
+ * @model transient="true" changeable="false" derived="true" ordered="false"
+ * @generated
+ */
+ DiagramElement getSource();
+
+ /**
+ * Returns the value of the '<em><b>Target</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Target</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Target</em>' reference.
+ * @see org.eclipse.dd.di.DiPackage#getEdge_Target()
+ * @model transient="true" changeable="false" derived="true" ordered="false"
+ * @generated
+ */
+ DiagramElement getTarget();
+
+ /**
+ * Returns the value of the '<em><b>Waypoint</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.dd.dc.Point}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Waypoint</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Waypoint</em>' containment reference list.
+ * @see org.eclipse.dd.di.DiPackage#getEdge_Waypoint()
+ * @model containment="true" lower="2"
+ * extendedMetaData="kind='element' name='waypoint' namespace='http://www.omg.org/spec/DD/20100524/DI'"
+ * @generated
+ */
+ List<Point> getWaypoint();
+
+} // Edge
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/Label.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/Label.java
new file mode 100644
index 000000000..a4f08d689
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/Label.java
@@ -0,0 +1,64 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.di;
+
+import org.eclipse.dd.dc.Bounds;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Label</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.dd.di.Label#getBounds <em>Bounds</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.dd.di.DiPackage#getLabel()
+ * @model abstract="true"
+ * extendedMetaData="name='Label' kind='elementOnly'"
+ * @generated
+ */
+public interface Label extends Node {
+ /**
+ * Returns the value of the '<em><b>Bounds</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Bounds</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Bounds</em>' containment reference.
+ * @see #setBounds(Bounds)
+ * @see org.eclipse.dd.di.DiPackage#getLabel_Bounds()
+ * @model containment="true" ordered="false"
+ * extendedMetaData="kind='element' name='Bounds' namespace='http://www.omg.org/spec/DD/20100524/DC'"
+ * @generated
+ */
+ Bounds getBounds();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.dd.di.Label#getBounds <em>Bounds</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Bounds</em>' containment reference.
+ * @see #getBounds()
+ * @generated
+ */
+ void setBounds(Bounds value);
+
+} // Label
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/LabeledEdge.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/LabeledEdge.java
new file mode 100644
index 000000000..606cc35fc
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/LabeledEdge.java
@@ -0,0 +1,53 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.di;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Labeled Edge</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.dd.di.LabeledEdge#getOwnedLabel <em>Owned Label</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.dd.di.DiPackage#getLabeledEdge()
+ * @model abstract="true"
+ * extendedMetaData="name='LabeledEdge' kind='elementOnly'"
+ * @generated
+ */
+public interface LabeledEdge extends Edge {
+ /**
+ * Returns the value of the '<em><b>Owned Label</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.dd.di.Label}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Owned Label</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Owned Label</em>' reference list.
+ * @see org.eclipse.dd.di.DiPackage#getLabeledEdge_OwnedLabel()
+ * @model transient="true" changeable="false" derived="true" ordered="false"
+ * @generated
+ */
+ List<Label> getOwnedLabel();
+
+} // LabeledEdge
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/LabeledShape.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/LabeledShape.java
new file mode 100644
index 000000000..ff24f0e29
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/LabeledShape.java
@@ -0,0 +1,53 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.di;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Labeled Shape</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.dd.di.LabeledShape#getOwnedLabel <em>Owned Label</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.dd.di.DiPackage#getLabeledShape()
+ * @model abstract="true"
+ * extendedMetaData="name='LabeledShape' kind='elementOnly'"
+ * @generated
+ */
+public interface LabeledShape extends Shape {
+ /**
+ * Returns the value of the '<em><b>Owned Label</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.dd.di.Label}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Owned Label</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Owned Label</em>' reference list.
+ * @see org.eclipse.dd.di.DiPackage#getLabeledShape_OwnedLabel()
+ * @model transient="true" changeable="false" derived="true" ordered="false"
+ * @generated
+ */
+ List<Label> getOwnedLabel();
+
+} // LabeledShape
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/Node.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/Node.java
new file mode 100644
index 000000000..882209f2d
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/Node.java
@@ -0,0 +1,29 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.di;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Node</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.dd.di.DiPackage#getNode()
+ * @model abstract="true"
+ * extendedMetaData="name='Node' kind='elementOnly'"
+ * @generated
+ */
+public interface Node extends DiagramElement {
+} // Node
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/Plane.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/Plane.java
new file mode 100644
index 000000000..c595ec044
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/Plane.java
@@ -0,0 +1,71 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.di;
+
+import java.util.List;
+import java.util.Map;
+
+import org.eclipse.emf.common.util.DiagnosticChain;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Plane</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.dd.di.Plane#getPlaneElement <em>Plane Element</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.dd.di.DiPackage#getPlane()
+ * @model abstract="true"
+ * extendedMetaData="name='Plane' kind='elementOnly'"
+ * @generated
+ */
+public interface Plane extends Node {
+ /**
+ * Returns the value of the '<em><b>Plane Element</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.dd.di.DiagramElement}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Plane Element</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Plane Element</em>' containment reference list.
+ * @see org.eclipse.dd.di.DiPackage#getPlane_PlaneElement()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='DiagramElement' namespace='http://www.omg.org/spec/DD/20100524/DI' group='http://www.omg.org/spec/DD/20100524/DI#DiagramElement'"
+ * @generated
+ */
+ List<DiagramElement> getPlaneElement();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * planeElement->forAll(oclIsKindOf(Shape) or oclIsKindOf(Edge))
+ * @param diagnostics The chain of diagnostics to which problems are to be appended.
+ * @param context The cache of context-specific information.
+ * <!-- end-model-doc -->
+ * @model
+ * @generated
+ */
+ boolean plane_element_type(DiagnosticChain diagnostics,
+ Map<Object, Object> context);
+
+} // Plane
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/Shape.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/Shape.java
new file mode 100644
index 000000000..2a1641663
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/Shape.java
@@ -0,0 +1,64 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.di;
+
+import org.eclipse.dd.dc.Bounds;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Shape</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.dd.di.Shape#getBounds <em>Bounds</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.dd.di.DiPackage#getShape()
+ * @model abstract="true"
+ * extendedMetaData="name='Shape' kind='elementOnly'"
+ * @generated
+ */
+public interface Shape extends Node {
+ /**
+ * Returns the value of the '<em><b>Bounds</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Bounds</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Bounds</em>' containment reference.
+ * @see #setBounds(Bounds)
+ * @see org.eclipse.dd.di.DiPackage#getShape_Bounds()
+ * @model containment="true" required="true" ordered="false"
+ * extendedMetaData="kind='element' name='Bounds' namespace='http://www.omg.org/spec/DD/20100524/DC'"
+ * @generated
+ */
+ Bounds getBounds();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.dd.di.Shape#getBounds <em>Bounds</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Bounds</em>' containment reference.
+ * @see #getBounds()
+ * @generated
+ */
+ void setBounds(Bounds value);
+
+} // Shape
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/Style.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/Style.java
new file mode 100644
index 000000000..d5bdce09d
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/Style.java
@@ -0,0 +1,64 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.di;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Style</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.dd.di.Style#getId <em>Id</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.dd.di.DiPackage#getStyle()
+ * @model abstract="true"
+ * extendedMetaData="name='Style' kind='empty'"
+ * @generated
+ */
+public interface Style extends EObject {
+ /**
+ * Returns the value of the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Id</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Id</em>' attribute.
+ * @see #setId(String)
+ * @see org.eclipse.dd.di.DiPackage#getStyle_Id()
+ * @model id="true" dataType="org.eclipse.emf.ecore.xml.type.ID"
+ * extendedMetaData="kind='attribute' name='id'"
+ * @generated
+ */
+ String getId();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.dd.di.Style#getId <em>Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Id</em>' attribute.
+ * @see #getId()
+ * @generated
+ */
+ void setId(String value);
+
+} // Style
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/DiFactoryImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/DiFactoryImpl.java
new file mode 100644
index 000000000..a45652530
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/DiFactoryImpl.java
@@ -0,0 +1,121 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.di.impl;
+
+import org.eclipse.dd.di.*;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.impl.EFactoryImpl;
+
+import org.eclipse.emf.ecore.plugin.EcorePlugin;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class DiFactoryImpl extends EFactoryImpl implements DiFactory {
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static DiFactory init() {
+ try {
+ DiFactory theDiFactory = (DiFactory) EPackage.Registry.INSTANCE
+ .getEFactory("http://www.omg.org/spec/DD/20100524/DI-XMI");
+ if (theDiFactory != null) {
+ return theDiFactory;
+ }
+ } catch (Exception exception) {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new DiFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DiFactoryImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID()) {
+ case DiPackage.DOCUMENT_ROOT:
+ return createDocumentRoot();
+ case DiPackage.DIAGRAM_ELEMENT:
+ return createDiagramElement();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName()
+ + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DocumentRoot createDocumentRoot() {
+ DocumentRootImpl documentRoot = new DocumentRootImpl();
+ return documentRoot;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DiagramElement createDiagramElement() {
+ DiagramElementImpl diagramElement = new DiagramElementImpl();
+ return diagramElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DiPackage getDiPackage() {
+ return (DiPackage) getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static DiPackage getPackage() {
+ return DiPackage.eINSTANCE;
+ }
+
+} //DiFactoryImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/DiPackageImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/DiPackageImpl.java
new file mode 100644
index 000000000..7376687e2
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/DiPackageImpl.java
@@ -0,0 +1,1074 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.di.impl;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+
+import org.eclipse.bpmn2.di.BpmnDiPackage;
+
+import org.eclipse.bpmn2.di.impl.BpmnDiPackageImpl;
+
+import org.eclipse.bpmn2.impl.Bpmn2PackageImpl;
+
+import org.eclipse.dd.dc.DcPackage;
+
+import org.eclipse.dd.dc.impl.DcPackageImpl;
+
+import org.eclipse.dd.di.DiFactory;
+import org.eclipse.dd.di.DiPackage;
+import org.eclipse.dd.di.Diagram;
+import org.eclipse.dd.di.DiagramElement;
+import org.eclipse.dd.di.DocumentRoot;
+import org.eclipse.dd.di.Edge;
+import org.eclipse.dd.di.Label;
+import org.eclipse.dd.di.LabeledEdge;
+import org.eclipse.dd.di.LabeledShape;
+import org.eclipse.dd.di.Node;
+import org.eclipse.dd.di.Plane;
+import org.eclipse.dd.di.Shape;
+import org.eclipse.dd.di.Style;
+
+import org.eclipse.dd.di.util.DiValidator;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EGenericType;
+import org.eclipse.emf.ecore.EOperation;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+import org.eclipse.emf.ecore.EValidator;
+
+import org.eclipse.emf.ecore.impl.EPackageImpl;
+
+import org.eclipse.emf.ecore.xml.type.XMLTypePackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Package</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class DiPackageImpl extends EPackageImpl implements DiPackage {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass documentRootEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass diagramEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass diagramElementEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass edgeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass labelEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass labeledEdgeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass labeledShapeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass nodeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass planeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass shapeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass styleEClass = null;
+
+ /**
+ * Creates an instance of the model <b>Package</b>, registered with
+ * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
+ * package URI value.
+ * <p>Note: the correct way to create the package is via the static
+ * factory method {@link #init init()}, which also performs
+ * initialization of the package, or returns the registered package,
+ * if one already exists.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.ecore.EPackage.Registry
+ * @see org.eclipse.dd.di.DiPackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private DiPackageImpl() {
+ super(eNS_URI, DiFactory.eINSTANCE);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static boolean isInited = false;
+
+ /**
+ * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
+ *
+ * <p>This method is used to initialize {@link DiPackage#eINSTANCE} when that field is accessed.
+ * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #eNS_URI
+ * @see #createPackageContents()
+ * @see #initializePackageContents()
+ * @generated
+ */
+ public static DiPackage init() {
+ if (isInited)
+ return (DiPackage) EPackage.Registry.INSTANCE
+ .getEPackage(DiPackage.eNS_URI);
+
+ // Obtain or create and register package
+ DiPackageImpl theDiPackage = (DiPackageImpl) (EPackage.Registry.INSTANCE
+ .get(eNS_URI) instanceof DiPackageImpl ? EPackage.Registry.INSTANCE
+ .get(eNS_URI) : new DiPackageImpl());
+
+ isInited = true;
+
+ // Initialize simple dependencies
+ XMLTypePackage.eINSTANCE.eClass();
+
+ // Obtain or create and register interdependencies
+ Bpmn2PackageImpl theBpmn2Package = (Bpmn2PackageImpl) (EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI) instanceof Bpmn2PackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(Bpmn2Package.eNS_URI) : Bpmn2Package.eINSTANCE);
+ BpmnDiPackageImpl theBpmnDiPackage = (BpmnDiPackageImpl) (EPackage.Registry.INSTANCE
+ .getEPackage(BpmnDiPackage.eNS_URI) instanceof BpmnDiPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(BpmnDiPackage.eNS_URI) : BpmnDiPackage.eINSTANCE);
+ DcPackageImpl theDcPackage = (DcPackageImpl) (EPackage.Registry.INSTANCE
+ .getEPackage(DcPackage.eNS_URI) instanceof DcPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(DcPackage.eNS_URI) : DcPackage.eINSTANCE);
+
+ // Load packages
+ theBpmn2Package.loadPackage();
+
+ // Create package meta-data objects
+ theDiPackage.createPackageContents();
+ theBpmnDiPackage.createPackageContents();
+ theDcPackage.createPackageContents();
+
+ // Initialize created meta-data
+ theDiPackage.initializePackageContents();
+ theBpmnDiPackage.initializePackageContents();
+ theDcPackage.initializePackageContents();
+
+ // Fix loaded packages
+ theBpmn2Package.fixPackageContents();
+
+ // Register package validator
+ EValidator.Registry.INSTANCE.put(theDiPackage,
+ new EValidator.Descriptor() {
+ public EValidator getEValidator() {
+ return DiValidator.INSTANCE;
+ }
+ });
+
+ // Mark meta-data to indicate it can't be changed
+ theDiPackage.freeze();
+
+ // Update the registry and return the package
+ EPackage.Registry.INSTANCE.put(DiPackage.eNS_URI, theDiPackage);
+ return theDiPackage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDocumentRoot() {
+ return documentRootEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDocumentRoot_Mixed() {
+ return (EAttribute) documentRootEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_XMLNSPrefixMap() {
+ return (EReference) documentRootEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_XSISchemaLocation() {
+ return (EReference) documentRootEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_DiagramElement() {
+ return (EReference) documentRootEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Diagram() {
+ return (EReference) documentRootEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Edge() {
+ return (EReference) documentRootEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Label() {
+ return (EReference) documentRootEClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_LabeledEdge() {
+ return (EReference) documentRootEClass.getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_LabeledShape() {
+ return (EReference) documentRootEClass.getEStructuralFeatures().get(8);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Node() {
+ return (EReference) documentRootEClass.getEStructuralFeatures().get(9);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Plane() {
+ return (EReference) documentRootEClass.getEStructuralFeatures().get(10);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Shape() {
+ return (EReference) documentRootEClass.getEStructuralFeatures().get(11);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Style() {
+ return (EReference) documentRootEClass.getEStructuralFeatures().get(12);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDiagram() {
+ return diagramEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDiagram_Documentation() {
+ return (EAttribute) diagramEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDiagram_OwnedStyle() {
+ return (EReference) diagramEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDiagram_RootElement() {
+ return (EReference) diagramEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDiagram_Id() {
+ return (EAttribute) diagramEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDiagram_Name() {
+ return (EAttribute) diagramEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDiagram_Resolution() {
+ return (EAttribute) diagramEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDiagramElement() {
+ return diagramElementEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDiagramElement_OwningDiagram() {
+ return (EReference) diagramElementEClass.getEStructuralFeatures()
+ .get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDiagramElement_OwningElement() {
+ return (EReference) diagramElementEClass.getEStructuralFeatures()
+ .get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDiagramElement_OwnedElement() {
+ return (EReference) diagramElementEClass.getEStructuralFeatures()
+ .get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDiagramElement_ModelElement() {
+ return (EReference) diagramElementEClass.getEStructuralFeatures()
+ .get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDiagramElement_Style() {
+ return (EReference) diagramElementEClass.getEStructuralFeatures()
+ .get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDiagramElement_Id() {
+ return (EAttribute) diagramElementEClass.getEStructuralFeatures()
+ .get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getEdge() {
+ return edgeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getEdge_Source() {
+ return (EReference) edgeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getEdge_Target() {
+ return (EReference) edgeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getEdge_Waypoint() {
+ return (EReference) edgeEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getLabel() {
+ return labelEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getLabel_Bounds() {
+ return (EReference) labelEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getLabeledEdge() {
+ return labeledEdgeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getLabeledEdge_OwnedLabel() {
+ return (EReference) labeledEdgeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getLabeledShape() {
+ return labeledShapeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getLabeledShape_OwnedLabel() {
+ return (EReference) labeledShapeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getNode() {
+ return nodeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getPlane() {
+ return planeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getPlane_PlaneElement() {
+ return (EReference) planeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getShape() {
+ return shapeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getShape_Bounds() {
+ return (EReference) shapeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getStyle() {
+ return styleEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getStyle_Id() {
+ return (EAttribute) styleEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DiFactory getDiFactory() {
+ return (DiFactory) getEFactoryInstance();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isCreated = false;
+
+ /**
+ * Creates the meta-model objects for the package. This method is
+ * guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void createPackageContents() {
+ if (isCreated)
+ return;
+ isCreated = true;
+
+ // Create classes and their features
+ documentRootEClass = createEClass(DOCUMENT_ROOT);
+ createEAttribute(documentRootEClass, DOCUMENT_ROOT__MIXED);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__DIAGRAM_ELEMENT);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__DIAGRAM);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__EDGE);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__LABEL);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__LABELED_EDGE);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__LABELED_SHAPE);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__NODE);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__PLANE);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__SHAPE);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__STYLE);
+
+ diagramEClass = createEClass(DIAGRAM);
+ createEAttribute(diagramEClass, DIAGRAM__DOCUMENTATION);
+ createEReference(diagramEClass, DIAGRAM__OWNED_STYLE);
+ createEReference(diagramEClass, DIAGRAM__ROOT_ELEMENT);
+ createEAttribute(diagramEClass, DIAGRAM__ID);
+ createEAttribute(diagramEClass, DIAGRAM__NAME);
+ createEAttribute(diagramEClass, DIAGRAM__RESOLUTION);
+
+ diagramElementEClass = createEClass(DIAGRAM_ELEMENT);
+ createEReference(diagramElementEClass, DIAGRAM_ELEMENT__OWNING_DIAGRAM);
+ createEReference(diagramElementEClass, DIAGRAM_ELEMENT__OWNING_ELEMENT);
+ createEReference(diagramElementEClass, DIAGRAM_ELEMENT__OWNED_ELEMENT);
+ createEReference(diagramElementEClass, DIAGRAM_ELEMENT__MODEL_ELEMENT);
+ createEReference(diagramElementEClass, DIAGRAM_ELEMENT__STYLE);
+ createEAttribute(diagramElementEClass, DIAGRAM_ELEMENT__ID);
+
+ edgeEClass = createEClass(EDGE);
+ createEReference(edgeEClass, EDGE__SOURCE);
+ createEReference(edgeEClass, EDGE__TARGET);
+ createEReference(edgeEClass, EDGE__WAYPOINT);
+
+ labelEClass = createEClass(LABEL);
+ createEReference(labelEClass, LABEL__BOUNDS);
+
+ labeledEdgeEClass = createEClass(LABELED_EDGE);
+ createEReference(labeledEdgeEClass, LABELED_EDGE__OWNED_LABEL);
+
+ labeledShapeEClass = createEClass(LABELED_SHAPE);
+ createEReference(labeledShapeEClass, LABELED_SHAPE__OWNED_LABEL);
+
+ nodeEClass = createEClass(NODE);
+
+ planeEClass = createEClass(PLANE);
+ createEReference(planeEClass, PLANE__PLANE_ELEMENT);
+
+ shapeEClass = createEClass(SHAPE);
+ createEReference(shapeEClass, SHAPE__BOUNDS);
+
+ styleEClass = createEClass(STYLE);
+ createEAttribute(styleEClass, STYLE__ID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isInitialized = false;
+
+ /**
+ * Complete the initialization of the package and its meta-model. This
+ * method is guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void initializePackageContents() {
+ if (isInitialized)
+ return;
+ isInitialized = true;
+
+ // Initialize package
+ setName(eNAME);
+ setNsPrefix(eNS_PREFIX);
+ setNsURI(eNS_URI);
+
+ // Obtain other dependent packages
+ XMLTypePackage theXMLTypePackage = (XMLTypePackage) EPackage.Registry.INSTANCE
+ .getEPackage(XMLTypePackage.eNS_URI);
+ DcPackage theDcPackage = (DcPackage) EPackage.Registry.INSTANCE
+ .getEPackage(DcPackage.eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+ edgeEClass.getESuperTypes().add(this.getDiagramElement());
+ labelEClass.getESuperTypes().add(this.getNode());
+ labeledEdgeEClass.getESuperTypes().add(this.getEdge());
+ labeledShapeEClass.getESuperTypes().add(this.getShape());
+ nodeEClass.getESuperTypes().add(this.getDiagramElement());
+ planeEClass.getESuperTypes().add(this.getNode());
+ shapeEClass.getESuperTypes().add(this.getNode());
+
+ // Initialize classes and features; add operations and parameters
+ initEClass(documentRootEClass, DocumentRoot.class, "DocumentRoot",
+ !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDocumentRoot_Mixed(),
+ ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, null,
+ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
+ !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_XMLNSPrefixMap(),
+ ecorePackage.getEStringToStringMapEntry(), null,
+ "xMLNSPrefixMap", null, 0, -1, null, IS_TRANSIENT,
+ !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_XSISchemaLocation(),
+ ecorePackage.getEStringToStringMapEntry(), null,
+ "xSISchemaLocation", null, 0, -1, null, IS_TRANSIENT,
+ !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_DiagramElement(),
+ this.getDiagramElement(), null, "diagramElement", null, 0, -2,
+ null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
+ !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED,
+ IS_ORDERED);
+ initEReference(getDocumentRoot_Diagram(), this.getDiagram(), null,
+ "diagram", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE,
+ IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_Edge(), this.getEdge(), null, "edge",
+ null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE,
+ IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_Label(), this.getLabel(), null, "label",
+ null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE,
+ IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_LabeledEdge(), this.getLabeledEdge(),
+ null, "labeledEdge", null, 0, -2, null, IS_TRANSIENT,
+ IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_LabeledShape(), this.getLabeledShape(),
+ null, "labeledShape", null, 0, -2, null, IS_TRANSIENT,
+ IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_Node(), this.getNode(), null, "node",
+ null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE,
+ IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_Plane(), this.getPlane(), null, "plane",
+ null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE,
+ IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_Shape(), this.getShape(), null, "shape",
+ null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE,
+ IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_Style(), this.getStyle(), null, "style",
+ null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE,
+ IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ IS_DERIVED, IS_ORDERED);
+
+ initEClass(diagramEClass, Diagram.class, "Diagram", IS_ABSTRACT,
+ !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDiagram_Documentation(), ecorePackage.getEString(),
+ "documentation", null, 0, 1, Diagram.class, !IS_TRANSIENT,
+ !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, !IS_ORDERED);
+ initEReference(getDiagram_OwnedStyle(), this.getStyle(), null,
+ "ownedStyle", null, 0, -1, Diagram.class, IS_TRANSIENT,
+ !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE,
+ IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED,
+ !IS_ORDERED);
+ initEReference(getDiagram_RootElement(), this.getDiagramElement(),
+ this.getDiagramElement_OwningDiagram(), "rootElement", null, 1,
+ 1, Diagram.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE,
+ !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getDiagram_Id(), theXMLTypePackage.getID(), "id", null,
+ 0, 1, Diagram.class, !IS_TRANSIENT, !IS_VOLATILE,
+ IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEAttribute(getDiagram_Name(), ecorePackage.getEString(), "name",
+ null, 0, 1, Diagram.class, !IS_TRANSIENT, !IS_VOLATILE,
+ IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
+ initEAttribute(getDiagram_Resolution(), ecorePackage.getEFloat(),
+ "resolution", null, 0, 1, Diagram.class, !IS_TRANSIENT,
+ !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(diagramElementEClass, DiagramElement.class,
+ "DiagramElement", !IS_ABSTRACT, !IS_INTERFACE,
+ IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getDiagramElement_OwningDiagram(), this.getDiagram(),
+ this.getDiagram_RootElement(), "owningDiagram", null, 0, 1,
+ DiagramElement.class, IS_TRANSIENT, IS_VOLATILE,
+ !IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getDiagramElement_OwningElement(),
+ this.getDiagramElement(),
+ this.getDiagramElement_OwnedElement(), "owningElement", null,
+ 0, 1, DiagramElement.class, IS_TRANSIENT, !IS_VOLATILE,
+ !IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getDiagramElement_OwnedElement(),
+ this.getDiagramElement(),
+ this.getDiagramElement_OwningElement(), "ownedElement", null,
+ 0, -1, DiagramElement.class, IS_TRANSIENT, !IS_VOLATILE,
+ !IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getDiagramElement_ModelElement(),
+ ecorePackage.getEObject(), null, "modelElement", null, 0, 1,
+ DiagramElement.class, IS_TRANSIENT, !IS_VOLATILE,
+ !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getDiagramElement_Style(), this.getStyle(), null,
+ "style", null, 0, 1, DiagramElement.class, IS_TRANSIENT,
+ !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE,
+ IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED,
+ !IS_ORDERED);
+ initEAttribute(getDiagramElement_Id(), theXMLTypePackage.getID(), "id",
+ null, 0, 1, DiagramElement.class, !IS_TRANSIENT, !IS_VOLATILE,
+ IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+
+ initEClass(edgeEClass, Edge.class, "Edge", IS_ABSTRACT, !IS_INTERFACE,
+ IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getEdge_Source(), this.getDiagramElement(), null,
+ "source", null, 0, 1, Edge.class, IS_TRANSIENT, !IS_VOLATILE,
+ !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getEdge_Target(), this.getDiagramElement(), null,
+ "target", null, 0, 1, Edge.class, IS_TRANSIENT, !IS_VOLATILE,
+ !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getEdge_Waypoint(), theDcPackage.getPoint(), null,
+ "waypoint", null, 2, -1, Edge.class, !IS_TRANSIENT,
+ !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(labelEClass, Label.class, "Label", IS_ABSTRACT,
+ !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getLabel_Bounds(), theDcPackage.getBounds(), null,
+ "bounds", null, 0, 1, Label.class, !IS_TRANSIENT, !IS_VOLATILE,
+ IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(labeledEdgeEClass, LabeledEdge.class, "LabeledEdge",
+ IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getLabeledEdge_OwnedLabel(), this.getLabel(), null,
+ "ownedLabel", null, 0, -1, LabeledEdge.class, IS_TRANSIENT,
+ !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE,
+ IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED,
+ !IS_ORDERED);
+
+ initEClass(labeledShapeEClass, LabeledShape.class, "LabeledShape",
+ IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getLabeledShape_OwnedLabel(), this.getLabel(), null,
+ "ownedLabel", null, 0, -1, LabeledShape.class, IS_TRANSIENT,
+ !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE,
+ IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED,
+ !IS_ORDERED);
+
+ initEClass(nodeEClass, Node.class, "Node", IS_ABSTRACT, !IS_INTERFACE,
+ IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(planeEClass, Plane.class, "Plane", IS_ABSTRACT,
+ !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getPlane_PlaneElement(), this.getDiagramElement(), null,
+ "planeElement", null, 0, -1, Plane.class, !IS_TRANSIENT,
+ !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ EOperation op = addEOperation(planeEClass, ecorePackage.getEBoolean(),
+ "plane_element_type", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0,
+ 1, IS_UNIQUE, IS_ORDERED);
+ EGenericType g1 = createEGenericType(ecorePackage.getEMap());
+ EGenericType g2 = createEGenericType(ecorePackage.getEJavaObject());
+ g1.getETypeArguments().add(g2);
+ g2 = createEGenericType(ecorePackage.getEJavaObject());
+ g1.getETypeArguments().add(g2);
+ addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ initEClass(shapeEClass, Shape.class, "Shape", IS_ABSTRACT,
+ !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getShape_Bounds(), theDcPackage.getBounds(), null,
+ "bounds", null, 1, 1, Shape.class, !IS_TRANSIENT, !IS_VOLATILE,
+ IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(styleEClass, Style.class, "Style", IS_ABSTRACT,
+ !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getStyle_Id(), theXMLTypePackage.getID(), "id", null, 0,
+ 1, Style.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
+ !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ // Create resource
+ createResource(eNS_URI);
+
+ // Create annotations
+ // http:///org/eclipse/emf/ecore/util/ExtendedMetaData
+ createExtendedMetaDataAnnotations();
+ }
+
+ /**
+ * Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void createExtendedMetaDataAnnotations() {
+ String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData";
+ addAnnotation(documentRootEClass, source, new String[] { "name", "",
+ "kind", "mixed" });
+ addAnnotation(getDocumentRoot_Mixed(), source, new String[] { "kind",
+ "elementWildcard", "name", ":mixed" });
+ addAnnotation(getDocumentRoot_XMLNSPrefixMap(), source, new String[] {
+ "kind", "attribute", "name", "xmlns:prefix" });
+ addAnnotation(getDocumentRoot_XSISchemaLocation(), source,
+ new String[] { "kind", "attribute", "name",
+ "xsi:schemaLocation" });
+ addAnnotation(getDocumentRoot_DiagramElement(), source, new String[] {
+ "kind", "element", "name", "DiagramElement", "namespace",
+ "http://www.omg.org/spec/DD/20100524/DI" });
+ addAnnotation(getDocumentRoot_Diagram(), source, new String[] { "kind",
+ "element", "name", "Diagram", "namespace",
+ "http://www.omg.org/spec/DD/20100524/DI" });
+ addAnnotation(getDocumentRoot_Edge(), source, new String[] { "kind",
+ "element", "name", "Edge", "namespace",
+ "http://www.omg.org/spec/DD/20100524/DI" });
+ addAnnotation(getDocumentRoot_Label(), source, new String[] { "kind",
+ "element", "name", "Label", "namespace",
+ "http://www.omg.org/spec/DD/20100524/DI" });
+ addAnnotation(getDocumentRoot_LabeledEdge(), source, new String[] {
+ "kind", "element", "name", "LabeledEdge", "namespace",
+ "http://www.omg.org/spec/DD/20100524/DI" });
+ addAnnotation(getDocumentRoot_LabeledShape(), source, new String[] {
+ "kind", "element", "name", "LabeledShape", "namespace",
+ "http://www.omg.org/spec/DD/20100524/DI" });
+ addAnnotation(getDocumentRoot_Node(), source, new String[] { "kind",
+ "element", "name", "Node", "namespace",
+ "http://www.omg.org/spec/DD/20100524/DI" });
+ addAnnotation(getDocumentRoot_Plane(), source, new String[] { "kind",
+ "element", "name", "Plane", "namespace",
+ "http://www.omg.org/spec/DD/20100524/DI" });
+ addAnnotation(getDocumentRoot_Shape(), source, new String[] { "kind",
+ "element", "name", "Shape", "namespace",
+ "http://www.omg.org/spec/DD/20100524/DI" });
+ addAnnotation(getDocumentRoot_Style(), source, new String[] { "kind",
+ "element", "name", "Style", "namespace",
+ "http://www.omg.org/spec/DD/20100524/DI" });
+ addAnnotation(diagramEClass, source, new String[] { "name", "Diagram",
+ "kind", "empty" });
+ addAnnotation(getDiagram_Documentation(), source, new String[] {
+ "kind", "attribute", "name", "documentation" });
+ addAnnotation(getDiagram_Id(), source, new String[] { "kind",
+ "attribute", "name", "id" });
+ addAnnotation(getDiagram_Name(), source, new String[] { "kind",
+ "attribute", "name", "name" });
+ addAnnotation(getDiagram_Resolution(), source, new String[] { "kind",
+ "attribute", "name", "resolution" });
+ addAnnotation(diagramElementEClass, source, new String[] { "name",
+ "DiagramElement", "kind", "elementOnly", "abstract", "true" });
+ addAnnotation(getDiagramElement_Id(), source, new String[] { "kind",
+ "attribute", "name", "id" });
+ addAnnotation(edgeEClass, source, new String[] { "name", "Edge",
+ "kind", "elementOnly" });
+ addAnnotation(getEdge_Waypoint(), source, new String[] { "kind",
+ "element", "name", "waypoint", "namespace",
+ "http://www.omg.org/spec/DD/20100524/DI" });
+ addAnnotation(labelEClass, source, new String[] { "name", "Label",
+ "kind", "elementOnly" });
+ addAnnotation(getLabel_Bounds(), source, new String[] { "kind",
+ "element", "name", "Bounds", "namespace",
+ "http://www.omg.org/spec/DD/20100524/DC" });
+ addAnnotation(labeledEdgeEClass, source, new String[] { "name",
+ "LabeledEdge", "kind", "elementOnly" });
+ addAnnotation(labeledShapeEClass, source, new String[] { "name",
+ "LabeledShape", "kind", "elementOnly" });
+ addAnnotation(nodeEClass, source, new String[] { "name", "Node",
+ "kind", "elementOnly" });
+ addAnnotation(planeEClass, source, new String[] { "name", "Plane",
+ "kind", "elementOnly" });
+ addAnnotation(getPlane_PlaneElement(), source, new String[] { "kind",
+ "element", "name", "DiagramElement", "namespace",
+ "http://www.omg.org/spec/DD/20100524/DI", "group",
+ "http://www.omg.org/spec/DD/20100524/DI#DiagramElement" });
+ addAnnotation(shapeEClass, source, new String[] { "name", "Shape",
+ "kind", "elementOnly" });
+ addAnnotation(getShape_Bounds(), source, new String[] { "kind",
+ "element", "name", "Bounds", "namespace",
+ "http://www.omg.org/spec/DD/20100524/DC" });
+ addAnnotation(styleEClass, source, new String[] { "name", "Style",
+ "kind", "empty" });
+ addAnnotation(getStyle_Id(), source, new String[] { "kind",
+ "attribute", "name", "id" });
+ }
+
+} //DiPackageImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/DiagramElementImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/DiagramElementImpl.java
new file mode 100644
index 000000000..a046a77d6
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/DiagramElementImpl.java
@@ -0,0 +1,411 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.di.impl;
+
+import java.util.List;
+
+import org.eclipse.dd.di.DiPackage;
+import org.eclipse.dd.di.Diagram;
+import org.eclipse.dd.di.DiagramElement;
+import org.eclipse.dd.di.Style;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.eclipse.emf.ecore.util.EObjectWithInverseEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Diagram Element</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.dd.di.impl.DiagramElementImpl#getOwningDiagram <em>Owning Diagram</em>}</li>
+ * <li>{@link org.eclipse.dd.di.impl.DiagramElementImpl#getOwningElement <em>Owning Element</em>}</li>
+ * <li>{@link org.eclipse.dd.di.impl.DiagramElementImpl#getOwnedElement <em>Owned Element</em>}</li>
+ * <li>{@link org.eclipse.dd.di.impl.DiagramElementImpl#getModelElement <em>Model Element</em>}</li>
+ * <li>{@link org.eclipse.dd.di.impl.DiagramElementImpl#getStyle <em>Style</em>}</li>
+ * <li>{@link org.eclipse.dd.di.impl.DiagramElementImpl#getId <em>Id</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DiagramElementImpl extends EObjectImpl implements DiagramElement {
+ /**
+ * The cached value of the '{@link #getOwningElement() <em>Owning Element</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOwningElement()
+ * @generated
+ * @ordered
+ */
+ protected DiagramElement owningElement;
+
+ /**
+ * The cached value of the '{@link #getOwnedElement() <em>Owned Element</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOwnedElement()
+ * @generated
+ * @ordered
+ */
+ protected EList<DiagramElement> ownedElement;
+
+ /**
+ * The cached value of the '{@link #getModelElement() <em>Model Element</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getModelElement()
+ * @generated
+ * @ordered
+ */
+ protected EObject modelElement;
+
+ /**
+ * The cached value of the '{@link #getStyle() <em>Style</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getStyle()
+ * @generated
+ * @ordered
+ */
+ protected Style style;
+
+ /**
+ * The default value of the '{@link #getId() <em>Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getId()
+ * @generated
+ * @ordered
+ */
+ protected static final String ID_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getId()
+ * @generated
+ * @ordered
+ */
+ protected String id = ID_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DiagramElementImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DiPackage.Literals.DIAGRAM_ELEMENT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Diagram getOwningDiagram() {
+ // TODO: implement this method to return the 'Owning Diagram' reference
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DiagramElement getOwningElement() {
+ return owningElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetOwningElement(
+ DiagramElement newOwningElement, NotificationChain msgs) {
+ DiagramElement oldOwningElement = owningElement;
+ owningElement = newOwningElement;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET,
+ DiPackage.DIAGRAM_ELEMENT__OWNING_ELEMENT,
+ oldOwningElement, newOwningElement);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<DiagramElement> getOwnedElement() {
+ if (ownedElement == null) {
+ ownedElement = new EObjectWithInverseEList<DiagramElement>(
+ DiagramElement.class, this,
+ DiPackage.DIAGRAM_ELEMENT__OWNED_ELEMENT,
+ DiPackage.DIAGRAM_ELEMENT__OWNING_ELEMENT);
+ }
+ return ownedElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Object getModelElement() {
+ if (modelElement != null && modelElement.eIsProxy()) {
+ InternalEObject oldModelElement = (InternalEObject) modelElement;
+ modelElement = eResolveProxy(oldModelElement);
+ if (modelElement != oldModelElement) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ DiPackage.DIAGRAM_ELEMENT__MODEL_ELEMENT,
+ oldModelElement, modelElement));
+ }
+ }
+ return modelElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Object basicGetModelElement() {
+ return modelElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Style getStyle() {
+ if (style != null && style.eIsProxy()) {
+ InternalEObject oldStyle = (InternalEObject) style;
+ style = (Style) eResolveProxy(oldStyle);
+ if (style != oldStyle) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ DiPackage.DIAGRAM_ELEMENT__STYLE, oldStyle, style));
+ }
+ }
+ return style;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Style basicGetStyle() {
+ return style;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setId(String newId) {
+ String oldId = id;
+ id = newId;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ DiPackage.DIAGRAM_ELEMENT__ID, oldId, id));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public NotificationChain eInverseAdd(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case DiPackage.DIAGRAM_ELEMENT__OWNING_ELEMENT:
+ if (owningElement != null)
+ msgs = ((InternalEObject) owningElement).eInverseRemove(this,
+ DiPackage.DIAGRAM_ELEMENT__OWNED_ELEMENT,
+ DiagramElement.class, msgs);
+ return basicSetOwningElement((DiagramElement) otherEnd, msgs);
+ case DiPackage.DIAGRAM_ELEMENT__OWNED_ELEMENT:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getOwnedElement())
+ .basicAdd(otherEnd, msgs);
+ }
+ return super.eInverseAdd(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case DiPackage.DIAGRAM_ELEMENT__OWNING_ELEMENT:
+ return basicSetOwningElement(null, msgs);
+ case DiPackage.DIAGRAM_ELEMENT__OWNED_ELEMENT:
+ return ((InternalEList<?>) getOwnedElement()).basicRemove(otherEnd,
+ msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DiPackage.DIAGRAM_ELEMENT__OWNING_DIAGRAM:
+ return getOwningDiagram();
+ case DiPackage.DIAGRAM_ELEMENT__OWNING_ELEMENT:
+ return getOwningElement();
+ case DiPackage.DIAGRAM_ELEMENT__OWNED_ELEMENT:
+ return getOwnedElement();
+ case DiPackage.DIAGRAM_ELEMENT__MODEL_ELEMENT:
+ if (resolve)
+ return getModelElement();
+ return basicGetModelElement();
+ case DiPackage.DIAGRAM_ELEMENT__STYLE:
+ if (resolve)
+ return getStyle();
+ return basicGetStyle();
+ case DiPackage.DIAGRAM_ELEMENT__ID:
+ return getId();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DiPackage.DIAGRAM_ELEMENT__ID:
+ setId((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DiPackage.DIAGRAM_ELEMENT__ID:
+ setId(ID_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DiPackage.DIAGRAM_ELEMENT__OWNING_DIAGRAM:
+ return getOwningDiagram() != null;
+ case DiPackage.DIAGRAM_ELEMENT__OWNING_ELEMENT:
+ return owningElement != null;
+ case DiPackage.DIAGRAM_ELEMENT__OWNED_ELEMENT:
+ return ownedElement != null && !ownedElement.isEmpty();
+ case DiPackage.DIAGRAM_ELEMENT__MODEL_ELEMENT:
+ return modelElement != null;
+ case DiPackage.DIAGRAM_ELEMENT__STYLE:
+ return style != null;
+ case DiPackage.DIAGRAM_ELEMENT__ID:
+ return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (id: ");
+ result.append(id);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DiagramElementImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/DiagramImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/DiagramImpl.java
new file mode 100644
index 000000000..1b1a8f4cd
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/DiagramImpl.java
@@ -0,0 +1,397 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.di.impl;
+
+import java.util.List;
+
+import org.eclipse.dd.di.DiPackage;
+import org.eclipse.dd.di.Diagram;
+import org.eclipse.dd.di.DiagramElement;
+import org.eclipse.dd.di.Style;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Diagram</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.dd.di.impl.DiagramImpl#getDocumentation <em>Documentation</em>}</li>
+ * <li>{@link org.eclipse.dd.di.impl.DiagramImpl#getOwnedStyle <em>Owned Style</em>}</li>
+ * <li>{@link org.eclipse.dd.di.impl.DiagramImpl#getRootElement <em>Root Element</em>}</li>
+ * <li>{@link org.eclipse.dd.di.impl.DiagramImpl#getId <em>Id</em>}</li>
+ * <li>{@link org.eclipse.dd.di.impl.DiagramImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.dd.di.impl.DiagramImpl#getResolution <em>Resolution</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class DiagramImpl extends EObjectImpl implements Diagram {
+ /**
+ * The default value of the '{@link #getDocumentation() <em>Documentation</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDocumentation()
+ * @generated
+ * @ordered
+ */
+ protected static final String DOCUMENTATION_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getDocumentation() <em>Documentation</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDocumentation()
+ * @generated
+ * @ordered
+ */
+ protected String documentation = DOCUMENTATION_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getOwnedStyle() <em>Owned Style</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOwnedStyle()
+ * @generated
+ * @ordered
+ */
+ protected EList<Style> ownedStyle;
+
+ /**
+ * The default value of the '{@link #getId() <em>Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getId()
+ * @generated
+ * @ordered
+ */
+ protected static final String ID_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getId()
+ * @generated
+ * @ordered
+ */
+ protected String id = ID_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getResolution() <em>Resolution</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getResolution()
+ * @generated
+ * @ordered
+ */
+ protected static final float RESOLUTION_EDEFAULT = 0.0F;
+
+ /**
+ * The cached value of the '{@link #getResolution() <em>Resolution</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getResolution()
+ * @generated
+ * @ordered
+ */
+ protected float resolution = RESOLUTION_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DiagramImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DiPackage.Literals.DIAGRAM;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getDocumentation() {
+ return documentation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDocumentation(String newDocumentation) {
+ String oldDocumentation = documentation;
+ documentation = newDocumentation;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ DiPackage.DIAGRAM__DOCUMENTATION, oldDocumentation,
+ documentation));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<Style> getOwnedStyle() {
+ if (ownedStyle == null) {
+ ownedStyle = new EObjectResolvingEList<Style>(Style.class, this,
+ DiPackage.DIAGRAM__OWNED_STYLE);
+ }
+ return ownedStyle;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DiagramElement getRootElement() {
+ // TODO: implement this method to return the 'Root Element' reference
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setId(String newId) {
+ String oldId = id;
+ id = newId;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ DiPackage.DIAGRAM__ID, oldId, id));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ DiPackage.DIAGRAM__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public float getResolution() {
+ return resolution;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setResolution(float newResolution) {
+ float oldResolution = resolution;
+ resolution = newResolution;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ DiPackage.DIAGRAM__RESOLUTION, oldResolution, resolution));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DiPackage.DIAGRAM__DOCUMENTATION:
+ return getDocumentation();
+ case DiPackage.DIAGRAM__OWNED_STYLE:
+ return getOwnedStyle();
+ case DiPackage.DIAGRAM__ROOT_ELEMENT:
+ return getRootElement();
+ case DiPackage.DIAGRAM__ID:
+ return getId();
+ case DiPackage.DIAGRAM__NAME:
+ return getName();
+ case DiPackage.DIAGRAM__RESOLUTION:
+ return getResolution();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DiPackage.DIAGRAM__DOCUMENTATION:
+ setDocumentation((String) newValue);
+ return;
+ case DiPackage.DIAGRAM__ID:
+ setId((String) newValue);
+ return;
+ case DiPackage.DIAGRAM__NAME:
+ setName((String) newValue);
+ return;
+ case DiPackage.DIAGRAM__RESOLUTION:
+ setResolution((Float) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DiPackage.DIAGRAM__DOCUMENTATION:
+ setDocumentation(DOCUMENTATION_EDEFAULT);
+ return;
+ case DiPackage.DIAGRAM__ID:
+ setId(ID_EDEFAULT);
+ return;
+ case DiPackage.DIAGRAM__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case DiPackage.DIAGRAM__RESOLUTION:
+ setResolution(RESOLUTION_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DiPackage.DIAGRAM__DOCUMENTATION:
+ return DOCUMENTATION_EDEFAULT == null ? documentation != null
+ : !DOCUMENTATION_EDEFAULT.equals(documentation);
+ case DiPackage.DIAGRAM__OWNED_STYLE:
+ return ownedStyle != null && !ownedStyle.isEmpty();
+ case DiPackage.DIAGRAM__ROOT_ELEMENT:
+ return getRootElement() != null;
+ case DiPackage.DIAGRAM__ID:
+ return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
+ case DiPackage.DIAGRAM__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
+ .equals(name);
+ case DiPackage.DIAGRAM__RESOLUTION:
+ return resolution != RESOLUTION_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (documentation: ");
+ result.append(documentation);
+ result.append(", id: ");
+ result.append(id);
+ result.append(", name: ");
+ result.append(name);
+ result.append(", resolution: ");
+ result.append(resolution);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DiagramImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/DocumentRootImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/DocumentRootImpl.java
new file mode 100644
index 000000000..6090425ea
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/DocumentRootImpl.java
@@ -0,0 +1,727 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.di.impl;
+
+import java.util.Map;
+
+import org.eclipse.dd.di.DiPackage;
+import org.eclipse.dd.di.Diagram;
+import org.eclipse.dd.di.DiagramElement;
+import org.eclipse.dd.di.DocumentRoot;
+import org.eclipse.dd.di.Edge;
+import org.eclipse.dd.di.Label;
+import org.eclipse.dd.di.LabeledEdge;
+import org.eclipse.dd.di.LabeledShape;
+import org.eclipse.dd.di.Node;
+import org.eclipse.dd.di.Plane;
+import org.eclipse.dd.di.Shape;
+import org.eclipse.dd.di.Style;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EMap;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.emf.ecore.EcorePackage;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+import org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl;
+
+import org.eclipse.emf.ecore.util.BasicFeatureMap;
+import org.eclipse.emf.ecore.util.EcoreEMap;
+import org.eclipse.emf.ecore.util.FeatureMap;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Document Root</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.dd.di.impl.DocumentRootImpl#getMixed <em>Mixed</em>}</li>
+ * <li>{@link org.eclipse.dd.di.impl.DocumentRootImpl#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
+ * <li>{@link org.eclipse.dd.di.impl.DocumentRootImpl#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
+ * <li>{@link org.eclipse.dd.di.impl.DocumentRootImpl#getDiagramElement <em>Diagram Element</em>}</li>
+ * <li>{@link org.eclipse.dd.di.impl.DocumentRootImpl#getDiagram <em>Diagram</em>}</li>
+ * <li>{@link org.eclipse.dd.di.impl.DocumentRootImpl#getEdge <em>Edge</em>}</li>
+ * <li>{@link org.eclipse.dd.di.impl.DocumentRootImpl#getLabel <em>Label</em>}</li>
+ * <li>{@link org.eclipse.dd.di.impl.DocumentRootImpl#getLabeledEdge <em>Labeled Edge</em>}</li>
+ * <li>{@link org.eclipse.dd.di.impl.DocumentRootImpl#getLabeledShape <em>Labeled Shape</em>}</li>
+ * <li>{@link org.eclipse.dd.di.impl.DocumentRootImpl#getNode <em>Node</em>}</li>
+ * <li>{@link org.eclipse.dd.di.impl.DocumentRootImpl#getPlane <em>Plane</em>}</li>
+ * <li>{@link org.eclipse.dd.di.impl.DocumentRootImpl#getShape <em>Shape</em>}</li>
+ * <li>{@link org.eclipse.dd.di.impl.DocumentRootImpl#getStyle <em>Style</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DocumentRootImpl extends EObjectImpl implements DocumentRoot {
+ /**
+ * The cached value of the '{@link #getMixed() <em>Mixed</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMixed()
+ * @generated
+ * @ordered
+ */
+ protected FeatureMap mixed;
+
+ /**
+ * The cached value of the '{@link #getXMLNSPrefixMap() <em>XMLNS Prefix Map</em>}' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXMLNSPrefixMap()
+ * @generated
+ * @ordered
+ */
+ protected EMap<String, String> xMLNSPrefixMap;
+
+ /**
+ * The cached value of the '{@link #getXSISchemaLocation() <em>XSI Schema Location</em>}' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXSISchemaLocation()
+ * @generated
+ * @ordered
+ */
+ protected EMap<String, String> xSISchemaLocation;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DocumentRootImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DiPackage.Literals.DOCUMENT_ROOT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeatureMap getMixed() {
+ if (mixed == null) {
+ mixed = new BasicFeatureMap(this, DiPackage.DOCUMENT_ROOT__MIXED);
+ }
+ return mixed;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Map<String, String> getXMLNSPrefixMap() {
+ if (xMLNSPrefixMap == null) {
+ xMLNSPrefixMap = new EcoreEMap<String, String>(
+ EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY,
+ EStringToStringMapEntryImpl.class, this,
+ DiPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
+ }
+ return xMLNSPrefixMap.map();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Map<String, String> getXSISchemaLocation() {
+ if (xSISchemaLocation == null) {
+ xSISchemaLocation = new EcoreEMap<String, String>(
+ EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY,
+ EStringToStringMapEntryImpl.class, this,
+ DiPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
+ }
+ return xSISchemaLocation.map();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DiagramElement getDiagramElement() {
+ return (DiagramElement) getMixed().get(
+ DiPackage.Literals.DOCUMENT_ROOT__DIAGRAM_ELEMENT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDiagramElement(
+ DiagramElement newDiagramElement, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ DiPackage.Literals.DOCUMENT_ROOT__DIAGRAM_ELEMENT,
+ newDiagramElement, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDiagramElement(DiagramElement newDiagramElement) {
+ ((FeatureMap.Internal) getMixed()).set(
+ DiPackage.Literals.DOCUMENT_ROOT__DIAGRAM_ELEMENT,
+ newDiagramElement);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Diagram getDiagram() {
+ return (Diagram) getMixed().get(
+ DiPackage.Literals.DOCUMENT_ROOT__DIAGRAM, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDiagram(Diagram newDiagram,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ DiPackage.Literals.DOCUMENT_ROOT__DIAGRAM, newDiagram, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDiagram(Diagram newDiagram) {
+ ((FeatureMap.Internal) getMixed()).set(
+ DiPackage.Literals.DOCUMENT_ROOT__DIAGRAM, newDiagram);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Edge getEdge() {
+ return (Edge) getMixed().get(DiPackage.Literals.DOCUMENT_ROOT__EDGE,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetEdge(Edge newEdge, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ DiPackage.Literals.DOCUMENT_ROOT__EDGE, newEdge, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setEdge(Edge newEdge) {
+ ((FeatureMap.Internal) getMixed()).set(
+ DiPackage.Literals.DOCUMENT_ROOT__EDGE, newEdge);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Label getLabel() {
+ return (Label) getMixed().get(DiPackage.Literals.DOCUMENT_ROOT__LABEL,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetLabel(Label newLabel,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ DiPackage.Literals.DOCUMENT_ROOT__LABEL, newLabel, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLabel(Label newLabel) {
+ ((FeatureMap.Internal) getMixed()).set(
+ DiPackage.Literals.DOCUMENT_ROOT__LABEL, newLabel);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public LabeledEdge getLabeledEdge() {
+ return (LabeledEdge) getMixed().get(
+ DiPackage.Literals.DOCUMENT_ROOT__LABELED_EDGE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetLabeledEdge(LabeledEdge newLabeledEdge,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ DiPackage.Literals.DOCUMENT_ROOT__LABELED_EDGE, newLabeledEdge,
+ msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLabeledEdge(LabeledEdge newLabeledEdge) {
+ ((FeatureMap.Internal) getMixed()).set(
+ DiPackage.Literals.DOCUMENT_ROOT__LABELED_EDGE, newLabeledEdge);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public LabeledShape getLabeledShape() {
+ return (LabeledShape) getMixed().get(
+ DiPackage.Literals.DOCUMENT_ROOT__LABELED_SHAPE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetLabeledShape(LabeledShape newLabeledShape,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ DiPackage.Literals.DOCUMENT_ROOT__LABELED_SHAPE,
+ newLabeledShape, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLabeledShape(LabeledShape newLabeledShape) {
+ ((FeatureMap.Internal) getMixed()).set(
+ DiPackage.Literals.DOCUMENT_ROOT__LABELED_SHAPE,
+ newLabeledShape);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Node getNode() {
+ return (Node) getMixed().get(DiPackage.Literals.DOCUMENT_ROOT__NODE,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetNode(Node newNode, NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ DiPackage.Literals.DOCUMENT_ROOT__NODE, newNode, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setNode(Node newNode) {
+ ((FeatureMap.Internal) getMixed()).set(
+ DiPackage.Literals.DOCUMENT_ROOT__NODE, newNode);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Plane getPlane() {
+ return (Plane) getMixed().get(DiPackage.Literals.DOCUMENT_ROOT__PLANE,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetPlane(Plane newPlane,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ DiPackage.Literals.DOCUMENT_ROOT__PLANE, newPlane, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPlane(Plane newPlane) {
+ ((FeatureMap.Internal) getMixed()).set(
+ DiPackage.Literals.DOCUMENT_ROOT__PLANE, newPlane);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Shape getShape() {
+ return (Shape) getMixed().get(DiPackage.Literals.DOCUMENT_ROOT__SHAPE,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetShape(Shape newShape,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ DiPackage.Literals.DOCUMENT_ROOT__SHAPE, newShape, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setShape(Shape newShape) {
+ ((FeatureMap.Internal) getMixed()).set(
+ DiPackage.Literals.DOCUMENT_ROOT__SHAPE, newShape);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Style getStyle() {
+ return (Style) getMixed().get(DiPackage.Literals.DOCUMENT_ROOT__STYLE,
+ true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetStyle(Style newStyle,
+ NotificationChain msgs) {
+ return ((FeatureMap.Internal) getMixed()).basicAdd(
+ DiPackage.Literals.DOCUMENT_ROOT__STYLE, newStyle, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setStyle(Style newStyle) {
+ ((FeatureMap.Internal) getMixed()).set(
+ DiPackage.Literals.DOCUMENT_ROOT__STYLE, newStyle);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case DiPackage.DOCUMENT_ROOT__MIXED:
+ return ((InternalEList<?>) getMixed()).basicRemove(otherEnd, msgs);
+ case DiPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ return ((InternalEList<?>) ((EMap.InternalMapView<String, String>) getXMLNSPrefixMap())
+ .eMap()).basicRemove(otherEnd, msgs);
+ case DiPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ return ((InternalEList<?>) ((EMap.InternalMapView<String, String>) getXSISchemaLocation())
+ .eMap()).basicRemove(otherEnd, msgs);
+ case DiPackage.DOCUMENT_ROOT__DIAGRAM_ELEMENT:
+ return basicSetDiagramElement(null, msgs);
+ case DiPackage.DOCUMENT_ROOT__DIAGRAM:
+ return basicSetDiagram(null, msgs);
+ case DiPackage.DOCUMENT_ROOT__EDGE:
+ return basicSetEdge(null, msgs);
+ case DiPackage.DOCUMENT_ROOT__LABEL:
+ return basicSetLabel(null, msgs);
+ case DiPackage.DOCUMENT_ROOT__LABELED_EDGE:
+ return basicSetLabeledEdge(null, msgs);
+ case DiPackage.DOCUMENT_ROOT__LABELED_SHAPE:
+ return basicSetLabeledShape(null, msgs);
+ case DiPackage.DOCUMENT_ROOT__NODE:
+ return basicSetNode(null, msgs);
+ case DiPackage.DOCUMENT_ROOT__PLANE:
+ return basicSetPlane(null, msgs);
+ case DiPackage.DOCUMENT_ROOT__SHAPE:
+ return basicSetShape(null, msgs);
+ case DiPackage.DOCUMENT_ROOT__STYLE:
+ return basicSetStyle(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DiPackage.DOCUMENT_ROOT__MIXED:
+ if (coreType)
+ return getMixed();
+ return ((FeatureMap.Internal) getMixed()).getWrapper();
+ case DiPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ if (coreType)
+ return ((EMap.InternalMapView<String, String>) getXMLNSPrefixMap())
+ .eMap();
+ else
+ return getXMLNSPrefixMap();
+ case DiPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ if (coreType)
+ return ((EMap.InternalMapView<String, String>) getXSISchemaLocation())
+ .eMap();
+ else
+ return getXSISchemaLocation();
+ case DiPackage.DOCUMENT_ROOT__DIAGRAM_ELEMENT:
+ return getDiagramElement();
+ case DiPackage.DOCUMENT_ROOT__DIAGRAM:
+ return getDiagram();
+ case DiPackage.DOCUMENT_ROOT__EDGE:
+ return getEdge();
+ case DiPackage.DOCUMENT_ROOT__LABEL:
+ return getLabel();
+ case DiPackage.DOCUMENT_ROOT__LABELED_EDGE:
+ return getLabeledEdge();
+ case DiPackage.DOCUMENT_ROOT__LABELED_SHAPE:
+ return getLabeledShape();
+ case DiPackage.DOCUMENT_ROOT__NODE:
+ return getNode();
+ case DiPackage.DOCUMENT_ROOT__PLANE:
+ return getPlane();
+ case DiPackage.DOCUMENT_ROOT__SHAPE:
+ return getShape();
+ case DiPackage.DOCUMENT_ROOT__STYLE:
+ return getStyle();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DiPackage.DOCUMENT_ROOT__MIXED:
+ ((FeatureMap.Internal) getMixed()).set(newValue);
+ return;
+ case DiPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ ((EStructuralFeature.Setting) ((EMap.InternalMapView<String, String>) getXMLNSPrefixMap())
+ .eMap()).set(newValue);
+ return;
+ case DiPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ ((EStructuralFeature.Setting) ((EMap.InternalMapView<String, String>) getXSISchemaLocation())
+ .eMap()).set(newValue);
+ return;
+ case DiPackage.DOCUMENT_ROOT__DIAGRAM_ELEMENT:
+ setDiagramElement((DiagramElement) newValue);
+ return;
+ case DiPackage.DOCUMENT_ROOT__DIAGRAM:
+ setDiagram((Diagram) newValue);
+ return;
+ case DiPackage.DOCUMENT_ROOT__EDGE:
+ setEdge((Edge) newValue);
+ return;
+ case DiPackage.DOCUMENT_ROOT__LABEL:
+ setLabel((Label) newValue);
+ return;
+ case DiPackage.DOCUMENT_ROOT__LABELED_EDGE:
+ setLabeledEdge((LabeledEdge) newValue);
+ return;
+ case DiPackage.DOCUMENT_ROOT__LABELED_SHAPE:
+ setLabeledShape((LabeledShape) newValue);
+ return;
+ case DiPackage.DOCUMENT_ROOT__NODE:
+ setNode((Node) newValue);
+ return;
+ case DiPackage.DOCUMENT_ROOT__PLANE:
+ setPlane((Plane) newValue);
+ return;
+ case DiPackage.DOCUMENT_ROOT__SHAPE:
+ setShape((Shape) newValue);
+ return;
+ case DiPackage.DOCUMENT_ROOT__STYLE:
+ setStyle((Style) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DiPackage.DOCUMENT_ROOT__MIXED:
+ getMixed().clear();
+ return;
+ case DiPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ getXMLNSPrefixMap().clear();
+ return;
+ case DiPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ getXSISchemaLocation().clear();
+ return;
+ case DiPackage.DOCUMENT_ROOT__DIAGRAM_ELEMENT:
+ setDiagramElement((DiagramElement) null);
+ return;
+ case DiPackage.DOCUMENT_ROOT__DIAGRAM:
+ setDiagram((Diagram) null);
+ return;
+ case DiPackage.DOCUMENT_ROOT__EDGE:
+ setEdge((Edge) null);
+ return;
+ case DiPackage.DOCUMENT_ROOT__LABEL:
+ setLabel((Label) null);
+ return;
+ case DiPackage.DOCUMENT_ROOT__LABELED_EDGE:
+ setLabeledEdge((LabeledEdge) null);
+ return;
+ case DiPackage.DOCUMENT_ROOT__LABELED_SHAPE:
+ setLabeledShape((LabeledShape) null);
+ return;
+ case DiPackage.DOCUMENT_ROOT__NODE:
+ setNode((Node) null);
+ return;
+ case DiPackage.DOCUMENT_ROOT__PLANE:
+ setPlane((Plane) null);
+ return;
+ case DiPackage.DOCUMENT_ROOT__SHAPE:
+ setShape((Shape) null);
+ return;
+ case DiPackage.DOCUMENT_ROOT__STYLE:
+ setStyle((Style) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DiPackage.DOCUMENT_ROOT__MIXED:
+ return mixed != null && !mixed.isEmpty();
+ case DiPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty();
+ case DiPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ return xSISchemaLocation != null && !xSISchemaLocation.isEmpty();
+ case DiPackage.DOCUMENT_ROOT__DIAGRAM_ELEMENT:
+ return getDiagramElement() != null;
+ case DiPackage.DOCUMENT_ROOT__DIAGRAM:
+ return getDiagram() != null;
+ case DiPackage.DOCUMENT_ROOT__EDGE:
+ return getEdge() != null;
+ case DiPackage.DOCUMENT_ROOT__LABEL:
+ return getLabel() != null;
+ case DiPackage.DOCUMENT_ROOT__LABELED_EDGE:
+ return getLabeledEdge() != null;
+ case DiPackage.DOCUMENT_ROOT__LABELED_SHAPE:
+ return getLabeledShape() != null;
+ case DiPackage.DOCUMENT_ROOT__NODE:
+ return getNode() != null;
+ case DiPackage.DOCUMENT_ROOT__PLANE:
+ return getPlane() != null;
+ case DiPackage.DOCUMENT_ROOT__SHAPE:
+ return getShape() != null;
+ case DiPackage.DOCUMENT_ROOT__STYLE:
+ return getStyle() != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (mixed: ");
+ result.append(mixed);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DocumentRootImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/EdgeImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/EdgeImpl.java
new file mode 100644
index 000000000..94c254fb3
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/EdgeImpl.java
@@ -0,0 +1,259 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.di.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.dd.dc.Point;
+
+import org.eclipse.dd.di.DiPackage;
+import org.eclipse.dd.di.DiagramElement;
+import org.eclipse.dd.di.Edge;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Edge</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.dd.di.impl.EdgeImpl#getSource <em>Source</em>}</li>
+ * <li>{@link org.eclipse.dd.di.impl.EdgeImpl#getTarget <em>Target</em>}</li>
+ * <li>{@link org.eclipse.dd.di.impl.EdgeImpl#getWaypoint <em>Waypoint</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class EdgeImpl extends DiagramElementImpl implements Edge {
+ /**
+ * The cached value of the '{@link #getSource() <em>Source</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSource()
+ * @generated
+ * @ordered
+ */
+ protected DiagramElement source;
+
+ /**
+ * The cached value of the '{@link #getTarget() <em>Target</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTarget()
+ * @generated
+ * @ordered
+ */
+ protected DiagramElement target;
+
+ /**
+ * The cached value of the '{@link #getWaypoint() <em>Waypoint</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getWaypoint()
+ * @generated
+ * @ordered
+ */
+ protected EList<Point> waypoint;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EdgeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DiPackage.Literals.EDGE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DiagramElement getSource() {
+ if (source != null && source.eIsProxy()) {
+ InternalEObject oldSource = (InternalEObject) source;
+ source = (DiagramElement) eResolveProxy(oldSource);
+ if (source != oldSource) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ DiPackage.EDGE__SOURCE, oldSource, source));
+ }
+ }
+ return source;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DiagramElement basicGetSource() {
+ return source;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DiagramElement getTarget() {
+ if (target != null && target.eIsProxy()) {
+ InternalEObject oldTarget = (InternalEObject) target;
+ target = (DiagramElement) eResolveProxy(oldTarget);
+ if (target != oldTarget) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ DiPackage.EDGE__TARGET, oldTarget, target));
+ }
+ }
+ return target;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DiagramElement basicGetTarget() {
+ return target;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<Point> getWaypoint() {
+ if (waypoint == null) {
+ waypoint = new EObjectContainmentEList<Point>(Point.class, this,
+ DiPackage.EDGE__WAYPOINT);
+ }
+ return waypoint;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case DiPackage.EDGE__WAYPOINT:
+ return ((InternalEList<?>) getWaypoint()).basicRemove(otherEnd,
+ msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DiPackage.EDGE__SOURCE:
+ if (resolve)
+ return getSource();
+ return basicGetSource();
+ case DiPackage.EDGE__TARGET:
+ if (resolve)
+ return getTarget();
+ return basicGetTarget();
+ case DiPackage.EDGE__WAYPOINT:
+ return getWaypoint();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DiPackage.EDGE__WAYPOINT:
+ getWaypoint().clear();
+ getWaypoint().addAll((Collection<? extends Point>) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DiPackage.EDGE__WAYPOINT:
+ getWaypoint().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DiPackage.EDGE__SOURCE:
+ return source != null;
+ case DiPackage.EDGE__TARGET:
+ return target != null;
+ case DiPackage.EDGE__WAYPOINT:
+ return waypoint != null && !waypoint.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //EdgeImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/LabelImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/LabelImpl.java
new file mode 100644
index 000000000..49600153d
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/LabelImpl.java
@@ -0,0 +1,200 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.di.impl;
+
+import org.eclipse.dd.dc.Bounds;
+
+import org.eclipse.dd.di.DiPackage;
+import org.eclipse.dd.di.Label;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Label</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.dd.di.impl.LabelImpl#getBounds <em>Bounds</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class LabelImpl extends NodeImpl implements Label {
+ /**
+ * The cached value of the '{@link #getBounds() <em>Bounds</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBounds()
+ * @generated
+ * @ordered
+ */
+ protected Bounds bounds;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected LabelImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DiPackage.Literals.LABEL;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Bounds getBounds() {
+ return bounds;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetBounds(Bounds newBounds,
+ NotificationChain msgs) {
+ Bounds oldBounds = bounds;
+ bounds = newBounds;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET, DiPackage.LABEL__BOUNDS, oldBounds,
+ newBounds);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBounds(Bounds newBounds) {
+ if (newBounds != bounds) {
+ NotificationChain msgs = null;
+ if (bounds != null)
+ msgs = ((InternalEObject) bounds).eInverseRemove(this,
+ EOPPOSITE_FEATURE_BASE - DiPackage.LABEL__BOUNDS, null,
+ msgs);
+ if (newBounds != null)
+ msgs = ((InternalEObject) newBounds).eInverseAdd(this,
+ EOPPOSITE_FEATURE_BASE - DiPackage.LABEL__BOUNDS, null,
+ msgs);
+ msgs = basicSetBounds(newBounds, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ DiPackage.LABEL__BOUNDS, newBounds, newBounds));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case DiPackage.LABEL__BOUNDS:
+ return basicSetBounds(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DiPackage.LABEL__BOUNDS:
+ return getBounds();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DiPackage.LABEL__BOUNDS:
+ setBounds((Bounds) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DiPackage.LABEL__BOUNDS:
+ setBounds((Bounds) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DiPackage.LABEL__BOUNDS:
+ return bounds != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //LabelImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/LabeledEdgeImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/LabeledEdgeImpl.java
new file mode 100644
index 000000000..02c4bc8cd
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/LabeledEdgeImpl.java
@@ -0,0 +1,113 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.di.impl;
+
+import java.util.List;
+
+import org.eclipse.dd.di.DiPackage;
+import org.eclipse.dd.di.Label;
+import org.eclipse.dd.di.LabeledEdge;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Labeled Edge</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.dd.di.impl.LabeledEdgeImpl#getOwnedLabel <em>Owned Label</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class LabeledEdgeImpl extends EdgeImpl implements LabeledEdge {
+ /**
+ * The cached value of the '{@link #getOwnedLabel() <em>Owned Label</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOwnedLabel()
+ * @generated
+ * @ordered
+ */
+ protected EList<Label> ownedLabel;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected LabeledEdgeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DiPackage.Literals.LABELED_EDGE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<Label> getOwnedLabel() {
+ if (ownedLabel == null) {
+ ownedLabel = new EObjectResolvingEList<Label>(Label.class, this,
+ DiPackage.LABELED_EDGE__OWNED_LABEL);
+ }
+ return ownedLabel;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DiPackage.LABELED_EDGE__OWNED_LABEL:
+ return getOwnedLabel();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DiPackage.LABELED_EDGE__OWNED_LABEL:
+ return ownedLabel != null && !ownedLabel.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //LabeledEdgeImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/LabeledShapeImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/LabeledShapeImpl.java
new file mode 100644
index 000000000..236958e34
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/LabeledShapeImpl.java
@@ -0,0 +1,114 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.di.impl;
+
+import java.util.List;
+
+import org.eclipse.dd.di.DiPackage;
+import org.eclipse.dd.di.Label;
+import org.eclipse.dd.di.LabeledShape;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Labeled Shape</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.dd.di.impl.LabeledShapeImpl#getOwnedLabel <em>Owned Label</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class LabeledShapeImpl extends ShapeImpl implements
+ LabeledShape {
+ /**
+ * The cached value of the '{@link #getOwnedLabel() <em>Owned Label</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOwnedLabel()
+ * @generated
+ * @ordered
+ */
+ protected EList<Label> ownedLabel;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected LabeledShapeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DiPackage.Literals.LABELED_SHAPE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<Label> getOwnedLabel() {
+ if (ownedLabel == null) {
+ ownedLabel = new EObjectResolvingEList<Label>(Label.class, this,
+ DiPackage.LABELED_SHAPE__OWNED_LABEL);
+ }
+ return ownedLabel;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DiPackage.LABELED_SHAPE__OWNED_LABEL:
+ return getOwnedLabel();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DiPackage.LABELED_SHAPE__OWNED_LABEL:
+ return ownedLabel != null && !ownedLabel.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //LabeledShapeImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/NodeImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/NodeImpl.java
new file mode 100644
index 000000000..ab63db65c
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/NodeImpl.java
@@ -0,0 +1,51 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.di.impl;
+
+import org.eclipse.dd.di.DiPackage;
+import org.eclipse.dd.di.Node;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Node</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class NodeImpl extends DiagramElementImpl implements Node {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected NodeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DiPackage.Literals.NODE;
+ }
+
+} //NodeImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/PlaneImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/PlaneImpl.java
new file mode 100644
index 000000000..96d252103
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/PlaneImpl.java
@@ -0,0 +1,205 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.di.impl;
+
+import java.util.Collection;
+import java.util.List;
+import java.util.Map;
+
+import org.eclipse.dd.di.DiPackage;
+import org.eclipse.dd.di.DiagramElement;
+import org.eclipse.dd.di.Plane;
+
+import org.eclipse.dd.di.util.DiValidator;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.BasicDiagnostic;
+import org.eclipse.emf.common.util.Diagnostic;
+import org.eclipse.emf.common.util.DiagnosticChain;
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.plugin.EcorePlugin;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.EObjectValidator;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Plane</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.dd.di.impl.PlaneImpl#getPlaneElement <em>Plane Element</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class PlaneImpl extends NodeImpl implements Plane {
+ /**
+ * The cached value of the '{@link #getPlaneElement() <em>Plane Element</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPlaneElement()
+ * @generated
+ * @ordered
+ */
+ protected EList<DiagramElement> planeElement;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected PlaneImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DiPackage.Literals.PLANE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<DiagramElement> getPlaneElement() {
+ if (planeElement == null) {
+ planeElement = new EObjectContainmentEList<DiagramElement>(
+ DiagramElement.class, this, DiPackage.PLANE__PLANE_ELEMENT);
+ }
+ return planeElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean plane_element_type(DiagnosticChain diagnostics,
+ Map<Object, Object> context) {
+ // TODO: implement this method
+ // -> specify the condition that violates the invariant
+ // -> verify the details of the diagnostic, including severity and message
+ // Ensure that you remove @generated or mark it @generated NOT
+ if (false) {
+ if (diagnostics != null) {
+ diagnostics.add(new BasicDiagnostic(Diagnostic.ERROR,
+ DiValidator.DIAGNOSTIC_SOURCE,
+ DiValidator.PLANE__PLANE_ELEMENT_TYPE,
+ EcorePlugin.INSTANCE.getString(
+ "_UI_GenericInvariant_diagnostic",
+ new Object[] {
+ "plane_element_type",
+ EObjectValidator.getObjectLabel(this,
+ context) }),
+ new Object[] { this }));
+ }
+ return false;
+ }
+ return true;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case DiPackage.PLANE__PLANE_ELEMENT:
+ return ((InternalEList<?>) getPlaneElement()).basicRemove(otherEnd,
+ msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DiPackage.PLANE__PLANE_ELEMENT:
+ return getPlaneElement();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DiPackage.PLANE__PLANE_ELEMENT:
+ getPlaneElement().clear();
+ getPlaneElement().addAll(
+ (Collection<? extends DiagramElement>) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DiPackage.PLANE__PLANE_ELEMENT:
+ getPlaneElement().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DiPackage.PLANE__PLANE_ELEMENT:
+ return planeElement != null && !planeElement.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //PlaneImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/ShapeImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/ShapeImpl.java
new file mode 100644
index 000000000..407a072d4
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/ShapeImpl.java
@@ -0,0 +1,200 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.di.impl;
+
+import org.eclipse.dd.dc.Bounds;
+
+import org.eclipse.dd.di.DiPackage;
+import org.eclipse.dd.di.Shape;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Shape</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.dd.di.impl.ShapeImpl#getBounds <em>Bounds</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class ShapeImpl extends NodeImpl implements Shape {
+ /**
+ * The cached value of the '{@link #getBounds() <em>Bounds</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBounds()
+ * @generated
+ * @ordered
+ */
+ protected Bounds bounds;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ShapeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DiPackage.Literals.SHAPE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Bounds getBounds() {
+ return bounds;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetBounds(Bounds newBounds,
+ NotificationChain msgs) {
+ Bounds oldBounds = bounds;
+ bounds = newBounds;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this,
+ Notification.SET, DiPackage.SHAPE__BOUNDS, oldBounds,
+ newBounds);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBounds(Bounds newBounds) {
+ if (newBounds != bounds) {
+ NotificationChain msgs = null;
+ if (bounds != null)
+ msgs = ((InternalEObject) bounds).eInverseRemove(this,
+ EOPPOSITE_FEATURE_BASE - DiPackage.SHAPE__BOUNDS, null,
+ msgs);
+ if (newBounds != null)
+ msgs = ((InternalEObject) newBounds).eInverseAdd(this,
+ EOPPOSITE_FEATURE_BASE - DiPackage.SHAPE__BOUNDS, null,
+ msgs);
+ msgs = basicSetBounds(newBounds, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ DiPackage.SHAPE__BOUNDS, newBounds, newBounds));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd,
+ int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case DiPackage.SHAPE__BOUNDS:
+ return basicSetBounds(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DiPackage.SHAPE__BOUNDS:
+ return getBounds();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DiPackage.SHAPE__BOUNDS:
+ setBounds((Bounds) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DiPackage.SHAPE__BOUNDS:
+ setBounds((Bounds) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DiPackage.SHAPE__BOUNDS:
+ return bounds != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //ShapeImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/StyleImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/StyleImpl.java
new file mode 100644
index 000000000..699614e71
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/impl/StyleImpl.java
@@ -0,0 +1,177 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.di.impl;
+
+import org.eclipse.dd.di.DiPackage;
+import org.eclipse.dd.di.Style;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Style</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.dd.di.impl.StyleImpl#getId <em>Id</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class StyleImpl extends EObjectImpl implements Style {
+ /**
+ * The default value of the '{@link #getId() <em>Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getId()
+ * @generated
+ * @ordered
+ */
+ protected static final String ID_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getId()
+ * @generated
+ * @ordered
+ */
+ protected String id = ID_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected StyleImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DiPackage.Literals.STYLE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setId(String newId) {
+ String oldId = id;
+ id = newId;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ DiPackage.STYLE__ID, oldId, id));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DiPackage.STYLE__ID:
+ return getId();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DiPackage.STYLE__ID:
+ setId((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DiPackage.STYLE__ID:
+ setId(ID_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DiPackage.STYLE__ID:
+ return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (id: ");
+ result.append(id);
+ result.append(')');
+ return result.toString();
+ }
+
+} //StyleImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/util/DiAdapterFactory.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/util/DiAdapterFactory.java
new file mode 100644
index 000000000..436b58ea0
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/util/DiAdapterFactory.java
@@ -0,0 +1,321 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.di.util;
+
+import org.eclipse.dd.di.*;
+
+import org.eclipse.emf.common.notify.Adapter;
+import org.eclipse.emf.common.notify.Notifier;
+
+import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Adapter Factory</b> for the model.
+ * It provides an adapter <code>createXXX</code> method for each class of the model.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.di.DiPackage
+ * @generated
+ */
+public class DiAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static DiPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DiAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = DiPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ * <!-- begin-user-doc -->
+ * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
+ * <!-- end-user-doc -->
+ * @return whether this factory is applicable for the type of the object.
+ * @generated
+ */
+ @Override
+ public boolean isFactoryForType(Object object) {
+ if (object == modelPackage) {
+ return true;
+ }
+ if (object instanceof EObject) {
+ return ((EObject) object).eClass().getEPackage() == modelPackage;
+ }
+ return false;
+ }
+
+ /**
+ * The switch that delegates to the <code>createXXX</code> methods.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DiSwitch<Adapter> modelSwitch = new DiSwitch<Adapter>() {
+ @Override
+ public Adapter caseDocumentRoot(DocumentRoot object) {
+ return createDocumentRootAdapter();
+ }
+
+ @Override
+ public Adapter caseDiagram(Diagram object) {
+ return createDiagramAdapter();
+ }
+
+ @Override
+ public Adapter caseDiagramElement(DiagramElement object) {
+ return createDiagramElementAdapter();
+ }
+
+ @Override
+ public Adapter caseEdge(Edge object) {
+ return createEdgeAdapter();
+ }
+
+ @Override
+ public Adapter caseLabel(Label object) {
+ return createLabelAdapter();
+ }
+
+ @Override
+ public Adapter caseLabeledEdge(LabeledEdge object) {
+ return createLabeledEdgeAdapter();
+ }
+
+ @Override
+ public Adapter caseLabeledShape(LabeledShape object) {
+ return createLabeledShapeAdapter();
+ }
+
+ @Override
+ public Adapter caseNode(Node object) {
+ return createNodeAdapter();
+ }
+
+ @Override
+ public Adapter casePlane(Plane object) {
+ return createPlaneAdapter();
+ }
+
+ @Override
+ public Adapter caseShape(Shape object) {
+ return createShapeAdapter();
+ }
+
+ @Override
+ public Adapter caseStyle(Style object) {
+ return createStyleAdapter();
+ }
+
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
+
+ /**
+ * Creates an adapter for the <code>target</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param target the object to adapt.
+ * @return the adapter for the <code>target</code>.
+ * @generated
+ */
+ @Override
+ public Adapter createAdapter(Notifier target) {
+ return modelSwitch.doSwitch((EObject) target);
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.dd.di.DocumentRoot <em>Document Root</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.dd.di.DocumentRoot
+ * @generated
+ */
+ public Adapter createDocumentRootAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.dd.di.Diagram <em>Diagram</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.dd.di.Diagram
+ * @generated
+ */
+ public Adapter createDiagramAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.dd.di.DiagramElement <em>Diagram Element</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.dd.di.DiagramElement
+ * @generated
+ */
+ public Adapter createDiagramElementAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.dd.di.Edge <em>Edge</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.dd.di.Edge
+ * @generated
+ */
+ public Adapter createEdgeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.dd.di.Label <em>Label</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.dd.di.Label
+ * @generated
+ */
+ public Adapter createLabelAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.dd.di.LabeledEdge <em>Labeled Edge</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.dd.di.LabeledEdge
+ * @generated
+ */
+ public Adapter createLabeledEdgeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.dd.di.LabeledShape <em>Labeled Shape</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.dd.di.LabeledShape
+ * @generated
+ */
+ public Adapter createLabeledShapeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.dd.di.Node <em>Node</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.dd.di.Node
+ * @generated
+ */
+ public Adapter createNodeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.dd.di.Plane <em>Plane</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.dd.di.Plane
+ * @generated
+ */
+ public Adapter createPlaneAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.dd.di.Shape <em>Shape</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.dd.di.Shape
+ * @generated
+ */
+ public Adapter createShapeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.dd.di.Style <em>Style</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.dd.di.Style
+ * @generated
+ */
+ public Adapter createStyleAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
+
+} //DiAdapterFactory
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/util/DiResourceFactoryImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/util/DiResourceFactoryImpl.java
new file mode 100644
index 000000000..0ad6bc4e8
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/util/DiResourceFactoryImpl.java
@@ -0,0 +1,70 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.di.util;
+
+import org.eclipse.emf.common.util.URI;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
+
+import org.eclipse.emf.ecore.xmi.XMLResource;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Resource Factory</b> associated with the package.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.di.util.DiResourceImpl
+ * @generated
+ */
+public class DiResourceFactoryImpl extends ResourceFactoryImpl {
+ /**
+ * Creates an instance of the resource factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DiResourceFactoryImpl() {
+ super();
+ }
+
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Resource createResource(URI uri) {
+ XMLResource result = new DiResourceImpl(uri);
+ result.getDefaultSaveOptions().put(
+ XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
+ result.getDefaultLoadOptions().put(
+ XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
+
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION,
+ Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(
+ XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
+ result.getDefaultSaveOptions().put(
+ XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(
+ XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
+ return result;
+ }
+
+} //DiResourceFactoryImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/util/DiResourceImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/util/DiResourceImpl.java
new file mode 100644
index 000000000..08d19fead
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/util/DiResourceImpl.java
@@ -0,0 +1,40 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.di.util;
+
+import org.eclipse.emf.common.util.URI;
+
+import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Resource </b> associated with the package.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.di.util.DiResourceFactoryImpl
+ * @generated
+ */
+public class DiResourceImpl extends XMLResourceImpl {
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param uri the URI of the new resource.
+ * @generated
+ */
+ public DiResourceImpl(URI uri) {
+ super(uri);
+ }
+
+} //DiResourceImpl
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/util/DiSwitch.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/util/DiSwitch.java
new file mode 100644
index 000000000..60fe7e492
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/util/DiSwitch.java
@@ -0,0 +1,383 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.di.util;
+
+import java.util.List;
+
+import org.eclipse.dd.di.*;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Switch</b> for the model's inheritance hierarchy.
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
+ * to invoke the <code>caseXXX</code> method for each class of the model,
+ * starting with the actual class of the object
+ * and proceeding up the inheritance hierarchy
+ * until a non-null result is returned,
+ * which is the result of the switch.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.di.DiPackage
+ * @generated
+ */
+public class DiSwitch<T> {
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static DiPackage modelPackage;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DiSwitch() {
+ if (modelPackage == null) {
+ modelPackage = DiPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ public T doSwitch(EObject theEObject) {
+ return doSwitch(theEObject.eClass(), theEObject);
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ protected T doSwitch(EClass theEClass, EObject theEObject) {
+ if (theEClass.eContainer() == modelPackage) {
+ return doSwitch(theEClass.getClassifierID(), theEObject);
+ } else {
+ List<EClass> eSuperTypes = theEClass.getESuperTypes();
+ return eSuperTypes.isEmpty() ? defaultCase(theEObject) : doSwitch(
+ eSuperTypes.get(0), theEObject);
+ }
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ protected T doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID) {
+ case DiPackage.DOCUMENT_ROOT: {
+ DocumentRoot documentRoot = (DocumentRoot) theEObject;
+ T result = caseDocumentRoot(documentRoot);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case DiPackage.DIAGRAM: {
+ Diagram diagram = (Diagram) theEObject;
+ T result = caseDiagram(diagram);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case DiPackage.DIAGRAM_ELEMENT: {
+ DiagramElement diagramElement = (DiagramElement) theEObject;
+ T result = caseDiagramElement(diagramElement);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case DiPackage.EDGE: {
+ Edge edge = (Edge) theEObject;
+ T result = caseEdge(edge);
+ if (result == null)
+ result = caseDiagramElement(edge);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case DiPackage.LABEL: {
+ Label label = (Label) theEObject;
+ T result = caseLabel(label);
+ if (result == null)
+ result = caseNode(label);
+ if (result == null)
+ result = caseDiagramElement(label);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case DiPackage.LABELED_EDGE: {
+ LabeledEdge labeledEdge = (LabeledEdge) theEObject;
+ T result = caseLabeledEdge(labeledEdge);
+ if (result == null)
+ result = caseEdge(labeledEdge);
+ if (result == null)
+ result = caseDiagramElement(labeledEdge);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case DiPackage.LABELED_SHAPE: {
+ LabeledShape labeledShape = (LabeledShape) theEObject;
+ T result = caseLabeledShape(labeledShape);
+ if (result == null)
+ result = caseShape(labeledShape);
+ if (result == null)
+ result = caseNode(labeledShape);
+ if (result == null)
+ result = caseDiagramElement(labeledShape);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case DiPackage.NODE: {
+ Node node = (Node) theEObject;
+ T result = caseNode(node);
+ if (result == null)
+ result = caseDiagramElement(node);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case DiPackage.PLANE: {
+ Plane plane = (Plane) theEObject;
+ T result = casePlane(plane);
+ if (result == null)
+ result = caseNode(plane);
+ if (result == null)
+ result = caseDiagramElement(plane);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case DiPackage.SHAPE: {
+ Shape shape = (Shape) theEObject;
+ T result = caseShape(shape);
+ if (result == null)
+ result = caseNode(shape);
+ if (result == null)
+ result = caseDiagramElement(shape);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case DiPackage.STYLE: {
+ Style style = (Style) theEObject;
+ T result = caseStyle(style);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ default:
+ return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Document Root</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Document Root</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDocumentRoot(DocumentRoot object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Diagram</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Diagram</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDiagram(Diagram object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Diagram Element</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Diagram Element</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDiagramElement(DiagramElement object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Edge</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Edge</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseEdge(Edge object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Label</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Label</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseLabel(Label object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Labeled Edge</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Labeled Edge</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseLabeledEdge(LabeledEdge object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Labeled Shape</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Labeled Shape</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseLabeledShape(LabeledShape object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Node</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Node</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseNode(Node object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Plane</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Plane</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T casePlane(Plane object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Shape</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Shape</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseShape(Shape object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Style</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Style</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseStyle(Style object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch, but this is the last case anyway.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ public T defaultCase(EObject object) {
+ return null;
+ }
+
+} //DiSwitch
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/util/DiValidator.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/util/DiValidator.java
new file mode 100644
index 000000000..beb09f91e
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/util/DiValidator.java
@@ -0,0 +1,298 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.di.util;
+
+import java.util.Map;
+
+import org.eclipse.dd.di.*;
+
+import org.eclipse.emf.common.util.DiagnosticChain;
+import org.eclipse.emf.common.util.ResourceLocator;
+
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.util.EObjectValidator;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Validator</b> for the model.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.dd.di.DiPackage
+ * @generated
+ */
+public class DiValidator extends EObjectValidator {
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final DiValidator INSTANCE = new DiValidator();
+
+ /**
+ * A constant for the {@link org.eclipse.emf.common.util.Diagnostic#getSource() source} of diagnostic {@link org.eclipse.emf.common.util.Diagnostic#getCode() codes} from this package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.common.util.Diagnostic#getSource()
+ * @see org.eclipse.emf.common.util.Diagnostic#getCode()
+ * @generated
+ */
+ public static final String DIAGNOSTIC_SOURCE = "org.eclipse.dd.di";
+
+ /**
+ * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint 'Plane element type' of 'Plane'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final int PLANE__PLANE_ELEMENT_TYPE = 1;
+
+ /**
+ * A constant with a fixed name that can be used as the base value for additional hand written constants.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final int GENERATED_DIAGNOSTIC_CODE_COUNT = 1;
+
+ /**
+ * A constant with a fixed name that can be used as the base value for additional hand written constants in a derived class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static final int DIAGNOSTIC_CODE_COUNT = GENERATED_DIAGNOSTIC_CODE_COUNT;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DiValidator() {
+ super();
+ }
+
+ /**
+ * Returns the package of this validator switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EPackage getEPackage() {
+ return DiPackage.eINSTANCE;
+ }
+
+ /**
+ * Calls <code>validateXXX</code> for the corresponding classifier of the model.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean validate(int classifierID, Object value,
+ DiagnosticChain diagnostics, Map<Object, Object> context) {
+ switch (classifierID) {
+ case DiPackage.DOCUMENT_ROOT:
+ return validateDocumentRoot((DocumentRoot) value, diagnostics,
+ context);
+ case DiPackage.DIAGRAM:
+ return validateDiagram((Diagram) value, diagnostics, context);
+ case DiPackage.DIAGRAM_ELEMENT:
+ return validateDiagramElement((DiagramElement) value, diagnostics,
+ context);
+ case DiPackage.EDGE:
+ return validateEdge((Edge) value, diagnostics, context);
+ case DiPackage.LABEL:
+ return validateLabel((Label) value, diagnostics, context);
+ case DiPackage.LABELED_EDGE:
+ return validateLabeledEdge((LabeledEdge) value, diagnostics,
+ context);
+ case DiPackage.LABELED_SHAPE:
+ return validateLabeledShape((LabeledShape) value, diagnostics,
+ context);
+ case DiPackage.NODE:
+ return validateNode((Node) value, diagnostics, context);
+ case DiPackage.PLANE:
+ return validatePlane((Plane) value, diagnostics, context);
+ case DiPackage.SHAPE:
+ return validateShape((Shape) value, diagnostics, context);
+ case DiPackage.STYLE:
+ return validateStyle((Style) value, diagnostics, context);
+ default:
+ return true;
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateDocumentRoot(DocumentRoot documentRoot,
+ DiagnosticChain diagnostics, Map<Object, Object> context) {
+ return validate_EveryDefaultConstraint(documentRoot, diagnostics,
+ context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateDiagram(Diagram diagram,
+ DiagnosticChain diagnostics, Map<Object, Object> context) {
+ return validate_EveryDefaultConstraint(diagram, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateDiagramElement(DiagramElement diagramElement,
+ DiagnosticChain diagnostics, Map<Object, Object> context) {
+ return validate_EveryDefaultConstraint(diagramElement, diagnostics,
+ context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEdge(Edge edge, DiagnosticChain diagnostics,
+ Map<Object, Object> context) {
+ return validate_EveryDefaultConstraint(edge, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateLabel(Label label, DiagnosticChain diagnostics,
+ Map<Object, Object> context) {
+ return validate_EveryDefaultConstraint(label, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateLabeledEdge(LabeledEdge labeledEdge,
+ DiagnosticChain diagnostics, Map<Object, Object> context) {
+ return validate_EveryDefaultConstraint(labeledEdge, diagnostics,
+ context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateLabeledShape(LabeledShape labeledShape,
+ DiagnosticChain diagnostics, Map<Object, Object> context) {
+ return validate_EveryDefaultConstraint(labeledShape, diagnostics,
+ context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateNode(Node node, DiagnosticChain diagnostics,
+ Map<Object, Object> context) {
+ return validate_EveryDefaultConstraint(node, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validatePlane(Plane plane, DiagnosticChain diagnostics,
+ Map<Object, Object> context) {
+ boolean result = validate_EveryMultiplicityConforms(plane, diagnostics,
+ context);
+ if (result || diagnostics != null)
+ result &= validate_EveryDataValueConforms(plane, diagnostics,
+ context);
+ if (result || diagnostics != null)
+ result &= validate_EveryReferenceIsContained(plane, diagnostics,
+ context);
+ if (result || diagnostics != null)
+ result &= validate_EveryProxyResolves(plane, diagnostics, context);
+ if (result || diagnostics != null)
+ result &= validate_UniqueID(plane, diagnostics, context);
+ if (result || diagnostics != null)
+ result &= validate_EveryKeyUnique(plane, diagnostics, context);
+ if (result || diagnostics != null)
+ result &= validate_EveryMapEntryUnique(plane, diagnostics, context);
+ if (result || diagnostics != null)
+ result &= validatePlane_plane_element_type(plane, diagnostics,
+ context);
+ return result;
+ }
+
+ /**
+ * Validates the plane_element_type constraint of '<em>Plane</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validatePlane_plane_element_type(Plane plane,
+ DiagnosticChain diagnostics, Map<Object, Object> context) {
+ return plane.plane_element_type(diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateShape(Shape shape, DiagnosticChain diagnostics,
+ Map<Object, Object> context) {
+ return validate_EveryDefaultConstraint(shape, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateStyle(Style style, DiagnosticChain diagnostics,
+ Map<Object, Object> context) {
+ return validate_EveryDefaultConstraint(style, diagnostics, context);
+ }
+
+ /**
+ * Returns the resource locator that will be used to fetch messages for this validator's diagnostics.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ // TODO
+ // Specialize this to return a resource locator for messages specific to this validator.
+ // Ensure that you remove @generated or mark it @generated NOT
+ return super.getResourceLocator();
+ }
+
+} //DiValidator
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/util/DiXMLProcessor.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/util/DiXMLProcessor.java
new file mode 100644
index 000000000..3da8f31d5
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/dd/di/util/DiXMLProcessor.java
@@ -0,0 +1,62 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2010 SAP AG.
+ * 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:
+ * Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
+ *
+ * </copyright>
+ */
+package org.eclipse.dd.di.util;
+
+import java.util.Map;
+
+import org.eclipse.dd.di.DiPackage;
+
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
+
+/**
+ * This class contains helper methods to serialize and deserialize XML documents
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class DiXMLProcessor extends XMLProcessor {
+
+ /**
+ * Public constructor to instantiate the helper.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DiXMLProcessor() {
+ super((EPackage.Registry.INSTANCE));
+ DiPackage.eINSTANCE.eClass();
+ }
+
+ /**
+ * Register for "*" and "xml" file extensions the DiResourceFactoryImpl factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected Map<String, Resource.Factory> getRegistrations() {
+ if (registrations == null) {
+ super.getRegistrations();
+ registrations.put(XML_EXTENSION, new DiResourceFactoryImpl());
+ registrations.put(STAR_EXTENSION, new DiResourceFactoryImpl());
+ }
+ return registrations;
+ }
+
+} //DiXMLProcessor

Back to the top