Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure')
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/AllocatedElementInstanceRef.java68
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef.java69
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef.java69
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/BehaviorConstraintPrototype_errorModelTargetInstanceRef.java68
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/BehaviorConstraintPrototype_functionTargetInstanceRef.java68
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/BehaviorConstraintPrototype_hardwareComponentTargetInstanceRef.java68
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/ClampConnectorInstanceRef.java69
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/ErrorModelPrototype_functionTargetInstanceRef.java68
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/ErrorModelPrototype_hwTargetInstanceRef.java68
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/EventFunctionClientServerPortInstanceRef.java69
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/EventFunctionFlowPortInstanceRef.java69
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/EventFunctionInstanceRef.java68
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/FaultFailurePort_functionTargetInstanceRef.java69
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/FaultFailurePort_hwTargetInstanceRef.java69
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/FaultFailurePropagationLink_fromPortInstanceRef.java69
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/FaultFailurePropagationLink_toPortInstanceRef.java69
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/FaultFailure_anomalyInstanceRef.java69
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/FunctionConnectorPortInstanceRef.java78
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/HardwareConnectorInstanceRef.java78
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/HardwareConnectorPortInstanceRef.java78
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/HardwarePortConnectorInstanceRef.java78
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/InfrastructureFactory.java274
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/InfrastructurePackage.java3043
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/InstanceRef.java22
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/PrecedenceConstraint_precedingInstanceRef.java68
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/PrecedenceConstraint_successiveInstanceRef.java68
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/Realization_realizedByInstanceRef.java68
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/Realization_realizedInstanceRef.java68
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/RefineInstanceRef.java68
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/SatisfyInstanceRef.java68
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/TargetInstanceRef.java95
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/VVCaseInstanceRef.java68
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/VVTargetInstanceRef.java68
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/ArrayDataType.java103
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/CompositeDatatype.java29
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/DatatypesFactory.java59
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/DatatypesPackage.java1296
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EABoolean.java4
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EADatatype.java34
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EADatatypePrototype.java47
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EAFloat.java94
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EAInteger.java94
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EANumerical.java109
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EAString.java4
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/Enumeration.java38
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EnumerationLiteral.java4
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EnumerationValueType.java130
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/Quantity.java219
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/RangeableDatatype.java43
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/RangeableValueType.java80
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/Unit.java158
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/ValueType.java148
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/ArrayDataTypeImpl.java275
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/CompositeDatatypeImpl.java68
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/DatatypesFactoryImpl.java153
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/DatatypesPackageImpl.java579
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EABooleanImpl.java5
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EADatatypeImpl.java54
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EADatatypePrototypeImpl.java128
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EAFloatImpl.java244
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EAIntegerImpl.java244
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EANumericalImpl.java275
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EAStringImpl.java5
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EnumerationImpl.java121
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EnumerationLiteralImpl.java5
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EnumerationValueTypeImpl.java296
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/QuantityImpl.java484
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/RangeableDatatypeImpl.java55
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/RangeableValueTypeImpl.java169
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/UnitImpl.java390
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/ValueTypeImpl.java302
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/util/DatatypesAdapterFactory.java301
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/util/DatatypesResourceFactoryImpl.java4
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/util/DatatypesResourceImpl.java6
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/util/DatatypesSwitch.java510
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/util/DatatypesXMLProcessor.java7
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/Comment.java95
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/Context.java20
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/EAConnector.java51
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/EAElement.java92
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/EAPackage.java45
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/EAPackageableElement.java18
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/EAPort.java51
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/EAPrototype.java51
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/EAType.java50
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/EAXML.java128
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/ElementsFactory.java42
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/ElementsPackage.java953
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/MultiLevelReference.java103
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/Rationale.java41
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/Realization.java102
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/Relationship.java12
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/TraceableSpecification.java24
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/CommentImpl.java252
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/ContextImpl.java75
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/EAConnectorImpl.java154
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/EAElementImpl.java152
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/EAPackageImpl.java148
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/EAPackageableElementImpl.java55
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/EAPortImpl.java154
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/EAPrototypeImpl.java154
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/EATypeImpl.java152
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/EAXMLImpl.java308
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/ElementsFactoryImpl.java76
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/ElementsPackageImpl.java471
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/MultiLevelReferenceImpl.java242
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/RationaleImpl.java122
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/RealizationImpl.java213
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/RelationshipImpl.java5
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/TraceableSpecificationImpl.java49
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/util/ElementsAdapterFactory.java240
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/util/ElementsResourceFactoryImpl.java4
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/util/ElementsResourceImpl.java6
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/util/ElementsSwitch.java343
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/util/ElementsXMLProcessor.java7
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/AllocatedElementInstanceRefImpl.java192
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRefImpl.java193
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRefImpl.java193
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/BehaviorConstraintPrototype_errorModelTargetInstanceRefImpl.java192
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/BehaviorConstraintPrototype_functionTargetInstanceRefImpl.java192
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/BehaviorConstraintPrototype_hardwareComponentTargetInstanceRefImpl.java192
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/ClampConnectorInstanceRefImpl.java193
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/ErrorModelPrototype_functionTargetInstanceRefImpl.java192
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/ErrorModelPrototype_hwTargetInstanceRefImpl.java192
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/EventFunctionClientServerPortInstanceRefImpl.java193
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/EventFunctionFlowPortInstanceRefImpl.java193
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/EventFunctionInstanceRefImpl.java192
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/FaultFailurePort_functionTargetInstanceRefImpl.java193
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/FaultFailurePort_hwTargetInstanceRefImpl.java193
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/FaultFailurePropagationLink_fromPortInstanceRefImpl.java193
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/FaultFailurePropagationLink_toPortInstanceRefImpl.java193
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/FaultFailure_anomalyInstanceRefImpl.java193
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/FunctionConnectorPortInstanceRefImpl.java214
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/HardwareConnectorInstanceRefImpl.java218
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/HardwareConnectorPortInstanceRefImpl.java214
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/HardwarePortConnectorInstanceRefImpl.java214
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/InfrastructureFactoryImpl.java374
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/InfrastructurePackageImpl.java1458
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/InstanceRefImpl.java39
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/PrecedenceConstraint_precedingInstanceRefImpl.java192
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/PrecedenceConstraint_successiveInstanceRefImpl.java192
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/Realization_realizedByInstanceRefImpl.java192
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/Realization_realizedInstanceRefImpl.java192
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/RefineInstanceRefImpl.java192
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/SatisfyInstanceRefImpl.java192
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/TargetInstanceRefImpl.java260
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/VVCaseInstanceRefImpl.java192
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/VVTargetInstanceRefImpl.java192
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/UserAttributeDefinition.java63
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/UserAttributeElementType.java58
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/UserAttributeValue.java64
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/UserAttributeableElement.java53
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/UserattributesFactory.java8
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/UserattributesPackage.java264
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/impl/UserAttributeDefinitionImpl.java160
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/impl/UserAttributeElementTypeImpl.java152
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/impl/UserAttributeValueImpl.java160
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/impl/UserAttributeableElementImpl.java153
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/impl/UserattributesFactoryImpl.java35
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/impl/UserattributesPackageImpl.java154
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/util/UserattributesAdapterFactory.java94
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/util/UserattributesResourceFactoryImpl.java4
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/util/UserattributesResourceImpl.java6
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/util/UserattributesSwitch.java106
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/util/UserattributesXMLProcessor.java7
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/util/InfrastructureAdapterFactory.java639
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/util/InfrastructureResourceFactoryImpl.java16
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/util/InfrastructureResourceImpl.java6
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/util/InfrastructureSwitch.java746
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/util/InfrastructureXMLProcessor.java7
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/EAArrayValue.java40
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/EABooleanValue.java49
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/EACompositeValue.java40
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/EAEnumerationValue.java41
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/EAExpression.java17
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/EANumericalValue.java49
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/EAStringValue.java49
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/EAValue.java79
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/ValuesFactory.java96
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/ValuesPackage.java819
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/EAArrayValueImpl.java129
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/EABooleanValueImpl.java159
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/EACompositeValueImpl.java129
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/EAEnumerationValueImpl.java129
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/EAExpressionImpl.java38
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/EANumericalValueImpl.java159
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/EAStringValueImpl.java159
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/EAValueImpl.java215
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/ValuesFactoryImpl.java166
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/ValuesPackageImpl.java578
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/util/ValuesAdapterFactory.java251
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/util/ValuesResourceFactoryImpl.java49
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/util/ValuesResourceImpl.java27
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/util/ValuesSwitch.java270
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/util/ValuesXMLProcessor.java47
195 files changed, 25663 insertions, 6966 deletions
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/AllocatedElementInstanceRef.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/AllocatedElementInstanceRef.java
new file mode 100644
index 00000000000..974a7f88927
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/AllocatedElementInstanceRef.java
@@ -0,0 +1,68 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.AllocateableElement;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Allocated Element Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.AllocatedElementInstanceRef#getAllocateableElement <em>Allocateable Element</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.AllocatedElementInstanceRef#getAllocateableElement_context <em>Allocateable Element context</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getAllocatedElementInstanceRef()
+ * @model
+ * @generated
+ */
+public interface AllocatedElementInstanceRef extends InstanceRef {
+ /**
+ * Returns the value of the '<em><b>Allocateable Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Allocateable 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>Allocateable Element</em>' reference.
+ * @see #setAllocateableElement(AllocateableElement)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getAllocatedElementInstanceRef_AllocateableElement()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ AllocateableElement getAllocateableElement();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.AllocatedElementInstanceRef#getAllocateableElement <em>Allocateable Element</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Allocateable Element</em>' reference.
+ * @see #getAllocateableElement()
+ * @generated
+ */
+ void setAllocateableElement(AllocateableElement value);
+
+ /**
+ * Returns the value of the '<em><b>Allocateable Element context</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.functionmodeling.AllocateableElement}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Allocateable Element context</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>Allocateable Element context</em>' reference list.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getAllocatedElementInstanceRef_AllocateableElement_context()
+ * @model ordered="false"
+ * @generated
+ */
+ EList<AllocateableElement> getAllocateableElement_context();
+
+} // AllocatedElementInstanceRef
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef.java
new file mode 100644
index 00000000000..288cac8050b
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef.java
@@ -0,0 +1,69 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionConnector;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Behavior Constraint Internal Binding through Function Connector Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef#getFunctionConnector <em>Function Connector</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef#getFunctionPrototype <em>Function Prototype</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getBehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef()
+ * @model
+ * @generated
+ */
+public interface BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef extends InstanceRef {
+ /**
+ * Returns the value of the '<em><b>Function Connector</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Function Connector</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Function Connector</em>' reference.
+ * @see #setFunctionConnector(FunctionConnector)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getBehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef_FunctionConnector()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ FunctionConnector getFunctionConnector();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef#getFunctionConnector <em>Function Connector</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Function Connector</em>' reference.
+ * @see #getFunctionConnector()
+ * @generated
+ */
+ void setFunctionConnector(FunctionConnector value);
+
+ /**
+ * Returns the value of the '<em><b>Function Prototype</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Function Prototype</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>Function Prototype</em>' reference list.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getBehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef_FunctionPrototype()
+ * @model ordered="false"
+ * @generated
+ */
+ EList<FunctionPrototype> getFunctionPrototype();
+
+} // BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef.java
new file mode 100644
index 00000000000..d8852327c9f
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef.java
@@ -0,0 +1,69 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentPrototype;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareConnector;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Behavior Constraint Internal Binding through Hardware Connector Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef#getHardwareConnector <em>Hardware Connector</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef#getHardwareComponentPrototype <em>Hardware Component Prototype</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getBehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef()
+ * @model
+ * @generated
+ */
+public interface BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef extends InstanceRef {
+ /**
+ * Returns the value of the '<em><b>Hardware Connector</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Hardware Connector</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Hardware Connector</em>' reference.
+ * @see #setHardwareConnector(HardwareConnector)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getBehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef_HardwareConnector()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ HardwareConnector getHardwareConnector();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef#getHardwareConnector <em>Hardware Connector</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Hardware Connector</em>' reference.
+ * @see #getHardwareConnector()
+ * @generated
+ */
+ void setHardwareConnector(HardwareConnector value);
+
+ /**
+ * Returns the value of the '<em><b>Hardware Component Prototype</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentPrototype}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Hardware Component Prototype</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>Hardware Component Prototype</em>' reference list.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getBehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef_HardwareComponentPrototype()
+ * @model ordered="false"
+ * @generated
+ */
+ EList<HardwareComponentPrototype> getHardwareComponentPrototype();
+
+} // BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/BehaviorConstraintPrototype_errorModelTargetInstanceRef.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/BehaviorConstraintPrototype_errorModelTargetInstanceRef.java
new file mode 100644
index 00000000000..e7f6d1ac8e6
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/BehaviorConstraintPrototype_errorModelTargetInstanceRef.java
@@ -0,0 +1,68 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.papyrus.eastadl.dependability.errormodel.ErrorModelPrototype;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Behavior Constraint Prototype error Model Target Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_errorModelTargetInstanceRef#getErrorModelPrototype_target <em>Error Model Prototype target</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_errorModelTargetInstanceRef#getErrorModelPrototype_context <em>Error Model Prototype context</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getBehaviorConstraintPrototype_errorModelTargetInstanceRef()
+ * @model
+ * @generated
+ */
+public interface BehaviorConstraintPrototype_errorModelTargetInstanceRef extends InstanceRef {
+ /**
+ * Returns the value of the '<em><b>Error Model Prototype target</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Error Model Prototype 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>Error Model Prototype target</em>' reference.
+ * @see #setErrorModelPrototype_target(ErrorModelPrototype)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getBehaviorConstraintPrototype_errorModelTargetInstanceRef_ErrorModelPrototype_target()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ ErrorModelPrototype getErrorModelPrototype_target();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_errorModelTargetInstanceRef#getErrorModelPrototype_target <em>Error Model Prototype target</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Error Model Prototype target</em>' reference.
+ * @see #getErrorModelPrototype_target()
+ * @generated
+ */
+ void setErrorModelPrototype_target(ErrorModelPrototype value);
+
+ /**
+ * Returns the value of the '<em><b>Error Model Prototype context</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.eastadl.dependability.errormodel.ErrorModelPrototype}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Error Model Prototype context</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 Model Prototype context</em>' reference list.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getBehaviorConstraintPrototype_errorModelTargetInstanceRef_ErrorModelPrototype_context()
+ * @model ordered="false"
+ * @generated
+ */
+ EList<ErrorModelPrototype> getErrorModelPrototype_context();
+
+} // BehaviorConstraintPrototype_errorModelTargetInstanceRef
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/BehaviorConstraintPrototype_functionTargetInstanceRef.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/BehaviorConstraintPrototype_functionTargetInstanceRef.java
new file mode 100644
index 00000000000..0603548c0ea
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/BehaviorConstraintPrototype_functionTargetInstanceRef.java
@@ -0,0 +1,68 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Behavior Constraint Prototype function Target Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_functionTargetInstanceRef#getFunctionPrototype_target <em>Function Prototype target</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_functionTargetInstanceRef#getFunctionPrototype_context <em>Function Prototype context</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getBehaviorConstraintPrototype_functionTargetInstanceRef()
+ * @model
+ * @generated
+ */
+public interface BehaviorConstraintPrototype_functionTargetInstanceRef extends InstanceRef {
+ /**
+ * Returns the value of the '<em><b>Function Prototype target</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Function Prototype 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>Function Prototype target</em>' reference.
+ * @see #setFunctionPrototype_target(FunctionPrototype)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getBehaviorConstraintPrototype_functionTargetInstanceRef_FunctionPrototype_target()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ FunctionPrototype getFunctionPrototype_target();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_functionTargetInstanceRef#getFunctionPrototype_target <em>Function Prototype target</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Function Prototype target</em>' reference.
+ * @see #getFunctionPrototype_target()
+ * @generated
+ */
+ void setFunctionPrototype_target(FunctionPrototype value);
+
+ /**
+ * Returns the value of the '<em><b>Function Prototype context</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Function Prototype context</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>Function Prototype context</em>' reference list.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getBehaviorConstraintPrototype_functionTargetInstanceRef_FunctionPrototype_context()
+ * @model ordered="false"
+ * @generated
+ */
+ EList<FunctionPrototype> getFunctionPrototype_context();
+
+} // BehaviorConstraintPrototype_functionTargetInstanceRef
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/BehaviorConstraintPrototype_hardwareComponentTargetInstanceRef.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/BehaviorConstraintPrototype_hardwareComponentTargetInstanceRef.java
new file mode 100644
index 00000000000..8f4f2fd511b
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/BehaviorConstraintPrototype_hardwareComponentTargetInstanceRef.java
@@ -0,0 +1,68 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentPrototype;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Behavior Constraint Prototype hardware Component Target Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_hardwareComponentTargetInstanceRef#getHardwareComponentProtype_target <em>Hardware Component Protype target</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_hardwareComponentTargetInstanceRef#getHardwareComponentPrototype_context <em>Hardware Component Prototype context</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getBehaviorConstraintPrototype_hardwareComponentTargetInstanceRef()
+ * @model
+ * @generated
+ */
+public interface BehaviorConstraintPrototype_hardwareComponentTargetInstanceRef extends InstanceRef {
+ /**
+ * Returns the value of the '<em><b>Hardware Component Protype target</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Hardware Component Protype 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>Hardware Component Protype target</em>' reference.
+ * @see #setHardwareComponentProtype_target(HardwareComponentPrototype)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getBehaviorConstraintPrototype_hardwareComponentTargetInstanceRef_HardwareComponentProtype_target()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ HardwareComponentPrototype getHardwareComponentProtype_target();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_hardwareComponentTargetInstanceRef#getHardwareComponentProtype_target <em>Hardware Component Protype target</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Hardware Component Protype target</em>' reference.
+ * @see #getHardwareComponentProtype_target()
+ * @generated
+ */
+ void setHardwareComponentProtype_target(HardwareComponentPrototype value);
+
+ /**
+ * Returns the value of the '<em><b>Hardware Component Prototype context</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentPrototype}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Hardware Component Prototype context</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>Hardware Component Prototype context</em>' reference list.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getBehaviorConstraintPrototype_hardwareComponentTargetInstanceRef_HardwareComponentPrototype_context()
+ * @model ordered="false"
+ * @generated
+ */
+ EList<HardwareComponentPrototype> getHardwareComponentPrototype_context();
+
+} // BehaviorConstraintPrototype_hardwareComponentTargetInstanceRef
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/ClampConnectorInstanceRef.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/ClampConnectorInstanceRef.java
new file mode 100644
index 00000000000..a35787c72ab
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/ClampConnectorInstanceRef.java
@@ -0,0 +1,69 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPort;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Clamp Connector Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.ClampConnectorInstanceRef#getFunctionPort <em>Function Port</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.ClampConnectorInstanceRef#getFunctionPrototype <em>Function Prototype</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getClampConnectorInstanceRef()
+ * @model
+ * @generated
+ */
+public interface ClampConnectorInstanceRef extends InstanceRef {
+ /**
+ * Returns the value of the '<em><b>Function Port</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Function Port</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Function Port</em>' reference.
+ * @see #setFunctionPort(FunctionPort)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getClampConnectorInstanceRef_FunctionPort()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ FunctionPort getFunctionPort();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.ClampConnectorInstanceRef#getFunctionPort <em>Function Port</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Function Port</em>' reference.
+ * @see #getFunctionPort()
+ * @generated
+ */
+ void setFunctionPort(FunctionPort value);
+
+ /**
+ * Returns the value of the '<em><b>Function Prototype</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Function Prototype</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>Function Prototype</em>' reference list.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getClampConnectorInstanceRef_FunctionPrototype()
+ * @model ordered="false"
+ * @generated
+ */
+ EList<FunctionPrototype> getFunctionPrototype();
+
+} // ClampConnectorInstanceRef
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/ErrorModelPrototype_functionTargetInstanceRef.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/ErrorModelPrototype_functionTargetInstanceRef.java
new file mode 100644
index 00000000000..a56b92de518
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/ErrorModelPrototype_functionTargetInstanceRef.java
@@ -0,0 +1,68 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Error Model Prototype function Target Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.ErrorModelPrototype_functionTargetInstanceRef#getFunctionPrototype <em>Function Prototype</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.ErrorModelPrototype_functionTargetInstanceRef#getFunctionPrototype_context <em>Function Prototype context</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getErrorModelPrototype_functionTargetInstanceRef()
+ * @model
+ * @generated
+ */
+public interface ErrorModelPrototype_functionTargetInstanceRef extends InstanceRef {
+ /**
+ * Returns the value of the '<em><b>Function Prototype</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Function Prototype</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Function Prototype</em>' reference.
+ * @see #setFunctionPrototype(FunctionPrototype)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getErrorModelPrototype_functionTargetInstanceRef_FunctionPrototype()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ FunctionPrototype getFunctionPrototype();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.ErrorModelPrototype_functionTargetInstanceRef#getFunctionPrototype <em>Function Prototype</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Function Prototype</em>' reference.
+ * @see #getFunctionPrototype()
+ * @generated
+ */
+ void setFunctionPrototype(FunctionPrototype value);
+
+ /**
+ * Returns the value of the '<em><b>Function Prototype context</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Function Prototype context</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>Function Prototype context</em>' reference list.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getErrorModelPrototype_functionTargetInstanceRef_FunctionPrototype_context()
+ * @model ordered="false"
+ * @generated
+ */
+ EList<FunctionPrototype> getFunctionPrototype_context();
+
+} // ErrorModelPrototype_functionTargetInstanceRef
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/ErrorModelPrototype_hwTargetInstanceRef.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/ErrorModelPrototype_hwTargetInstanceRef.java
new file mode 100644
index 00000000000..73a5a89b4b2
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/ErrorModelPrototype_hwTargetInstanceRef.java
@@ -0,0 +1,68 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentPrototype;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Error Model Prototype hw Target Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.ErrorModelPrototype_hwTargetInstanceRef#getHardwareComponentProtype <em>Hardware Component Protype</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.ErrorModelPrototype_hwTargetInstanceRef#getHardwareComponentProtype_context <em>Hardware Component Protype context</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getErrorModelPrototype_hwTargetInstanceRef()
+ * @model
+ * @generated
+ */
+public interface ErrorModelPrototype_hwTargetInstanceRef extends InstanceRef {
+ /**
+ * Returns the value of the '<em><b>Hardware Component Protype</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Hardware Component Protype</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Hardware Component Protype</em>' reference.
+ * @see #setHardwareComponentProtype(HardwareComponentPrototype)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getErrorModelPrototype_hwTargetInstanceRef_HardwareComponentProtype()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ HardwareComponentPrototype getHardwareComponentProtype();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.ErrorModelPrototype_hwTargetInstanceRef#getHardwareComponentProtype <em>Hardware Component Protype</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Hardware Component Protype</em>' reference.
+ * @see #getHardwareComponentProtype()
+ * @generated
+ */
+ void setHardwareComponentProtype(HardwareComponentPrototype value);
+
+ /**
+ * Returns the value of the '<em><b>Hardware Component Protype context</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentPrototype}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Hardware Component Protype context</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>Hardware Component Protype context</em>' reference list.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getErrorModelPrototype_hwTargetInstanceRef_HardwareComponentProtype_context()
+ * @model ordered="false"
+ * @generated
+ */
+ EList<HardwareComponentPrototype> getHardwareComponentProtype_context();
+
+} // ErrorModelPrototype_hwTargetInstanceRef
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/EventFunctionClientServerPortInstanceRef.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/EventFunctionClientServerPortInstanceRef.java
new file mode 100644
index 00000000000..4f10edc09be
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/EventFunctionClientServerPortInstanceRef.java
@@ -0,0 +1,69 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionClientServerPort;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Event Function Client Server Port Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.EventFunctionClientServerPortInstanceRef#getFunctionClientServerPort <em>Function Client Server Port</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.EventFunctionClientServerPortInstanceRef#getFunctionPrototype <em>Function Prototype</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getEventFunctionClientServerPortInstanceRef()
+ * @model
+ * @generated
+ */
+public interface EventFunctionClientServerPortInstanceRef extends InstanceRef {
+ /**
+ * Returns the value of the '<em><b>Function Client Server Port</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Function Client Server Port</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Function Client Server Port</em>' reference.
+ * @see #setFunctionClientServerPort(FunctionClientServerPort)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getEventFunctionClientServerPortInstanceRef_FunctionClientServerPort()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ FunctionClientServerPort getFunctionClientServerPort();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.EventFunctionClientServerPortInstanceRef#getFunctionClientServerPort <em>Function Client Server Port</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Function Client Server Port</em>' reference.
+ * @see #getFunctionClientServerPort()
+ * @generated
+ */
+ void setFunctionClientServerPort(FunctionClientServerPort value);
+
+ /**
+ * Returns the value of the '<em><b>Function Prototype</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Function Prototype</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>Function Prototype</em>' reference list.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getEventFunctionClientServerPortInstanceRef_FunctionPrototype()
+ * @model ordered="false"
+ * @generated
+ */
+ EList<FunctionPrototype> getFunctionPrototype();
+
+} // EventFunctionClientServerPortInstanceRef
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/EventFunctionFlowPortInstanceRef.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/EventFunctionFlowPortInstanceRef.java
new file mode 100644
index 00000000000..ae13b5c5f6d
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/EventFunctionFlowPortInstanceRef.java
@@ -0,0 +1,69 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionFlowPort;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Event Function Flow Port Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.EventFunctionFlowPortInstanceRef#getFunctionFlowPort <em>Function Flow Port</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.EventFunctionFlowPortInstanceRef#getFunctionPrototype <em>Function Prototype</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getEventFunctionFlowPortInstanceRef()
+ * @model
+ * @generated
+ */
+public interface EventFunctionFlowPortInstanceRef extends InstanceRef {
+ /**
+ * Returns the value of the '<em><b>Function Flow Port</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Function Flow Port</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Function Flow Port</em>' reference.
+ * @see #setFunctionFlowPort(FunctionFlowPort)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getEventFunctionFlowPortInstanceRef_FunctionFlowPort()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ FunctionFlowPort getFunctionFlowPort();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.EventFunctionFlowPortInstanceRef#getFunctionFlowPort <em>Function Flow Port</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Function Flow Port</em>' reference.
+ * @see #getFunctionFlowPort()
+ * @generated
+ */
+ void setFunctionFlowPort(FunctionFlowPort value);
+
+ /**
+ * Returns the value of the '<em><b>Function Prototype</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Function Prototype</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>Function Prototype</em>' reference list.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getEventFunctionFlowPortInstanceRef_FunctionPrototype()
+ * @model ordered="false"
+ * @generated
+ */
+ EList<FunctionPrototype> getFunctionPrototype();
+
+} // EventFunctionFlowPortInstanceRef
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/EventFunctionInstanceRef.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/EventFunctionInstanceRef.java
new file mode 100644
index 00000000000..40a1184a414
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/EventFunctionInstanceRef.java
@@ -0,0 +1,68 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Event Function Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.EventFunctionInstanceRef#getFunctionPrototype_target <em>Function Prototype target</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.EventFunctionInstanceRef#getFunctionPrototype_context <em>Function Prototype context</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getEventFunctionInstanceRef()
+ * @model
+ * @generated
+ */
+public interface EventFunctionInstanceRef extends InstanceRef {
+ /**
+ * Returns the value of the '<em><b>Function Prototype target</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Function Prototype 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>Function Prototype target</em>' reference.
+ * @see #setFunctionPrototype_target(FunctionPrototype)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getEventFunctionInstanceRef_FunctionPrototype_target()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ FunctionPrototype getFunctionPrototype_target();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.EventFunctionInstanceRef#getFunctionPrototype_target <em>Function Prototype target</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Function Prototype target</em>' reference.
+ * @see #getFunctionPrototype_target()
+ * @generated
+ */
+ void setFunctionPrototype_target(FunctionPrototype value);
+
+ /**
+ * Returns the value of the '<em><b>Function Prototype context</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Function Prototype context</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>Function Prototype context</em>' reference list.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getEventFunctionInstanceRef_FunctionPrototype_context()
+ * @model ordered="false"
+ * @generated
+ */
+ EList<FunctionPrototype> getFunctionPrototype_context();
+
+} // EventFunctionInstanceRef
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/FaultFailurePort_functionTargetInstanceRef.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/FaultFailurePort_functionTargetInstanceRef.java
new file mode 100644
index 00000000000..e68296fd2b1
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/FaultFailurePort_functionTargetInstanceRef.java
@@ -0,0 +1,69 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPort;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Fault Failure Port function Target Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePort_functionTargetInstanceRef#getFunctionPort <em>Function Port</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePort_functionTargetInstanceRef#getFunctionPrototype <em>Function Prototype</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getFaultFailurePort_functionTargetInstanceRef()
+ * @model
+ * @generated
+ */
+public interface FaultFailurePort_functionTargetInstanceRef extends InstanceRef {
+ /**
+ * Returns the value of the '<em><b>Function Port</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Function Port</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Function Port</em>' reference.
+ * @see #setFunctionPort(FunctionPort)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getFaultFailurePort_functionTargetInstanceRef_FunctionPort()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ FunctionPort getFunctionPort();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePort_functionTargetInstanceRef#getFunctionPort <em>Function Port</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Function Port</em>' reference.
+ * @see #getFunctionPort()
+ * @generated
+ */
+ void setFunctionPort(FunctionPort value);
+
+ /**
+ * Returns the value of the '<em><b>Function Prototype</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Function Prototype</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>Function Prototype</em>' reference list.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getFaultFailurePort_functionTargetInstanceRef_FunctionPrototype()
+ * @model ordered="false"
+ * @generated
+ */
+ EList<FunctionPrototype> getFunctionPrototype();
+
+} // FaultFailurePort_functionTargetInstanceRef
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/FaultFailurePort_hwTargetInstanceRef.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/FaultFailurePort_hwTargetInstanceRef.java
new file mode 100644
index 00000000000..0edadff08d1
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/FaultFailurePort_hwTargetInstanceRef.java
@@ -0,0 +1,69 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentPrototype;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePin;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Fault Failure Port hw Target Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePort_hwTargetInstanceRef#getHardwarePort <em>Hardware Port</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePort_hwTargetInstanceRef#getHardwareComponentProtype <em>Hardware Component Protype</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getFaultFailurePort_hwTargetInstanceRef()
+ * @model
+ * @generated
+ */
+public interface FaultFailurePort_hwTargetInstanceRef extends InstanceRef {
+ /**
+ * Returns the value of the '<em><b>Hardware Port</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Hardware Port</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Hardware Port</em>' reference.
+ * @see #setHardwarePort(HardwarePin)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getFaultFailurePort_hwTargetInstanceRef_HardwarePort()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ HardwarePin getHardwarePort();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePort_hwTargetInstanceRef#getHardwarePort <em>Hardware Port</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Hardware Port</em>' reference.
+ * @see #getHardwarePort()
+ * @generated
+ */
+ void setHardwarePort(HardwarePin value);
+
+ /**
+ * Returns the value of the '<em><b>Hardware Component Protype</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentPrototype}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Hardware Component Protype</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>Hardware Component Protype</em>' reference list.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getFaultFailurePort_hwTargetInstanceRef_HardwareComponentProtype()
+ * @model ordered="false"
+ * @generated
+ */
+ EList<HardwareComponentPrototype> getHardwareComponentProtype();
+
+} // FaultFailurePort_hwTargetInstanceRef
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/FaultFailurePropagationLink_fromPortInstanceRef.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/FaultFailurePropagationLink_fromPortInstanceRef.java
new file mode 100644
index 00000000000..2915691e6bf
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/FaultFailurePropagationLink_fromPortInstanceRef.java
@@ -0,0 +1,69 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.papyrus.eastadl.dependability.errormodel.ErrorModelPrototype;
+import org.eclipse.papyrus.eastadl.dependability.errormodel.FaultFailurePort;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Fault Failure Propagation Link from Port Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePropagationLink_fromPortInstanceRef#getFaultFairelurePort <em>Fault Fairelure Port</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePropagationLink_fromPortInstanceRef#getErrorModelPrototype <em>Error Model Prototype</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getFaultFailurePropagationLink_fromPortInstanceRef()
+ * @model
+ * @generated
+ */
+public interface FaultFailurePropagationLink_fromPortInstanceRef extends InstanceRef {
+ /**
+ * Returns the value of the '<em><b>Fault Fairelure Port</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Fault Fairelure Port</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Fault Fairelure Port</em>' reference.
+ * @see #setFaultFairelurePort(FaultFailurePort)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getFaultFailurePropagationLink_fromPortInstanceRef_FaultFairelurePort()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ FaultFailurePort getFaultFairelurePort();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePropagationLink_fromPortInstanceRef#getFaultFairelurePort <em>Fault Fairelure Port</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Fault Fairelure Port</em>' reference.
+ * @see #getFaultFairelurePort()
+ * @generated
+ */
+ void setFaultFairelurePort(FaultFailurePort value);
+
+ /**
+ * Returns the value of the '<em><b>Error Model Prototype</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.eastadl.dependability.errormodel.ErrorModelPrototype}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Error Model Prototype</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 Model Prototype</em>' reference list.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getFaultFailurePropagationLink_fromPortInstanceRef_ErrorModelPrototype()
+ * @model ordered="false"
+ * @generated
+ */
+ EList<ErrorModelPrototype> getErrorModelPrototype();
+
+} // FaultFailurePropagationLink_fromPortInstanceRef
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/FaultFailurePropagationLink_toPortInstanceRef.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/FaultFailurePropagationLink_toPortInstanceRef.java
new file mode 100644
index 00000000000..372fc5e2225
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/FaultFailurePropagationLink_toPortInstanceRef.java
@@ -0,0 +1,69 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.papyrus.eastadl.dependability.errormodel.ErrorModelPrototype;
+import org.eclipse.papyrus.eastadl.dependability.errormodel.FaultFailurePort;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Fault Failure Propagation Link to Port Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePropagationLink_toPortInstanceRef#getFaultFairelurePort <em>Fault Fairelure Port</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePropagationLink_toPortInstanceRef#getErrorModelPrototype <em>Error Model Prototype</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getFaultFailurePropagationLink_toPortInstanceRef()
+ * @model
+ * @generated
+ */
+public interface FaultFailurePropagationLink_toPortInstanceRef extends InstanceRef {
+ /**
+ * Returns the value of the '<em><b>Fault Fairelure Port</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Fault Fairelure Port</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Fault Fairelure Port</em>' reference.
+ * @see #setFaultFairelurePort(FaultFailurePort)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getFaultFailurePropagationLink_toPortInstanceRef_FaultFairelurePort()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ FaultFailurePort getFaultFairelurePort();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePropagationLink_toPortInstanceRef#getFaultFairelurePort <em>Fault Fairelure Port</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Fault Fairelure Port</em>' reference.
+ * @see #getFaultFairelurePort()
+ * @generated
+ */
+ void setFaultFairelurePort(FaultFailurePort value);
+
+ /**
+ * Returns the value of the '<em><b>Error Model Prototype</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.eastadl.dependability.errormodel.ErrorModelPrototype}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Error Model Prototype</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 Model Prototype</em>' reference list.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getFaultFailurePropagationLink_toPortInstanceRef_ErrorModelPrototype()
+ * @model ordered="false"
+ * @generated
+ */
+ EList<ErrorModelPrototype> getErrorModelPrototype();
+
+} // FaultFailurePropagationLink_toPortInstanceRef
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/FaultFailure_anomalyInstanceRef.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/FaultFailure_anomalyInstanceRef.java
new file mode 100644
index 00000000000..35c7a2fb814
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/FaultFailure_anomalyInstanceRef.java
@@ -0,0 +1,69 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.papyrus.eastadl.dependability.errormodel.Anomaly;
+import org.eclipse.papyrus.eastadl.dependability.errormodel.ErrorModelPrototype;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Fault Failure anomaly Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.FaultFailure_anomalyInstanceRef#getAnomaly <em>Anomaly</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.FaultFailure_anomalyInstanceRef#getErrorModelPrototype <em>Error Model Prototype</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getFaultFailure_anomalyInstanceRef()
+ * @model
+ * @generated
+ */
+public interface FaultFailure_anomalyInstanceRef extends InstanceRef {
+ /**
+ * Returns the value of the '<em><b>Anomaly</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Anomaly</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Anomaly</em>' reference.
+ * @see #setAnomaly(Anomaly)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getFaultFailure_anomalyInstanceRef_Anomaly()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ Anomaly getAnomaly();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.FaultFailure_anomalyInstanceRef#getAnomaly <em>Anomaly</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Anomaly</em>' reference.
+ * @see #getAnomaly()
+ * @generated
+ */
+ void setAnomaly(Anomaly value);
+
+ /**
+ * Returns the value of the '<em><b>Error Model Prototype</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.eastadl.dependability.errormodel.ErrorModelPrototype}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Error Model Prototype</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 Model Prototype</em>' reference list.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getFaultFailure_anomalyInstanceRef_ErrorModelPrototype()
+ * @model ordered="false"
+ * @generated
+ */
+ EList<ErrorModelPrototype> getErrorModelPrototype();
+
+} // FaultFailure_anomalyInstanceRef
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/FunctionConnectorPortInstanceRef.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/FunctionConnectorPortInstanceRef.java
new file mode 100644
index 00000000000..095855d56f6
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/FunctionConnectorPortInstanceRef.java
@@ -0,0 +1,78 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure;
+
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPort;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Function Connector Port Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.FunctionConnectorPortInstanceRef#getFunctionPort <em>Function Port</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.FunctionConnectorPortInstanceRef#getFunctionPrototype <em>Function Prototype</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getFunctionConnectorPortInstanceRef()
+ * @model
+ * @generated
+ */
+public interface FunctionConnectorPortInstanceRef extends InstanceRef {
+ /**
+ * Returns the value of the '<em><b>Function Port</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Function Port</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Function Port</em>' reference.
+ * @see #setFunctionPort(FunctionPort)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getFunctionConnectorPortInstanceRef_FunctionPort()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ FunctionPort getFunctionPort();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.FunctionConnectorPortInstanceRef#getFunctionPort <em>Function Port</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Function Port</em>' reference.
+ * @see #getFunctionPort()
+ * @generated
+ */
+ void setFunctionPort(FunctionPort value);
+
+ /**
+ * Returns the value of the '<em><b>Function Prototype</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Function Prototype</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Function Prototype</em>' reference.
+ * @see #setFunctionPrototype(FunctionPrototype)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getFunctionConnectorPortInstanceRef_FunctionPrototype()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ FunctionPrototype getFunctionPrototype();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.FunctionConnectorPortInstanceRef#getFunctionPrototype <em>Function Prototype</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Function Prototype</em>' reference.
+ * @see #getFunctionPrototype()
+ * @generated
+ */
+ void setFunctionPrototype(FunctionPrototype value);
+
+} // FunctionConnectorPortInstanceRef
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/HardwareConnectorInstanceRef.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/HardwareConnectorInstanceRef.java
new file mode 100644
index 00000000000..a77eb4b92bf
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/HardwareConnectorInstanceRef.java
@@ -0,0 +1,78 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure;
+
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentPrototype;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePin;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Hardware Connector Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.HardwareConnectorInstanceRef#getHardwarePin <em>Hardware Pin</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.HardwareConnectorInstanceRef#getHardwareComponentPrototype <em>Hardware Component Prototype</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getHardwareConnectorInstanceRef()
+ * @model
+ * @generated
+ */
+public interface HardwareConnectorInstanceRef extends InstanceRef {
+ /**
+ * Returns the value of the '<em><b>Hardware Pin</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Hardware Pin</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Hardware Pin</em>' reference.
+ * @see #setHardwarePin(HardwarePin)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getHardwareConnectorInstanceRef_HardwarePin()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ HardwarePin getHardwarePin();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.HardwareConnectorInstanceRef#getHardwarePin <em>Hardware Pin</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Hardware Pin</em>' reference.
+ * @see #getHardwarePin()
+ * @generated
+ */
+ void setHardwarePin(HardwarePin value);
+
+ /**
+ * Returns the value of the '<em><b>Hardware Component Prototype</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Hardware Component Prototype</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Hardware Component Prototype</em>' reference.
+ * @see #setHardwareComponentPrototype(HardwareComponentPrototype)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getHardwareConnectorInstanceRef_HardwareComponentPrototype()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ HardwareComponentPrototype getHardwareComponentPrototype();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.HardwareConnectorInstanceRef#getHardwareComponentPrototype <em>Hardware Component Prototype</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Hardware Component Prototype</em>' reference.
+ * @see #getHardwareComponentPrototype()
+ * @generated
+ */
+ void setHardwareComponentPrototype(HardwareComponentPrototype value);
+
+} // HardwareConnectorInstanceRef
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/HardwareConnectorPortInstanceRef.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/HardwareConnectorPortInstanceRef.java
new file mode 100644
index 00000000000..0e81073f6d8
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/HardwareConnectorPortInstanceRef.java
@@ -0,0 +1,78 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure;
+
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentPrototype;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePin;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Hardware Connector Port Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.HardwareConnectorPortInstanceRef#getHardwarePin <em>Hardware Pin</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.HardwareConnectorPortInstanceRef#getHardwareComponentPrototype <em>Hardware Component Prototype</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getHardwareConnectorPortInstanceRef()
+ * @model
+ * @generated
+ */
+public interface HardwareConnectorPortInstanceRef extends InstanceRef {
+ /**
+ * Returns the value of the '<em><b>Hardware Pin</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Hardware Pin</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Hardware Pin</em>' reference.
+ * @see #setHardwarePin(HardwarePin)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getHardwareConnectorPortInstanceRef_HardwarePin()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ HardwarePin getHardwarePin();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.HardwareConnectorPortInstanceRef#getHardwarePin <em>Hardware Pin</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Hardware Pin</em>' reference.
+ * @see #getHardwarePin()
+ * @generated
+ */
+ void setHardwarePin(HardwarePin value);
+
+ /**
+ * Returns the value of the '<em><b>Hardware Component Prototype</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Hardware Component Prototype</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Hardware Component Prototype</em>' reference.
+ * @see #setHardwareComponentPrototype(HardwareComponentPrototype)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getHardwareConnectorPortInstanceRef_HardwareComponentPrototype()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ HardwareComponentPrototype getHardwareComponentPrototype();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.HardwareConnectorPortInstanceRef#getHardwareComponentPrototype <em>Hardware Component Prototype</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Hardware Component Prototype</em>' reference.
+ * @see #getHardwareComponentPrototype()
+ * @generated
+ */
+ void setHardwareComponentPrototype(HardwareComponentPrototype value);
+
+} // HardwareConnectorPortInstanceRef
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/HardwarePortConnectorInstanceRef.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/HardwarePortConnectorInstanceRef.java
new file mode 100644
index 00000000000..4a1e0294450
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/HardwarePortConnectorInstanceRef.java
@@ -0,0 +1,78 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure;
+
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentPrototype;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePort;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Hardware Port Connector Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.HardwarePortConnectorInstanceRef#getHardwarePort <em>Hardware Port</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.HardwarePortConnectorInstanceRef#getHardwareComponentPrototype <em>Hardware Component Prototype</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getHardwarePortConnectorInstanceRef()
+ * @model
+ * @generated
+ */
+public interface HardwarePortConnectorInstanceRef extends InstanceRef {
+ /**
+ * Returns the value of the '<em><b>Hardware Port</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Hardware Port</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Hardware Port</em>' reference.
+ * @see #setHardwarePort(HardwarePort)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getHardwarePortConnectorInstanceRef_HardwarePort()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ HardwarePort getHardwarePort();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.HardwarePortConnectorInstanceRef#getHardwarePort <em>Hardware Port</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Hardware Port</em>' reference.
+ * @see #getHardwarePort()
+ * @generated
+ */
+ void setHardwarePort(HardwarePort value);
+
+ /**
+ * Returns the value of the '<em><b>Hardware Component Prototype</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Hardware Component Prototype</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Hardware Component Prototype</em>' reference.
+ * @see #setHardwareComponentPrototype(HardwareComponentPrototype)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getHardwarePortConnectorInstanceRef_HardwareComponentPrototype()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ HardwareComponentPrototype getHardwareComponentPrototype();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.HardwarePortConnectorInstanceRef#getHardwareComponentPrototype <em>Hardware Component Prototype</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Hardware Component Prototype</em>' reference.
+ * @see #getHardwareComponentPrototype()
+ * @generated
+ */
+ void setHardwareComponentPrototype(HardwareComponentPrototype value);
+
+} // HardwarePortConnectorInstanceRef
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/InfrastructureFactory.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/InfrastructureFactory.java
index d50f8c9325e..01a7e3b5010 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/InfrastructureFactory.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/InfrastructureFactory.java
@@ -22,26 +22,292 @@ import org.eclipse.emf.ecore.EFactory;
* 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.papyrus.eastadl.infrastructure.InfrastructurePackage
* @generated
*/
public interface InfrastructureFactory extends EFactory {
-
/**
* The singleton instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
InfrastructureFactory eINSTANCE = org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructureFactoryImpl.init();
/**
+ * Returns a new object of class '<em>Instance Ref</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Instance Ref</em>'.
+ * @generated
+ */
+ InstanceRef createInstanceRef();
+
+ /**
+ * Returns a new object of class '<em>Target Instance Ref</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Target Instance Ref</em>'.
+ * @generated
+ */
+ TargetInstanceRef createTargetInstanceRef();
+
+ /**
+ * Returns a new object of class '<em>Function Connector Port Instance Ref</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Function Connector Port Instance Ref</em>'.
+ * @generated
+ */
+ FunctionConnectorPortInstanceRef createFunctionConnectorPortInstanceRef();
+
+ /**
+ * Returns a new object of class '<em>Hardware Connector Instance Ref</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Hardware Connector Instance Ref</em>'.
+ * @generated
+ */
+ HardwareConnectorInstanceRef createHardwareConnectorInstanceRef();
+
+ /**
+ * Returns a new object of class '<em>Hardware Port Connector Instance Ref</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Hardware Port Connector Instance Ref</em>'.
+ * @generated
+ */
+ HardwarePortConnectorInstanceRef createHardwarePortConnectorInstanceRef();
+
+ /**
+ * Returns a new object of class '<em>Allocated Element Instance Ref</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Allocated Element Instance Ref</em>'.
+ * @generated
+ */
+ AllocatedElementInstanceRef createAllocatedElementInstanceRef();
+
+ /**
+ * Returns a new object of class '<em>Clamp Connector Instance Ref</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Clamp Connector Instance Ref</em>'.
+ * @generated
+ */
+ ClampConnectorInstanceRef createClampConnectorInstanceRef();
+
+ /**
+ * Returns a new object of class '<em>Refine Instance Ref</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Refine Instance Ref</em>'.
+ * @generated
+ */
+ RefineInstanceRef createRefineInstanceRef();
+
+ /**
+ * Returns a new object of class '<em>Satisfy Instance Ref</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Satisfy Instance Ref</em>'.
+ * @generated
+ */
+ SatisfyInstanceRef createSatisfyInstanceRef();
+
+ /**
+ * Returns a new object of class '<em>VV Case Instance Ref</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>VV Case Instance Ref</em>'.
+ * @generated
+ */
+ VVCaseInstanceRef createVVCaseInstanceRef();
+
+ /**
+ * Returns a new object of class '<em>VV Target Instance Ref</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>VV Target Instance Ref</em>'.
+ * @generated
+ */
+ VVTargetInstanceRef createVVTargetInstanceRef();
+
+ /**
+ * Returns a new object of class '<em>Realization realized Instance Ref</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Realization realized Instance Ref</em>'.
+ * @generated
+ */
+ Realization_realizedInstanceRef createRealization_realizedInstanceRef();
+
+ /**
+ * Returns a new object of class '<em>Realization realized By Instance Ref</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Realization realized By Instance Ref</em>'.
+ * @generated
+ */
+ Realization_realizedByInstanceRef createRealization_realizedByInstanceRef();
+
+ /**
+ * Returns a new object of class '<em>Event Function Instance Ref</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Event Function Instance Ref</em>'.
+ * @generated
+ */
+ EventFunctionInstanceRef createEventFunctionInstanceRef();
+
+ /**
+ * Returns a new object of class '<em>Event Function Client Server Port Instance Ref</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Event Function Client Server Port Instance Ref</em>'.
+ * @generated
+ */
+ EventFunctionClientServerPortInstanceRef createEventFunctionClientServerPortInstanceRef();
+
+ /**
+ * Returns a new object of class '<em>Event Function Flow Port Instance Ref</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Event Function Flow Port Instance Ref</em>'.
+ * @generated
+ */
+ EventFunctionFlowPortInstanceRef createEventFunctionFlowPortInstanceRef();
+
+ /**
+ * Returns a new object of class '<em>Precedence Constraint preceding Instance Ref</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Precedence Constraint preceding Instance Ref</em>'.
+ * @generated
+ */
+ PrecedenceConstraint_precedingInstanceRef createPrecedenceConstraint_precedingInstanceRef();
+
+ /**
+ * Returns a new object of class '<em>Precedence Constraint successive Instance Ref</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Precedence Constraint successive Instance Ref</em>'.
+ * @generated
+ */
+ PrecedenceConstraint_successiveInstanceRef createPrecedenceConstraint_successiveInstanceRef();
+
+ /**
+ * Returns a new object of class '<em>Error Model Prototype function Target Instance Ref</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Error Model Prototype function Target Instance Ref</em>'.
+ * @generated
+ */
+ ErrorModelPrototype_functionTargetInstanceRef createErrorModelPrototype_functionTargetInstanceRef();
+
+ /**
+ * Returns a new object of class '<em>Error Model Prototype hw Target Instance Ref</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Error Model Prototype hw Target Instance Ref</em>'.
+ * @generated
+ */
+ ErrorModelPrototype_hwTargetInstanceRef createErrorModelPrototype_hwTargetInstanceRef();
+
+ /**
+ * Returns a new object of class '<em>Fault Failure Port hw Target Instance Ref</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Fault Failure Port hw Target Instance Ref</em>'.
+ * @generated
+ */
+ FaultFailurePort_hwTargetInstanceRef createFaultFailurePort_hwTargetInstanceRef();
+
+ /**
+ * Returns a new object of class '<em>Fault Failure Port function Target Instance Ref</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Fault Failure Port function Target Instance Ref</em>'.
+ * @generated
+ */
+ FaultFailurePort_functionTargetInstanceRef createFaultFailurePort_functionTargetInstanceRef();
+
+ /**
+ * Returns a new object of class '<em>Fault Failure Propagation Link from Port Instance Ref</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Fault Failure Propagation Link from Port Instance Ref</em>'.
+ * @generated
+ */
+ FaultFailurePropagationLink_fromPortInstanceRef createFaultFailurePropagationLink_fromPortInstanceRef();
+
+ /**
+ * Returns a new object of class '<em>Fault Failure anomaly Instance Ref</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Fault Failure anomaly Instance Ref</em>'.
+ * @generated
+ */
+ FaultFailure_anomalyInstanceRef createFaultFailure_anomalyInstanceRef();
+
+ /**
+ * Returns a new object of class '<em>Fault Failure Propagation Link to Port Instance Ref</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Fault Failure Propagation Link to Port Instance Ref</em>'.
+ * @generated
+ */
+ FaultFailurePropagationLink_toPortInstanceRef createFaultFailurePropagationLink_toPortInstanceRef();
+
+ /**
+ * Returns a new object of class '<em>Behavior Constraint Internal Binding through Function Connector Instance Ref</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Behavior Constraint Internal Binding through Function Connector Instance Ref</em>'.
+ * @generated
+ */
+ BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef createBehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef();
+
+ /**
+ * Returns a new object of class '<em>Behavior Constraint Internal Binding through Hardware Connector Instance Ref</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Behavior Constraint Internal Binding through Hardware Connector Instance Ref</em>'.
+ * @generated
+ */
+ BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef createBehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef();
+
+ /**
+ * Returns a new object of class '<em>Behavior Constraint Prototype function Target Instance Ref</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Behavior Constraint Prototype function Target Instance Ref</em>'.
+ * @generated
+ */
+ BehaviorConstraintPrototype_functionTargetInstanceRef createBehaviorConstraintPrototype_functionTargetInstanceRef();
+
+ /**
+ * Returns a new object of class '<em>Behavior Constraint Prototype hardware Component Target Instance Ref</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Behavior Constraint Prototype hardware Component Target Instance Ref</em>'.
+ * @generated
+ */
+ BehaviorConstraintPrototype_hardwareComponentTargetInstanceRef createBehaviorConstraintPrototype_hardwareComponentTargetInstanceRef();
+
+ /**
+ * Returns a new object of class '<em>Behavior Constraint Prototype error Model Target Instance Ref</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Behavior Constraint Prototype error Model Target Instance Ref</em>'.
+ * @generated
+ */
+ BehaviorConstraintPrototype_errorModelTargetInstanceRef createBehaviorConstraintPrototype_errorModelTargetInstanceRef();
+
+ /**
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the package supported by this factory.
* @generated
*/
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/InfrastructurePackage.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/InfrastructurePackage.java
index e6e7f078f3d..d0a4dad2dff 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/InfrastructurePackage.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/InfrastructurePackage.java
@@ -15,56 +15,734 @@
*****************************************************************************/
package org.eclipse.papyrus.eastadl.infrastructure;
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EDataType;
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>
+ * <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 -->
* <!-- begin-model-doc -->
- * This section contains the UML-profile specification, specifying stereotypes in the UML-profile, defined from the metaclasses in the
- * ADLCoreConstructs package. It includes specification details for each stereotype. If the stereotype has properties, which may be referred to as tag
- * definitions, or if the stereotype has constraints, this section also includes specification details for these properties and constraints.
+ * This section contains the UML-profile specification, specifying stereotypes in the UML-profile, defined from the metaclasses in the ADLCoreConstructs package. It includes specification details for each stereotype. If the stereotype has properties, which may be referred to as tag definitions, or if the stereotype has constraints, this section also includes specification details for these properties and constraints.
*
* Overview:
- * This subprofile defines a set of abstract stereotypes which provide basic constructs to the other subprofiles. Two subprofiles are also defined,
- * ADLTypes and ADLRelationshipModeling which are described in the following sections.
+ * This subprofile defines a set of abstract stereotypes which provide basic constructs to the other subprofiles. Two subprofiles are also defined, ADLTypes and ADLRelationshipModeling which are described in the following sections.
* <!-- end-model-doc -->
- *
* @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructureFactory
* @model kind="package"
* @generated
*/
public interface InfrastructurePackage extends EPackage {
-
/**
* <!-- 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>
+ * <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.papyrus.eastadl.infrastructure.impl.InstanceRefImpl <em>Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getInstanceRef()
+ * @generated
+ */
+ EClass INSTANCE_REF = eINSTANCE.getInstanceRef();
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.TargetInstanceRefImpl <em>Target Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.TargetInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getTargetInstanceRef()
+ * @generated
+ */
+ EClass TARGET_INSTANCE_REF = eINSTANCE.getTargetInstanceRef();
+ /**
+ * The meta object literal for the '<em><b>Allocation Target</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference TARGET_INSTANCE_REF__ALLOCATION_TARGET = eINSTANCE.getTargetInstanceRef_AllocationTarget();
+ /**
+ * The meta object literal for the '<em><b>Allocation Target context</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference TARGET_INSTANCE_REF__ALLOCATION_TARGET_CONTEXT = eINSTANCE.getTargetInstanceRef_AllocationTarget_context();
+ /**
+ * The meta object literal for the '<em><b>Int Attribute</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute TARGET_INSTANCE_REF__INT_ATTRIBUTE = eINSTANCE.getTargetInstanceRef_IntAttribute();
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.FunctionConnectorPortInstanceRefImpl <em>Function Connector Port Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.FunctionConnectorPortInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getFunctionConnectorPortInstanceRef()
+ * @generated
+ */
+ EClass FUNCTION_CONNECTOR_PORT_INSTANCE_REF = eINSTANCE.getFunctionConnectorPortInstanceRef();
+ /**
+ * The meta object literal for the '<em><b>Function Port</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FUNCTION_CONNECTOR_PORT_INSTANCE_REF__FUNCTION_PORT = eINSTANCE.getFunctionConnectorPortInstanceRef_FunctionPort();
+ /**
+ * The meta object literal for the '<em><b>Function Prototype</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FUNCTION_CONNECTOR_PORT_INSTANCE_REF__FUNCTION_PROTOTYPE = eINSTANCE.getFunctionConnectorPortInstanceRef_FunctionPrototype();
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.HardwareConnectorInstanceRefImpl <em>Hardware Connector Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.HardwareConnectorInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getHardwareConnectorInstanceRef()
+ * @generated
+ */
+ EClass HARDWARE_CONNECTOR_INSTANCE_REF = eINSTANCE.getHardwareConnectorInstanceRef();
+ /**
+ * The meta object literal for the '<em><b>Hardware Pin</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_PIN = eINSTANCE.getHardwareConnectorInstanceRef_HardwarePin();
+ /**
+ * The meta object literal for the '<em><b>Hardware Component Prototype</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE = eINSTANCE.getHardwareConnectorInstanceRef_HardwareComponentPrototype();
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.HardwarePortConnectorInstanceRefImpl <em>Hardware Port Connector Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.HardwarePortConnectorInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getHardwarePortConnectorInstanceRef()
+ * @generated
+ */
+ EClass HARDWARE_PORT_CONNECTOR_INSTANCE_REF = eINSTANCE.getHardwarePortConnectorInstanceRef();
+ /**
+ * The meta object literal for the '<em><b>Hardware Port</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference HARDWARE_PORT_CONNECTOR_INSTANCE_REF__HARDWARE_PORT = eINSTANCE.getHardwarePortConnectorInstanceRef_HardwarePort();
+ /**
+ * The meta object literal for the '<em><b>Hardware Component Prototype</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference HARDWARE_PORT_CONNECTOR_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE = eINSTANCE.getHardwarePortConnectorInstanceRef_HardwareComponentPrototype();
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.AllocatedElementInstanceRefImpl <em>Allocated Element Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.AllocatedElementInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getAllocatedElementInstanceRef()
+ * @generated
+ */
+ EClass ALLOCATED_ELEMENT_INSTANCE_REF = eINSTANCE.getAllocatedElementInstanceRef();
+ /**
+ * The meta object literal for the '<em><b>Allocateable Element</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ALLOCATED_ELEMENT_INSTANCE_REF__ALLOCATEABLE_ELEMENT = eINSTANCE.getAllocatedElementInstanceRef_AllocateableElement();
+ /**
+ * The meta object literal for the '<em><b>Allocateable Element context</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ALLOCATED_ELEMENT_INSTANCE_REF__ALLOCATEABLE_ELEMENT_CONTEXT = eINSTANCE.getAllocatedElementInstanceRef_AllocateableElement_context();
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.ClampConnectorInstanceRefImpl <em>Clamp Connector Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.ClampConnectorInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getClampConnectorInstanceRef()
+ * @generated
+ */
+ EClass CLAMP_CONNECTOR_INSTANCE_REF = eINSTANCE.getClampConnectorInstanceRef();
+ /**
+ * The meta object literal for the '<em><b>Function Port</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CLAMP_CONNECTOR_INSTANCE_REF__FUNCTION_PORT = eINSTANCE.getClampConnectorInstanceRef_FunctionPort();
+ /**
+ * The meta object literal for the '<em><b>Function Prototype</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CLAMP_CONNECTOR_INSTANCE_REF__FUNCTION_PROTOTYPE = eINSTANCE.getClampConnectorInstanceRef_FunctionPrototype();
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.RefineInstanceRefImpl <em>Refine Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.RefineInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getRefineInstanceRef()
+ * @generated
+ */
+ EClass REFINE_INSTANCE_REF = eINSTANCE.getRefineInstanceRef();
+ /**
+ * The meta object literal for the '<em><b>Identifiable target</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference REFINE_INSTANCE_REF__IDENTIFIABLE_TARGET = eINSTANCE.getRefineInstanceRef_Identifiable_target();
+ /**
+ * The meta object literal for the '<em><b>Identifiable context</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference REFINE_INSTANCE_REF__IDENTIFIABLE_CONTEXT = eINSTANCE.getRefineInstanceRef_Identifiable_context();
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.SatisfyInstanceRefImpl <em>Satisfy Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.SatisfyInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getSatisfyInstanceRef()
+ * @generated
+ */
+ EClass SATISFY_INSTANCE_REF = eINSTANCE.getSatisfyInstanceRef();
+ /**
+ * The meta object literal for the '<em><b>Identifiable target</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference SATISFY_INSTANCE_REF__IDENTIFIABLE_TARGET = eINSTANCE.getSatisfyInstanceRef_Identifiable_target();
+ /**
+ * The meta object literal for the '<em><b>Identifiable context</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference SATISFY_INSTANCE_REF__IDENTIFIABLE_CONTEXT = eINSTANCE.getSatisfyInstanceRef_Identifiable_context();
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.VVCaseInstanceRefImpl <em>VV Case Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.VVCaseInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getVVCaseInstanceRef()
+ * @generated
+ */
+ EClass VV_CASE_INSTANCE_REF = eINSTANCE.getVVCaseInstanceRef();
+ /**
+ * The meta object literal for the '<em><b>Identifiable target</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference VV_CASE_INSTANCE_REF__IDENTIFIABLE_TARGET = eINSTANCE.getVVCaseInstanceRef_Identifiable_target();
+ /**
+ * The meta object literal for the '<em><b>Identifiable context</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference VV_CASE_INSTANCE_REF__IDENTIFIABLE_CONTEXT = eINSTANCE.getVVCaseInstanceRef_Identifiable_context();
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.VVTargetInstanceRefImpl <em>VV Target Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.VVTargetInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getVVTargetInstanceRef()
+ * @generated
+ */
+ EClass VV_TARGET_INSTANCE_REF = eINSTANCE.getVVTargetInstanceRef();
+ /**
+ * The meta object literal for the '<em><b>Identifiable target</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference VV_TARGET_INSTANCE_REF__IDENTIFIABLE_TARGET = eINSTANCE.getVVTargetInstanceRef_Identifiable_target();
+ /**
+ * The meta object literal for the '<em><b>Identifiable context</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference VV_TARGET_INSTANCE_REF__IDENTIFIABLE_CONTEXT = eINSTANCE.getVVTargetInstanceRef_Identifiable_context();
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.Realization_realizedInstanceRefImpl <em>Realization realized Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.Realization_realizedInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getRealization_realizedInstanceRef()
+ * @generated
+ */
+ EClass REALIZATION_REALIZED_INSTANCE_REF = eINSTANCE.getRealization_realizedInstanceRef();
+ /**
+ * The meta object literal for the '<em><b>Identifiable target</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference REALIZATION_REALIZED_INSTANCE_REF__IDENTIFIABLE_TARGET = eINSTANCE.getRealization_realizedInstanceRef_Identifiable_target();
+ /**
+ * The meta object literal for the '<em><b>Identifiable context</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference REALIZATION_REALIZED_INSTANCE_REF__IDENTIFIABLE_CONTEXT = eINSTANCE.getRealization_realizedInstanceRef_Identifiable_context();
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.Realization_realizedByInstanceRefImpl <em>Realization realized By Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.Realization_realizedByInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getRealization_realizedByInstanceRef()
+ * @generated
+ */
+ EClass REALIZATION_REALIZED_BY_INSTANCE_REF = eINSTANCE.getRealization_realizedByInstanceRef();
+ /**
+ * The meta object literal for the '<em><b>Identifiable target</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference REALIZATION_REALIZED_BY_INSTANCE_REF__IDENTIFIABLE_TARGET = eINSTANCE.getRealization_realizedByInstanceRef_Identifiable_target();
+ /**
+ * The meta object literal for the '<em><b>Identifiable context</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference REALIZATION_REALIZED_BY_INSTANCE_REF__IDENTIFIABLE_CONTEXT = eINSTANCE.getRealization_realizedByInstanceRef_Identifiable_context();
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.EventFunctionInstanceRefImpl <em>Event Function Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.EventFunctionInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getEventFunctionInstanceRef()
+ * @generated
+ */
+ EClass EVENT_FUNCTION_INSTANCE_REF = eINSTANCE.getEventFunctionInstanceRef();
+ /**
+ * The meta object literal for the '<em><b>Function Prototype target</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference EVENT_FUNCTION_INSTANCE_REF__FUNCTION_PROTOTYPE_TARGET = eINSTANCE.getEventFunctionInstanceRef_FunctionPrototype_target();
+ /**
+ * The meta object literal for the '<em><b>Function Prototype context</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference EVENT_FUNCTION_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT = eINSTANCE.getEventFunctionInstanceRef_FunctionPrototype_context();
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.EventFunctionClientServerPortInstanceRefImpl <em>Event Function Client Server Port Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.EventFunctionClientServerPortInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getEventFunctionClientServerPortInstanceRef()
+ * @generated
+ */
+ EClass EVENT_FUNCTION_CLIENT_SERVER_PORT_INSTANCE_REF = eINSTANCE.getEventFunctionClientServerPortInstanceRef();
+ /**
+ * The meta object literal for the '<em><b>Function Client Server Port</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference EVENT_FUNCTION_CLIENT_SERVER_PORT_INSTANCE_REF__FUNCTION_CLIENT_SERVER_PORT = eINSTANCE.getEventFunctionClientServerPortInstanceRef_FunctionClientServerPort();
+ /**
+ * The meta object literal for the '<em><b>Function Prototype</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference EVENT_FUNCTION_CLIENT_SERVER_PORT_INSTANCE_REF__FUNCTION_PROTOTYPE = eINSTANCE.getEventFunctionClientServerPortInstanceRef_FunctionPrototype();
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.EventFunctionFlowPortInstanceRefImpl <em>Event Function Flow Port Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.EventFunctionFlowPortInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getEventFunctionFlowPortInstanceRef()
+ * @generated
+ */
+ EClass EVENT_FUNCTION_FLOW_PORT_INSTANCE_REF = eINSTANCE.getEventFunctionFlowPortInstanceRef();
+ /**
+ * The meta object literal for the '<em><b>Function Flow Port</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference EVENT_FUNCTION_FLOW_PORT_INSTANCE_REF__FUNCTION_FLOW_PORT = eINSTANCE.getEventFunctionFlowPortInstanceRef_FunctionFlowPort();
+ /**
+ * The meta object literal for the '<em><b>Function Prototype</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference EVENT_FUNCTION_FLOW_PORT_INSTANCE_REF__FUNCTION_PROTOTYPE = eINSTANCE.getEventFunctionFlowPortInstanceRef_FunctionPrototype();
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.PrecedenceConstraint_precedingInstanceRefImpl <em>Precedence Constraint preceding Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.PrecedenceConstraint_precedingInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getPrecedenceConstraint_precedingInstanceRef()
+ * @generated
+ */
+ EClass PRECEDENCE_CONSTRAINT_PRECEDING_INSTANCE_REF = eINSTANCE.getPrecedenceConstraint_precedingInstanceRef();
+ /**
+ * The meta object literal for the '<em><b>Function Prototype target</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PRECEDENCE_CONSTRAINT_PRECEDING_INSTANCE_REF__FUNCTION_PROTOTYPE_TARGET = eINSTANCE.getPrecedenceConstraint_precedingInstanceRef_FunctionPrototype_target();
+ /**
+ * The meta object literal for the '<em><b>Function Prototype context</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PRECEDENCE_CONSTRAINT_PRECEDING_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT = eINSTANCE.getPrecedenceConstraint_precedingInstanceRef_FunctionPrototype_context();
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.PrecedenceConstraint_successiveInstanceRefImpl <em>Precedence Constraint successive Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.PrecedenceConstraint_successiveInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getPrecedenceConstraint_successiveInstanceRef()
+ * @generated
+ */
+ EClass PRECEDENCE_CONSTRAINT_SUCCESSIVE_INSTANCE_REF = eINSTANCE.getPrecedenceConstraint_successiveInstanceRef();
+ /**
+ * The meta object literal for the '<em><b>Function Prototype target</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PRECEDENCE_CONSTRAINT_SUCCESSIVE_INSTANCE_REF__FUNCTION_PROTOTYPE_TARGET = eINSTANCE.getPrecedenceConstraint_successiveInstanceRef_FunctionPrototype_target();
+ /**
+ * The meta object literal for the '<em><b>Function Prototype context</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PRECEDENCE_CONSTRAINT_SUCCESSIVE_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT = eINSTANCE.getPrecedenceConstraint_successiveInstanceRef_FunctionPrototype_context();
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.ErrorModelPrototype_functionTargetInstanceRefImpl <em>Error Model Prototype function Target Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.ErrorModelPrototype_functionTargetInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getErrorModelPrototype_functionTargetInstanceRef()
+ * @generated
+ */
+ EClass ERROR_MODEL_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF = eINSTANCE.getErrorModelPrototype_functionTargetInstanceRef();
+ /**
+ * The meta object literal for the '<em><b>Function Prototype</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ERROR_MODEL_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE = eINSTANCE.getErrorModelPrototype_functionTargetInstanceRef_FunctionPrototype();
+ /**
+ * The meta object literal for the '<em><b>Function Prototype context</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ERROR_MODEL_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT = eINSTANCE.getErrorModelPrototype_functionTargetInstanceRef_FunctionPrototype_context();
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.ErrorModelPrototype_hwTargetInstanceRefImpl <em>Error Model Prototype hw Target Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.ErrorModelPrototype_hwTargetInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getErrorModelPrototype_hwTargetInstanceRef()
+ * @generated
+ */
+ EClass ERROR_MODEL_PROTOTYPE_HW_TARGET_INSTANCE_REF = eINSTANCE.getErrorModelPrototype_hwTargetInstanceRef();
+ /**
+ * The meta object literal for the '<em><b>Hardware Component Protype</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ERROR_MODEL_PROTOTYPE_HW_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTYPE = eINSTANCE.getErrorModelPrototype_hwTargetInstanceRef_HardwareComponentProtype();
+ /**
+ * The meta object literal for the '<em><b>Hardware Component Protype context</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ERROR_MODEL_PROTOTYPE_HW_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTYPE_CONTEXT = eINSTANCE.getErrorModelPrototype_hwTargetInstanceRef_HardwareComponentProtype_context();
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.FaultFailurePort_hwTargetInstanceRefImpl <em>Fault Failure Port hw Target Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.FaultFailurePort_hwTargetInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getFaultFailurePort_hwTargetInstanceRef()
+ * @generated
+ */
+ EClass FAULT_FAILURE_PORT_HW_TARGET_INSTANCE_REF = eINSTANCE.getFaultFailurePort_hwTargetInstanceRef();
+ /**
+ * The meta object literal for the '<em><b>Hardware Port</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FAULT_FAILURE_PORT_HW_TARGET_INSTANCE_REF__HARDWARE_PORT = eINSTANCE.getFaultFailurePort_hwTargetInstanceRef_HardwarePort();
+ /**
+ * The meta object literal for the '<em><b>Hardware Component Protype</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FAULT_FAILURE_PORT_HW_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTYPE = eINSTANCE.getFaultFailurePort_hwTargetInstanceRef_HardwareComponentProtype();
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.FaultFailurePort_functionTargetInstanceRefImpl <em>Fault Failure Port function Target Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.FaultFailurePort_functionTargetInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getFaultFailurePort_functionTargetInstanceRef()
+ * @generated
+ */
+ EClass FAULT_FAILURE_PORT_FUNCTION_TARGET_INSTANCE_REF = eINSTANCE.getFaultFailurePort_functionTargetInstanceRef();
+ /**
+ * The meta object literal for the '<em><b>Function Port</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FAULT_FAILURE_PORT_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PORT = eINSTANCE.getFaultFailurePort_functionTargetInstanceRef_FunctionPort();
+ /**
+ * The meta object literal for the '<em><b>Function Prototype</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FAULT_FAILURE_PORT_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE = eINSTANCE.getFaultFailurePort_functionTargetInstanceRef_FunctionPrototype();
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.FaultFailurePropagationLink_fromPortInstanceRefImpl <em>Fault Failure Propagation Link from Port Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.FaultFailurePropagationLink_fromPortInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getFaultFailurePropagationLink_fromPortInstanceRef()
+ * @generated
+ */
+ EClass FAULT_FAILURE_PROPAGATION_LINK_FROM_PORT_INSTANCE_REF = eINSTANCE.getFaultFailurePropagationLink_fromPortInstanceRef();
+ /**
+ * The meta object literal for the '<em><b>Fault Fairelure Port</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FAULT_FAILURE_PROPAGATION_LINK_FROM_PORT_INSTANCE_REF__FAULT_FAIRELURE_PORT = eINSTANCE.getFaultFailurePropagationLink_fromPortInstanceRef_FaultFairelurePort();
+ /**
+ * The meta object literal for the '<em><b>Error Model Prototype</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FAULT_FAILURE_PROPAGATION_LINK_FROM_PORT_INSTANCE_REF__ERROR_MODEL_PROTOTYPE = eINSTANCE.getFaultFailurePropagationLink_fromPortInstanceRef_ErrorModelPrototype();
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.FaultFailure_anomalyInstanceRefImpl <em>Fault Failure anomaly Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.FaultFailure_anomalyInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getFaultFailure_anomalyInstanceRef()
+ * @generated
+ */
+ EClass FAULT_FAILURE_ANOMALY_INSTANCE_REF = eINSTANCE.getFaultFailure_anomalyInstanceRef();
+ /**
+ * The meta object literal for the '<em><b>Anomaly</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FAULT_FAILURE_ANOMALY_INSTANCE_REF__ANOMALY = eINSTANCE.getFaultFailure_anomalyInstanceRef_Anomaly();
+ /**
+ * The meta object literal for the '<em><b>Error Model Prototype</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FAULT_FAILURE_ANOMALY_INSTANCE_REF__ERROR_MODEL_PROTOTYPE = eINSTANCE.getFaultFailure_anomalyInstanceRef_ErrorModelPrototype();
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.FaultFailurePropagationLink_toPortInstanceRefImpl <em>Fault Failure Propagation Link to Port Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.FaultFailurePropagationLink_toPortInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getFaultFailurePropagationLink_toPortInstanceRef()
+ * @generated
+ */
+ EClass FAULT_FAILURE_PROPAGATION_LINK_TO_PORT_INSTANCE_REF = eINSTANCE.getFaultFailurePropagationLink_toPortInstanceRef();
+ /**
+ * The meta object literal for the '<em><b>Fault Fairelure Port</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FAULT_FAILURE_PROPAGATION_LINK_TO_PORT_INSTANCE_REF__FAULT_FAIRELURE_PORT = eINSTANCE.getFaultFailurePropagationLink_toPortInstanceRef_FaultFairelurePort();
+ /**
+ * The meta object literal for the '<em><b>Error Model Prototype</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FAULT_FAILURE_PROPAGATION_LINK_TO_PORT_INSTANCE_REF__ERROR_MODEL_PROTOTYPE = eINSTANCE.getFaultFailurePropagationLink_toPortInstanceRef_ErrorModelPrototype();
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRefImpl <em>Behavior Constraint Internal Binding through Function Connector Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getBehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef()
+ * @generated
+ */
+ EClass BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_FUNCTION_CONNECTOR_INSTANCE_REF = eINSTANCE.getBehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef();
+ /**
+ * The meta object literal for the '<em><b>Function Connector</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_FUNCTION_CONNECTOR_INSTANCE_REF__FUNCTION_CONNECTOR = eINSTANCE.getBehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef_FunctionConnector();
+ /**
+ * The meta object literal for the '<em><b>Function Prototype</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_FUNCTION_CONNECTOR_INSTANCE_REF__FUNCTION_PROTOTYPE = eINSTANCE.getBehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef_FunctionPrototype();
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRefImpl <em>Behavior Constraint Internal Binding through Hardware Connector Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getBehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef()
+ * @generated
+ */
+ EClass BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_HARDWARE_CONNECTOR_INSTANCE_REF = eINSTANCE.getBehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef();
+ /**
+ * The meta object literal for the '<em><b>Hardware Connector</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_CONNECTOR = eINSTANCE.getBehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef_HardwareConnector();
+ /**
+ * The meta object literal for the '<em><b>Hardware Component Prototype</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE = eINSTANCE.getBehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef_HardwareComponentPrototype();
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.BehaviorConstraintPrototype_functionTargetInstanceRefImpl <em>Behavior Constraint Prototype function Target Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.BehaviorConstraintPrototype_functionTargetInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getBehaviorConstraintPrototype_functionTargetInstanceRef()
+ * @generated
+ */
+ EClass BEHAVIOR_CONSTRAINT_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF = eINSTANCE.getBehaviorConstraintPrototype_functionTargetInstanceRef();
+ /**
+ * The meta object literal for the '<em><b>Function Prototype target</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference BEHAVIOR_CONSTRAINT_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE_TARGET = eINSTANCE.getBehaviorConstraintPrototype_functionTargetInstanceRef_FunctionPrototype_target();
+ /**
+ * The meta object literal for the '<em><b>Function Prototype context</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference BEHAVIOR_CONSTRAINT_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT = eINSTANCE.getBehaviorConstraintPrototype_functionTargetInstanceRef_FunctionPrototype_context();
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.BehaviorConstraintPrototype_hardwareComponentTargetInstanceRefImpl <em>Behavior Constraint Prototype hardware Component Target Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.BehaviorConstraintPrototype_hardwareComponentTargetInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getBehaviorConstraintPrototype_hardwareComponentTargetInstanceRef()
+ * @generated
+ */
+ EClass BEHAVIOR_CONSTRAINT_PROTOTYPE_HARDWARE_COMPONENT_TARGET_INSTANCE_REF = eINSTANCE.getBehaviorConstraintPrototype_hardwareComponentTargetInstanceRef();
+ /**
+ * The meta object literal for the '<em><b>Hardware Component Protype target</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference BEHAVIOR_CONSTRAINT_PROTOTYPE_HARDWARE_COMPONENT_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTYPE_TARGET = eINSTANCE.getBehaviorConstraintPrototype_hardwareComponentTargetInstanceRef_HardwareComponentProtype_target();
+ /**
+ * The meta object literal for the '<em><b>Hardware Component Prototype context</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference BEHAVIOR_CONSTRAINT_PROTOTYPE_HARDWARE_COMPONENT_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE_CONTEXT = eINSTANCE.getBehaviorConstraintPrototype_hardwareComponentTargetInstanceRef_HardwareComponentPrototype_context();
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.BehaviorConstraintPrototype_errorModelTargetInstanceRefImpl <em>Behavior Constraint Prototype error Model Target Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.BehaviorConstraintPrototype_errorModelTargetInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getBehaviorConstraintPrototype_errorModelTargetInstanceRef()
+ * @generated
+ */
+ EClass BEHAVIOR_CONSTRAINT_PROTOTYPE_ERROR_MODEL_TARGET_INSTANCE_REF = eINSTANCE.getBehaviorConstraintPrototype_errorModelTargetInstanceRef();
+ /**
+ * The meta object literal for the '<em><b>Error Model Prototype target</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference BEHAVIOR_CONSTRAINT_PROTOTYPE_ERROR_MODEL_TARGET_INSTANCE_REF__ERROR_MODEL_PROTOTYPE_TARGET = eINSTANCE.getBehaviorConstraintPrototype_errorModelTargetInstanceRef_ErrorModelPrototype_target();
+ /**
+ * The meta object literal for the '<em><b>Error Model Prototype context</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference BEHAVIOR_CONSTRAINT_PROTOTYPE_ERROR_MODEL_TARGET_INSTANCE_REF__ERROR_MODEL_PROTOTYPE_CONTEXT = eINSTANCE.getBehaviorConstraintPrototype_errorModelTargetInstanceRef_ErrorModelPrototype_context();
/**
* The meta object literal for the '<em>Dummy</em>' data type.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see java.lang.String
* @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getDummy()
* @generated
@@ -77,7 +755,6 @@ public interface InfrastructurePackage extends EPackage {
* The package name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
String eNAME = "infrastructure";
@@ -86,7 +763,6 @@ public interface InfrastructurePackage extends EPackage {
* The package namespace URI.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
String eNS_URI = "http://www.papyrusuml.org/EAST-ADL2/Infrastructure/1";
@@ -95,7 +771,6 @@ public interface InfrastructurePackage extends EPackage {
* The package namespace name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
String eNS_PREFIX = "Infrastructure";
@@ -104,27 +779,2344 @@ public interface InfrastructurePackage extends EPackage {
* The singleton instance of the package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
InfrastructurePackage eINSTANCE = org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl.init();
/**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.InstanceRefImpl <em>Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getInstanceRef()
+ * @generated
+ */
+ int INSTANCE_REF = 0;
+
+ /**
+ * The number of structural features of the '<em>Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INSTANCE_REF_FEATURE_COUNT = 0;
+
+ /**
+ * The number of operations of the '<em>Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INSTANCE_REF_OPERATION_COUNT = 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.TargetInstanceRefImpl <em>Target Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.TargetInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getTargetInstanceRef()
+ * @generated
+ */
+ int TARGET_INSTANCE_REF = 1;
+
+ /**
+ * The feature id for the '<em><b>Allocation Target</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TARGET_INSTANCE_REF__ALLOCATION_TARGET = INSTANCE_REF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Allocation Target context</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TARGET_INSTANCE_REF__ALLOCATION_TARGET_CONTEXT = INSTANCE_REF_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Int Attribute</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TARGET_INSTANCE_REF__INT_ATTRIBUTE = INSTANCE_REF_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>Target Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TARGET_INSTANCE_REF_FEATURE_COUNT = INSTANCE_REF_FEATURE_COUNT + 3;
+
+ /**
+ * The number of operations of the '<em>Target Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TARGET_INSTANCE_REF_OPERATION_COUNT = INSTANCE_REF_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.FunctionConnectorPortInstanceRefImpl <em>Function Connector Port Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.FunctionConnectorPortInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getFunctionConnectorPortInstanceRef()
+ * @generated
+ */
+ int FUNCTION_CONNECTOR_PORT_INSTANCE_REF = 2;
+
+ /**
+ * The feature id for the '<em><b>Function Port</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FUNCTION_CONNECTOR_PORT_INSTANCE_REF__FUNCTION_PORT = INSTANCE_REF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Function Prototype</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FUNCTION_CONNECTOR_PORT_INSTANCE_REF__FUNCTION_PROTOTYPE = INSTANCE_REF_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Function Connector Port Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FUNCTION_CONNECTOR_PORT_INSTANCE_REF_FEATURE_COUNT = INSTANCE_REF_FEATURE_COUNT + 2;
+
+ /**
+ * The number of operations of the '<em>Function Connector Port Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FUNCTION_CONNECTOR_PORT_INSTANCE_REF_OPERATION_COUNT = INSTANCE_REF_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.HardwareConnectorInstanceRefImpl <em>Hardware Connector Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.HardwareConnectorInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getHardwareConnectorInstanceRef()
+ * @generated
+ */
+ int HARDWARE_CONNECTOR_INSTANCE_REF = 3;
+
+ /**
+ * The feature id for the '<em><b>Hardware Pin</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_PIN = INSTANCE_REF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Hardware Component Prototype</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE = INSTANCE_REF_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Hardware Connector Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int HARDWARE_CONNECTOR_INSTANCE_REF_FEATURE_COUNT = INSTANCE_REF_FEATURE_COUNT + 2;
+
+ /**
+ * The number of operations of the '<em>Hardware Connector Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int HARDWARE_CONNECTOR_INSTANCE_REF_OPERATION_COUNT = INSTANCE_REF_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.HardwarePortConnectorInstanceRefImpl <em>Hardware Port Connector Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.HardwarePortConnectorInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getHardwarePortConnectorInstanceRef()
+ * @generated
+ */
+ int HARDWARE_PORT_CONNECTOR_INSTANCE_REF = 4;
+
+ /**
+ * The feature id for the '<em><b>Hardware Port</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int HARDWARE_PORT_CONNECTOR_INSTANCE_REF__HARDWARE_PORT = INSTANCE_REF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Hardware Component Prototype</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int HARDWARE_PORT_CONNECTOR_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE = INSTANCE_REF_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Hardware Port Connector Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int HARDWARE_PORT_CONNECTOR_INSTANCE_REF_FEATURE_COUNT = INSTANCE_REF_FEATURE_COUNT + 2;
+
+ /**
+ * The number of operations of the '<em>Hardware Port Connector Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int HARDWARE_PORT_CONNECTOR_INSTANCE_REF_OPERATION_COUNT = INSTANCE_REF_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.AllocatedElementInstanceRefImpl <em>Allocated Element Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.AllocatedElementInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getAllocatedElementInstanceRef()
+ * @generated
+ */
+ int ALLOCATED_ELEMENT_INSTANCE_REF = 5;
+
+ /**
+ * The feature id for the '<em><b>Allocateable Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ALLOCATED_ELEMENT_INSTANCE_REF__ALLOCATEABLE_ELEMENT = INSTANCE_REF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Allocateable Element context</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ALLOCATED_ELEMENT_INSTANCE_REF__ALLOCATEABLE_ELEMENT_CONTEXT = INSTANCE_REF_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Allocated Element Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ALLOCATED_ELEMENT_INSTANCE_REF_FEATURE_COUNT = INSTANCE_REF_FEATURE_COUNT + 2;
+
+ /**
+ * The number of operations of the '<em>Allocated Element Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ALLOCATED_ELEMENT_INSTANCE_REF_OPERATION_COUNT = INSTANCE_REF_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.ClampConnectorInstanceRefImpl <em>Clamp Connector Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.ClampConnectorInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getClampConnectorInstanceRef()
+ * @generated
+ */
+ int CLAMP_CONNECTOR_INSTANCE_REF = 6;
+
+ /**
+ * The feature id for the '<em><b>Function Port</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CLAMP_CONNECTOR_INSTANCE_REF__FUNCTION_PORT = INSTANCE_REF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Function Prototype</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CLAMP_CONNECTOR_INSTANCE_REF__FUNCTION_PROTOTYPE = INSTANCE_REF_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Clamp Connector Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CLAMP_CONNECTOR_INSTANCE_REF_FEATURE_COUNT = INSTANCE_REF_FEATURE_COUNT + 2;
+
+ /**
+ * The number of operations of the '<em>Clamp Connector Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CLAMP_CONNECTOR_INSTANCE_REF_OPERATION_COUNT = INSTANCE_REF_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.RefineInstanceRefImpl <em>Refine Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.RefineInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getRefineInstanceRef()
+ * @generated
+ */
+ int REFINE_INSTANCE_REF = 7;
+
+ /**
+ * The feature id for the '<em><b>Identifiable target</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int REFINE_INSTANCE_REF__IDENTIFIABLE_TARGET = INSTANCE_REF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Identifiable context</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int REFINE_INSTANCE_REF__IDENTIFIABLE_CONTEXT = INSTANCE_REF_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Refine Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int REFINE_INSTANCE_REF_FEATURE_COUNT = INSTANCE_REF_FEATURE_COUNT + 2;
+
+ /**
+ * The number of operations of the '<em>Refine Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int REFINE_INSTANCE_REF_OPERATION_COUNT = INSTANCE_REF_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.SatisfyInstanceRefImpl <em>Satisfy Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.SatisfyInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getSatisfyInstanceRef()
+ * @generated
+ */
+ int SATISFY_INSTANCE_REF = 8;
+
+ /**
+ * The feature id for the '<em><b>Identifiable target</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SATISFY_INSTANCE_REF__IDENTIFIABLE_TARGET = INSTANCE_REF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Identifiable context</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SATISFY_INSTANCE_REF__IDENTIFIABLE_CONTEXT = INSTANCE_REF_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Satisfy Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SATISFY_INSTANCE_REF_FEATURE_COUNT = INSTANCE_REF_FEATURE_COUNT + 2;
+
+ /**
+ * The number of operations of the '<em>Satisfy Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SATISFY_INSTANCE_REF_OPERATION_COUNT = INSTANCE_REF_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.VVCaseInstanceRefImpl <em>VV Case Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.VVCaseInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getVVCaseInstanceRef()
+ * @generated
+ */
+ int VV_CASE_INSTANCE_REF = 9;
+
+ /**
+ * The feature id for the '<em><b>Identifiable target</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int VV_CASE_INSTANCE_REF__IDENTIFIABLE_TARGET = INSTANCE_REF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Identifiable context</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int VV_CASE_INSTANCE_REF__IDENTIFIABLE_CONTEXT = INSTANCE_REF_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>VV Case Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int VV_CASE_INSTANCE_REF_FEATURE_COUNT = INSTANCE_REF_FEATURE_COUNT + 2;
+
+ /**
+ * The number of operations of the '<em>VV Case Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int VV_CASE_INSTANCE_REF_OPERATION_COUNT = INSTANCE_REF_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.VVTargetInstanceRefImpl <em>VV Target Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.VVTargetInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getVVTargetInstanceRef()
+ * @generated
+ */
+ int VV_TARGET_INSTANCE_REF = 10;
+
+ /**
+ * The feature id for the '<em><b>Identifiable target</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int VV_TARGET_INSTANCE_REF__IDENTIFIABLE_TARGET = INSTANCE_REF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Identifiable context</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int VV_TARGET_INSTANCE_REF__IDENTIFIABLE_CONTEXT = INSTANCE_REF_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>VV Target Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int VV_TARGET_INSTANCE_REF_FEATURE_COUNT = INSTANCE_REF_FEATURE_COUNT + 2;
+
+ /**
+ * The number of operations of the '<em>VV Target Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int VV_TARGET_INSTANCE_REF_OPERATION_COUNT = INSTANCE_REF_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.Realization_realizedInstanceRefImpl <em>Realization realized Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.Realization_realizedInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getRealization_realizedInstanceRef()
+ * @generated
+ */
+ int REALIZATION_REALIZED_INSTANCE_REF = 11;
+
+ /**
+ * The feature id for the '<em><b>Identifiable target</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int REALIZATION_REALIZED_INSTANCE_REF__IDENTIFIABLE_TARGET = INSTANCE_REF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Identifiable context</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int REALIZATION_REALIZED_INSTANCE_REF__IDENTIFIABLE_CONTEXT = INSTANCE_REF_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Realization realized Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int REALIZATION_REALIZED_INSTANCE_REF_FEATURE_COUNT = INSTANCE_REF_FEATURE_COUNT + 2;
+
+ /**
+ * The number of operations of the '<em>Realization realized Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int REALIZATION_REALIZED_INSTANCE_REF_OPERATION_COUNT = INSTANCE_REF_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.Realization_realizedByInstanceRefImpl <em>Realization realized By Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.Realization_realizedByInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getRealization_realizedByInstanceRef()
+ * @generated
+ */
+ int REALIZATION_REALIZED_BY_INSTANCE_REF = 12;
+
+ /**
+ * The feature id for the '<em><b>Identifiable target</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int REALIZATION_REALIZED_BY_INSTANCE_REF__IDENTIFIABLE_TARGET = INSTANCE_REF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Identifiable context</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int REALIZATION_REALIZED_BY_INSTANCE_REF__IDENTIFIABLE_CONTEXT = INSTANCE_REF_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Realization realized By Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int REALIZATION_REALIZED_BY_INSTANCE_REF_FEATURE_COUNT = INSTANCE_REF_FEATURE_COUNT + 2;
+
+ /**
+ * The number of operations of the '<em>Realization realized By Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int REALIZATION_REALIZED_BY_INSTANCE_REF_OPERATION_COUNT = INSTANCE_REF_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.EventFunctionInstanceRefImpl <em>Event Function Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.EventFunctionInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getEventFunctionInstanceRef()
+ * @generated
+ */
+ int EVENT_FUNCTION_INSTANCE_REF = 13;
+
+ /**
+ * The feature id for the '<em><b>Function Prototype target</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT_FUNCTION_INSTANCE_REF__FUNCTION_PROTOTYPE_TARGET = INSTANCE_REF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Function Prototype context</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT_FUNCTION_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT = INSTANCE_REF_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Event Function Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT_FUNCTION_INSTANCE_REF_FEATURE_COUNT = INSTANCE_REF_FEATURE_COUNT + 2;
+
+ /**
+ * The number of operations of the '<em>Event Function Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT_FUNCTION_INSTANCE_REF_OPERATION_COUNT = INSTANCE_REF_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.EventFunctionClientServerPortInstanceRefImpl <em>Event Function Client Server Port Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.EventFunctionClientServerPortInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getEventFunctionClientServerPortInstanceRef()
+ * @generated
+ */
+ int EVENT_FUNCTION_CLIENT_SERVER_PORT_INSTANCE_REF = 14;
+
+ /**
+ * The feature id for the '<em><b>Function Client Server Port</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT_FUNCTION_CLIENT_SERVER_PORT_INSTANCE_REF__FUNCTION_CLIENT_SERVER_PORT = INSTANCE_REF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Function Prototype</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT_FUNCTION_CLIENT_SERVER_PORT_INSTANCE_REF__FUNCTION_PROTOTYPE = INSTANCE_REF_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Event Function Client Server Port Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT_FUNCTION_CLIENT_SERVER_PORT_INSTANCE_REF_FEATURE_COUNT = INSTANCE_REF_FEATURE_COUNT + 2;
+
+ /**
+ * The number of operations of the '<em>Event Function Client Server Port Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT_FUNCTION_CLIENT_SERVER_PORT_INSTANCE_REF_OPERATION_COUNT = INSTANCE_REF_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.EventFunctionFlowPortInstanceRefImpl <em>Event Function Flow Port Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.EventFunctionFlowPortInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getEventFunctionFlowPortInstanceRef()
+ * @generated
+ */
+ int EVENT_FUNCTION_FLOW_PORT_INSTANCE_REF = 15;
+
+ /**
+ * The feature id for the '<em><b>Function Flow Port</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT_FUNCTION_FLOW_PORT_INSTANCE_REF__FUNCTION_FLOW_PORT = INSTANCE_REF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Function Prototype</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT_FUNCTION_FLOW_PORT_INSTANCE_REF__FUNCTION_PROTOTYPE = INSTANCE_REF_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Event Function Flow Port Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT_FUNCTION_FLOW_PORT_INSTANCE_REF_FEATURE_COUNT = INSTANCE_REF_FEATURE_COUNT + 2;
+
+ /**
+ * The number of operations of the '<em>Event Function Flow Port Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EVENT_FUNCTION_FLOW_PORT_INSTANCE_REF_OPERATION_COUNT = INSTANCE_REF_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.PrecedenceConstraint_precedingInstanceRefImpl <em>Precedence Constraint preceding Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.PrecedenceConstraint_precedingInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getPrecedenceConstraint_precedingInstanceRef()
+ * @generated
+ */
+ int PRECEDENCE_CONSTRAINT_PRECEDING_INSTANCE_REF = 16;
+
+ /**
+ * The feature id for the '<em><b>Function Prototype target</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PRECEDENCE_CONSTRAINT_PRECEDING_INSTANCE_REF__FUNCTION_PROTOTYPE_TARGET = INSTANCE_REF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Function Prototype context</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PRECEDENCE_CONSTRAINT_PRECEDING_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT = INSTANCE_REF_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Precedence Constraint preceding Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PRECEDENCE_CONSTRAINT_PRECEDING_INSTANCE_REF_FEATURE_COUNT = INSTANCE_REF_FEATURE_COUNT + 2;
+
+ /**
+ * The number of operations of the '<em>Precedence Constraint preceding Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PRECEDENCE_CONSTRAINT_PRECEDING_INSTANCE_REF_OPERATION_COUNT = INSTANCE_REF_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.PrecedenceConstraint_successiveInstanceRefImpl <em>Precedence Constraint successive Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.PrecedenceConstraint_successiveInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getPrecedenceConstraint_successiveInstanceRef()
+ * @generated
+ */
+ int PRECEDENCE_CONSTRAINT_SUCCESSIVE_INSTANCE_REF = 17;
+
+ /**
+ * The feature id for the '<em><b>Function Prototype target</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PRECEDENCE_CONSTRAINT_SUCCESSIVE_INSTANCE_REF__FUNCTION_PROTOTYPE_TARGET = INSTANCE_REF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Function Prototype context</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PRECEDENCE_CONSTRAINT_SUCCESSIVE_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT = INSTANCE_REF_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Precedence Constraint successive Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PRECEDENCE_CONSTRAINT_SUCCESSIVE_INSTANCE_REF_FEATURE_COUNT = INSTANCE_REF_FEATURE_COUNT + 2;
+
+ /**
+ * The number of operations of the '<em>Precedence Constraint successive Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PRECEDENCE_CONSTRAINT_SUCCESSIVE_INSTANCE_REF_OPERATION_COUNT = INSTANCE_REF_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.ErrorModelPrototype_functionTargetInstanceRefImpl <em>Error Model Prototype function Target Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.ErrorModelPrototype_functionTargetInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getErrorModelPrototype_functionTargetInstanceRef()
+ * @generated
+ */
+ int ERROR_MODEL_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF = 18;
+
+ /**
+ * The feature id for the '<em><b>Function Prototype</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ERROR_MODEL_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE = INSTANCE_REF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Function Prototype context</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ERROR_MODEL_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT = INSTANCE_REF_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Error Model Prototype function Target Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ERROR_MODEL_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF_FEATURE_COUNT = INSTANCE_REF_FEATURE_COUNT + 2;
+
+ /**
+ * The number of operations of the '<em>Error Model Prototype function Target Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ERROR_MODEL_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF_OPERATION_COUNT = INSTANCE_REF_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.ErrorModelPrototype_hwTargetInstanceRefImpl <em>Error Model Prototype hw Target Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.ErrorModelPrototype_hwTargetInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getErrorModelPrototype_hwTargetInstanceRef()
+ * @generated
+ */
+ int ERROR_MODEL_PROTOTYPE_HW_TARGET_INSTANCE_REF = 19;
+
+ /**
+ * The feature id for the '<em><b>Hardware Component Protype</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ERROR_MODEL_PROTOTYPE_HW_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTYPE = INSTANCE_REF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Hardware Component Protype context</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ERROR_MODEL_PROTOTYPE_HW_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTYPE_CONTEXT = INSTANCE_REF_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Error Model Prototype hw Target Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ERROR_MODEL_PROTOTYPE_HW_TARGET_INSTANCE_REF_FEATURE_COUNT = INSTANCE_REF_FEATURE_COUNT + 2;
+
+ /**
+ * The number of operations of the '<em>Error Model Prototype hw Target Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ERROR_MODEL_PROTOTYPE_HW_TARGET_INSTANCE_REF_OPERATION_COUNT = INSTANCE_REF_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.FaultFailurePort_hwTargetInstanceRefImpl <em>Fault Failure Port hw Target Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.FaultFailurePort_hwTargetInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getFaultFailurePort_hwTargetInstanceRef()
+ * @generated
+ */
+ int FAULT_FAILURE_PORT_HW_TARGET_INSTANCE_REF = 20;
+
+ /**
+ * The feature id for the '<em><b>Hardware Port</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FAULT_FAILURE_PORT_HW_TARGET_INSTANCE_REF__HARDWARE_PORT = INSTANCE_REF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Hardware Component Protype</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FAULT_FAILURE_PORT_HW_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTYPE = INSTANCE_REF_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Fault Failure Port hw Target Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FAULT_FAILURE_PORT_HW_TARGET_INSTANCE_REF_FEATURE_COUNT = INSTANCE_REF_FEATURE_COUNT + 2;
+
+ /**
+ * The number of operations of the '<em>Fault Failure Port hw Target Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FAULT_FAILURE_PORT_HW_TARGET_INSTANCE_REF_OPERATION_COUNT = INSTANCE_REF_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.FaultFailurePort_functionTargetInstanceRefImpl <em>Fault Failure Port function Target Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.FaultFailurePort_functionTargetInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getFaultFailurePort_functionTargetInstanceRef()
+ * @generated
+ */
+ int FAULT_FAILURE_PORT_FUNCTION_TARGET_INSTANCE_REF = 21;
+
+ /**
+ * The feature id for the '<em><b>Function Port</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FAULT_FAILURE_PORT_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PORT = INSTANCE_REF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Function Prototype</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FAULT_FAILURE_PORT_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE = INSTANCE_REF_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Fault Failure Port function Target Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FAULT_FAILURE_PORT_FUNCTION_TARGET_INSTANCE_REF_FEATURE_COUNT = INSTANCE_REF_FEATURE_COUNT + 2;
+
+ /**
+ * The number of operations of the '<em>Fault Failure Port function Target Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FAULT_FAILURE_PORT_FUNCTION_TARGET_INSTANCE_REF_OPERATION_COUNT = INSTANCE_REF_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.FaultFailurePropagationLink_fromPortInstanceRefImpl <em>Fault Failure Propagation Link from Port Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.FaultFailurePropagationLink_fromPortInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getFaultFailurePropagationLink_fromPortInstanceRef()
+ * @generated
+ */
+ int FAULT_FAILURE_PROPAGATION_LINK_FROM_PORT_INSTANCE_REF = 22;
+
+ /**
+ * The feature id for the '<em><b>Fault Fairelure Port</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FAULT_FAILURE_PROPAGATION_LINK_FROM_PORT_INSTANCE_REF__FAULT_FAIRELURE_PORT = INSTANCE_REF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Error Model Prototype</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FAULT_FAILURE_PROPAGATION_LINK_FROM_PORT_INSTANCE_REF__ERROR_MODEL_PROTOTYPE = INSTANCE_REF_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Fault Failure Propagation Link from Port Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FAULT_FAILURE_PROPAGATION_LINK_FROM_PORT_INSTANCE_REF_FEATURE_COUNT = INSTANCE_REF_FEATURE_COUNT + 2;
+
+ /**
+ * The number of operations of the '<em>Fault Failure Propagation Link from Port Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FAULT_FAILURE_PROPAGATION_LINK_FROM_PORT_INSTANCE_REF_OPERATION_COUNT = INSTANCE_REF_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.FaultFailure_anomalyInstanceRefImpl <em>Fault Failure anomaly Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.FaultFailure_anomalyInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getFaultFailure_anomalyInstanceRef()
+ * @generated
+ */
+ int FAULT_FAILURE_ANOMALY_INSTANCE_REF = 23;
+
+ /**
+ * The feature id for the '<em><b>Anomaly</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FAULT_FAILURE_ANOMALY_INSTANCE_REF__ANOMALY = INSTANCE_REF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Error Model Prototype</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FAULT_FAILURE_ANOMALY_INSTANCE_REF__ERROR_MODEL_PROTOTYPE = INSTANCE_REF_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Fault Failure anomaly Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FAULT_FAILURE_ANOMALY_INSTANCE_REF_FEATURE_COUNT = INSTANCE_REF_FEATURE_COUNT + 2;
+
+ /**
+ * The number of operations of the '<em>Fault Failure anomaly Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FAULT_FAILURE_ANOMALY_INSTANCE_REF_OPERATION_COUNT = INSTANCE_REF_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.FaultFailurePropagationLink_toPortInstanceRefImpl <em>Fault Failure Propagation Link to Port Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.FaultFailurePropagationLink_toPortInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getFaultFailurePropagationLink_toPortInstanceRef()
+ * @generated
+ */
+ int FAULT_FAILURE_PROPAGATION_LINK_TO_PORT_INSTANCE_REF = 24;
+
+ /**
+ * The feature id for the '<em><b>Fault Fairelure Port</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FAULT_FAILURE_PROPAGATION_LINK_TO_PORT_INSTANCE_REF__FAULT_FAIRELURE_PORT = INSTANCE_REF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Error Model Prototype</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FAULT_FAILURE_PROPAGATION_LINK_TO_PORT_INSTANCE_REF__ERROR_MODEL_PROTOTYPE = INSTANCE_REF_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Fault Failure Propagation Link to Port Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FAULT_FAILURE_PROPAGATION_LINK_TO_PORT_INSTANCE_REF_FEATURE_COUNT = INSTANCE_REF_FEATURE_COUNT + 2;
+
+ /**
+ * The number of operations of the '<em>Fault Failure Propagation Link to Port Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FAULT_FAILURE_PROPAGATION_LINK_TO_PORT_INSTANCE_REF_OPERATION_COUNT = INSTANCE_REF_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRefImpl <em>Behavior Constraint Internal Binding through Function Connector Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getBehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef()
+ * @generated
+ */
+ int BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_FUNCTION_CONNECTOR_INSTANCE_REF = 25;
+
+ /**
+ * The feature id for the '<em><b>Function Connector</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_FUNCTION_CONNECTOR_INSTANCE_REF__FUNCTION_CONNECTOR = INSTANCE_REF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Function Prototype</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_FUNCTION_CONNECTOR_INSTANCE_REF__FUNCTION_PROTOTYPE = INSTANCE_REF_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Behavior Constraint Internal Binding through Function Connector Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_FUNCTION_CONNECTOR_INSTANCE_REF_FEATURE_COUNT = INSTANCE_REF_FEATURE_COUNT + 2;
+
+ /**
+ * The number of operations of the '<em>Behavior Constraint Internal Binding through Function Connector Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_FUNCTION_CONNECTOR_INSTANCE_REF_OPERATION_COUNT = INSTANCE_REF_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRefImpl <em>Behavior Constraint Internal Binding through Hardware Connector Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getBehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef()
+ * @generated
+ */
+ int BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_HARDWARE_CONNECTOR_INSTANCE_REF = 26;
+
+ /**
+ * The feature id for the '<em><b>Hardware Connector</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_CONNECTOR = INSTANCE_REF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Hardware Component Prototype</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE = INSTANCE_REF_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Behavior Constraint Internal Binding through Hardware Connector Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_HARDWARE_CONNECTOR_INSTANCE_REF_FEATURE_COUNT = INSTANCE_REF_FEATURE_COUNT + 2;
+
+ /**
+ * The number of operations of the '<em>Behavior Constraint Internal Binding through Hardware Connector Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_HARDWARE_CONNECTOR_INSTANCE_REF_OPERATION_COUNT = INSTANCE_REF_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.BehaviorConstraintPrototype_functionTargetInstanceRefImpl <em>Behavior Constraint Prototype function Target Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.BehaviorConstraintPrototype_functionTargetInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getBehaviorConstraintPrototype_functionTargetInstanceRef()
+ * @generated
+ */
+ int BEHAVIOR_CONSTRAINT_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF = 27;
+
+ /**
+ * The feature id for the '<em><b>Function Prototype target</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BEHAVIOR_CONSTRAINT_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE_TARGET = INSTANCE_REF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Function Prototype context</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BEHAVIOR_CONSTRAINT_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT = INSTANCE_REF_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Behavior Constraint Prototype function Target Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BEHAVIOR_CONSTRAINT_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF_FEATURE_COUNT = INSTANCE_REF_FEATURE_COUNT + 2;
+
+ /**
+ * The number of operations of the '<em>Behavior Constraint Prototype function Target Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BEHAVIOR_CONSTRAINT_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF_OPERATION_COUNT = INSTANCE_REF_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.BehaviorConstraintPrototype_hardwareComponentTargetInstanceRefImpl <em>Behavior Constraint Prototype hardware Component Target Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.BehaviorConstraintPrototype_hardwareComponentTargetInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getBehaviorConstraintPrototype_hardwareComponentTargetInstanceRef()
+ * @generated
+ */
+ int BEHAVIOR_CONSTRAINT_PROTOTYPE_HARDWARE_COMPONENT_TARGET_INSTANCE_REF = 28;
+
+ /**
+ * The feature id for the '<em><b>Hardware Component Protype target</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BEHAVIOR_CONSTRAINT_PROTOTYPE_HARDWARE_COMPONENT_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTYPE_TARGET = INSTANCE_REF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Hardware Component Prototype context</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BEHAVIOR_CONSTRAINT_PROTOTYPE_HARDWARE_COMPONENT_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE_CONTEXT = INSTANCE_REF_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Behavior Constraint Prototype hardware Component Target Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BEHAVIOR_CONSTRAINT_PROTOTYPE_HARDWARE_COMPONENT_TARGET_INSTANCE_REF_FEATURE_COUNT = INSTANCE_REF_FEATURE_COUNT + 2;
+
+ /**
+ * The number of operations of the '<em>Behavior Constraint Prototype hardware Component Target Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BEHAVIOR_CONSTRAINT_PROTOTYPE_HARDWARE_COMPONENT_TARGET_INSTANCE_REF_OPERATION_COUNT = INSTANCE_REF_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.impl.BehaviorConstraintPrototype_errorModelTargetInstanceRefImpl <em>Behavior Constraint Prototype error Model Target Instance Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.BehaviorConstraintPrototype_errorModelTargetInstanceRefImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getBehaviorConstraintPrototype_errorModelTargetInstanceRef()
+ * @generated
+ */
+ int BEHAVIOR_CONSTRAINT_PROTOTYPE_ERROR_MODEL_TARGET_INSTANCE_REF = 29;
+
+ /**
+ * The feature id for the '<em><b>Error Model Prototype target</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BEHAVIOR_CONSTRAINT_PROTOTYPE_ERROR_MODEL_TARGET_INSTANCE_REF__ERROR_MODEL_PROTOTYPE_TARGET = INSTANCE_REF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Error Model Prototype context</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BEHAVIOR_CONSTRAINT_PROTOTYPE_ERROR_MODEL_TARGET_INSTANCE_REF__ERROR_MODEL_PROTOTYPE_CONTEXT = INSTANCE_REF_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Behavior Constraint Prototype error Model Target Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BEHAVIOR_CONSTRAINT_PROTOTYPE_ERROR_MODEL_TARGET_INSTANCE_REF_FEATURE_COUNT = INSTANCE_REF_FEATURE_COUNT + 2;
+
+ /**
+ * The number of operations of the '<em>Behavior Constraint Prototype error Model Target Instance Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BEHAVIOR_CONSTRAINT_PROTOTYPE_ERROR_MODEL_TARGET_INSTANCE_REF_OPERATION_COUNT = INSTANCE_REF_OPERATION_COUNT + 0;
+
+ /**
* The meta object id for the '<em>Dummy</em>' data type.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see java.lang.String
* @see org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl#getDummy()
* @generated
*/
- int DUMMY = 0;
+ int DUMMY = 30;
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.InstanceRef <em>Instance Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Instance Ref</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InstanceRef
+ * @generated
+ */
+ EClass getInstanceRef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.TargetInstanceRef <em>Target Instance Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Target Instance Ref</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.TargetInstanceRef
+ * @generated
+ */
+ EClass getTargetInstanceRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.TargetInstanceRef#getAllocationTarget <em>Allocation Target</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Allocation Target</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.TargetInstanceRef#getAllocationTarget()
+ * @see #getTargetInstanceRef()
+ * @generated
+ */
+ EReference getTargetInstanceRef_AllocationTarget();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.TargetInstanceRef#getAllocationTarget_context <em>Allocation Target context</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Allocation Target context</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.TargetInstanceRef#getAllocationTarget_context()
+ * @see #getTargetInstanceRef()
+ * @generated
+ */
+ EReference getTargetInstanceRef_AllocationTarget_context();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.TargetInstanceRef#getIntAttribute <em>Int Attribute</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Int Attribute</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.TargetInstanceRef#getIntAttribute()
+ * @see #getTargetInstanceRef()
+ * @generated
+ */
+ EAttribute getTargetInstanceRef_IntAttribute();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.FunctionConnectorPortInstanceRef <em>Function Connector Port Instance Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Function Connector Port Instance Ref</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.FunctionConnectorPortInstanceRef
+ * @generated
+ */
+ EClass getFunctionConnectorPortInstanceRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.FunctionConnectorPortInstanceRef#getFunctionPort <em>Function Port</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Function Port</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.FunctionConnectorPortInstanceRef#getFunctionPort()
+ * @see #getFunctionConnectorPortInstanceRef()
+ * @generated
+ */
+ EReference getFunctionConnectorPortInstanceRef_FunctionPort();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.FunctionConnectorPortInstanceRef#getFunctionPrototype <em>Function Prototype</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Function Prototype</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.FunctionConnectorPortInstanceRef#getFunctionPrototype()
+ * @see #getFunctionConnectorPortInstanceRef()
+ * @generated
+ */
+ EReference getFunctionConnectorPortInstanceRef_FunctionPrototype();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.HardwareConnectorInstanceRef <em>Hardware Connector Instance Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Hardware Connector Instance Ref</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.HardwareConnectorInstanceRef
+ * @generated
+ */
+ EClass getHardwareConnectorInstanceRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.HardwareConnectorInstanceRef#getHardwarePin <em>Hardware Pin</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Hardware Pin</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.HardwareConnectorInstanceRef#getHardwarePin()
+ * @see #getHardwareConnectorInstanceRef()
+ * @generated
+ */
+ EReference getHardwareConnectorInstanceRef_HardwarePin();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.HardwareConnectorInstanceRef#getHardwareComponentPrototype <em>Hardware Component Prototype</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Hardware Component Prototype</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.HardwareConnectorInstanceRef#getHardwareComponentPrototype()
+ * @see #getHardwareConnectorInstanceRef()
+ * @generated
+ */
+ EReference getHardwareConnectorInstanceRef_HardwareComponentPrototype();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.HardwarePortConnectorInstanceRef <em>Hardware Port Connector Instance Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Hardware Port Connector Instance Ref</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.HardwarePortConnectorInstanceRef
+ * @generated
+ */
+ EClass getHardwarePortConnectorInstanceRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.HardwarePortConnectorInstanceRef#getHardwarePort <em>Hardware Port</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Hardware Port</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.HardwarePortConnectorInstanceRef#getHardwarePort()
+ * @see #getHardwarePortConnectorInstanceRef()
+ * @generated
+ */
+ EReference getHardwarePortConnectorInstanceRef_HardwarePort();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.HardwarePortConnectorInstanceRef#getHardwareComponentPrototype <em>Hardware Component Prototype</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Hardware Component Prototype</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.HardwarePortConnectorInstanceRef#getHardwareComponentPrototype()
+ * @see #getHardwarePortConnectorInstanceRef()
+ * @generated
+ */
+ EReference getHardwarePortConnectorInstanceRef_HardwareComponentPrototype();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.AllocatedElementInstanceRef <em>Allocated Element Instance Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Allocated Element Instance Ref</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.AllocatedElementInstanceRef
+ * @generated
+ */
+ EClass getAllocatedElementInstanceRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.AllocatedElementInstanceRef#getAllocateableElement <em>Allocateable Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Allocateable Element</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.AllocatedElementInstanceRef#getAllocateableElement()
+ * @see #getAllocatedElementInstanceRef()
+ * @generated
+ */
+ EReference getAllocatedElementInstanceRef_AllocateableElement();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.AllocatedElementInstanceRef#getAllocateableElement_context <em>Allocateable Element context</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Allocateable Element context</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.AllocatedElementInstanceRef#getAllocateableElement_context()
+ * @see #getAllocatedElementInstanceRef()
+ * @generated
+ */
+ EReference getAllocatedElementInstanceRef_AllocateableElement_context();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.ClampConnectorInstanceRef <em>Clamp Connector Instance Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Clamp Connector Instance Ref</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.ClampConnectorInstanceRef
+ * @generated
+ */
+ EClass getClampConnectorInstanceRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.ClampConnectorInstanceRef#getFunctionPort <em>Function Port</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Function Port</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.ClampConnectorInstanceRef#getFunctionPort()
+ * @see #getClampConnectorInstanceRef()
+ * @generated
+ */
+ EReference getClampConnectorInstanceRef_FunctionPort();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.ClampConnectorInstanceRef#getFunctionPrototype <em>Function Prototype</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Function Prototype</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.ClampConnectorInstanceRef#getFunctionPrototype()
+ * @see #getClampConnectorInstanceRef()
+ * @generated
+ */
+ EReference getClampConnectorInstanceRef_FunctionPrototype();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.RefineInstanceRef <em>Refine Instance Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Refine Instance Ref</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.RefineInstanceRef
+ * @generated
+ */
+ EClass getRefineInstanceRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.RefineInstanceRef#getIdentifiable_target <em>Identifiable target</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Identifiable target</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.RefineInstanceRef#getIdentifiable_target()
+ * @see #getRefineInstanceRef()
+ * @generated
+ */
+ EReference getRefineInstanceRef_Identifiable_target();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.RefineInstanceRef#getIdentifiable_context <em>Identifiable context</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Identifiable context</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.RefineInstanceRef#getIdentifiable_context()
+ * @see #getRefineInstanceRef()
+ * @generated
+ */
+ EReference getRefineInstanceRef_Identifiable_context();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.SatisfyInstanceRef <em>Satisfy Instance Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Satisfy Instance Ref</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.SatisfyInstanceRef
+ * @generated
+ */
+ EClass getSatisfyInstanceRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.SatisfyInstanceRef#getIdentifiable_target <em>Identifiable target</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Identifiable target</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.SatisfyInstanceRef#getIdentifiable_target()
+ * @see #getSatisfyInstanceRef()
+ * @generated
+ */
+ EReference getSatisfyInstanceRef_Identifiable_target();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.SatisfyInstanceRef#getIdentifiable_context <em>Identifiable context</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Identifiable context</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.SatisfyInstanceRef#getIdentifiable_context()
+ * @see #getSatisfyInstanceRef()
+ * @generated
+ */
+ EReference getSatisfyInstanceRef_Identifiable_context();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.VVCaseInstanceRef <em>VV Case Instance Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>VV Case Instance Ref</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.VVCaseInstanceRef
+ * @generated
+ */
+ EClass getVVCaseInstanceRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.VVCaseInstanceRef#getIdentifiable_target <em>Identifiable target</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Identifiable target</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.VVCaseInstanceRef#getIdentifiable_target()
+ * @see #getVVCaseInstanceRef()
+ * @generated
+ */
+ EReference getVVCaseInstanceRef_Identifiable_target();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.VVCaseInstanceRef#getIdentifiable_context <em>Identifiable context</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Identifiable context</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.VVCaseInstanceRef#getIdentifiable_context()
+ * @see #getVVCaseInstanceRef()
+ * @generated
+ */
+ EReference getVVCaseInstanceRef_Identifiable_context();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.VVTargetInstanceRef <em>VV Target Instance Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>VV Target Instance Ref</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.VVTargetInstanceRef
+ * @generated
+ */
+ EClass getVVTargetInstanceRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.VVTargetInstanceRef#getIdentifiable_target <em>Identifiable target</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Identifiable target</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.VVTargetInstanceRef#getIdentifiable_target()
+ * @see #getVVTargetInstanceRef()
+ * @generated
+ */
+ EReference getVVTargetInstanceRef_Identifiable_target();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.VVTargetInstanceRef#getIdentifiable_context <em>Identifiable context</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Identifiable context</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.VVTargetInstanceRef#getIdentifiable_context()
+ * @see #getVVTargetInstanceRef()
+ * @generated
+ */
+ EReference getVVTargetInstanceRef_Identifiable_context();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.Realization_realizedInstanceRef <em>Realization realized Instance Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Realization realized Instance Ref</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.Realization_realizedInstanceRef
+ * @generated
+ */
+ EClass getRealization_realizedInstanceRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.Realization_realizedInstanceRef#getIdentifiable_target <em>Identifiable target</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Identifiable target</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.Realization_realizedInstanceRef#getIdentifiable_target()
+ * @see #getRealization_realizedInstanceRef()
+ * @generated
+ */
+ EReference getRealization_realizedInstanceRef_Identifiable_target();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.Realization_realizedInstanceRef#getIdentifiable_context <em>Identifiable context</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Identifiable context</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.Realization_realizedInstanceRef#getIdentifiable_context()
+ * @see #getRealization_realizedInstanceRef()
+ * @generated
+ */
+ EReference getRealization_realizedInstanceRef_Identifiable_context();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.Realization_realizedByInstanceRef <em>Realization realized By Instance Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Realization realized By Instance Ref</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.Realization_realizedByInstanceRef
+ * @generated
+ */
+ EClass getRealization_realizedByInstanceRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.Realization_realizedByInstanceRef#getIdentifiable_target <em>Identifiable target</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Identifiable target</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.Realization_realizedByInstanceRef#getIdentifiable_target()
+ * @see #getRealization_realizedByInstanceRef()
+ * @generated
+ */
+ EReference getRealization_realizedByInstanceRef_Identifiable_target();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.Realization_realizedByInstanceRef#getIdentifiable_context <em>Identifiable context</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Identifiable context</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.Realization_realizedByInstanceRef#getIdentifiable_context()
+ * @see #getRealization_realizedByInstanceRef()
+ * @generated
+ */
+ EReference getRealization_realizedByInstanceRef_Identifiable_context();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.EventFunctionInstanceRef <em>Event Function Instance Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Event Function Instance Ref</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.EventFunctionInstanceRef
+ * @generated
+ */
+ EClass getEventFunctionInstanceRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.EventFunctionInstanceRef#getFunctionPrototype_target <em>Function Prototype target</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Function Prototype target</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.EventFunctionInstanceRef#getFunctionPrototype_target()
+ * @see #getEventFunctionInstanceRef()
+ * @generated
+ */
+ EReference getEventFunctionInstanceRef_FunctionPrototype_target();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.EventFunctionInstanceRef#getFunctionPrototype_context <em>Function Prototype context</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Function Prototype context</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.EventFunctionInstanceRef#getFunctionPrototype_context()
+ * @see #getEventFunctionInstanceRef()
+ * @generated
+ */
+ EReference getEventFunctionInstanceRef_FunctionPrototype_context();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.EventFunctionClientServerPortInstanceRef <em>Event Function Client Server Port Instance Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Event Function Client Server Port Instance Ref</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.EventFunctionClientServerPortInstanceRef
+ * @generated
+ */
+ EClass getEventFunctionClientServerPortInstanceRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.EventFunctionClientServerPortInstanceRef#getFunctionClientServerPort <em>Function Client Server Port</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Function Client Server Port</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.EventFunctionClientServerPortInstanceRef#getFunctionClientServerPort()
+ * @see #getEventFunctionClientServerPortInstanceRef()
+ * @generated
+ */
+ EReference getEventFunctionClientServerPortInstanceRef_FunctionClientServerPort();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.EventFunctionClientServerPortInstanceRef#getFunctionPrototype <em>Function Prototype</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Function Prototype</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.EventFunctionClientServerPortInstanceRef#getFunctionPrototype()
+ * @see #getEventFunctionClientServerPortInstanceRef()
+ * @generated
+ */
+ EReference getEventFunctionClientServerPortInstanceRef_FunctionPrototype();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.EventFunctionFlowPortInstanceRef <em>Event Function Flow Port Instance Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Event Function Flow Port Instance Ref</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.EventFunctionFlowPortInstanceRef
+ * @generated
+ */
+ EClass getEventFunctionFlowPortInstanceRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.EventFunctionFlowPortInstanceRef#getFunctionFlowPort <em>Function Flow Port</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Function Flow Port</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.EventFunctionFlowPortInstanceRef#getFunctionFlowPort()
+ * @see #getEventFunctionFlowPortInstanceRef()
+ * @generated
+ */
+ EReference getEventFunctionFlowPortInstanceRef_FunctionFlowPort();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.EventFunctionFlowPortInstanceRef#getFunctionPrototype <em>Function Prototype</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Function Prototype</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.EventFunctionFlowPortInstanceRef#getFunctionPrototype()
+ * @see #getEventFunctionFlowPortInstanceRef()
+ * @generated
+ */
+ EReference getEventFunctionFlowPortInstanceRef_FunctionPrototype();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.PrecedenceConstraint_precedingInstanceRef <em>Precedence Constraint preceding Instance Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Precedence Constraint preceding Instance Ref</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.PrecedenceConstraint_precedingInstanceRef
+ * @generated
+ */
+ EClass getPrecedenceConstraint_precedingInstanceRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.PrecedenceConstraint_precedingInstanceRef#getFunctionPrototype_target <em>Function Prototype target</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Function Prototype target</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.PrecedenceConstraint_precedingInstanceRef#getFunctionPrototype_target()
+ * @see #getPrecedenceConstraint_precedingInstanceRef()
+ * @generated
+ */
+ EReference getPrecedenceConstraint_precedingInstanceRef_FunctionPrototype_target();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.PrecedenceConstraint_precedingInstanceRef#getFunctionPrototype_context <em>Function Prototype context</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Function Prototype context</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.PrecedenceConstraint_precedingInstanceRef#getFunctionPrototype_context()
+ * @see #getPrecedenceConstraint_precedingInstanceRef()
+ * @generated
+ */
+ EReference getPrecedenceConstraint_precedingInstanceRef_FunctionPrototype_context();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.PrecedenceConstraint_successiveInstanceRef <em>Precedence Constraint successive Instance Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Precedence Constraint successive Instance Ref</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.PrecedenceConstraint_successiveInstanceRef
+ * @generated
+ */
+ EClass getPrecedenceConstraint_successiveInstanceRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.PrecedenceConstraint_successiveInstanceRef#getFunctionPrototype_target <em>Function Prototype target</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Function Prototype target</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.PrecedenceConstraint_successiveInstanceRef#getFunctionPrototype_target()
+ * @see #getPrecedenceConstraint_successiveInstanceRef()
+ * @generated
+ */
+ EReference getPrecedenceConstraint_successiveInstanceRef_FunctionPrototype_target();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.PrecedenceConstraint_successiveInstanceRef#getFunctionPrototype_context <em>Function Prototype context</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Function Prototype context</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.PrecedenceConstraint_successiveInstanceRef#getFunctionPrototype_context()
+ * @see #getPrecedenceConstraint_successiveInstanceRef()
+ * @generated
+ */
+ EReference getPrecedenceConstraint_successiveInstanceRef_FunctionPrototype_context();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.ErrorModelPrototype_functionTargetInstanceRef <em>Error Model Prototype function Target Instance Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Error Model Prototype function Target Instance Ref</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.ErrorModelPrototype_functionTargetInstanceRef
+ * @generated
+ */
+ EClass getErrorModelPrototype_functionTargetInstanceRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.ErrorModelPrototype_functionTargetInstanceRef#getFunctionPrototype <em>Function Prototype</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Function Prototype</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.ErrorModelPrototype_functionTargetInstanceRef#getFunctionPrototype()
+ * @see #getErrorModelPrototype_functionTargetInstanceRef()
+ * @generated
+ */
+ EReference getErrorModelPrototype_functionTargetInstanceRef_FunctionPrototype();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.ErrorModelPrototype_functionTargetInstanceRef#getFunctionPrototype_context <em>Function Prototype context</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Function Prototype context</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.ErrorModelPrototype_functionTargetInstanceRef#getFunctionPrototype_context()
+ * @see #getErrorModelPrototype_functionTargetInstanceRef()
+ * @generated
+ */
+ EReference getErrorModelPrototype_functionTargetInstanceRef_FunctionPrototype_context();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.ErrorModelPrototype_hwTargetInstanceRef <em>Error Model Prototype hw Target Instance Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Error Model Prototype hw Target Instance Ref</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.ErrorModelPrototype_hwTargetInstanceRef
+ * @generated
+ */
+ EClass getErrorModelPrototype_hwTargetInstanceRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.ErrorModelPrototype_hwTargetInstanceRef#getHardwareComponentProtype <em>Hardware Component Protype</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Hardware Component Protype</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.ErrorModelPrototype_hwTargetInstanceRef#getHardwareComponentProtype()
+ * @see #getErrorModelPrototype_hwTargetInstanceRef()
+ * @generated
+ */
+ EReference getErrorModelPrototype_hwTargetInstanceRef_HardwareComponentProtype();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.ErrorModelPrototype_hwTargetInstanceRef#getHardwareComponentProtype_context <em>Hardware Component Protype context</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Hardware Component Protype context</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.ErrorModelPrototype_hwTargetInstanceRef#getHardwareComponentProtype_context()
+ * @see #getErrorModelPrototype_hwTargetInstanceRef()
+ * @generated
+ */
+ EReference getErrorModelPrototype_hwTargetInstanceRef_HardwareComponentProtype_context();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePort_hwTargetInstanceRef <em>Fault Failure Port hw Target Instance Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Fault Failure Port hw Target Instance Ref</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePort_hwTargetInstanceRef
+ * @generated
+ */
+ EClass getFaultFailurePort_hwTargetInstanceRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePort_hwTargetInstanceRef#getHardwarePort <em>Hardware Port</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Hardware Port</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePort_hwTargetInstanceRef#getHardwarePort()
+ * @see #getFaultFailurePort_hwTargetInstanceRef()
+ * @generated
+ */
+ EReference getFaultFailurePort_hwTargetInstanceRef_HardwarePort();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePort_hwTargetInstanceRef#getHardwareComponentProtype <em>Hardware Component Protype</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Hardware Component Protype</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePort_hwTargetInstanceRef#getHardwareComponentProtype()
+ * @see #getFaultFailurePort_hwTargetInstanceRef()
+ * @generated
+ */
+ EReference getFaultFailurePort_hwTargetInstanceRef_HardwareComponentProtype();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePort_functionTargetInstanceRef <em>Fault Failure Port function Target Instance Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Fault Failure Port function Target Instance Ref</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePort_functionTargetInstanceRef
+ * @generated
+ */
+ EClass getFaultFailurePort_functionTargetInstanceRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePort_functionTargetInstanceRef#getFunctionPort <em>Function Port</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Function Port</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePort_functionTargetInstanceRef#getFunctionPort()
+ * @see #getFaultFailurePort_functionTargetInstanceRef()
+ * @generated
+ */
+ EReference getFaultFailurePort_functionTargetInstanceRef_FunctionPort();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePort_functionTargetInstanceRef#getFunctionPrototype <em>Function Prototype</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Function Prototype</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePort_functionTargetInstanceRef#getFunctionPrototype()
+ * @see #getFaultFailurePort_functionTargetInstanceRef()
+ * @generated
+ */
+ EReference getFaultFailurePort_functionTargetInstanceRef_FunctionPrototype();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePropagationLink_fromPortInstanceRef <em>Fault Failure Propagation Link from Port Instance Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Fault Failure Propagation Link from Port Instance Ref</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePropagationLink_fromPortInstanceRef
+ * @generated
+ */
+ EClass getFaultFailurePropagationLink_fromPortInstanceRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePropagationLink_fromPortInstanceRef#getFaultFairelurePort <em>Fault Fairelure Port</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Fault Fairelure Port</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePropagationLink_fromPortInstanceRef#getFaultFairelurePort()
+ * @see #getFaultFailurePropagationLink_fromPortInstanceRef()
+ * @generated
+ */
+ EReference getFaultFailurePropagationLink_fromPortInstanceRef_FaultFairelurePort();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePropagationLink_fromPortInstanceRef#getErrorModelPrototype <em>Error Model Prototype</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Error Model Prototype</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePropagationLink_fromPortInstanceRef#getErrorModelPrototype()
+ * @see #getFaultFailurePropagationLink_fromPortInstanceRef()
+ * @generated
+ */
+ EReference getFaultFailurePropagationLink_fromPortInstanceRef_ErrorModelPrototype();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.FaultFailure_anomalyInstanceRef <em>Fault Failure anomaly Instance Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Fault Failure anomaly Instance Ref</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.FaultFailure_anomalyInstanceRef
+ * @generated
+ */
+ EClass getFaultFailure_anomalyInstanceRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.FaultFailure_anomalyInstanceRef#getAnomaly <em>Anomaly</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Anomaly</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.FaultFailure_anomalyInstanceRef#getAnomaly()
+ * @see #getFaultFailure_anomalyInstanceRef()
+ * @generated
+ */
+ EReference getFaultFailure_anomalyInstanceRef_Anomaly();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.FaultFailure_anomalyInstanceRef#getErrorModelPrototype <em>Error Model Prototype</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Error Model Prototype</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.FaultFailure_anomalyInstanceRef#getErrorModelPrototype()
+ * @see #getFaultFailure_anomalyInstanceRef()
+ * @generated
+ */
+ EReference getFaultFailure_anomalyInstanceRef_ErrorModelPrototype();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePropagationLink_toPortInstanceRef <em>Fault Failure Propagation Link to Port Instance Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Fault Failure Propagation Link to Port Instance Ref</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePropagationLink_toPortInstanceRef
+ * @generated
+ */
+ EClass getFaultFailurePropagationLink_toPortInstanceRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePropagationLink_toPortInstanceRef#getFaultFairelurePort <em>Fault Fairelure Port</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Fault Fairelure Port</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePropagationLink_toPortInstanceRef#getFaultFairelurePort()
+ * @see #getFaultFailurePropagationLink_toPortInstanceRef()
+ * @generated
+ */
+ EReference getFaultFailurePropagationLink_toPortInstanceRef_FaultFairelurePort();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePropagationLink_toPortInstanceRef#getErrorModelPrototype <em>Error Model Prototype</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Error Model Prototype</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePropagationLink_toPortInstanceRef#getErrorModelPrototype()
+ * @see #getFaultFailurePropagationLink_toPortInstanceRef()
+ * @generated
+ */
+ EReference getFaultFailurePropagationLink_toPortInstanceRef_ErrorModelPrototype();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef <em>Behavior Constraint Internal Binding through Function Connector Instance Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Behavior Constraint Internal Binding through Function Connector Instance Ref</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef
+ * @generated
+ */
+ EClass getBehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef#getFunctionConnector <em>Function Connector</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Function Connector</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef#getFunctionConnector()
+ * @see #getBehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef()
+ * @generated
+ */
+ EReference getBehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef_FunctionConnector();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef#getFunctionPrototype <em>Function Prototype</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Function Prototype</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef#getFunctionPrototype()
+ * @see #getBehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef()
+ * @generated
+ */
+ EReference getBehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef_FunctionPrototype();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef <em>Behavior Constraint Internal Binding through Hardware Connector Instance Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Behavior Constraint Internal Binding through Hardware Connector Instance Ref</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef
+ * @generated
+ */
+ EClass getBehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef#getHardwareConnector <em>Hardware Connector</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Hardware Connector</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef#getHardwareConnector()
+ * @see #getBehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef()
+ * @generated
+ */
+ EReference getBehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef_HardwareConnector();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef#getHardwareComponentPrototype <em>Hardware Component Prototype</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Hardware Component Prototype</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef#getHardwareComponentPrototype()
+ * @see #getBehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef()
+ * @generated
+ */
+ EReference getBehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef_HardwareComponentPrototype();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_functionTargetInstanceRef <em>Behavior Constraint Prototype function Target Instance Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Behavior Constraint Prototype function Target Instance Ref</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_functionTargetInstanceRef
+ * @generated
+ */
+ EClass getBehaviorConstraintPrototype_functionTargetInstanceRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_functionTargetInstanceRef#getFunctionPrototype_target <em>Function Prototype target</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Function Prototype target</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_functionTargetInstanceRef#getFunctionPrototype_target()
+ * @see #getBehaviorConstraintPrototype_functionTargetInstanceRef()
+ * @generated
+ */
+ EReference getBehaviorConstraintPrototype_functionTargetInstanceRef_FunctionPrototype_target();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_functionTargetInstanceRef#getFunctionPrototype_context <em>Function Prototype context</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Function Prototype context</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_functionTargetInstanceRef#getFunctionPrototype_context()
+ * @see #getBehaviorConstraintPrototype_functionTargetInstanceRef()
+ * @generated
+ */
+ EReference getBehaviorConstraintPrototype_functionTargetInstanceRef_FunctionPrototype_context();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_hardwareComponentTargetInstanceRef <em>Behavior Constraint Prototype hardware Component Target Instance Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Behavior Constraint Prototype hardware Component Target Instance Ref</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_hardwareComponentTargetInstanceRef
+ * @generated
+ */
+ EClass getBehaviorConstraintPrototype_hardwareComponentTargetInstanceRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_hardwareComponentTargetInstanceRef#getHardwareComponentProtype_target <em>Hardware Component Protype target</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Hardware Component Protype target</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_hardwareComponentTargetInstanceRef#getHardwareComponentProtype_target()
+ * @see #getBehaviorConstraintPrototype_hardwareComponentTargetInstanceRef()
+ * @generated
+ */
+ EReference getBehaviorConstraintPrototype_hardwareComponentTargetInstanceRef_HardwareComponentProtype_target();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_hardwareComponentTargetInstanceRef#getHardwareComponentPrototype_context <em>Hardware Component Prototype context</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Hardware Component Prototype context</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_hardwareComponentTargetInstanceRef#getHardwareComponentPrototype_context()
+ * @see #getBehaviorConstraintPrototype_hardwareComponentTargetInstanceRef()
+ * @generated
+ */
+ EReference getBehaviorConstraintPrototype_hardwareComponentTargetInstanceRef_HardwareComponentPrototype_context();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_errorModelTargetInstanceRef <em>Behavior Constraint Prototype error Model Target Instance Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Behavior Constraint Prototype error Model Target Instance Ref</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_errorModelTargetInstanceRef
+ * @generated
+ */
+ EClass getBehaviorConstraintPrototype_errorModelTargetInstanceRef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_errorModelTargetInstanceRef#getErrorModelPrototype_target <em>Error Model Prototype target</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Error Model Prototype target</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_errorModelTargetInstanceRef#getErrorModelPrototype_target()
+ * @see #getBehaviorConstraintPrototype_errorModelTargetInstanceRef()
+ * @generated
+ */
+ EReference getBehaviorConstraintPrototype_errorModelTargetInstanceRef_ErrorModelPrototype_target();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_errorModelTargetInstanceRef#getErrorModelPrototype_context <em>Error Model Prototype context</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Error Model Prototype context</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_errorModelTargetInstanceRef#getErrorModelPrototype_context()
+ * @see #getBehaviorConstraintPrototype_errorModelTargetInstanceRef()
+ * @generated
+ */
+ EReference getBehaviorConstraintPrototype_errorModelTargetInstanceRef_ErrorModelPrototype_context();
/**
* Returns the meta object for data type '{@link java.lang.String <em>Dummy</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for data type '<em>Dummy</em>'.
* @see java.lang.String
* @model instanceClass="java.lang.String"
@@ -136,7 +3128,6 @@ public interface InfrastructurePackage extends EPackage {
* 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
*/
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/InstanceRef.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/InstanceRef.java
new file mode 100644
index 00000000000..e6ec984c666
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/InstanceRef.java
@@ -0,0 +1,22 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * The InstanceRef DataType will be used to type attributes of type <<instanceRef>> (FaultFailure, ErrorModelPrototype, etc).
+ * <!-- end-model-doc -->
+ *
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getInstanceRef()
+ * @model
+ * @generated
+ */
+public interface InstanceRef extends EObject {
+} // InstanceRef
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/PrecedenceConstraint_precedingInstanceRef.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/PrecedenceConstraint_precedingInstanceRef.java
new file mode 100644
index 00000000000..2cc70983c2c
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/PrecedenceConstraint_precedingInstanceRef.java
@@ -0,0 +1,68 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Precedence Constraint preceding Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.PrecedenceConstraint_precedingInstanceRef#getFunctionPrototype_target <em>Function Prototype target</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.PrecedenceConstraint_precedingInstanceRef#getFunctionPrototype_context <em>Function Prototype context</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getPrecedenceConstraint_precedingInstanceRef()
+ * @model
+ * @generated
+ */
+public interface PrecedenceConstraint_precedingInstanceRef extends InstanceRef {
+ /**
+ * Returns the value of the '<em><b>Function Prototype target</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Function Prototype 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>Function Prototype target</em>' reference.
+ * @see #setFunctionPrototype_target(FunctionPrototype)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getPrecedenceConstraint_precedingInstanceRef_FunctionPrototype_target()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ FunctionPrototype getFunctionPrototype_target();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.PrecedenceConstraint_precedingInstanceRef#getFunctionPrototype_target <em>Function Prototype target</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Function Prototype target</em>' reference.
+ * @see #getFunctionPrototype_target()
+ * @generated
+ */
+ void setFunctionPrototype_target(FunctionPrototype value);
+
+ /**
+ * Returns the value of the '<em><b>Function Prototype context</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Function Prototype context</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>Function Prototype context</em>' reference list.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getPrecedenceConstraint_precedingInstanceRef_FunctionPrototype_context()
+ * @model ordered="false"
+ * @generated
+ */
+ EList<FunctionPrototype> getFunctionPrototype_context();
+
+} // PrecedenceConstraint_precedingInstanceRef
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/PrecedenceConstraint_successiveInstanceRef.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/PrecedenceConstraint_successiveInstanceRef.java
new file mode 100644
index 00000000000..94d00ffcdc8
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/PrecedenceConstraint_successiveInstanceRef.java
@@ -0,0 +1,68 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Precedence Constraint successive Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.PrecedenceConstraint_successiveInstanceRef#getFunctionPrototype_target <em>Function Prototype target</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.PrecedenceConstraint_successiveInstanceRef#getFunctionPrototype_context <em>Function Prototype context</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getPrecedenceConstraint_successiveInstanceRef()
+ * @model
+ * @generated
+ */
+public interface PrecedenceConstraint_successiveInstanceRef extends InstanceRef {
+ /**
+ * Returns the value of the '<em><b>Function Prototype target</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Function Prototype 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>Function Prototype target</em>' reference.
+ * @see #setFunctionPrototype_target(FunctionPrototype)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getPrecedenceConstraint_successiveInstanceRef_FunctionPrototype_target()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ FunctionPrototype getFunctionPrototype_target();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.PrecedenceConstraint_successiveInstanceRef#getFunctionPrototype_target <em>Function Prototype target</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Function Prototype target</em>' reference.
+ * @see #getFunctionPrototype_target()
+ * @generated
+ */
+ void setFunctionPrototype_target(FunctionPrototype value);
+
+ /**
+ * Returns the value of the '<em><b>Function Prototype context</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Function Prototype context</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>Function Prototype context</em>' reference list.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getPrecedenceConstraint_successiveInstanceRef_FunctionPrototype_context()
+ * @model ordered="false"
+ * @generated
+ */
+ EList<FunctionPrototype> getFunctionPrototype_context();
+
+} // PrecedenceConstraint_successiveInstanceRef
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/Realization_realizedByInstanceRef.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/Realization_realizedByInstanceRef.java
new file mode 100644
index 00000000000..a0e98414b76
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/Realization_realizedByInstanceRef.java
@@ -0,0 +1,68 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.uml2.uml.NamedElement;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Realization realized By Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.Realization_realizedByInstanceRef#getIdentifiable_target <em>Identifiable target</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.Realization_realizedByInstanceRef#getIdentifiable_context <em>Identifiable context</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getRealization_realizedByInstanceRef()
+ * @model
+ * @generated
+ */
+public interface Realization_realizedByInstanceRef extends InstanceRef {
+ /**
+ * Returns the value of the '<em><b>Identifiable target</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Identifiable 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>Identifiable target</em>' reference.
+ * @see #setIdentifiable_target(NamedElement)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getRealization_realizedByInstanceRef_Identifiable_target()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ NamedElement getIdentifiable_target();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.Realization_realizedByInstanceRef#getIdentifiable_target <em>Identifiable target</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Identifiable target</em>' reference.
+ * @see #getIdentifiable_target()
+ * @generated
+ */
+ void setIdentifiable_target(NamedElement value);
+
+ /**
+ * Returns the value of the '<em><b>Identifiable context</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.uml2.uml.NamedElement}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Identifiable context</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>Identifiable context</em>' reference list.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getRealization_realizedByInstanceRef_Identifiable_context()
+ * @model ordered="false"
+ * @generated
+ */
+ EList<NamedElement> getIdentifiable_context();
+
+} // Realization_realizedByInstanceRef
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/Realization_realizedInstanceRef.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/Realization_realizedInstanceRef.java
new file mode 100644
index 00000000000..7f9f662ddf3
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/Realization_realizedInstanceRef.java
@@ -0,0 +1,68 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.uml2.uml.NamedElement;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Realization realized Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.Realization_realizedInstanceRef#getIdentifiable_target <em>Identifiable target</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.Realization_realizedInstanceRef#getIdentifiable_context <em>Identifiable context</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getRealization_realizedInstanceRef()
+ * @model
+ * @generated
+ */
+public interface Realization_realizedInstanceRef extends InstanceRef {
+ /**
+ * Returns the value of the '<em><b>Identifiable target</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Identifiable 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>Identifiable target</em>' reference.
+ * @see #setIdentifiable_target(NamedElement)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getRealization_realizedInstanceRef_Identifiable_target()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ NamedElement getIdentifiable_target();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.Realization_realizedInstanceRef#getIdentifiable_target <em>Identifiable target</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Identifiable target</em>' reference.
+ * @see #getIdentifiable_target()
+ * @generated
+ */
+ void setIdentifiable_target(NamedElement value);
+
+ /**
+ * Returns the value of the '<em><b>Identifiable context</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.uml2.uml.NamedElement}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Identifiable context</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>Identifiable context</em>' reference list.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getRealization_realizedInstanceRef_Identifiable_context()
+ * @model ordered="false"
+ * @generated
+ */
+ EList<NamedElement> getIdentifiable_context();
+
+} // Realization_realizedInstanceRef
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/RefineInstanceRef.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/RefineInstanceRef.java
new file mode 100644
index 00000000000..84f8b7ba68e
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/RefineInstanceRef.java
@@ -0,0 +1,68 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.uml2.uml.NamedElement;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Refine Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.RefineInstanceRef#getIdentifiable_target <em>Identifiable target</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.RefineInstanceRef#getIdentifiable_context <em>Identifiable context</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getRefineInstanceRef()
+ * @model
+ * @generated
+ */
+public interface RefineInstanceRef extends InstanceRef {
+ /**
+ * Returns the value of the '<em><b>Identifiable target</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Identifiable 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>Identifiable target</em>' reference.
+ * @see #setIdentifiable_target(NamedElement)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getRefineInstanceRef_Identifiable_target()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ NamedElement getIdentifiable_target();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.RefineInstanceRef#getIdentifiable_target <em>Identifiable target</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Identifiable target</em>' reference.
+ * @see #getIdentifiable_target()
+ * @generated
+ */
+ void setIdentifiable_target(NamedElement value);
+
+ /**
+ * Returns the value of the '<em><b>Identifiable context</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.uml2.uml.NamedElement}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Identifiable context</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>Identifiable context</em>' reference list.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getRefineInstanceRef_Identifiable_context()
+ * @model ordered="false"
+ * @generated
+ */
+ EList<NamedElement> getIdentifiable_context();
+
+} // RefineInstanceRef
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/SatisfyInstanceRef.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/SatisfyInstanceRef.java
new file mode 100644
index 00000000000..23e3ec627c1
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/SatisfyInstanceRef.java
@@ -0,0 +1,68 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.uml2.uml.NamedElement;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Satisfy Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.SatisfyInstanceRef#getIdentifiable_target <em>Identifiable target</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.SatisfyInstanceRef#getIdentifiable_context <em>Identifiable context</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getSatisfyInstanceRef()
+ * @model
+ * @generated
+ */
+public interface SatisfyInstanceRef extends InstanceRef {
+ /**
+ * Returns the value of the '<em><b>Identifiable target</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Identifiable 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>Identifiable target</em>' reference.
+ * @see #setIdentifiable_target(NamedElement)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getSatisfyInstanceRef_Identifiable_target()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ NamedElement getIdentifiable_target();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.SatisfyInstanceRef#getIdentifiable_target <em>Identifiable target</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Identifiable target</em>' reference.
+ * @see #getIdentifiable_target()
+ * @generated
+ */
+ void setIdentifiable_target(NamedElement value);
+
+ /**
+ * Returns the value of the '<em><b>Identifiable context</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.uml2.uml.NamedElement}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Identifiable context</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>Identifiable context</em>' reference list.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getSatisfyInstanceRef_Identifiable_context()
+ * @model ordered="false"
+ * @generated
+ */
+ EList<NamedElement> getIdentifiable_context();
+
+} // SatisfyInstanceRef
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/TargetInstanceRef.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/TargetInstanceRef.java
new file mode 100644
index 00000000000..ced9331287b
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/TargetInstanceRef.java
@@ -0,0 +1,95 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.AllocationTarget;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Target Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.TargetInstanceRef#getAllocationTarget <em>Allocation Target</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.TargetInstanceRef#getAllocationTarget_context <em>Allocation Target context</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.TargetInstanceRef#getIntAttribute <em>Int Attribute</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getTargetInstanceRef()
+ * @model
+ * @generated
+ */
+public interface TargetInstanceRef extends InstanceRef {
+ /**
+ * Returns the value of the '<em><b>Allocation Target</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Allocation 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>Allocation Target</em>' reference.
+ * @see #setAllocationTarget(AllocationTarget)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getTargetInstanceRef_AllocationTarget()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ AllocationTarget getAllocationTarget();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.TargetInstanceRef#getAllocationTarget <em>Allocation Target</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Allocation Target</em>' reference.
+ * @see #getAllocationTarget()
+ * @generated
+ */
+ void setAllocationTarget(AllocationTarget value);
+
+ /**
+ * Returns the value of the '<em><b>Allocation Target context</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.AllocationTarget}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Allocation Target context</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>Allocation Target context</em>' reference list.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getTargetInstanceRef_AllocationTarget_context()
+ * @model ordered="false"
+ * @generated
+ */
+ EList<AllocationTarget> getAllocationTarget_context();
+
+ /**
+ * Returns the value of the '<em><b>Int Attribute</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Int Attribute</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Int Attribute</em>' attribute.
+ * @see #setIntAttribute(int)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getTargetInstanceRef_IntAttribute()
+ * @model dataType="org.eclipse.uml2.types.Integer" required="true" ordered="false"
+ * @generated
+ */
+ int getIntAttribute();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.TargetInstanceRef#getIntAttribute <em>Int Attribute</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Int Attribute</em>' attribute.
+ * @see #getIntAttribute()
+ * @generated
+ */
+ void setIntAttribute(int value);
+
+} // TargetInstanceRef
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/VVCaseInstanceRef.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/VVCaseInstanceRef.java
new file mode 100644
index 00000000000..5f8932b0158
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/VVCaseInstanceRef.java
@@ -0,0 +1,68 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.uml2.uml.NamedElement;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>VV Case Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.VVCaseInstanceRef#getIdentifiable_target <em>Identifiable target</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.VVCaseInstanceRef#getIdentifiable_context <em>Identifiable context</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getVVCaseInstanceRef()
+ * @model
+ * @generated
+ */
+public interface VVCaseInstanceRef extends InstanceRef {
+ /**
+ * Returns the value of the '<em><b>Identifiable target</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Identifiable 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>Identifiable target</em>' reference.
+ * @see #setIdentifiable_target(NamedElement)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getVVCaseInstanceRef_Identifiable_target()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ NamedElement getIdentifiable_target();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.VVCaseInstanceRef#getIdentifiable_target <em>Identifiable target</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Identifiable target</em>' reference.
+ * @see #getIdentifiable_target()
+ * @generated
+ */
+ void setIdentifiable_target(NamedElement value);
+
+ /**
+ * Returns the value of the '<em><b>Identifiable context</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.uml2.uml.NamedElement}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Identifiable context</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>Identifiable context</em>' reference list.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getVVCaseInstanceRef_Identifiable_context()
+ * @model ordered="false"
+ * @generated
+ */
+ EList<NamedElement> getIdentifiable_context();
+
+} // VVCaseInstanceRef
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/VVTargetInstanceRef.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/VVTargetInstanceRef.java
new file mode 100644
index 00000000000..4d808fe5734
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/VVTargetInstanceRef.java
@@ -0,0 +1,68 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.uml2.uml.NamedElement;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>VV Target Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.VVTargetInstanceRef#getIdentifiable_target <em>Identifiable target</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.VVTargetInstanceRef#getIdentifiable_context <em>Identifiable context</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getVVTargetInstanceRef()
+ * @model
+ * @generated
+ */
+public interface VVTargetInstanceRef extends InstanceRef {
+ /**
+ * Returns the value of the '<em><b>Identifiable target</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Identifiable 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>Identifiable target</em>' reference.
+ * @see #setIdentifiable_target(NamedElement)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getVVTargetInstanceRef_Identifiable_target()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ NamedElement getIdentifiable_target();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.VVTargetInstanceRef#getIdentifiable_target <em>Identifiable target</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Identifiable target</em>' reference.
+ * @see #getIdentifiable_target()
+ * @generated
+ */
+ void setIdentifiable_target(NamedElement value);
+
+ /**
+ * Returns the value of the '<em><b>Identifiable context</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.uml2.uml.NamedElement}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Identifiable context</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>Identifiable context</em>' reference list.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage#getVVTargetInstanceRef_Identifiable_context()
+ * @model ordered="false"
+ * @generated
+ */
+ EList<NamedElement> getIdentifiable_context();
+
+} // VVTargetInstanceRef
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/ArrayDataType.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/ArrayDataType.java
new file mode 100644
index 00000000000..07241ee96aa
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/ArrayDataType.java
@@ -0,0 +1,103 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.datatypes;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Array Data Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.ArrayDataType#getMaxLenght <em>Max Lenght</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.ArrayDataType#getMinLenght <em>Min Lenght</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.ArrayDataType#getElementType <em>Element Type</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getArrayDataType()
+ * @model
+ * @generated
+ */
+public interface ArrayDataType extends EADatatype {
+ /**
+ * Returns the value of the '<em><b>Max Lenght</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Max Lenght</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Max Lenght</em>' attribute.
+ * @see #setMaxLenght(int)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getArrayDataType_MaxLenght()
+ * @model dataType="org.eclipse.uml2.types.Integer" ordered="false"
+ * @generated
+ */
+ int getMaxLenght();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.ArrayDataType#getMaxLenght <em>Max Lenght</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Max Lenght</em>' attribute.
+ * @see #getMaxLenght()
+ * @generated
+ */
+ void setMaxLenght(int value);
+
+ /**
+ * Returns the value of the '<em><b>Min Lenght</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Min Lenght</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Min Lenght</em>' attribute.
+ * @see #setMinLenght(int)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getArrayDataType_MinLenght()
+ * @model dataType="org.eclipse.uml2.types.Integer" ordered="false"
+ * @generated
+ */
+ int getMinLenght();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.ArrayDataType#getMinLenght <em>Min Lenght</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Min Lenght</em>' attribute.
+ * @see #getMinLenght()
+ * @generated
+ */
+ void setMinLenght(int value);
+
+ /**
+ * Returns the value of the '<em><b>Element Type</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Element 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>Element Type</em>' reference.
+ * @see #setElementType(EADatatype)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getArrayDataType_ElementType()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ EADatatype getElementType();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.ArrayDataType#getElementType <em>Element Type</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Element Type</em>' reference.
+ * @see #getElementType()
+ * @generated
+ */
+ void setElementType(EADatatype value);
+
+} // ArrayDataType
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/CompositeDatatype.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/CompositeDatatype.java
index 55ba19b0552..d54f87c0f8f 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/CompositeDatatype.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/CompositeDatatype.java
@@ -21,48 +21,43 @@ import org.eclipse.emf.common.util.EList;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Composite Datatype</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <!-- begin-model-doc -->
- * A CompositeDatatype represents a non-scalar datatype. Take as an example a CompositeDatatype "MyCountries" that can refer, e.g., to an Enumeration
- * "CountryEnumeration" {USA, Canada, Japan, EU} via two EADatatypePrototypes (record variables): FirstCountry and SecondCountry. Then an attribute
- * typed by this CompositeDatatype "MyCountries" may have a value like: (EU (identified as FirstCountry), Japan (identified as SecondCountry)).
+ * A CompositeDatatype represents a non-scalar datatype. Take as an example a CompositeDatatype "MyCountries" that can refer, e.g., to an Enumeration "CountryEnumeration" {USA, Canada, Japan, EU} via two EADatatypePrototypes (record variables): FirstCountry and SecondCountry. Then an attribute typed by this CompositeDatatype "MyCountries" may have a value like: (EU (identified as FirstCountry), Japan (identified as SecondCountry)).
*
* Semantics:
- * A CompositeDatatype represents a non-scalar datatype. The contained datatypePrototypes act as record variables to identify the ordered datatype
- * instances of the tuple (the CompositeDatatype).
+ * A CompositeDatatype represents a non-scalar datatype. The contained datatypePrototypes act as record variables to identify the ordered datatype instances of the tuple (the CompositeDatatype).
*
* Notation:
- * The datatype CompositeDatatype is denoted using the rectangle symbol with keyword «Datatype CompositeDatatype».
+ * The datatype CompositeDatatype is denoted using the rectangle symbol with keyword «Datatype CompositeDatatype».
*
* Extension: UML Datatype
* <!-- end-model-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.CompositeDatatype#getDatatypePrototype <em>Datatype Prototype</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.CompositeDatatype#getDatatypePrototype <em>Datatype Prototype</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getCompositeDatatype()
* @model
* @generated
*/
public interface CompositeDatatype extends EADatatype {
-
/**
- * Returns the value of the '<em><b>Datatype Prototype</b></em>' reference list.
+ * Returns the value of the '<em><b>Datatype Prototype</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatypePrototype}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Datatype Prototype</em>' containment reference list isn't clear, there really should be more of a description
- * here...
+ * If the meaning of the '<em>Datatype Prototype</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>Datatype Prototype</em>' reference list.
+ * @return the value of the '<em>Datatype Prototype</em>' containment reference list.
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getCompositeDatatype_DatatypePrototype()
- * @model required="true"
+ * @model containment="true" required="true"
* @generated
*/
EList<EADatatypePrototype> getDatatypePrototype();
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/DatatypesFactory.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/DatatypesFactory.java
index 0a1dc86630b..34280e8f363 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/DatatypesFactory.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/DatatypesFactory.java
@@ -22,17 +22,14 @@ import org.eclipse.emf.ecore.EFactory;
* 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.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage
* @generated
*/
public interface DatatypesFactory extends EFactory {
-
/**
* The singleton instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
DatatypesFactory eINSTANCE = org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesFactoryImpl.init();
@@ -41,67 +38,69 @@ public interface DatatypesFactory extends EFactory {
* Returns a new object of class '<em>EA Datatype Prototype</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return a new object of class '<em>EA Datatype Prototype</em>'.
* @generated
*/
EADatatypePrototype createEADatatypePrototype();
/**
- * Returns a new object of class '<em>Composite Datatype</em>'.
+ * Returns a new object of class '<em>EA Numerical</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Composite Datatype</em>'.
+ * @return a new object of class '<em>EA Numerical</em>'.
* @generated
*/
- CompositeDatatype createCompositeDatatype();
+ EANumerical createEANumerical();
/**
- * Returns a new object of class '<em>EA String</em>'.
+ * Returns a new object of class '<em>Unit</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return a new object of class '<em>EA String</em>'.
+ * @return a new object of class '<em>Unit</em>'.
* @generated
*/
- EAString createEAString();
+ Unit createUnit();
/**
- * Returns a new object of class '<em>EA Boolean</em>'.
+ * Returns a new object of class '<em>Quantity</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return a new object of class '<em>EA Boolean</em>'.
+ * @return a new object of class '<em>Quantity</em>'.
* @generated
*/
- EABoolean createEABoolean();
+ Quantity createQuantity();
/**
- * Returns a new object of class '<em>EA Float</em>'.
+ * Returns a new object of class '<em>Composite Datatype</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return a new object of class '<em>EA Float</em>'.
+ * @return a new object of class '<em>Composite Datatype</em>'.
* @generated
*/
- EAFloat createEAFloat();
+ CompositeDatatype createCompositeDatatype();
/**
- * Returns a new object of class '<em>EA Integer</em>'.
+ * Returns a new object of class '<em>EA String</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>EA String</em>'.
+ * @generated
+ */
+ EAString createEAString();
+
+ /**
+ * Returns a new object of class '<em>EA Boolean</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return a new object of class '<em>EA Integer</em>'.
+ * @return a new object of class '<em>EA Boolean</em>'.
* @generated
*/
- EAInteger createEAInteger();
+ EABoolean createEABoolean();
/**
* Returns a new object of class '<em>Enumeration Literal</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return a new object of class '<em>Enumeration Literal</em>'.
* @generated
*/
@@ -111,27 +110,24 @@ public interface DatatypesFactory extends EFactory {
* Returns a new object of class '<em>Enumeration</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return a new object of class '<em>Enumeration</em>'.
* @generated
*/
Enumeration createEnumeration();
/**
- * Returns a new object of class '<em>Enumeration Value Type</em>'.
+ * Returns a new object of class '<em>Array Data Type</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Enumeration Value Type</em>'.
+ * @return a new object of class '<em>Array Data Type</em>'.
* @generated
*/
- EnumerationValueType createEnumerationValueType();
+ ArrayDataType createArrayDataType();
/**
* Returns a new object of class '<em>Rangeable Value Type</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return a new object of class '<em>Rangeable Value Type</em>'.
* @generated
*/
@@ -141,7 +137,6 @@ public interface DatatypesFactory extends EFactory {
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the package supported by this factory.
* @generated
*/
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/DatatypesPackage.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/DatatypesPackage.java
index 53cc4d2988e..248d5f79c1e 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/DatatypesPackage.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/DatatypesPackage.java
@@ -28,46 +28,39 @@ import org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage;
* 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>
+ * <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 -->
* <!-- begin-model-doc -->
- * The Datatypes subpackage of EAST-ADL2 defines EAST-ADL2 general-purpose datatypes that may be used to type structural constructs in several
- * different modeling diagrams.
+ * The Datatypes subpackage of EAST-ADL2 defines EAST-ADL2 general-purpose datatypes that may be used to type structural constructs in several different modeling diagrams.
*
* The purpose of the metaclasses in the Datatypes subpackage is to specify the concepts for the specific domain.
* <!-- end-model-doc -->
- *
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesFactory
* @model kind="package"
* @generated
*/
public interface DatatypesPackage extends EPackage {
-
/**
* <!-- 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>
+ * <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.papyrus.eastadl.infrastructure.datatypes.impl.EADatatypeImpl <em>EA Datatype</em>}'
- * class.
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EADatatypeImpl <em>EA Datatype</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EADatatypeImpl
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getEADatatype()
* @generated
@@ -78,29 +71,14 @@ public interface DatatypesPackage extends EPackage {
* The meta object literal for the '<em><b>Base Data Type</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
EReference EA_DATATYPE__BASE_DATA_TYPE = eINSTANCE.getEADatatype_Base_DataType();
/**
- * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.RangeableDatatypeImpl
- * <em>Rangeable Datatype</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.RangeableDatatypeImpl
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getRangeableDatatype()
- * @generated
- */
- EClass RANGEABLE_DATATYPE = eINSTANCE.getRangeableDatatype();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EADatatypePrototypeImpl
- * <em>EA Datatype Prototype</em>}' class.
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EADatatypePrototypeImpl <em>EA Datatype Prototype</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EADatatypePrototypeImpl
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getEADatatypePrototype()
* @generated
@@ -111,7 +89,6 @@ public interface DatatypesPackage extends EPackage {
* The meta object literal for the '<em><b>Type</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
EReference EA_DATATYPE_PROTOTYPE__TYPE = eINSTANCE.getEADatatypePrototype_Type();
@@ -120,7 +97,6 @@ public interface DatatypesPackage extends EPackage {
* The meta object literal for the '<em><b>Base Property</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
EReference EA_DATATYPE_PROTOTYPE__BASE_PROPERTY = eINSTANCE.getEADatatypePrototype_Base_Property();
@@ -129,134 +105,206 @@ public interface DatatypesPackage extends EPackage {
* The meta object literal for the '<em><b>Base Parameter</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
EReference EA_DATATYPE_PROTOTYPE__BASE_PARAMETER = eINSTANCE.getEADatatypePrototype_Base_Parameter();
/**
- * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.ValueTypeImpl <em>Value Type</em>}'
- * class.
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EANumericalImpl <em>EA Numerical</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.ValueTypeImpl
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getValueType()
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EANumericalImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getEANumerical()
* @generated
*/
- EClass VALUE_TYPE = eINSTANCE.getValueType();
+ EClass EA_NUMERICAL = eINSTANCE.getEANumerical();
/**
- * The meta object literal for the '<em><b>Semantics</b></em>' attribute feature.
+ * The meta object literal for the '<em><b>Max</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- EAttribute VALUE_TYPE__SEMANTICS = eINSTANCE.getValueType_Semantics();
+ EAttribute EA_NUMERICAL__MAX = eINSTANCE.getEANumerical_Max();
/**
- * The meta object literal for the '<em><b>Dimension</b></em>' attribute feature.
+ * The meta object literal for the '<em><b>Min</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- EAttribute VALUE_TYPE__DIMENSION = eINSTANCE.getValueType_Dimension();
+ EAttribute EA_NUMERICAL__MIN = eINSTANCE.getEANumerical_Min();
/**
- * The meta object literal for the '<em><b>Unit</b></em>' attribute feature.
+ * The meta object literal for the '<em><b>Unit</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- EAttribute VALUE_TYPE__UNIT = eINSTANCE.getValueType_Unit();
+ EReference EA_NUMERICAL__UNIT = eINSTANCE.getEANumerical_Unit();
/**
- * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.RangeableValueTypeImpl
- * <em>Rangeable Value Type</em>}' class.
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.UnitImpl <em>Unit</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.RangeableValueTypeImpl
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getRangeableValueType()
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.UnitImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getUnit()
* @generated
*/
- EClass RANGEABLE_VALUE_TYPE = eINSTANCE.getRangeableValueType();
+ EClass UNIT = eINSTANCE.getUnit();
/**
- * The meta object literal for the '<em><b>Accuracy</b></em>' attribute feature.
+ * The meta object literal for the '<em><b>Factor</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- EAttribute RANGEABLE_VALUE_TYPE__ACCURACY = eINSTANCE.getRangeableValueType_Accuracy();
+ EAttribute UNIT__FACTOR = eINSTANCE.getUnit_Factor();
/**
- * The meta object literal for the '<em><b>Resolution</b></em>' attribute feature.
+ * The meta object literal for the '<em><b>Offset</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- EAttribute RANGEABLE_VALUE_TYPE__RESOLUTION = eINSTANCE.getRangeableValueType_Resolution();
+ EAttribute UNIT__OFFSET = eINSTANCE.getUnit_Offset();
/**
- * The meta object literal for the '<em><b>Significant Digits</b></em>' attribute feature.
+ * The meta object literal for the '<em><b>Symbol</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- EAttribute RANGEABLE_VALUE_TYPE__SIGNIFICANT_DIGITS = eINSTANCE.getRangeableValueType_SignificantDigits();
+ EAttribute UNIT__SYMBOL = eINSTANCE.getUnit_Symbol();
/**
- * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EnumerationValueTypeImpl
- * <em>Enumeration Value Type</em>}' class.
+ * The meta object literal for the '<em><b>Quantity</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EnumerationValueTypeImpl
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getEnumerationValueType()
* @generated
*/
- EClass ENUMERATION_VALUE_TYPE = eINSTANCE.getEnumerationValueType();
+ EReference UNIT__QUANTITY = eINSTANCE.getUnit_Quantity();
/**
- * The meta object literal for the '<em><b>Is Multi Valued</b></em>' attribute feature.
+ * The meta object literal for the '<em><b>Reference</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference UNIT__REFERENCE = eINSTANCE.getUnit_Reference();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.QuantityImpl <em>Quantity</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.QuantityImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getQuantity()
+ * @generated
+ */
+ EClass QUANTITY = eINSTANCE.getQuantity();
+
+ /**
+ * The meta object literal for the '<em><b>Amount Of Substance Exp</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute QUANTITY__AMOUNT_OF_SUBSTANCE_EXP = eINSTANCE.getQuantity_AmountOfSubstanceExp();
+
+ /**
+ * The meta object literal for the '<em><b>Electric Current Exp</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute QUANTITY__ELECTRIC_CURRENT_EXP = eINSTANCE.getQuantity_ElectricCurrentExp();
+
+ /**
+ * The meta object literal for the '<em><b>Lenght Exp</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute QUANTITY__LENGHT_EXP = eINSTANCE.getQuantity_LenghtExp();
+
+ /**
+ * The meta object literal for the '<em><b>Luminous Intensity Exp</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute QUANTITY__LUMINOUS_INTENSITY_EXP = eINSTANCE.getQuantity_LuminousIntensityExp();
+
+ /**
+ * The meta object literal for the '<em><b>Mass Exp</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute QUANTITY__MASS_EXP = eINSTANCE.getQuantity_MassExp();
+
+ /**
+ * The meta object literal for the '<em><b>Thermodynamic Temperature Exp</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- EAttribute ENUMERATION_VALUE_TYPE__IS_MULTI_VALUED = eINSTANCE.getEnumerationValueType_IsMultiValued();
+ EAttribute QUANTITY__THERMODYNAMIC_TEMPERATURE_EXP = eINSTANCE.getQuantity_ThermodynamicTemperatureExp();
/**
- * The meta object literal for the '<em><b>Literal Semantics</b></em>' attribute list feature.
+ * The meta object literal for the '<em><b>Time Exp</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- EAttribute ENUMERATION_VALUE_TYPE__LITERAL_SEMANTICS = eINSTANCE.getEnumerationValueType_LiteralSemantics();
+ EAttribute QUANTITY__TIME_EXP = eINSTANCE.getQuantity_TimeExp();
/**
- * The meta object literal for the '<em><b>Base Enumeration</b></em>' reference feature.
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.RangeableValueTypeImpl <em>Rangeable Value Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.RangeableValueTypeImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getRangeableValueType()
+ * @generated
+ */
+ EClass RANGEABLE_VALUE_TYPE = eINSTANCE.getRangeableValueType();
+
+ /**
+ * The meta object literal for the '<em><b>Accuracy</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute RANGEABLE_VALUE_TYPE__ACCURACY = eINSTANCE.getRangeableValueType_Accuracy();
+
+ /**
+ * The meta object literal for the '<em><b>Resolution</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute RANGEABLE_VALUE_TYPE__RESOLUTION = eINSTANCE.getRangeableValueType_Resolution();
+
+ /**
+ * The meta object literal for the '<em><b>Significant Digits</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- EReference ENUMERATION_VALUE_TYPE__BASE_ENUMERATION = eINSTANCE.getEnumerationValueType_Base_Enumeration();
+ EAttribute RANGEABLE_VALUE_TYPE__SIGNIFICANT_DIGITS = eINSTANCE.getRangeableValueType_SignificantDigits();
/**
- * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.CompositeDatatypeImpl
- * <em>Composite Datatype</em>}' class.
+ * The meta object literal for the '<em><b>Base Rangeable</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference RANGEABLE_VALUE_TYPE__BASE_RANGEABLE = eINSTANCE.getRangeableValueType_BaseRangeable();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.CompositeDatatypeImpl <em>Composite Datatype</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.CompositeDatatypeImpl
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getCompositeDatatype()
* @generated
@@ -264,10 +312,9 @@ public interface DatatypesPackage extends EPackage {
EClass COMPOSITE_DATATYPE = eINSTANCE.getCompositeDatatype();
/**
- * The meta object literal for the '<em><b>Datatype Prototype</b></em>' reference list feature.
+ * The meta object literal for the '<em><b>Datatype Prototype</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
EReference COMPOSITE_DATATYPE__DATATYPE_PROTOTYPE = eINSTANCE.getCompositeDatatype_DatatypePrototype();
@@ -276,7 +323,6 @@ public interface DatatypesPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EAStringImpl <em>EA String</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EAStringImpl
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getEAString()
* @generated
@@ -284,11 +330,9 @@ public interface DatatypesPackage extends EPackage {
EClass EA_STRING = eINSTANCE.getEAString();
/**
- * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EABooleanImpl <em>EA Boolean</em>}'
- * class.
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EABooleanImpl <em>EA Boolean</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EABooleanImpl
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getEABoolean()
* @generated
@@ -296,102 +340,89 @@ public interface DatatypesPackage extends EPackage {
EClass EA_BOOLEAN = eINSTANCE.getEABoolean();
/**
- * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EAFloatImpl <em>EA Float</em>}' class.
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EnumerationLiteralImpl <em>Enumeration Literal</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EAFloatImpl
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getEAFloat()
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EnumerationLiteralImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getEnumerationLiteral()
* @generated
*/
- EClass EA_FLOAT = eINSTANCE.getEAFloat();
+ EClass ENUMERATION_LITERAL = eINSTANCE.getEnumerationLiteral();
/**
- * The meta object literal for the '<em><b>Min</b></em>' attribute feature.
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EnumerationImpl <em>Enumeration</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EnumerationImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getEnumeration()
* @generated
*/
- EAttribute EA_FLOAT__MIN = eINSTANCE.getEAFloat_Min();
+ EClass ENUMERATION = eINSTANCE.getEnumeration();
/**
- * The meta object literal for the '<em><b>Max</b></em>' attribute feature.
+ * The meta object literal for the '<em><b>Literal</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- EAttribute EA_FLOAT__MAX = eINSTANCE.getEAFloat_Max();
+ EReference ENUMERATION__LITERAL = eINSTANCE.getEnumeration_Literal();
/**
- * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EAIntegerImpl <em>EA Integer</em>}'
- * class.
+ * The meta object literal for the '<em><b>Is Multi Valued</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EAIntegerImpl
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getEAInteger()
* @generated
*/
- EClass EA_INTEGER = eINSTANCE.getEAInteger();
+ EAttribute ENUMERATION__IS_MULTI_VALUED = eINSTANCE.getEnumeration_IsMultiValued();
/**
- * The meta object literal for the '<em><b>Min</b></em>' attribute feature.
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.ArrayDataTypeImpl <em>Array Data Type</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.ArrayDataTypeImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getArrayDataType()
* @generated
*/
- EAttribute EA_INTEGER__MIN = eINSTANCE.getEAInteger_Min();
+ EClass ARRAY_DATA_TYPE = eINSTANCE.getArrayDataType();
/**
- * The meta object literal for the '<em><b>Max</b></em>' attribute feature.
+ * The meta object literal for the '<em><b>Max Lenght</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- EAttribute EA_INTEGER__MAX = eINSTANCE.getEAInteger_Max();
+ EAttribute ARRAY_DATA_TYPE__MAX_LENGHT = eINSTANCE.getArrayDataType_MaxLenght();
/**
- * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EnumerationLiteralImpl
- * <em>Enumeration Literal</em>}' class.
+ * The meta object literal for the '<em><b>Min Lenght</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EnumerationLiteralImpl
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getEnumerationLiteral()
* @generated
*/
- EClass ENUMERATION_LITERAL = eINSTANCE.getEnumerationLiteral();
+ EAttribute ARRAY_DATA_TYPE__MIN_LENGHT = eINSTANCE.getArrayDataType_MinLenght();
/**
- * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EnumerationImpl <em>Enumeration</em>}'
- * class.
+ * The meta object literal for the '<em><b>Element Type</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EnumerationImpl
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getEnumeration()
* @generated
*/
- EClass ENUMERATION = eINSTANCE.getEnumeration();
+ EReference ARRAY_DATA_TYPE__ELEMENT_TYPE = eINSTANCE.getArrayDataType_ElementType();
/**
- * The meta object literal for the '<em><b>Literal</b></em>' containment reference list feature.
+ * The meta object literal for the '<em>Numerical</em>' data type.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ * @see java.lang.Float
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getNumerical()
* @generated
*/
- EReference ENUMERATION__LITERAL = eINSTANCE.getEnumeration_Literal();
+ EDataType NUMERICAL = eINSTANCE.getNumerical();
/**
* The meta object literal for the '<em>javalang Float</em>' data type.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see java.lang.Float
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getjavalangFloat()
* @generated
@@ -404,7 +435,6 @@ public interface DatatypesPackage extends EPackage {
* The package name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
String eNAME = "datatypes";
@@ -413,7 +443,6 @@ public interface DatatypesPackage extends EPackage {
* The package namespace URI.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
String eNS_URI = "http://www.papyrusuml.org/EAST-ADL2/Infrastructure/Datatypes/1";
@@ -422,7 +451,6 @@ public interface DatatypesPackage extends EPackage {
* The package namespace name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
String eNS_PREFIX = "Datatypes";
@@ -431,7 +459,6 @@ public interface DatatypesPackage extends EPackage {
* The singleton instance of the package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
DatatypesPackage eINSTANCE = org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl.init();
@@ -440,7 +467,6 @@ public interface DatatypesPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EADatatypeImpl <em>EA Datatype</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EADatatypeImpl
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getEADatatype()
* @generated
@@ -448,30 +474,27 @@ public interface DatatypesPackage extends EPackage {
int EA_DATATYPE = 0;
/**
- * The feature id for the '<em><b>Name</b></em>' attribute.
+ * The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int EA_DATATYPE__NAME = ElementsPackage.TRACEABLE_SPECIFICATION__NAME;
+ int EA_DATATYPE__BASE_NAMED_ELEMENT = ElementsPackage.TRACEABLE_SPECIFICATION__BASE_NAMED_ELEMENT;
/**
- * The feature id for the '<em><b>Base Named Element</b></em>' reference.
+ * The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int EA_DATATYPE__BASE_NAMED_ELEMENT = ElementsPackage.TRACEABLE_SPECIFICATION__BASE_NAMED_ELEMENT;
+ int EA_DATATYPE__NAME = ElementsPackage.TRACEABLE_SPECIFICATION__NAME;
/**
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -481,7 +504,6 @@ public interface DatatypesPackage extends EPackage {
* The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -491,7 +513,6 @@ public interface DatatypesPackage extends EPackage {
* The feature id for the '<em><b>Note</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -501,7 +522,6 @@ public interface DatatypesPackage extends EPackage {
* The feature id for the '<em><b>Base Data Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -511,30 +531,24 @@ public interface DatatypesPackage extends EPackage {
* The number of structural features of the '<em>EA Datatype</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int EA_DATATYPE_FEATURE_COUNT = ElementsPackage.TRACEABLE_SPECIFICATION_FEATURE_COUNT + 1;
/**
- * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.RangeableDatatypeImpl <em>Rangeable Datatype</em>}
- * ' class.
+ * The number of operations of the '<em>EA Datatype</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.RangeableDatatypeImpl
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getRangeableDatatype()
* @generated
+ * @ordered
*/
- int RANGEABLE_DATATYPE = 3;
+ int EA_DATATYPE_OPERATION_COUNT = ElementsPackage.TRACEABLE_SPECIFICATION_OPERATION_COUNT + 0;
/**
- * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EADatatypePrototypeImpl
- * <em>EA Datatype Prototype</em>}' class.
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EADatatypePrototypeImpl <em>EA Datatype Prototype</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EADatatypePrototypeImpl
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getEADatatypePrototype()
* @generated
@@ -542,41 +556,27 @@ public interface DatatypesPackage extends EPackage {
int EA_DATATYPE_PROTOTYPE = 1;
/**
- * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.ValueTypeImpl <em>Value Type</em>}' class.
+ * The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.ValueTypeImpl
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getValueType()
* @generated
+ * @ordered
*/
- int VALUE_TYPE = 2;
+ int EA_DATATYPE_PROTOTYPE__BASE_NAMED_ELEMENT = ElementsPackage.EA_ELEMENT__BASE_NAMED_ELEMENT;
/**
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int EA_DATATYPE_PROTOTYPE__NAME = ElementsPackage.EA_ELEMENT__NAME;
/**
- * The feature id for the '<em><b>Base Named Element</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EA_DATATYPE_PROTOTYPE__BASE_NAMED_ELEMENT = ElementsPackage.EA_ELEMENT__BASE_NAMED_ELEMENT;
-
- /**
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -586,7 +586,6 @@ public interface DatatypesPackage extends EPackage {
* The feature id for the '<em><b>Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -596,7 +595,6 @@ public interface DatatypesPackage extends EPackage {
* The feature id for the '<em><b>Base Property</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -606,7 +604,6 @@ public interface DatatypesPackage extends EPackage {
* The feature id for the '<em><b>Base Parameter</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -616,472 +613,487 @@ public interface DatatypesPackage extends EPackage {
* The number of structural features of the '<em>EA Datatype Prototype</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int EA_DATATYPE_PROTOTYPE_FEATURE_COUNT = ElementsPackage.EA_ELEMENT_FEATURE_COUNT + 3;
/**
- * The feature id for the '<em><b>Name</b></em>' attribute.
+ * The number of operations of the '<em>EA Datatype Prototype</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int VALUE_TYPE__NAME = EA_DATATYPE__NAME;
+ int EA_DATATYPE_PROTOTYPE_OPERATION_COUNT = ElementsPackage.EA_ELEMENT_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EANumericalImpl <em>EA Numerical</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EANumericalImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getEANumerical()
+ * @generated
+ */
+ int EA_NUMERICAL = 2;
/**
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int VALUE_TYPE__BASE_NAMED_ELEMENT = EA_DATATYPE__BASE_NAMED_ELEMENT;
+ int EA_NUMERICAL__BASE_NAMED_ELEMENT = EA_DATATYPE__BASE_NAMED_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_NUMERICAL__NAME = EA_DATATYPE__NAME;
/**
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int VALUE_TYPE__OWNED_COMMENT = EA_DATATYPE__OWNED_COMMENT;
+ int EA_NUMERICAL__OWNED_COMMENT = EA_DATATYPE__OWNED_COMMENT;
/**
* The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int VALUE_TYPE__BASE_PACKAGEABLE_ELEMENT = EA_DATATYPE__BASE_PACKAGEABLE_ELEMENT;
+ int EA_NUMERICAL__BASE_PACKAGEABLE_ELEMENT = EA_DATATYPE__BASE_PACKAGEABLE_ELEMENT;
/**
* The feature id for the '<em><b>Note</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int VALUE_TYPE__NOTE = EA_DATATYPE__NOTE;
+ int EA_NUMERICAL__NOTE = EA_DATATYPE__NOTE;
/**
* The feature id for the '<em><b>Base Data Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int VALUE_TYPE__BASE_DATA_TYPE = EA_DATATYPE__BASE_DATA_TYPE;
+ int EA_NUMERICAL__BASE_DATA_TYPE = EA_DATATYPE__BASE_DATA_TYPE;
/**
- * The feature id for the '<em><b>Semantics</b></em>' attribute.
+ * The feature id for the '<em><b>Max</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int VALUE_TYPE__SEMANTICS = EA_DATATYPE_FEATURE_COUNT + 0;
+ int EA_NUMERICAL__MAX = EA_DATATYPE_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Dimension</b></em>' attribute.
+ * The feature id for the '<em><b>Min</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int VALUE_TYPE__DIMENSION = EA_DATATYPE_FEATURE_COUNT + 1;
+ int EA_NUMERICAL__MIN = EA_DATATYPE_FEATURE_COUNT + 1;
/**
- * The feature id for the '<em><b>Unit</b></em>' attribute.
+ * The feature id for the '<em><b>Unit</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int VALUE_TYPE__UNIT = EA_DATATYPE_FEATURE_COUNT + 2;
+ int EA_NUMERICAL__UNIT = EA_DATATYPE_FEATURE_COUNT + 2;
/**
- * The number of structural features of the '<em>Value Type</em>' class.
+ * The number of structural features of the '<em>EA Numerical</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int VALUE_TYPE_FEATURE_COUNT = EA_DATATYPE_FEATURE_COUNT + 3;
+ int EA_NUMERICAL_FEATURE_COUNT = EA_DATATYPE_FEATURE_COUNT + 3;
/**
- * The feature id for the '<em><b>Name</b></em>' attribute.
+ * The number of operations of the '<em>EA Numerical</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int RANGEABLE_DATATYPE__NAME = EA_DATATYPE__NAME;
+ int EA_NUMERICAL_OPERATION_COUNT = EA_DATATYPE_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.UnitImpl <em>Unit</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.UnitImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getUnit()
+ * @generated
+ */
+ int UNIT = 3;
/**
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int RANGEABLE_DATATYPE__BASE_NAMED_ELEMENT = EA_DATATYPE__BASE_NAMED_ELEMENT;
+ int UNIT__BASE_NAMED_ELEMENT = ElementsPackage.EA_PACKAGEABLE_ELEMENT__BASE_NAMED_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNIT__NAME = ElementsPackage.EA_PACKAGEABLE_ELEMENT__NAME;
/**
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int RANGEABLE_DATATYPE__OWNED_COMMENT = EA_DATATYPE__OWNED_COMMENT;
+ int UNIT__OWNED_COMMENT = ElementsPackage.EA_PACKAGEABLE_ELEMENT__OWNED_COMMENT;
/**
* The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int RANGEABLE_DATATYPE__BASE_PACKAGEABLE_ELEMENT = EA_DATATYPE__BASE_PACKAGEABLE_ELEMENT;
+ int UNIT__BASE_PACKAGEABLE_ELEMENT = ElementsPackage.EA_PACKAGEABLE_ELEMENT__BASE_PACKAGEABLE_ELEMENT;
/**
- * The feature id for the '<em><b>Note</b></em>' attribute.
+ * The feature id for the '<em><b>Factor</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int RANGEABLE_DATATYPE__NOTE = EA_DATATYPE__NOTE;
+ int UNIT__FACTOR = ElementsPackage.EA_PACKAGEABLE_ELEMENT_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Base Data Type</b></em>' reference.
+ * The feature id for the '<em><b>Offset</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int RANGEABLE_DATATYPE__BASE_DATA_TYPE = EA_DATATYPE__BASE_DATA_TYPE;
+ int UNIT__OFFSET = ElementsPackage.EA_PACKAGEABLE_ELEMENT_FEATURE_COUNT + 1;
/**
- * The number of structural features of the '<em>Rangeable Datatype</em>' class.
+ * The feature id for the '<em><b>Symbol</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int RANGEABLE_DATATYPE_FEATURE_COUNT = EA_DATATYPE_FEATURE_COUNT + 0;
+ int UNIT__SYMBOL = ElementsPackage.EA_PACKAGEABLE_ELEMENT_FEATURE_COUNT + 2;
/**
- * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.RangeableValueTypeImpl
- * <em>Rangeable Value Type</em>}' class.
+ * The feature id for the '<em><b>Quantity</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.RangeableValueTypeImpl
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getRangeableValueType()
* @generated
+ * @ordered
*/
- int RANGEABLE_VALUE_TYPE = 4;
+ int UNIT__QUANTITY = ElementsPackage.EA_PACKAGEABLE_ELEMENT_FEATURE_COUNT + 3;
/**
- * The feature id for the '<em><b>Name</b></em>' attribute.
+ * The feature id for the '<em><b>Reference</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int RANGEABLE_VALUE_TYPE__NAME = VALUE_TYPE__NAME;
+ int UNIT__REFERENCE = ElementsPackage.EA_PACKAGEABLE_ELEMENT_FEATURE_COUNT + 4;
/**
- * The feature id for the '<em><b>Base Named Element</b></em>' reference.
+ * The number of structural features of the '<em>Unit</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int RANGEABLE_VALUE_TYPE__BASE_NAMED_ELEMENT = VALUE_TYPE__BASE_NAMED_ELEMENT;
+ int UNIT_FEATURE_COUNT = ElementsPackage.EA_PACKAGEABLE_ELEMENT_FEATURE_COUNT + 5;
/**
- * The feature id for the '<em><b>Owned Comment</b></em>' reference list.
+ * The number of operations of the '<em>Unit</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int RANGEABLE_VALUE_TYPE__OWNED_COMMENT = VALUE_TYPE__OWNED_COMMENT;
+ int UNIT_OPERATION_COUNT = ElementsPackage.EA_PACKAGEABLE_ELEMENT_OPERATION_COUNT + 0;
/**
- * The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.QuantityImpl <em>Quantity</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.QuantityImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getQuantity()
+ * @generated
+ */
+ int QUANTITY = 4;
+
+ /**
+ * The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int RANGEABLE_VALUE_TYPE__BASE_PACKAGEABLE_ELEMENT = VALUE_TYPE__BASE_PACKAGEABLE_ELEMENT;
+ int QUANTITY__BASE_NAMED_ELEMENT = ElementsPackage.EA_PACKAGEABLE_ELEMENT__BASE_NAMED_ELEMENT;
/**
- * The feature id for the '<em><b>Note</b></em>' attribute.
+ * The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int RANGEABLE_VALUE_TYPE__NOTE = VALUE_TYPE__NOTE;
+ int QUANTITY__NAME = ElementsPackage.EA_PACKAGEABLE_ELEMENT__NAME;
/**
- * The feature id for the '<em><b>Base Data Type</b></em>' reference.
+ * The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int RANGEABLE_VALUE_TYPE__BASE_DATA_TYPE = VALUE_TYPE__BASE_DATA_TYPE;
+ int QUANTITY__OWNED_COMMENT = ElementsPackage.EA_PACKAGEABLE_ELEMENT__OWNED_COMMENT;
/**
- * The feature id for the '<em><b>Semantics</b></em>' attribute.
+ * The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int RANGEABLE_VALUE_TYPE__SEMANTICS = VALUE_TYPE__SEMANTICS;
+ int QUANTITY__BASE_PACKAGEABLE_ELEMENT = ElementsPackage.EA_PACKAGEABLE_ELEMENT__BASE_PACKAGEABLE_ELEMENT;
/**
- * The feature id for the '<em><b>Dimension</b></em>' attribute.
+ * The feature id for the '<em><b>Amount Of Substance Exp</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int RANGEABLE_VALUE_TYPE__DIMENSION = VALUE_TYPE__DIMENSION;
+ int QUANTITY__AMOUNT_OF_SUBSTANCE_EXP = ElementsPackage.EA_PACKAGEABLE_ELEMENT_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Unit</b></em>' attribute.
+ * The feature id for the '<em><b>Electric Current Exp</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int RANGEABLE_VALUE_TYPE__UNIT = VALUE_TYPE__UNIT;
+ int QUANTITY__ELECTRIC_CURRENT_EXP = ElementsPackage.EA_PACKAGEABLE_ELEMENT_FEATURE_COUNT + 1;
/**
- * The feature id for the '<em><b>Accuracy</b></em>' attribute.
+ * The feature id for the '<em><b>Lenght Exp</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int RANGEABLE_VALUE_TYPE__ACCURACY = VALUE_TYPE_FEATURE_COUNT + 0;
+ int QUANTITY__LENGHT_EXP = ElementsPackage.EA_PACKAGEABLE_ELEMENT_FEATURE_COUNT + 2;
/**
- * The feature id for the '<em><b>Resolution</b></em>' attribute.
+ * The feature id for the '<em><b>Luminous Intensity Exp</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int RANGEABLE_VALUE_TYPE__RESOLUTION = VALUE_TYPE_FEATURE_COUNT + 1;
+ int QUANTITY__LUMINOUS_INTENSITY_EXP = ElementsPackage.EA_PACKAGEABLE_ELEMENT_FEATURE_COUNT + 3;
/**
- * The feature id for the '<em><b>Significant Digits</b></em>' attribute.
+ * The feature id for the '<em><b>Mass Exp</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int RANGEABLE_VALUE_TYPE__SIGNIFICANT_DIGITS = VALUE_TYPE_FEATURE_COUNT + 2;
+ int QUANTITY__MASS_EXP = ElementsPackage.EA_PACKAGEABLE_ELEMENT_FEATURE_COUNT + 4;
/**
- * The number of structural features of the '<em>Rangeable Value Type</em>' class.
+ * The feature id for the '<em><b>Thermodynamic Temperature Exp</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int QUANTITY__THERMODYNAMIC_TEMPERATURE_EXP = ElementsPackage.EA_PACKAGEABLE_ELEMENT_FEATURE_COUNT + 5;
+
+ /**
+ * The feature id for the '<em><b>Time Exp</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int RANGEABLE_VALUE_TYPE_FEATURE_COUNT = VALUE_TYPE_FEATURE_COUNT + 3;
+ int QUANTITY__TIME_EXP = ElementsPackage.EA_PACKAGEABLE_ELEMENT_FEATURE_COUNT + 6;
/**
- * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EnumerationValueTypeImpl
- * <em>Enumeration Value Type</em>}' class.
+ * The number of structural features of the '<em>Quantity</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EnumerationValueTypeImpl
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getEnumerationValueType()
* @generated
+ * @ordered
*/
- int ENUMERATION_VALUE_TYPE = 5;
+ int QUANTITY_FEATURE_COUNT = ElementsPackage.EA_PACKAGEABLE_ELEMENT_FEATURE_COUNT + 7;
/**
- * The feature id for the '<em><b>Name</b></em>' attribute.
+ * The number of operations of the '<em>Quantity</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int ENUMERATION_VALUE_TYPE__NAME = VALUE_TYPE__NAME;
+ int QUANTITY_OPERATION_COUNT = ElementsPackage.EA_PACKAGEABLE_ELEMENT_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.RangeableValueTypeImpl <em>Rangeable Value Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.RangeableValueTypeImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getRangeableValueType()
+ * @generated
+ */
+ int RANGEABLE_VALUE_TYPE = 5;
/**
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int ENUMERATION_VALUE_TYPE__BASE_NAMED_ELEMENT = VALUE_TYPE__BASE_NAMED_ELEMENT;
+ int RANGEABLE_VALUE_TYPE__BASE_NAMED_ELEMENT = EA_DATATYPE__BASE_NAMED_ELEMENT;
/**
- * The feature id for the '<em><b>Owned Comment</b></em>' reference list.
+ * The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int ENUMERATION_VALUE_TYPE__OWNED_COMMENT = VALUE_TYPE__OWNED_COMMENT;
+ int RANGEABLE_VALUE_TYPE__NAME = EA_DATATYPE__NAME;
/**
- * The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
+ * The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int ENUMERATION_VALUE_TYPE__BASE_PACKAGEABLE_ELEMENT = VALUE_TYPE__BASE_PACKAGEABLE_ELEMENT;
+ int RANGEABLE_VALUE_TYPE__OWNED_COMMENT = EA_DATATYPE__OWNED_COMMENT;
/**
- * The feature id for the '<em><b>Note</b></em>' attribute.
+ * The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int ENUMERATION_VALUE_TYPE__NOTE = VALUE_TYPE__NOTE;
+ int RANGEABLE_VALUE_TYPE__BASE_PACKAGEABLE_ELEMENT = EA_DATATYPE__BASE_PACKAGEABLE_ELEMENT;
/**
- * The feature id for the '<em><b>Base Data Type</b></em>' reference.
+ * The feature id for the '<em><b>Note</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int ENUMERATION_VALUE_TYPE__BASE_DATA_TYPE = VALUE_TYPE__BASE_DATA_TYPE;
+ int RANGEABLE_VALUE_TYPE__NOTE = EA_DATATYPE__NOTE;
/**
- * The feature id for the '<em><b>Semantics</b></em>' attribute.
+ * The feature id for the '<em><b>Base Data Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int ENUMERATION_VALUE_TYPE__SEMANTICS = VALUE_TYPE__SEMANTICS;
+ int RANGEABLE_VALUE_TYPE__BASE_DATA_TYPE = EA_DATATYPE__BASE_DATA_TYPE;
/**
- * The feature id for the '<em><b>Dimension</b></em>' attribute.
+ * The feature id for the '<em><b>Accuracy</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int ENUMERATION_VALUE_TYPE__DIMENSION = VALUE_TYPE__DIMENSION;
+ int RANGEABLE_VALUE_TYPE__ACCURACY = EA_DATATYPE_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Unit</b></em>' attribute.
+ * The feature id for the '<em><b>Resolution</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int ENUMERATION_VALUE_TYPE__UNIT = VALUE_TYPE__UNIT;
+ int RANGEABLE_VALUE_TYPE__RESOLUTION = EA_DATATYPE_FEATURE_COUNT + 1;
/**
- * The feature id for the '<em><b>Is Multi Valued</b></em>' attribute.
+ * The feature id for the '<em><b>Significant Digits</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int ENUMERATION_VALUE_TYPE__IS_MULTI_VALUED = VALUE_TYPE_FEATURE_COUNT + 0;
+ int RANGEABLE_VALUE_TYPE__SIGNIFICANT_DIGITS = EA_DATATYPE_FEATURE_COUNT + 2;
/**
- * The feature id for the '<em><b>Literal Semantics</b></em>' attribute list.
+ * The feature id for the '<em><b>Base Rangeable</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int ENUMERATION_VALUE_TYPE__LITERAL_SEMANTICS = VALUE_TYPE_FEATURE_COUNT + 1;
+ int RANGEABLE_VALUE_TYPE__BASE_RANGEABLE = EA_DATATYPE_FEATURE_COUNT + 3;
/**
- * The feature id for the '<em><b>Base Enumeration</b></em>' reference.
+ * The number of structural features of the '<em>Rangeable Value Type</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int ENUMERATION_VALUE_TYPE__BASE_ENUMERATION = VALUE_TYPE_FEATURE_COUNT + 2;
+ int RANGEABLE_VALUE_TYPE_FEATURE_COUNT = EA_DATATYPE_FEATURE_COUNT + 4;
/**
- * The number of structural features of the '<em>Enumeration Value Type</em>' class.
+ * The number of operations of the '<em>Rangeable Value Type</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int ENUMERATION_VALUE_TYPE_FEATURE_COUNT = VALUE_TYPE_FEATURE_COUNT + 3;
+ int RANGEABLE_VALUE_TYPE_OPERATION_COUNT = EA_DATATYPE_OPERATION_COUNT + 0;
/**
- * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.CompositeDatatypeImpl <em>Composite Datatype</em>}
- * ' class.
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.CompositeDatatypeImpl <em>Composite Datatype</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.CompositeDatatypeImpl
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getCompositeDatatype()
* @generated
@@ -1089,30 +1101,27 @@ public interface DatatypesPackage extends EPackage {
int COMPOSITE_DATATYPE = 6;
/**
- * The feature id for the '<em><b>Name</b></em>' attribute.
+ * The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int COMPOSITE_DATATYPE__NAME = EA_DATATYPE__NAME;
+ int COMPOSITE_DATATYPE__BASE_NAMED_ELEMENT = EA_DATATYPE__BASE_NAMED_ELEMENT;
/**
- * The feature id for the '<em><b>Base Named Element</b></em>' reference.
+ * The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int COMPOSITE_DATATYPE__BASE_NAMED_ELEMENT = EA_DATATYPE__BASE_NAMED_ELEMENT;
+ int COMPOSITE_DATATYPE__NAME = EA_DATATYPE__NAME;
/**
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -1122,7 +1131,6 @@ public interface DatatypesPackage extends EPackage {
* The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -1132,7 +1140,6 @@ public interface DatatypesPackage extends EPackage {
* The feature id for the '<em><b>Note</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -1142,17 +1149,15 @@ public interface DatatypesPackage extends EPackage {
* The feature id for the '<em><b>Base Data Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int COMPOSITE_DATATYPE__BASE_DATA_TYPE = EA_DATATYPE__BASE_DATA_TYPE;
/**
- * The feature id for the '<em><b>Datatype Prototype</b></em>' reference list.
+ * The feature id for the '<em><b>Datatype Prototype</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -1162,17 +1167,24 @@ public interface DatatypesPackage extends EPackage {
* The number of structural features of the '<em>Composite Datatype</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int COMPOSITE_DATATYPE_FEATURE_COUNT = EA_DATATYPE_FEATURE_COUNT + 1;
/**
+ * The number of operations of the '<em>Composite Datatype</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPOSITE_DATATYPE_OPERATION_COUNT = EA_DATATYPE_OPERATION_COUNT + 0;
+
+ /**
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EAStringImpl <em>EA String</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EAStringImpl
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getEAString()
* @generated
@@ -1180,30 +1192,27 @@ public interface DatatypesPackage extends EPackage {
int EA_STRING = 7;
/**
- * The feature id for the '<em><b>Name</b></em>' attribute.
+ * The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int EA_STRING__NAME = EA_DATATYPE__NAME;
+ int EA_STRING__BASE_NAMED_ELEMENT = EA_DATATYPE__BASE_NAMED_ELEMENT;
/**
- * The feature id for the '<em><b>Base Named Element</b></em>' reference.
+ * The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int EA_STRING__BASE_NAMED_ELEMENT = EA_DATATYPE__BASE_NAMED_ELEMENT;
+ int EA_STRING__NAME = EA_DATATYPE__NAME;
/**
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -1213,7 +1222,6 @@ public interface DatatypesPackage extends EPackage {
* The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -1223,7 +1231,6 @@ public interface DatatypesPackage extends EPackage {
* The feature id for the '<em><b>Note</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -1233,7 +1240,6 @@ public interface DatatypesPackage extends EPackage {
* The feature id for the '<em><b>Base Data Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -1243,17 +1249,24 @@ public interface DatatypesPackage extends EPackage {
* The number of structural features of the '<em>EA String</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int EA_STRING_FEATURE_COUNT = EA_DATATYPE_FEATURE_COUNT + 0;
/**
+ * The number of operations of the '<em>EA String</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_STRING_OPERATION_COUNT = EA_DATATYPE_OPERATION_COUNT + 0;
+
+ /**
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EABooleanImpl <em>EA Boolean</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EABooleanImpl
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getEABoolean()
* @generated
@@ -1261,30 +1274,27 @@ public interface DatatypesPackage extends EPackage {
int EA_BOOLEAN = 8;
/**
- * The feature id for the '<em><b>Name</b></em>' attribute.
+ * The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int EA_BOOLEAN__NAME = EA_DATATYPE__NAME;
+ int EA_BOOLEAN__BASE_NAMED_ELEMENT = EA_DATATYPE__BASE_NAMED_ELEMENT;
/**
- * The feature id for the '<em><b>Base Named Element</b></em>' reference.
+ * The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int EA_BOOLEAN__BASE_NAMED_ELEMENT = EA_DATATYPE__BASE_NAMED_ELEMENT;
+ int EA_BOOLEAN__NAME = EA_DATATYPE__NAME;
/**
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -1294,7 +1304,6 @@ public interface DatatypesPackage extends EPackage {
* The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -1304,7 +1313,6 @@ public interface DatatypesPackage extends EPackage {
* The feature id for the '<em><b>Note</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -1314,7 +1322,6 @@ public interface DatatypesPackage extends EPackage {
* The feature id for the '<em><b>Base Data Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -1324,362 +1331,298 @@ public interface DatatypesPackage extends EPackage {
* The number of structural features of the '<em>EA Boolean</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int EA_BOOLEAN_FEATURE_COUNT = EA_DATATYPE_FEATURE_COUNT + 0;
/**
- * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EAFloatImpl <em>EA Float</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EAFloatImpl
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getEAFloat()
- * @generated
- */
- int EA_FLOAT = 9;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
+ * The number of operations of the '<em>EA Boolean</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int EA_FLOAT__NAME = RANGEABLE_DATATYPE__NAME;
+ int EA_BOOLEAN_OPERATION_COUNT = EA_DATATYPE_OPERATION_COUNT + 0;
/**
- * The feature id for the '<em><b>Base Named Element</b></em>' reference.
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EnumerationLiteralImpl <em>Enumeration Literal</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EnumerationLiteralImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getEnumerationLiteral()
* @generated
- * @ordered
*/
- int EA_FLOAT__BASE_NAMED_ELEMENT = RANGEABLE_DATATYPE__BASE_NAMED_ELEMENT;
+ int ENUMERATION_LITERAL = 9;
/**
- * The feature id for the '<em><b>Owned Comment</b></em>' reference list.
+ * The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int EA_FLOAT__OWNED_COMMENT = RANGEABLE_DATATYPE__OWNED_COMMENT;
+ int ENUMERATION_LITERAL__BASE_NAMED_ELEMENT = ElementsPackage.EA_ELEMENT__BASE_NAMED_ELEMENT;
/**
- * The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
+ * The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int EA_FLOAT__BASE_PACKAGEABLE_ELEMENT = RANGEABLE_DATATYPE__BASE_PACKAGEABLE_ELEMENT;
+ int ENUMERATION_LITERAL__NAME = ElementsPackage.EA_ELEMENT__NAME;
/**
- * The feature id for the '<em><b>Note</b></em>' attribute.
+ * The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int EA_FLOAT__NOTE = RANGEABLE_DATATYPE__NOTE;
+ int ENUMERATION_LITERAL__OWNED_COMMENT = ElementsPackage.EA_ELEMENT__OWNED_COMMENT;
/**
- * The feature id for the '<em><b>Base Data Type</b></em>' reference.
+ * The number of structural features of the '<em>Enumeration Literal</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int EA_FLOAT__BASE_DATA_TYPE = RANGEABLE_DATATYPE__BASE_DATA_TYPE;
+ int ENUMERATION_LITERAL_FEATURE_COUNT = ElementsPackage.EA_ELEMENT_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Min</b></em>' attribute.
+ * The number of operations of the '<em>Enumeration Literal</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int EA_FLOAT__MIN = RANGEABLE_DATATYPE_FEATURE_COUNT + 0;
+ int ENUMERATION_LITERAL_OPERATION_COUNT = ElementsPackage.EA_ELEMENT_OPERATION_COUNT + 0;
/**
- * The feature id for the '<em><b>Max</b></em>' attribute.
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EnumerationImpl <em>Enumeration</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EnumerationImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getEnumeration()
* @generated
- * @ordered
*/
- int EA_FLOAT__MAX = RANGEABLE_DATATYPE_FEATURE_COUNT + 1;
+ int ENUMERATION = 10;
/**
- * The number of structural features of the '<em>EA Float</em>' class.
+ * The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int EA_FLOAT_FEATURE_COUNT = RANGEABLE_DATATYPE_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EAIntegerImpl <em>EA Integer</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EAIntegerImpl
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getEAInteger()
- * @generated
- */
- int EA_INTEGER = 10;
+ int ENUMERATION__BASE_NAMED_ELEMENT = EA_DATATYPE__BASE_NAMED_ELEMENT;
/**
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int EA_INTEGER__NAME = RANGEABLE_DATATYPE__NAME;
-
- /**
- * The feature id for the '<em><b>Base Named Element</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EA_INTEGER__BASE_NAMED_ELEMENT = RANGEABLE_DATATYPE__BASE_NAMED_ELEMENT;
+ int ENUMERATION__NAME = EA_DATATYPE__NAME;
/**
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int EA_INTEGER__OWNED_COMMENT = RANGEABLE_DATATYPE__OWNED_COMMENT;
+ int ENUMERATION__OWNED_COMMENT = EA_DATATYPE__OWNED_COMMENT;
/**
* The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int EA_INTEGER__BASE_PACKAGEABLE_ELEMENT = RANGEABLE_DATATYPE__BASE_PACKAGEABLE_ELEMENT;
+ int ENUMERATION__BASE_PACKAGEABLE_ELEMENT = EA_DATATYPE__BASE_PACKAGEABLE_ELEMENT;
/**
* The feature id for the '<em><b>Note</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int EA_INTEGER__NOTE = RANGEABLE_DATATYPE__NOTE;
+ int ENUMERATION__NOTE = EA_DATATYPE__NOTE;
/**
* The feature id for the '<em><b>Base Data Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int EA_INTEGER__BASE_DATA_TYPE = RANGEABLE_DATATYPE__BASE_DATA_TYPE;
+ int ENUMERATION__BASE_DATA_TYPE = EA_DATATYPE__BASE_DATA_TYPE;
/**
- * The feature id for the '<em><b>Min</b></em>' attribute.
+ * The feature id for the '<em><b>Literal</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int EA_INTEGER__MIN = RANGEABLE_DATATYPE_FEATURE_COUNT + 0;
+ int ENUMERATION__LITERAL = EA_DATATYPE_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Max</b></em>' attribute.
+ * The feature id for the '<em><b>Is Multi Valued</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int EA_INTEGER__MAX = RANGEABLE_DATATYPE_FEATURE_COUNT + 1;
+ int ENUMERATION__IS_MULTI_VALUED = EA_DATATYPE_FEATURE_COUNT + 1;
/**
- * The number of structural features of the '<em>EA Integer</em>' class.
+ * The number of structural features of the '<em>Enumeration</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int EA_INTEGER_FEATURE_COUNT = RANGEABLE_DATATYPE_FEATURE_COUNT + 2;
+ int ENUMERATION_FEATURE_COUNT = EA_DATATYPE_FEATURE_COUNT + 2;
/**
- * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EnumerationLiteralImpl
- * <em>Enumeration Literal</em>}' class.
+ * The number of operations of the '<em>Enumeration</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EnumerationLiteralImpl
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getEnumerationLiteral()
* @generated
+ * @ordered
*/
- int ENUMERATION_LITERAL = 11;
+ int ENUMERATION_OPERATION_COUNT = EA_DATATYPE_OPERATION_COUNT + 0;
/**
- * The feature id for the '<em><b>Name</b></em>' attribute.
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.ArrayDataTypeImpl <em>Array Data Type</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.ArrayDataTypeImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getArrayDataType()
* @generated
- * @ordered
*/
- int ENUMERATION_LITERAL__NAME = ElementsPackage.EA_ELEMENT__NAME;
+ int ARRAY_DATA_TYPE = 11;
/**
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int ENUMERATION_LITERAL__BASE_NAMED_ELEMENT = ElementsPackage.EA_ELEMENT__BASE_NAMED_ELEMENT;
+ int ARRAY_DATA_TYPE__BASE_NAMED_ELEMENT = EA_DATATYPE__BASE_NAMED_ELEMENT;
/**
- * The feature id for the '<em><b>Owned Comment</b></em>' reference list.
+ * The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int ENUMERATION_LITERAL__OWNED_COMMENT = ElementsPackage.EA_ELEMENT__OWNED_COMMENT;
+ int ARRAY_DATA_TYPE__NAME = EA_DATATYPE__NAME;
/**
- * The number of structural features of the '<em>Enumeration Literal</em>' class.
+ * The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int ENUMERATION_LITERAL_FEATURE_COUNT = ElementsPackage.EA_ELEMENT_FEATURE_COUNT + 0;
+ int ARRAY_DATA_TYPE__OWNED_COMMENT = EA_DATATYPE__OWNED_COMMENT;
/**
- * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EnumerationImpl <em>Enumeration</em>}' class.
+ * The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EnumerationImpl
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getEnumeration()
* @generated
+ * @ordered
*/
- int ENUMERATION = 12;
+ int ARRAY_DATA_TYPE__BASE_PACKAGEABLE_ELEMENT = EA_DATATYPE__BASE_PACKAGEABLE_ELEMENT;
/**
- * The feature id for the '<em><b>Name</b></em>' attribute.
+ * The feature id for the '<em><b>Note</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int ENUMERATION__NAME = EA_DATATYPE__NAME;
+ int ARRAY_DATA_TYPE__NOTE = EA_DATATYPE__NOTE;
/**
- * The feature id for the '<em><b>Base Named Element</b></em>' reference.
+ * The feature id for the '<em><b>Base Data Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int ENUMERATION__BASE_NAMED_ELEMENT = EA_DATATYPE__BASE_NAMED_ELEMENT;
+ int ARRAY_DATA_TYPE__BASE_DATA_TYPE = EA_DATATYPE__BASE_DATA_TYPE;
/**
- * The feature id for the '<em><b>Owned Comment</b></em>' reference list.
+ * The feature id for the '<em><b>Max Lenght</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int ENUMERATION__OWNED_COMMENT = EA_DATATYPE__OWNED_COMMENT;
+ int ARRAY_DATA_TYPE__MAX_LENGHT = EA_DATATYPE_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
+ * The feature id for the '<em><b>Min Lenght</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int ENUMERATION__BASE_PACKAGEABLE_ELEMENT = EA_DATATYPE__BASE_PACKAGEABLE_ELEMENT;
+ int ARRAY_DATA_TYPE__MIN_LENGHT = EA_DATATYPE_FEATURE_COUNT + 1;
/**
- * The feature id for the '<em><b>Note</b></em>' attribute.
+ * The feature id for the '<em><b>Element Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int ENUMERATION__NOTE = EA_DATATYPE__NOTE;
+ int ARRAY_DATA_TYPE__ELEMENT_TYPE = EA_DATATYPE_FEATURE_COUNT + 2;
/**
- * The feature id for the '<em><b>Base Data Type</b></em>' reference.
+ * The number of structural features of the '<em>Array Data Type</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int ENUMERATION__BASE_DATA_TYPE = EA_DATATYPE__BASE_DATA_TYPE;
+ int ARRAY_DATA_TYPE_FEATURE_COUNT = EA_DATATYPE_FEATURE_COUNT + 3;
/**
- * The feature id for the '<em><b>Literal</b></em>' containment reference list.
+ * The number of operations of the '<em>Array Data Type</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int ENUMERATION__LITERAL = EA_DATATYPE_FEATURE_COUNT + 0;
+ int ARRAY_DATA_TYPE_OPERATION_COUNT = EA_DATATYPE_OPERATION_COUNT + 0;
/**
- * The number of structural features of the '<em>Enumeration</em>' class.
+ * The meta object id for the '<em>Numerical</em>' data type.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ * @see java.lang.Float
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getNumerical()
* @generated
- * @ordered
*/
- int ENUMERATION_FEATURE_COUNT = EA_DATATYPE_FEATURE_COUNT + 1;
+ int NUMERICAL = 12;
/**
* The meta object id for the '<em>javalang Float</em>' data type.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see java.lang.Float
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl#getjavalangFloat()
* @generated
@@ -1691,7 +1634,6 @@ public interface DatatypesPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatype <em>EA Datatype</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for class '<em>EA Datatype</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatype
* @generated
@@ -1699,11 +1641,9 @@ public interface DatatypesPackage extends EPackage {
EClass getEADatatype();
/**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatype#getBase_DataType
- * <em>Base Data Type</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatype#getBase_DataType <em>Base Data Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the reference '<em>Base Data Type</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatype#getBase_DataType()
* @see #getEADatatype()
@@ -1712,11 +1652,9 @@ public interface DatatypesPackage extends EPackage {
EReference getEADatatype_Base_DataType();
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatypePrototype
- * <em>EA Datatype Prototype</em>}'.
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatypePrototype <em>EA Datatype Prototype</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for class '<em>EA Datatype Prototype</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatypePrototype
* @generated
@@ -1724,11 +1662,9 @@ public interface DatatypesPackage extends EPackage {
EClass getEADatatypePrototype();
/**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatypePrototype#getType
- * <em>Type</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatypePrototype#getType <em>Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the reference '<em>Type</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatypePrototype#getType()
* @see #getEADatatypePrototype()
@@ -1737,11 +1673,9 @@ public interface DatatypesPackage extends EPackage {
EReference getEADatatypePrototype_Type();
/**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatypePrototype#getBase_Property
- * <em>Base Property</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatypePrototype#getBase_Property <em>Base Property</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the reference '<em>Base Property</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatypePrototype#getBase_Property()
* @see #getEADatatypePrototype()
@@ -1750,11 +1684,9 @@ public interface DatatypesPackage extends EPackage {
EReference getEADatatypePrototype_Base_Property();
/**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatypePrototype#getBase_Parameter
- * <em>Base Parameter</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatypePrototype#getBase_Parameter <em>Base Parameter</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the reference '<em>Base Parameter</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatypePrototype#getBase_Parameter()
* @see #getEADatatypePrototype()
@@ -1763,137 +1695,254 @@ public interface DatatypesPackage extends EPackage {
EReference getEADatatypePrototype_Base_Parameter();
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.CompositeDatatype <em>Composite Datatype</em>}'.
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EANumerical <em>EA Numerical</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Composite Datatype</em>'.
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.CompositeDatatype
+ * @return the meta object for class '<em>EA Numerical</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.EANumerical
* @generated
*/
- EClass getCompositeDatatype();
+ EClass getEANumerical();
/**
- * Returns the meta object for the reference list '
- * {@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.CompositeDatatype#getDatatypePrototype <em>Datatype Prototype</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EANumerical#getMax <em>Max</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for the reference list '<em>Datatype Prototype</em>'.
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.CompositeDatatype#getDatatypePrototype()
- * @see #getCompositeDatatype()
+ * @return the meta object for the attribute '<em>Max</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.EANumerical#getMax()
+ * @see #getEANumerical()
* @generated
*/
- EReference getCompositeDatatype_DatatypePrototype();
+ EAttribute getEANumerical_Max();
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAString <em>EA String</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EANumerical#getMin <em>Min</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>EA String</em>'.
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAString
+ * @return the meta object for the attribute '<em>Min</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.EANumerical#getMin()
+ * @see #getEANumerical()
* @generated
*/
- EClass getEAString();
+ EAttribute getEANumerical_Min();
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EABoolean <em>EA Boolean</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EANumerical#getUnit <em>Unit</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>EA Boolean</em>'.
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.EABoolean
+ * @return the meta object for the reference '<em>Unit</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.EANumerical#getUnit()
+ * @see #getEANumerical()
* @generated
*/
- EClass getEABoolean();
+ EReference getEANumerical_Unit();
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAFloat <em>EA Float</em>}'.
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Unit <em>Unit</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>EA Float</em>'.
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAFloat
+ * @return the meta object for class '<em>Unit</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.Unit
* @generated
*/
- EClass getEAFloat();
+ EClass getUnit();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAFloat#getMin <em>Min</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Unit#getFactor <em>Factor</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Min</em>'.
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAFloat#getMin()
- * @see #getEAFloat()
+ * @return the meta object for the attribute '<em>Factor</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.Unit#getFactor()
+ * @see #getUnit()
* @generated
*/
- EAttribute getEAFloat_Min();
+ EAttribute getUnit_Factor();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAFloat#getMax <em>Max</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Unit#getOffset <em>Offset</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Max</em>'.
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAFloat#getMax()
- * @see #getEAFloat()
+ * @return the meta object for the attribute '<em>Offset</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.Unit#getOffset()
+ * @see #getUnit()
* @generated
*/
- EAttribute getEAFloat_Max();
+ EAttribute getUnit_Offset();
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAInteger <em>EA Integer</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Unit#getSymbol <em>Symbol</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>EA Integer</em>'.
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAInteger
+ * @return the meta object for the attribute '<em>Symbol</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.Unit#getSymbol()
+ * @see #getUnit()
* @generated
*/
- EClass getEAInteger();
+ EAttribute getUnit_Symbol();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAInteger#getMin <em>Min</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Unit#getQuantity <em>Quantity</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Min</em>'.
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAInteger#getMin()
- * @see #getEAInteger()
+ * @return the meta object for the reference '<em>Quantity</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.Unit#getQuantity()
+ * @see #getUnit()
* @generated
*/
- EAttribute getEAInteger_Min();
+ EReference getUnit_Quantity();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAInteger#getMax <em>Max</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Unit#getReference <em>Reference</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Max</em>'.
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAInteger#getMax()
- * @see #getEAInteger()
+ * @return the meta object for the reference '<em>Reference</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.Unit#getReference()
+ * @see #getUnit()
+ * @generated
+ */
+ EReference getUnit_Reference();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity <em>Quantity</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Quantity</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity
+ * @generated
+ */
+ EClass getQuantity();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity#getAmountOfSubstanceExp <em>Amount Of Substance Exp</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Amount Of Substance Exp</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity#getAmountOfSubstanceExp()
+ * @see #getQuantity()
+ * @generated
+ */
+ EAttribute getQuantity_AmountOfSubstanceExp();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity#getElectricCurrentExp <em>Electric Current Exp</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Electric Current Exp</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity#getElectricCurrentExp()
+ * @see #getQuantity()
+ * @generated
+ */
+ EAttribute getQuantity_ElectricCurrentExp();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity#getLenghtExp <em>Lenght Exp</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Lenght Exp</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity#getLenghtExp()
+ * @see #getQuantity()
+ * @generated
+ */
+ EAttribute getQuantity_LenghtExp();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity#getLuminousIntensityExp <em>Luminous Intensity Exp</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Luminous Intensity Exp</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity#getLuminousIntensityExp()
+ * @see #getQuantity()
* @generated
*/
- EAttribute getEAInteger_Max();
+ EAttribute getQuantity_LuminousIntensityExp();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity#getMassExp <em>Mass Exp</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Mass Exp</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity#getMassExp()
+ * @see #getQuantity()
+ * @generated
+ */
+ EAttribute getQuantity_MassExp();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity#getThermodynamicTemperatureExp <em>Thermodynamic Temperature Exp</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Thermodynamic Temperature Exp</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity#getThermodynamicTemperatureExp()
+ * @see #getQuantity()
+ * @generated
+ */
+ EAttribute getQuantity_ThermodynamicTemperatureExp();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity#getTimeExp <em>Time Exp</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Time Exp</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity#getTimeExp()
+ * @see #getQuantity()
+ * @generated
+ */
+ EAttribute getQuantity_TimeExp();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.CompositeDatatype <em>Composite Datatype</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Composite Datatype</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.CompositeDatatype
+ * @generated
+ */
+ EClass getCompositeDatatype();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.CompositeDatatype#getDatatypePrototype <em>Datatype Prototype</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Datatype Prototype</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.CompositeDatatype#getDatatypePrototype()
+ * @see #getCompositeDatatype()
+ * @generated
+ */
+ EReference getCompositeDatatype_DatatypePrototype();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAString <em>EA String</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EA String</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAString
+ * @generated
+ */
+ EClass getEAString();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EABoolean <em>EA Boolean</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EA Boolean</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.EABoolean
+ * @generated
+ */
+ EClass getEABoolean();
/**
* 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
*/
DatatypesFactory getDatatypesFactory();
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EnumerationLiteral <em>Enumeration Literal</em>}
- * '.
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EnumerationLiteral <em>Enumeration Literal</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for class '<em>Enumeration Literal</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.EnumerationLiteral
* @generated
@@ -1904,7 +1953,6 @@ public interface DatatypesPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Enumeration <em>Enumeration</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for class '<em>Enumeration</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.Enumeration
* @generated
@@ -1912,11 +1960,9 @@ public interface DatatypesPackage extends EPackage {
EClass getEnumeration();
/**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Enumeration#getLiteral
- * <em>Literal</em>}'.
+ * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Enumeration#getLiteral <em>Literal</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the containment reference list '<em>Literal</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.Enumeration#getLiteral()
* @see #getEnumeration()
@@ -1925,85 +1971,85 @@ public interface DatatypesPackage extends EPackage {
EReference getEnumeration_Literal();
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EnumerationValueType
- * <em>Enumeration Value Type</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Enumeration#isIsMultiValued <em>Is Multi Valued</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Enumeration Value Type</em>'.
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.EnumerationValueType
+ * @return the meta object for the attribute '<em>Is Multi Valued</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.Enumeration#isIsMultiValued()
+ * @see #getEnumeration()
* @generated
*/
- EClass getEnumerationValueType();
+ EAttribute getEnumeration_IsMultiValued();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EnumerationValueType#isIsMultiValued
- * <em>Is Multi Valued</em>}'.
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.ArrayDataType <em>Array Data Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Is Multi Valued</em>'.
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.EnumerationValueType#isIsMultiValued()
- * @see #getEnumerationValueType()
+ * @return the meta object for class '<em>Array Data Type</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.ArrayDataType
* @generated
*/
- EAttribute getEnumerationValueType_IsMultiValued();
+ EClass getArrayDataType();
/**
- * Returns the meta object for the attribute list '
- * {@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EnumerationValueType#getLiteralSemantics <em>Literal Semantics</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.ArrayDataType#getMaxLenght <em>Max Lenght</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for the attribute list '<em>Literal Semantics</em>'.
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.EnumerationValueType#getLiteralSemantics()
- * @see #getEnumerationValueType()
+ * @return the meta object for the attribute '<em>Max Lenght</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.ArrayDataType#getMaxLenght()
+ * @see #getArrayDataType()
* @generated
*/
- EAttribute getEnumerationValueType_LiteralSemantics();
+ EAttribute getArrayDataType_MaxLenght();
/**
- * Returns the meta object for the reference '
- * {@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EnumerationValueType#getBase_Enumeration <em>Base Enumeration</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.ArrayDataType#getMinLenght <em>Min Lenght</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for the reference '<em>Base Enumeration</em>'.
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.EnumerationValueType#getBase_Enumeration()
- * @see #getEnumerationValueType()
+ * @return the meta object for the attribute '<em>Min Lenght</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.ArrayDataType#getMinLenght()
+ * @see #getArrayDataType()
* @generated
*/
- EReference getEnumerationValueType_Base_Enumeration();
+ EAttribute getArrayDataType_MinLenght();
/**
- * Returns the meta object for data type '{@link java.lang.Float <em>javalang Float</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.ArrayDataType#getElementType <em>Element Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for data type '<em>javalang Float</em>'.
+ * @return the meta object for the reference '<em>Element Type</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.ArrayDataType#getElementType()
+ * @see #getArrayDataType()
+ * @generated
+ */
+ EReference getArrayDataType_ElementType();
+
+ /**
+ * Returns the meta object for data type '{@link java.lang.Float <em>Numerical</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for data type '<em>Numerical</em>'.
* @see java.lang.Float
* @model instanceClass="java.lang.Float"
* @generated
*/
- EDataType getjavalangFloat();
+ EDataType getNumerical();
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableDatatype <em>Rangeable Datatype</em>}'.
+ * Returns the meta object for data type '{@link java.lang.Float <em>javalang Float</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Rangeable Datatype</em>'.
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableDatatype
+ * @return the meta object for data type '<em>javalang Float</em>'.
+ * @see java.lang.Float
+ * @model instanceClass="java.lang.Float"
* @generated
*/
- EClass getRangeableDatatype();
+ EDataType getjavalangFloat();
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableValueType
- * <em>Rangeable Value Type</em>}'.
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableValueType <em>Rangeable Value Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for class '<em>Rangeable Value Type</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableValueType
* @generated
@@ -2011,11 +2057,9 @@ public interface DatatypesPackage extends EPackage {
EClass getRangeableValueType();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableValueType#getAccuracy
- * <em>Accuracy</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableValueType#getAccuracy <em>Accuracy</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the attribute '<em>Accuracy</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableValueType#getAccuracy()
* @see #getRangeableValueType()
@@ -2024,11 +2068,9 @@ public interface DatatypesPackage extends EPackage {
EAttribute getRangeableValueType_Accuracy();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableValueType#getResolution
- * <em>Resolution</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableValueType#getResolution <em>Resolution</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the attribute '<em>Resolution</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableValueType#getResolution()
* @see #getRangeableValueType()
@@ -2037,11 +2079,9 @@ public interface DatatypesPackage extends EPackage {
EAttribute getRangeableValueType_Resolution();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableValueType#getSignificantDigits
- * <em>Significant Digits</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableValueType#getSignificantDigits <em>Significant Digits</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the attribute '<em>Significant Digits</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableValueType#getSignificantDigits()
* @see #getRangeableValueType()
@@ -2050,52 +2090,14 @@ public interface DatatypesPackage extends EPackage {
EAttribute getRangeableValueType_SignificantDigits();
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.ValueType <em>Value Type</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableValueType#getBaseRangeable <em>Base Rangeable</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Value Type</em>'.
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.ValueType
- * @generated
- */
- EClass getValueType();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.ValueType#getSemantics
- * <em>Semantics</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Semantics</em>'.
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.ValueType#getSemantics()
- * @see #getValueType()
- * @generated
- */
- EAttribute getValueType_Semantics();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.ValueType#getDimension
- * <em>Dimension</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Dimension</em>'.
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.ValueType#getDimension()
- * @see #getValueType()
- * @generated
- */
- EAttribute getValueType_Dimension();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.ValueType#getUnit <em>Unit</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Unit</em>'.
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.ValueType#getUnit()
- * @see #getValueType()
+ * @return the meta object for the reference '<em>Base Rangeable</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableValueType#getBaseRangeable()
+ * @see #getRangeableValueType()
* @generated
*/
- EAttribute getValueType_Unit();
+ EReference getRangeableValueType_BaseRangeable();
} //DatatypesPackage
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EABoolean.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EABoolean.java
index 4fafc4eb1a7..c594d123875 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EABoolean.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EABoolean.java
@@ -20,8 +20,8 @@ package org.eclipse.papyrus.eastadl.infrastructure.datatypes;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>EA Boolean</b></em>'.
* <!-- end-user-doc -->
- *
- *
+ *
+ *
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getEABoolean()
* @model
* @generated
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EADatatype.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EADatatype.java
index c644cce1e28..add59a22ae6 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EADatatype.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EADatatype.java
@@ -23,47 +23,40 @@ import org.eclipse.uml2.uml.DataType;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>EA Datatype</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <!-- begin-model-doc -->
- * The EADatatype is a metaclass, which signifies a type whose instances are identified only by their value. The EADatatype metaclass represents the
- * description of the value set for some variable, parameter etc. without a description of how these possible values are represented on implementation
- * level. The implementation representation is defined on implementation level by the AUTOSAR concept PrimitiveTypeWithSemantics, and the implemented
- * datatype shall be associated with a Realization relationship. The realizing datatype must match the EADatatype regarding range, resolution, unit,
- * and dimension.
+ * The EADatatype is a metaclass, which signifies a type whose instances are identified only by their value. The EADatatype metaclass represents the description of the value set for some variable, parameter etc. without a description of how these possible values are represented on implementation level. The implementation representation is defined on implementation level by the AUTOSAR concept PrimitiveTypeWithSemantics, and the implemented datatype shall be associated with a Realization relationship. The realizing datatype must match the EADatatype regarding range, resolution, unit, and dimension.
*
* Semantics:
- * EADatatype metaclass is a special kind of classifier, similar to a class. It differs from the class in that instances of a data type are identified
- * only by their value.
+ * EADatatype metaclass is a special kind of classifier, similar to a class. It differs from the class in that instances of a data type are identified only by their value.
*
* Constraints:
- * [1] In the case of an AR implementation, an EADatatype is realized generally by PrimitiveTypeWithSemantics, which has to be consistent w.r.t.
- * range, resolution, etc.
+ * [1] In the case of an AR implementation, an EADatatype is realized generally by PrimitiveTypeWithSemantics, which has to be consistent w.r.t. range, resolution, etc.
*
* Notation:
- * The EADatatype is denoted using the rectangle symbol with keyword «Datatype».
+ * The EADatatype is denoted using the rectangle symbol with keyword «Datatype».
* <!-- end-model-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatype#getBase_DataType <em>Base Data Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatype#getBase_DataType <em>Base Data Type</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getEADatatype()
* @model abstract="true"
* @generated
*/
public interface EADatatype extends TraceableSpecification {
-
/**
* Returns the value of the '<em><b>Base Data Type</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Data Type</em>' reference isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Base Data 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>Base Data Type</em>' reference.
* @see #setBase_DataType(DataType)
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getEADatatype_Base_DataType()
@@ -73,13 +66,10 @@ public interface EADatatype extends TraceableSpecification {
DataType getBase_DataType();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatype#getBase_DataType <em>Base Data Type</em>}'
- * reference.
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatype#getBase_DataType <em>Base Data Type</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Base Data Type</em>' reference.
+ * @param value the new value of the '<em>Base Data Type</em>' reference.
* @see #getBase_DataType()
* @generated
*/
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EADatatypePrototype.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EADatatypePrototype.java
index 4285303c4ee..6dbe85c64eb 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EADatatypePrototype.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EADatatypePrototype.java
@@ -24,41 +24,38 @@ import org.eclipse.uml2.uml.Property;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>EA Datatype Prototype</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <!-- begin-model-doc -->
- * The EADatatypePrototype represents a typed variable. An example is a composite datatype ColorValue with parts R, G, and B of type integer.
- * ColorValue would contain three prototypes only to be able to reference the record parts by name. The EADatatypePrototype is also used to represent
- * argument and return values of operations or to represent a parameter.
+ * The EADatatypePrototype represents a typed variable. An example is a composite datatype ColorValue with parts R, G, and B of type integer. ColorValue would contain three prototypes only to be able to reference the record parts by name. The EADatatypePrototype is also used to represent argument and return values of operations or to represent a parameter.
*
* Semantics:
* The EADatatypePrototype represents a typed variable. It acts as an occurrence of a datatype.
*
* Extension: Property
* <!-- end-model-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatypePrototype#getType <em>Type</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatypePrototype#getBase_Property <em>Base Property</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatypePrototype#getBase_Parameter <em>Base Parameter</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatypePrototype#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatypePrototype#getBase_Property <em>Base Property</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatypePrototype#getBase_Parameter <em>Base Parameter</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getEADatatypePrototype()
* @model
* @generated
*/
public interface EADatatypePrototype extends EAElement {
-
/**
* Returns the value of the '<em><b>Base Parameter</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Parameter</em>' reference isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Base Parameter</em>' reference isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @return the value of the '<em>Base Parameter</em>' reference.
* @see #setBase_Parameter(Parameter)
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getEADatatypePrototype_Base_Parameter()
@@ -71,10 +68,10 @@ public interface EADatatypePrototype extends EAElement {
* Returns the value of the '<em><b>Base Property</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Property</em>' reference isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Base Property</em>' reference isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @return the value of the '<em>Base Property</em>' reference.
* @see #setBase_Property(Property)
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getEADatatypePrototype_Base_Property()
@@ -87,10 +84,10 @@ public interface EADatatypePrototype extends EAElement {
* 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...
+ * 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(EADatatype)
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getEADatatypePrototype_Type()
@@ -100,26 +97,20 @@ public interface EADatatypePrototype extends EAElement {
EADatatype getType();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatypePrototype#getBase_Parameter
- * <em>Base Parameter</em>}' reference.
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatypePrototype#getBase_Parameter <em>Base Parameter</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Base Parameter</em>' reference.
+ * @param value the new value of the '<em>Base Parameter</em>' reference.
* @see #getBase_Parameter()
* @generated
*/
void setBase_Parameter(Parameter value);
/**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatypePrototype#getBase_Property <em>Base Property</em>}
- * ' reference.
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatypePrototype#getBase_Property <em>Base Property</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Base Property</em>' reference.
+ * @param value the new value of the '<em>Base Property</em>' reference.
* @see #getBase_Property()
* @generated
*/
@@ -129,9 +120,7 @@ public interface EADatatypePrototype extends EAElement {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatypePrototype#getType <em>Type</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Type</em>' reference.
+ * @param value the new value of the '<em>Type</em>' reference.
* @see #getType()
* @generated
*/
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EAFloat.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EAFloat.java
deleted file mode 100644
index aa2b4d97589..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EAFloat.java
+++ /dev/null
@@ -1,94 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Sara TUCCI (CEA LIST) sara.tucci@cea.fr - Initial API and implementation
- * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
- * David SERVAT (CEA LIST) david.servat@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.eastadl.infrastructure.datatypes;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>EA Float</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAFloat#getMin <em>Min</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAFloat#getMax <em>Max</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getEAFloat()
- * @model
- * @generated
- */
-public interface EAFloat extends RangeableDatatype {
-
- /**
- * Returns the value of the '<em><b>Max</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Max</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Max</em>' attribute.
- * @see #setMax(Float)
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getEAFloat_Max()
- * @model unique="false" dataType="org.eclipse.papyrus.eastadl.infrastructure.datatypes.javalangFloat" ordered="false"
- * @generated
- */
- Float getMax();
-
- /**
- * Returns the value of the '<em><b>Min</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Min</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Min</em>' attribute.
- * @see #setMin(Float)
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getEAFloat_Min()
- * @model unique="false" dataType="org.eclipse.papyrus.eastadl.infrastructure.datatypes.javalangFloat" ordered="false"
- * @generated
- */
- Float getMin();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAFloat#getMax <em>Max</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Max</em>' attribute.
- * @see #getMax()
- * @generated
- */
- void setMax(Float value);
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAFloat#getMin <em>Min</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Min</em>' attribute.
- * @see #getMin()
- * @generated
- */
- void setMin(Float value);
-
-} // EAFloat
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EAInteger.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EAInteger.java
deleted file mode 100644
index bb5afbdd5bc..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EAInteger.java
+++ /dev/null
@@ -1,94 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Sara TUCCI (CEA LIST) sara.tucci@cea.fr - Initial API and implementation
- * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
- * David SERVAT (CEA LIST) david.servat@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.eastadl.infrastructure.datatypes;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>EA Integer</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAInteger#getMin <em>Min</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAInteger#getMax <em>Max</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getEAInteger()
- * @model
- * @generated
- */
-public interface EAInteger extends RangeableDatatype {
-
- /**
- * Returns the value of the '<em><b>Max</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Max</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Max</em>' attribute.
- * @see #setMax(int)
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getEAInteger_Max()
- * @model unique="false" dataType="org.eclipse.uml2.types.Integer" ordered="false"
- * @generated
- */
- int getMax();
-
- /**
- * Returns the value of the '<em><b>Min</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Min</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Min</em>' attribute.
- * @see #setMin(int)
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getEAInteger_Min()
- * @model unique="false" dataType="org.eclipse.uml2.types.Integer" ordered="false"
- * @generated
- */
- int getMin();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAInteger#getMax <em>Max</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Max</em>' attribute.
- * @see #getMax()
- * @generated
- */
- void setMax(int value);
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAInteger#getMin <em>Min</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Min</em>' attribute.
- * @see #getMin()
- * @generated
- */
- void setMin(int value);
-
-} // EAInteger
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EANumerical.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EANumerical.java
new file mode 100644
index 00000000000..52a5fd9ffb9
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EANumerical.java
@@ -0,0 +1,109 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.datatypes;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EA Numerical</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * Datatype for numerical values.
+ *
+ * Extension: UML Datatype
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EANumerical#getMax <em>Max</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EANumerical#getMin <em>Min</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EANumerical#getUnit <em>Unit</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getEANumerical()
+ * @model
+ * @generated
+ */
+public interface EANumerical extends EADatatype {
+ /**
+ * Returns the value of the '<em><b>Max</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Max</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Max</em>' attribute.
+ * @see #setMax(Float)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getEANumerical_Max()
+ * @model unique="false" dataType="org.eclipse.papyrus.eastadl.infrastructure.datatypes.Numerical" ordered="false"
+ * @generated
+ */
+ Float getMax();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EANumerical#getMax <em>Max</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Max</em>' attribute.
+ * @see #getMax()
+ * @generated
+ */
+ void setMax(Float value);
+
+ /**
+ * Returns the value of the '<em><b>Min</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Min</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Min</em>' attribute.
+ * @see #setMin(Float)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getEANumerical_Min()
+ * @model unique="false" dataType="org.eclipse.papyrus.eastadl.infrastructure.datatypes.Numerical" ordered="false"
+ * @generated
+ */
+ Float getMin();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EANumerical#getMin <em>Min</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Min</em>' attribute.
+ * @see #getMin()
+ * @generated
+ */
+ void setMin(Float value);
+
+ /**
+ * Returns the value of the '<em><b>Unit</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Unit</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Unit</em>' reference.
+ * @see #setUnit(Unit)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getEANumerical_Unit()
+ * @model ordered="false"
+ * @generated
+ */
+ Unit getUnit();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EANumerical#getUnit <em>Unit</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Unit</em>' reference.
+ * @see #getUnit()
+ * @generated
+ */
+ void setUnit(Unit value);
+
+} // EANumerical
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EAString.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EAString.java
index 1a91bc54abd..26ddd6c3fd8 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EAString.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EAString.java
@@ -20,8 +20,8 @@ package org.eclipse.papyrus.eastadl.infrastructure.datatypes;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>EA String</b></em>'.
* <!-- end-user-doc -->
- *
- *
+ *
+ *
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getEAString()
* @model
* @generated
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/Enumeration.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/Enumeration.java
index d7d3e93cc12..9886c8badda 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/Enumeration.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/Enumeration.java
@@ -21,29 +21,29 @@ import org.eclipse.emf.common.util.EList;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Enumeration</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Enumeration#getLiteral <em>Literal</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Enumeration#getLiteral <em>Literal</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Enumeration#isIsMultiValued <em>Is Multi Valued</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getEnumeration()
* @model
* @generated
*/
public interface Enumeration extends EADatatype {
-
/**
* Returns the value of the '<em><b>Literal</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EnumerationLiteral}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Literal</em>' containment reference list isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Literal</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>Literal</em>' containment reference list.
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getEnumeration_Literal()
* @model containment="true" lower="2" ordered="false"
@@ -51,4 +51,30 @@ public interface Enumeration extends EADatatype {
*/
EList<EnumerationLiteral> getLiteral();
+ /**
+ * Returns the value of the '<em><b>Is Multi Valued</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Is Multi Valued</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 Multi Valued</em>' attribute.
+ * @see #setIsMultiValued(boolean)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getEnumeration_IsMultiValued()
+ * @model dataType="org.eclipse.uml2.types.Boolean" required="true" ordered="false"
+ * @generated
+ */
+ boolean isIsMultiValued();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Enumeration#isIsMultiValued <em>Is Multi Valued</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Is Multi Valued</em>' attribute.
+ * @see #isIsMultiValued()
+ * @generated
+ */
+ void setIsMultiValued(boolean value);
+
} // Enumeration
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EnumerationLiteral.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EnumerationLiteral.java
index a12d66e24e6..9a14a0d9675 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EnumerationLiteral.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EnumerationLiteral.java
@@ -22,8 +22,8 @@ import org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Enumeration Literal</b></em>'.
* <!-- end-user-doc -->
- *
- *
+ *
+ *
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getEnumerationLiteral()
* @model
* @generated
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EnumerationValueType.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EnumerationValueType.java
deleted file mode 100644
index 340da9d8681..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/EnumerationValueType.java
+++ /dev/null
@@ -1,130 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Sara TUCCI (CEA LIST) sara.tucci@cea.fr - Initial API and implementation
- * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
- * David SERVAT (CEA LIST) david.servat@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.eastadl.infrastructure.datatypes;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.uml2.uml.Enumeration;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Enumeration Value Type</b></em>'.
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * The EnumerationValueType is a specific ValueType applicable for Enumerations. It provides the possibility to describe semantics of the
- * baseEnumeration's literals and the information, if multiple values of the baseEnumeration may be selected or not.
- *
- * Semantics:
- * The EnumerationValueType adds the ability to describe semantics of the baseEnumeration's literals and if multiple values of the baseEnumeration may
- * be selected or not.
- *
- *
- * Notation:
- * The datatype EnumerationValueType is denoted using the rectangle symbol with keyword «Datatype EnumerationValueType».
- *
- * Extension: UML Enumeration
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EnumerationValueType#isIsMultiValued <em>Is Multi Valued</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EnumerationValueType#getLiteralSemantics <em>Literal Semantics</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EnumerationValueType#getBase_Enumeration <em>Base Enumeration</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getEnumerationValueType()
- * @model
- * @generated
- */
-public interface EnumerationValueType extends ValueType {
-
- /**
- * Returns the value of the '<em><b>Literal Semantics</b></em>' attribute list.
- * The list contents are of type {@link java.lang.String}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Literal Semantics</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>Literal Semantics</em>' attribute list.
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getEnumerationValueType_LiteralSemantics()
- * @model unique="false" dataType="org.eclipse.uml2.types.String" lower="2"
- * @generated
- */
- EList<String> getLiteralSemantics();
-
- /**
- * Returns the value of the '<em><b>Base Enumeration</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Base Enumeration</em>' reference isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Base Enumeration</em>' reference.
- * @see #setBase_Enumeration(Enumeration)
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getEnumerationValueType_Base_Enumeration()
- * @model required="true" ordered="false"
- * @generated
- */
- Enumeration getBase_Enumeration();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EnumerationValueType#getBase_Enumeration
- * <em>Base Enumeration</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Base Enumeration</em>' reference.
- * @see #getBase_Enumeration()
- * @generated
- */
- void setBase_Enumeration(Enumeration value);
-
- /**
- * Returns the value of the '<em><b>Is Multi Valued</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Is Multi Valued</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 Multi Valued</em>' attribute.
- * @see #setIsMultiValued(boolean)
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getEnumerationValueType_IsMultiValued()
- * @model unique="false" dataType="org.eclipse.uml2.types.Boolean" required="true" ordered="false"
- * @generated
- */
- boolean isIsMultiValued();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EnumerationValueType#isIsMultiValued
- * <em>Is Multi Valued</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Is Multi Valued</em>' attribute.
- * @see #isIsMultiValued()
- * @generated
- */
- void setIsMultiValued(boolean value);
-
-} // EnumerationValueType
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/Quantity.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/Quantity.java
new file mode 100644
index 00000000000..834502894ee
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/Quantity.java
@@ -0,0 +1,219 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.datatypes;
+
+import org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackageableElement;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Quantity</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity#getAmountOfSubstanceExp <em>Amount Of Substance Exp</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity#getElectricCurrentExp <em>Electric Current Exp</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity#getLenghtExp <em>Lenght Exp</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity#getLuminousIntensityExp <em>Luminous Intensity Exp</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity#getMassExp <em>Mass Exp</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity#getThermodynamicTemperatureExp <em>Thermodynamic Temperature Exp</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity#getTimeExp <em>Time Exp</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getQuantity()
+ * @model
+ * @generated
+ */
+public interface Quantity extends EAPackageableElement {
+ /**
+ * Returns the value of the '<em><b>Amount Of Substance Exp</b></em>' attribute.
+ * The default value is <code>"0"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Amount Of Substance Exp</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Amount Of Substance Exp</em>' attribute.
+ * @see #setAmountOfSubstanceExp(int)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getQuantity_AmountOfSubstanceExp()
+ * @model default="0" dataType="org.eclipse.uml2.types.Integer" required="true" ordered="false"
+ * @generated
+ */
+ int getAmountOfSubstanceExp();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity#getAmountOfSubstanceExp <em>Amount Of Substance Exp</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Amount Of Substance Exp</em>' attribute.
+ * @see #getAmountOfSubstanceExp()
+ * @generated
+ */
+ void setAmountOfSubstanceExp(int value);
+
+ /**
+ * Returns the value of the '<em><b>Electric Current Exp</b></em>' attribute.
+ * The default value is <code>"0"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Electric Current Exp</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Electric Current Exp</em>' attribute.
+ * @see #setElectricCurrentExp(int)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getQuantity_ElectricCurrentExp()
+ * @model default="0" dataType="org.eclipse.uml2.types.Integer" required="true" ordered="false"
+ * @generated
+ */
+ int getElectricCurrentExp();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity#getElectricCurrentExp <em>Electric Current Exp</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Electric Current Exp</em>' attribute.
+ * @see #getElectricCurrentExp()
+ * @generated
+ */
+ void setElectricCurrentExp(int value);
+
+ /**
+ * Returns the value of the '<em><b>Lenght Exp</b></em>' attribute.
+ * The default value is <code>"0"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Lenght Exp</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Lenght Exp</em>' attribute.
+ * @see #setLenghtExp(int)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getQuantity_LenghtExp()
+ * @model default="0" dataType="org.eclipse.uml2.types.Integer" required="true" ordered="false"
+ * @generated
+ */
+ int getLenghtExp();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity#getLenghtExp <em>Lenght Exp</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Lenght Exp</em>' attribute.
+ * @see #getLenghtExp()
+ * @generated
+ */
+ void setLenghtExp(int value);
+
+ /**
+ * Returns the value of the '<em><b>Luminous Intensity Exp</b></em>' attribute.
+ * The default value is <code>"0"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Luminous Intensity Exp</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Luminous Intensity Exp</em>' attribute.
+ * @see #setLuminousIntensityExp(int)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getQuantity_LuminousIntensityExp()
+ * @model default="0" dataType="org.eclipse.uml2.types.Integer" required="true" ordered="false"
+ * @generated
+ */
+ int getLuminousIntensityExp();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity#getLuminousIntensityExp <em>Luminous Intensity Exp</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Luminous Intensity Exp</em>' attribute.
+ * @see #getLuminousIntensityExp()
+ * @generated
+ */
+ void setLuminousIntensityExp(int value);
+
+ /**
+ * Returns the value of the '<em><b>Mass Exp</b></em>' attribute.
+ * The default value is <code>"0"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Mass Exp</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Mass Exp</em>' attribute.
+ * @see #setMassExp(int)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getQuantity_MassExp()
+ * @model default="0" dataType="org.eclipse.uml2.types.Integer" required="true" ordered="false"
+ * @generated
+ */
+ int getMassExp();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity#getMassExp <em>Mass Exp</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Mass Exp</em>' attribute.
+ * @see #getMassExp()
+ * @generated
+ */
+ void setMassExp(int value);
+
+ /**
+ * Returns the value of the '<em><b>Thermodynamic Temperature Exp</b></em>' attribute.
+ * The default value is <code>"0"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Thermodynamic Temperature Exp</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Thermodynamic Temperature Exp</em>' attribute.
+ * @see #setThermodynamicTemperatureExp(int)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getQuantity_ThermodynamicTemperatureExp()
+ * @model default="0" dataType="org.eclipse.uml2.types.Integer" required="true" ordered="false"
+ * @generated
+ */
+ int getThermodynamicTemperatureExp();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity#getThermodynamicTemperatureExp <em>Thermodynamic Temperature Exp</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Thermodynamic Temperature Exp</em>' attribute.
+ * @see #getThermodynamicTemperatureExp()
+ * @generated
+ */
+ void setThermodynamicTemperatureExp(int value);
+
+ /**
+ * Returns the value of the '<em><b>Time Exp</b></em>' attribute.
+ * The default value is <code>"0"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Time Exp</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Time Exp</em>' attribute.
+ * @see #setTimeExp(int)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getQuantity_TimeExp()
+ * @model default="0" dataType="org.eclipse.uml2.types.Integer" required="true" ordered="false"
+ * @generated
+ */
+ int getTimeExp();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity#getTimeExp <em>Time Exp</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Time Exp</em>' attribute.
+ * @see #getTimeExp()
+ * @generated
+ */
+ void setTimeExp(int value);
+
+} // Quantity
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/RangeableDatatype.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/RangeableDatatype.java
deleted file mode 100644
index dc241ab49ae..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/RangeableDatatype.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Sara TUCCI (CEA LIST) sara.tucci@cea.fr - Initial API and implementation
- * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
- * David SERVAT (CEA LIST) david.servat@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.eastadl.infrastructure.datatypes;
-
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Rangeable Datatype</b></em>'.
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * The stereotype RangeableDatatype reflects numeric datatypes that may have a range (between a minimal and a maximal value). An example for a
- * RangeableDatatype is the Celsius temperature scale with minValue = -273.15.
- *
- * Semantics:
- * The stereotype RangeableDatatype reflects numeric datatypes that may have a range (between a minimal and a maximal value).
- *
- *
- * Extension: UML Datatype
- * <!-- end-model-doc -->
- *
- *
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getRangeableDatatype()
- * @model abstract="true"
- * @generated
- */
-public interface RangeableDatatype extends EADatatype {
-
-} // RangeableDatatype
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/RangeableValueType.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/RangeableValueType.java
index ce2212b883a..7ffccd5699f 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/RangeableValueType.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/RangeableValueType.java
@@ -20,43 +20,42 @@ package org.eclipse.papyrus.eastadl.infrastructure.datatypes;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Rangeable Value Type</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <!-- begin-model-doc -->
- * The RangeableValueType is a specific ValueType applicable for RangeableDatatypes. It provides the possibility to describe the accuracy, resolution,
- * and the significant digits of the baseRangeable datatypes.
+ * The RangeableValueType is a specific datatype applicable for numerical datatypes. It describes the accuracy, resolution, and the significant digits of the baseRangeable datatypes.
*
* Semantics:
* The RangeableValueType adds the ability to describe the accuracy, resolution, and the significant digits of the baseRangeable datatype.
*
* Notation:
- * The datatype RangeableValueType is denoted using the rectangle symbol with keyword «Datatype RangeableValueType».
+ * The datatype RangeableValueType is denoted using the rectangle symbol with keyword «Datatype RangeableValueType».
*
* Extension: UML Datatype
* <!-- end-model-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableValueType#getAccuracy <em>Accuracy</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableValueType#getResolution <em>Resolution</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableValueType#getSignificantDigits <em>Significant Digits</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableValueType#getAccuracy <em>Accuracy</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableValueType#getResolution <em>Resolution</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableValueType#getSignificantDigits <em>Significant Digits</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableValueType#getBaseRangeable <em>Base Rangeable</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getRangeableValueType()
* @model
* @generated
*/
-public interface RangeableValueType extends ValueType {
-
+public interface RangeableValueType extends EADatatype {
/**
* Returns the value of the '<em><b>Accuracy</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Accuracy</em>' reference isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Accuracy</em>' reference isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @return the value of the '<em>Accuracy</em>' attribute.
* @see #setAccuracy(Float)
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getRangeableValueType_Accuracy()
@@ -69,10 +68,10 @@ public interface RangeableValueType extends ValueType {
* Returns the value of the '<em><b>Resolution</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Resolution</em>' reference isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Resolution</em>' reference 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.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getRangeableValueType_Resolution()
@@ -85,10 +84,10 @@ public interface RangeableValueType extends ValueType {
* Returns the value of the '<em><b>Significant Digits</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Significant Digits</em>' attribute isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Significant Digits</em>' attribute isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @return the value of the '<em>Significant Digits</em>' attribute.
* @see #setSignificantDigits(int)
* @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getRangeableValueType_SignificantDigits()
@@ -98,42 +97,59 @@ public interface RangeableValueType extends ValueType {
int getSignificantDigits();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableValueType#getAccuracy <em>Accuracy</em>}'
- * attribute.
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableValueType#getAccuracy <em>Accuracy</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Accuracy</em>' attribute.
+ * @param value the new value of the '<em>Accuracy</em>' attribute.
* @see #getAccuracy()
* @generated
*/
void setAccuracy(Float value);
/**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableValueType#getResolution <em>Resolution</em>}'
- * attribute.
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableValueType#getResolution <em>Resolution</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Resolution</em>' attribute.
+ * @param value the new value of the '<em>Resolution</em>' attribute.
* @see #getResolution()
* @generated
*/
void setResolution(Float value);
/**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableValueType#getSignificantDigits
- * <em>Significant Digits</em>}' attribute.
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableValueType#getSignificantDigits <em>Significant Digits</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Significant Digits</em>' attribute.
+ * @param value the new value of the '<em>Significant Digits</em>' attribute.
* @see #getSignificantDigits()
* @generated
*/
void setSignificantDigits(int value);
+ /**
+ * Returns the value of the '<em><b>Base Rangeable</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Base Rangeable</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Base Rangeable</em>' reference.
+ * @see #setBaseRangeable(EANumerical)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getRangeableValueType_BaseRangeable()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ EANumerical getBaseRangeable();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableValueType#getBaseRangeable <em>Base Rangeable</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Base Rangeable</em>' reference.
+ * @see #getBaseRangeable()
+ * @generated
+ */
+ void setBaseRangeable(EANumerical value);
+
} // RangeableValueType
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/Unit.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/Unit.java
new file mode 100644
index 00000000000..495ed983aff
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/Unit.java
@@ -0,0 +1,158 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.datatypes;
+
+import org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackageableElement;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Unit</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Unit#getFactor <em>Factor</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Unit#getOffset <em>Offset</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Unit#getSymbol <em>Symbol</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Unit#getQuantity <em>Quantity</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Unit#getReference <em>Reference</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getUnit()
+ * @model
+ * @generated
+ */
+public interface Unit extends EAPackageableElement {
+ /**
+ * Returns the value of the '<em><b>Factor</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Factor</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Factor</em>' attribute.
+ * @see #setFactor(Float)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getUnit_Factor()
+ * @model dataType="org.eclipse.papyrus.eastadl.infrastructure.datatypes.javalangFloat" required="true" ordered="false"
+ * @generated
+ */
+ Float getFactor();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Unit#getFactor <em>Factor</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Factor</em>' attribute.
+ * @see #getFactor()
+ * @generated
+ */
+ void setFactor(Float value);
+
+ /**
+ * Returns the value of the '<em><b>Offset</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Offset</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Offset</em>' attribute.
+ * @see #setOffset(Float)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getUnit_Offset()
+ * @model dataType="org.eclipse.papyrus.eastadl.infrastructure.datatypes.javalangFloat" required="true" ordered="false"
+ * @generated
+ */
+ Float getOffset();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Unit#getOffset <em>Offset</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Offset</em>' attribute.
+ * @see #getOffset()
+ * @generated
+ */
+ void setOffset(Float value);
+
+ /**
+ * Returns the value of the '<em><b>Symbol</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Symbol</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Symbol</em>' attribute.
+ * @see #setSymbol(String)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getUnit_Symbol()
+ * @model dataType="org.eclipse.uml2.types.String" required="true" ordered="false"
+ * @generated
+ */
+ String getSymbol();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Unit#getSymbol <em>Symbol</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Symbol</em>' attribute.
+ * @see #getSymbol()
+ * @generated
+ */
+ void setSymbol(String value);
+
+ /**
+ * Returns the value of the '<em><b>Quantity</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Quantity</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Quantity</em>' reference.
+ * @see #setQuantity(Quantity)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getUnit_Quantity()
+ * @model ordered="false"
+ * @generated
+ */
+ Quantity getQuantity();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Unit#getQuantity <em>Quantity</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Quantity</em>' reference.
+ * @see #getQuantity()
+ * @generated
+ */
+ void setQuantity(Quantity value);
+
+ /**
+ * Returns the value of the '<em><b>Reference</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Reference</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Reference</em>' reference.
+ * @see #setReference(Unit)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getUnit_Reference()
+ * @model ordered="false"
+ * @generated
+ */
+ Unit getReference();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Unit#getReference <em>Reference</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Reference</em>' reference.
+ * @see #getReference()
+ * @generated
+ */
+ void setReference(Unit value);
+
+} // Unit
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/ValueType.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/ValueType.java
deleted file mode 100644
index 5597c08f9a3..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/ValueType.java
+++ /dev/null
@@ -1,148 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Sara TUCCI (CEA LIST) sara.tucci@cea.fr - Initial API and implementation
- * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
- * David SERVAT (CEA LIST) david.servat@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.eastadl.infrastructure.datatypes;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Value Type</b></em>'.
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * From SysML:
- * A ValueType defines types of values that may be used to express information about a system, but cannot be identified as the target of any
- * reference. Since a value cannot be identified except by means of the value itself, each such value within a model is independent of any other,
- * unless other forms of constraints are imposed. Value types may be used to type properties, operation parameters, or potentially other elements
- * within SysML. SysML defines ValueType as a stereotype of UML DataType to establish a more neutral term for system values that may never be given a
- * concrete data representation. For example, the SysML "Real" ValueType expresses the mathematical concept of a real number, but does not impose any
- * restrictions on the precision or scale of a fixed or floating-point representation that expresses this concept. More specific value types can
- * define the concrete data representations that a digital computer can process, such as conventional Float, Integer, or String types. SysML ValueType
- * adds an ability to carry a unit of measure or dimension associated with the value. A dimension is a kind of quantity that may be stated in terms of
- * defined units, but does not restrict the selection of a unit to state the value. A unit is a particular value in terms of which a quantity of the
- * same dimension may be expressed. A SysML ValueType may define its own properties and/or operations, just as for a UML DataType.
- *
- * Semantics:
- * The abstract ValueType defines types of values that may be used to express information about a system. The ValueType adds an ability to carry a
- * description, a dimension associated with the value, and a unit of measure. A dimension is a kind of quantity that may be stated in terms of defined
- * units, but does not restrict the selection of a unit to state the value. A unit is a particular value in terms of which a quantity of the same
- * dimension may be expressed.
- * Logical and physical datatypes cannot be distinguished on the type. The context (e.g., EnvironmentModel or FunctionalAnalysisArchitecture) decides
- * if a speed datatype is physical or logical. On AnalysisLevel or DesignLevel, physical datatypes shall not be interpreted in the implementation
- * sense as this would include int32, coding formula, etc.
- *
- * Extension: UML Datatype
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.ValueType#getSemantics <em>Semantics</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.ValueType#getDimension <em>Dimension</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.ValueType#getUnit <em>Unit</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getValueType()
- * @model abstract="true"
- * @generated
- */
-public interface ValueType extends EADatatype {
-
- /**
- * Returns the value of the '<em><b>Semantics</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Semantics</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Semantics</em>' attribute.
- * @see #setSemantics(String)
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getValueType_Semantics()
- * @model unique="false" dataType="org.eclipse.uml2.types.String" ordered="false"
- * @generated
- */
- String getSemantics();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.ValueType#getSemantics <em>Semantics</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Semantics</em>' attribute.
- * @see #getSemantics()
- * @generated
- */
- void setSemantics(String value);
-
- /**
- * Returns the value of the '<em><b>Dimension</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Dimension</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Dimension</em>' attribute.
- * @see #setDimension(String)
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getValueType_Dimension()
- * @model unique="false" dataType="org.eclipse.uml2.types.String" ordered="false"
- * @generated
- */
- String getDimension();
-
- /**
- * Returns the value of the '<em><b>Unit</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Unit</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Unit</em>' attribute.
- * @see #setUnit(String)
- * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#getValueType_Unit()
- * @model unique="false" dataType="org.eclipse.uml2.types.String" ordered="false"
- * @generated
- */
- String getUnit();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.ValueType#getDimension <em>Dimension</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Dimension</em>' attribute.
- * @see #getDimension()
- * @generated
- */
- void setDimension(String value);
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.ValueType#getUnit <em>Unit</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Unit</em>' attribute.
- * @see #getUnit()
- * @generated
- */
- void setUnit(String value);
-
-} // ValueType
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/ArrayDataTypeImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/ArrayDataTypeImpl.java
new file mode 100644
index 00000000000..38182c3bac6
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/ArrayDataTypeImpl.java
@@ -0,0 +1,275 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.papyrus.eastadl.infrastructure.datatypes.ArrayDataType;
+import org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage;
+import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatype;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Array Data Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.ArrayDataTypeImpl#getMaxLenght <em>Max Lenght</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.ArrayDataTypeImpl#getMinLenght <em>Min Lenght</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.ArrayDataTypeImpl#getElementType <em>Element Type</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ArrayDataTypeImpl extends EADatatypeImpl implements ArrayDataType {
+ /**
+ * The default value of the '{@link #getMaxLenght() <em>Max Lenght</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMaxLenght()
+ * @generated
+ * @ordered
+ */
+ protected static final int MAX_LENGHT_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getMaxLenght() <em>Max Lenght</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMaxLenght()
+ * @generated
+ * @ordered
+ */
+ protected int maxLenght = MAX_LENGHT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getMinLenght() <em>Min Lenght</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMinLenght()
+ * @generated
+ * @ordered
+ */
+ protected static final int MIN_LENGHT_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getMinLenght() <em>Min Lenght</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMinLenght()
+ * @generated
+ * @ordered
+ */
+ protected int minLenght = MIN_LENGHT_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getElementType() <em>Element Type</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getElementType()
+ * @generated
+ * @ordered
+ */
+ protected EADatatype elementType;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ArrayDataTypeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DatatypesPackage.Literals.ARRAY_DATA_TYPE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getMaxLenght() {
+ return maxLenght;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMaxLenght(int newMaxLenght) {
+ int oldMaxLenght = maxLenght;
+ maxLenght = newMaxLenght;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DatatypesPackage.ARRAY_DATA_TYPE__MAX_LENGHT, oldMaxLenght, maxLenght));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getMinLenght() {
+ return minLenght;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMinLenght(int newMinLenght) {
+ int oldMinLenght = minLenght;
+ minLenght = newMinLenght;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DatatypesPackage.ARRAY_DATA_TYPE__MIN_LENGHT, oldMinLenght, minLenght));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EADatatype getElementType() {
+ if (elementType != null && elementType.eIsProxy()) {
+ InternalEObject oldElementType = (InternalEObject)elementType;
+ elementType = (EADatatype)eResolveProxy(oldElementType);
+ if (elementType != oldElementType) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, DatatypesPackage.ARRAY_DATA_TYPE__ELEMENT_TYPE, oldElementType, elementType));
+ }
+ }
+ return elementType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EADatatype basicGetElementType() {
+ return elementType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setElementType(EADatatype newElementType) {
+ EADatatype oldElementType = elementType;
+ elementType = newElementType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DatatypesPackage.ARRAY_DATA_TYPE__ELEMENT_TYPE, oldElementType, elementType));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DatatypesPackage.ARRAY_DATA_TYPE__MAX_LENGHT:
+ return getMaxLenght();
+ case DatatypesPackage.ARRAY_DATA_TYPE__MIN_LENGHT:
+ return getMinLenght();
+ case DatatypesPackage.ARRAY_DATA_TYPE__ELEMENT_TYPE:
+ if (resolve) return getElementType();
+ return basicGetElementType();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DatatypesPackage.ARRAY_DATA_TYPE__MAX_LENGHT:
+ setMaxLenght((Integer)newValue);
+ return;
+ case DatatypesPackage.ARRAY_DATA_TYPE__MIN_LENGHT:
+ setMinLenght((Integer)newValue);
+ return;
+ case DatatypesPackage.ARRAY_DATA_TYPE__ELEMENT_TYPE:
+ setElementType((EADatatype)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DatatypesPackage.ARRAY_DATA_TYPE__MAX_LENGHT:
+ setMaxLenght(MAX_LENGHT_EDEFAULT);
+ return;
+ case DatatypesPackage.ARRAY_DATA_TYPE__MIN_LENGHT:
+ setMinLenght(MIN_LENGHT_EDEFAULT);
+ return;
+ case DatatypesPackage.ARRAY_DATA_TYPE__ELEMENT_TYPE:
+ setElementType((EADatatype)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DatatypesPackage.ARRAY_DATA_TYPE__MAX_LENGHT:
+ return maxLenght != MAX_LENGHT_EDEFAULT;
+ case DatatypesPackage.ARRAY_DATA_TYPE__MIN_LENGHT:
+ return minLenght != MIN_LENGHT_EDEFAULT;
+ case DatatypesPackage.ARRAY_DATA_TYPE__ELEMENT_TYPE:
+ return elementType != 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(" (maxLenght: ");
+ result.append(maxLenght);
+ result.append(", minLenght: ");
+ result.append(minLenght);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ArrayDataTypeImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/CompositeDatatypeImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/CompositeDatatypeImpl.java
index 6bc283052c3..e0273de05f3 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/CompositeDatatypeImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/CompositeDatatypeImpl.java
@@ -17,9 +17,12 @@ package org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl;
import java.util.Collection;
+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.util.EObjectResolvingEList;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.CompositeDatatype;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatypePrototype;
@@ -32,19 +35,17 @@ import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatypePrototype;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.CompositeDatatypeImpl#getDatatypePrototype <em>Datatype Prototype</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.CompositeDatatypeImpl#getDatatypePrototype <em>Datatype Prototype</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class CompositeDatatypeImpl extends EADatatypeImpl implements CompositeDatatype {
-
/**
- * The cached value of the '{@link #getDatatypePrototype() <em>Datatype Prototype</em>}' reference list.
+ * The cached value of the '{@link #getDatatypePrototype() <em>Datatype Prototype</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getDatatypePrototype()
* @generated
* @ordered
@@ -54,7 +55,6 @@ public class CompositeDatatypeImpl extends EADatatypeImpl implements CompositeDa
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected CompositeDatatypeImpl() {
@@ -64,14 +64,13 @@ public class CompositeDatatypeImpl extends EADatatypeImpl implements CompositeDa
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case DatatypesPackage.COMPOSITE_DATATYPE__DATATYPE_PROTOTYPE:
- return getDatatypePrototype();
+ switch (featureID) {
+ case DatatypesPackage.COMPOSITE_DATATYPE__DATATYPE_PROTOTYPE:
+ return getDatatypePrototype();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -79,14 +78,13 @@ public class CompositeDatatypeImpl extends EADatatypeImpl implements CompositeDa
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
- case DatatypesPackage.COMPOSITE_DATATYPE__DATATYPE_PROTOTYPE:
- return datatypePrototype != null && !datatypePrototype.isEmpty();
+ switch (featureID) {
+ case DatatypesPackage.COMPOSITE_DATATYPE__DATATYPE_PROTOTYPE:
+ return datatypePrototype != null && !datatypePrototype.isEmpty();
}
return super.eIsSet(featureID);
}
@@ -94,17 +92,16 @@ public class CompositeDatatypeImpl extends EADatatypeImpl implements CompositeDa
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case DatatypesPackage.COMPOSITE_DATATYPE__DATATYPE_PROTOTYPE:
- getDatatypePrototype().clear();
- getDatatypePrototype().addAll((Collection<? extends EADatatypePrototype>)newValue);
- return;
+ switch (featureID) {
+ case DatatypesPackage.COMPOSITE_DATATYPE__DATATYPE_PROTOTYPE:
+ getDatatypePrototype().clear();
+ getDatatypePrototype().addAll((Collection<? extends EADatatypePrototype>)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -112,7 +109,6 @@ public class CompositeDatatypeImpl extends EADatatypeImpl implements CompositeDa
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -123,15 +119,14 @@ public class CompositeDatatypeImpl extends EADatatypeImpl implements CompositeDa
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
- case DatatypesPackage.COMPOSITE_DATATYPE__DATATYPE_PROTOTYPE:
- getDatatypePrototype().clear();
- return;
+ switch (featureID) {
+ case DatatypesPackage.COMPOSITE_DATATYPE__DATATYPE_PROTOTYPE:
+ getDatatypePrototype().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -139,14 +134,27 @@ public class CompositeDatatypeImpl extends EADatatypeImpl implements CompositeDa
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EList<EADatatypePrototype> getDatatypePrototype() {
- if(datatypePrototype == null) {
- datatypePrototype = new EObjectResolvingEList<EADatatypePrototype>(EADatatypePrototype.class, this, DatatypesPackage.COMPOSITE_DATATYPE__DATATYPE_PROTOTYPE);
+ if (datatypePrototype == null) {
+ datatypePrototype = new EObjectContainmentEList<EADatatypePrototype>(EADatatypePrototype.class, this, DatatypesPackage.COMPOSITE_DATATYPE__DATATYPE_PROTOTYPE);
}
return datatypePrototype;
}
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case DatatypesPackage.COMPOSITE_DATATYPE__DATATYPE_PROTOTYPE:
+ return ((InternalEList<?>)getDatatypePrototype()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
} //CompositeDatatypeImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/DatatypesFactoryImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/DatatypesFactoryImpl.java
index be682e08f29..79bb951ba66 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/DatatypesFactoryImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/DatatypesFactoryImpl.java
@@ -21,34 +21,31 @@ 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;
-import org.eclipse.papyrus.eastadl.infrastructure.datatypes.*;
+import org.eclipse.papyrus.eastadl.infrastructure.datatypes.ArrayDataType;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.CompositeDatatype;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesFactory;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EABoolean;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatypePrototype;
-import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAFloat;
-import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAInteger;
+import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EANumerical;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAString;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.Enumeration;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EnumerationLiteral;
-import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EnumerationValueType;
+import org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableValueType;
+import org.eclipse.papyrus.eastadl.infrastructure.datatypes.Unit;
/**
* <!-- begin-user-doc -->
* An implementation of the model <b>Factory</b>.
* <!-- end-user-doc -->
- *
* @generated
*/
public class DatatypesFactoryImpl extends EFactoryImpl implements DatatypesFactory {
-
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @deprecated
* @generated
*/
@@ -61,16 +58,16 @@ public class DatatypesFactoryImpl extends EFactoryImpl implements DatatypesFacto
* Creates the default factory implementation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public static DatatypesFactory init() {
try {
DatatypesFactory theDatatypesFactory = (DatatypesFactory)EPackage.Registry.INSTANCE.getEFactory(DatatypesPackage.eNS_URI);
- if(theDatatypesFactory != null) {
+ if (theDatatypesFactory != null) {
return theDatatypesFactory;
}
- } catch (Exception exception) {
+ }
+ catch (Exception exception) {
EcorePlugin.INSTANCE.log(exception);
}
return new DatatypesFactoryImpl();
@@ -80,7 +77,6 @@ public class DatatypesFactoryImpl extends EFactoryImpl implements DatatypesFacto
* Creates an instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public DatatypesFactoryImpl() {
@@ -90,7 +86,6 @@ public class DatatypesFactoryImpl extends EFactoryImpl implements DatatypesFacto
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public String convertjavalangFloatToString(EDataType eDataType, Object instanceValue) {
@@ -100,23 +95,23 @@ public class DatatypesFactoryImpl extends EFactoryImpl implements DatatypesFacto
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public String convertToString(EDataType eDataType, Object instanceValue) {
- switch(eDataType.getClassifierID()) {
- case DatatypesPackage.JAVALANG_FLOAT:
- return convertjavalangFloatToString(eDataType, instanceValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ switch (eDataType.getClassifierID()) {
+ case DatatypesPackage.NUMERICAL:
+ return convertNumericalToString(eDataType, instanceValue);
+ case DatatypesPackage.JAVALANG_FLOAT:
+ return convertjavalangFloatToString(eDataType, instanceValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EADatatypePrototype createEADatatypePrototype() {
@@ -127,41 +122,60 @@ public class DatatypesFactoryImpl extends EFactoryImpl implements DatatypesFacto
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ * @generated
+ */
+ public EANumerical createEANumerical() {
+ EANumericalImpl eaNumerical = new EANumericalImpl();
+ return eaNumerical;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Unit createUnit() {
+ UnitImpl unit = new UnitImpl();
+ return unit;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Quantity createQuantity() {
+ QuantityImpl quantity = new QuantityImpl();
+ return quantity;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
@Override
public EObject create(EClass eClass) {
- switch(eClass.getClassifierID()) {
- case DatatypesPackage.EA_DATATYPE_PROTOTYPE:
- return createEADatatypePrototype();
- case DatatypesPackage.RANGEABLE_VALUE_TYPE:
- return createRangeableValueType();
- case DatatypesPackage.ENUMERATION_VALUE_TYPE:
- return createEnumerationValueType();
- case DatatypesPackage.COMPOSITE_DATATYPE:
- return createCompositeDatatype();
- case DatatypesPackage.EA_STRING:
- return createEAString();
- case DatatypesPackage.EA_BOOLEAN:
- return createEABoolean();
- case DatatypesPackage.EA_FLOAT:
- return createEAFloat();
- case DatatypesPackage.EA_INTEGER:
- return createEAInteger();
- case DatatypesPackage.ENUMERATION_LITERAL:
- return createEnumerationLiteral();
- case DatatypesPackage.ENUMERATION:
- return createEnumeration();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ switch (eClass.getClassifierID()) {
+ case DatatypesPackage.EA_DATATYPE_PROTOTYPE: return createEADatatypePrototype();
+ case DatatypesPackage.EA_NUMERICAL: return createEANumerical();
+ case DatatypesPackage.UNIT: return createUnit();
+ case DatatypesPackage.QUANTITY: return createQuantity();
+ case DatatypesPackage.RANGEABLE_VALUE_TYPE: return createRangeableValueType();
+ case DatatypesPackage.COMPOSITE_DATATYPE: return createCompositeDatatype();
+ case DatatypesPackage.EA_STRING: return createEAString();
+ case DatatypesPackage.EA_BOOLEAN: return createEABoolean();
+ case DatatypesPackage.ENUMERATION_LITERAL: return createEnumerationLiteral();
+ case DatatypesPackage.ENUMERATION: return createEnumeration();
+ case DatatypesPackage.ARRAY_DATA_TYPE: return createArrayDataType();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public CompositeDatatype createCompositeDatatype() {
@@ -172,7 +186,6 @@ public class DatatypesFactoryImpl extends EFactoryImpl implements DatatypesFacto
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EAString createEAString() {
@@ -183,7 +196,6 @@ public class DatatypesFactoryImpl extends EFactoryImpl implements DatatypesFacto
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EABoolean createEABoolean() {
@@ -194,78 +206,71 @@ public class DatatypesFactoryImpl extends EFactoryImpl implements DatatypesFacto
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EAFloat createEAFloat() {
- EAFloatImpl eaFloat = new EAFloatImpl();
- return eaFloat;
+ public EnumerationLiteral createEnumerationLiteral() {
+ EnumerationLiteralImpl enumerationLiteral = new EnumerationLiteralImpl();
+ return enumerationLiteral;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EAInteger createEAInteger() {
- EAIntegerImpl eaInteger = new EAIntegerImpl();
- return eaInteger;
+ public Enumeration createEnumeration() {
+ EnumerationImpl enumeration = new EnumerationImpl();
+ return enumeration;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EnumerationLiteral createEnumerationLiteral() {
- EnumerationLiteralImpl enumerationLiteral = new EnumerationLiteralImpl();
- return enumerationLiteral;
+ public ArrayDataType createArrayDataType() {
+ ArrayDataTypeImpl arrayDataType = new ArrayDataTypeImpl();
+ return arrayDataType;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public Enumeration createEnumeration() {
- EnumerationImpl enumeration = new EnumerationImpl();
- return enumeration;
+ public Float createNumericalFromString(EDataType eDataType, String initialValue) {
+ return (Float)super.createFromString(eDataType, initialValue);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EnumerationValueType createEnumerationValueType() {
- EnumerationValueTypeImpl enumerationValueType = new EnumerationValueTypeImpl();
- return enumerationValueType;
+ public String convertNumericalToString(EDataType eDataType, Object instanceValue) {
+ return super.convertToString(eDataType, instanceValue);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object createFromString(EDataType eDataType, String initialValue) {
- switch(eDataType.getClassifierID()) {
- case DatatypesPackage.JAVALANG_FLOAT:
- return createjavalangFloatFromString(eDataType, initialValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ switch (eDataType.getClassifierID()) {
+ case DatatypesPackage.NUMERICAL:
+ return createNumericalFromString(eDataType, initialValue);
+ case DatatypesPackage.JAVALANG_FLOAT:
+ return createjavalangFloatFromString(eDataType, initialValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public Float createjavalangFloatFromString(EDataType eDataType, String initialValue) {
@@ -275,7 +280,6 @@ public class DatatypesFactoryImpl extends EFactoryImpl implements DatatypesFacto
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public RangeableValueType createRangeableValueType() {
@@ -286,7 +290,6 @@ public class DatatypesFactoryImpl extends EFactoryImpl implements DatatypesFacto
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public DatatypesPackage getDatatypesPackage() {
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/DatatypesPackageImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/DatatypesPackageImpl.java
index 119e1078194..a89ef344dbc 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/DatatypesPackageImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/DatatypesPackageImpl.java
@@ -23,9 +23,17 @@ import org.eclipse.emf.ecore.EReference;
import org.eclipse.emf.ecore.impl.EPackageImpl;
import org.eclipse.papyrus.eastadl.EastadlPackage;
import org.eclipse.papyrus.eastadl.annex.AnnexPackage;
+import org.eclipse.papyrus.eastadl.annex.attributequantificationconstraint.AttributequantificationconstraintPackage;
+import org.eclipse.papyrus.eastadl.annex.attributequantificationconstraint.impl.AttributequantificationconstraintPackageImpl;
+import org.eclipse.papyrus.eastadl.annex.behaviordescription.BehaviordescriptionPackage;
+import org.eclipse.papyrus.eastadl.annex.behaviordescription.impl.BehaviordescriptionPackageImpl;
+import org.eclipse.papyrus.eastadl.annex.computationconstraint.ComputationconstraintPackage;
+import org.eclipse.papyrus.eastadl.annex.computationconstraint.impl.ComputationconstraintPackageImpl;
import org.eclipse.papyrus.eastadl.annex.impl.AnnexPackageImpl;
import org.eclipse.papyrus.eastadl.annex.needs.NeedsPackage;
import org.eclipse.papyrus.eastadl.annex.needs.impl.NeedsPackageImpl;
+import org.eclipse.papyrus.eastadl.annex.temporalconstraint.TemporalconstraintPackage;
+import org.eclipse.papyrus.eastadl.annex.temporalconstraint.impl.TemporalconstraintPackageImpl;
import org.eclipse.papyrus.eastadl.behavior.BehaviorPackage;
import org.eclipse.papyrus.eastadl.behavior.impl.BehaviorPackageImpl;
import org.eclipse.papyrus.eastadl.dependability.DependabilityPackage;
@@ -44,30 +52,31 @@ import org.eclipse.papyrus.eastadl.genericconstraints.GenericconstraintsPackage;
import org.eclipse.papyrus.eastadl.genericconstraints.impl.GenericconstraintsPackageImpl;
import org.eclipse.papyrus.eastadl.impl.EastadlPackageImpl;
import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
+import org.eclipse.papyrus.eastadl.infrastructure.datatypes.ArrayDataType;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.CompositeDatatype;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesFactory;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EABoolean;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatype;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatypePrototype;
-import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAFloat;
-import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAInteger;
+import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EANumerical;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAString;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.Enumeration;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EnumerationLiteral;
-import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EnumerationValueType;
-import org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableDatatype;
+import org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableValueType;
-import org.eclipse.papyrus.eastadl.infrastructure.datatypes.ValueType;
+import org.eclipse.papyrus.eastadl.infrastructure.datatypes.Unit;
import org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage;
import org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl;
import org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl;
import org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserattributesPackage;
import org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserattributesPackageImpl;
-import org.eclipse.papyrus.eastadl.interchange.InterchangePackage;
-import org.eclipse.papyrus.eastadl.interchange.impl.InterchangePackageImpl;
+import org.eclipse.papyrus.eastadl.infrastructure.values.ValuesPackage;
+import org.eclipse.papyrus.eastadl.infrastructure.values.impl.ValuesPackageImpl;
import org.eclipse.papyrus.eastadl.requirements.RequirementsPackage;
import org.eclipse.papyrus.eastadl.requirements.impl.RequirementsPackageImpl;
+import org.eclipse.papyrus.eastadl.requirements.usecases.UsecasesPackage;
+import org.eclipse.papyrus.eastadl.requirements.usecases.impl.UsecasesPackageImpl;
import org.eclipse.papyrus.eastadl.requirements.verificationvalidation.VerificationvalidationPackage;
import org.eclipse.papyrus.eastadl.requirements.verificationvalidation.impl.VerificationvalidationPackageImpl;
import org.eclipse.papyrus.eastadl.structure.StructurePackage;
@@ -99,7 +108,6 @@ import org.eclipse.uml2.uml.UMLPackage;
* <!-- begin-user-doc -->
* An implementation of the model <b>Package</b>.
* <!-- end-user-doc -->
- *
* @generated
*/
public class DatatypesPackageImpl extends EPackageImpl implements DatatypesPackage {
@@ -107,7 +115,6 @@ public class DatatypesPackageImpl extends EPackageImpl implements DatatypesPacka
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private EClass eaDatatypeEClass = null;
@@ -115,47 +122,41 @@ public class DatatypesPackageImpl extends EPackageImpl implements DatatypesPacka
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- private EClass rangeableDatatypeEClass = null;
+ private EClass eaDatatypePrototypeEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- private EClass eaDatatypePrototypeEClass = null;
+ private EClass eaNumericalEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- private EClass valueTypeEClass = null;
+ private EClass unitEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- private EClass rangeableValueTypeEClass = null;
+ private EClass quantityEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- private EClass enumerationValueTypeEClass = null;
+ private EClass rangeableValueTypeEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private EClass compositeDatatypeEClass = null;
@@ -163,7 +164,6 @@ public class DatatypesPackageImpl extends EPackageImpl implements DatatypesPacka
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private EClass eaStringEClass = null;
@@ -171,7 +171,6 @@ public class DatatypesPackageImpl extends EPackageImpl implements DatatypesPacka
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private EClass eaBooleanEClass = null;
@@ -179,39 +178,34 @@ public class DatatypesPackageImpl extends EPackageImpl implements DatatypesPacka
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- private EClass eaFloatEClass = null;
+ private EClass enumerationLiteralEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- private EClass eaIntegerEClass = null;
+ private EClass enumerationEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- private EClass enumerationLiteralEClass = null;
+ private EClass arrayDataTypeEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- private EClass enumerationEClass = null;
+ private EDataType numericalEDataType = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private EDataType javalangFloatEDataType = null;
@@ -219,7 +213,6 @@ public class DatatypesPackageImpl extends EPackageImpl implements DatatypesPacka
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private static boolean isInited = false;
@@ -227,18 +220,16 @@ public class DatatypesPackageImpl extends EPackageImpl implements DatatypesPacka
/**
* 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 DatatypesPackage#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 -->
- *
+ * <p>This method is used to initialize {@link DatatypesPackage#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 DatatypesPackage init() {
- if(isInited)
- return (DatatypesPackage)EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI);
+ if (isInited) return (DatatypesPackage)EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI);
// Obtain or create and register package
DatatypesPackageImpl theDatatypesPackage = (DatatypesPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof DatatypesPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new DatatypesPackageImpl());
@@ -253,28 +244,34 @@ public class DatatypesPackageImpl extends EPackageImpl implements DatatypesPacka
VariabilityPackageImpl theVariabilityPackage = (VariabilityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VariabilityPackage.eNS_URI) instanceof VariabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VariabilityPackage.eNS_URI) : VariabilityPackage.eINSTANCE);
InfrastructurePackageImpl theInfrastructurePackage = (InfrastructurePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI) instanceof InfrastructurePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI) : InfrastructurePackage.eINSTANCE);
UserattributesPackageImpl theUserattributesPackage = (UserattributesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UserattributesPackage.eNS_URI) instanceof UserattributesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UserattributesPackage.eNS_URI) : UserattributesPackage.eINSTANCE);
+ ValuesPackageImpl theValuesPackage = (ValuesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI) instanceof ValuesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI) : ValuesPackage.eINSTANCE);
ElementsPackageImpl theElementsPackage = (ElementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI) instanceof ElementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI) : ElementsPackage.eINSTANCE);
StructurePackageImpl theStructurePackage = (StructurePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI) instanceof StructurePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI) : StructurePackage.eINSTANCE);
FunctionmodelingPackageImpl theFunctionmodelingPackage = (FunctionmodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(FunctionmodelingPackage.eNS_URI) instanceof FunctionmodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(FunctionmodelingPackage.eNS_URI) : FunctionmodelingPackage.eINSTANCE);
- HardwaremodelingPackageImpl theHardwaremodelingPackage = (HardwaremodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI) instanceof HardwaremodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI) : HardwaremodelingPackage.eINSTANCE);
+ FeaturemodelingPackageImpl theFeaturemodelingPackage = (FeaturemodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI) instanceof FeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI) : FeaturemodelingPackage.eINSTANCE);
SystemmodelingPackageImpl theSystemmodelingPackage = (SystemmodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SystemmodelingPackage.eNS_URI) instanceof SystemmodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SystemmodelingPackage.eNS_URI) : SystemmodelingPackage.eINSTANCE);
VehiclefeaturemodelingPackageImpl theVehiclefeaturemodelingPackage = (VehiclefeaturemodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VehiclefeaturemodelingPackage.eNS_URI) instanceof VehiclefeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VehiclefeaturemodelingPackage.eNS_URI) : VehiclefeaturemodelingPackage.eINSTANCE);
- FeaturemodelingPackageImpl theFeaturemodelingPackage = (FeaturemodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI) instanceof FeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI) : FeaturemodelingPackage.eINSTANCE);
- BehaviorPackageImpl theBehaviorPackage = (BehaviorPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI) instanceof BehaviorPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI) : BehaviorPackage.eINSTANCE);
+ HardwaremodelingPackageImpl theHardwaremodelingPackage = (HardwaremodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI) instanceof HardwaremodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI) : HardwaremodelingPackage.eINSTANCE);
+ DependabilityPackageImpl theDependabilityPackage = (DependabilityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI) instanceof DependabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI) : DependabilityPackage.eINSTANCE);
+ SafetyrequirementPackageImpl theSafetyrequirementPackage = (SafetyrequirementPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetyrequirementPackage.eNS_URI) instanceof SafetyrequirementPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetyrequirementPackage.eNS_URI) : SafetyrequirementPackage.eINSTANCE);
+ SafetyconstraintsPackageImpl theSafetyconstraintsPackage = (SafetyconstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI) instanceof SafetyconstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI) : SafetyconstraintsPackage.eINSTANCE);
+ SafetycasePackageImpl theSafetycasePackage = (SafetycasePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI) instanceof SafetycasePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI) : SafetycasePackage.eINSTANCE);
+ ErrormodelPackageImpl theErrormodelPackage = (ErrormodelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI) instanceof ErrormodelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI) : ErrormodelPackage.eINSTANCE);
RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE);
+ UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) : UsecasesPackage.eINSTANCE);
VerificationvalidationPackageImpl theVerificationvalidationPackage = (VerificationvalidationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VerificationvalidationPackage.eNS_URI) instanceof VerificationvalidationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VerificationvalidationPackage.eNS_URI) : VerificationvalidationPackage.eINSTANCE);
+ org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl theRequirementsPackage_1 = (org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eNS_URI) instanceof org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eNS_URI) : org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eINSTANCE);
+ BehaviorPackageImpl theBehaviorPackage = (BehaviorPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI) instanceof BehaviorPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI) : BehaviorPackage.eINSTANCE);
TimingPackageImpl theTimingPackage = (TimingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimingPackage.eNS_URI) instanceof TimingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimingPackage.eNS_URI) : TimingPackage.eINSTANCE);
TimingconstraintsPackageImpl theTimingconstraintsPackage = (TimingconstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimingconstraintsPackage.eNS_URI) instanceof TimingconstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimingconstraintsPackage.eNS_URI) : TimingconstraintsPackage.eINSTANCE);
EventsPackageImpl theEventsPackage = (EventsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) instanceof EventsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) : EventsPackage.eINSTANCE);
- InterchangePackageImpl theInterchangePackage = (InterchangePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InterchangePackage.eNS_URI) instanceof InterchangePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InterchangePackage.eNS_URI) : InterchangePackage.eINSTANCE);
EnvironmentPackageImpl theEnvironmentPackage = (EnvironmentPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EnvironmentPackage.eNS_URI) instanceof EnvironmentPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EnvironmentPackage.eNS_URI) : EnvironmentPackage.eINSTANCE);
- DependabilityPackageImpl theDependabilityPackage = (DependabilityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI) instanceof DependabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI) : DependabilityPackage.eINSTANCE);
- ErrormodelPackageImpl theErrormodelPackage = (ErrormodelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI) instanceof ErrormodelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI) : ErrormodelPackage.eINSTANCE);
- SafetyrequirementPackageImpl theSafetyrequirementPackage = (SafetyrequirementPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetyrequirementPackage.eNS_URI) instanceof SafetyrequirementPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetyrequirementPackage.eNS_URI) : SafetyrequirementPackage.eINSTANCE);
- SafetyconstraintsPackageImpl theSafetyconstraintsPackage = (SafetyconstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI) instanceof SafetyconstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI) : SafetyconstraintsPackage.eINSTANCE);
- SafetycasePackageImpl theSafetycasePackage = (SafetycasePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI) instanceof SafetycasePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI) : SafetycasePackage.eINSTANCE);
AnnexPackageImpl theAnnexPackage = (AnnexPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AnnexPackage.eNS_URI) instanceof AnnexPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AnnexPackage.eNS_URI) : AnnexPackage.eINSTANCE);
NeedsPackageImpl theNeedsPackage = (NeedsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(NeedsPackage.eNS_URI) instanceof NeedsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(NeedsPackage.eNS_URI) : NeedsPackage.eINSTANCE);
+ BehaviordescriptionPackageImpl theBehaviordescriptionPackage = (BehaviordescriptionPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BehaviordescriptionPackage.eNS_URI) instanceof BehaviordescriptionPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BehaviordescriptionPackage.eNS_URI) : BehaviordescriptionPackage.eINSTANCE);
+ AttributequantificationconstraintPackageImpl theAttributequantificationconstraintPackage = (AttributequantificationconstraintPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AttributequantificationconstraintPackage.eNS_URI) instanceof AttributequantificationconstraintPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AttributequantificationconstraintPackage.eNS_URI) : AttributequantificationconstraintPackage.eINSTANCE);
+ TemporalconstraintPackageImpl theTemporalconstraintPackage = (TemporalconstraintPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TemporalconstraintPackage.eNS_URI) instanceof TemporalconstraintPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TemporalconstraintPackage.eNS_URI) : TemporalconstraintPackage.eINSTANCE);
+ ComputationconstraintPackageImpl theComputationconstraintPackage = (ComputationconstraintPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ComputationconstraintPackage.eNS_URI) instanceof ComputationconstraintPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ComputationconstraintPackage.eNS_URI) : ComputationconstraintPackage.eINSTANCE);
GenericconstraintsPackageImpl theGenericconstraintsPackage = (GenericconstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GenericconstraintsPackage.eNS_URI) instanceof GenericconstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GenericconstraintsPackage.eNS_URI) : GenericconstraintsPackage.eINSTANCE);
// Create package meta-data objects
@@ -283,28 +280,34 @@ public class DatatypesPackageImpl extends EPackageImpl implements DatatypesPacka
theVariabilityPackage.createPackageContents();
theInfrastructurePackage.createPackageContents();
theUserattributesPackage.createPackageContents();
+ theValuesPackage.createPackageContents();
theElementsPackage.createPackageContents();
theStructurePackage.createPackageContents();
theFunctionmodelingPackage.createPackageContents();
- theHardwaremodelingPackage.createPackageContents();
+ theFeaturemodelingPackage.createPackageContents();
theSystemmodelingPackage.createPackageContents();
theVehiclefeaturemodelingPackage.createPackageContents();
- theFeaturemodelingPackage.createPackageContents();
- theBehaviorPackage.createPackageContents();
+ theHardwaremodelingPackage.createPackageContents();
+ theDependabilityPackage.createPackageContents();
+ theSafetyrequirementPackage.createPackageContents();
+ theSafetyconstraintsPackage.createPackageContents();
+ theSafetycasePackage.createPackageContents();
+ theErrormodelPackage.createPackageContents();
theRequirementsPackage.createPackageContents();
+ theUsecasesPackage.createPackageContents();
theVerificationvalidationPackage.createPackageContents();
+ theRequirementsPackage_1.createPackageContents();
+ theBehaviorPackage.createPackageContents();
theTimingPackage.createPackageContents();
theTimingconstraintsPackage.createPackageContents();
theEventsPackage.createPackageContents();
- theInterchangePackage.createPackageContents();
theEnvironmentPackage.createPackageContents();
- theDependabilityPackage.createPackageContents();
- theErrormodelPackage.createPackageContents();
- theSafetyrequirementPackage.createPackageContents();
- theSafetyconstraintsPackage.createPackageContents();
- theSafetycasePackage.createPackageContents();
theAnnexPackage.createPackageContents();
theNeedsPackage.createPackageContents();
+ theBehaviordescriptionPackage.createPackageContents();
+ theAttributequantificationconstraintPackage.createPackageContents();
+ theTemporalconstraintPackage.createPackageContents();
+ theComputationconstraintPackage.createPackageContents();
theGenericconstraintsPackage.createPackageContents();
// Initialize created meta-data
@@ -313,34 +316,40 @@ public class DatatypesPackageImpl extends EPackageImpl implements DatatypesPacka
theVariabilityPackage.initializePackageContents();
theInfrastructurePackage.initializePackageContents();
theUserattributesPackage.initializePackageContents();
+ theValuesPackage.initializePackageContents();
theElementsPackage.initializePackageContents();
theStructurePackage.initializePackageContents();
theFunctionmodelingPackage.initializePackageContents();
- theHardwaremodelingPackage.initializePackageContents();
+ theFeaturemodelingPackage.initializePackageContents();
theSystemmodelingPackage.initializePackageContents();
theVehiclefeaturemodelingPackage.initializePackageContents();
- theFeaturemodelingPackage.initializePackageContents();
- theBehaviorPackage.initializePackageContents();
+ theHardwaremodelingPackage.initializePackageContents();
+ theDependabilityPackage.initializePackageContents();
+ theSafetyrequirementPackage.initializePackageContents();
+ theSafetyconstraintsPackage.initializePackageContents();
+ theSafetycasePackage.initializePackageContents();
+ theErrormodelPackage.initializePackageContents();
theRequirementsPackage.initializePackageContents();
+ theUsecasesPackage.initializePackageContents();
theVerificationvalidationPackage.initializePackageContents();
+ theRequirementsPackage_1.initializePackageContents();
+ theBehaviorPackage.initializePackageContents();
theTimingPackage.initializePackageContents();
theTimingconstraintsPackage.initializePackageContents();
theEventsPackage.initializePackageContents();
- theInterchangePackage.initializePackageContents();
theEnvironmentPackage.initializePackageContents();
- theDependabilityPackage.initializePackageContents();
- theErrormodelPackage.initializePackageContents();
- theSafetyrequirementPackage.initializePackageContents();
- theSafetyconstraintsPackage.initializePackageContents();
- theSafetycasePackage.initializePackageContents();
theAnnexPackage.initializePackageContents();
theNeedsPackage.initializePackageContents();
+ theBehaviordescriptionPackage.initializePackageContents();
+ theAttributequantificationconstraintPackage.initializePackageContents();
+ theTemporalconstraintPackage.initializePackageContents();
+ theComputationconstraintPackage.initializePackageContents();
theGenericconstraintsPackage.initializePackageContents();
// Mark meta-data to indicate it can't be changed
theDatatypesPackage.freeze();
-
+
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(DatatypesPackage.eNS_URI, theDatatypesPackage);
return theDatatypesPackage;
@@ -349,7 +358,6 @@ public class DatatypesPackageImpl extends EPackageImpl implements DatatypesPacka
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EClass getEADatatype() {
@@ -359,7 +367,6 @@ public class DatatypesPackageImpl extends EPackageImpl implements DatatypesPacka
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EReference getEADatatype_Base_DataType() {
@@ -369,7 +376,6 @@ public class DatatypesPackageImpl extends EPackageImpl implements DatatypesPacka
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EClass getEADatatypePrototype() {
@@ -379,7 +385,6 @@ public class DatatypesPackageImpl extends EPackageImpl implements DatatypesPacka
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EReference getEADatatypePrototype_Type() {
@@ -389,7 +394,6 @@ public class DatatypesPackageImpl extends EPackageImpl implements DatatypesPacka
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EReference getEADatatypePrototype_Base_Property() {
@@ -399,7 +403,6 @@ public class DatatypesPackageImpl extends EPackageImpl implements DatatypesPacka
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EReference getEADatatypePrototype_Base_Parameter() {
@@ -409,390 +412,456 @@ public class DatatypesPackageImpl extends EPackageImpl implements DatatypesPacka
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- private boolean isCreated = false;
+ public EClass getEANumerical() {
+ return eaNumericalEClass;
+ }
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- private boolean isInitialized = false;
+ public EAttribute getEANumerical_Max() {
+ return (EAttribute)eaNumericalEClass.getEStructuralFeatures().get(0);
+ }
/**
- * 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.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#eNS_URI
- * @see #init()
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- private DatatypesPackageImpl() {
- super(eNS_URI, DatatypesFactory.eINSTANCE);
+ public EAttribute getEANumerical_Min() {
+ return (EAttribute)eaNumericalEClass.getEStructuralFeatures().get(1);
}
/**
- * 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
- eaDatatypeEClass = createEClass(EA_DATATYPE);
- createEReference(eaDatatypeEClass, EA_DATATYPE__BASE_DATA_TYPE);
-
- eaDatatypePrototypeEClass = createEClass(EA_DATATYPE_PROTOTYPE);
- createEReference(eaDatatypePrototypeEClass, EA_DATATYPE_PROTOTYPE__TYPE);
- createEReference(eaDatatypePrototypeEClass, EA_DATATYPE_PROTOTYPE__BASE_PROPERTY);
- createEReference(eaDatatypePrototypeEClass, EA_DATATYPE_PROTOTYPE__BASE_PARAMETER);
-
- valueTypeEClass = createEClass(VALUE_TYPE);
- createEAttribute(valueTypeEClass, VALUE_TYPE__SEMANTICS);
- createEAttribute(valueTypeEClass, VALUE_TYPE__DIMENSION);
- createEAttribute(valueTypeEClass, VALUE_TYPE__UNIT);
-
- rangeableDatatypeEClass = createEClass(RANGEABLE_DATATYPE);
-
- rangeableValueTypeEClass = createEClass(RANGEABLE_VALUE_TYPE);
- createEAttribute(rangeableValueTypeEClass, RANGEABLE_VALUE_TYPE__ACCURACY);
- createEAttribute(rangeableValueTypeEClass, RANGEABLE_VALUE_TYPE__RESOLUTION);
- createEAttribute(rangeableValueTypeEClass, RANGEABLE_VALUE_TYPE__SIGNIFICANT_DIGITS);
-
- enumerationValueTypeEClass = createEClass(ENUMERATION_VALUE_TYPE);
- createEAttribute(enumerationValueTypeEClass, ENUMERATION_VALUE_TYPE__IS_MULTI_VALUED);
- createEAttribute(enumerationValueTypeEClass, ENUMERATION_VALUE_TYPE__LITERAL_SEMANTICS);
- createEReference(enumerationValueTypeEClass, ENUMERATION_VALUE_TYPE__BASE_ENUMERATION);
+ public EReference getEANumerical_Unit() {
+ return (EReference)eaNumericalEClass.getEStructuralFeatures().get(2);
+ }
- compositeDatatypeEClass = createEClass(COMPOSITE_DATATYPE);
- createEReference(compositeDatatypeEClass, COMPOSITE_DATATYPE__DATATYPE_PROTOTYPE);
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getUnit() {
+ return unitEClass;
+ }
- eaStringEClass = createEClass(EA_STRING);
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnit_Factor() {
+ return (EAttribute)unitEClass.getEStructuralFeatures().get(0);
+ }
- eaBooleanEClass = createEClass(EA_BOOLEAN);
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnit_Offset() {
+ return (EAttribute)unitEClass.getEStructuralFeatures().get(1);
+ }
- eaFloatEClass = createEClass(EA_FLOAT);
- createEAttribute(eaFloatEClass, EA_FLOAT__MIN);
- createEAttribute(eaFloatEClass, EA_FLOAT__MAX);
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnit_Symbol() {
+ return (EAttribute)unitEClass.getEStructuralFeatures().get(2);
+ }
- eaIntegerEClass = createEClass(EA_INTEGER);
- createEAttribute(eaIntegerEClass, EA_INTEGER__MIN);
- createEAttribute(eaIntegerEClass, EA_INTEGER__MAX);
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getUnit_Quantity() {
+ return (EReference)unitEClass.getEStructuralFeatures().get(3);
+ }
- enumerationLiteralEClass = createEClass(ENUMERATION_LITERAL);
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getUnit_Reference() {
+ return (EReference)unitEClass.getEStructuralFeatures().get(4);
+ }
- enumerationEClass = createEClass(ENUMERATION);
- createEReference(enumerationEClass, ENUMERATION__LITERAL);
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getQuantity() {
+ return quantityEClass;
+ }
- // Create data types
- javalangFloatEDataType = createEDataType(JAVALANG_FLOAT);
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getQuantity_AmountOfSubstanceExp() {
+ return (EAttribute)quantityEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EClass getCompositeDatatype() {
- return compositeDatatypeEClass;
+ public EAttribute getQuantity_ElectricCurrentExp() {
+ return (EAttribute)quantityEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EReference getCompositeDatatype_DatatypePrototype() {
- return (EReference)compositeDatatypeEClass.getEStructuralFeatures().get(0);
+ public EAttribute getQuantity_LenghtExp() {
+ return (EAttribute)quantityEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EClass getEAString() {
- return eaStringEClass;
+ public EAttribute getQuantity_LuminousIntensityExp() {
+ return (EAttribute)quantityEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EClass getEABoolean() {
- return eaBooleanEClass;
+ public EAttribute getQuantity_MassExp() {
+ return (EAttribute)quantityEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EClass getEAFloat() {
- return eaFloatEClass;
+ public EAttribute getQuantity_ThermodynamicTemperatureExp() {
+ return (EAttribute)quantityEClass.getEStructuralFeatures().get(5);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EAttribute getEAFloat_Min() {
- return (EAttribute)eaFloatEClass.getEStructuralFeatures().get(0);
+ public EAttribute getQuantity_TimeExp() {
+ return (EAttribute)quantityEClass.getEStructuralFeatures().get(6);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EAttribute getEAFloat_Max() {
- return (EAttribute)eaFloatEClass.getEStructuralFeatures().get(1);
+ private boolean isCreated = false;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isInitialized = false;
+
+ /**
+ * 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.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private DatatypesPackageImpl() {
+ super(eNS_URI, DatatypesFactory.eINSTANCE);
}
/**
+ * 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 EClass getEAInteger() {
- return eaIntegerEClass;
+ public void createPackageContents() {
+ if (isCreated) return;
+ isCreated = true;
+
+ // Create classes and their features
+ eaDatatypeEClass = createEClass(EA_DATATYPE);
+ createEReference(eaDatatypeEClass, EA_DATATYPE__BASE_DATA_TYPE);
+
+ eaDatatypePrototypeEClass = createEClass(EA_DATATYPE_PROTOTYPE);
+ createEReference(eaDatatypePrototypeEClass, EA_DATATYPE_PROTOTYPE__TYPE);
+ createEReference(eaDatatypePrototypeEClass, EA_DATATYPE_PROTOTYPE__BASE_PROPERTY);
+ createEReference(eaDatatypePrototypeEClass, EA_DATATYPE_PROTOTYPE__BASE_PARAMETER);
+
+ eaNumericalEClass = createEClass(EA_NUMERICAL);
+ createEAttribute(eaNumericalEClass, EA_NUMERICAL__MAX);
+ createEAttribute(eaNumericalEClass, EA_NUMERICAL__MIN);
+ createEReference(eaNumericalEClass, EA_NUMERICAL__UNIT);
+
+ unitEClass = createEClass(UNIT);
+ createEAttribute(unitEClass, UNIT__FACTOR);
+ createEAttribute(unitEClass, UNIT__OFFSET);
+ createEAttribute(unitEClass, UNIT__SYMBOL);
+ createEReference(unitEClass, UNIT__QUANTITY);
+ createEReference(unitEClass, UNIT__REFERENCE);
+
+ quantityEClass = createEClass(QUANTITY);
+ createEAttribute(quantityEClass, QUANTITY__AMOUNT_OF_SUBSTANCE_EXP);
+ createEAttribute(quantityEClass, QUANTITY__ELECTRIC_CURRENT_EXP);
+ createEAttribute(quantityEClass, QUANTITY__LENGHT_EXP);
+ createEAttribute(quantityEClass, QUANTITY__LUMINOUS_INTENSITY_EXP);
+ createEAttribute(quantityEClass, QUANTITY__MASS_EXP);
+ createEAttribute(quantityEClass, QUANTITY__THERMODYNAMIC_TEMPERATURE_EXP);
+ createEAttribute(quantityEClass, QUANTITY__TIME_EXP);
+
+ rangeableValueTypeEClass = createEClass(RANGEABLE_VALUE_TYPE);
+ createEAttribute(rangeableValueTypeEClass, RANGEABLE_VALUE_TYPE__ACCURACY);
+ createEAttribute(rangeableValueTypeEClass, RANGEABLE_VALUE_TYPE__RESOLUTION);
+ createEAttribute(rangeableValueTypeEClass, RANGEABLE_VALUE_TYPE__SIGNIFICANT_DIGITS);
+ createEReference(rangeableValueTypeEClass, RANGEABLE_VALUE_TYPE__BASE_RANGEABLE);
+
+ compositeDatatypeEClass = createEClass(COMPOSITE_DATATYPE);
+ createEReference(compositeDatatypeEClass, COMPOSITE_DATATYPE__DATATYPE_PROTOTYPE);
+
+ eaStringEClass = createEClass(EA_STRING);
+
+ eaBooleanEClass = createEClass(EA_BOOLEAN);
+
+ enumerationLiteralEClass = createEClass(ENUMERATION_LITERAL);
+
+ enumerationEClass = createEClass(ENUMERATION);
+ createEReference(enumerationEClass, ENUMERATION__LITERAL);
+ createEAttribute(enumerationEClass, ENUMERATION__IS_MULTI_VALUED);
+
+ arrayDataTypeEClass = createEClass(ARRAY_DATA_TYPE);
+ createEAttribute(arrayDataTypeEClass, ARRAY_DATA_TYPE__MAX_LENGHT);
+ createEAttribute(arrayDataTypeEClass, ARRAY_DATA_TYPE__MIN_LENGHT);
+ createEReference(arrayDataTypeEClass, ARRAY_DATA_TYPE__ELEMENT_TYPE);
+
+ // Create data types
+ numericalEDataType = createEDataType(NUMERICAL);
+ javalangFloatEDataType = createEDataType(JAVALANG_FLOAT);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EAttribute getEAInteger_Min() {
- return (EAttribute)eaIntegerEClass.getEStructuralFeatures().get(0);
+ public EClass getCompositeDatatype() {
+ return compositeDatatypeEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EAttribute getEAInteger_Max() {
- return (EAttribute)eaIntegerEClass.getEStructuralFeatures().get(1);
+ public EReference getCompositeDatatype_DatatypePrototype() {
+ return (EReference)compositeDatatypeEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public DatatypesFactory getDatatypesFactory() {
- return (DatatypesFactory)getEFactoryInstance();
+ public EClass getEAString() {
+ return eaStringEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EClass getEnumerationLiteral() {
- return enumerationLiteralEClass;
+ public EClass getEABoolean() {
+ return eaBooleanEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EClass getEnumeration() {
- return enumerationEClass;
+ public DatatypesFactory getDatatypesFactory() {
+ return (DatatypesFactory)getEFactoryInstance();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EReference getEnumeration_Literal() {
- return (EReference)enumerationEClass.getEStructuralFeatures().get(0);
+ public EClass getEnumerationLiteral() {
+ return enumerationLiteralEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EClass getEnumerationValueType() {
- return enumerationValueTypeEClass;
+ public EClass getEnumeration() {
+ return enumerationEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EAttribute getEnumerationValueType_IsMultiValued() {
- return (EAttribute)enumerationValueTypeEClass.getEStructuralFeatures().get(0);
+ public EReference getEnumeration_Literal() {
+ return (EReference)enumerationEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EAttribute getEnumerationValueType_LiteralSemantics() {
- return (EAttribute)enumerationValueTypeEClass.getEStructuralFeatures().get(1);
+ public EAttribute getEnumeration_IsMultiValued() {
+ return (EAttribute)enumerationEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EReference getEnumerationValueType_Base_Enumeration() {
- return (EReference)enumerationValueTypeEClass.getEStructuralFeatures().get(2);
+ public EClass getArrayDataType() {
+ return arrayDataTypeEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EDataType getjavalangFloat() {
- return javalangFloatEDataType;
+ public EAttribute getArrayDataType_MaxLenght() {
+ return (EAttribute)arrayDataTypeEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EClass getRangeableDatatype() {
- return rangeableDatatypeEClass;
+ public EAttribute getArrayDataType_MinLenght() {
+ return (EAttribute)arrayDataTypeEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EClass getRangeableValueType() {
- return rangeableValueTypeEClass;
+ public EReference getArrayDataType_ElementType() {
+ return (EReference)arrayDataTypeEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EAttribute getRangeableValueType_Accuracy() {
- return (EAttribute)rangeableValueTypeEClass.getEStructuralFeatures().get(0);
+ public EDataType getNumerical() {
+ return numericalEDataType;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EAttribute getRangeableValueType_Resolution() {
- return (EAttribute)rangeableValueTypeEClass.getEStructuralFeatures().get(1);
+ public EDataType getjavalangFloat() {
+ return javalangFloatEDataType;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EAttribute getRangeableValueType_SignificantDigits() {
- return (EAttribute)rangeableValueTypeEClass.getEStructuralFeatures().get(2);
+ public EClass getRangeableValueType() {
+ return rangeableValueTypeEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EClass getValueType() {
- return valueTypeEClass;
+ public EAttribute getRangeableValueType_Accuracy() {
+ return (EAttribute)rangeableValueTypeEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EAttribute getValueType_Semantics() {
- return (EAttribute)valueTypeEClass.getEStructuralFeatures().get(0);
+ public EAttribute getRangeableValueType_Resolution() {
+ return (EAttribute)rangeableValueTypeEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EAttribute getValueType_Dimension() {
- return (EAttribute)valueTypeEClass.getEStructuralFeatures().get(1);
+ public EAttribute getRangeableValueType_SignificantDigits() {
+ return (EAttribute)rangeableValueTypeEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EAttribute getValueType_Unit() {
- return (EAttribute)valueTypeEClass.getEStructuralFeatures().get(2);
+ public EReference getRangeableValueType_BaseRangeable() {
+ return (EReference)rangeableValueTypeEClass.getEStructuralFeatures().get(3);
}
/**
- * Complete the initialization of the package and its meta-model. This
+ * 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;
+ if (isInitialized) return;
isInitialized = true;
// Initialize package
@@ -812,19 +881,18 @@ public class DatatypesPackageImpl extends EPackageImpl implements DatatypesPacka
// Add supertypes to classes
eaDatatypeEClass.getESuperTypes().add(theElementsPackage.getTraceableSpecification());
eaDatatypePrototypeEClass.getESuperTypes().add(theElementsPackage.getEAElement());
- valueTypeEClass.getESuperTypes().add(this.getEADatatype());
- rangeableDatatypeEClass.getESuperTypes().add(this.getEADatatype());
- rangeableValueTypeEClass.getESuperTypes().add(this.getValueType());
- enumerationValueTypeEClass.getESuperTypes().add(this.getValueType());
+ eaNumericalEClass.getESuperTypes().add(this.getEADatatype());
+ unitEClass.getESuperTypes().add(theElementsPackage.getEAPackageableElement());
+ quantityEClass.getESuperTypes().add(theElementsPackage.getEAPackageableElement());
+ rangeableValueTypeEClass.getESuperTypes().add(this.getEADatatype());
compositeDatatypeEClass.getESuperTypes().add(this.getEADatatype());
eaStringEClass.getESuperTypes().add(this.getEADatatype());
eaBooleanEClass.getESuperTypes().add(this.getEADatatype());
- eaFloatEClass.getESuperTypes().add(this.getRangeableDatatype());
- eaIntegerEClass.getESuperTypes().add(this.getRangeableDatatype());
enumerationLiteralEClass.getESuperTypes().add(theElementsPackage.getEAElement());
enumerationEClass.getESuperTypes().add(this.getEADatatype());
+ arrayDataTypeEClass.getESuperTypes().add(this.getEADatatype());
- // Initialize classes and features; add operations and parameters
+ // Initialize classes, features, and operations; add parameters
initEClass(eaDatatypeEClass, EADatatype.class, "EADatatype", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getEADatatype_Base_DataType(), theUMLPackage.getDataType(), null, "base_DataType", null, 1, 1, EADatatype.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
@@ -833,44 +901,53 @@ public class DatatypesPackageImpl extends EPackageImpl implements DatatypesPacka
initEReference(getEADatatypePrototype_Base_Property(), theUMLPackage.getProperty(), null, "base_Property", null, 0, 1, EADatatypePrototype.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEReference(getEADatatypePrototype_Base_Parameter(), theUMLPackage.getParameter(), null, "base_Parameter", null, 0, 1, EADatatypePrototype.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEClass(valueTypeEClass, ValueType.class, "ValueType", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getValueType_Semantics(), theTypesPackage.getString(), "semantics", null, 0, 1, ValueType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getValueType_Dimension(), theTypesPackage.getString(), "dimension", null, 0, 1, ValueType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getValueType_Unit(), theTypesPackage.getString(), "unit", null, 0, 1, ValueType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(rangeableDatatypeEClass, RangeableDatatype.class, "RangeableDatatype", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEClass(eaNumericalEClass, EANumerical.class, "EANumerical", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEANumerical_Max(), this.getNumerical(), "max", null, 0, 1, EANumerical.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getEANumerical_Min(), this.getNumerical(), "min", null, 0, 1, EANumerical.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getEANumerical_Unit(), this.getUnit(), null, "unit", null, 0, 1, EANumerical.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(unitEClass, Unit.class, "Unit", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getUnit_Factor(), this.getjavalangFloat(), "factor", null, 1, 1, Unit.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getUnit_Offset(), this.getjavalangFloat(), "offset", null, 1, 1, Unit.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getUnit_Symbol(), theTypesPackage.getString(), "symbol", null, 1, 1, Unit.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getUnit_Quantity(), this.getQuantity(), null, "quantity", null, 0, 1, Unit.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getUnit_Reference(), this.getUnit(), null, "reference", null, 0, 1, Unit.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(quantityEClass, Quantity.class, "Quantity", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getQuantity_AmountOfSubstanceExp(), theTypesPackage.getInteger(), "amountOfSubstanceExp", "0", 1, 1, Quantity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getQuantity_ElectricCurrentExp(), theTypesPackage.getInteger(), "electricCurrentExp", "0", 1, 1, Quantity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getQuantity_LenghtExp(), theTypesPackage.getInteger(), "lenghtExp", "0", 1, 1, Quantity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getQuantity_LuminousIntensityExp(), theTypesPackage.getInteger(), "luminousIntensityExp", "0", 1, 1, Quantity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getQuantity_MassExp(), theTypesPackage.getInteger(), "massExp", "0", 1, 1, Quantity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getQuantity_ThermodynamicTemperatureExp(), theTypesPackage.getInteger(), "thermodynamicTemperatureExp", "0", 1, 1, Quantity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getQuantity_TimeExp(), theTypesPackage.getInteger(), "timeExp", "0", 1, 1, Quantity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(rangeableValueTypeEClass, RangeableValueType.class, "RangeableValueType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getRangeableValueType_Accuracy(), this.getjavalangFloat(), "accuracy", null, 1, 1, RangeableValueType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEAttribute(getRangeableValueType_Resolution(), this.getjavalangFloat(), "resolution", null, 1, 1, RangeableValueType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEAttribute(getRangeableValueType_SignificantDigits(), theTypesPackage.getInteger(), "significantDigits", null, 0, 1, RangeableValueType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(enumerationValueTypeEClass, EnumerationValueType.class, "EnumerationValueType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getEnumerationValueType_IsMultiValued(), theTypesPackage.getBoolean(), "isMultiValued", null, 1, 1, EnumerationValueType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getEnumerationValueType_LiteralSemantics(), theTypesPackage.getString(), "literalSemantics", null, 2, -1, EnumerationValueType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getEnumerationValueType_Base_Enumeration(), theUMLPackage.getEnumeration(), null, "base_Enumeration", null, 1, 1, EnumerationValueType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getRangeableValueType_BaseRangeable(), this.getEANumerical(), null, "baseRangeable", null, 1, 1, RangeableValueType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(compositeDatatypeEClass, CompositeDatatype.class, "CompositeDatatype", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getCompositeDatatype_DatatypePrototype(), this.getEADatatypePrototype(), null, "datatypePrototype", null, 1, -1, CompositeDatatype.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getCompositeDatatype_DatatypePrototype(), this.getEADatatypePrototype(), null, "datatypePrototype", null, 1, -1, CompositeDatatype.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(eaStringEClass, EAString.class, "EAString", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(eaBooleanEClass, EABoolean.class, "EABoolean", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEClass(eaFloatEClass, EAFloat.class, "EAFloat", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getEAFloat_Min(), this.getjavalangFloat(), "min", null, 0, 1, EAFloat.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getEAFloat_Max(), this.getjavalangFloat(), "max", null, 0, 1, EAFloat.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(eaIntegerEClass, EAInteger.class, "EAInteger", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getEAInteger_Min(), theTypesPackage.getInteger(), "min", null, 0, 1, EAInteger.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getEAInteger_Max(), theTypesPackage.getInteger(), "max", null, 0, 1, EAInteger.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
initEClass(enumerationLiteralEClass, EnumerationLiteral.class, "EnumerationLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(enumerationEClass, Enumeration.class, "Enumeration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getEnumeration_Literal(), this.getEnumerationLiteral(), null, "literal", null, 2, -1, Enumeration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getEnumeration_IsMultiValued(), theTypesPackage.getBoolean(), "isMultiValued", null, 1, 1, Enumeration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(arrayDataTypeEClass, ArrayDataType.class, "ArrayDataType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getArrayDataType_MaxLenght(), theTypesPackage.getInteger(), "maxLenght", null, 0, 1, ArrayDataType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getArrayDataType_MinLenght(), theTypesPackage.getInteger(), "minLenght", null, 0, 1, ArrayDataType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getArrayDataType_ElementType(), this.getEADatatype(), null, "elementType", null, 1, 1, ArrayDataType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
// Initialize data types
+ initEDataType(numericalEDataType, Float.class, "Numerical", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
initEDataType(javalangFloatEDataType, Float.class, "javalangFloat", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
}
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EABooleanImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EABooleanImpl.java
index 966c3eaa416..7fb417b6771 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EABooleanImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EABooleanImpl.java
@@ -26,15 +26,13 @@ import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EABoolean;
* <!-- end-user-doc -->
* <p>
* </p>
- *
+ *
* @generated
*/
public class EABooleanImpl extends EADatatypeImpl implements EABoolean {
-
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected EABooleanImpl() {
@@ -44,7 +42,6 @@ public class EABooleanImpl extends EADatatypeImpl implements EABoolean {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EADatatypeImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EADatatypeImpl.java
index fcfdbdc1a2a..2a23b6d12ec 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EADatatypeImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EADatatypeImpl.java
@@ -32,19 +32,17 @@ import org.eclipse.uml2.uml.DataType;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EADatatypeImpl#getBase_DataType <em>Base Data Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EADatatypeImpl#getBase_DataType <em>Base Data Type</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public abstract class EADatatypeImpl extends TraceableSpecificationImpl implements EADatatype {
-
/**
* The cached value of the '{@link #getBase_DataType() <em>Base Data Type</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getBase_DataType()
* @generated
* @ordered
@@ -54,7 +52,6 @@ public abstract class EADatatypeImpl extends TraceableSpecificationImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected EADatatypeImpl() {
@@ -64,7 +61,6 @@ public abstract class EADatatypeImpl extends TraceableSpecificationImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public DataType basicGetBase_DataType() {
@@ -74,16 +70,14 @@ public abstract class EADatatypeImpl extends TraceableSpecificationImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case DatatypesPackage.EA_DATATYPE__BASE_DATA_TYPE:
- if(resolve)
- return getBase_DataType();
- return basicGetBase_DataType();
+ switch (featureID) {
+ case DatatypesPackage.EA_DATATYPE__BASE_DATA_TYPE:
+ if (resolve) return getBase_DataType();
+ return basicGetBase_DataType();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -91,14 +85,13 @@ public abstract class EADatatypeImpl extends TraceableSpecificationImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
- case DatatypesPackage.EA_DATATYPE__BASE_DATA_TYPE:
- return base_DataType != null;
+ switch (featureID) {
+ case DatatypesPackage.EA_DATATYPE__BASE_DATA_TYPE:
+ return base_DataType != null;
}
return super.eIsSet(featureID);
}
@@ -106,15 +99,14 @@ public abstract class EADatatypeImpl extends TraceableSpecificationImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case DatatypesPackage.EA_DATATYPE__BASE_DATA_TYPE:
- setBase_DataType((DataType)newValue);
- return;
+ switch (featureID) {
+ case DatatypesPackage.EA_DATATYPE__BASE_DATA_TYPE:
+ setBase_DataType((DataType)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -122,7 +114,6 @@ public abstract class EADatatypeImpl extends TraceableSpecificationImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -133,15 +124,14 @@ public abstract class EADatatypeImpl extends TraceableSpecificationImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
- case DatatypesPackage.EA_DATATYPE__BASE_DATA_TYPE:
- setBase_DataType((DataType)null);
- return;
+ switch (featureID) {
+ case DatatypesPackage.EA_DATATYPE__BASE_DATA_TYPE:
+ setBase_DataType((DataType)null);
+ return;
}
super.eUnset(featureID);
}
@@ -149,15 +139,14 @@ public abstract class EADatatypeImpl extends TraceableSpecificationImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public DataType getBase_DataType() {
- if(base_DataType != null && base_DataType.eIsProxy()) {
+ if (base_DataType != null && base_DataType.eIsProxy()) {
InternalEObject oldBase_DataType = (InternalEObject)base_DataType;
base_DataType = (DataType)eResolveProxy(oldBase_DataType);
- if(base_DataType != oldBase_DataType) {
- if(eNotificationRequired())
+ if (base_DataType != oldBase_DataType) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE, DatatypesPackage.EA_DATATYPE__BASE_DATA_TYPE, oldBase_DataType, base_DataType));
}
}
@@ -167,13 +156,12 @@ public abstract class EADatatypeImpl extends TraceableSpecificationImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public void setBase_DataType(DataType newBase_DataType) {
DataType oldBase_DataType = base_DataType;
base_DataType = newBase_DataType;
- if(eNotificationRequired())
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DatatypesPackage.EA_DATATYPE__BASE_DATA_TYPE, oldBase_DataType, base_DataType));
}
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EADatatypePrototypeImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EADatatypePrototypeImpl.java
index e9bfe4080ff..e4f99247705 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EADatatypePrototypeImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EADatatypePrototypeImpl.java
@@ -34,21 +34,19 @@ import org.eclipse.uml2.uml.Property;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EADatatypePrototypeImpl#getType <em>Type</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EADatatypePrototypeImpl#getBase_Property <em>Base Property</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EADatatypePrototypeImpl#getBase_Parameter <em>Base Parameter</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EADatatypePrototypeImpl#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EADatatypePrototypeImpl#getBase_Property <em>Base Property</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EADatatypePrototypeImpl#getBase_Parameter <em>Base Parameter</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class EADatatypePrototypeImpl extends EAElementImpl implements EADatatypePrototype {
-
/**
* The cached value of the '{@link #getType() <em>Type</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getType()
* @generated
* @ordered
@@ -59,7 +57,6 @@ public class EADatatypePrototypeImpl extends EAElementImpl implements EADatatype
* The cached value of the '{@link #getBase_Property() <em>Base Property</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getBase_Property()
* @generated
* @ordered
@@ -70,7 +67,6 @@ public class EADatatypePrototypeImpl extends EAElementImpl implements EADatatype
* The cached value of the '{@link #getBase_Parameter() <em>Base Parameter</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getBase_Parameter()
* @generated
* @ordered
@@ -80,7 +76,6 @@ public class EADatatypePrototypeImpl extends EAElementImpl implements EADatatype
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected EADatatypePrototypeImpl() {
@@ -90,7 +85,6 @@ public class EADatatypePrototypeImpl extends EAElementImpl implements EADatatype
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public Parameter basicGetBase_Parameter() {
@@ -100,7 +94,6 @@ public class EADatatypePrototypeImpl extends EAElementImpl implements EADatatype
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public Property basicGetBase_Property() {
@@ -110,7 +103,6 @@ public class EADatatypePrototypeImpl extends EAElementImpl implements EADatatype
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EADatatype basicGetType() {
@@ -120,24 +112,20 @@ public class EADatatypePrototypeImpl extends EAElementImpl implements EADatatype
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case DatatypesPackage.EA_DATATYPE_PROTOTYPE__TYPE:
- if(resolve)
- return getType();
- return basicGetType();
- case DatatypesPackage.EA_DATATYPE_PROTOTYPE__BASE_PROPERTY:
- if(resolve)
- return getBase_Property();
- return basicGetBase_Property();
- case DatatypesPackage.EA_DATATYPE_PROTOTYPE__BASE_PARAMETER:
- if(resolve)
- return getBase_Parameter();
- return basicGetBase_Parameter();
+ switch (featureID) {
+ case DatatypesPackage.EA_DATATYPE_PROTOTYPE__TYPE:
+ if (resolve) return getType();
+ return basicGetType();
+ case DatatypesPackage.EA_DATATYPE_PROTOTYPE__BASE_PROPERTY:
+ if (resolve) return getBase_Property();
+ return basicGetBase_Property();
+ case DatatypesPackage.EA_DATATYPE_PROTOTYPE__BASE_PARAMETER:
+ if (resolve) return getBase_Parameter();
+ return basicGetBase_Parameter();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -145,18 +133,17 @@ public class EADatatypePrototypeImpl extends EAElementImpl implements EADatatype
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
- case DatatypesPackage.EA_DATATYPE_PROTOTYPE__TYPE:
- return type != null;
- case DatatypesPackage.EA_DATATYPE_PROTOTYPE__BASE_PROPERTY:
- return base_Property != null;
- case DatatypesPackage.EA_DATATYPE_PROTOTYPE__BASE_PARAMETER:
- return base_Parameter != null;
+ switch (featureID) {
+ case DatatypesPackage.EA_DATATYPE_PROTOTYPE__TYPE:
+ return type != null;
+ case DatatypesPackage.EA_DATATYPE_PROTOTYPE__BASE_PROPERTY:
+ return base_Property != null;
+ case DatatypesPackage.EA_DATATYPE_PROTOTYPE__BASE_PARAMETER:
+ return base_Parameter != null;
}
return super.eIsSet(featureID);
}
@@ -164,21 +151,20 @@ public class EADatatypePrototypeImpl extends EAElementImpl implements EADatatype
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case DatatypesPackage.EA_DATATYPE_PROTOTYPE__TYPE:
- setType((EADatatype)newValue);
- return;
- case DatatypesPackage.EA_DATATYPE_PROTOTYPE__BASE_PROPERTY:
- setBase_Property((Property)newValue);
- return;
- case DatatypesPackage.EA_DATATYPE_PROTOTYPE__BASE_PARAMETER:
- setBase_Parameter((Parameter)newValue);
- return;
+ switch (featureID) {
+ case DatatypesPackage.EA_DATATYPE_PROTOTYPE__TYPE:
+ setType((EADatatype)newValue);
+ return;
+ case DatatypesPackage.EA_DATATYPE_PROTOTYPE__BASE_PROPERTY:
+ setBase_Property((Property)newValue);
+ return;
+ case DatatypesPackage.EA_DATATYPE_PROTOTYPE__BASE_PARAMETER:
+ setBase_Parameter((Parameter)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -186,7 +172,6 @@ public class EADatatypePrototypeImpl extends EAElementImpl implements EADatatype
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -197,21 +182,20 @@ public class EADatatypePrototypeImpl extends EAElementImpl implements EADatatype
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
- case DatatypesPackage.EA_DATATYPE_PROTOTYPE__TYPE:
- setType((EADatatype)null);
- return;
- case DatatypesPackage.EA_DATATYPE_PROTOTYPE__BASE_PROPERTY:
- setBase_Property((Property)null);
- return;
- case DatatypesPackage.EA_DATATYPE_PROTOTYPE__BASE_PARAMETER:
- setBase_Parameter((Parameter)null);
- return;
+ switch (featureID) {
+ case DatatypesPackage.EA_DATATYPE_PROTOTYPE__TYPE:
+ setType((EADatatype)null);
+ return;
+ case DatatypesPackage.EA_DATATYPE_PROTOTYPE__BASE_PROPERTY:
+ setBase_Property((Property)null);
+ return;
+ case DatatypesPackage.EA_DATATYPE_PROTOTYPE__BASE_PARAMETER:
+ setBase_Parameter((Parameter)null);
+ return;
}
super.eUnset(featureID);
}
@@ -219,15 +203,14 @@ public class EADatatypePrototypeImpl extends EAElementImpl implements EADatatype
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public Parameter getBase_Parameter() {
- if(base_Parameter != null && base_Parameter.eIsProxy()) {
+ if (base_Parameter != null && base_Parameter.eIsProxy()) {
InternalEObject oldBase_Parameter = (InternalEObject)base_Parameter;
base_Parameter = (Parameter)eResolveProxy(oldBase_Parameter);
- if(base_Parameter != oldBase_Parameter) {
- if(eNotificationRequired())
+ if (base_Parameter != oldBase_Parameter) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE, DatatypesPackage.EA_DATATYPE_PROTOTYPE__BASE_PARAMETER, oldBase_Parameter, base_Parameter));
}
}
@@ -237,15 +220,14 @@ public class EADatatypePrototypeImpl extends EAElementImpl implements EADatatype
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public Property getBase_Property() {
- if(base_Property != null && base_Property.eIsProxy()) {
+ if (base_Property != null && base_Property.eIsProxy()) {
InternalEObject oldBase_Property = (InternalEObject)base_Property;
base_Property = (Property)eResolveProxy(oldBase_Property);
- if(base_Property != oldBase_Property) {
- if(eNotificationRequired())
+ if (base_Property != oldBase_Property) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE, DatatypesPackage.EA_DATATYPE_PROTOTYPE__BASE_PROPERTY, oldBase_Property, base_Property));
}
}
@@ -255,15 +237,14 @@ public class EADatatypePrototypeImpl extends EAElementImpl implements EADatatype
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EADatatype getType() {
- if(type != null && type.eIsProxy()) {
+ if (type != null && type.eIsProxy()) {
InternalEObject oldType = (InternalEObject)type;
type = (EADatatype)eResolveProxy(oldType);
- if(type != oldType) {
- if(eNotificationRequired())
+ if (type != oldType) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE, DatatypesPackage.EA_DATATYPE_PROTOTYPE__TYPE, oldType, type));
}
}
@@ -273,39 +254,36 @@ public class EADatatypePrototypeImpl extends EAElementImpl implements EADatatype
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public void setBase_Parameter(Parameter newBase_Parameter) {
Parameter oldBase_Parameter = base_Parameter;
base_Parameter = newBase_Parameter;
- if(eNotificationRequired())
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DatatypesPackage.EA_DATATYPE_PROTOTYPE__BASE_PARAMETER, oldBase_Parameter, base_Parameter));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public void setBase_Property(Property newBase_Property) {
Property oldBase_Property = base_Property;
base_Property = newBase_Property;
- if(eNotificationRequired())
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DatatypesPackage.EA_DATATYPE_PROTOTYPE__BASE_PROPERTY, oldBase_Property, base_Property));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public void setType(EADatatype newType) {
EADatatype oldType = type;
type = newType;
- if(eNotificationRequired())
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DatatypesPackage.EA_DATATYPE_PROTOTYPE__TYPE, oldType, type));
}
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EAFloatImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EAFloatImpl.java
deleted file mode 100644
index 13791b73ea7..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EAFloatImpl.java
+++ /dev/null
@@ -1,244 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Sara TUCCI (CEA LIST) sara.tucci@cea.fr - Initial API and implementation
- * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
- * David SERVAT (CEA LIST) david.servat@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage;
-import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAFloat;
-
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>EA Float</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EAFloatImpl#getMin <em>Min</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EAFloatImpl#getMax <em>Max</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class EAFloatImpl extends RangeableDatatypeImpl implements EAFloat {
-
- /**
- * The default value of the '{@link #getMin() <em>Min</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getMin()
- * @generated
- * @ordered
- */
- protected static final Float MIN_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getMin() <em>Min</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getMin()
- * @generated
- * @ordered
- */
- protected Float min = MIN_EDEFAULT;
-
- /**
- * The default value of the '{@link #getMax() <em>Max</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getMax()
- * @generated
- * @ordered
- */
- protected static final Float MAX_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getMax() <em>Max</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getMax()
- * @generated
- * @ordered
- */
- protected Float max = MAX_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected EAFloatImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case DatatypesPackage.EA_FLOAT__MIN:
- return getMin();
- case DatatypesPackage.EA_FLOAT__MAX:
- return getMax();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch(featureID) {
- case DatatypesPackage.EA_FLOAT__MIN:
- return MIN_EDEFAULT == null ? min != null : !MIN_EDEFAULT.equals(min);
- case DatatypesPackage.EA_FLOAT__MAX:
- return MAX_EDEFAULT == null ? max != null : !MAX_EDEFAULT.equals(max);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case DatatypesPackage.EA_FLOAT__MIN:
- setMin((Float)newValue);
- return;
- case DatatypesPackage.EA_FLOAT__MAX:
- setMax((Float)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return DatatypesPackage.Literals.EA_FLOAT;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch(featureID) {
- case DatatypesPackage.EA_FLOAT__MIN:
- setMin(MIN_EDEFAULT);
- return;
- case DatatypesPackage.EA_FLOAT__MAX:
- setMax(MAX_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public Float getMax() {
- return max;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public Float getMin() {
- return min;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setMax(Float newMax) {
- Float oldMax = max;
- max = newMax;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DatatypesPackage.EA_FLOAT__MAX, oldMax, max));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setMin(Float newMin) {
- Float oldMin = min;
- min = newMin;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DatatypesPackage.EA_FLOAT__MIN, oldMin, min));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if(eIsProxy())
- return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (min: ");
- result.append(min);
- result.append(", max: ");
- result.append(max);
- result.append(')');
- return result.toString();
- }
-
-} //EAFloatImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EAIntegerImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EAIntegerImpl.java
deleted file mode 100644
index fcc8e79c0b9..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EAIntegerImpl.java
+++ /dev/null
@@ -1,244 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Sara TUCCI (CEA LIST) sara.tucci@cea.fr - Initial API and implementation
- * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
- * David SERVAT (CEA LIST) david.servat@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage;
-import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAInteger;
-
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>EA Integer</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EAIntegerImpl#getMin <em>Min</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EAIntegerImpl#getMax <em>Max</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class EAIntegerImpl extends RangeableDatatypeImpl implements EAInteger {
-
- /**
- * The default value of the '{@link #getMin() <em>Min</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getMin()
- * @generated
- * @ordered
- */
- protected static final int MIN_EDEFAULT = 0;
-
- /**
- * The cached value of the '{@link #getMin() <em>Min</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getMin()
- * @generated
- * @ordered
- */
- protected int min = MIN_EDEFAULT;
-
- /**
- * The default value of the '{@link #getMax() <em>Max</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getMax()
- * @generated
- * @ordered
- */
- protected static final int MAX_EDEFAULT = 0;
-
- /**
- * The cached value of the '{@link #getMax() <em>Max</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getMax()
- * @generated
- * @ordered
- */
- protected int max = MAX_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected EAIntegerImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case DatatypesPackage.EA_INTEGER__MIN:
- return getMin();
- case DatatypesPackage.EA_INTEGER__MAX:
- return getMax();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch(featureID) {
- case DatatypesPackage.EA_INTEGER__MIN:
- return min != MIN_EDEFAULT;
- case DatatypesPackage.EA_INTEGER__MAX:
- return max != MAX_EDEFAULT;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case DatatypesPackage.EA_INTEGER__MIN:
- setMin((Integer)newValue);
- return;
- case DatatypesPackage.EA_INTEGER__MAX:
- setMax((Integer)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return DatatypesPackage.Literals.EA_INTEGER;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch(featureID) {
- case DatatypesPackage.EA_INTEGER__MIN:
- setMin(MIN_EDEFAULT);
- return;
- case DatatypesPackage.EA_INTEGER__MAX:
- setMax(MAX_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public int getMax() {
- return max;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public int getMin() {
- return min;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setMax(int newMax) {
- int oldMax = max;
- max = newMax;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DatatypesPackage.EA_INTEGER__MAX, oldMax, max));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setMin(int newMin) {
- int oldMin = min;
- min = newMin;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DatatypesPackage.EA_INTEGER__MIN, oldMin, min));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if(eIsProxy())
- return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (min: ");
- result.append(min);
- result.append(", max: ");
- result.append(max);
- result.append(')');
- return result.toString();
- }
-
-} //EAIntegerImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EANumericalImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EANumericalImpl.java
new file mode 100644
index 00000000000..e25aa51fadd
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EANumericalImpl.java
@@ -0,0 +1,275 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage;
+import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EANumerical;
+import org.eclipse.papyrus.eastadl.infrastructure.datatypes.Unit;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>EA Numerical</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EANumericalImpl#getMax <em>Max</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EANumericalImpl#getMin <em>Min</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EANumericalImpl#getUnit <em>Unit</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class EANumericalImpl extends EADatatypeImpl implements EANumerical {
+ /**
+ * The default value of the '{@link #getMax() <em>Max</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMax()
+ * @generated
+ * @ordered
+ */
+ protected static final Float MAX_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getMax() <em>Max</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMax()
+ * @generated
+ * @ordered
+ */
+ protected Float max = MAX_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getMin() <em>Min</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMin()
+ * @generated
+ * @ordered
+ */
+ protected static final Float MIN_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getMin() <em>Min</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMin()
+ * @generated
+ * @ordered
+ */
+ protected Float min = MIN_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getUnit() <em>Unit</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUnit()
+ * @generated
+ * @ordered
+ */
+ protected Unit unit;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EANumericalImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DatatypesPackage.Literals.EA_NUMERICAL;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Float getMax() {
+ return max;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMax(Float newMax) {
+ Float oldMax = max;
+ max = newMax;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DatatypesPackage.EA_NUMERICAL__MAX, oldMax, max));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Float getMin() {
+ return min;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMin(Float newMin) {
+ Float oldMin = min;
+ min = newMin;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DatatypesPackage.EA_NUMERICAL__MIN, oldMin, min));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Unit getUnit() {
+ if (unit != null && unit.eIsProxy()) {
+ InternalEObject oldUnit = (InternalEObject)unit;
+ unit = (Unit)eResolveProxy(oldUnit);
+ if (unit != oldUnit) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, DatatypesPackage.EA_NUMERICAL__UNIT, oldUnit, unit));
+ }
+ }
+ return unit;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Unit basicGetUnit() {
+ return unit;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setUnit(Unit newUnit) {
+ Unit oldUnit = unit;
+ unit = newUnit;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DatatypesPackage.EA_NUMERICAL__UNIT, oldUnit, unit));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DatatypesPackage.EA_NUMERICAL__MAX:
+ return getMax();
+ case DatatypesPackage.EA_NUMERICAL__MIN:
+ return getMin();
+ case DatatypesPackage.EA_NUMERICAL__UNIT:
+ if (resolve) return getUnit();
+ return basicGetUnit();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DatatypesPackage.EA_NUMERICAL__MAX:
+ setMax((Float)newValue);
+ return;
+ case DatatypesPackage.EA_NUMERICAL__MIN:
+ setMin((Float)newValue);
+ return;
+ case DatatypesPackage.EA_NUMERICAL__UNIT:
+ setUnit((Unit)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DatatypesPackage.EA_NUMERICAL__MAX:
+ setMax(MAX_EDEFAULT);
+ return;
+ case DatatypesPackage.EA_NUMERICAL__MIN:
+ setMin(MIN_EDEFAULT);
+ return;
+ case DatatypesPackage.EA_NUMERICAL__UNIT:
+ setUnit((Unit)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DatatypesPackage.EA_NUMERICAL__MAX:
+ return MAX_EDEFAULT == null ? max != null : !MAX_EDEFAULT.equals(max);
+ case DatatypesPackage.EA_NUMERICAL__MIN:
+ return MIN_EDEFAULT == null ? min != null : !MIN_EDEFAULT.equals(min);
+ case DatatypesPackage.EA_NUMERICAL__UNIT:
+ return unit != 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(" (max: ");
+ result.append(max);
+ result.append(", min: ");
+ result.append(min);
+ result.append(')');
+ return result.toString();
+ }
+
+} //EANumericalImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EAStringImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EAStringImpl.java
index aff1712dad3..72375d77803 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EAStringImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EAStringImpl.java
@@ -26,15 +26,13 @@ import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAString;
* <!-- end-user-doc -->
* <p>
* </p>
- *
+ *
* @generated
*/
public class EAStringImpl extends EADatatypeImpl implements EAString {
-
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected EAStringImpl() {
@@ -44,7 +42,6 @@ public class EAStringImpl extends EADatatypeImpl implements EAString {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EnumerationImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EnumerationImpl.java
index b652605dc94..1edd98daf67 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EnumerationImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EnumerationImpl.java
@@ -17,10 +17,12 @@ package org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl;
import java.util.Collection;
+import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
import org.eclipse.emf.ecore.util.InternalEList;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage;
@@ -34,19 +36,18 @@ import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EnumerationLiteral;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EnumerationImpl#getLiteral <em>Literal</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EnumerationImpl#getLiteral <em>Literal</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EnumerationImpl#isIsMultiValued <em>Is Multi Valued</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class EnumerationImpl extends EADatatypeImpl implements Enumeration {
-
/**
* The cached value of the '{@link #getLiteral() <em>Literal</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getLiteral()
* @generated
* @ordered
@@ -54,9 +55,27 @@ public class EnumerationImpl extends EADatatypeImpl implements Enumeration {
protected EList<EnumerationLiteral> literal;
/**
+ * The default value of the '{@link #isIsMultiValued() <em>Is Multi Valued</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsMultiValued()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean IS_MULTI_VALUED_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isIsMultiValued() <em>Is Multi Valued</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsMultiValued()
+ * @generated
+ * @ordered
+ */
+ protected boolean isMultiValued = IS_MULTI_VALUED_EDEFAULT;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected EnumerationImpl() {
@@ -66,7 +85,6 @@ public class EnumerationImpl extends EADatatypeImpl implements Enumeration {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -77,11 +95,10 @@ public class EnumerationImpl extends EADatatypeImpl implements Enumeration {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EList<EnumerationLiteral> getLiteral() {
- if(literal == null) {
+ if (literal == null) {
literal = new EObjectContainmentEList<EnumerationLiteral>(EnumerationLiteral.class, this, DatatypesPackage.ENUMERATION__LITERAL);
}
return literal;
@@ -90,14 +107,34 @@ public class EnumerationImpl extends EADatatypeImpl implements Enumeration {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ * @generated
+ */
+ public boolean isIsMultiValued() {
+ return isMultiValued;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIsMultiValued(boolean newIsMultiValued) {
+ boolean oldIsMultiValued = isMultiValued;
+ isMultiValued = newIsMultiValued;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DatatypesPackage.ENUMERATION__IS_MULTI_VALUED, oldIsMultiValued, isMultiValued));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
- case DatatypesPackage.ENUMERATION__LITERAL:
- return ((InternalEList<?>)getLiteral()).basicRemove(otherEnd, msgs);
+ switch (featureID) {
+ case DatatypesPackage.ENUMERATION__LITERAL:
+ return ((InternalEList<?>)getLiteral()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -105,14 +142,15 @@ public class EnumerationImpl extends EADatatypeImpl implements Enumeration {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case DatatypesPackage.ENUMERATION__LITERAL:
- return getLiteral();
+ switch (featureID) {
+ case DatatypesPackage.ENUMERATION__LITERAL:
+ return getLiteral();
+ case DatatypesPackage.ENUMERATION__IS_MULTI_VALUED:
+ return isIsMultiValued();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -120,17 +158,19 @@ public class EnumerationImpl extends EADatatypeImpl implements Enumeration {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case DatatypesPackage.ENUMERATION__LITERAL:
- getLiteral().clear();
- getLiteral().addAll((Collection<? extends EnumerationLiteral>)newValue);
- return;
+ switch (featureID) {
+ case DatatypesPackage.ENUMERATION__LITERAL:
+ getLiteral().clear();
+ getLiteral().addAll((Collection<? extends EnumerationLiteral>)newValue);
+ return;
+ case DatatypesPackage.ENUMERATION__IS_MULTI_VALUED:
+ setIsMultiValued((Boolean)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -138,15 +178,17 @@ public class EnumerationImpl extends EADatatypeImpl implements Enumeration {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
- case DatatypesPackage.ENUMERATION__LITERAL:
- getLiteral().clear();
- return;
+ switch (featureID) {
+ case DatatypesPackage.ENUMERATION__LITERAL:
+ getLiteral().clear();
+ return;
+ case DatatypesPackage.ENUMERATION__IS_MULTI_VALUED:
+ setIsMultiValued(IS_MULTI_VALUED_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -154,16 +196,33 @@ public class EnumerationImpl extends EADatatypeImpl implements Enumeration {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
- case DatatypesPackage.ENUMERATION__LITERAL:
- return literal != null && !literal.isEmpty();
+ switch (featureID) {
+ case DatatypesPackage.ENUMERATION__LITERAL:
+ return literal != null && !literal.isEmpty();
+ case DatatypesPackage.ENUMERATION__IS_MULTI_VALUED:
+ return isMultiValued != IS_MULTI_VALUED_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(" (isMultiValued: ");
+ result.append(isMultiValued);
+ result.append(')');
+ return result.toString();
+ }
+
} //EnumerationImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EnumerationLiteralImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EnumerationLiteralImpl.java
index e841650fbea..af987c531f4 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EnumerationLiteralImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EnumerationLiteralImpl.java
@@ -26,15 +26,13 @@ import org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAElementImpl;
* <!-- end-user-doc -->
* <p>
* </p>
- *
+ *
* @generated
*/
public class EnumerationLiteralImpl extends EAElementImpl implements EnumerationLiteral {
-
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected EnumerationLiteralImpl() {
@@ -44,7 +42,6 @@ public class EnumerationLiteralImpl extends EAElementImpl implements Enumeration
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EnumerationValueTypeImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EnumerationValueTypeImpl.java
deleted file mode 100644
index 0486a3f7500..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/EnumerationValueTypeImpl.java
+++ /dev/null
@@ -1,296 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Sara TUCCI (CEA LIST) sara.tucci@cea.fr - Initial API and implementation
- * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
- * David SERVAT (CEA LIST) david.servat@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl;
-
-import java.util.Collection;
-
-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.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.util.EDataTypeEList;
-import org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage;
-import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EnumerationValueType;
-import org.eclipse.uml2.uml.Enumeration;
-
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Enumeration Value Type</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EnumerationValueTypeImpl#isIsMultiValued <em>Is Multi Valued</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EnumerationValueTypeImpl#getLiteralSemantics <em>Literal Semantics</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.EnumerationValueTypeImpl#getBase_Enumeration <em>Base Enumeration</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class EnumerationValueTypeImpl extends ValueTypeImpl implements EnumerationValueType {
-
- /**
- * The default value of the '{@link #isIsMultiValued() <em>Is Multi Valued</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #isIsMultiValued()
- * @generated
- * @ordered
- */
- protected static final boolean IS_MULTI_VALUED_EDEFAULT = false;
-
- /**
- * The cached value of the '{@link #isIsMultiValued() <em>Is Multi Valued</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #isIsMultiValued()
- * @generated
- * @ordered
- */
- protected boolean isMultiValued = IS_MULTI_VALUED_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getLiteralSemantics() <em>Literal Semantics</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getLiteralSemantics()
- * @generated
- * @ordered
- */
- protected EList<String> literalSemantics;
-
- /**
- * The cached value of the '{@link #getBase_Enumeration() <em>Base Enumeration</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getBase_Enumeration()
- * @generated
- * @ordered
- */
- protected Enumeration base_Enumeration;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected EnumerationValueTypeImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case DatatypesPackage.ENUMERATION_VALUE_TYPE__IS_MULTI_VALUED:
- return isIsMultiValued();
- case DatatypesPackage.ENUMERATION_VALUE_TYPE__LITERAL_SEMANTICS:
- return getLiteralSemantics();
- case DatatypesPackage.ENUMERATION_VALUE_TYPE__BASE_ENUMERATION:
- if(resolve)
- return getBase_Enumeration();
- return basicGetBase_Enumeration();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch(featureID) {
- case DatatypesPackage.ENUMERATION_VALUE_TYPE__IS_MULTI_VALUED:
- return isMultiValued != IS_MULTI_VALUED_EDEFAULT;
- case DatatypesPackage.ENUMERATION_VALUE_TYPE__LITERAL_SEMANTICS:
- return literalSemantics != null && !literalSemantics.isEmpty();
- case DatatypesPackage.ENUMERATION_VALUE_TYPE__BASE_ENUMERATION:
- return base_Enumeration != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case DatatypesPackage.ENUMERATION_VALUE_TYPE__IS_MULTI_VALUED:
- setIsMultiValued((Boolean)newValue);
- return;
- case DatatypesPackage.ENUMERATION_VALUE_TYPE__LITERAL_SEMANTICS:
- getLiteralSemantics().clear();
- getLiteralSemantics().addAll((Collection<? extends String>)newValue);
- return;
- case DatatypesPackage.ENUMERATION_VALUE_TYPE__BASE_ENUMERATION:
- setBase_Enumeration((Enumeration)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return DatatypesPackage.Literals.ENUMERATION_VALUE_TYPE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch(featureID) {
- case DatatypesPackage.ENUMERATION_VALUE_TYPE__IS_MULTI_VALUED:
- setIsMultiValued(IS_MULTI_VALUED_EDEFAULT);
- return;
- case DatatypesPackage.ENUMERATION_VALUE_TYPE__LITERAL_SEMANTICS:
- getLiteralSemantics().clear();
- return;
- case DatatypesPackage.ENUMERATION_VALUE_TYPE__BASE_ENUMERATION:
- setBase_Enumeration((Enumeration)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EList<String> getLiteralSemantics() {
- if(literalSemantics == null) {
- literalSemantics = new EDataTypeEList<String>(String.class, this, DatatypesPackage.ENUMERATION_VALUE_TYPE__LITERAL_SEMANTICS);
- }
- return literalSemantics;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public Enumeration getBase_Enumeration() {
- if(base_Enumeration != null && base_Enumeration.eIsProxy()) {
- InternalEObject oldBase_Enumeration = (InternalEObject)base_Enumeration;
- base_Enumeration = (Enumeration)eResolveProxy(oldBase_Enumeration);
- if(base_Enumeration != oldBase_Enumeration) {
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, DatatypesPackage.ENUMERATION_VALUE_TYPE__BASE_ENUMERATION, oldBase_Enumeration, base_Enumeration));
- }
- }
- return base_Enumeration;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public Enumeration basicGetBase_Enumeration() {
- return base_Enumeration;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setBase_Enumeration(Enumeration newBase_Enumeration) {
- Enumeration oldBase_Enumeration = base_Enumeration;
- base_Enumeration = newBase_Enumeration;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DatatypesPackage.ENUMERATION_VALUE_TYPE__BASE_ENUMERATION, oldBase_Enumeration, base_Enumeration));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isIsMultiValued() {
- return isMultiValued;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setIsMultiValued(boolean newIsMultiValued) {
- boolean oldIsMultiValued = isMultiValued;
- isMultiValued = newIsMultiValued;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DatatypesPackage.ENUMERATION_VALUE_TYPE__IS_MULTI_VALUED, oldIsMultiValued, isMultiValued));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if(eIsProxy())
- return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (isMultiValued: ");
- result.append(isMultiValued);
- result.append(", literalSemantics: ");
- result.append(literalSemantics);
- result.append(')');
- return result.toString();
- }
-
-} //EnumerationValueTypeImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/QuantityImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/QuantityImpl.java
new file mode 100644
index 00000000000..71d1cfbdf3a
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/QuantityImpl.java
@@ -0,0 +1,484 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage;
+import org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity;
+import org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAPackageableElementImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Quantity</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.QuantityImpl#getAmountOfSubstanceExp <em>Amount Of Substance Exp</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.QuantityImpl#getElectricCurrentExp <em>Electric Current Exp</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.QuantityImpl#getLenghtExp <em>Lenght Exp</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.QuantityImpl#getLuminousIntensityExp <em>Luminous Intensity Exp</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.QuantityImpl#getMassExp <em>Mass Exp</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.QuantityImpl#getThermodynamicTemperatureExp <em>Thermodynamic Temperature Exp</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.QuantityImpl#getTimeExp <em>Time Exp</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class QuantityImpl extends EAPackageableElementImpl implements Quantity {
+ /**
+ * The default value of the '{@link #getAmountOfSubstanceExp() <em>Amount Of Substance Exp</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAmountOfSubstanceExp()
+ * @generated
+ * @ordered
+ */
+ protected static final int AMOUNT_OF_SUBSTANCE_EXP_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getAmountOfSubstanceExp() <em>Amount Of Substance Exp</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAmountOfSubstanceExp()
+ * @generated
+ * @ordered
+ */
+ protected int amountOfSubstanceExp = AMOUNT_OF_SUBSTANCE_EXP_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getElectricCurrentExp() <em>Electric Current Exp</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getElectricCurrentExp()
+ * @generated
+ * @ordered
+ */
+ protected static final int ELECTRIC_CURRENT_EXP_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getElectricCurrentExp() <em>Electric Current Exp</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getElectricCurrentExp()
+ * @generated
+ * @ordered
+ */
+ protected int electricCurrentExp = ELECTRIC_CURRENT_EXP_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getLenghtExp() <em>Lenght Exp</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLenghtExp()
+ * @generated
+ * @ordered
+ */
+ protected static final int LENGHT_EXP_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getLenghtExp() <em>Lenght Exp</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLenghtExp()
+ * @generated
+ * @ordered
+ */
+ protected int lenghtExp = LENGHT_EXP_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getLuminousIntensityExp() <em>Luminous Intensity Exp</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLuminousIntensityExp()
+ * @generated
+ * @ordered
+ */
+ protected static final int LUMINOUS_INTENSITY_EXP_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getLuminousIntensityExp() <em>Luminous Intensity Exp</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLuminousIntensityExp()
+ * @generated
+ * @ordered
+ */
+ protected int luminousIntensityExp = LUMINOUS_INTENSITY_EXP_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getMassExp() <em>Mass Exp</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMassExp()
+ * @generated
+ * @ordered
+ */
+ protected static final int MASS_EXP_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getMassExp() <em>Mass Exp</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMassExp()
+ * @generated
+ * @ordered
+ */
+ protected int massExp = MASS_EXP_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getThermodynamicTemperatureExp() <em>Thermodynamic Temperature Exp</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getThermodynamicTemperatureExp()
+ * @generated
+ * @ordered
+ */
+ protected static final int THERMODYNAMIC_TEMPERATURE_EXP_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getThermodynamicTemperatureExp() <em>Thermodynamic Temperature Exp</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getThermodynamicTemperatureExp()
+ * @generated
+ * @ordered
+ */
+ protected int thermodynamicTemperatureExp = THERMODYNAMIC_TEMPERATURE_EXP_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getTimeExp() <em>Time Exp</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTimeExp()
+ * @generated
+ * @ordered
+ */
+ protected static final int TIME_EXP_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getTimeExp() <em>Time Exp</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTimeExp()
+ * @generated
+ * @ordered
+ */
+ protected int timeExp = TIME_EXP_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected QuantityImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DatatypesPackage.Literals.QUANTITY;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getAmountOfSubstanceExp() {
+ return amountOfSubstanceExp;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAmountOfSubstanceExp(int newAmountOfSubstanceExp) {
+ int oldAmountOfSubstanceExp = amountOfSubstanceExp;
+ amountOfSubstanceExp = newAmountOfSubstanceExp;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DatatypesPackage.QUANTITY__AMOUNT_OF_SUBSTANCE_EXP, oldAmountOfSubstanceExp, amountOfSubstanceExp));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getElectricCurrentExp() {
+ return electricCurrentExp;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setElectricCurrentExp(int newElectricCurrentExp) {
+ int oldElectricCurrentExp = electricCurrentExp;
+ electricCurrentExp = newElectricCurrentExp;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DatatypesPackage.QUANTITY__ELECTRIC_CURRENT_EXP, oldElectricCurrentExp, electricCurrentExp));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getLenghtExp() {
+ return lenghtExp;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLenghtExp(int newLenghtExp) {
+ int oldLenghtExp = lenghtExp;
+ lenghtExp = newLenghtExp;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DatatypesPackage.QUANTITY__LENGHT_EXP, oldLenghtExp, lenghtExp));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getLuminousIntensityExp() {
+ return luminousIntensityExp;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLuminousIntensityExp(int newLuminousIntensityExp) {
+ int oldLuminousIntensityExp = luminousIntensityExp;
+ luminousIntensityExp = newLuminousIntensityExp;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DatatypesPackage.QUANTITY__LUMINOUS_INTENSITY_EXP, oldLuminousIntensityExp, luminousIntensityExp));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getMassExp() {
+ return massExp;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMassExp(int newMassExp) {
+ int oldMassExp = massExp;
+ massExp = newMassExp;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DatatypesPackage.QUANTITY__MASS_EXP, oldMassExp, massExp));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getThermodynamicTemperatureExp() {
+ return thermodynamicTemperatureExp;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setThermodynamicTemperatureExp(int newThermodynamicTemperatureExp) {
+ int oldThermodynamicTemperatureExp = thermodynamicTemperatureExp;
+ thermodynamicTemperatureExp = newThermodynamicTemperatureExp;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DatatypesPackage.QUANTITY__THERMODYNAMIC_TEMPERATURE_EXP, oldThermodynamicTemperatureExp, thermodynamicTemperatureExp));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getTimeExp() {
+ return timeExp;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTimeExp(int newTimeExp) {
+ int oldTimeExp = timeExp;
+ timeExp = newTimeExp;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DatatypesPackage.QUANTITY__TIME_EXP, oldTimeExp, timeExp));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DatatypesPackage.QUANTITY__AMOUNT_OF_SUBSTANCE_EXP:
+ return getAmountOfSubstanceExp();
+ case DatatypesPackage.QUANTITY__ELECTRIC_CURRENT_EXP:
+ return getElectricCurrentExp();
+ case DatatypesPackage.QUANTITY__LENGHT_EXP:
+ return getLenghtExp();
+ case DatatypesPackage.QUANTITY__LUMINOUS_INTENSITY_EXP:
+ return getLuminousIntensityExp();
+ case DatatypesPackage.QUANTITY__MASS_EXP:
+ return getMassExp();
+ case DatatypesPackage.QUANTITY__THERMODYNAMIC_TEMPERATURE_EXP:
+ return getThermodynamicTemperatureExp();
+ case DatatypesPackage.QUANTITY__TIME_EXP:
+ return getTimeExp();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DatatypesPackage.QUANTITY__AMOUNT_OF_SUBSTANCE_EXP:
+ setAmountOfSubstanceExp((Integer)newValue);
+ return;
+ case DatatypesPackage.QUANTITY__ELECTRIC_CURRENT_EXP:
+ setElectricCurrentExp((Integer)newValue);
+ return;
+ case DatatypesPackage.QUANTITY__LENGHT_EXP:
+ setLenghtExp((Integer)newValue);
+ return;
+ case DatatypesPackage.QUANTITY__LUMINOUS_INTENSITY_EXP:
+ setLuminousIntensityExp((Integer)newValue);
+ return;
+ case DatatypesPackage.QUANTITY__MASS_EXP:
+ setMassExp((Integer)newValue);
+ return;
+ case DatatypesPackage.QUANTITY__THERMODYNAMIC_TEMPERATURE_EXP:
+ setThermodynamicTemperatureExp((Integer)newValue);
+ return;
+ case DatatypesPackage.QUANTITY__TIME_EXP:
+ setTimeExp((Integer)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DatatypesPackage.QUANTITY__AMOUNT_OF_SUBSTANCE_EXP:
+ setAmountOfSubstanceExp(AMOUNT_OF_SUBSTANCE_EXP_EDEFAULT);
+ return;
+ case DatatypesPackage.QUANTITY__ELECTRIC_CURRENT_EXP:
+ setElectricCurrentExp(ELECTRIC_CURRENT_EXP_EDEFAULT);
+ return;
+ case DatatypesPackage.QUANTITY__LENGHT_EXP:
+ setLenghtExp(LENGHT_EXP_EDEFAULT);
+ return;
+ case DatatypesPackage.QUANTITY__LUMINOUS_INTENSITY_EXP:
+ setLuminousIntensityExp(LUMINOUS_INTENSITY_EXP_EDEFAULT);
+ return;
+ case DatatypesPackage.QUANTITY__MASS_EXP:
+ setMassExp(MASS_EXP_EDEFAULT);
+ return;
+ case DatatypesPackage.QUANTITY__THERMODYNAMIC_TEMPERATURE_EXP:
+ setThermodynamicTemperatureExp(THERMODYNAMIC_TEMPERATURE_EXP_EDEFAULT);
+ return;
+ case DatatypesPackage.QUANTITY__TIME_EXP:
+ setTimeExp(TIME_EXP_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DatatypesPackage.QUANTITY__AMOUNT_OF_SUBSTANCE_EXP:
+ return amountOfSubstanceExp != AMOUNT_OF_SUBSTANCE_EXP_EDEFAULT;
+ case DatatypesPackage.QUANTITY__ELECTRIC_CURRENT_EXP:
+ return electricCurrentExp != ELECTRIC_CURRENT_EXP_EDEFAULT;
+ case DatatypesPackage.QUANTITY__LENGHT_EXP:
+ return lenghtExp != LENGHT_EXP_EDEFAULT;
+ case DatatypesPackage.QUANTITY__LUMINOUS_INTENSITY_EXP:
+ return luminousIntensityExp != LUMINOUS_INTENSITY_EXP_EDEFAULT;
+ case DatatypesPackage.QUANTITY__MASS_EXP:
+ return massExp != MASS_EXP_EDEFAULT;
+ case DatatypesPackage.QUANTITY__THERMODYNAMIC_TEMPERATURE_EXP:
+ return thermodynamicTemperatureExp != THERMODYNAMIC_TEMPERATURE_EXP_EDEFAULT;
+ case DatatypesPackage.QUANTITY__TIME_EXP:
+ return timeExp != TIME_EXP_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(" (amountOfSubstanceExp: ");
+ result.append(amountOfSubstanceExp);
+ result.append(", electricCurrentExp: ");
+ result.append(electricCurrentExp);
+ result.append(", lenghtExp: ");
+ result.append(lenghtExp);
+ result.append(", luminousIntensityExp: ");
+ result.append(luminousIntensityExp);
+ result.append(", massExp: ");
+ result.append(massExp);
+ result.append(", thermodynamicTemperatureExp: ");
+ result.append(thermodynamicTemperatureExp);
+ result.append(", timeExp: ");
+ result.append(timeExp);
+ result.append(')');
+ return result.toString();
+ }
+
+} //QuantityImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/RangeableDatatypeImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/RangeableDatatypeImpl.java
deleted file mode 100644
index 7d0da1ae450..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/RangeableDatatypeImpl.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Sara TUCCI (CEA LIST) sara.tucci@cea.fr - Initial API and implementation
- * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
- * David SERVAT (CEA LIST) david.servat@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage;
-import org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableDatatype;
-
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Rangeable Datatype</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public abstract class RangeableDatatypeImpl extends EADatatypeImpl implements RangeableDatatype {
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected RangeableDatatypeImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return DatatypesPackage.Literals.RANGEABLE_DATATYPE;
- }
-
-} //RangeableDatatypeImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/RangeableValueTypeImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/RangeableValueTypeImpl.java
index d27c7e48a34..2ce4f94755f 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/RangeableValueTypeImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/RangeableValueTypeImpl.java
@@ -17,8 +17,10 @@ package org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage;
+import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EANumerical;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableValueType;
@@ -29,21 +31,20 @@ import org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableValueType;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.RangeableValueTypeImpl#getAccuracy <em>Accuracy</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.RangeableValueTypeImpl#getResolution <em>Resolution</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.RangeableValueTypeImpl#getSignificantDigits <em>Significant Digits</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.RangeableValueTypeImpl#getAccuracy <em>Accuracy</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.RangeableValueTypeImpl#getResolution <em>Resolution</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.RangeableValueTypeImpl#getSignificantDigits <em>Significant Digits</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.RangeableValueTypeImpl#getBaseRangeable <em>Base Rangeable</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
-public class RangeableValueTypeImpl extends ValueTypeImpl implements RangeableValueType {
-
+public class RangeableValueTypeImpl extends EADatatypeImpl implements RangeableValueType {
/**
* The default value of the '{@link #getAccuracy() <em>Accuracy</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getAccuracy()
* @generated
* @ordered
@@ -54,7 +55,6 @@ public class RangeableValueTypeImpl extends ValueTypeImpl implements RangeableVa
* The cached value of the '{@link #getAccuracy() <em>Accuracy</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getAccuracy()
* @generated
* @ordered
@@ -65,7 +65,6 @@ public class RangeableValueTypeImpl extends ValueTypeImpl implements RangeableVa
* The default value of the '{@link #getResolution() <em>Resolution</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getResolution()
* @generated
* @ordered
@@ -76,7 +75,6 @@ public class RangeableValueTypeImpl extends ValueTypeImpl implements RangeableVa
* The cached value of the '{@link #getResolution() <em>Resolution</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getResolution()
* @generated
* @ordered
@@ -87,7 +85,6 @@ public class RangeableValueTypeImpl extends ValueTypeImpl implements RangeableVa
* The default value of the '{@link #getSignificantDigits() <em>Significant Digits</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getSignificantDigits()
* @generated
* @ordered
@@ -98,7 +95,6 @@ public class RangeableValueTypeImpl extends ValueTypeImpl implements RangeableVa
* The cached value of the '{@link #getSignificantDigits() <em>Significant Digits</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getSignificantDigits()
* @generated
* @ordered
@@ -106,9 +102,18 @@ public class RangeableValueTypeImpl extends ValueTypeImpl implements RangeableVa
protected int significantDigits = SIGNIFICANT_DIGITS_EDEFAULT;
/**
+ * The cached value of the '{@link #getBaseRangeable() <em>Base Rangeable</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBaseRangeable()
+ * @generated
+ * @ordered
+ */
+ protected EANumerical baseRangeable;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected RangeableValueTypeImpl() {
@@ -118,18 +123,20 @@ public class RangeableValueTypeImpl extends ValueTypeImpl implements RangeableVa
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case DatatypesPackage.RANGEABLE_VALUE_TYPE__ACCURACY:
- return getAccuracy();
- case DatatypesPackage.RANGEABLE_VALUE_TYPE__RESOLUTION:
- return getResolution();
- case DatatypesPackage.RANGEABLE_VALUE_TYPE__SIGNIFICANT_DIGITS:
- return getSignificantDigits();
+ switch (featureID) {
+ case DatatypesPackage.RANGEABLE_VALUE_TYPE__ACCURACY:
+ return getAccuracy();
+ case DatatypesPackage.RANGEABLE_VALUE_TYPE__RESOLUTION:
+ return getResolution();
+ case DatatypesPackage.RANGEABLE_VALUE_TYPE__SIGNIFICANT_DIGITS:
+ return getSignificantDigits();
+ case DatatypesPackage.RANGEABLE_VALUE_TYPE__BASE_RANGEABLE:
+ if (resolve) return getBaseRangeable();
+ return basicGetBaseRangeable();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -137,18 +144,19 @@ public class RangeableValueTypeImpl extends ValueTypeImpl implements RangeableVa
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
- case DatatypesPackage.RANGEABLE_VALUE_TYPE__ACCURACY:
- return ACCURACY_EDEFAULT == null ? accuracy != null : !ACCURACY_EDEFAULT.equals(accuracy);
- case DatatypesPackage.RANGEABLE_VALUE_TYPE__RESOLUTION:
- return RESOLUTION_EDEFAULT == null ? resolution != null : !RESOLUTION_EDEFAULT.equals(resolution);
- case DatatypesPackage.RANGEABLE_VALUE_TYPE__SIGNIFICANT_DIGITS:
- return significantDigits != SIGNIFICANT_DIGITS_EDEFAULT;
+ switch (featureID) {
+ case DatatypesPackage.RANGEABLE_VALUE_TYPE__ACCURACY:
+ return ACCURACY_EDEFAULT == null ? accuracy != null : !ACCURACY_EDEFAULT.equals(accuracy);
+ case DatatypesPackage.RANGEABLE_VALUE_TYPE__RESOLUTION:
+ return RESOLUTION_EDEFAULT == null ? resolution != null : !RESOLUTION_EDEFAULT.equals(resolution);
+ case DatatypesPackage.RANGEABLE_VALUE_TYPE__SIGNIFICANT_DIGITS:
+ return significantDigits != SIGNIFICANT_DIGITS_EDEFAULT;
+ case DatatypesPackage.RANGEABLE_VALUE_TYPE__BASE_RANGEABLE:
+ return baseRangeable != null;
}
return super.eIsSet(featureID);
}
@@ -156,21 +164,23 @@ public class RangeableValueTypeImpl extends ValueTypeImpl implements RangeableVa
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case DatatypesPackage.RANGEABLE_VALUE_TYPE__ACCURACY:
- setAccuracy((Float)newValue);
- return;
- case DatatypesPackage.RANGEABLE_VALUE_TYPE__RESOLUTION:
- setResolution((Float)newValue);
- return;
- case DatatypesPackage.RANGEABLE_VALUE_TYPE__SIGNIFICANT_DIGITS:
- setSignificantDigits((Integer)newValue);
- return;
+ switch (featureID) {
+ case DatatypesPackage.RANGEABLE_VALUE_TYPE__ACCURACY:
+ setAccuracy((Float)newValue);
+ return;
+ case DatatypesPackage.RANGEABLE_VALUE_TYPE__RESOLUTION:
+ setResolution((Float)newValue);
+ return;
+ case DatatypesPackage.RANGEABLE_VALUE_TYPE__SIGNIFICANT_DIGITS:
+ setSignificantDigits((Integer)newValue);
+ return;
+ case DatatypesPackage.RANGEABLE_VALUE_TYPE__BASE_RANGEABLE:
+ setBaseRangeable((EANumerical)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -178,7 +188,6 @@ public class RangeableValueTypeImpl extends ValueTypeImpl implements RangeableVa
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -189,21 +198,23 @@ public class RangeableValueTypeImpl extends ValueTypeImpl implements RangeableVa
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
- case DatatypesPackage.RANGEABLE_VALUE_TYPE__ACCURACY:
- setAccuracy(ACCURACY_EDEFAULT);
- return;
- case DatatypesPackage.RANGEABLE_VALUE_TYPE__RESOLUTION:
- setResolution(RESOLUTION_EDEFAULT);
- return;
- case DatatypesPackage.RANGEABLE_VALUE_TYPE__SIGNIFICANT_DIGITS:
- setSignificantDigits(SIGNIFICANT_DIGITS_EDEFAULT);
- return;
+ switch (featureID) {
+ case DatatypesPackage.RANGEABLE_VALUE_TYPE__ACCURACY:
+ setAccuracy(ACCURACY_EDEFAULT);
+ return;
+ case DatatypesPackage.RANGEABLE_VALUE_TYPE__RESOLUTION:
+ setResolution(RESOLUTION_EDEFAULT);
+ return;
+ case DatatypesPackage.RANGEABLE_VALUE_TYPE__SIGNIFICANT_DIGITS:
+ setSignificantDigits(SIGNIFICANT_DIGITS_EDEFAULT);
+ return;
+ case DatatypesPackage.RANGEABLE_VALUE_TYPE__BASE_RANGEABLE:
+ setBaseRangeable((EANumerical)null);
+ return;
}
super.eUnset(featureID);
}
@@ -211,7 +222,6 @@ public class RangeableValueTypeImpl extends ValueTypeImpl implements RangeableVa
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public Float getAccuracy() {
@@ -221,7 +231,6 @@ public class RangeableValueTypeImpl extends ValueTypeImpl implements RangeableVa
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public Float getResolution() {
@@ -231,7 +240,6 @@ public class RangeableValueTypeImpl extends ValueTypeImpl implements RangeableVa
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public int getSignificantDigits() {
@@ -241,52 +249,85 @@ public class RangeableValueTypeImpl extends ValueTypeImpl implements RangeableVa
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public void setAccuracy(Float newAccuracy) {
Float oldAccuracy = accuracy;
accuracy = newAccuracy;
- if(eNotificationRequired())
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DatatypesPackage.RANGEABLE_VALUE_TYPE__ACCURACY, oldAccuracy, accuracy));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public void setResolution(Float newResolution) {
Float oldResolution = resolution;
resolution = newResolution;
- if(eNotificationRequired())
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DatatypesPackage.RANGEABLE_VALUE_TYPE__RESOLUTION, oldResolution, resolution));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public void setSignificantDigits(int newSignificantDigits) {
int oldSignificantDigits = significantDigits;
significantDigits = newSignificantDigits;
- if(eNotificationRequired())
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DatatypesPackage.RANGEABLE_VALUE_TYPE__SIGNIFICANT_DIGITS, oldSignificantDigits, significantDigits));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ * @generated
+ */
+ public EANumerical getBaseRangeable() {
+ if (baseRangeable != null && baseRangeable.eIsProxy()) {
+ InternalEObject oldBaseRangeable = (InternalEObject)baseRangeable;
+ baseRangeable = (EANumerical)eResolveProxy(oldBaseRangeable);
+ if (baseRangeable != oldBaseRangeable) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, DatatypesPackage.RANGEABLE_VALUE_TYPE__BASE_RANGEABLE, oldBaseRangeable, baseRangeable));
+ }
+ }
+ return baseRangeable;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EANumerical basicGetBaseRangeable() {
+ return baseRangeable;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBaseRangeable(EANumerical newBaseRangeable) {
+ EANumerical oldBaseRangeable = baseRangeable;
+ baseRangeable = newBaseRangeable;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DatatypesPackage.RANGEABLE_VALUE_TYPE__BASE_RANGEABLE, oldBaseRangeable, baseRangeable));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
- return super.toString();
+ if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (accuracy: ");
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/UnitImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/UnitImpl.java
new file mode 100644
index 00000000000..ba7f738dff4
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/UnitImpl.java
@@ -0,0 +1,390 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage;
+import org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity;
+import org.eclipse.papyrus.eastadl.infrastructure.datatypes.Unit;
+import org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAPackageableElementImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Unit</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.UnitImpl#getFactor <em>Factor</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.UnitImpl#getOffset <em>Offset</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.UnitImpl#getSymbol <em>Symbol</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.UnitImpl#getQuantity <em>Quantity</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.UnitImpl#getReference <em>Reference</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class UnitImpl extends EAPackageableElementImpl implements Unit {
+ /**
+ * The default value of the '{@link #getFactor() <em>Factor</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFactor()
+ * @generated
+ * @ordered
+ */
+ protected static final Float FACTOR_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getFactor() <em>Factor</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFactor()
+ * @generated
+ * @ordered
+ */
+ protected Float factor = FACTOR_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getOffset() <em>Offset</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOffset()
+ * @generated
+ * @ordered
+ */
+ protected static final Float OFFSET_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getOffset() <em>Offset</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOffset()
+ * @generated
+ * @ordered
+ */
+ protected Float offset = OFFSET_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getSymbol() <em>Symbol</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSymbol()
+ * @generated
+ * @ordered
+ */
+ protected static final String SYMBOL_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getSymbol() <em>Symbol</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSymbol()
+ * @generated
+ * @ordered
+ */
+ protected String symbol = SYMBOL_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getQuantity() <em>Quantity</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getQuantity()
+ * @generated
+ * @ordered
+ */
+ protected Quantity quantity;
+
+ /**
+ * The cached value of the '{@link #getReference() <em>Reference</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getReference()
+ * @generated
+ * @ordered
+ */
+ protected Unit reference;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected UnitImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DatatypesPackage.Literals.UNIT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Float getFactor() {
+ return factor;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFactor(Float newFactor) {
+ Float oldFactor = factor;
+ factor = newFactor;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DatatypesPackage.UNIT__FACTOR, oldFactor, factor));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Float getOffset() {
+ return offset;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setOffset(Float newOffset) {
+ Float oldOffset = offset;
+ offset = newOffset;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DatatypesPackage.UNIT__OFFSET, oldOffset, offset));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getSymbol() {
+ return symbol;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSymbol(String newSymbol) {
+ String oldSymbol = symbol;
+ symbol = newSymbol;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DatatypesPackage.UNIT__SYMBOL, oldSymbol, symbol));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Quantity getQuantity() {
+ if (quantity != null && quantity.eIsProxy()) {
+ InternalEObject oldQuantity = (InternalEObject)quantity;
+ quantity = (Quantity)eResolveProxy(oldQuantity);
+ if (quantity != oldQuantity) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, DatatypesPackage.UNIT__QUANTITY, oldQuantity, quantity));
+ }
+ }
+ return quantity;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Quantity basicGetQuantity() {
+ return quantity;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setQuantity(Quantity newQuantity) {
+ Quantity oldQuantity = quantity;
+ quantity = newQuantity;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DatatypesPackage.UNIT__QUANTITY, oldQuantity, quantity));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Unit getReference() {
+ if (reference != null && reference.eIsProxy()) {
+ InternalEObject oldReference = (InternalEObject)reference;
+ reference = (Unit)eResolveProxy(oldReference);
+ if (reference != oldReference) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, DatatypesPackage.UNIT__REFERENCE, oldReference, reference));
+ }
+ }
+ return reference;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Unit basicGetReference() {
+ return reference;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setReference(Unit newReference) {
+ Unit oldReference = reference;
+ reference = newReference;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DatatypesPackage.UNIT__REFERENCE, oldReference, reference));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DatatypesPackage.UNIT__FACTOR:
+ return getFactor();
+ case DatatypesPackage.UNIT__OFFSET:
+ return getOffset();
+ case DatatypesPackage.UNIT__SYMBOL:
+ return getSymbol();
+ case DatatypesPackage.UNIT__QUANTITY:
+ if (resolve) return getQuantity();
+ return basicGetQuantity();
+ case DatatypesPackage.UNIT__REFERENCE:
+ if (resolve) return getReference();
+ return basicGetReference();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DatatypesPackage.UNIT__FACTOR:
+ setFactor((Float)newValue);
+ return;
+ case DatatypesPackage.UNIT__OFFSET:
+ setOffset((Float)newValue);
+ return;
+ case DatatypesPackage.UNIT__SYMBOL:
+ setSymbol((String)newValue);
+ return;
+ case DatatypesPackage.UNIT__QUANTITY:
+ setQuantity((Quantity)newValue);
+ return;
+ case DatatypesPackage.UNIT__REFERENCE:
+ setReference((Unit)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DatatypesPackage.UNIT__FACTOR:
+ setFactor(FACTOR_EDEFAULT);
+ return;
+ case DatatypesPackage.UNIT__OFFSET:
+ setOffset(OFFSET_EDEFAULT);
+ return;
+ case DatatypesPackage.UNIT__SYMBOL:
+ setSymbol(SYMBOL_EDEFAULT);
+ return;
+ case DatatypesPackage.UNIT__QUANTITY:
+ setQuantity((Quantity)null);
+ return;
+ case DatatypesPackage.UNIT__REFERENCE:
+ setReference((Unit)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DatatypesPackage.UNIT__FACTOR:
+ return FACTOR_EDEFAULT == null ? factor != null : !FACTOR_EDEFAULT.equals(factor);
+ case DatatypesPackage.UNIT__OFFSET:
+ return OFFSET_EDEFAULT == null ? offset != null : !OFFSET_EDEFAULT.equals(offset);
+ case DatatypesPackage.UNIT__SYMBOL:
+ return SYMBOL_EDEFAULT == null ? symbol != null : !SYMBOL_EDEFAULT.equals(symbol);
+ case DatatypesPackage.UNIT__QUANTITY:
+ return quantity != null;
+ case DatatypesPackage.UNIT__REFERENCE:
+ return reference != 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(" (factor: ");
+ result.append(factor);
+ result.append(", offset: ");
+ result.append(offset);
+ result.append(", symbol: ");
+ result.append(symbol);
+ result.append(')');
+ return result.toString();
+ }
+
+} //UnitImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/ValueTypeImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/ValueTypeImpl.java
deleted file mode 100644
index d5a63a2fcc4..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/impl/ValueTypeImpl.java
+++ /dev/null
@@ -1,302 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Sara TUCCI (CEA LIST) sara.tucci@cea.fr - Initial API and implementation
- * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
- * David SERVAT (CEA LIST) david.servat@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage;
-import org.eclipse.papyrus.eastadl.infrastructure.datatypes.ValueType;
-
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Value Type</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.ValueTypeImpl#getSemantics <em>Semantics</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.ValueTypeImpl#getDimension <em>Dimension</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.ValueTypeImpl#getUnit <em>Unit</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public abstract class ValueTypeImpl extends EADatatypeImpl implements ValueType {
-
- /**
- * The default value of the '{@link #getSemantics() <em>Semantics</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getSemantics()
- * @generated
- * @ordered
- */
- protected static final String SEMANTICS_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getSemantics() <em>Semantics</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getSemantics()
- * @generated
- * @ordered
- */
- protected String semantics = SEMANTICS_EDEFAULT;
-
- /**
- * The default value of the '{@link #getDimension() <em>Dimension</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getDimension()
- * @generated
- * @ordered
- */
- protected static final String DIMENSION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDimension() <em>Dimension</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getDimension()
- * @generated
- * @ordered
- */
- protected String dimension = DIMENSION_EDEFAULT;
-
- /**
- * The default value of the '{@link #getUnit() <em>Unit</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getUnit()
- * @generated
- * @ordered
- */
- protected static final String UNIT_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getUnit() <em>Unit</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getUnit()
- * @generated
- * @ordered
- */
- protected String unit = UNIT_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected ValueTypeImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case DatatypesPackage.VALUE_TYPE__SEMANTICS:
- return getSemantics();
- case DatatypesPackage.VALUE_TYPE__DIMENSION:
- return getDimension();
- case DatatypesPackage.VALUE_TYPE__UNIT:
- return getUnit();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch(featureID) {
- case DatatypesPackage.VALUE_TYPE__SEMANTICS:
- return SEMANTICS_EDEFAULT == null ? semantics != null : !SEMANTICS_EDEFAULT.equals(semantics);
- case DatatypesPackage.VALUE_TYPE__DIMENSION:
- return DIMENSION_EDEFAULT == null ? dimension != null : !DIMENSION_EDEFAULT.equals(dimension);
- case DatatypesPackage.VALUE_TYPE__UNIT:
- return UNIT_EDEFAULT == null ? unit != null : !UNIT_EDEFAULT.equals(unit);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case DatatypesPackage.VALUE_TYPE__SEMANTICS:
- setSemantics((String)newValue);
- return;
- case DatatypesPackage.VALUE_TYPE__DIMENSION:
- setDimension((String)newValue);
- return;
- case DatatypesPackage.VALUE_TYPE__UNIT:
- setUnit((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return DatatypesPackage.Literals.VALUE_TYPE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String getSemantics() {
- return semantics;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setSemantics(String newSemantics) {
- String oldSemantics = semantics;
- semantics = newSemantics;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DatatypesPackage.VALUE_TYPE__SEMANTICS, oldSemantics, semantics));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch(featureID) {
- case DatatypesPackage.VALUE_TYPE__SEMANTICS:
- setSemantics(SEMANTICS_EDEFAULT);
- return;
- case DatatypesPackage.VALUE_TYPE__DIMENSION:
- setDimension(DIMENSION_EDEFAULT);
- return;
- case DatatypesPackage.VALUE_TYPE__UNIT:
- setUnit(UNIT_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String getDimension() {
- return dimension;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String getUnit() {
- return unit;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setDimension(String newDimension) {
- String oldDimension = dimension;
- dimension = newDimension;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DatatypesPackage.VALUE_TYPE__DIMENSION, oldDimension, dimension));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnit(String newUnit) {
- String oldUnit = unit;
- unit = newUnit;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DatatypesPackage.VALUE_TYPE__UNIT, oldUnit, unit));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if(eIsProxy())
- return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (semantics: ");
- result.append(semantics);
- result.append(", dimension: ");
- result.append(dimension);
- result.append(", unit: ");
- result.append(unit);
- result.append(')');
- return result.toString();
- }
-
-} //ValueTypeImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/util/DatatypesAdapterFactory.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/util/DatatypesAdapterFactory.java
index f125c7716e7..49d233509ae 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/util/DatatypesAdapterFactory.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/util/DatatypesAdapterFactory.java
@@ -19,30 +19,27 @@ 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;
-import org.eclipse.papyrus.eastadl.infrastructure.datatypes.*;
+import org.eclipse.papyrus.eastadl.infrastructure.datatypes.ArrayDataType;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.CompositeDatatype;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EABoolean;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatype;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatypePrototype;
-import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAFloat;
-import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAInteger;
+import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EANumerical;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAString;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.Enumeration;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EnumerationLiteral;
-import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EnumerationValueType;
-import org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableDatatype;
+import org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableValueType;
-import org.eclipse.papyrus.eastadl.infrastructure.datatypes.ValueType;
+import org.eclipse.papyrus.eastadl.infrastructure.datatypes.Unit;
import org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement;
import org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackageableElement;
import org.eclipse.papyrus.eastadl.infrastructure.elements.TraceableSpecification;
/**
- * <!-- 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 -->
- *
+ * <!-- 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.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage
* @generated
*/
@@ -51,7 +48,6 @@ public class DatatypesAdapterFactory extends AdapterFactoryImpl {
/**
* The cached model package.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected static DatatypesPackage modelPackage;
@@ -60,105 +56,82 @@ public class DatatypesAdapterFactory extends AdapterFactoryImpl {
* The switch that delegates to the <code>createXXX</code> methods.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
protected DatatypesSwitch<Adapter> modelSwitch = new DatatypesSwitch<Adapter>() {
-
- @Override
- public Adapter caseEADatatype(EADatatype object) {
- return createEADatatypeAdapter();
- }
-
- @Override
- public Adapter caseEADatatypePrototype(EADatatypePrototype object) {
- return createEADatatypePrototypeAdapter();
- }
-
- @Override
- public Adapter caseValueType(ValueType object) {
- return createValueTypeAdapter();
- }
-
- @Override
- public Adapter caseRangeableDatatype(RangeableDatatype object) {
- return createRangeableDatatypeAdapter();
- }
-
- @Override
- public Adapter caseRangeableValueType(RangeableValueType object) {
- return createRangeableValueTypeAdapter();
- }
-
- @Override
- public Adapter caseEnumerationValueType(EnumerationValueType object) {
- return createEnumerationValueTypeAdapter();
- }
-
- @Override
- public Adapter caseCompositeDatatype(CompositeDatatype object) {
- return createCompositeDatatypeAdapter();
- }
-
- @Override
- public Adapter caseEAString(EAString object) {
- return createEAStringAdapter();
- }
-
- @Override
- public Adapter caseEABoolean(EABoolean object) {
- return createEABooleanAdapter();
- }
-
- @Override
- public Adapter caseEAFloat(EAFloat object) {
- return createEAFloatAdapter();
- }
-
- @Override
- public Adapter caseEAInteger(EAInteger object) {
- return createEAIntegerAdapter();
- }
-
- @Override
- public Adapter caseEnumerationLiteral(EnumerationLiteral object) {
- return createEnumerationLiteralAdapter();
- }
-
- @Override
- public Adapter caseEnumeration(Enumeration object) {
- return createEnumerationAdapter();
- }
-
- @Override
- public Adapter caseEAElement(EAElement object) {
- return createEAElementAdapter();
- }
-
- @Override
- public Adapter caseEAPackageableElement(EAPackageableElement object) {
- return createEAPackageableElementAdapter();
- }
-
- @Override
- public Adapter caseTraceableSpecification(TraceableSpecification object) {
- return createTraceableSpecificationAdapter();
- }
-
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
+ @Override
+ public Adapter caseEADatatype(EADatatype object) {
+ return createEADatatypeAdapter();
+ }
+ @Override
+ public Adapter caseEADatatypePrototype(EADatatypePrototype object) {
+ return createEADatatypePrototypeAdapter();
+ }
+ @Override
+ public Adapter caseEANumerical(EANumerical object) {
+ return createEANumericalAdapter();
+ }
+ @Override
+ public Adapter caseUnit(Unit object) {
+ return createUnitAdapter();
+ }
+ @Override
+ public Adapter caseQuantity(Quantity object) {
+ return createQuantityAdapter();
+ }
+ @Override
+ public Adapter caseRangeableValueType(RangeableValueType object) {
+ return createRangeableValueTypeAdapter();
+ }
+ @Override
+ public Adapter caseCompositeDatatype(CompositeDatatype object) {
+ return createCompositeDatatypeAdapter();
+ }
+ @Override
+ public Adapter caseEAString(EAString object) {
+ return createEAStringAdapter();
+ }
+ @Override
+ public Adapter caseEABoolean(EABoolean object) {
+ return createEABooleanAdapter();
+ }
+ @Override
+ public Adapter caseEnumerationLiteral(EnumerationLiteral object) {
+ return createEnumerationLiteralAdapter();
+ }
+ @Override
+ public Adapter caseEnumeration(Enumeration object) {
+ return createEnumerationAdapter();
+ }
+ @Override
+ public Adapter caseArrayDataType(ArrayDataType object) {
+ return createArrayDataTypeAdapter();
+ }
+ @Override
+ public Adapter caseEAElement(EAElement object) {
+ return createEAElementAdapter();
+ }
+ @Override
+ public Adapter caseEAPackageableElement(EAPackageableElement object) {
+ return createEAPackageableElementAdapter();
+ }
+ @Override
+ public Adapter caseTraceableSpecification(TraceableSpecification object) {
+ return createTraceableSpecificationAdapter();
+ }
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
/**
* Creates an instance of the adapter factory.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public DatatypesAdapterFactory() {
- if(modelPackage == null) {
+ if (modelPackage == null) {
modelPackage = DatatypesPackage.eINSTANCE;
}
}
@@ -166,9 +139,7 @@ public class DatatypesAdapterFactory extends AdapterFactoryImpl {
/**
* Creates an adapter for the <code>target</code>.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param target
- * the object to adapt.
+ * @param target the object to adapt.
* @return the adapter for the <code>target</code>.
* @generated
*/
@@ -183,7 +154,6 @@ public class DatatypesAdapterFactory extends AdapterFactoryImpl {
* 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.papyrus.eastadl.infrastructure.datatypes.EADatatype
* @generated
@@ -193,13 +163,11 @@ public class DatatypesAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatypePrototype
- * <em>EA Datatype Prototype</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatypePrototype <em>EA Datatype Prototype</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.papyrus.eastadl.infrastructure.datatypes.EADatatypePrototype
* @generated
@@ -209,89 +177,95 @@ public class DatatypesAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.CompositeDatatype
- * <em>Composite Datatype</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EANumerical <em>EA Numerical</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.papyrus.eastadl.infrastructure.datatypes.CompositeDatatype
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.EANumerical
* @generated
*/
- public Adapter createCompositeDatatypeAdapter() {
+ public Adapter createEANumericalAdapter() {
return null;
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAString <em>EA String</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Unit <em>Unit</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.papyrus.eastadl.infrastructure.datatypes.EAString
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.Unit
* @generated
*/
- public Adapter createEAStringAdapter() {
+ public Adapter createUnitAdapter() {
return null;
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EABoolean <em>EA Boolean</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity <em>Quantity</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.papyrus.eastadl.infrastructure.datatypes.EABoolean
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity
* @generated
*/
- public Adapter createEABooleanAdapter() {
+ public Adapter createQuantityAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.CompositeDatatype <em>Composite Datatype</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.papyrus.eastadl.infrastructure.datatypes.CompositeDatatype
+ * @generated
+ */
+ public Adapter createCompositeDatatypeAdapter() {
return null;
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAFloat <em>EA Float</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAString <em>EA String</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.papyrus.eastadl.infrastructure.datatypes.EAFloat
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAString
* @generated
*/
- public Adapter createEAFloatAdapter() {
+ public Adapter createEAStringAdapter() {
return null;
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAInteger <em>EA Integer</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EABoolean <em>EA Boolean</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.papyrus.eastadl.infrastructure.datatypes.EAInteger
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.EABoolean
* @generated
*/
- public Adapter createEAIntegerAdapter() {
+ public Adapter createEABooleanAdapter() {
return null;
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EnumerationLiteral
- * <em>Enumeration Literal</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EnumerationLiteral <em>Enumeration Literal</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.papyrus.eastadl.infrastructure.datatypes.EnumerationLiteral
* @generated
@@ -306,7 +280,6 @@ public class DatatypesAdapterFactory extends AdapterFactoryImpl {
* 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.papyrus.eastadl.infrastructure.datatypes.Enumeration
* @generated
@@ -316,49 +289,44 @@ public class DatatypesAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement <em>EA Element</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.ArrayDataType <em>Array Data Type</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.papyrus.eastadl.infrastructure.elements.EAElement
+ * @see org.eclipse.papyrus.eastadl.infrastructure.datatypes.ArrayDataType
* @generated
*/
- public Adapter createEAElementAdapter() {
+ public Adapter createArrayDataTypeAdapter() {
return null;
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackageableElement
- * <em>EA Packageable Element</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement <em>EA 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.papyrus.eastadl.infrastructure.elements.EAPackageableElement
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement
* @generated
*/
- public Adapter createEAPackageableElementAdapter() {
+ public Adapter createEAElementAdapter() {
return null;
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EnumerationValueType
- * <em>Enumeration Value Type</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackageableElement <em>EA Packageable 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.papyrus.eastadl.infrastructure.datatypes.EnumerationValueType
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackageableElement
* @generated
*/
- public Adapter createEnumerationValueTypeAdapter() {
+ public Adapter createEAPackageableElementAdapter() {
return null;
}
@@ -366,7 +334,6 @@ public class DatatypesAdapterFactory extends AdapterFactoryImpl {
* Creates a new adapter for the default case.
* <!-- begin-user-doc --> This default
* implementation returns null. <!-- end-user-doc -->
- *
* @return the new adapter.
* @generated
*/
@@ -375,27 +342,10 @@ public class DatatypesAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableDatatype
- * <em>Rangeable Datatype</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.papyrus.eastadl.infrastructure.datatypes.RangeableDatatype
- * @generated
- */
- public Adapter createRangeableDatatypeAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableValueType
- * <em>Rangeable Value Type</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableValueType <em>Rangeable Value Type</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.papyrus.eastadl.infrastructure.datatypes.RangeableValueType
* @generated
@@ -405,12 +355,10 @@ public class DatatypesAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.TraceableSpecification
- * <em>Traceable Specification</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.TraceableSpecification <em>Traceable 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.papyrus.eastadl.infrastructure.elements.TraceableSpecification
* @generated
@@ -420,34 +368,19 @@ public class DatatypesAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.ValueType <em>Value Type</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.papyrus.eastadl.infrastructure.datatypes.ValueType
- * @generated
- */
- public Adapter createValueTypeAdapter() {
- return null;
- }
-
- /**
* 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) {
+ if (object == modelPackage) {
return true;
}
- if(object instanceof EObject) {
+ if (object instanceof EObject) {
return ((EObject)object).eClass().getEPackage() == modelPackage;
}
return false;
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/util/DatatypesResourceFactoryImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/util/DatatypesResourceFactoryImpl.java
index cc4cde9961d..249a732c258 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/util/DatatypesResourceFactoryImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/util/DatatypesResourceFactoryImpl.java
@@ -24,17 +24,14 @@ 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.papyrus.eastadl.infrastructure.datatypes.util.DatatypesResourceImpl
* @generated
*/
public class DatatypesResourceFactoryImpl extends ResourceFactoryImpl {
-
/**
* Creates an instance of the resource factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public DatatypesResourceFactoryImpl() {
@@ -45,7 +42,6 @@ public class DatatypesResourceFactoryImpl extends ResourceFactoryImpl {
* Creates an instance of the resource.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/util/DatatypesResourceImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/util/DatatypesResourceImpl.java
index 2f1c575e9c0..da124d395cf 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/util/DatatypesResourceImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/util/DatatypesResourceImpl.java
@@ -22,19 +22,15 @@ 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.papyrus.eastadl.infrastructure.datatypes.util.DatatypesResourceFactoryImpl
* @generated
*/
public class DatatypesResourceImpl extends XMLResourceImpl {
-
/**
* Creates an instance of the resource.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param uri
- * the URI of the new resource.
+ * @param uri the URI of the new resource.
* @generated
*/
public DatatypesResourceImpl(URI uri) {
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/util/DatatypesSwitch.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/util/DatatypesSwitch.java
index 2b85374fe06..272160db97d 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/util/DatatypesSwitch.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/util/DatatypesSwitch.java
@@ -18,21 +18,19 @@ package org.eclipse.papyrus.eastadl.infrastructure.datatypes.util;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.util.Switch;
-import org.eclipse.papyrus.eastadl.infrastructure.datatypes.*;
+import org.eclipse.papyrus.eastadl.infrastructure.datatypes.ArrayDataType;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.CompositeDatatype;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EABoolean;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatype;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatypePrototype;
-import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAFloat;
-import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAInteger;
+import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EANumerical;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EAString;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.Enumeration;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EnumerationLiteral;
-import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EnumerationValueType;
-import org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableDatatype;
+import org.eclipse.papyrus.eastadl.infrastructure.datatypes.Quantity;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.RangeableValueType;
-import org.eclipse.papyrus.eastadl.infrastructure.datatypes.ValueType;
+import org.eclipse.papyrus.eastadl.infrastructure.datatypes.Unit;
import org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement;
import org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackageableElement;
import org.eclipse.papyrus.eastadl.infrastructure.elements.TraceableSpecification;
@@ -44,7 +42,6 @@ import org.eclipse.papyrus.eastadl.infrastructure.elements.TraceableSpecificatio
* 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.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage
* @generated
*/
@@ -53,7 +50,6 @@ public class DatatypesSwitch<T> extends Switch<T> {
/**
* The cached model package
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected static DatatypesPackage modelPackage;
@@ -61,11 +57,10 @@ public class DatatypesSwitch<T> extends Switch<T> {
/**
* Creates an instance of the switch.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public DatatypesSwitch() {
- if(modelPackage == null) {
+ if (modelPackage == null) {
modelPackage = DatatypesPackage.eINSTANCE;
}
}
@@ -74,7 +69,6 @@ public class DatatypesSwitch<T> extends Switch<T> {
* Checks whether this is a switch for the given package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @parameter ePackage the package in question.
* @return whether this is a switch for the given package.
* @generated
@@ -90,9 +84,7 @@ public class DatatypesSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
+ * @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Composite Datatype</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -107,9 +99,7 @@ public class DatatypesSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
+ * @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EA String</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -124,9 +114,7 @@ public class DatatypesSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
+ * @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EA Boolean</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -136,48 +124,12 @@ public class DatatypesSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '<em>EA Float</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>EA Float</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseEAFloat(EAFloat object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>EA Integer</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>EA Integer</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseEAInteger(EAInteger object) {
- return null;
- }
-
- /**
* Returns the result of interpreting the object as an instance of '<em>Enumeration Literal</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.
+ * @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Enumeration Literal</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -192,9 +144,7 @@ public class DatatypesSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
+ * @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Enumeration</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -204,68 +154,47 @@ public class DatatypesSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '<em>EA Element</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>Array Data Type</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>EA Element</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Array Data Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseEAElement(EAElement object) {
+ public T caseArrayDataType(ArrayDataType object) {
return null;
}
/**
- * Returns the result of interpreting the object as an instance of '<em>EA Packageable Element</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>EA 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>EA Packageable Element</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>EA Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseEAPackageableElement(EAPackageableElement object) {
+ public T caseEAElement(EAElement object) {
return null;
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Enumeration Value Type</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>EA Packageable 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>Enumeration Value Type</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseEnumerationValueType(EnumerationValueType object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Rangeable Datatype</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>Rangeable Datatype</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>EA Packageable Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseRangeableDatatype(RangeableDatatype object) {
+ public T caseEAPackageableElement(EAPackageableElement object) {
return null;
}
@@ -273,9 +202,7 @@ public class DatatypesSwitch<T> extends Switch<T> {
* Returns the result of interpreting the object as an instance of '<em>Rangeable Value Type</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.
+ * @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Rangeable Value Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -288,9 +215,7 @@ public class DatatypesSwitch<T> extends Switch<T> {
* Returns the result of interpreting the object as an instance of '<em>Traceable 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.
+ * @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Traceable Specification</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -300,27 +225,12 @@ public class DatatypesSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Value Type</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>Value Type</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseValueType(ValueType 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.
+ * 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
@@ -333,217 +243,122 @@ public class DatatypesSwitch<T> extends Switch<T> {
/**
* 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
*/
@Override
protected T doSwitch(int classifierID, EObject theEObject) {
- switch(classifierID) {
- case DatatypesPackage.EA_DATATYPE:
- {
- EADatatype eaDatatype = (EADatatype)theEObject;
- T result = caseEADatatype(eaDatatype);
- if(result == null)
- result = caseTraceableSpecification(eaDatatype);
- if(result == null)
- result = caseEAPackageableElement(eaDatatype);
- if(result == null)
- result = caseEAElement(eaDatatype);
- if(result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DatatypesPackage.EA_DATATYPE_PROTOTYPE:
- {
- EADatatypePrototype eaDatatypePrototype = (EADatatypePrototype)theEObject;
- T result = caseEADatatypePrototype(eaDatatypePrototype);
- if(result == null)
- result = caseEAElement(eaDatatypePrototype);
- if(result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DatatypesPackage.VALUE_TYPE:
- {
- ValueType valueType = (ValueType)theEObject;
- T result = caseValueType(valueType);
- if(result == null)
- result = caseEADatatype(valueType);
- if(result == null)
- result = caseTraceableSpecification(valueType);
- if(result == null)
- result = caseEAPackageableElement(valueType);
- if(result == null)
- result = caseEAElement(valueType);
- if(result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DatatypesPackage.RANGEABLE_DATATYPE:
- {
- RangeableDatatype rangeableDatatype = (RangeableDatatype)theEObject;
- T result = caseRangeableDatatype(rangeableDatatype);
- if(result == null)
- result = caseEADatatype(rangeableDatatype);
- if(result == null)
- result = caseTraceableSpecification(rangeableDatatype);
- if(result == null)
- result = caseEAPackageableElement(rangeableDatatype);
- if(result == null)
- result = caseEAElement(rangeableDatatype);
- if(result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DatatypesPackage.RANGEABLE_VALUE_TYPE:
- {
- RangeableValueType rangeableValueType = (RangeableValueType)theEObject;
- T result = caseRangeableValueType(rangeableValueType);
- if(result == null)
- result = caseValueType(rangeableValueType);
- if(result == null)
- result = caseEADatatype(rangeableValueType);
- if(result == null)
- result = caseTraceableSpecification(rangeableValueType);
- if(result == null)
- result = caseEAPackageableElement(rangeableValueType);
- if(result == null)
- result = caseEAElement(rangeableValueType);
- if(result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DatatypesPackage.ENUMERATION_VALUE_TYPE:
- {
- EnumerationValueType enumerationValueType = (EnumerationValueType)theEObject;
- T result = caseEnumerationValueType(enumerationValueType);
- if(result == null)
- result = caseValueType(enumerationValueType);
- if(result == null)
- result = caseEADatatype(enumerationValueType);
- if(result == null)
- result = caseTraceableSpecification(enumerationValueType);
- if(result == null)
- result = caseEAPackageableElement(enumerationValueType);
- if(result == null)
- result = caseEAElement(enumerationValueType);
- if(result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DatatypesPackage.COMPOSITE_DATATYPE:
- {
- CompositeDatatype compositeDatatype = (CompositeDatatype)theEObject;
- T result = caseCompositeDatatype(compositeDatatype);
- if(result == null)
- result = caseEADatatype(compositeDatatype);
- if(result == null)
- result = caseTraceableSpecification(compositeDatatype);
- if(result == null)
- result = caseEAPackageableElement(compositeDatatype);
- if(result == null)
- result = caseEAElement(compositeDatatype);
- if(result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DatatypesPackage.EA_STRING:
- {
- EAString eaString = (EAString)theEObject;
- T result = caseEAString(eaString);
- if(result == null)
- result = caseEADatatype(eaString);
- if(result == null)
- result = caseTraceableSpecification(eaString);
- if(result == null)
- result = caseEAPackageableElement(eaString);
- if(result == null)
- result = caseEAElement(eaString);
- if(result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DatatypesPackage.EA_BOOLEAN:
- {
- EABoolean eaBoolean = (EABoolean)theEObject;
- T result = caseEABoolean(eaBoolean);
- if(result == null)
- result = caseEADatatype(eaBoolean);
- if(result == null)
- result = caseTraceableSpecification(eaBoolean);
- if(result == null)
- result = caseEAPackageableElement(eaBoolean);
- if(result == null)
- result = caseEAElement(eaBoolean);
- if(result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DatatypesPackage.EA_FLOAT:
- {
- EAFloat eaFloat = (EAFloat)theEObject;
- T result = caseEAFloat(eaFloat);
- if(result == null)
- result = caseRangeableDatatype(eaFloat);
- if(result == null)
- result = caseEADatatype(eaFloat);
- if(result == null)
- result = caseTraceableSpecification(eaFloat);
- if(result == null)
- result = caseEAPackageableElement(eaFloat);
- if(result == null)
- result = caseEAElement(eaFloat);
- if(result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DatatypesPackage.EA_INTEGER:
- {
- EAInteger eaInteger = (EAInteger)theEObject;
- T result = caseEAInteger(eaInteger);
- if(result == null)
- result = caseRangeableDatatype(eaInteger);
- if(result == null)
- result = caseEADatatype(eaInteger);
- if(result == null)
- result = caseTraceableSpecification(eaInteger);
- if(result == null)
- result = caseEAPackageableElement(eaInteger);
- if(result == null)
- result = caseEAElement(eaInteger);
- if(result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DatatypesPackage.ENUMERATION_LITERAL:
- {
- EnumerationLiteral enumerationLiteral = (EnumerationLiteral)theEObject;
- T result = caseEnumerationLiteral(enumerationLiteral);
- if(result == null)
- result = caseEAElement(enumerationLiteral);
- if(result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DatatypesPackage.ENUMERATION:
- {
- Enumeration enumeration = (Enumeration)theEObject;
- T result = caseEnumeration(enumeration);
- if(result == null)
- result = caseEADatatype(enumeration);
- if(result == null)
- result = caseTraceableSpecification(enumeration);
- if(result == null)
- result = caseEAPackageableElement(enumeration);
- if(result == null)
- result = caseEAElement(enumeration);
- if(result == null)
- result = defaultCase(theEObject);
- return result;
- }
- default:
- return defaultCase(theEObject);
+ switch (classifierID) {
+ case DatatypesPackage.EA_DATATYPE: {
+ EADatatype eaDatatype = (EADatatype)theEObject;
+ T result = caseEADatatype(eaDatatype);
+ if (result == null) result = caseTraceableSpecification(eaDatatype);
+ if (result == null) result = caseEAPackageableElement(eaDatatype);
+ if (result == null) result = caseEAElement(eaDatatype);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DatatypesPackage.EA_DATATYPE_PROTOTYPE: {
+ EADatatypePrototype eaDatatypePrototype = (EADatatypePrototype)theEObject;
+ T result = caseEADatatypePrototype(eaDatatypePrototype);
+ if (result == null) result = caseEAElement(eaDatatypePrototype);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DatatypesPackage.EA_NUMERICAL: {
+ EANumerical eaNumerical = (EANumerical)theEObject;
+ T result = caseEANumerical(eaNumerical);
+ if (result == null) result = caseEADatatype(eaNumerical);
+ if (result == null) result = caseTraceableSpecification(eaNumerical);
+ if (result == null) result = caseEAPackageableElement(eaNumerical);
+ if (result == null) result = caseEAElement(eaNumerical);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DatatypesPackage.UNIT: {
+ Unit unit = (Unit)theEObject;
+ T result = caseUnit(unit);
+ if (result == null) result = caseEAPackageableElement(unit);
+ if (result == null) result = caseEAElement(unit);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DatatypesPackage.QUANTITY: {
+ Quantity quantity = (Quantity)theEObject;
+ T result = caseQuantity(quantity);
+ if (result == null) result = caseEAPackageableElement(quantity);
+ if (result == null) result = caseEAElement(quantity);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DatatypesPackage.RANGEABLE_VALUE_TYPE: {
+ RangeableValueType rangeableValueType = (RangeableValueType)theEObject;
+ T result = caseRangeableValueType(rangeableValueType);
+ if (result == null) result = caseEADatatype(rangeableValueType);
+ if (result == null) result = caseTraceableSpecification(rangeableValueType);
+ if (result == null) result = caseEAPackageableElement(rangeableValueType);
+ if (result == null) result = caseEAElement(rangeableValueType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DatatypesPackage.COMPOSITE_DATATYPE: {
+ CompositeDatatype compositeDatatype = (CompositeDatatype)theEObject;
+ T result = caseCompositeDatatype(compositeDatatype);
+ if (result == null) result = caseEADatatype(compositeDatatype);
+ if (result == null) result = caseTraceableSpecification(compositeDatatype);
+ if (result == null) result = caseEAPackageableElement(compositeDatatype);
+ if (result == null) result = caseEAElement(compositeDatatype);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DatatypesPackage.EA_STRING: {
+ EAString eaString = (EAString)theEObject;
+ T result = caseEAString(eaString);
+ if (result == null) result = caseEADatatype(eaString);
+ if (result == null) result = caseTraceableSpecification(eaString);
+ if (result == null) result = caseEAPackageableElement(eaString);
+ if (result == null) result = caseEAElement(eaString);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DatatypesPackage.EA_BOOLEAN: {
+ EABoolean eaBoolean = (EABoolean)theEObject;
+ T result = caseEABoolean(eaBoolean);
+ if (result == null) result = caseEADatatype(eaBoolean);
+ if (result == null) result = caseTraceableSpecification(eaBoolean);
+ if (result == null) result = caseEAPackageableElement(eaBoolean);
+ if (result == null) result = caseEAElement(eaBoolean);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DatatypesPackage.ENUMERATION_LITERAL: {
+ EnumerationLiteral enumerationLiteral = (EnumerationLiteral)theEObject;
+ T result = caseEnumerationLiteral(enumerationLiteral);
+ if (result == null) result = caseEAElement(enumerationLiteral);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DatatypesPackage.ENUMERATION: {
+ Enumeration enumeration = (Enumeration)theEObject;
+ T result = caseEnumeration(enumeration);
+ if (result == null) result = caseEADatatype(enumeration);
+ if (result == null) result = caseTraceableSpecification(enumeration);
+ if (result == null) result = caseEAPackageableElement(enumeration);
+ if (result == null) result = caseEAElement(enumeration);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DatatypesPackage.ARRAY_DATA_TYPE: {
+ ArrayDataType arrayDataType = (ArrayDataType)theEObject;
+ T result = caseArrayDataType(arrayDataType);
+ if (result == null) result = caseEADatatype(arrayDataType);
+ if (result == null) result = caseTraceableSpecification(arrayDataType);
+ if (result == null) result = caseEAPackageableElement(arrayDataType);
+ if (result == null) result = caseEAElement(arrayDataType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
}
}
@@ -553,9 +368,7 @@ public class DatatypesSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
+ * @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EA Datatype</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -570,9 +383,7 @@ public class DatatypesSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
+ * @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EA Datatype Prototype</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -581,4 +392,49 @@ public class DatatypesSwitch<T> extends Switch<T> {
return null;
}
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>EA Numerical</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>EA Numerical</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseEANumerical(EANumerical object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Unit</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>Unit</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseUnit(Unit object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Quantity</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>Quantity</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseQuantity(Quantity object) {
+ return null;
+ }
+
} // DatatypesSwitch
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/util/DatatypesXMLProcessor.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/util/DatatypesXMLProcessor.java
index 71e9af5da8e..077c7586bcc 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/util/DatatypesXMLProcessor.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/datatypes/util/DatatypesXMLProcessor.java
@@ -27,7 +27,6 @@ import org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage;
* This class contains helper methods to serialize and deserialize XML documents
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public class DatatypesXMLProcessor extends XMLProcessor {
@@ -36,24 +35,22 @@ public class DatatypesXMLProcessor extends XMLProcessor {
* Public constructor to instantiate the helper.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public DatatypesXMLProcessor() {
super((EPackage.Registry.INSTANCE));
DatatypesPackage.eINSTANCE.eClass();
}
-
+
/**
* Register for "*" and "xml" file extensions the DatatypesResourceFactoryImpl factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
protected Map<String, Resource.Factory> getRegistrations() {
- if(registrations == null) {
+ if (registrations == null) {
super.getRegistrations();
registrations.put(XML_EXTENSION, new DatatypesResourceFactoryImpl());
registrations.put(STAR_EXTENSION, new DatatypesResourceFactoryImpl());
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/Comment.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/Comment.java
deleted file mode 100644
index 5741a604e3a..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/Comment.java
+++ /dev/null
@@ -1,95 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Sara TUCCI (CEA LIST) sara.tucci@cea.fr - Initial API and implementation
- * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
- * David SERVAT (CEA LIST) david.servat@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.eastadl.infrastructure.elements;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Comment</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Comment#getBody <em>Body</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Comment#getBase_Comment <em>Base Comment</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getComment()
- * @model
- * @generated
- */
-public interface Comment extends EObject {
-
- /**
- * 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.papyrus.eastadl.infrastructure.elements.ElementsPackage#getComment_Body()
- * @model dataType="org.eclipse.uml2.types.String" required="true" ordered="false"
- * @generated
- */
- String getBody();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Comment#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>Base Comment</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Base Comment</em>' reference isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Base Comment</em>' reference.
- * @see #setBase_Comment(org.eclipse.uml2.uml.Comment)
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getComment_Base_Comment()
- * @model required="true" ordered="false"
- * @generated
- */
- org.eclipse.uml2.uml.Comment getBase_Comment();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Comment#getBase_Comment <em>Base Comment</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Base Comment</em>' reference.
- * @see #getBase_Comment()
- * @generated
- */
- void setBase_Comment(org.eclipse.uml2.uml.Comment value);
-
-} // Comment
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/Context.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/Context.java
index 9cb3bcfaeb8..ab9f300f411 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/Context.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/Context.java
@@ -21,10 +21,9 @@ import org.eclipse.emf.common.util.EList;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Context</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <!-- begin-model-doc -->
- * Context represents a simple and practical way to allocate TraceableSpecifications to a specific EAST-ADL2 model context, and to let this specific
- * model context own Relationships.
+ * Context represents a simple and practical way to allocate TraceableSpecifications to a specific EAST-ADL2 model context, and to let this specific model context own Relationships.
*
* Semantics:
* See Relationship and TraceableSpecification.
@@ -33,24 +32,23 @@ import org.eclipse.emf.common.util.EList;
* Changes:
* New class in EAST-ADL2
*
- * Extension:
+ * Extension:
* The Context stereotype is an abstract stereotype which extends UML2 PackageableElement
* <!-- end-model-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Context#getTraceableSpecification <em>Traceable Specification</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Context#getOwnedRelationship <em>Owned Relationship</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Context#getTraceableSpecification <em>Traceable Specification</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Context#getOwnedRelationship <em>Owned Relationship</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getContext()
* @model abstract="true"
* @generated
*/
-public interface Context extends EAElement {
-
+public interface Context extends EAPackageableElement {
/**
* Returns the value of the '<em><b>Owned Relationship</b></em>' reference list.
* The list contents are of type {@link org.eclipse.papyrus.eastadl.infrastructure.elements.Relationship}.
@@ -59,7 +57,6 @@ public interface Context extends EAElement {
* <!-- begin-model-doc -->
* Relationship(s) associated to this context.
* <!-- end-model-doc -->
- *
* @return the value of the '<em>Owned Relationship</em>' reference list.
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getContext_OwnedRelationship()
* @model ordered="false"
@@ -75,7 +72,6 @@ public interface Context extends EAElement {
* <!-- begin-model-doc -->
* Traceable specification(s) allocated to this context.
* <!-- end-model-doc -->
- *
* @return the value of the '<em>Traceable Specification</em>' reference list.
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getContext_TraceableSpecification()
* @model ordered="false"
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/EAConnector.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/EAConnector.java
new file mode 100644
index 00000000000..da4c93d0713
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/EAConnector.java
@@ -0,0 +1,51 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.elements;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.uml2.uml.Connector;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EA Connector</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAConnector#getBase_Connector <em>Base Connector</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getEAConnector()
+ * @model abstract="true"
+ * @generated
+ */
+public interface EAConnector extends EObject {
+ /**
+ * Returns the value of the '<em><b>Base Connector</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Base Connector</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Base Connector</em>' reference.
+ * @see #setBase_Connector(Connector)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getEAConnector_Base_Connector()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ Connector getBase_Connector();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAConnector#getBase_Connector <em>Base Connector</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Base Connector</em>' reference.
+ * @see #getBase_Connector()
+ * @generated
+ */
+ void setBase_Connector(Connector value);
+
+} // EAConnector
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/EAElement.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/EAElement.java
index e013e37969c..bb49539fd32 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/EAElement.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/EAElement.java
@@ -17,6 +17,7 @@ package org.eclipse.papyrus.eastadl.infrastructure.elements;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
+import org.eclipse.uml2.uml.Comment;
import org.eclipse.uml2.uml.NamedElement;
@@ -25,109 +26,104 @@ import org.eclipse.uml2.uml.NamedElement;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>EA Element</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <!-- begin-model-doc -->
- * The EAElement is an abstract metaclass that represents an arbitrary named entity in the domain model. It specializes AUTOSAR Identifiable which has
- * the shortName attribute used for identification of the element within the namespace in which it is defined.
+ * The EAElement is an abstract metaclass that represents an arbitrary named entity in the domain model. It specializes AUTOSAR Identifiable which has the shortName attribute used for identification of the element within the namespace in which it is defined.
*
* The abbreviation EA in the name of this metaclass is short for EAST-ADL.
*
*
* Semantics:
- * Also the EAElement can be used to extend the EAST-ADL2 approach to other languages and standards by adding a generalize relation from the
- * respective (non EAST-ADL2) element to the EAElement.
+ * Also the EAElement can be used to extend the EAST-ADL2 approach to other languages and standards by adding a generalize relation from the respective (non EAST-ADL2) element to the EAElement.
*
*
* Changes:
* New class in EAST-ADL2
*
- * Extension:
+ * Extension:
* The EAElement stereotype is an abstract stereotype
* <!-- end-model-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement#getBase_NamedElement <em>Base Named Element</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement#getOwnedComment <em>Owned Comment</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement#getBase_NamedElement <em>Base Named Element</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement#getOwnedComment <em>Owned Comment</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getEAElement()
* @model abstract="true"
* @generated
*/
public interface EAElement extends EObject {
-
/**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * Returns the value of the '<em><b>Base Named Element</b></em>' reference.
* <!-- 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...
+ * If the meaning of the '<em>Base Named 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>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getEAElement_Name()
- * @model unique="false" dataType="org.eclipse.uml2.types.String" transient="true" volatile="true" derived="true" ordered="false"
+ * @return the value of the '<em>Base Named Element</em>' reference.
+ * @see #setBase_NamedElement(NamedElement)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getEAElement_Base_NamedElement()
+ * @model required="true" ordered="false"
* @generated
*/
- String getName();
+ NamedElement getBase_NamedElement();
/**
- * Returns the value of the '<em><b>Owned Comment</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.papyrus.eastadl.infrastructure.elements.Comment}.
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement#getBase_NamedElement <em>Base Named Element</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the value of the '<em>Owned Comment</em>' reference list.
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getEAElement_OwnedComment()
- * @model ordered="false"
+ * @param value the new value of the '<em>Base Named Element</em>' reference.
+ * @see #getBase_NamedElement()
* @generated
*/
- EList<Comment> getOwnedComment();
+ void setBase_NamedElement(NamedElement value);
/**
- * Returns the value of the '<em><b>Base Named Element</b></em>' reference.
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Named Element</em>' reference isn't clear, there really should be more of a description here...
+ * 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>Base Named Element</em>' reference.
- * @see #setBase_NamedElement(NamedElement)
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getEAElement_Base_NamedElement()
- * @model required="true" ordered="false"
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getEAElement_Name()
+ * @model dataType="org.eclipse.uml2.types.String" transient="true" volatile="true" derived="true" ordered="false"
* @generated
*/
- NamedElement getBase_NamedElement();
+ String getName();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement#getBase_NamedElement <em>Base Named Element</em>}'
- * reference.
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Base Named Element</em>' reference.
- * @see #getBase_NamedElement()
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
* @generated
*/
- void setBase_NamedElement(NamedElement value);
+ void setName(String value);
/**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement#getName <em>Name</em>}' attribute.
+ * Returns the value of the '<em><b>Owned Comment</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.uml2.uml.Comment}.
* <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Owned Comment</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Name</em>' attribute.
- * @see #getName()
+ * @return the value of the '<em>Owned Comment</em>' reference list.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getEAElement_OwnedComment()
+ * @model ordered="false"
* @generated
*/
- void setName(String value);
+ EList<Comment> getOwnedComment();
} // EAElement
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/EAPackage.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/EAPackage.java
index fa833272fc4..100ca69429f 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/EAPackage.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/EAPackage.java
@@ -21,50 +21,49 @@ import org.eclipse.emf.common.util.EList;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>EA Package</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackage#getSubPackages <em>Sub Packages</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackage#getElement <em>Element</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackage#getBase_Package <em>Base Package</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackage#getSubPackage <em>Sub Package</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackage#getElement <em>Element</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackage#getBase_Package <em>Base Package</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getEAPackage()
- * @model
+ * @model abstract="true"
* @generated
*/
public interface EAPackage extends EAElement {
-
/**
- * Returns the value of the '<em><b>Sub Packages</b></em>' containment reference list.
+ * Returns the value of the '<em><b>Sub Package</b></em>' reference list.
* The list contents are of type {@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackage}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Sub Packages</em>' reference list isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Sub Package</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>Sub Packages</em>' containment reference list.
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getEAPackage_SubPackages()
- * @model containment="true" ordered="false"
+ * @return the value of the '<em>Sub Package</em>' reference list.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getEAPackage_SubPackage()
+ * @model ordered="false"
* @generated
*/
- EList<EAPackage> getSubPackages();
+ EList<EAPackage> getSubPackage();
/**
- * Returns the value of the '<em><b>Element</b></em>' containment reference list.
+ * Returns the value of the '<em><b>Element</b></em>' reference list.
* The list contents are of type {@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackageableElement}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Element</em>' reference list isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>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>Element</em>' containment reference list.
+ * @return the value of the '<em>Element</em>' reference list.
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getEAPackage_Element()
- * @model containment="true" ordered="false"
+ * @model ordered="false"
* @generated
*/
EList<EAPackageableElement> getElement();
@@ -73,10 +72,10 @@ public interface EAPackage extends EAElement {
* Returns the value of the '<em><b>Base Package</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Package</em>' reference isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Base Package</em>' reference isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @return the value of the '<em>Base Package</em>' reference.
* @see #setBase_Package(org.eclipse.uml2.uml.Package)
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getEAPackage_Base_Package()
@@ -89,9 +88,7 @@ public interface EAPackage extends EAElement {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackage#getBase_Package <em>Base Package</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Base Package</em>' reference.
+ * @param value the new value of the '<em>Base Package</em>' reference.
* @see #getBase_Package()
* @generated
*/
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/EAPackageableElement.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/EAPackageableElement.java
index 5880d7dcf77..19c0aecd8ee 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/EAPackageableElement.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/EAPackageableElement.java
@@ -21,28 +21,27 @@ import org.eclipse.uml2.uml.PackageableElement;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>EA Packageable Element</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackageableElement#getBase_PackageableElement <em>Base Packageable Element</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackageableElement#getBase_PackageableElement <em>Base Packageable Element</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getEAPackageableElement()
* @model abstract="true"
* @generated
*/
public interface EAPackageableElement extends EAElement {
-
/**
* Returns the value of the '<em><b>Base Packageable Element</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Packageable Element</em>' reference isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Base Packageable 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>Base Packageable Element</em>' reference.
* @see #setBase_PackageableElement(PackageableElement)
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getEAPackageableElement_Base_PackageableElement()
@@ -52,13 +51,10 @@ public interface EAPackageableElement extends EAElement {
PackageableElement getBase_PackageableElement();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackageableElement#getBase_PackageableElement
- * <em>Base Packageable Element</em>}' reference.
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackageableElement#getBase_PackageableElement <em>Base Packageable Element</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Base Packageable Element</em>' reference.
+ * @param value the new value of the '<em>Base Packageable Element</em>' reference.
* @see #getBase_PackageableElement()
* @generated
*/
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/EAPort.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/EAPort.java
new file mode 100644
index 00000000000..c0d6c1021bf
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/EAPort.java
@@ -0,0 +1,51 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.elements;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.uml2.uml.Port;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EA Port</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPort#getBase_Port <em>Base Port</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getEAPort()
+ * @model abstract="true"
+ * @generated
+ */
+public interface EAPort extends EObject {
+ /**
+ * Returns the value of the '<em><b>Base Port</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Base Port</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Base Port</em>' reference.
+ * @see #setBase_Port(Port)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getEAPort_Base_Port()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ Port getBase_Port();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPort#getBase_Port <em>Base Port</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Base Port</em>' reference.
+ * @see #getBase_Port()
+ * @generated
+ */
+ void setBase_Port(Port value);
+
+} // EAPort
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/EAPrototype.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/EAPrototype.java
new file mode 100644
index 00000000000..829694f361b
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/EAPrototype.java
@@ -0,0 +1,51 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.elements;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.uml2.uml.Property;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EA Prototype</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPrototype#getBase_Property <em>Base Property</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getEAPrototype()
+ * @model abstract="true"
+ * @generated
+ */
+public interface EAPrototype extends EObject {
+ /**
+ * Returns the value of the '<em><b>Base Property</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Base Property</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Base Property</em>' reference.
+ * @see #setBase_Property(Property)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getEAPrototype_Base_Property()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ Property getBase_Property();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPrototype#getBase_Property <em>Base Property</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Base Property</em>' reference.
+ * @see #getBase_Property()
+ * @generated
+ */
+ void setBase_Property(Property value);
+
+} // EAPrototype
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/EAType.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/EAType.java
new file mode 100644
index 00000000000..ca4c5310604
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/EAType.java
@@ -0,0 +1,50 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.elements;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EA Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAType#getBase_Class <em>Base Class</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getEAType()
+ * @model abstract="true"
+ * @generated
+ */
+public interface EAType extends EObject {
+ /**
+ * Returns the value of the '<em><b>Base Class</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Base Class</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Base Class</em>' reference.
+ * @see #setBase_Class(org.eclipse.uml2.uml.Class)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getEAType_Base_Class()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ org.eclipse.uml2.uml.Class getBase_Class();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAType#getBase_Class <em>Base Class</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Base Class</em>' reference.
+ * @see #getBase_Class()
+ * @generated
+ */
+ void setBase_Class(org.eclipse.uml2.uml.Class value);
+
+} // EAType
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/EAXML.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/EAXML.java
new file mode 100644
index 00000000000..47d8d3995ce
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/EAXML.java
@@ -0,0 +1,128 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.elements;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EAXML</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAXML#getAdmindocumentVersion <em>Admindocument Version</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAXML#getAutosardocumentVersion <em>Autosardocument Version</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAXML#isXmlglobalelement <em>Xmlglobalelement</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAXML#getTopLevelPackage <em>Top Level Package</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getEAXML()
+ * @model abstract="true"
+ * @generated
+ */
+public interface EAXML extends EObject {
+ /**
+ * Returns the value of the '<em><b>Admindocument Version</b></em>' attribute.
+ * The default value is <code>"2013-05-28"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Admindocument 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>Admindocument Version</em>' attribute.
+ * @see #setAdmindocumentVersion(String)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getEAXML_AdmindocumentVersion()
+ * @model default="2013-05-28" dataType="org.eclipse.uml2.types.String" required="true" ordered="false"
+ * annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='admin.documentVersion'"
+ * @generated
+ */
+ String getAdmindocumentVersion();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAXML#getAdmindocumentVersion <em>Admindocument Version</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Admindocument Version</em>' attribute.
+ * @see #getAdmindocumentVersion()
+ * @generated
+ */
+ void setAdmindocumentVersion(String value);
+
+ /**
+ * Returns the value of the '<em><b>Autosardocument Version</b></em>' attribute.
+ * The default value is <code>"4.0"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Autosardocument 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>Autosardocument Version</em>' attribute.
+ * @see #setAutosardocumentVersion(String)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getEAXML_AutosardocumentVersion()
+ * @model default="4.0" dataType="org.eclipse.uml2.types.String" required="true" ordered="false"
+ * annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='autosar.documentVersion'"
+ * @generated
+ */
+ String getAutosardocumentVersion();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAXML#getAutosardocumentVersion <em>Autosardocument Version</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Autosardocument Version</em>' attribute.
+ * @see #getAutosardocumentVersion()
+ * @generated
+ */
+ void setAutosardocumentVersion(String value);
+
+ /**
+ * Returns the value of the '<em><b>Xmlglobalelement</b></em>' attribute.
+ * The default value is <code>"true"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xmlglobalelement</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xmlglobalelement</em>' attribute.
+ * @see #setXmlglobalelement(boolean)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getEAXML_Xmlglobalelement()
+ * @model default="true" dataType="org.eclipse.uml2.types.Boolean" required="true" ordered="false"
+ * annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='xml.globalelement'"
+ * @generated
+ */
+ boolean isXmlglobalelement();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAXML#isXmlglobalelement <em>Xmlglobalelement</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xmlglobalelement</em>' attribute.
+ * @see #isXmlglobalelement()
+ * @generated
+ */
+ void setXmlglobalelement(boolean value);
+
+ /**
+ * Returns the value of the '<em><b>Top Level Package</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackage}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Top Level Package</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>Top Level Package</em>' reference list.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getEAXML_TopLevelPackage()
+ * @model ordered="false"
+ * @generated
+ */
+ EList<EAPackage> getTopLevelPackage();
+
+} // EAXML
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/ElementsFactory.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/ElementsFactory.java
index 8af7e272e25..69922d96a47 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/ElementsFactory.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/ElementsFactory.java
@@ -22,76 +22,40 @@ import org.eclipse.emf.ecore.EFactory;
* 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.papyrus.eastadl.infrastructure.elements.ElementsPackage
* @generated
*/
public interface ElementsFactory extends EFactory {
-
/**
* The singleton instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
ElementsFactory eINSTANCE = org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsFactoryImpl.init();
/**
- * Returns a new object of class '<em>Multi Level Reference</em>'.
+ * Returns a new object of class '<em>Realization</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Multi Level Reference</em>'.
+ * @return a new object of class '<em>Realization</em>'.
* @generated
*/
- MultiLevelReference createMultiLevelReference();
+ Realization createRealization();
/**
* Returns a new object of class '<em>Rationale</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return a new object of class '<em>Rationale</em>'.
* @generated
*/
Rationale createRationale();
/**
- * Returns a new object of class '<em>EA Package</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>EA Package</em>'.
- * @generated
- */
- EAPackage createEAPackage();
-
- /**
- * Returns a new object of class '<em>Comment</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Comment</em>'.
- * @generated
- */
- Comment createComment();
-
- /**
- * Returns a new object of class '<em>Realization</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Realization</em>'.
- * @generated
- */
- Realization createRealization();
-
- /**
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the package supported by this factory.
* @generated
*/
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/ElementsPackage.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/ElementsPackage.java
index 4b098026624..eec16109bb1 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/ElementsPackage.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/ElementsPackage.java
@@ -19,7 +19,6 @@ import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
-import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage;
/**
@@ -27,51 +26,41 @@ import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage;
* 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>
+ * <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 -->
* <!-- begin-model-doc -->
- * This section contains the UML-profile specification, specifying stereotypes in the UML-profile, defined from the metaclasses in the
- * Infrastructure::Elements subprofile. It includes specification details for each stereotype. If the stereotype has properties, which may be referred
- * to as tag definitions, or if the stereotype has constraints, this section also includes specification details for these properties and constraints.
+ * This section contains the UML-profile specification, specifying stereotypes in the UML-profile, defined from the metaclasses in the Infrastructure::Elements subprofile. It includes specification details for each stereotype. If the stereotype has properties, which may be referred to as tag definitions, or if the stereotype has constraints, this section also includes specification details for these properties and constraints.
*
* Overview:
- * The Infrastructure::Elements subprofile of EAST-ADL2 defines general-purpose relationship constructs that may be used to model dependencies between
- * structural constructs.
- * The purpose of the stereotypes in this subprofile is to specify rigorously ("formally") the various relationships that may exist between basic
- * constructs.
+ * The Infrastructure::Elements subprofile of EAST-ADL2 defines general-purpose relationship constructs that may be used to model dependencies between structural constructs.
+ * The purpose of the stereotypes in this subprofile is to specify rigorously ("formally") the various relationships that may exist between basic constructs.
* <!-- end-model-doc -->
- *
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsFactory
* @model kind="package"
* @generated
*/
public interface ElementsPackage extends EPackage {
-
/**
* <!-- 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>
+ * <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.papyrus.eastadl.infrastructure.elements.impl.RelationshipImpl <em>Relationship</em>}'
- * class.
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.RelationshipImpl <em>Relationship</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.RelationshipImpl
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl#getRelationship()
* @generated
@@ -79,177 +68,177 @@ public interface ElementsPackage extends EPackage {
EClass RELATIONSHIP = eINSTANCE.getRelationship();
/**
- * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.TraceableSpecificationImpl
- * <em>Traceable Specification</em>}' class.
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EATypeImpl <em>EA Type</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.TraceableSpecificationImpl
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl#getTraceableSpecification()
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EATypeImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl#getEAType()
* @generated
*/
- EClass TRACEABLE_SPECIFICATION = eINSTANCE.getTraceableSpecification();
+ EClass EA_TYPE = eINSTANCE.getEAType();
/**
- * The meta object literal for the '<em><b>Note</b></em>' attribute feature.
+ * The meta object literal for the '<em><b>Base Class</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- EAttribute TRACEABLE_SPECIFICATION__NOTE = eINSTANCE.getTraceableSpecification_Note();
+ EReference EA_TYPE__BASE_CLASS = eINSTANCE.getEAType_Base_Class();
/**
- * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAPackageableElementImpl
- * <em>EA Packageable Element</em>}' class.
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAPortImpl <em>EA Port</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAPackageableElementImpl
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl#getEAPackageableElement()
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAPortImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl#getEAPort()
* @generated
*/
- EClass EA_PACKAGEABLE_ELEMENT = eINSTANCE.getEAPackageableElement();
+ EClass EA_PORT = eINSTANCE.getEAPort();
/**
- * The meta object literal for the '<em><b>Base Packageable Element</b></em>' reference feature.
+ * The meta object literal for the '<em><b>Base Port</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- EReference EA_PACKAGEABLE_ELEMENT__BASE_PACKAGEABLE_ELEMENT = eINSTANCE.getEAPackageableElement_Base_PackageableElement();
+ EReference EA_PORT__BASE_PORT = eINSTANCE.getEAPort_Base_Port();
/**
- * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ContextImpl <em>Context</em>}' class.
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAConnectorImpl <em>EA Connector</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ContextImpl
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl#getContext()
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAConnectorImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl#getEAConnector()
* @generated
*/
- EClass CONTEXT = eINSTANCE.getContext();
+ EClass EA_CONNECTOR = eINSTANCE.getEAConnector();
/**
- * The meta object literal for the '<em><b>Traceable Specification</b></em>' reference list feature.
+ * The meta object literal for the '<em><b>Base Connector</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- EReference CONTEXT__TRACEABLE_SPECIFICATION = eINSTANCE.getContext_TraceableSpecification();
+ EReference EA_CONNECTOR__BASE_CONNECTOR = eINSTANCE.getEAConnector_Base_Connector();
/**
- * The meta object literal for the '<em><b>Owned Relationship</b></em>' reference list feature.
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAPrototypeImpl <em>EA Prototype</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAPrototypeImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl#getEAPrototype()
* @generated
*/
- EReference CONTEXT__OWNED_RELATIONSHIP = eINSTANCE.getContext_OwnedRelationship();
+ EClass EA_PROTOTYPE = eINSTANCE.getEAPrototype();
/**
- * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.RealizationImpl <em>Realization</em>}'
- * class.
+ * The meta object literal for the '<em><b>Base Property</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.RealizationImpl
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl#getRealization()
* @generated
*/
- EClass REALIZATION = eINSTANCE.getRealization();
+ EReference EA_PROTOTYPE__BASE_PROPERTY = eINSTANCE.getEAPrototype_Base_Property();
/**
- * The meta object literal for the '<em><b>Realized</b></em>' reference list feature.
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.TraceableSpecificationImpl <em>Traceable Specification</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.TraceableSpecificationImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl#getTraceableSpecification()
* @generated
*/
- EReference REALIZATION__REALIZED = eINSTANCE.getRealization_Realized();
+ EClass TRACEABLE_SPECIFICATION = eINSTANCE.getTraceableSpecification();
/**
- * The meta object literal for the '<em><b>Realized By</b></em>' reference list feature.
+ * The meta object literal for the '<em><b>Note</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- EReference REALIZATION__REALIZED_BY = eINSTANCE.getRealization_RealizedBy();
+ EAttribute TRACEABLE_SPECIFICATION__NOTE = eINSTANCE.getTraceableSpecification_Note();
/**
- * The meta object literal for the '<em><b>Base Realization</b></em>' reference feature.
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAPackageableElementImpl <em>EA Packageable Element</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAPackageableElementImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl#getEAPackageableElement()
* @generated
*/
- EReference REALIZATION__BASE_REALIZATION = eINSTANCE.getRealization_Base_Realization();
+ EClass EA_PACKAGEABLE_ELEMENT = eINSTANCE.getEAPackageableElement();
/**
- * The meta object literal for the '<em><b>Realized By path</b></em>' reference list feature.
+ * The meta object literal for the '<em><b>Base Packageable Element</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- EReference REALIZATION__REALIZED_BY_PATH = eINSTANCE.getRealization_RealizedBy_path();
+ EReference EA_PACKAGEABLE_ELEMENT__BASE_PACKAGEABLE_ELEMENT = eINSTANCE.getEAPackageableElement_Base_PackageableElement();
/**
- * The meta object literal for the '<em><b>Realized path</b></em>' reference list feature.
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ContextImpl <em>Context</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ContextImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl#getContext()
* @generated
*/
- EReference REALIZATION__REALIZED_PATH = eINSTANCE.getRealization_Realized_path();
+ EClass CONTEXT = eINSTANCE.getContext();
/**
- * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.MultiLevelReferenceImpl
- * <em>Multi Level Reference</em>}' class.
+ * The meta object literal for the '<em><b>Traceable Specification</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.MultiLevelReferenceImpl
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl#getMultiLevelReference()
* @generated
*/
- EClass MULTI_LEVEL_REFERENCE = eINSTANCE.getMultiLevelReference();
+ EReference CONTEXT__TRACEABLE_SPECIFICATION = eINSTANCE.getContext_TraceableSpecification();
/**
- * The meta object literal for the '<em><b>Base Dependency</b></em>' reference feature.
+ * The meta object literal for the '<em><b>Owned Relationship</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- EReference MULTI_LEVEL_REFERENCE__BASE_DEPENDENCY = eINSTANCE.getMultiLevelReference_Base_Dependency();
+ EReference CONTEXT__OWNED_RELATIONSHIP = eINSTANCE.getContext_OwnedRelationship();
/**
- * The meta object literal for the '<em><b>Referring</b></em>' reference feature.
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.RealizationImpl <em>Realization</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.RealizationImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl#getRealization()
* @generated
*/
- EReference MULTI_LEVEL_REFERENCE__REFERRING = eINSTANCE.getMultiLevelReference_Referring();
+ EClass REALIZATION = eINSTANCE.getRealization();
/**
- * The meta object literal for the '<em><b>Reference</b></em>' reference feature.
+ * The meta object literal for the '<em><b>Realized</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- EReference MULTI_LEVEL_REFERENCE__REFERENCE = eINSTANCE.getMultiLevelReference_Reference();
+ EReference REALIZATION__REALIZED = eINSTANCE.getRealization_Realized();
+
+ /**
+ * The meta object literal for the '<em><b>Realized By</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference REALIZATION__REALIZED_BY = eINSTANCE.getRealization_RealizedBy();
+
+ /**
+ * The meta object literal for the '<em><b>Base Realization</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference REALIZATION__BASE_REALIZATION = eINSTANCE.getRealization_Base_Realization();
/**
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.RationaleImpl <em>Rationale</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.RationaleImpl
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl#getRationale()
* @generated
@@ -257,10 +246,17 @@ public interface ElementsPackage extends EPackage {
EClass RATIONALE = eINSTANCE.getRationale();
/**
+ * The meta object literal for the '<em><b>Base Comment</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference RATIONALE__BASE_COMMENT = eINSTANCE.getRationale_Base_Comment();
+
+ /**
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAPackageImpl <em>EA Package</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAPackageImpl
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl#getEAPackage()
* @generated
@@ -268,19 +264,17 @@ public interface ElementsPackage extends EPackage {
EClass EA_PACKAGE = eINSTANCE.getEAPackage();
/**
- * The meta object literal for the '<em><b>Sub Packages</b></em>' containment reference list feature.
+ * The meta object literal for the '<em><b>Sub Package</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- EReference EA_PACKAGE__SUB_PACKAGES = eINSTANCE.getEAPackage_SubPackages();
+ EReference EA_PACKAGE__SUB_PACKAGE = eINSTANCE.getEAPackage_SubPackage();
/**
- * The meta object literal for the '<em><b>Element</b></em>' containment reference list feature.
+ * The meta object literal for the '<em><b>Element</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
EReference EA_PACKAGE__ELEMENT = eINSTANCE.getEAPackage_Element();
@@ -289,45 +283,56 @@ public interface ElementsPackage extends EPackage {
* The meta object literal for the '<em><b>Base Package</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
EReference EA_PACKAGE__BASE_PACKAGE = eINSTANCE.getEAPackage_Base_Package();
/**
- * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.CommentImpl <em>Comment</em>}' class.
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAXMLImpl <em>EAXML</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.CommentImpl
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl#getComment()
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAXMLImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl#getEAXML()
* @generated
*/
- EClass COMMENT = eINSTANCE.getComment();
+ EClass EAXML = eINSTANCE.getEAXML();
/**
- * The meta object literal for the '<em><b>Body</b></em>' attribute feature.
+ * The meta object literal for the '<em><b>Admindocument Version</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- EAttribute COMMENT__BODY = eINSTANCE.getComment_Body();
+ EAttribute EAXML__ADMINDOCUMENT_VERSION = eINSTANCE.getEAXML_AdmindocumentVersion();
/**
- * The meta object literal for the '<em><b>Base Comment</b></em>' reference feature.
+ * The meta object literal for the '<em><b>Autosardocument Version</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- EReference COMMENT__BASE_COMMENT = eINSTANCE.getComment_Base_Comment();
+ EAttribute EAXML__AUTOSARDOCUMENT_VERSION = eINSTANCE.getEAXML_AutosardocumentVersion();
+
+ /**
+ * The meta object literal for the '<em><b>Xmlglobalelement</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute EAXML__XMLGLOBALELEMENT = eINSTANCE.getEAXML_Xmlglobalelement();
+
+ /**
+ * The meta object literal for the '<em><b>Top Level Package</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference EAXML__TOP_LEVEL_PACKAGE = eINSTANCE.getEAXML_TopLevelPackage();
/**
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAElementImpl <em>EA Element</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAElementImpl
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl#getEAElement()
* @generated
@@ -335,31 +340,28 @@ public interface ElementsPackage extends EPackage {
EClass EA_ELEMENT = eINSTANCE.getEAElement();
/**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * The meta object literal for the '<em><b>Base Named Element</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- EAttribute EA_ELEMENT__NAME = eINSTANCE.getEAElement_Name();
+ EReference EA_ELEMENT__BASE_NAMED_ELEMENT = eINSTANCE.getEAElement_Base_NamedElement();
/**
- * The meta object literal for the '<em><b>Owned Comment</b></em>' reference list feature.
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- EReference EA_ELEMENT__OWNED_COMMENT = eINSTANCE.getEAElement_OwnedComment();
+ EAttribute EA_ELEMENT__NAME = eINSTANCE.getEAElement_Name();
/**
- * The meta object literal for the '<em><b>Base Named Element</b></em>' reference feature.
+ * The meta object literal for the '<em><b>Owned Comment</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- EReference EA_ELEMENT__BASE_NAMED_ELEMENT = eINSTANCE.getEAElement_Base_NamedElement();
+ EReference EA_ELEMENT__OWNED_COMMENT = eINSTANCE.getEAElement_OwnedComment();
}
@@ -367,7 +369,6 @@ public interface ElementsPackage extends EPackage {
* The package name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
String eNAME = "elements";
@@ -376,7 +377,6 @@ public interface ElementsPackage extends EPackage {
* The package namespace URI.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
String eNS_URI = "http://www.papyrusuml.org/EAST-ADL2/Infrastructure/Elements/1";
@@ -385,7 +385,6 @@ public interface ElementsPackage extends EPackage {
* The package namespace name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
String eNS_PREFIX = "Elements";
@@ -394,7 +393,6 @@ public interface ElementsPackage extends EPackage {
* The singleton instance of the package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
ElementsPackage eINSTANCE = org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl.init();
@@ -403,38 +401,34 @@ public interface ElementsPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAElementImpl <em>EA Element</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAElementImpl
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl#getEAElement()
* @generated
*/
- int EA_ELEMENT = 9;
+ int EA_ELEMENT = 12;
/**
- * The feature id for the '<em><b>Name</b></em>' attribute.
+ * The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int EA_ELEMENT__NAME = 0;
+ int EA_ELEMENT__BASE_NAMED_ELEMENT = 0;
/**
- * The feature id for the '<em><b>Base Named Element</b></em>' reference.
+ * The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int EA_ELEMENT__BASE_NAMED_ELEMENT = 1;
+ int EA_ELEMENT__NAME = 1;
/**
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -444,18 +438,24 @@ public interface ElementsPackage extends EPackage {
* The number of structural features of the '<em>EA Element</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int EA_ELEMENT_FEATURE_COUNT = 3;
/**
- * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAPackageableElementImpl
- * <em>EA Packageable Element</em>}' class.
+ * The number of operations of the '<em>EA Element</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_ELEMENT_OPERATION_COUNT = 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAPackageableElementImpl <em>EA Packageable Element</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAPackageableElementImpl
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl#getEAPackageableElement()
* @generated
@@ -463,30 +463,27 @@ public interface ElementsPackage extends EPackage {
int EA_PACKAGEABLE_ELEMENT = 1;
/**
- * The feature id for the '<em><b>Name</b></em>' attribute.
+ * The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int EA_PACKAGEABLE_ELEMENT__NAME = EA_ELEMENT__NAME;
+ int EA_PACKAGEABLE_ELEMENT__BASE_NAMED_ELEMENT = EA_ELEMENT__BASE_NAMED_ELEMENT;
/**
- * The feature id for the '<em><b>Base Named Element</b></em>' reference.
+ * The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int EA_PACKAGEABLE_ELEMENT__BASE_NAMED_ELEMENT = EA_ELEMENT__BASE_NAMED_ELEMENT;
+ int EA_PACKAGEABLE_ELEMENT__NAME = EA_ELEMENT__NAME;
/**
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -496,7 +493,6 @@ public interface ElementsPackage extends EPackage {
* The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -506,17 +502,24 @@ public interface ElementsPackage extends EPackage {
* The number of structural features of the '<em>EA Packageable Element</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int EA_PACKAGEABLE_ELEMENT_FEATURE_COUNT = EA_ELEMENT_FEATURE_COUNT + 1;
/**
+ * The number of operations of the '<em>EA Packageable Element</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_PACKAGEABLE_ELEMENT_OPERATION_COUNT = EA_ELEMENT_OPERATION_COUNT + 0;
+
+ /**
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.RelationshipImpl <em>Relationship</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.RelationshipImpl
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl#getRelationship()
* @generated
@@ -524,11 +527,9 @@ public interface ElementsPackage extends EPackage {
int RELATIONSHIP = 3;
/**
- * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.TraceableSpecificationImpl
- * <em>Traceable Specification</em>}' class.
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.TraceableSpecificationImpl <em>Traceable Specification</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.TraceableSpecificationImpl
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl#getTraceableSpecification()
* @generated
@@ -536,30 +537,27 @@ public interface ElementsPackage extends EPackage {
int TRACEABLE_SPECIFICATION = 0;
/**
- * The feature id for the '<em><b>Name</b></em>' attribute.
+ * The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int TRACEABLE_SPECIFICATION__NAME = EA_PACKAGEABLE_ELEMENT__NAME;
+ int TRACEABLE_SPECIFICATION__BASE_NAMED_ELEMENT = EA_PACKAGEABLE_ELEMENT__BASE_NAMED_ELEMENT;
/**
- * The feature id for the '<em><b>Base Named Element</b></em>' reference.
+ * The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int TRACEABLE_SPECIFICATION__BASE_NAMED_ELEMENT = EA_PACKAGEABLE_ELEMENT__BASE_NAMED_ELEMENT;
+ int TRACEABLE_SPECIFICATION__NAME = EA_PACKAGEABLE_ELEMENT__NAME;
/**
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -569,7 +567,6 @@ public interface ElementsPackage extends EPackage {
* The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -579,7 +576,6 @@ public interface ElementsPackage extends EPackage {
* The feature id for the '<em><b>Note</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -589,393 +585,474 @@ public interface ElementsPackage extends EPackage {
* The number of structural features of the '<em>Traceable Specification</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int TRACEABLE_SPECIFICATION_FEATURE_COUNT = EA_PACKAGEABLE_ELEMENT_FEATURE_COUNT + 1;
/**
- * The feature id for the '<em><b>Name</b></em>' attribute.
+ * The number of operations of the '<em>Traceable Specification</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int RELATIONSHIP__NAME = EA_ELEMENT__NAME;
+ int TRACEABLE_SPECIFICATION_OPERATION_COUNT = EA_PACKAGEABLE_ELEMENT_OPERATION_COUNT + 0;
/**
- * The feature id for the '<em><b>Base Named Element</b></em>' reference.
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EATypeImpl <em>EA Type</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EATypeImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl#getEAType()
* @generated
- * @ordered
*/
- int RELATIONSHIP__BASE_NAMED_ELEMENT = EA_ELEMENT__BASE_NAMED_ELEMENT;
+ int EA_TYPE = 4;
/**
- * The feature id for the '<em><b>Owned Comment</b></em>' reference list.
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAPortImpl <em>EA Port</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAPortImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl#getEAPort()
* @generated
- * @ordered
*/
- int RELATIONSHIP__OWNED_COMMENT = EA_ELEMENT__OWNED_COMMENT;
+ int EA_PORT = 5;
/**
- * The number of structural features of the '<em>Relationship</em>' class.
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAConnectorImpl <em>EA Connector</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAConnectorImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl#getEAConnector()
* @generated
- * @ordered
*/
- int RELATIONSHIP_FEATURE_COUNT = EA_ELEMENT_FEATURE_COUNT + 0;
+ int EA_CONNECTOR = 6;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAPrototypeImpl <em>EA Prototype</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAPrototypeImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl#getEAPrototype()
+ * @generated
+ */
+ int EA_PROTOTYPE = 7;
/**
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ContextImpl <em>Context</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ContextImpl
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl#getContext()
* @generated
*/
- int CONTEXT = 4;
+ int CONTEXT = 2;
/**
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.RealizationImpl <em>Realization</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.RealizationImpl
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl#getRealization()
* @generated
*/
- int REALIZATION = 2;
+ int REALIZATION = 8;
+
+ /**
+ * The feature id for the '<em><b>Base Named Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONTEXT__BASE_NAMED_ELEMENT = EA_PACKAGEABLE_ELEMENT__BASE_NAMED_ELEMENT;
/**
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int REALIZATION__NAME = RELATIONSHIP__NAME;
+ int CONTEXT__NAME = EA_PACKAGEABLE_ELEMENT__NAME;
+
+ /**
+ * The feature id for the '<em><b>Owned Comment</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONTEXT__OWNED_COMMENT = EA_PACKAGEABLE_ELEMENT__OWNED_COMMENT;
+
+ /**
+ * The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONTEXT__BASE_PACKAGEABLE_ELEMENT = EA_PACKAGEABLE_ELEMENT__BASE_PACKAGEABLE_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Traceable Specification</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONTEXT__TRACEABLE_SPECIFICATION = EA_PACKAGEABLE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Owned Relationship</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONTEXT__OWNED_RELATIONSHIP = EA_PACKAGEABLE_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Context</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONTEXT_FEATURE_COUNT = EA_PACKAGEABLE_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The number of operations of the '<em>Context</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONTEXT_OPERATION_COUNT = EA_PACKAGEABLE_ELEMENT_OPERATION_COUNT + 0;
/**
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int REALIZATION__BASE_NAMED_ELEMENT = RELATIONSHIP__BASE_NAMED_ELEMENT;
+ int RELATIONSHIP__BASE_NAMED_ELEMENT = EA_ELEMENT__BASE_NAMED_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RELATIONSHIP__NAME = EA_ELEMENT__NAME;
/**
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int REALIZATION__OWNED_COMMENT = RELATIONSHIP__OWNED_COMMENT;
+ int RELATIONSHIP__OWNED_COMMENT = EA_ELEMENT__OWNED_COMMENT;
/**
- * The feature id for the '<em><b>Realized</b></em>' reference list.
+ * The number of structural features of the '<em>Relationship</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int REALIZATION__REALIZED = RELATIONSHIP_FEATURE_COUNT + 0;
+ int RELATIONSHIP_FEATURE_COUNT = EA_ELEMENT_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Realized By</b></em>' reference list.
+ * The number of operations of the '<em>Relationship</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int REALIZATION__REALIZED_BY = RELATIONSHIP_FEATURE_COUNT + 1;
+ int RELATIONSHIP_OPERATION_COUNT = EA_ELEMENT_OPERATION_COUNT + 0;
/**
- * The feature id for the '<em><b>Base Realization</b></em>' reference.
+ * The feature id for the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int REALIZATION__BASE_REALIZATION = RELATIONSHIP_FEATURE_COUNT + 2;
+ int EA_TYPE__BASE_CLASS = 0;
/**
- * The feature id for the '<em><b>Realized By path</b></em>' reference list.
+ * The number of structural features of the '<em>EA Type</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int REALIZATION__REALIZED_BY_PATH = RELATIONSHIP_FEATURE_COUNT + 3;
+ int EA_TYPE_FEATURE_COUNT = 1;
/**
- * The feature id for the '<em><b>Realized path</b></em>' reference list.
+ * The number of operations of the '<em>EA Type</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int REALIZATION__REALIZED_PATH = RELATIONSHIP_FEATURE_COUNT + 4;
+ int EA_TYPE_OPERATION_COUNT = 0;
/**
- * The number of structural features of the '<em>Realization</em>' class.
+ * The feature id for the '<em><b>Base Port</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int REALIZATION_FEATURE_COUNT = RELATIONSHIP_FEATURE_COUNT + 5;
+ int EA_PORT__BASE_PORT = 0;
/**
- * The feature id for the '<em><b>Name</b></em>' attribute.
+ * The number of structural features of the '<em>EA Port</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int CONTEXT__NAME = EA_ELEMENT__NAME;
+ int EA_PORT_FEATURE_COUNT = 1;
/**
- * The feature id for the '<em><b>Base Named Element</b></em>' reference.
+ * The number of operations of the '<em>EA Port</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int CONTEXT__BASE_NAMED_ELEMENT = EA_ELEMENT__BASE_NAMED_ELEMENT;
+ int EA_PORT_OPERATION_COUNT = 0;
/**
- * The feature id for the '<em><b>Owned Comment</b></em>' reference list.
+ * The feature id for the '<em><b>Base Connector</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int CONTEXT__OWNED_COMMENT = EA_ELEMENT__OWNED_COMMENT;
+ int EA_CONNECTOR__BASE_CONNECTOR = 0;
/**
- * The feature id for the '<em><b>Traceable Specification</b></em>' reference list.
+ * The number of structural features of the '<em>EA Connector</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int CONTEXT__TRACEABLE_SPECIFICATION = EA_ELEMENT_FEATURE_COUNT + 0;
+ int EA_CONNECTOR_FEATURE_COUNT = 1;
/**
- * The feature id for the '<em><b>Owned Relationship</b></em>' reference list.
+ * The number of operations of the '<em>EA Connector</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int CONTEXT__OWNED_RELATIONSHIP = EA_ELEMENT_FEATURE_COUNT + 1;
+ int EA_CONNECTOR_OPERATION_COUNT = 0;
/**
- * The number of structural features of the '<em>Context</em>' class.
+ * The feature id for the '<em><b>Base Property</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int CONTEXT_FEATURE_COUNT = EA_ELEMENT_FEATURE_COUNT + 2;
+ int EA_PROTOTYPE__BASE_PROPERTY = 0;
/**
- * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.MultiLevelReferenceImpl
- * <em>Multi Level Reference</em>}' class.
+ * The number of structural features of the '<em>EA Prototype</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.MultiLevelReferenceImpl
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl#getMultiLevelReference()
* @generated
+ * @ordered
*/
- int MULTI_LEVEL_REFERENCE = 5;
+ int EA_PROTOTYPE_FEATURE_COUNT = 1;
/**
- * The feature id for the '<em><b>Name</b></em>' attribute.
+ * The number of operations of the '<em>EA Prototype</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int MULTI_LEVEL_REFERENCE__NAME = RELATIONSHIP__NAME;
+ int EA_PROTOTYPE_OPERATION_COUNT = 0;
/**
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int MULTI_LEVEL_REFERENCE__BASE_NAMED_ELEMENT = RELATIONSHIP__BASE_NAMED_ELEMENT;
+ int REALIZATION__BASE_NAMED_ELEMENT = RELATIONSHIP__BASE_NAMED_ELEMENT;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int REALIZATION__NAME = RELATIONSHIP__NAME;
/**
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int MULTI_LEVEL_REFERENCE__OWNED_COMMENT = RELATIONSHIP__OWNED_COMMENT;
+ int REALIZATION__OWNED_COMMENT = RELATIONSHIP__OWNED_COMMENT;
/**
- * The feature id for the '<em><b>Base Dependency</b></em>' reference.
+ * The feature id for the '<em><b>Base Realization</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int MULTI_LEVEL_REFERENCE__BASE_DEPENDENCY = RELATIONSHIP_FEATURE_COUNT + 0;
+ int REALIZATION__BASE_REALIZATION = RELATIONSHIP_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Referring</b></em>' reference.
+ * The feature id for the '<em><b>Realized</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int MULTI_LEVEL_REFERENCE__REFERRING = RELATIONSHIP_FEATURE_COUNT + 1;
+ int REALIZATION__REALIZED = RELATIONSHIP_FEATURE_COUNT + 1;
/**
- * The feature id for the '<em><b>Reference</b></em>' reference.
+ * The feature id for the '<em><b>Realized By</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int MULTI_LEVEL_REFERENCE__REFERENCE = RELATIONSHIP_FEATURE_COUNT + 2;
+ int REALIZATION__REALIZED_BY = RELATIONSHIP_FEATURE_COUNT + 2;
/**
- * The number of structural features of the '<em>Multi Level Reference</em>' class.
+ * The number of structural features of the '<em>Realization</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int MULTI_LEVEL_REFERENCE_FEATURE_COUNT = RELATIONSHIP_FEATURE_COUNT + 3;
+ int REALIZATION_FEATURE_COUNT = RELATIONSHIP_FEATURE_COUNT + 3;
+
+ /**
+ * The number of operations of the '<em>Realization</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int REALIZATION_OPERATION_COUNT = RELATIONSHIP_OPERATION_COUNT + 0;
/**
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.RationaleImpl <em>Rationale</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.RationaleImpl
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl#getRationale()
* @generated
*/
- int RATIONALE = 6;
+ int RATIONALE = 9;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAPackageImpl <em>EA Package</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAPackageImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl#getEAPackage()
+ * @generated
+ */
+ int EA_PACKAGE = 10;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAXMLImpl <em>EAXML</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAXMLImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl#getEAXML()
+ * @generated
+ */
+ int EAXML = 11;
/**
* The feature id for the '<em><b>Base Comment</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int RATIONALE__BASE_COMMENT = ModelelementsPackage.RATIONALE__BASE_COMMENT;
+ int RATIONALE__BASE_COMMENT = 0;
/**
* The number of structural features of the '<em>Rationale</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int RATIONALE_FEATURE_COUNT = ModelelementsPackage.RATIONALE_FEATURE_COUNT + 0;
+ int RATIONALE_FEATURE_COUNT = 1;
/**
- * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAPackageImpl <em>EA Package</em>}' class.
+ * The number of operations of the '<em>Rationale</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAPackageImpl
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl#getEAPackage()
* @generated
+ * @ordered
*/
- int EA_PACKAGE = 7;
+ int RATIONALE_OPERATION_COUNT = 0;
/**
- * The feature id for the '<em><b>Name</b></em>' attribute.
+ * The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int EA_PACKAGE__NAME = EA_ELEMENT__NAME;
+ int EA_PACKAGE__BASE_NAMED_ELEMENT = EA_ELEMENT__BASE_NAMED_ELEMENT;
/**
- * The feature id for the '<em><b>Base Named Element</b></em>' reference.
+ * The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int EA_PACKAGE__BASE_NAMED_ELEMENT = EA_ELEMENT__BASE_NAMED_ELEMENT;
+ int EA_PACKAGE__NAME = EA_ELEMENT__NAME;
/**
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int EA_PACKAGE__OWNED_COMMENT = EA_ELEMENT__OWNED_COMMENT;
/**
- * The feature id for the '<em><b>Sub Packages</b></em>' containment reference list.
+ * The feature id for the '<em><b>Sub Package</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int EA_PACKAGE__SUB_PACKAGES = EA_ELEMENT_FEATURE_COUNT + 0;
+ int EA_PACKAGE__SUB_PACKAGE = EA_ELEMENT_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Element</b></em>' containment reference list.
+ * The feature id for the '<em><b>Element</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -985,7 +1062,6 @@ public interface ElementsPackage extends EPackage {
* The feature id for the '<em><b>Base Package</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -995,143 +1071,119 @@ public interface ElementsPackage extends EPackage {
* The number of structural features of the '<em>EA Package</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int EA_PACKAGE_FEATURE_COUNT = EA_ELEMENT_FEATURE_COUNT + 3;
/**
- * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.CommentImpl <em>Comment</em>}' class.
+ * The number of operations of the '<em>EA Package</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.CommentImpl
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl#getComment()
* @generated
+ * @ordered
*/
- int COMMENT = 8;
+ int EA_PACKAGE_OPERATION_COUNT = EA_ELEMENT_OPERATION_COUNT + 0;
/**
- * The feature id for the '<em><b>Body</b></em>' attribute.
+ * The feature id for the '<em><b>Admindocument Version</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int COMMENT__BODY = 0;
+ int EAXML__ADMINDOCUMENT_VERSION = 0;
/**
- * The feature id for the '<em><b>Base Comment</b></em>' reference.
+ * The feature id for the '<em><b>Autosardocument Version</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int COMMENT__BASE_COMMENT = 1;
+ int EAXML__AUTOSARDOCUMENT_VERSION = 1;
/**
- * The number of structural features of the '<em>Comment</em>' class.
+ * The feature id for the '<em><b>Xmlglobalelement</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int COMMENT_FEATURE_COUNT = 2;
+ int EAXML__XMLGLOBALELEMENT = 2;
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Context <em>Context</em>}'.
+ * The feature id for the '<em><b>Top Level Package</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Context</em>'.
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.Context
* @generated
+ * @ordered
*/
- EClass getContext();
+ int EAXML__TOP_LEVEL_PACKAGE = 3;
/**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Context#getOwnedRelationship
- * <em>Owned Relationship</em>}'.
+ * The number of structural features of the '<em>EAXML</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for the reference list '<em>Owned Relationship</em>'.
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.Context#getOwnedRelationship()
- * @see #getContext()
* @generated
+ * @ordered
*/
- EReference getContext_OwnedRelationship();
+ int EAXML_FEATURE_COUNT = 4;
/**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Context#getTraceableSpecification
- * <em>Traceable Specification</em>}'.
+ * The number of operations of the '<em>EAXML</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for the reference list '<em>Traceable Specification</em>'.
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.Context#getTraceableSpecification()
- * @see #getContext()
* @generated
+ * @ordered
*/
- EReference getContext_TraceableSpecification();
+ int EAXML_OPERATION_COUNT = 0;
/**
- * Returns the factory that creates the instances of the model.
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Context <em>Context</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the factory that creates the instances of the model.
+ * @return the meta object for class '<em>Context</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.Context
* @generated
*/
- ElementsFactory getElementsFactory();
+ EClass getContext();
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.MultiLevelReference
- * <em>Multi Level Reference</em>}'.
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Context#getOwnedRelationship <em>Owned Relationship</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Multi Level Reference</em>'.
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.MultiLevelReference
+ * @return the meta object for the reference list '<em>Owned Relationship</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.Context#getOwnedRelationship()
+ * @see #getContext()
* @generated
*/
- EClass getMultiLevelReference();
+ EReference getContext_OwnedRelationship();
/**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.MultiLevelReference#getBase_Dependency
- * <em>Base Dependency</em>}'.
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Context#getTraceableSpecification <em>Traceable Specification</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for the reference '<em>Base Dependency</em>'.
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.MultiLevelReference#getBase_Dependency()
- * @see #getMultiLevelReference()
+ * @return the meta object for the reference list '<em>Traceable Specification</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.Context#getTraceableSpecification()
+ * @see #getContext()
* @generated
*/
- EReference getMultiLevelReference_Base_Dependency();
+ EReference getContext_TraceableSpecification();
/**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.MultiLevelReference#getReference
- * <em>Reference</em>}'.
+ * Returns the factory that creates the instances of the model.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for the reference '<em>Reference</em>'.
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.MultiLevelReference#getReference()
- * @see #getMultiLevelReference()
+ * @return the factory that creates the instances of the model.
* @generated
*/
- EReference getMultiLevelReference_Reference();
+ ElementsFactory getElementsFactory();
/**
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Rationale <em>Rationale</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for class '<em>Rationale</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.Rationale
* @generated
@@ -1139,10 +1191,20 @@ public interface ElementsPackage extends EPackage {
EClass getRationale();
/**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Rationale#getBase_Comment <em>Base Comment</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Base Comment</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.Rationale#getBase_Comment()
+ * @see #getRationale()
+ * @generated
+ */
+ EReference getRationale_Base_Comment();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackage <em>EA Package</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for class '<em>EA Package</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackage
* @generated
@@ -1150,25 +1212,21 @@ public interface ElementsPackage extends EPackage {
EClass getEAPackage();
/**
- * Returns the meta object for the containment reference list '
- * {@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackage#getSubPackages <em>Sub Packages</em>}'.
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackage#getSubPackage <em>Sub Package</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '<em>Sub Packages</em>'.
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackage#getSubPackages()
+ * @return the meta object for the reference list '<em>Sub Package</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackage#getSubPackage()
* @see #getEAPackage()
* @generated
*/
- EReference getEAPackage_SubPackages();
+ EReference getEAPackage_SubPackage();
/**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackage#getElement
- * <em>Element</em>}'.
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackage#getElement <em>Element</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '<em>Element</em>'.
+ * @return the meta object for the reference list '<em>Element</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackage#getElement()
* @see #getEAPackage()
* @generated
@@ -1176,11 +1234,9 @@ public interface ElementsPackage extends EPackage {
EReference getEAPackage_Element();
/**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackage#getBase_Package
- * <em>Base Package</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackage#getBase_Package <em>Base Package</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the reference '<em>Base Package</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackage#getBase_Package()
* @see #getEAPackage()
@@ -1189,70 +1245,73 @@ public interface ElementsPackage extends EPackage {
EReference getEAPackage_Base_Package();
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Comment <em>Comment</em>}'.
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAXML <em>EAXML</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Comment</em>'.
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.Comment
+ * @return the meta object for class '<em>EAXML</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.EAXML
* @generated
*/
- EClass getComment();
+ EClass getEAXML();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Comment#getBody <em>Body</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAXML#getAdmindocumentVersion <em>Admindocument Version</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Body</em>'.
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.Comment#getBody()
- * @see #getComment()
+ * @return the meta object for the attribute '<em>Admindocument Version</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.EAXML#getAdmindocumentVersion()
+ * @see #getEAXML()
* @generated
*/
- EAttribute getComment_Body();
+ EAttribute getEAXML_AdmindocumentVersion();
/**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Comment#getBase_Comment
- * <em>Base Comment</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAXML#getAutosardocumentVersion <em>Autosardocument Version</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for the reference '<em>Base Comment</em>'.
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.Comment#getBase_Comment()
- * @see #getComment()
+ * @return the meta object for the attribute '<em>Autosardocument Version</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.EAXML#getAutosardocumentVersion()
+ * @see #getEAXML()
* @generated
*/
- EReference getComment_Base_Comment();
+ EAttribute getEAXML_AutosardocumentVersion();
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement <em>EA Element</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAXML#isXmlglobalelement <em>Xmlglobalelement</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>EA Element</em>'.
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement
+ * @return the meta object for the attribute '<em>Xmlglobalelement</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.EAXML#isXmlglobalelement()
+ * @see #getEAXML()
* @generated
*/
- EClass getEAElement();
+ EAttribute getEAXML_Xmlglobalelement();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement#getName <em>Name</em>}'.
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAXML#getTopLevelPackage <em>Top Level Package</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement#getName()
- * @see #getEAElement()
+ * @return the meta object for the reference list '<em>Top Level Package</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.EAXML#getTopLevelPackage()
+ * @see #getEAXML()
* @generated
*/
- EAttribute getEAElement_Name();
+ EReference getEAXML_TopLevelPackage();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement <em>EA Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EA Element</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement
+ * @generated
+ */
+ EClass getEAElement();
/**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement#getBase_NamedElement
- * <em>Base Named Element</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement#getBase_NamedElement <em>Base Named Element</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the reference '<em>Base Named Element</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement#getBase_NamedElement()
* @see #getEAElement()
@@ -1261,36 +1320,31 @@ public interface ElementsPackage extends EPackage {
EReference getEAElement_Base_NamedElement();
/**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement#getOwnedComment
- * <em>Owned Comment</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement#getName <em>Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for the reference list '<em>Owned Comment</em>'.
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement#getOwnedComment()
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement#getName()
* @see #getEAElement()
* @generated
*/
- EReference getEAElement_OwnedComment();
+ EAttribute getEAElement_Name();
/**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.MultiLevelReference#getReferring
- * <em>Referring</em>}'.
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement#getOwnedComment <em>Owned Comment</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for the reference '<em>Referring</em>'.
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.MultiLevelReference#getReferring()
- * @see #getMultiLevelReference()
+ * @return the meta object for the reference list '<em>Owned Comment</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement#getOwnedComment()
+ * @see #getEAElement()
* @generated
*/
- EReference getMultiLevelReference_Referring();
+ EReference getEAElement_OwnedComment();
/**
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Realization <em>Realization</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for class '<em>Realization</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.Realization
* @generated
@@ -1298,12 +1352,10 @@ public interface ElementsPackage extends EPackage {
EClass getRealization();
/**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Realization#getRealized
- * <em>Realized</em>}'.
+ * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Realization#getRealized <em>Realized</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for the reference list '<em>Realized</em>'.
+ * @return the meta object for the containment reference list '<em>Realized</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.Realization#getRealized()
* @see #getRealization()
* @generated
@@ -1311,12 +1363,10 @@ public interface ElementsPackage extends EPackage {
EReference getRealization_Realized();
/**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Realization#getRealizedBy
- * <em>Realized By</em>}'.
+ * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Realization#getRealizedBy <em>Realized By</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for the reference list '<em>Realized By</em>'.
+ * @return the meta object for the containment reference list '<em>Realized By</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.Realization#getRealizedBy()
* @see #getRealization()
* @generated
@@ -1324,11 +1374,9 @@ public interface ElementsPackage extends EPackage {
EReference getRealization_RealizedBy();
/**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Realization#getBase_Realization
- * <em>Base Realization</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Realization#getBase_Realization <em>Base Realization</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the reference '<em>Base Realization</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.Realization#getBase_Realization()
* @see #getRealization()
@@ -1337,48 +1385,103 @@ public interface ElementsPackage extends EPackage {
EReference getRealization_Base_Realization();
/**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Realization#getRealizedBy_path
- * <em>Realized By path</em>}'.
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Relationship <em>Relationship</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for the reference list '<em>Realized By path</em>'.
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.Realization#getRealizedBy_path()
- * @see #getRealization()
+ * @return the meta object for class '<em>Relationship</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.Relationship
* @generated
*/
- EReference getRealization_RealizedBy_path();
+ EClass getRelationship();
/**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Realization#getRealized_path
- * <em>Realized path</em>}'.
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAType <em>EA Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for the reference list '<em>Realized path</em>'.
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.Realization#getRealized_path()
- * @see #getRealization()
+ * @return the meta object for class '<em>EA Type</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.EAType
* @generated
*/
- EReference getRealization_Realized_path();
+ EClass getEAType();
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Relationship <em>Relationship</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAType#getBase_Class <em>Base Class</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Relationship</em>'.
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.Relationship
+ * @return the meta object for the reference '<em>Base Class</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.EAType#getBase_Class()
+ * @see #getEAType()
* @generated
*/
- EClass getRelationship();
+ EReference getEAType_Base_Class();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPort <em>EA Port</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EA Port</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.EAPort
+ * @generated
+ */
+ EClass getEAPort();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPort#getBase_Port <em>Base Port</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Base Port</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.EAPort#getBase_Port()
+ * @see #getEAPort()
+ * @generated
+ */
+ EReference getEAPort_Base_Port();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAConnector <em>EA Connector</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EA Connector</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.EAConnector
+ * @generated
+ */
+ EClass getEAConnector();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAConnector#getBase_Connector <em>Base Connector</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Base Connector</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.EAConnector#getBase_Connector()
+ * @see #getEAConnector()
+ * @generated
+ */
+ EReference getEAConnector_Base_Connector();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPrototype <em>EA Prototype</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EA Prototype</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.EAPrototype
+ * @generated
+ */
+ EClass getEAPrototype();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPrototype#getBase_Property <em>Base Property</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Base Property</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.EAPrototype#getBase_Property()
+ * @see #getEAPrototype()
+ * @generated
+ */
+ EReference getEAPrototype_Base_Property();
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.TraceableSpecification
- * <em>Traceable Specification</em>}'.
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.TraceableSpecification <em>Traceable Specification</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for class '<em>Traceable Specification</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.TraceableSpecification
* @generated
@@ -1386,11 +1489,9 @@ public interface ElementsPackage extends EPackage {
EClass getTraceableSpecification();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.TraceableSpecification#getNote
- * <em>Note</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.TraceableSpecification#getNote <em>Note</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the attribute '<em>Note</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.TraceableSpecification#getNote()
* @see #getTraceableSpecification()
@@ -1399,11 +1500,9 @@ public interface ElementsPackage extends EPackage {
EAttribute getTraceableSpecification_Note();
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackageableElement
- * <em>EA Packageable Element</em>}'.
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackageableElement <em>EA Packageable Element</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for class '<em>EA Packageable Element</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackageableElement
* @generated
@@ -1411,11 +1510,9 @@ public interface ElementsPackage extends EPackage {
EClass getEAPackageableElement();
/**
- * Returns the meta object for the reference '
- * {@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackageableElement#getBase_PackageableElement <em>Base Packageable Element</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackageableElement#getBase_PackageableElement <em>Base Packageable Element</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the reference '<em>Base Packageable Element</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackageableElement#getBase_PackageableElement()
* @see #getEAPackageableElement()
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/MultiLevelReference.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/MultiLevelReference.java
deleted file mode 100644
index fac0b61a796..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/MultiLevelReference.java
+++ /dev/null
@@ -1,103 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Sara TUCCI (CEA LIST) sara.tucci@cea.fr - Initial API and implementation
- * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
- * David SERVAT (CEA LIST) david.servat@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.eastadl.infrastructure.elements;
-
-import org.eclipse.uml2.uml.Dependency;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Multi Level Reference</b></em>'.
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * MultiLevelReference gives the possibility to establish reference links (Multi-Level Concept) between model elements.
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.MultiLevelReference#getBase_Dependency <em>Base Dependency</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.MultiLevelReference#getReferring <em>Referring</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.MultiLevelReference#getReference <em>Reference</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getMultiLevelReference()
- * @model
- * @generated
- */
-public interface MultiLevelReference extends Relationship {
-
- /**
- * Returns the value of the '<em><b>Base Dependency</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Base Dependency</em>' reference isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Base Dependency</em>' reference.
- * @see #setBase_Dependency(Dependency)
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getMultiLevelReference_Base_Dependency()
- * @model required="true" ordered="false"
- * @generated
- */
- Dependency getBase_Dependency();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.MultiLevelReference#getBase_Dependency
- * <em>Base Dependency</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Base Dependency</em>' reference.
- * @see #getBase_Dependency()
- * @generated
- */
- void setBase_Dependency(Dependency value);
-
- /**
- * Returns the value of the '<em><b>Reference</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * Referencing the source element of a Multi-Level reference link.
- * <!-- end-model-doc -->
- *
- * @return the value of the '<em>Reference</em>' reference.
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getMultiLevelReference_Reference()
- * @model required="true" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
- * @generated
- */
- EAElement getReference();
-
- /**
- * Returns the value of the '<em><b>Referring</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * Referencing the target element of a Multi-Level reference link.
- * <!-- end-model-doc -->
- *
- * @return the value of the '<em>Referring</em>' reference.
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getMultiLevelReference_Referring()
- * @model required="true" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
- * @generated
- */
- EAElement getReferring();
-
-} // MultiLevelReference
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/Rationale.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/Rationale.java
index 81a6aa06e1b..7e1d414bf2f 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/Rationale.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/Rationale.java
@@ -15,16 +15,51 @@
*****************************************************************************/
package org.eclipse.papyrus.eastadl.infrastructure.elements;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.uml2.uml.Comment;
+
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Rationale</b></em>'.
* <!-- end-user-doc -->
- *
- *
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Rationale#getBase_Comment <em>Base Comment</em>}</li>
+ * </ul>
+ * </p>
+ *
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getRationale()
* @model
* @generated
*/
-public interface Rationale extends org.eclipse.papyrus.sysml.modelelements.Rationale {
+public interface Rationale extends EObject {
+
+ /**
+ * Returns the value of the '<em><b>Base Comment</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Base Comment</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Base Comment</em>' reference.
+ * @see #setBase_Comment(Comment)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getRationale_Base_Comment()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ Comment getBase_Comment();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Rationale#getBase_Comment <em>Base Comment</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Base Comment</em>' reference.
+ * @see #getBase_Comment()
+ * @generated
+ */
+ void setBase_Comment(Comment value);
} // Rationale
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/Realization.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/Realization.java
index ffca3583158..84d6b32897c 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/Realization.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/Realization.java
@@ -16,93 +16,78 @@
package org.eclipse.papyrus.eastadl.infrastructure.elements;
import org.eclipse.emf.common.util.EList;
-import org.eclipse.uml2.uml.NamedElement;
+import org.eclipse.papyrus.eastadl.infrastructure.Realization_realizedByInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.Realization_realizedInstanceRef;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Realization</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <!-- begin-model-doc -->
- * The Realization is a relationship which relates two or more elements across boundaries of the EAST-ADL2 abstraction levels.
+ * The Realization is a relationship which relates two or more elements across boundaries of the EAST-ADL2 abstraction levels.
*
- * It identifies an element that serves as a specification within this realization relationship and on the other side it identifies an element that is
- * supposed to realize this specification on a lower abstraction level or an implementation.
+ * It identifies an element that serves as a specification within this realization relationship and on the other side it identifies an element that is supposed to realize this specification on a lower abstraction level or an implementation.
*
*
* Semantics:
- * The modification of the supplier realized element impact the realizing client entity. The Realization metaclass implies the semantics that the
- * realizing client is not complete, without the supplier.
+ * The modification of the supplier realized element impact the realizing client entity. The Realization metaclass implies the semantics that the realizing client is not complete, without the supplier.
*
* Notation:
- * A Realization relationship is shown as a dashed line with a triangular arrowhead at the end that corresponds to the realized entity. The entity at
- * the tail of the arrow (the realizing EAElement or the realizing ARElement) depends on the entity at the arrowhead (the realized EAElement).
+ * A Realization relationship is shown as a dashed line with a triangular arrowhead at the end that corresponds to the realized entity. The entity at the tail of the arrow (the realizing EAElement or the realizing ARElement) depends on the entity at the arrowhead (the realized EAElement).
*
* Changes:
* Renamed from Realization.
*
* Extension: Realization
* <!-- end-model-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Realization#getRealized <em>Realized</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Realization#getRealizedBy <em>Realized By</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Realization#getBase_Realization <em>Base Realization</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Realization#getRealizedBy_path <em>Realized By path</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Realization#getRealized_path <em>Realized path</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Realization#getBase_Realization <em>Base Realization</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Realization#getRealized <em>Realized</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Realization#getRealizedBy <em>Realized By</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getRealization()
* @model
* @generated
*/
public interface Realization extends Relationship {
-
/**
- * Returns the value of the '<em><b>Realized</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement}.
+ * Returns the value of the '<em><b>Realized</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.eastadl.infrastructure.Realization_realizedInstanceRef}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * The set of ADL entities, which are realized by the set of client ADL entities or realized by the set of client AUTOSAR elements.
- * {derived from UML::DirectedRelationship::target}
- * <!-- end-model-doc -->
- *
- * @return the value of the '<em>Realized</em>' reference list.
+ * @return the value of the '<em>Realized</em>' containment reference list.
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getRealization_Realized()
- * @model required="true" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
+ * @model containment="true" required="true" ordered="false"
* @generated
*/
- EList<EAElement> getRealized();
+ EList<Realization_realizedInstanceRef> getRealized();
/**
- * Returns the value of the '<em><b>Realized By</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.uml2.uml.NamedElement}.
+ * Returns the value of the '<em><b>Realized By</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.eastadl.infrastructure.Realization_realizedByInstanceRef}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * The set of client ADL entities, realizing the set of supplier ADL entities.
- * {derived from UML::Dependency::client}
- * <!-- end-model-doc -->
- *
- * @return the value of the '<em>Realized By</em>' reference list.
+ * @return the value of the '<em>Realized By</em>' containment reference list.
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getRealization_RealizedBy()
- * @model transient="true" changeable="false" volatile="true" derived="true" ordered="false"
+ * @model containment="true" required="true" ordered="false"
* @generated
*/
- EList<NamedElement> getRealizedBy();
+ EList<Realization_realizedByInstanceRef> getRealizedBy();
/**
* Returns the value of the '<em><b>Base Realization</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Realization</em>' reference isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Base Realization</em>' reference isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @return the value of the '<em>Base Realization</em>' reference.
* @see #setBase_Realization(org.eclipse.uml2.uml.Realization)
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getRealization_Base_Realization()
@@ -112,48 +97,13 @@ public interface Realization extends Relationship {
org.eclipse.uml2.uml.Realization getBase_Realization();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Realization#getBase_Realization <em>Base Realization</em>}'
- * reference.
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Realization#getBase_Realization <em>Base Realization</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Base Realization</em>' reference.
+ * @param value the new value of the '<em>Base Realization</em>' reference.
* @see #getBase_Realization()
* @generated
*/
void setBase_Realization(org.eclipse.uml2.uml.Realization value);
- /**
- * Returns the value of the '<em><b>Realized By path</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.uml2.uml.NamedElement}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Realized By path</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>Realized By path</em>' reference list.
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getRealization_RealizedBy_path()
- * @model
- * @generated
- */
- EList<NamedElement> getRealizedBy_path();
-
- /**
- * Returns the value of the '<em><b>Realized path</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.uml2.uml.NamedElement}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Realized path</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>Realized path</em>' reference list.
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getRealization_Realized_path()
- * @model
- * @generated
- */
- EList<NamedElement> getRealized_path();
-
} // Realization
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/Relationship.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/Relationship.java
index 9c206f343a6..dbb7618c09f 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/Relationship.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/Relationship.java
@@ -20,14 +20,12 @@ package org.eclipse.papyrus.eastadl.infrastructure.elements;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Relationship</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <!-- begin-model-doc -->
* The Relationship is an abstract metaclass which represents a relationship between arbitrary elements.
*
* Semantics:
- * In many cases, Contexts such as functions and sensors need to have requirements and other specification elements allocated them. In other cases,
- * the relation between an element and the related specification element is specific for a certain Context: for example a Requirement on a sensor is
- * only applicable in certain hardware architecture. These relationships are modeled by concrete specializations of Relationship.
+ * In many cases, Contexts such as functions and sensors need to have requirements and other specification elements allocated them. In other cases, the relation between an element and the related specification element is specific for a certain Context: for example a Requirement on a sensor is only applicable in certain hardware architecture. These relationships are modeled by concrete specializations of Relationship.
*
* See Context and TraceableSpecification.
*
@@ -35,11 +33,11 @@ package org.eclipse.papyrus.eastadl.infrastructure.elements;
* Changes:
* New class in EAST-ADL2
*
- * Extension:
+ * Extension:
* The Relationship stereotype is abstract
* <!-- end-model-doc -->
- *
- *
+ *
+ *
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getRelationship()
* @model abstract="true"
* @generated
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/TraceableSpecification.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/TraceableSpecification.java
index 4016eafa027..6393c9e7cfa 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/TraceableSpecification.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/TraceableSpecification.java
@@ -20,13 +20,12 @@ package org.eclipse.papyrus.eastadl.infrastructure.elements;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Traceable Specification</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <!-- begin-model-doc -->
- * The TraceableSpecification is an abstract metaclass which is used to allow its specializations to be allocated to a Context.
+ * The TraceableSpecification is an abstract metaclass which is used to allow its specializations to be allocated to a Context.
*
* Semantics:
- * TraceableSpecification is specialized by requirements, test cases and other specifications, that there by can be allocated to a Context, for
- * example to a sensor or to an entire HW architecture.
+ * TraceableSpecification is specialized by requirements, test cases and other specifications, that there by can be allocated to a Context, for example to a sensor or to an entire HW architecture.
*
* See Context and Relationship.
*
@@ -34,31 +33,30 @@ package org.eclipse.papyrus.eastadl.infrastructure.elements;
* Changes:
* New class in EAST-ADL2
*
- * Extension:
+ * Extension:
* TraceableSpecification is a specification stereotype which extends UML2 PackageableElement
* <!-- end-model-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.TraceableSpecification#getNote <em>Note</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.TraceableSpecification#getNote <em>Note</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getTraceableSpecification()
* @model abstract="true"
* @generated
*/
public interface TraceableSpecification extends EAPackageableElement {
-
/**
* Returns the value of the '<em><b>Note</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Note</em>' attribute isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Note</em>' attribute isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @return the value of the '<em>Note</em>' attribute.
* @see #setNote(String)
* @see org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage#getTraceableSpecification_Note()
@@ -71,9 +69,7 @@ public interface TraceableSpecification extends EAPackageableElement {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.TraceableSpecification#getNote <em>Note</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Note</em>' attribute.
+ * @param value the new value of the '<em>Note</em>' attribute.
* @see #getNote()
* @generated
*/
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/CommentImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/CommentImpl.java
deleted file mode 100644
index 1dc3ea38203..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/CommentImpl.java
+++ /dev/null
@@ -1,252 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Sara TUCCI (CEA LIST) sara.tucci@cea.fr - Initial API and implementation
- * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
- * David SERVAT (CEA LIST) david.servat@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.eastadl.infrastructure.elements.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.papyrus.eastadl.infrastructure.elements.Comment;
-import org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Comment</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.CommentImpl#getBody <em>Body</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.CommentImpl#getBase_Comment <em>Base Comment</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class CommentImpl extends EObjectImpl implements Comment {
-
- /**
- * 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 #getBody() <em>Body</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getBody()
- * @generated
- * @ordered
- */
- protected String body = BODY_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getBase_Comment() <em>Base Comment</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getBase_Comment()
- * @generated
- * @ordered
- */
- protected org.eclipse.uml2.uml.Comment base_Comment;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected CommentImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ElementsPackage.Literals.COMMENT;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String getBody() {
- return body;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setBody(String newBody) {
- String oldBody = body;
- body = newBody;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ElementsPackage.COMMENT__BODY, oldBody, body));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public org.eclipse.uml2.uml.Comment getBase_Comment() {
- if(base_Comment != null && base_Comment.eIsProxy()) {
- InternalEObject oldBase_Comment = (InternalEObject)base_Comment;
- base_Comment = (org.eclipse.uml2.uml.Comment)eResolveProxy(oldBase_Comment);
- if(base_Comment != oldBase_Comment) {
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, ElementsPackage.COMMENT__BASE_COMMENT, oldBase_Comment, base_Comment));
- }
- }
- return base_Comment;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public org.eclipse.uml2.uml.Comment basicGetBase_Comment() {
- return base_Comment;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setBase_Comment(org.eclipse.uml2.uml.Comment newBase_Comment) {
- org.eclipse.uml2.uml.Comment oldBase_Comment = base_Comment;
- base_Comment = newBase_Comment;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ElementsPackage.COMMENT__BASE_COMMENT, oldBase_Comment, base_Comment));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case ElementsPackage.COMMENT__BODY:
- return getBody();
- case ElementsPackage.COMMENT__BASE_COMMENT:
- if(resolve)
- return getBase_Comment();
- return basicGetBase_Comment();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case ElementsPackage.COMMENT__BODY:
- setBody((String)newValue);
- return;
- case ElementsPackage.COMMENT__BASE_COMMENT:
- setBase_Comment((org.eclipse.uml2.uml.Comment)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch(featureID) {
- case ElementsPackage.COMMENT__BODY:
- setBody(BODY_EDEFAULT);
- return;
- case ElementsPackage.COMMENT__BASE_COMMENT:
- setBase_Comment((org.eclipse.uml2.uml.Comment)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch(featureID) {
- case ElementsPackage.COMMENT__BODY:
- return BODY_EDEFAULT == null ? body != null : !BODY_EDEFAULT.equals(body);
- case ElementsPackage.COMMENT__BASE_COMMENT:
- return base_Comment != 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(" (body: ");
- result.append(body);
- result.append(')');
- return result.toString();
- }
-
-} //CommentImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/ContextImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/ContextImpl.java
index 584fc6cd435..990f3843395 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/ContextImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/ContextImpl.java
@@ -33,20 +33,18 @@ import org.eclipse.papyrus.eastadl.infrastructure.elements.TraceableSpecificatio
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ContextImpl#getTraceableSpecification <em>Traceable Specification</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ContextImpl#getOwnedRelationship <em>Owned Relationship</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ContextImpl#getTraceableSpecification <em>Traceable Specification</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ContextImpl#getOwnedRelationship <em>Owned Relationship</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
-public abstract class ContextImpl extends EAElementImpl implements Context {
-
+public abstract class ContextImpl extends EAPackageableElementImpl implements Context {
/**
* The cached value of the '{@link #getTraceableSpecification() <em>Traceable Specification</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getTraceableSpecification()
* @generated
* @ordered
@@ -57,7 +55,6 @@ public abstract class ContextImpl extends EAElementImpl implements Context {
* The cached value of the '{@link #getOwnedRelationship() <em>Owned Relationship</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getOwnedRelationship()
* @generated
* @ordered
@@ -67,7 +64,6 @@ public abstract class ContextImpl extends EAElementImpl implements Context {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected ContextImpl() {
@@ -77,16 +73,15 @@ public abstract class ContextImpl extends EAElementImpl implements Context {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case ElementsPackage.CONTEXT__TRACEABLE_SPECIFICATION:
- return getTraceableSpecification();
- case ElementsPackage.CONTEXT__OWNED_RELATIONSHIP:
- return getOwnedRelationship();
+ switch (featureID) {
+ case ElementsPackage.CONTEXT__TRACEABLE_SPECIFICATION:
+ return getTraceableSpecification();
+ case ElementsPackage.CONTEXT__OWNED_RELATIONSHIP:
+ return getOwnedRelationship();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -94,16 +89,15 @@ public abstract class ContextImpl extends EAElementImpl implements Context {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
- case ElementsPackage.CONTEXT__TRACEABLE_SPECIFICATION:
- return traceableSpecification != null && !traceableSpecification.isEmpty();
- case ElementsPackage.CONTEXT__OWNED_RELATIONSHIP:
- return ownedRelationship != null && !ownedRelationship.isEmpty();
+ switch (featureID) {
+ case ElementsPackage.CONTEXT__TRACEABLE_SPECIFICATION:
+ return traceableSpecification != null && !traceableSpecification.isEmpty();
+ case ElementsPackage.CONTEXT__OWNED_RELATIONSHIP:
+ return ownedRelationship != null && !ownedRelationship.isEmpty();
}
return super.eIsSet(featureID);
}
@@ -111,21 +105,20 @@ public abstract class ContextImpl extends EAElementImpl implements Context {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case ElementsPackage.CONTEXT__TRACEABLE_SPECIFICATION:
- getTraceableSpecification().clear();
- getTraceableSpecification().addAll((Collection<? extends TraceableSpecification>)newValue);
- return;
- case ElementsPackage.CONTEXT__OWNED_RELATIONSHIP:
- getOwnedRelationship().clear();
- getOwnedRelationship().addAll((Collection<? extends Relationship>)newValue);
- return;
+ switch (featureID) {
+ case ElementsPackage.CONTEXT__TRACEABLE_SPECIFICATION:
+ getTraceableSpecification().clear();
+ getTraceableSpecification().addAll((Collection<? extends TraceableSpecification>)newValue);
+ return;
+ case ElementsPackage.CONTEXT__OWNED_RELATIONSHIP:
+ getOwnedRelationship().clear();
+ getOwnedRelationship().addAll((Collection<? extends Relationship>)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -133,7 +126,6 @@ public abstract class ContextImpl extends EAElementImpl implements Context {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -144,18 +136,17 @@ public abstract class ContextImpl extends EAElementImpl implements Context {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
- case ElementsPackage.CONTEXT__TRACEABLE_SPECIFICATION:
- getTraceableSpecification().clear();
- return;
- case ElementsPackage.CONTEXT__OWNED_RELATIONSHIP:
- getOwnedRelationship().clear();
- return;
+ switch (featureID) {
+ case ElementsPackage.CONTEXT__TRACEABLE_SPECIFICATION:
+ getTraceableSpecification().clear();
+ return;
+ case ElementsPackage.CONTEXT__OWNED_RELATIONSHIP:
+ getOwnedRelationship().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -163,11 +154,10 @@ public abstract class ContextImpl extends EAElementImpl implements Context {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EList<Relationship> getOwnedRelationship() {
- if(ownedRelationship == null) {
+ if (ownedRelationship == null) {
ownedRelationship = new EObjectResolvingEList<Relationship>(Relationship.class, this, ElementsPackage.CONTEXT__OWNED_RELATIONSHIP);
}
return ownedRelationship;
@@ -176,11 +166,10 @@ public abstract class ContextImpl extends EAElementImpl implements Context {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EList<TraceableSpecification> getTraceableSpecification() {
- if(traceableSpecification == null) {
+ if (traceableSpecification == null) {
traceableSpecification = new EObjectResolvingEList<TraceableSpecification>(TraceableSpecification.class, this, ElementsPackage.CONTEXT__TRACEABLE_SPECIFICATION);
}
return traceableSpecification;
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/EAConnectorImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/EAConnectorImpl.java
new file mode 100644
index 00000000000..3697eee2f28
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/EAConnectorImpl.java
@@ -0,0 +1,154 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.elements.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
+import org.eclipse.papyrus.eastadl.infrastructure.elements.EAConnector;
+import org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage;
+import org.eclipse.uml2.uml.Connector;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>EA Connector</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAConnectorImpl#getBase_Connector <em>Base Connector</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class EAConnectorImpl extends MinimalEObjectImpl.Container implements EAConnector {
+ /**
+ * The cached value of the '{@link #getBase_Connector() <em>Base Connector</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBase_Connector()
+ * @generated
+ * @ordered
+ */
+ protected Connector base_Connector;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EAConnectorImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ElementsPackage.Literals.EA_CONNECTOR;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Connector getBase_Connector() {
+ if (base_Connector != null && base_Connector.eIsProxy()) {
+ InternalEObject oldBase_Connector = (InternalEObject)base_Connector;
+ base_Connector = (Connector)eResolveProxy(oldBase_Connector);
+ if (base_Connector != oldBase_Connector) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, ElementsPackage.EA_CONNECTOR__BASE_CONNECTOR, oldBase_Connector, base_Connector));
+ }
+ }
+ return base_Connector;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Connector basicGetBase_Connector() {
+ return base_Connector;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBase_Connector(Connector newBase_Connector) {
+ Connector oldBase_Connector = base_Connector;
+ base_Connector = newBase_Connector;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ElementsPackage.EA_CONNECTOR__BASE_CONNECTOR, oldBase_Connector, base_Connector));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case ElementsPackage.EA_CONNECTOR__BASE_CONNECTOR:
+ if (resolve) return getBase_Connector();
+ return basicGetBase_Connector();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case ElementsPackage.EA_CONNECTOR__BASE_CONNECTOR:
+ setBase_Connector((Connector)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case ElementsPackage.EA_CONNECTOR__BASE_CONNECTOR:
+ setBase_Connector((Connector)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case ElementsPackage.EA_CONNECTOR__BASE_CONNECTOR:
+ return base_Connector != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //EAConnectorImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/EAElementImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/EAElementImpl.java
index a1fc737f6ac..a90ebd09e87 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/EAElementImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/EAElementImpl.java
@@ -16,17 +16,16 @@
package org.eclipse.papyrus.eastadl.infrastructure.elements.impl;
import java.util.Collection;
-
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.InternalEObject;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
+import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
import org.eclipse.emf.ecore.util.EObjectResolvingEList;
-import org.eclipse.papyrus.eastadl.infrastructure.elements.Comment;
import org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement;
import org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage;
+import org.eclipse.uml2.uml.Comment;
import org.eclipse.uml2.uml.NamedElement;
@@ -36,42 +35,39 @@ import org.eclipse.uml2.uml.NamedElement;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAElementImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAElementImpl#getBase_NamedElement <em>Base Named Element</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAElementImpl#getOwnedComment <em>Owned Comment</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAElementImpl#getBase_NamedElement <em>Base Named Element</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAElementImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAElementImpl#getOwnedComment <em>Owned Comment</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
-public abstract class EAElementImpl extends EObjectImpl implements EAElement {
+public abstract class EAElementImpl extends MinimalEObjectImpl.Container implements EAElement {
/**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * The cached value of the '{@link #getBase_NamedElement() <em>Base Named Element</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see #getName()
+ * @see #getBase_NamedElement()
* @generated
* @ordered
*/
- protected static final String NAME_EDEFAULT = null;
+ protected NamedElement base_NamedElement;
/**
- * The cached value of the '{@link #getBase_NamedElement() <em>Base Named Element</em>}' reference.
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see #getBase_NamedElement()
+ * @see #getName()
* @generated
* @ordered
*/
- protected NamedElement base_NamedElement;
-
+ protected static final String NAME_EDEFAULT = null;
/**
* The cached value of the '{@link #getOwnedComment() <em>Owned Comment</em>}' reference list.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @see #getOwnedComment()
* @generated
* @ordered
@@ -80,7 +76,6 @@ public abstract class EAElementImpl extends EObjectImpl implements EAElement {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected EAElementImpl() {
@@ -89,68 +84,63 @@ public abstract class EAElementImpl extends EObjectImpl implements EAElement {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case ElementsPackage.EA_ELEMENT__NAME:
- return getName();
- case ElementsPackage.EA_ELEMENT__BASE_NAMED_ELEMENT:
- if(resolve)
- return getBase_NamedElement();
- return basicGetBase_NamedElement();
- case ElementsPackage.EA_ELEMENT__OWNED_COMMENT:
- return getOwnedComment();
+ switch (featureID) {
+ case ElementsPackage.EA_ELEMENT__BASE_NAMED_ELEMENT:
+ if (resolve) return getBase_NamedElement();
+ return basicGetBase_NamedElement();
+ case ElementsPackage.EA_ELEMENT__NAME:
+ return getName();
+ case ElementsPackage.EA_ELEMENT__OWNED_COMMENT:
+ return getOwnedComment();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
- case ElementsPackage.EA_ELEMENT__NAME:
- return NAME_EDEFAULT == null ? getName() != null : !NAME_EDEFAULT.equals(getName());
- case ElementsPackage.EA_ELEMENT__BASE_NAMED_ELEMENT:
- return base_NamedElement != null;
- case ElementsPackage.EA_ELEMENT__OWNED_COMMENT:
- return ownedComment != null && !ownedComment.isEmpty();
+ switch (featureID) {
+ case ElementsPackage.EA_ELEMENT__BASE_NAMED_ELEMENT:
+ return base_NamedElement != null;
+ case ElementsPackage.EA_ELEMENT__NAME:
+ return NAME_EDEFAULT == null ? getName() != null : !NAME_EDEFAULT.equals(getName());
+ case ElementsPackage.EA_ELEMENT__OWNED_COMMENT:
+ return ownedComment != null && !ownedComment.isEmpty();
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case ElementsPackage.EA_ELEMENT__NAME:
- setName((String)newValue);
- return;
- case ElementsPackage.EA_ELEMENT__BASE_NAMED_ELEMENT:
- setBase_NamedElement((NamedElement)newValue);
- return;
- case ElementsPackage.EA_ELEMENT__OWNED_COMMENT:
- getOwnedComment().clear();
- getOwnedComment().addAll((Collection<? extends Comment>)newValue);
- return;
+ switch (featureID) {
+ case ElementsPackage.EA_ELEMENT__BASE_NAMED_ELEMENT:
+ setBase_NamedElement((NamedElement)newValue);
+ return;
+ case ElementsPackage.EA_ELEMENT__NAME:
+ setName((String)newValue);
+ return;
+ case ElementsPackage.EA_ELEMENT__OWNED_COMMENT:
+ getOwnedComment().clear();
+ getOwnedComment().addAll((Collection<? extends Comment>)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -160,21 +150,20 @@ public abstract class EAElementImpl extends EObjectImpl implements EAElement {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
- case ElementsPackage.EA_ELEMENT__NAME:
- setName(NAME_EDEFAULT);
- return;
- case ElementsPackage.EA_ELEMENT__BASE_NAMED_ELEMENT:
- setBase_NamedElement((NamedElement)null);
- return;
- case ElementsPackage.EA_ELEMENT__OWNED_COMMENT:
- getOwnedComment().clear();
- return;
+ switch (featureID) {
+ case ElementsPackage.EA_ELEMENT__BASE_NAMED_ELEMENT:
+ setBase_NamedElement((NamedElement)null);
+ return;
+ case ElementsPackage.EA_ELEMENT__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case ElementsPackage.EA_ELEMENT__OWNED_COMMENT:
+ getOwnedComment().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -199,29 +188,16 @@ public abstract class EAElementImpl extends EObjectImpl implements EAElement {
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EList<Comment> getOwnedComment() {
- if(ownedComment == null) {
- ownedComment = new EObjectResolvingEList<Comment>(Comment.class, this, ElementsPackage.EA_ELEMENT__OWNED_COMMENT);
- }
- return ownedComment;
- }
-
- /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public NamedElement getBase_NamedElement() {
- if(base_NamedElement != null && base_NamedElement.eIsProxy()) {
+ if (base_NamedElement != null && base_NamedElement.eIsProxy()) {
InternalEObject oldBase_NamedElement = (InternalEObject)base_NamedElement;
base_NamedElement = (NamedElement)eResolveProxy(oldBase_NamedElement);
- if(base_NamedElement != oldBase_NamedElement) {
- if(eNotificationRequired())
+ if (base_NamedElement != oldBase_NamedElement) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE, ElementsPackage.EA_ELEMENT__BASE_NAMED_ELEMENT, oldBase_NamedElement, base_NamedElement));
}
}
@@ -231,7 +207,6 @@ public abstract class EAElementImpl extends EObjectImpl implements EAElement {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public NamedElement basicGetBase_NamedElement() {
@@ -241,13 +216,12 @@ public abstract class EAElementImpl extends EObjectImpl implements EAElement {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public void setBase_NamedElement(NamedElement newBase_NamedElement) {
NamedElement oldBase_NamedElement = base_NamedElement;
base_NamedElement = newBase_NamedElement;
- if(eNotificationRequired())
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, ElementsPackage.EA_ELEMENT__BASE_NAMED_ELEMENT, oldBase_NamedElement, base_NamedElement));
}
@@ -258,9 +232,19 @@ public abstract class EAElementImpl extends EObjectImpl implements EAElement {
* @generated NOT
*/
public void setName(String newName) {
- // TODO: implement this method to set the 'Name' attribute
- // Ensure that you remove @generated or mark it @generated NOT
- // throw new UnsupportedOperationException();
+ //derived property
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<Comment> getOwnedComment() {
+ if (ownedComment == null) {
+ ownedComment = new EObjectResolvingEList<Comment>(Comment.class, this, ElementsPackage.EA_ELEMENT__OWNED_COMMENT);
+ }
+ return ownedComment;
}
} // EAElementImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/EAPackageImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/EAPackageImpl.java
index 20851c2a0bd..81c10887959 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/EAPackageImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/EAPackageImpl.java
@@ -18,13 +18,11 @@ package org.eclipse.papyrus.eastadl.infrastructure.elements.impl;
import java.util.Collection;
import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
import org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackage;
import org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackageableElement;
import org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage;
@@ -36,32 +34,30 @@ import org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAPackageImpl#getSubPackages <em>Sub Packages</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAPackageImpl#getElement <em>Element</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAPackageImpl#getBase_Package <em>Base Package</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAPackageImpl#getSubPackage <em>Sub Package</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAPackageImpl#getElement <em>Element</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAPackageImpl#getBase_Package <em>Base Package</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
-public class EAPackageImpl extends EAElementImpl implements EAPackage {
+public abstract class EAPackageImpl extends EAElementImpl implements EAPackage {
/**
- * The cached value of the '{@link #getSubPackages() <em>Sub Packages</em>}' containment reference list.
+ * The cached value of the '{@link #getSubPackage() <em>Sub Package</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see #getSubPackages()
+ * @see #getSubPackage()
* @generated
* @ordered
*/
- protected EList<EAPackage> subPackages;
+ protected EList<EAPackage> subPackage;
/**
- * The cached value of the '{@link #getElement() <em>Element</em>}' containment reference list.
+ * The cached value of the '{@link #getElement() <em>Element</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getElement()
* @generated
* @ordered
@@ -72,7 +68,6 @@ public class EAPackageImpl extends EAElementImpl implements EAPackage {
* The cached value of the '{@link #getBase_Package() <em>Base Package</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getBase_Package()
* @generated
* @ordered
@@ -82,7 +77,6 @@ public class EAPackageImpl extends EAElementImpl implements EAPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected EAPackageImpl() {
@@ -92,7 +86,6 @@ public class EAPackageImpl extends EAElementImpl implements EAPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -103,25 +96,23 @@ public class EAPackageImpl extends EAElementImpl implements EAPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EList<EAPackage> getSubPackages() {
- if(subPackages == null) {
- subPackages = new EObjectContainmentEList<EAPackage>(EAPackage.class, this, ElementsPackage.EA_PACKAGE__SUB_PACKAGES);
+ public EList<EAPackage> getSubPackage() {
+ if (subPackage == null) {
+ subPackage = new EObjectResolvingEList<EAPackage>(EAPackage.class, this, ElementsPackage.EA_PACKAGE__SUB_PACKAGE);
}
- return subPackages;
+ return subPackage;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EList<EAPackageableElement> getElement() {
- if(element == null) {
- element = new EObjectContainmentEList<EAPackageableElement>(EAPackageableElement.class, this, ElementsPackage.EA_PACKAGE__ELEMENT);
+ if (element == null) {
+ element = new EObjectResolvingEList<EAPackageableElement>(EAPackageableElement.class, this, ElementsPackage.EA_PACKAGE__ELEMENT);
}
return element;
}
@@ -129,15 +120,14 @@ public class EAPackageImpl extends EAElementImpl implements EAPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public org.eclipse.uml2.uml.Package getBase_Package() {
- if(base_Package != null && base_Package.eIsProxy()) {
+ if (base_Package != null && base_Package.eIsProxy()) {
InternalEObject oldBase_Package = (InternalEObject)base_Package;
base_Package = (org.eclipse.uml2.uml.Package)eResolveProxy(oldBase_Package);
- if(base_Package != oldBase_Package) {
- if(eNotificationRequired())
+ if (base_Package != oldBase_Package) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE, ElementsPackage.EA_PACKAGE__BASE_PACKAGE, oldBase_Package, base_Package));
}
}
@@ -147,7 +137,6 @@ public class EAPackageImpl extends EAElementImpl implements EAPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public org.eclipse.uml2.uml.Package basicGetBase_Package() {
@@ -157,50 +146,30 @@ public class EAPackageImpl extends EAElementImpl implements EAPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public void setBase_Package(org.eclipse.uml2.uml.Package newBase_Package) {
org.eclipse.uml2.uml.Package oldBase_Package = base_Package;
base_Package = newBase_Package;
- if(eNotificationRequired())
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, ElementsPackage.EA_PACKAGE__BASE_PACKAGE, oldBase_Package, base_Package));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
- case ElementsPackage.EA_PACKAGE__SUB_PACKAGES:
- return ((InternalEList<?>)getSubPackages()).basicRemove(otherEnd, msgs);
- case ElementsPackage.EA_PACKAGE__ELEMENT:
- return ((InternalEList<?>)getElement()).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 ElementsPackage.EA_PACKAGE__SUB_PACKAGES:
- return getSubPackages();
- case ElementsPackage.EA_PACKAGE__ELEMENT:
- return getElement();
- case ElementsPackage.EA_PACKAGE__BASE_PACKAGE:
- if(resolve)
- return getBase_Package();
- return basicGetBase_Package();
+ switch (featureID) {
+ case ElementsPackage.EA_PACKAGE__SUB_PACKAGE:
+ return getSubPackage();
+ case ElementsPackage.EA_PACKAGE__ELEMENT:
+ return getElement();
+ case ElementsPackage.EA_PACKAGE__BASE_PACKAGE:
+ if (resolve) return getBase_Package();
+ return basicGetBase_Package();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -208,24 +177,23 @@ public class EAPackageImpl extends EAElementImpl implements EAPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case ElementsPackage.EA_PACKAGE__SUB_PACKAGES:
- getSubPackages().clear();
- getSubPackages().addAll((Collection<? extends EAPackage>)newValue);
- return;
- case ElementsPackage.EA_PACKAGE__ELEMENT:
- getElement().clear();
- getElement().addAll((Collection<? extends EAPackageableElement>)newValue);
- return;
- case ElementsPackage.EA_PACKAGE__BASE_PACKAGE:
- setBase_Package((org.eclipse.uml2.uml.Package)newValue);
- return;
+ switch (featureID) {
+ case ElementsPackage.EA_PACKAGE__SUB_PACKAGE:
+ getSubPackage().clear();
+ getSubPackage().addAll((Collection<? extends EAPackage>)newValue);
+ return;
+ case ElementsPackage.EA_PACKAGE__ELEMENT:
+ getElement().clear();
+ getElement().addAll((Collection<? extends EAPackageableElement>)newValue);
+ return;
+ case ElementsPackage.EA_PACKAGE__BASE_PACKAGE:
+ setBase_Package((org.eclipse.uml2.uml.Package)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -233,21 +201,20 @@ public class EAPackageImpl extends EAElementImpl implements EAPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
- case ElementsPackage.EA_PACKAGE__SUB_PACKAGES:
- getSubPackages().clear();
- return;
- case ElementsPackage.EA_PACKAGE__ELEMENT:
- getElement().clear();
- return;
- case ElementsPackage.EA_PACKAGE__BASE_PACKAGE:
- setBase_Package((org.eclipse.uml2.uml.Package)null);
- return;
+ switch (featureID) {
+ case ElementsPackage.EA_PACKAGE__SUB_PACKAGE:
+ getSubPackage().clear();
+ return;
+ case ElementsPackage.EA_PACKAGE__ELEMENT:
+ getElement().clear();
+ return;
+ case ElementsPackage.EA_PACKAGE__BASE_PACKAGE:
+ setBase_Package((org.eclipse.uml2.uml.Package)null);
+ return;
}
super.eUnset(featureID);
}
@@ -255,18 +222,17 @@ public class EAPackageImpl extends EAElementImpl implements EAPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
- case ElementsPackage.EA_PACKAGE__SUB_PACKAGES:
- return subPackages != null && !subPackages.isEmpty();
- case ElementsPackage.EA_PACKAGE__ELEMENT:
- return element != null && !element.isEmpty();
- case ElementsPackage.EA_PACKAGE__BASE_PACKAGE:
- return base_Package != null;
+ switch (featureID) {
+ case ElementsPackage.EA_PACKAGE__SUB_PACKAGE:
+ return subPackage != null && !subPackage.isEmpty();
+ case ElementsPackage.EA_PACKAGE__ELEMENT:
+ return element != null && !element.isEmpty();
+ case ElementsPackage.EA_PACKAGE__BASE_PACKAGE:
+ return base_Package != null;
}
return super.eIsSet(featureID);
}
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/EAPackageableElementImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/EAPackageableElementImpl.java
index dc88e5d19f1..4ffc586ec03 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/EAPackageableElementImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/EAPackageableElementImpl.java
@@ -30,20 +30,17 @@ import org.eclipse.uml2.uml.PackageableElement;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAPackageableElementImpl#getBase_PackageableElement <em>Base Packageable
- * Element</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAPackageableElementImpl#getBase_PackageableElement <em>Base Packageable Element</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public abstract class EAPackageableElementImpl extends EAElementImpl implements EAPackageableElement {
-
/**
* The cached value of the '{@link #getBase_PackageableElement() <em>Base Packageable Element</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getBase_PackageableElement()
* @generated
* @ordered
@@ -53,7 +50,6 @@ public abstract class EAPackageableElementImpl extends EAElementImpl implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected EAPackageableElementImpl() {
@@ -63,7 +59,6 @@ public abstract class EAPackageableElementImpl extends EAElementImpl implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -74,15 +69,14 @@ public abstract class EAPackageableElementImpl extends EAElementImpl implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public PackageableElement getBase_PackageableElement() {
- if(base_PackageableElement != null && base_PackageableElement.eIsProxy()) {
+ if (base_PackageableElement != null && base_PackageableElement.eIsProxy()) {
InternalEObject oldBase_PackageableElement = (InternalEObject)base_PackageableElement;
base_PackageableElement = (PackageableElement)eResolveProxy(oldBase_PackageableElement);
- if(base_PackageableElement != oldBase_PackageableElement) {
- if(eNotificationRequired())
+ if (base_PackageableElement != oldBase_PackageableElement) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE, ElementsPackage.EA_PACKAGEABLE_ELEMENT__BASE_PACKAGEABLE_ELEMENT, oldBase_PackageableElement, base_PackageableElement));
}
}
@@ -92,7 +86,6 @@ public abstract class EAPackageableElementImpl extends EAElementImpl implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public PackageableElement basicGetBase_PackageableElement() {
@@ -102,29 +95,26 @@ public abstract class EAPackageableElementImpl extends EAElementImpl implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public void setBase_PackageableElement(PackageableElement newBase_PackageableElement) {
PackageableElement oldBase_PackageableElement = base_PackageableElement;
base_PackageableElement = newBase_PackageableElement;
- if(eNotificationRequired())
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, ElementsPackage.EA_PACKAGEABLE_ELEMENT__BASE_PACKAGEABLE_ELEMENT, oldBase_PackageableElement, base_PackageableElement));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case ElementsPackage.EA_PACKAGEABLE_ELEMENT__BASE_PACKAGEABLE_ELEMENT:
- if(resolve)
- return getBase_PackageableElement();
- return basicGetBase_PackageableElement();
+ switch (featureID) {
+ case ElementsPackage.EA_PACKAGEABLE_ELEMENT__BASE_PACKAGEABLE_ELEMENT:
+ if (resolve) return getBase_PackageableElement();
+ return basicGetBase_PackageableElement();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -132,15 +122,14 @@ public abstract class EAPackageableElementImpl extends EAElementImpl implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case ElementsPackage.EA_PACKAGEABLE_ELEMENT__BASE_PACKAGEABLE_ELEMENT:
- setBase_PackageableElement((PackageableElement)newValue);
- return;
+ switch (featureID) {
+ case ElementsPackage.EA_PACKAGEABLE_ELEMENT__BASE_PACKAGEABLE_ELEMENT:
+ setBase_PackageableElement((PackageableElement)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -148,15 +137,14 @@ public abstract class EAPackageableElementImpl extends EAElementImpl implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
- case ElementsPackage.EA_PACKAGEABLE_ELEMENT__BASE_PACKAGEABLE_ELEMENT:
- setBase_PackageableElement((PackageableElement)null);
- return;
+ switch (featureID) {
+ case ElementsPackage.EA_PACKAGEABLE_ELEMENT__BASE_PACKAGEABLE_ELEMENT:
+ setBase_PackageableElement((PackageableElement)null);
+ return;
}
super.eUnset(featureID);
}
@@ -164,14 +152,13 @@ public abstract class EAPackageableElementImpl extends EAElementImpl implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
- case ElementsPackage.EA_PACKAGEABLE_ELEMENT__BASE_PACKAGEABLE_ELEMENT:
- return base_PackageableElement != null;
+ switch (featureID) {
+ case ElementsPackage.EA_PACKAGEABLE_ELEMENT__BASE_PACKAGEABLE_ELEMENT:
+ return base_PackageableElement != null;
}
return super.eIsSet(featureID);
}
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/EAPortImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/EAPortImpl.java
new file mode 100644
index 00000000000..727bcdbd16e
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/EAPortImpl.java
@@ -0,0 +1,154 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.elements.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
+import org.eclipse.papyrus.eastadl.infrastructure.elements.EAPort;
+import org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage;
+import org.eclipse.uml2.uml.Port;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>EA Port</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAPortImpl#getBase_Port <em>Base Port</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class EAPortImpl extends MinimalEObjectImpl.Container implements EAPort {
+ /**
+ * The cached value of the '{@link #getBase_Port() <em>Base Port</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBase_Port()
+ * @generated
+ * @ordered
+ */
+ protected Port base_Port;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EAPortImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ElementsPackage.Literals.EA_PORT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Port getBase_Port() {
+ if (base_Port != null && base_Port.eIsProxy()) {
+ InternalEObject oldBase_Port = (InternalEObject)base_Port;
+ base_Port = (Port)eResolveProxy(oldBase_Port);
+ if (base_Port != oldBase_Port) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, ElementsPackage.EA_PORT__BASE_PORT, oldBase_Port, base_Port));
+ }
+ }
+ return base_Port;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Port basicGetBase_Port() {
+ return base_Port;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBase_Port(Port newBase_Port) {
+ Port oldBase_Port = base_Port;
+ base_Port = newBase_Port;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ElementsPackage.EA_PORT__BASE_PORT, oldBase_Port, base_Port));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case ElementsPackage.EA_PORT__BASE_PORT:
+ if (resolve) return getBase_Port();
+ return basicGetBase_Port();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case ElementsPackage.EA_PORT__BASE_PORT:
+ setBase_Port((Port)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case ElementsPackage.EA_PORT__BASE_PORT:
+ setBase_Port((Port)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case ElementsPackage.EA_PORT__BASE_PORT:
+ return base_Port != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //EAPortImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/EAPrototypeImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/EAPrototypeImpl.java
new file mode 100644
index 00000000000..758df2bbccb
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/EAPrototypeImpl.java
@@ -0,0 +1,154 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.elements.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
+import org.eclipse.papyrus.eastadl.infrastructure.elements.EAPrototype;
+import org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage;
+import org.eclipse.uml2.uml.Property;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>EA Prototype</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAPrototypeImpl#getBase_Property <em>Base Property</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class EAPrototypeImpl extends MinimalEObjectImpl.Container implements EAPrototype {
+ /**
+ * The cached value of the '{@link #getBase_Property() <em>Base Property</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBase_Property()
+ * @generated
+ * @ordered
+ */
+ protected Property base_Property;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EAPrototypeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ElementsPackage.Literals.EA_PROTOTYPE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Property getBase_Property() {
+ if (base_Property != null && base_Property.eIsProxy()) {
+ InternalEObject oldBase_Property = (InternalEObject)base_Property;
+ base_Property = (Property)eResolveProxy(oldBase_Property);
+ if (base_Property != oldBase_Property) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, ElementsPackage.EA_PROTOTYPE__BASE_PROPERTY, oldBase_Property, base_Property));
+ }
+ }
+ return base_Property;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Property basicGetBase_Property() {
+ return base_Property;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBase_Property(Property newBase_Property) {
+ Property oldBase_Property = base_Property;
+ base_Property = newBase_Property;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ElementsPackage.EA_PROTOTYPE__BASE_PROPERTY, oldBase_Property, base_Property));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case ElementsPackage.EA_PROTOTYPE__BASE_PROPERTY:
+ if (resolve) return getBase_Property();
+ return basicGetBase_Property();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case ElementsPackage.EA_PROTOTYPE__BASE_PROPERTY:
+ setBase_Property((Property)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case ElementsPackage.EA_PROTOTYPE__BASE_PROPERTY:
+ setBase_Property((Property)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case ElementsPackage.EA_PROTOTYPE__BASE_PROPERTY:
+ return base_Property != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //EAPrototypeImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/EATypeImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/EATypeImpl.java
new file mode 100644
index 00000000000..c7d1abff0a5
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/EATypeImpl.java
@@ -0,0 +1,152 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.elements.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
+import org.eclipse.papyrus.eastadl.infrastructure.elements.EAType;
+import org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>EA Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EATypeImpl#getBase_Class <em>Base Class</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class EATypeImpl extends MinimalEObjectImpl.Container implements EAType {
+ /**
+ * The cached value of the '{@link #getBase_Class() <em>Base Class</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBase_Class()
+ * @generated
+ * @ordered
+ */
+ protected org.eclipse.uml2.uml.Class base_Class;
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EATypeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ElementsPackage.Literals.EA_TYPE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public org.eclipse.uml2.uml.Class getBase_Class() {
+ if (base_Class != null && base_Class.eIsProxy()) {
+ InternalEObject oldBase_Class = (InternalEObject)base_Class;
+ base_Class = (org.eclipse.uml2.uml.Class)eResolveProxy(oldBase_Class);
+ if (base_Class != oldBase_Class) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, ElementsPackage.EA_TYPE__BASE_CLASS, oldBase_Class, base_Class));
+ }
+ }
+ return base_Class;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public org.eclipse.uml2.uml.Class basicGetBase_Class() {
+ return base_Class;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBase_Class(org.eclipse.uml2.uml.Class newBase_Class) {
+ org.eclipse.uml2.uml.Class oldBase_Class = base_Class;
+ base_Class = newBase_Class;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ElementsPackage.EA_TYPE__BASE_CLASS, oldBase_Class, base_Class));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case ElementsPackage.EA_TYPE__BASE_CLASS:
+ if (resolve) return getBase_Class();
+ return basicGetBase_Class();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case ElementsPackage.EA_TYPE__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case ElementsPackage.EA_TYPE__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case ElementsPackage.EA_TYPE__BASE_CLASS:
+ return base_Class != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //EATypeImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/EAXMLImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/EAXMLImpl.java
new file mode 100644
index 00000000000..be88320ac07
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/EAXMLImpl.java
@@ -0,0 +1,308 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.elements.impl;
+
+import java.util.Collection;
+
+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.MinimalEObjectImpl;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackage;
+import org.eclipse.papyrus.eastadl.infrastructure.elements.EAXML;
+import org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>EAXML</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAXMLImpl#getAdmindocumentVersion <em>Admindocument Version</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAXMLImpl#getAutosardocumentVersion <em>Autosardocument Version</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAXMLImpl#isXmlglobalelement <em>Xmlglobalelement</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAXMLImpl#getTopLevelPackage <em>Top Level Package</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class EAXMLImpl extends MinimalEObjectImpl.Container implements EAXML {
+ /**
+ * The default value of the '{@link #getAdmindocumentVersion() <em>Admindocument Version</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAdmindocumentVersion()
+ * @generated
+ * @ordered
+ */
+ protected static final String ADMINDOCUMENT_VERSION_EDEFAULT = "2013-05-28";
+
+ /**
+ * The cached value of the '{@link #getAdmindocumentVersion() <em>Admindocument Version</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAdmindocumentVersion()
+ * @generated
+ * @ordered
+ */
+ protected String admindocumentVersion = ADMINDOCUMENT_VERSION_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getAutosardocumentVersion() <em>Autosardocument Version</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAutosardocumentVersion()
+ * @generated
+ * @ordered
+ */
+ protected static final String AUTOSARDOCUMENT_VERSION_EDEFAULT = "4.0";
+
+ /**
+ * The cached value of the '{@link #getAutosardocumentVersion() <em>Autosardocument Version</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAutosardocumentVersion()
+ * @generated
+ * @ordered
+ */
+ protected String autosardocumentVersion = AUTOSARDOCUMENT_VERSION_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #isXmlglobalelement() <em>Xmlglobalelement</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlglobalelement()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean XMLGLOBALELEMENT_EDEFAULT = true;
+
+ /**
+ * The cached value of the '{@link #isXmlglobalelement() <em>Xmlglobalelement</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlglobalelement()
+ * @generated
+ * @ordered
+ */
+ protected boolean xmlglobalelement = XMLGLOBALELEMENT_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getTopLevelPackage() <em>Top Level Package</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTopLevelPackage()
+ * @generated
+ * @ordered
+ */
+ protected EList<EAPackage> topLevelPackage;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EAXMLImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ElementsPackage.Literals.EAXML;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getAdmindocumentVersion() {
+ return admindocumentVersion;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAdmindocumentVersion(String newAdmindocumentVersion) {
+ String oldAdmindocumentVersion = admindocumentVersion;
+ admindocumentVersion = newAdmindocumentVersion;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ElementsPackage.EAXML__ADMINDOCUMENT_VERSION, oldAdmindocumentVersion, admindocumentVersion));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getAutosardocumentVersion() {
+ return autosardocumentVersion;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAutosardocumentVersion(String newAutosardocumentVersion) {
+ String oldAutosardocumentVersion = autosardocumentVersion;
+ autosardocumentVersion = newAutosardocumentVersion;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ElementsPackage.EAXML__AUTOSARDOCUMENT_VERSION, oldAutosardocumentVersion, autosardocumentVersion));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isXmlglobalelement() {
+ return xmlglobalelement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setXmlglobalelement(boolean newXmlglobalelement) {
+ boolean oldXmlglobalelement = xmlglobalelement;
+ xmlglobalelement = newXmlglobalelement;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ElementsPackage.EAXML__XMLGLOBALELEMENT, oldXmlglobalelement, xmlglobalelement));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<EAPackage> getTopLevelPackage() {
+ if (topLevelPackage == null) {
+ topLevelPackage = new EObjectResolvingEList<EAPackage>(EAPackage.class, this, ElementsPackage.EAXML__TOP_LEVEL_PACKAGE);
+ }
+ return topLevelPackage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case ElementsPackage.EAXML__ADMINDOCUMENT_VERSION:
+ return getAdmindocumentVersion();
+ case ElementsPackage.EAXML__AUTOSARDOCUMENT_VERSION:
+ return getAutosardocumentVersion();
+ case ElementsPackage.EAXML__XMLGLOBALELEMENT:
+ return isXmlglobalelement();
+ case ElementsPackage.EAXML__TOP_LEVEL_PACKAGE:
+ return getTopLevelPackage();
+ }
+ 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 ElementsPackage.EAXML__ADMINDOCUMENT_VERSION:
+ setAdmindocumentVersion((String)newValue);
+ return;
+ case ElementsPackage.EAXML__AUTOSARDOCUMENT_VERSION:
+ setAutosardocumentVersion((String)newValue);
+ return;
+ case ElementsPackage.EAXML__XMLGLOBALELEMENT:
+ setXmlglobalelement((Boolean)newValue);
+ return;
+ case ElementsPackage.EAXML__TOP_LEVEL_PACKAGE:
+ getTopLevelPackage().clear();
+ getTopLevelPackage().addAll((Collection<? extends EAPackage>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case ElementsPackage.EAXML__ADMINDOCUMENT_VERSION:
+ setAdmindocumentVersion(ADMINDOCUMENT_VERSION_EDEFAULT);
+ return;
+ case ElementsPackage.EAXML__AUTOSARDOCUMENT_VERSION:
+ setAutosardocumentVersion(AUTOSARDOCUMENT_VERSION_EDEFAULT);
+ return;
+ case ElementsPackage.EAXML__XMLGLOBALELEMENT:
+ setXmlglobalelement(XMLGLOBALELEMENT_EDEFAULT);
+ return;
+ case ElementsPackage.EAXML__TOP_LEVEL_PACKAGE:
+ getTopLevelPackage().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case ElementsPackage.EAXML__ADMINDOCUMENT_VERSION:
+ return ADMINDOCUMENT_VERSION_EDEFAULT == null ? admindocumentVersion != null : !ADMINDOCUMENT_VERSION_EDEFAULT.equals(admindocumentVersion);
+ case ElementsPackage.EAXML__AUTOSARDOCUMENT_VERSION:
+ return AUTOSARDOCUMENT_VERSION_EDEFAULT == null ? autosardocumentVersion != null : !AUTOSARDOCUMENT_VERSION_EDEFAULT.equals(autosardocumentVersion);
+ case ElementsPackage.EAXML__XMLGLOBALELEMENT:
+ return xmlglobalelement != XMLGLOBALELEMENT_EDEFAULT;
+ case ElementsPackage.EAXML__TOP_LEVEL_PACKAGE:
+ return topLevelPackage != null && !topLevelPackage.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(" (admindocumentVersion: ");
+ result.append(admindocumentVersion);
+ result.append(", autosardocumentVersion: ");
+ result.append(autosardocumentVersion);
+ result.append(", xmlglobalelement: ");
+ result.append(xmlglobalelement);
+ result.append(')');
+ return result.toString();
+ }
+
+} //EAXMLImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/ElementsFactoryImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/ElementsFactoryImpl.java
index 9d9c658836e..bbb6828a979 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/ElementsFactoryImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/ElementsFactoryImpl.java
@@ -21,28 +21,20 @@ import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.impl.EFactoryImpl;
import org.eclipse.emf.ecore.plugin.EcorePlugin;
import org.eclipse.papyrus.eastadl.infrastructure.elements.*;
-import org.eclipse.papyrus.eastadl.infrastructure.elements.Comment;
-import org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackage;
import org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsFactory;
import org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage;
-import org.eclipse.papyrus.eastadl.infrastructure.elements.MultiLevelReference;
-import org.eclipse.papyrus.eastadl.infrastructure.elements.Rationale;
-import org.eclipse.papyrus.eastadl.infrastructure.elements.Realization;
/**
* <!-- begin-user-doc -->
* An implementation of the model <b>Factory</b>.
* <!-- end-user-doc -->
- *
* @generated
*/
public class ElementsFactoryImpl extends EFactoryImpl implements ElementsFactory {
-
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @deprecated
* @generated
*/
@@ -55,16 +47,16 @@ public class ElementsFactoryImpl extends EFactoryImpl implements ElementsFactory
* Creates the default factory implementation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public static ElementsFactory init() {
try {
ElementsFactory theElementsFactory = (ElementsFactory)EPackage.Registry.INSTANCE.getEFactory(ElementsPackage.eNS_URI);
- if(theElementsFactory != null) {
+ if (theElementsFactory != null) {
return theElementsFactory;
}
- } catch (Exception exception) {
+ }
+ catch (Exception exception) {
EcorePlugin.INSTANCE.log(exception);
}
return new ElementsFactoryImpl();
@@ -74,7 +66,6 @@ public class ElementsFactoryImpl extends EFactoryImpl implements ElementsFactory
* Creates an instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public ElementsFactoryImpl() {
@@ -84,42 +75,31 @@ public class ElementsFactoryImpl extends EFactoryImpl implements ElementsFactory
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public EObject create(EClass eClass) {
- switch(eClass.getClassifierID()) {
- case ElementsPackage.REALIZATION:
- return createRealization();
- case ElementsPackage.MULTI_LEVEL_REFERENCE:
- return createMultiLevelReference();
- case ElementsPackage.RATIONALE:
- return createRationale();
- case ElementsPackage.EA_PACKAGE:
- return createEAPackage();
- case ElementsPackage.COMMENT:
- return createComment();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ switch (eClass.getClassifierID()) {
+ case ElementsPackage.REALIZATION: return createRealization();
+ case ElementsPackage.RATIONALE: return createRationale();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public MultiLevelReference createMultiLevelReference() {
- MultiLevelReferenceImpl multiLevelReference = new MultiLevelReferenceImpl();
- return multiLevelReference;
+ public Realization createRealization() {
+ RealizationImpl realization = new RealizationImpl();
+ return realization;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public Rationale createRationale() {
@@ -130,40 +110,6 @@ public class ElementsFactoryImpl extends EFactoryImpl implements ElementsFactory
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @generated
- */
- public EAPackage createEAPackage() {
- EAPackageImpl eaPackage = new EAPackageImpl();
- return eaPackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public Comment createComment() {
- CommentImpl comment = new CommentImpl();
- return comment;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public Realization createRealization() {
- RealizationImpl realization = new RealizationImpl();
- return realization;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
* @generated
*/
public ElementsPackage getElementsPackage() {
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/ElementsPackageImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/ElementsPackageImpl.java
index 3f7e757e5bf..7f11e23f5fc 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/ElementsPackageImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/ElementsPackageImpl.java
@@ -22,9 +22,17 @@ import org.eclipse.emf.ecore.EReference;
import org.eclipse.emf.ecore.impl.EPackageImpl;
import org.eclipse.papyrus.eastadl.EastadlPackage;
import org.eclipse.papyrus.eastadl.annex.AnnexPackage;
+import org.eclipse.papyrus.eastadl.annex.attributequantificationconstraint.AttributequantificationconstraintPackage;
+import org.eclipse.papyrus.eastadl.annex.attributequantificationconstraint.impl.AttributequantificationconstraintPackageImpl;
+import org.eclipse.papyrus.eastadl.annex.behaviordescription.BehaviordescriptionPackage;
+import org.eclipse.papyrus.eastadl.annex.behaviordescription.impl.BehaviordescriptionPackageImpl;
+import org.eclipse.papyrus.eastadl.annex.computationconstraint.ComputationconstraintPackage;
+import org.eclipse.papyrus.eastadl.annex.computationconstraint.impl.ComputationconstraintPackageImpl;
import org.eclipse.papyrus.eastadl.annex.impl.AnnexPackageImpl;
import org.eclipse.papyrus.eastadl.annex.needs.NeedsPackage;
import org.eclipse.papyrus.eastadl.annex.needs.impl.NeedsPackageImpl;
+import org.eclipse.papyrus.eastadl.annex.temporalconstraint.TemporalconstraintPackage;
+import org.eclipse.papyrus.eastadl.annex.temporalconstraint.impl.TemporalconstraintPackageImpl;
import org.eclipse.papyrus.eastadl.behavior.BehaviorPackage;
import org.eclipse.papyrus.eastadl.behavior.impl.BehaviorPackageImpl;
import org.eclipse.papyrus.eastadl.dependability.DependabilityPackage;
@@ -45,14 +53,16 @@ import org.eclipse.papyrus.eastadl.impl.EastadlPackageImpl;
import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl;
-import org.eclipse.papyrus.eastadl.infrastructure.elements.Comment;
import org.eclipse.papyrus.eastadl.infrastructure.elements.Context;
+import org.eclipse.papyrus.eastadl.infrastructure.elements.EAConnector;
import org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement;
import org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackage;
import org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackageableElement;
+import org.eclipse.papyrus.eastadl.infrastructure.elements.EAPort;
+import org.eclipse.papyrus.eastadl.infrastructure.elements.EAPrototype;
+import org.eclipse.papyrus.eastadl.infrastructure.elements.EAType;
import org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsFactory;
import org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage;
-import org.eclipse.papyrus.eastadl.infrastructure.elements.MultiLevelReference;
import org.eclipse.papyrus.eastadl.infrastructure.elements.Rationale;
import org.eclipse.papyrus.eastadl.infrastructure.elements.Realization;
import org.eclipse.papyrus.eastadl.infrastructure.elements.Relationship;
@@ -60,10 +70,12 @@ import org.eclipse.papyrus.eastadl.infrastructure.elements.TraceableSpecificatio
import org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl;
import org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserattributesPackage;
import org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserattributesPackageImpl;
-import org.eclipse.papyrus.eastadl.interchange.InterchangePackage;
-import org.eclipse.papyrus.eastadl.interchange.impl.InterchangePackageImpl;
+import org.eclipse.papyrus.eastadl.infrastructure.values.ValuesPackage;
+import org.eclipse.papyrus.eastadl.infrastructure.values.impl.ValuesPackageImpl;
import org.eclipse.papyrus.eastadl.requirements.RequirementsPackage;
import org.eclipse.papyrus.eastadl.requirements.impl.RequirementsPackageImpl;
+import org.eclipse.papyrus.eastadl.requirements.usecases.UsecasesPackage;
+import org.eclipse.papyrus.eastadl.requirements.usecases.impl.UsecasesPackageImpl;
import org.eclipse.papyrus.eastadl.requirements.verificationvalidation.VerificationvalidationPackage;
import org.eclipse.papyrus.eastadl.requirements.verificationvalidation.impl.VerificationvalidationPackageImpl;
import org.eclipse.papyrus.eastadl.structure.StructurePackage;
@@ -87,7 +99,6 @@ import org.eclipse.papyrus.eastadl.timing.timingconstraints.impl.Timingconstrain
import org.eclipse.papyrus.eastadl.variability.VariabilityPackage;
import org.eclipse.papyrus.eastadl.variability.impl.VariabilityPackageImpl;
import org.eclipse.papyrus.sysml.SysmlPackage;
-import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage;
import org.eclipse.uml2.types.TypesPackage;
import org.eclipse.uml2.uml.UMLPackage;
@@ -96,7 +107,6 @@ import org.eclipse.uml2.uml.UMLPackage;
* <!-- begin-user-doc -->
* An implementation of the model <b>Package</b>.
* <!-- end-user-doc -->
- *
* @generated
*/
public class ElementsPackageImpl extends EPackageImpl implements ElementsPackage {
@@ -104,7 +114,6 @@ public class ElementsPackageImpl extends EPackageImpl implements ElementsPackage
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private EClass relationshipEClass = null;
@@ -112,47 +121,62 @@ public class ElementsPackageImpl extends EPackageImpl implements ElementsPackage
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- private EClass traceableSpecificationEClass = null;
+ private EClass eaTypeEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- private EClass eaPackageableElementEClass = null;
+ private EClass eaPortEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- private EClass contextEClass = null;
+ private EClass eaConnectorEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- private EClass realizationEClass = null;
+ private EClass eaPrototypeEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- private EClass multiLevelReferenceEClass = null;
+ private EClass traceableSpecificationEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eaPackageableElementEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass contextEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass realizationEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private EClass rationaleEClass = null;
@@ -160,7 +184,6 @@ public class ElementsPackageImpl extends EPackageImpl implements ElementsPackage
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private EClass eaPackageEClass = null;
@@ -168,15 +191,13 @@ public class ElementsPackageImpl extends EPackageImpl implements ElementsPackage
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- private EClass commentEClass = null;
+ private EClass eaxmlEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private EClass eaElementEClass = null;
@@ -184,7 +205,6 @@ public class ElementsPackageImpl extends EPackageImpl implements ElementsPackage
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private static boolean isInited = false;
@@ -192,18 +212,16 @@ public class ElementsPackageImpl extends EPackageImpl implements ElementsPackage
/**
* 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 ElementsPackage#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 -->
- *
+ * <p>This method is used to initialize {@link ElementsPackage#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 ElementsPackage init() {
- if(isInited)
- return (ElementsPackage)EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI);
+ if (isInited) return (ElementsPackage)EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI);
// Obtain or create and register package
ElementsPackageImpl theElementsPackage = (ElementsPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ElementsPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ElementsPackageImpl());
@@ -219,27 +237,33 @@ public class ElementsPackageImpl extends EPackageImpl implements ElementsPackage
InfrastructurePackageImpl theInfrastructurePackage = (InfrastructurePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI) instanceof InfrastructurePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI) : InfrastructurePackage.eINSTANCE);
DatatypesPackageImpl theDatatypesPackage = (DatatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI) instanceof DatatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI) : DatatypesPackage.eINSTANCE);
UserattributesPackageImpl theUserattributesPackage = (UserattributesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UserattributesPackage.eNS_URI) instanceof UserattributesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UserattributesPackage.eNS_URI) : UserattributesPackage.eINSTANCE);
+ ValuesPackageImpl theValuesPackage = (ValuesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI) instanceof ValuesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI) : ValuesPackage.eINSTANCE);
StructurePackageImpl theStructurePackage = (StructurePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI) instanceof StructurePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI) : StructurePackage.eINSTANCE);
FunctionmodelingPackageImpl theFunctionmodelingPackage = (FunctionmodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(FunctionmodelingPackage.eNS_URI) instanceof FunctionmodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(FunctionmodelingPackage.eNS_URI) : FunctionmodelingPackage.eINSTANCE);
- HardwaremodelingPackageImpl theHardwaremodelingPackage = (HardwaremodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI) instanceof HardwaremodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI) : HardwaremodelingPackage.eINSTANCE);
+ FeaturemodelingPackageImpl theFeaturemodelingPackage = (FeaturemodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI) instanceof FeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI) : FeaturemodelingPackage.eINSTANCE);
SystemmodelingPackageImpl theSystemmodelingPackage = (SystemmodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SystemmodelingPackage.eNS_URI) instanceof SystemmodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SystemmodelingPackage.eNS_URI) : SystemmodelingPackage.eINSTANCE);
VehiclefeaturemodelingPackageImpl theVehiclefeaturemodelingPackage = (VehiclefeaturemodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VehiclefeaturemodelingPackage.eNS_URI) instanceof VehiclefeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VehiclefeaturemodelingPackage.eNS_URI) : VehiclefeaturemodelingPackage.eINSTANCE);
- FeaturemodelingPackageImpl theFeaturemodelingPackage = (FeaturemodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI) instanceof FeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI) : FeaturemodelingPackage.eINSTANCE);
- BehaviorPackageImpl theBehaviorPackage = (BehaviorPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI) instanceof BehaviorPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI) : BehaviorPackage.eINSTANCE);
+ HardwaremodelingPackageImpl theHardwaremodelingPackage = (HardwaremodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI) instanceof HardwaremodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI) : HardwaremodelingPackage.eINSTANCE);
+ DependabilityPackageImpl theDependabilityPackage = (DependabilityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI) instanceof DependabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI) : DependabilityPackage.eINSTANCE);
+ SafetyrequirementPackageImpl theSafetyrequirementPackage = (SafetyrequirementPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetyrequirementPackage.eNS_URI) instanceof SafetyrequirementPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetyrequirementPackage.eNS_URI) : SafetyrequirementPackage.eINSTANCE);
+ SafetyconstraintsPackageImpl theSafetyconstraintsPackage = (SafetyconstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI) instanceof SafetyconstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI) : SafetyconstraintsPackage.eINSTANCE);
+ SafetycasePackageImpl theSafetycasePackage = (SafetycasePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI) instanceof SafetycasePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI) : SafetycasePackage.eINSTANCE);
+ ErrormodelPackageImpl theErrormodelPackage = (ErrormodelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI) instanceof ErrormodelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI) : ErrormodelPackage.eINSTANCE);
RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE);
+ UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) : UsecasesPackage.eINSTANCE);
VerificationvalidationPackageImpl theVerificationvalidationPackage = (VerificationvalidationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VerificationvalidationPackage.eNS_URI) instanceof VerificationvalidationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VerificationvalidationPackage.eNS_URI) : VerificationvalidationPackage.eINSTANCE);
+ org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl theRequirementsPackage_1 = (org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eNS_URI) instanceof org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eNS_URI) : org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eINSTANCE);
+ BehaviorPackageImpl theBehaviorPackage = (BehaviorPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI) instanceof BehaviorPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI) : BehaviorPackage.eINSTANCE);
TimingPackageImpl theTimingPackage = (TimingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimingPackage.eNS_URI) instanceof TimingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimingPackage.eNS_URI) : TimingPackage.eINSTANCE);
TimingconstraintsPackageImpl theTimingconstraintsPackage = (TimingconstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimingconstraintsPackage.eNS_URI) instanceof TimingconstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimingconstraintsPackage.eNS_URI) : TimingconstraintsPackage.eINSTANCE);
EventsPackageImpl theEventsPackage = (EventsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) instanceof EventsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) : EventsPackage.eINSTANCE);
- InterchangePackageImpl theInterchangePackage = (InterchangePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InterchangePackage.eNS_URI) instanceof InterchangePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InterchangePackage.eNS_URI) : InterchangePackage.eINSTANCE);
EnvironmentPackageImpl theEnvironmentPackage = (EnvironmentPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EnvironmentPackage.eNS_URI) instanceof EnvironmentPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EnvironmentPackage.eNS_URI) : EnvironmentPackage.eINSTANCE);
- DependabilityPackageImpl theDependabilityPackage = (DependabilityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI) instanceof DependabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI) : DependabilityPackage.eINSTANCE);
- ErrormodelPackageImpl theErrormodelPackage = (ErrormodelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI) instanceof ErrormodelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI) : ErrormodelPackage.eINSTANCE);
- SafetyrequirementPackageImpl theSafetyrequirementPackage = (SafetyrequirementPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetyrequirementPackage.eNS_URI) instanceof SafetyrequirementPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetyrequirementPackage.eNS_URI) : SafetyrequirementPackage.eINSTANCE);
- SafetyconstraintsPackageImpl theSafetyconstraintsPackage = (SafetyconstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI) instanceof SafetyconstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI) : SafetyconstraintsPackage.eINSTANCE);
- SafetycasePackageImpl theSafetycasePackage = (SafetycasePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI) instanceof SafetycasePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI) : SafetycasePackage.eINSTANCE);
AnnexPackageImpl theAnnexPackage = (AnnexPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AnnexPackage.eNS_URI) instanceof AnnexPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AnnexPackage.eNS_URI) : AnnexPackage.eINSTANCE);
NeedsPackageImpl theNeedsPackage = (NeedsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(NeedsPackage.eNS_URI) instanceof NeedsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(NeedsPackage.eNS_URI) : NeedsPackage.eINSTANCE);
+ BehaviordescriptionPackageImpl theBehaviordescriptionPackage = (BehaviordescriptionPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BehaviordescriptionPackage.eNS_URI) instanceof BehaviordescriptionPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BehaviordescriptionPackage.eNS_URI) : BehaviordescriptionPackage.eINSTANCE);
+ AttributequantificationconstraintPackageImpl theAttributequantificationconstraintPackage = (AttributequantificationconstraintPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AttributequantificationconstraintPackage.eNS_URI) instanceof AttributequantificationconstraintPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AttributequantificationconstraintPackage.eNS_URI) : AttributequantificationconstraintPackage.eINSTANCE);
+ TemporalconstraintPackageImpl theTemporalconstraintPackage = (TemporalconstraintPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TemporalconstraintPackage.eNS_URI) instanceof TemporalconstraintPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TemporalconstraintPackage.eNS_URI) : TemporalconstraintPackage.eINSTANCE);
+ ComputationconstraintPackageImpl theComputationconstraintPackage = (ComputationconstraintPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ComputationconstraintPackage.eNS_URI) instanceof ComputationconstraintPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ComputationconstraintPackage.eNS_URI) : ComputationconstraintPackage.eINSTANCE);
GenericconstraintsPackageImpl theGenericconstraintsPackage = (GenericconstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GenericconstraintsPackage.eNS_URI) instanceof GenericconstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GenericconstraintsPackage.eNS_URI) : GenericconstraintsPackage.eINSTANCE);
// Create package meta-data objects
@@ -249,27 +273,33 @@ public class ElementsPackageImpl extends EPackageImpl implements ElementsPackage
theInfrastructurePackage.createPackageContents();
theDatatypesPackage.createPackageContents();
theUserattributesPackage.createPackageContents();
+ theValuesPackage.createPackageContents();
theStructurePackage.createPackageContents();
theFunctionmodelingPackage.createPackageContents();
- theHardwaremodelingPackage.createPackageContents();
+ theFeaturemodelingPackage.createPackageContents();
theSystemmodelingPackage.createPackageContents();
theVehiclefeaturemodelingPackage.createPackageContents();
- theFeaturemodelingPackage.createPackageContents();
- theBehaviorPackage.createPackageContents();
+ theHardwaremodelingPackage.createPackageContents();
+ theDependabilityPackage.createPackageContents();
+ theSafetyrequirementPackage.createPackageContents();
+ theSafetyconstraintsPackage.createPackageContents();
+ theSafetycasePackage.createPackageContents();
+ theErrormodelPackage.createPackageContents();
theRequirementsPackage.createPackageContents();
+ theUsecasesPackage.createPackageContents();
theVerificationvalidationPackage.createPackageContents();
+ theRequirementsPackage_1.createPackageContents();
+ theBehaviorPackage.createPackageContents();
theTimingPackage.createPackageContents();
theTimingconstraintsPackage.createPackageContents();
theEventsPackage.createPackageContents();
- theInterchangePackage.createPackageContents();
theEnvironmentPackage.createPackageContents();
- theDependabilityPackage.createPackageContents();
- theErrormodelPackage.createPackageContents();
- theSafetyrequirementPackage.createPackageContents();
- theSafetyconstraintsPackage.createPackageContents();
- theSafetycasePackage.createPackageContents();
theAnnexPackage.createPackageContents();
theNeedsPackage.createPackageContents();
+ theBehaviordescriptionPackage.createPackageContents();
+ theAttributequantificationconstraintPackage.createPackageContents();
+ theTemporalconstraintPackage.createPackageContents();
+ theComputationconstraintPackage.createPackageContents();
theGenericconstraintsPackage.createPackageContents();
// Initialize created meta-data
@@ -279,33 +309,39 @@ public class ElementsPackageImpl extends EPackageImpl implements ElementsPackage
theInfrastructurePackage.initializePackageContents();
theDatatypesPackage.initializePackageContents();
theUserattributesPackage.initializePackageContents();
+ theValuesPackage.initializePackageContents();
theStructurePackage.initializePackageContents();
theFunctionmodelingPackage.initializePackageContents();
- theHardwaremodelingPackage.initializePackageContents();
+ theFeaturemodelingPackage.initializePackageContents();
theSystemmodelingPackage.initializePackageContents();
theVehiclefeaturemodelingPackage.initializePackageContents();
- theFeaturemodelingPackage.initializePackageContents();
- theBehaviorPackage.initializePackageContents();
+ theHardwaremodelingPackage.initializePackageContents();
+ theDependabilityPackage.initializePackageContents();
+ theSafetyrequirementPackage.initializePackageContents();
+ theSafetyconstraintsPackage.initializePackageContents();
+ theSafetycasePackage.initializePackageContents();
+ theErrormodelPackage.initializePackageContents();
theRequirementsPackage.initializePackageContents();
+ theUsecasesPackage.initializePackageContents();
theVerificationvalidationPackage.initializePackageContents();
+ theRequirementsPackage_1.initializePackageContents();
+ theBehaviorPackage.initializePackageContents();
theTimingPackage.initializePackageContents();
theTimingconstraintsPackage.initializePackageContents();
theEventsPackage.initializePackageContents();
- theInterchangePackage.initializePackageContents();
theEnvironmentPackage.initializePackageContents();
- theDependabilityPackage.initializePackageContents();
- theErrormodelPackage.initializePackageContents();
- theSafetyrequirementPackage.initializePackageContents();
- theSafetyconstraintsPackage.initializePackageContents();
- theSafetycasePackage.initializePackageContents();
theAnnexPackage.initializePackageContents();
theNeedsPackage.initializePackageContents();
+ theBehaviordescriptionPackage.initializePackageContents();
+ theAttributequantificationconstraintPackage.initializePackageContents();
+ theTemporalconstraintPackage.initializePackageContents();
+ theComputationconstraintPackage.initializePackageContents();
theGenericconstraintsPackage.initializePackageContents();
// Mark meta-data to indicate it can't be changed
theElementsPackage.freeze();
-
+
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(ElementsPackage.eNS_URI, theElementsPackage);
return theElementsPackage;
@@ -314,7 +350,6 @@ public class ElementsPackageImpl extends EPackageImpl implements ElementsPackage
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private boolean isCreated = false;
@@ -322,19 +357,19 @@ public class ElementsPackageImpl extends EPackageImpl implements ElementsPackage
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private boolean isInitialized = false;
/**
- * Creates an instance of the model <b>Package</b>, registered with {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the
- * package
+ * 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 -->
- *
+ * <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.papyrus.eastadl.infrastructure.elements.ElementsPackage#eNS_URI
* @see #init()
@@ -345,16 +380,14 @@ public class ElementsPackageImpl extends EPackageImpl implements ElementsPackage
}
/**
- * Creates the meta-model objects for the package. This method is
+ * 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;
+ if (isCreated) return;
isCreated = true;
// Create classes and their features
@@ -364,45 +397,52 @@ public class ElementsPackageImpl extends EPackageImpl implements ElementsPackage
eaPackageableElementEClass = createEClass(EA_PACKAGEABLE_ELEMENT);
createEReference(eaPackageableElementEClass, EA_PACKAGEABLE_ELEMENT__BASE_PACKAGEABLE_ELEMENT);
- realizationEClass = createEClass(REALIZATION);
- createEReference(realizationEClass, REALIZATION__REALIZED);
- createEReference(realizationEClass, REALIZATION__REALIZED_BY);
- createEReference(realizationEClass, REALIZATION__BASE_REALIZATION);
- createEReference(realizationEClass, REALIZATION__REALIZED_BY_PATH);
- createEReference(realizationEClass, REALIZATION__REALIZED_PATH);
-
- relationshipEClass = createEClass(RELATIONSHIP);
-
contextEClass = createEClass(CONTEXT);
createEReference(contextEClass, CONTEXT__TRACEABLE_SPECIFICATION);
createEReference(contextEClass, CONTEXT__OWNED_RELATIONSHIP);
- multiLevelReferenceEClass = createEClass(MULTI_LEVEL_REFERENCE);
- createEReference(multiLevelReferenceEClass, MULTI_LEVEL_REFERENCE__BASE_DEPENDENCY);
- createEReference(multiLevelReferenceEClass, MULTI_LEVEL_REFERENCE__REFERRING);
- createEReference(multiLevelReferenceEClass, MULTI_LEVEL_REFERENCE__REFERENCE);
+ relationshipEClass = createEClass(RELATIONSHIP);
+
+ eaTypeEClass = createEClass(EA_TYPE);
+ createEReference(eaTypeEClass, EA_TYPE__BASE_CLASS);
+
+ eaPortEClass = createEClass(EA_PORT);
+ createEReference(eaPortEClass, EA_PORT__BASE_PORT);
+
+ eaConnectorEClass = createEClass(EA_CONNECTOR);
+ createEReference(eaConnectorEClass, EA_CONNECTOR__BASE_CONNECTOR);
+
+ eaPrototypeEClass = createEClass(EA_PROTOTYPE);
+ createEReference(eaPrototypeEClass, EA_PROTOTYPE__BASE_PROPERTY);
+
+ realizationEClass = createEClass(REALIZATION);
+ createEReference(realizationEClass, REALIZATION__BASE_REALIZATION);
+ createEReference(realizationEClass, REALIZATION__REALIZED);
+ createEReference(realizationEClass, REALIZATION__REALIZED_BY);
rationaleEClass = createEClass(RATIONALE);
+ createEReference(rationaleEClass, RATIONALE__BASE_COMMENT);
eaPackageEClass = createEClass(EA_PACKAGE);
- createEReference(eaPackageEClass, EA_PACKAGE__SUB_PACKAGES);
+ createEReference(eaPackageEClass, EA_PACKAGE__SUB_PACKAGE);
createEReference(eaPackageEClass, EA_PACKAGE__ELEMENT);
createEReference(eaPackageEClass, EA_PACKAGE__BASE_PACKAGE);
- commentEClass = createEClass(COMMENT);
- createEAttribute(commentEClass, COMMENT__BODY);
- createEReference(commentEClass, COMMENT__BASE_COMMENT);
+ eaxmlEClass = createEClass(EAXML);
+ createEAttribute(eaxmlEClass, EAXML__ADMINDOCUMENT_VERSION);
+ createEAttribute(eaxmlEClass, EAXML__AUTOSARDOCUMENT_VERSION);
+ createEAttribute(eaxmlEClass, EAXML__XMLGLOBALELEMENT);
+ createEReference(eaxmlEClass, EAXML__TOP_LEVEL_PACKAGE);
eaElementEClass = createEClass(EA_ELEMENT);
- createEAttribute(eaElementEClass, EA_ELEMENT__NAME);
createEReference(eaElementEClass, EA_ELEMENT__BASE_NAMED_ELEMENT);
+ createEAttribute(eaElementEClass, EA_ELEMENT__NAME);
createEReference(eaElementEClass, EA_ELEMENT__OWNED_COMMENT);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EClass getContext() {
@@ -412,7 +452,6 @@ public class ElementsPackageImpl extends EPackageImpl implements ElementsPackage
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EReference getContext_OwnedRelationship() {
@@ -422,7 +461,6 @@ public class ElementsPackageImpl extends EPackageImpl implements ElementsPackage
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EReference getContext_TraceableSpecification() {
@@ -432,7 +470,6 @@ public class ElementsPackageImpl extends EPackageImpl implements ElementsPackage
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public ElementsFactory getElementsFactory() {
@@ -442,117 +479,105 @@ public class ElementsPackageImpl extends EPackageImpl implements ElementsPackage
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EClass getMultiLevelReference() {
- return multiLevelReferenceEClass;
+ public EClass getRationale() {
+ return rationaleEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EReference getMultiLevelReference_Base_Dependency() {
- return (EReference)multiLevelReferenceEClass.getEStructuralFeatures().get(0);
+ public EReference getRationale_Base_Comment() {
+ return (EReference)rationaleEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EReference getMultiLevelReference_Reference() {
- return (EReference)multiLevelReferenceEClass.getEStructuralFeatures().get(2);
+ public EClass getEAPackage() {
+ return eaPackageEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EClass getRationale() {
- return rationaleEClass;
+ public EReference getEAPackage_SubPackage() {
+ return (EReference)eaPackageEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EClass getEAPackage() {
- return eaPackageEClass;
+ public EReference getEAPackage_Element() {
+ return (EReference)eaPackageEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EReference getEAPackage_SubPackages() {
- return (EReference)eaPackageEClass.getEStructuralFeatures().get(0);
+ public EReference getEAPackage_Base_Package() {
+ return (EReference)eaPackageEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EReference getEAPackage_Element() {
- return (EReference)eaPackageEClass.getEStructuralFeatures().get(1);
+ public EClass getEAXML() {
+ return eaxmlEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EReference getEAPackage_Base_Package() {
- return (EReference)eaPackageEClass.getEStructuralFeatures().get(2);
+ public EAttribute getEAXML_AdmindocumentVersion() {
+ return (EAttribute)eaxmlEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EClass getComment() {
- return commentEClass;
+ public EAttribute getEAXML_AutosardocumentVersion() {
+ return (EAttribute)eaxmlEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EAttribute getComment_Body() {
- return (EAttribute)commentEClass.getEStructuralFeatures().get(0);
+ public EAttribute getEAXML_Xmlglobalelement() {
+ return (EAttribute)eaxmlEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EReference getComment_Base_Comment() {
- return (EReference)commentEClass.getEStructuralFeatures().get(1);
+ public EReference getEAXML_TopLevelPackage() {
+ return (EReference)eaxmlEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EClass getEAElement() {
@@ -562,27 +587,24 @@ public class ElementsPackageImpl extends EPackageImpl implements ElementsPackage
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EAttribute getEAElement_Name() {
- return (EAttribute)eaElementEClass.getEStructuralFeatures().get(0);
+ public EReference getEAElement_Base_NamedElement() {
+ return (EReference)eaElementEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EReference getEAElement_Base_NamedElement() {
- return (EReference)eaElementEClass.getEStructuralFeatures().get(1);
+ public EAttribute getEAElement_Name() {
+ return (EAttribute)eaElementEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EReference getEAElement_OwnedComment() {
@@ -592,87 +614,123 @@ public class ElementsPackageImpl extends EPackageImpl implements ElementsPackage
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EReference getMultiLevelReference_Referring() {
- return (EReference)multiLevelReferenceEClass.getEStructuralFeatures().get(1);
+ public EClass getRealization() {
+ return realizationEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EClass getRealization() {
- return realizationEClass;
+ public EReference getRealization_Realized() {
+ return (EReference)realizationEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EReference getRealization_Realized() {
+ public EReference getRealization_RealizedBy() {
+ return (EReference)realizationEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getRealization_Base_Realization() {
return (EReference)realizationEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EReference getRealization_RealizedBy() {
- return (EReference)realizationEClass.getEStructuralFeatures().get(1);
+ public EClass getRelationship() {
+ return relationshipEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EReference getRealization_Base_Realization() {
- return (EReference)realizationEClass.getEStructuralFeatures().get(2);
+ public EClass getEAType() {
+ return eaTypeEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EReference getRealization_RealizedBy_path() {
- return (EReference)realizationEClass.getEStructuralFeatures().get(3);
+ public EReference getEAType_Base_Class() {
+ return (EReference)eaTypeEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EReference getRealization_Realized_path() {
- return (EReference)realizationEClass.getEStructuralFeatures().get(4);
+ public EClass getEAPort() {
+ return eaPortEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EClass getRelationship() {
- return relationshipEClass;
+ public EReference getEAPort_Base_Port() {
+ return (EReference)eaPortEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getEAConnector() {
+ return eaConnectorEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getEAConnector_Base_Connector() {
+ return (EReference)eaConnectorEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getEAPrototype() {
+ return eaPrototypeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getEAPrototype_Base_Property() {
+ return (EReference)eaPrototypeEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EClass getTraceableSpecification() {
@@ -682,7 +740,6 @@ public class ElementsPackageImpl extends EPackageImpl implements ElementsPackage
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getTraceableSpecification_Note() {
@@ -692,7 +749,6 @@ public class ElementsPackageImpl extends EPackageImpl implements ElementsPackage
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EClass getEAPackageableElement() {
@@ -702,7 +758,6 @@ public class ElementsPackageImpl extends EPackageImpl implements ElementsPackage
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EReference getEAPackageableElement_Base_PackageableElement() {
@@ -710,16 +765,14 @@ public class ElementsPackageImpl extends EPackageImpl implements ElementsPackage
}
/**
- * Complete the initialization of the package and its meta-model. This
+ * 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;
+ if (isInitialized) return;
isInitialized = true;
// Initialize package
@@ -730,7 +783,7 @@ public class ElementsPackageImpl extends EPackageImpl implements ElementsPackage
// Obtain other dependent packages
TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);
UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
- ModelelementsPackage theModelelementsPackage = (ModelelementsPackage)EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI);
+ InfrastructurePackage theInfrastructurePackage = (InfrastructurePackage)EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI);
// Create type parameters
@@ -739,53 +792,91 @@ public class ElementsPackageImpl extends EPackageImpl implements ElementsPackage
// Add supertypes to classes
traceableSpecificationEClass.getESuperTypes().add(this.getEAPackageableElement());
eaPackageableElementEClass.getESuperTypes().add(this.getEAElement());
- realizationEClass.getESuperTypes().add(this.getRelationship());
+ contextEClass.getESuperTypes().add(this.getEAPackageableElement());
relationshipEClass.getESuperTypes().add(this.getEAElement());
- contextEClass.getESuperTypes().add(this.getEAElement());
- multiLevelReferenceEClass.getESuperTypes().add(this.getRelationship());
- rationaleEClass.getESuperTypes().add(theModelelementsPackage.getRationale());
+ realizationEClass.getESuperTypes().add(this.getRelationship());
eaPackageEClass.getESuperTypes().add(this.getEAElement());
- // Initialize classes and features; add operations and parameters
+ // Initialize classes, features, and operations; add parameters
initEClass(traceableSpecificationEClass, TraceableSpecification.class, "TraceableSpecification", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getTraceableSpecification_Note(), theTypesPackage.getString(), "note", null, 0, 1, TraceableSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(eaPackageableElementEClass, EAPackageableElement.class, "EAPackageableElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getEAPackageableElement_Base_PackageableElement(), theUMLPackage.getPackageableElement(), null, "base_PackageableElement", null, 1, 1, EAPackageableElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEClass(realizationEClass, Realization.class, "Realization", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getRealization_Realized(), this.getEAElement(), null, "realized", null, 1, -1, Realization.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
- initEReference(getRealization_RealizedBy(), theUMLPackage.getNamedElement(), null, "realizedBy", null, 0, -1, Realization.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
- initEReference(getRealization_Base_Realization(), theUMLPackage.getRealization(), null, "base_Realization", null, 1, 1, Realization.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getRealization_RealizedBy_path(), theUMLPackage.getNamedElement(), null, "realizedBy_path", null, 0, -1, Realization.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getRealization_Realized_path(), theUMLPackage.getNamedElement(), null, "realized_path", null, 0, -1, Realization.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(relationshipEClass, Relationship.class, "Relationship", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
initEClass(contextEClass, Context.class, "Context", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getContext_TraceableSpecification(), this.getTraceableSpecification(), null, "traceableSpecification", null, 0, -1, Context.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEReference(getContext_OwnedRelationship(), this.getRelationship(), null, "ownedRelationship", null, 0, -1, Context.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEClass(multiLevelReferenceEClass, MultiLevelReference.class, "MultiLevelReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getMultiLevelReference_Base_Dependency(), theUMLPackage.getDependency(), null, "base_Dependency", null, 1, 1, MultiLevelReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getMultiLevelReference_Referring(), this.getEAElement(), null, "referring", null, 1, 1, MultiLevelReference.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
- initEReference(getMultiLevelReference_Reference(), this.getEAElement(), null, "reference", null, 1, 1, MultiLevelReference.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEClass(relationshipEClass, Relationship.class, "Relationship", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(eaTypeEClass, EAType.class, "EAType", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getEAType_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 1, 1, EAType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(eaPortEClass, EAPort.class, "EAPort", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getEAPort_Base_Port(), theUMLPackage.getPort(), null, "base_Port", null, 1, 1, EAPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(eaConnectorEClass, EAConnector.class, "EAConnector", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getEAConnector_Base_Connector(), theUMLPackage.getConnector(), null, "base_Connector", null, 1, 1, EAConnector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(eaPrototypeEClass, EAPrototype.class, "EAPrototype", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getEAPrototype_Base_Property(), theUMLPackage.getProperty(), null, "base_Property", null, 1, 1, EAPrototype.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(realizationEClass, Realization.class, "Realization", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getRealization_Base_Realization(), theUMLPackage.getRealization(), null, "base_Realization", null, 1, 1, Realization.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getRealization_Realized(), theInfrastructurePackage.getRealization_realizedInstanceRef(), null, "realized", null, 1, -1, Realization.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getRealization_RealizedBy(), theInfrastructurePackage.getRealization_realizedByInstanceRef(), null, "realizedBy", null, 1, -1, Realization.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(rationaleEClass, Rationale.class, "Rationale", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getRationale_Base_Comment(), theUMLPackage.getComment(), null, "base_Comment", null, 1, 1, Rationale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEClass(eaPackageEClass, EAPackage.class, "EAPackage", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getEAPackage_SubPackages(), this.getEAPackage(), null, "subPackages", null, 0, -1, EAPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getEAPackage_Element(), this.getEAPackageableElement(), null, "element", null, 0, -1, EAPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEClass(eaPackageEClass, EAPackage.class, "EAPackage", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getEAPackage_SubPackage(), this.getEAPackage(), null, "subPackage", null, 0, -1, EAPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getEAPackage_Element(), this.getEAPackageableElement(), null, "element", null, 0, -1, EAPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEReference(getEAPackage_Base_Package(), theUMLPackage.getPackage(), null, "base_Package", null, 1, 1, EAPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEClass(commentEClass, Comment.class, "Comment", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getComment_Body(), theTypesPackage.getString(), "body", null, 1, 1, Comment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getComment_Base_Comment(), theUMLPackage.getComment(), null, "base_Comment", null, 1, 1, Comment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEClass(eaxmlEClass, org.eclipse.papyrus.eastadl.infrastructure.elements.EAXML.class, "EAXML", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEAXML_AdmindocumentVersion(), theTypesPackage.getString(), "admindocumentVersion", "2013-05-28", 1, 1, org.eclipse.papyrus.eastadl.infrastructure.elements.EAXML.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getEAXML_AutosardocumentVersion(), theTypesPackage.getString(), "autosardocumentVersion", "4.0", 1, 1, org.eclipse.papyrus.eastadl.infrastructure.elements.EAXML.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getEAXML_Xmlglobalelement(), theTypesPackage.getBoolean(), "xmlglobalelement", "true", 1, 1, org.eclipse.papyrus.eastadl.infrastructure.elements.EAXML.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getEAXML_TopLevelPackage(), this.getEAPackage(), null, "topLevelPackage", null, 0, -1, org.eclipse.papyrus.eastadl.infrastructure.elements.EAXML.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(eaElementEClass, EAElement.class, "EAElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getEAElement_Name(), theTypesPackage.getString(), "name", null, 0, 1, EAElement.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
initEReference(getEAElement_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 1, 1, EAElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getEAElement_OwnedComment(), this.getComment(), null, "ownedComment", null, 0, -1, EAElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getEAElement_Name(), theTypesPackage.getString(), "name", null, 0, 1, EAElement.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getEAElement_OwnedComment(), theUMLPackage.getComment(), null, "ownedComment", null, 0, -1, EAElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ // Create annotations
+ // http://www.eclipse.org/uml2/2.0.0/UML
+ createUMLAnnotations();
+ }
+
+ /**
+ * Initializes the annotations for <b>http://www.eclipse.org/uml2/2.0.0/UML</b>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void createUMLAnnotations() {
+ String source = "http://www.eclipse.org/uml2/2.0.0/UML";
+ addAnnotation
+ (getEAXML_AdmindocumentVersion(),
+ source,
+ new String[] {
+ "originalName", "admin.documentVersion"
+ });
+ addAnnotation
+ (getEAXML_AutosardocumentVersion(),
+ source,
+ new String[] {
+ "originalName", "autosar.documentVersion"
+ });
+ addAnnotation
+ (getEAXML_Xmlglobalelement(),
+ source,
+ new String[] {
+ "originalName", "xml.globalelement"
+ });
}
} //ElementsPackageImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/MultiLevelReferenceImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/MultiLevelReferenceImpl.java
deleted file mode 100644
index 1755b12118f..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/MultiLevelReferenceImpl.java
+++ /dev/null
@@ -1,242 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Sara TUCCI (CEA LIST) sara.tucci@cea.fr - Initial API and implementation
- * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
- * David SERVAT (CEA LIST) david.servat@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.eastadl.infrastructure.elements.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement;
-import org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage;
-import org.eclipse.papyrus.eastadl.infrastructure.elements.MultiLevelReference;
-import org.eclipse.uml2.uml.Dependency;
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.util.UMLUtil;
-
-
-/**
- * <!-- begin-user-doc --> An implementation of the model object ' <em><b>Multi Level Reference</b></em>'. <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.MultiLevelReferenceImpl#getBase_Dependency <em>Base Dependency</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.MultiLevelReferenceImpl#getReferring <em>Referring</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.MultiLevelReferenceImpl#getReference <em>Reference</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class MultiLevelReferenceImpl extends RelationshipImpl implements MultiLevelReference {
-
- /**
- * The cached value of the '{@link #getBase_Dependency() <em>Base Dependency</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getBase_Dependency()
- * @generated
- * @ordered
- */
- protected Dependency base_Dependency;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected MultiLevelReferenceImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated NOT
- */
- public EAElement basicGetReference() {
- EAElement result = null;
-
- if(getBase_Dependency() != null) {
- Element elt = getBase_Dependency().getSources().get(0);
-
- if(elt != null)
- result = (EAElement)UMLUtil.getStereotypeApplication(elt, EAElement.class);
- }
- return result;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated NOT
- */
- public EAElement basicGetReferring() {
- EAElement result = null;
-
- if(getBase_Dependency() != null) {
- Element elt = getBase_Dependency().getTargets().get(0);
-
- if(elt != null)
- result = (EAElement)UMLUtil.getStereotypeApplication(elt, EAElement.class);
- }
- return result;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case ElementsPackage.MULTI_LEVEL_REFERENCE__BASE_DEPENDENCY:
- if(resolve)
- return getBase_Dependency();
- return basicGetBase_Dependency();
- case ElementsPackage.MULTI_LEVEL_REFERENCE__REFERRING:
- if(resolve)
- return getReferring();
- return basicGetReferring();
- case ElementsPackage.MULTI_LEVEL_REFERENCE__REFERENCE:
- if(resolve)
- return getReference();
- return basicGetReference();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch(featureID) {
- case ElementsPackage.MULTI_LEVEL_REFERENCE__BASE_DEPENDENCY:
- return base_Dependency != null;
- case ElementsPackage.MULTI_LEVEL_REFERENCE__REFERRING:
- return basicGetReferring() != null;
- case ElementsPackage.MULTI_LEVEL_REFERENCE__REFERENCE:
- return basicGetReference() != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case ElementsPackage.MULTI_LEVEL_REFERENCE__BASE_DEPENDENCY:
- setBase_Dependency((Dependency)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ElementsPackage.Literals.MULTI_LEVEL_REFERENCE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public Dependency getBase_Dependency() {
- if(base_Dependency != null && base_Dependency.eIsProxy()) {
- InternalEObject oldBase_Dependency = (InternalEObject)base_Dependency;
- base_Dependency = (Dependency)eResolveProxy(oldBase_Dependency);
- if(base_Dependency != oldBase_Dependency) {
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, ElementsPackage.MULTI_LEVEL_REFERENCE__BASE_DEPENDENCY, oldBase_Dependency, base_Dependency));
- }
- }
- return base_Dependency;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public Dependency basicGetBase_Dependency() {
- return base_Dependency;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setBase_Dependency(Dependency newBase_Dependency) {
- Dependency oldBase_Dependency = base_Dependency;
- base_Dependency = newBase_Dependency;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ElementsPackage.MULTI_LEVEL_REFERENCE__BASE_DEPENDENCY, oldBase_Dependency, base_Dependency));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch(featureID) {
- case ElementsPackage.MULTI_LEVEL_REFERENCE__BASE_DEPENDENCY:
- setBase_Dependency((Dependency)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAElement getReference() {
- EAElement reference = basicGetReference();
- return reference != null && reference.eIsProxy() ? (EAElement)eResolveProxy((InternalEObject)reference) : reference;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAElement getReferring() {
- EAElement referring = basicGetReferring();
- return referring != null && referring.eIsProxy() ? (EAElement)eResolveProxy((InternalEObject)referring) : referring;
- }
-
-} // MultiLevelReferenceImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/RationaleImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/RationaleImpl.java
index 2a59e58948a..d75bff79ba0 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/RationaleImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/RationaleImpl.java
@@ -15,25 +15,43 @@
*****************************************************************************/
package org.eclipse.papyrus.eastadl.infrastructure.elements.impl;
+import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
import org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage;
import org.eclipse.papyrus.eastadl.infrastructure.elements.Rationale;
+import org.eclipse.uml2.uml.Comment;
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Rationale</b></em>'.
* <!-- end-user-doc -->
* <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.RationaleImpl#getBase_Comment <em>Base Comment</em>}</li>
+ * </ul>
* </p>
- *
+ *
* @generated
*/
-public class RationaleImpl extends org.eclipse.papyrus.sysml.modelelements.internal.impl.RationaleImpl implements Rationale {
+public class RationaleImpl extends MinimalEObjectImpl.Container implements Rationale {
+
+ /**
+ * The cached value of the '{@link #getBase_Comment() <em>Base Comment</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBase_Comment()
+ * @generated
+ * @ordered
+ */
+ protected Comment base_Comment;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected RationaleImpl() {
@@ -43,7 +61,6 @@ public class RationaleImpl extends org.eclipse.papyrus.sysml.modelelements.inter
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -51,4 +68,101 @@ public class RationaleImpl extends org.eclipse.papyrus.sysml.modelelements.inter
return ElementsPackage.Literals.RATIONALE;
}
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Comment getBase_Comment() {
+ if (base_Comment != null && base_Comment.eIsProxy()) {
+ InternalEObject oldBase_Comment = (InternalEObject)base_Comment;
+ base_Comment = (Comment)eResolveProxy(oldBase_Comment);
+ if (base_Comment != oldBase_Comment) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, ElementsPackage.RATIONALE__BASE_COMMENT, oldBase_Comment, base_Comment));
+ }
+ }
+ return base_Comment;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Comment basicGetBase_Comment() {
+ return base_Comment;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBase_Comment(Comment newBase_Comment) {
+ Comment oldBase_Comment = base_Comment;
+ base_Comment = newBase_Comment;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ElementsPackage.RATIONALE__BASE_COMMENT, oldBase_Comment, base_Comment));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case ElementsPackage.RATIONALE__BASE_COMMENT:
+ if (resolve) return getBase_Comment();
+ return basicGetBase_Comment();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case ElementsPackage.RATIONALE__BASE_COMMENT:
+ setBase_Comment((Comment)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case ElementsPackage.RATIONALE__BASE_COMMENT:
+ setBase_Comment((Comment)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case ElementsPackage.RATIONALE__BASE_COMMENT:
+ return base_Comment != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
} //RationaleImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/RealizationImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/RealizationImpl.java
index 038d9bad4a7..bfc85d1d0fa 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/RealizationImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/RealizationImpl.java
@@ -16,22 +16,18 @@
package org.eclipse.papyrus.eastadl.infrastructure.elements.impl;
import java.util.Collection;
-import java.util.Iterator;
-
import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.util.BasicEList;
+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.BasicInternalEList;
-import org.eclipse.emf.ecore.util.EObjectResolvingEList;
-import org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement;
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+import org.eclipse.papyrus.eastadl.infrastructure.Realization_realizedByInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.Realization_realizedInstanceRef;
import org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage;
import org.eclipse.papyrus.eastadl.infrastructure.elements.Realization;
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.NamedElement;
-import org.eclipse.uml2.uml.util.UMLUtil;
/**
@@ -40,14 +36,12 @@ import org.eclipse.uml2.uml.util.UMLUtil;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.RealizationImpl#getRealized <em>Realized</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.RealizationImpl#getRealizedBy <em>Realized By</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.RealizationImpl#getBase_Realization <em>Base Realization</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.RealizationImpl#getRealizedBy_path <em>Realized By path</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.RealizationImpl#getRealized_path <em>Realized path</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.RealizationImpl#getBase_Realization <em>Base Realization</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.RealizationImpl#getRealized <em>Realized</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.RealizationImpl#getRealizedBy <em>Realized By</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class RealizationImpl extends RelationshipImpl implements Realization {
@@ -56,7 +50,6 @@ public class RealizationImpl extends RelationshipImpl implements Realization {
* The cached value of the '{@link #getBase_Realization() <em>Base Realization</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getBase_Realization()
* @generated
* @ordered
@@ -64,30 +57,26 @@ public class RealizationImpl extends RelationshipImpl implements Realization {
protected org.eclipse.uml2.uml.Realization base_Realization;
/**
- * The cached value of the '{@link #getRealizedBy_path() <em>Realized By path</em>}' reference list.
+ * The cached value of the '{@link #getRealized() <em>Realized</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see #getRealizedBy_path()
+ * @see #getRealized()
* @generated
* @ordered
*/
- protected EList<NamedElement> realizedBy_path;
-
+ protected EList<Realization_realizedInstanceRef> realized;
/**
- * The cached value of the '{@link #getRealized_path() <em>Realized path</em>}' reference list.
+ * The cached value of the '{@link #getRealizedBy() <em>Realized By</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see #getRealized_path()
+ * @see #getRealizedBy()
* @generated
* @ordered
*/
- protected EList<NamedElement> realized_path;
+ protected EList<Realization_realizedByInstanceRef> realizedBy;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected RealizationImpl() {
@@ -96,77 +85,64 @@ public class RealizationImpl extends RelationshipImpl implements Realization {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case ElementsPackage.REALIZATION__REALIZED:
- return getRealized();
- case ElementsPackage.REALIZATION__REALIZED_BY:
- return getRealizedBy();
- case ElementsPackage.REALIZATION__BASE_REALIZATION:
- if(resolve)
- return getBase_Realization();
- return basicGetBase_Realization();
- case ElementsPackage.REALIZATION__REALIZED_BY_PATH:
- return getRealizedBy_path();
- case ElementsPackage.REALIZATION__REALIZED_PATH:
- return getRealized_path();
+ switch (featureID) {
+ case ElementsPackage.REALIZATION__BASE_REALIZATION:
+ if (resolve) return getBase_Realization();
+ return basicGetBase_Realization();
+ case ElementsPackage.REALIZATION__REALIZED:
+ return getRealized();
+ case ElementsPackage.REALIZATION__REALIZED_BY:
+ return getRealizedBy();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
- case ElementsPackage.REALIZATION__REALIZED:
- return !getRealized().isEmpty();
- case ElementsPackage.REALIZATION__REALIZED_BY:
- return !getRealizedBy().isEmpty();
- case ElementsPackage.REALIZATION__BASE_REALIZATION:
- return base_Realization != null;
- case ElementsPackage.REALIZATION__REALIZED_BY_PATH:
- return realizedBy_path != null && !realizedBy_path.isEmpty();
- case ElementsPackage.REALIZATION__REALIZED_PATH:
- return realized_path != null && !realized_path.isEmpty();
+ switch (featureID) {
+ case ElementsPackage.REALIZATION__BASE_REALIZATION:
+ return base_Realization != null;
+ case ElementsPackage.REALIZATION__REALIZED:
+ return realized != null && !realized.isEmpty();
+ case ElementsPackage.REALIZATION__REALIZED_BY:
+ return realizedBy != null && !realizedBy.isEmpty();
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case ElementsPackage.REALIZATION__BASE_REALIZATION:
- setBase_Realization((org.eclipse.uml2.uml.Realization)newValue);
- return;
- case ElementsPackage.REALIZATION__REALIZED_BY_PATH:
- getRealizedBy_path().clear();
- getRealizedBy_path().addAll((Collection<? extends NamedElement>)newValue);
- return;
- case ElementsPackage.REALIZATION__REALIZED_PATH:
- getRealized_path().clear();
- getRealized_path().addAll((Collection<? extends NamedElement>)newValue);
- return;
+ switch (featureID) {
+ case ElementsPackage.REALIZATION__BASE_REALIZATION:
+ setBase_Realization((org.eclipse.uml2.uml.Realization)newValue);
+ return;
+ case ElementsPackage.REALIZATION__REALIZED:
+ getRealized().clear();
+ getRealized().addAll((Collection<? extends Realization_realizedInstanceRef>)newValue);
+ return;
+ case ElementsPackage.REALIZATION__REALIZED_BY:
+ getRealizedBy().clear();
+ getRealizedBy().addAll((Collection<? extends Realization_realizedByInstanceRef>)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -176,86 +152,57 @@ public class RealizationImpl extends RelationshipImpl implements Realization {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
- case ElementsPackage.REALIZATION__BASE_REALIZATION:
- setBase_Realization((org.eclipse.uml2.uml.Realization)null);
- return;
- case ElementsPackage.REALIZATION__REALIZED_BY_PATH:
- getRealizedBy_path().clear();
- return;
- case ElementsPackage.REALIZATION__REALIZED_PATH:
- getRealized_path().clear();
- return;
+ switch (featureID) {
+ case ElementsPackage.REALIZATION__BASE_REALIZATION:
+ setBase_Realization((org.eclipse.uml2.uml.Realization)null);
+ return;
+ case ElementsPackage.REALIZATION__REALIZED:
+ getRealized().clear();
+ return;
+ case ElementsPackage.REALIZATION__REALIZED_BY:
+ getRealizedBy().clear();
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated NOT
+ * @generated
*/
- public EList<EAElement> getRealized() {
- EList<EAElement> results = new BasicEList<EAElement>();
- EAElement entity;
-
- if(getBase_Realization() != null) {
- // Parse owned Properties
- Iterator<Element> it = getBase_Realization().getTargets().iterator();
- while(it.hasNext()) {
- Element current = it.next();
-
- // Test if current is stereotyped eaelement
- entity = (EAElement)UMLUtil.getStereotypeApplication(current, EAElement.class);
-
- if(entity != null) {
- results.add(entity);
- }
- }
+ public EList<Realization_realizedInstanceRef> getRealized() {
+ if (realized == null) {
+ realized = new EObjectContainmentEList<Realization_realizedInstanceRef>(Realization_realizedInstanceRef.class, this, ElementsPackage.REALIZATION__REALIZED);
}
-
- // Convert to InternalEList<?>
- return new BasicInternalEList<EAElement>(EAElement.class, results.size(), results.toArray());
+ return realized;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated NOT
+ * @generated
*/
- public EList<NamedElement> getRealizedBy() {
- EList<NamedElement> results = new BasicEList<NamedElement>();
-
- if(getBase_Realization() != null) {
- // Parse owned Properties
- Iterator<NamedElement> it = getBase_Realization().getClients().iterator();
- while(it.hasNext()) {
- NamedElement current = it.next();
- results.add(current);
- }
+ public EList<Realization_realizedByInstanceRef> getRealizedBy() {
+ if (realizedBy == null) {
+ realizedBy = new EObjectContainmentEList<Realization_realizedByInstanceRef>(Realization_realizedByInstanceRef.class, this, ElementsPackage.REALIZATION__REALIZED_BY);
}
-
- // Convert to InternalEList<?>
- return new BasicInternalEList<NamedElement>(NamedElement.class, results.size(), results.toArray());
+ return realizedBy;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public org.eclipse.uml2.uml.Realization getBase_Realization() {
- if(base_Realization != null && base_Realization.eIsProxy()) {
+ if (base_Realization != null && base_Realization.eIsProxy()) {
InternalEObject oldBase_Realization = (InternalEObject)base_Realization;
base_Realization = (org.eclipse.uml2.uml.Realization)eResolveProxy(oldBase_Realization);
- if(base_Realization != oldBase_Realization) {
- if(eNotificationRequired())
+ if (base_Realization != oldBase_Realization) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE, ElementsPackage.REALIZATION__BASE_REALIZATION, oldBase_Realization, base_Realization));
}
}
@@ -265,7 +212,6 @@ public class RealizationImpl extends RelationshipImpl implements Realization {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public org.eclipse.uml2.uml.Realization basicGetBase_Realization() {
@@ -275,40 +221,29 @@ public class RealizationImpl extends RelationshipImpl implements Realization {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public void setBase_Realization(org.eclipse.uml2.uml.Realization newBase_Realization) {
org.eclipse.uml2.uml.Realization oldBase_Realization = base_Realization;
base_Realization = newBase_Realization;
- if(eNotificationRequired())
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, ElementsPackage.REALIZATION__BASE_REALIZATION, oldBase_Realization, base_Realization));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- public EList<NamedElement> getRealizedBy_path() {
- if(realizedBy_path == null) {
- realizedBy_path = new EObjectResolvingEList<NamedElement>(NamedElement.class, this, ElementsPackage.REALIZATION__REALIZED_BY_PATH);
- }
- return realizedBy_path;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EList<NamedElement> getRealized_path() {
- if(realized_path == null) {
- realized_path = new EObjectResolvingEList<NamedElement>(NamedElement.class, this, ElementsPackage.REALIZATION__REALIZED_PATH);
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case ElementsPackage.REALIZATION__REALIZED:
+ return ((InternalEList<?>)getRealized()).basicRemove(otherEnd, msgs);
+ case ElementsPackage.REALIZATION__REALIZED_BY:
+ return ((InternalEList<?>)getRealizedBy()).basicRemove(otherEnd, msgs);
}
- return realized_path;
+ return super.eInverseRemove(otherEnd, featureID, msgs);
}
} // RealizationImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/RelationshipImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/RelationshipImpl.java
index a386b9b423c..ef1523d793e 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/RelationshipImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/RelationshipImpl.java
@@ -26,15 +26,13 @@ import org.eclipse.papyrus.eastadl.infrastructure.elements.Relationship;
* <!-- end-user-doc -->
* <p>
* </p>
- *
+ *
* @generated
*/
public abstract class RelationshipImpl extends EAElementImpl implements Relationship {
-
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected RelationshipImpl() {
@@ -44,7 +42,6 @@ public abstract class RelationshipImpl extends EAElementImpl implements Relation
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/TraceableSpecificationImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/TraceableSpecificationImpl.java
index abd8782c9db..b6968595035 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/TraceableSpecificationImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/TraceableSpecificationImpl.java
@@ -29,19 +29,17 @@ import org.eclipse.papyrus.eastadl.infrastructure.elements.TraceableSpecificatio
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.TraceableSpecificationImpl#getNote <em>Note</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.elements.impl.TraceableSpecificationImpl#getNote <em>Note</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public abstract class TraceableSpecificationImpl extends EAPackageableElementImpl implements TraceableSpecification {
-
/**
* The default value of the '{@link #getNote() <em>Note</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getNote()
* @generated
* @ordered
@@ -52,7 +50,6 @@ public abstract class TraceableSpecificationImpl extends EAPackageableElementImp
* The cached value of the '{@link #getNote() <em>Note</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getNote()
* @generated
* @ordered
@@ -62,7 +59,6 @@ public abstract class TraceableSpecificationImpl extends EAPackageableElementImp
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected TraceableSpecificationImpl() {
@@ -72,14 +68,13 @@ public abstract class TraceableSpecificationImpl extends EAPackageableElementImp
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case ElementsPackage.TRACEABLE_SPECIFICATION__NOTE:
- return getNote();
+ switch (featureID) {
+ case ElementsPackage.TRACEABLE_SPECIFICATION__NOTE:
+ return getNote();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -87,14 +82,13 @@ public abstract class TraceableSpecificationImpl extends EAPackageableElementImp
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
- case ElementsPackage.TRACEABLE_SPECIFICATION__NOTE:
- return NOTE_EDEFAULT == null ? note != null : !NOTE_EDEFAULT.equals(note);
+ switch (featureID) {
+ case ElementsPackage.TRACEABLE_SPECIFICATION__NOTE:
+ return NOTE_EDEFAULT == null ? note != null : !NOTE_EDEFAULT.equals(note);
}
return super.eIsSet(featureID);
}
@@ -102,15 +96,14 @@ public abstract class TraceableSpecificationImpl extends EAPackageableElementImp
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case ElementsPackage.TRACEABLE_SPECIFICATION__NOTE:
- setNote((String)newValue);
- return;
+ switch (featureID) {
+ case ElementsPackage.TRACEABLE_SPECIFICATION__NOTE:
+ setNote((String)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -118,7 +111,6 @@ public abstract class TraceableSpecificationImpl extends EAPackageableElementImp
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -129,15 +121,14 @@ public abstract class TraceableSpecificationImpl extends EAPackageableElementImp
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
- case ElementsPackage.TRACEABLE_SPECIFICATION__NOTE:
- setNote(NOTE_EDEFAULT);
- return;
+ switch (featureID) {
+ case ElementsPackage.TRACEABLE_SPECIFICATION__NOTE:
+ setNote(NOTE_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -145,7 +136,6 @@ public abstract class TraceableSpecificationImpl extends EAPackageableElementImp
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public String getNote() {
@@ -155,26 +145,23 @@ public abstract class TraceableSpecificationImpl extends EAPackageableElementImp
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public void setNote(String newNote) {
String oldNote = note;
note = newNote;
- if(eNotificationRequired())
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, ElementsPackage.TRACEABLE_SPECIFICATION__NOTE, oldNote, note));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
- return super.toString();
+ if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (note: ");
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/util/ElementsAdapterFactory.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/util/ElementsAdapterFactory.java
index 692b2c0e176..93bd481fe49 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/util/ElementsAdapterFactory.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/util/ElementsAdapterFactory.java
@@ -19,14 +19,16 @@ 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;
-import org.eclipse.papyrus.eastadl.infrastructure.elements.*;
-import org.eclipse.papyrus.eastadl.infrastructure.elements.Comment;
import org.eclipse.papyrus.eastadl.infrastructure.elements.Context;
+import org.eclipse.papyrus.eastadl.infrastructure.elements.EAConnector;
import org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement;
import org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackage;
import org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackageableElement;
+import org.eclipse.papyrus.eastadl.infrastructure.elements.EAPort;
+import org.eclipse.papyrus.eastadl.infrastructure.elements.EAPrototype;
+import org.eclipse.papyrus.eastadl.infrastructure.elements.EAType;
+import org.eclipse.papyrus.eastadl.infrastructure.elements.EAXML;
import org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage;
-import org.eclipse.papyrus.eastadl.infrastructure.elements.MultiLevelReference;
import org.eclipse.papyrus.eastadl.infrastructure.elements.Rationale;
import org.eclipse.papyrus.eastadl.infrastructure.elements.Realization;
import org.eclipse.papyrus.eastadl.infrastructure.elements.Relationship;
@@ -38,17 +40,14 @@ import org.eclipse.papyrus.eastadl.infrastructure.elements.TraceableSpecificatio
* 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.papyrus.eastadl.infrastructure.elements.ElementsPackage
* @generated
*/
public class ElementsAdapterFactory extends AdapterFactoryImpl {
-
/**
* The cached model package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected static ElementsPackage modelPackage;
@@ -57,81 +56,76 @@ public class ElementsAdapterFactory extends AdapterFactoryImpl {
* The switch that delegates to the <code>createXXX</code> methods.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- protected ElementsSwitch<Adapter> modelSwitch = new ElementsSwitch<Adapter>() {
-
- @Override
- public Adapter caseTraceableSpecification(TraceableSpecification object) {
- return createTraceableSpecificationAdapter();
- }
-
- @Override
- public Adapter caseEAPackageableElement(EAPackageableElement object) {
- return createEAPackageableElementAdapter();
- }
-
- @Override
- public Adapter caseRealization(Realization object) {
- return createRealizationAdapter();
- }
-
- @Override
- public Adapter caseRelationship(Relationship object) {
- return createRelationshipAdapter();
- }
-
- @Override
- public Adapter caseContext(Context object) {
- return createContextAdapter();
- }
-
- @Override
- public Adapter caseMultiLevelReference(MultiLevelReference object) {
- return createMultiLevelReferenceAdapter();
- }
-
- @Override
- public Adapter caseRationale(Rationale object) {
- return createRationaleAdapter();
- }
-
- @Override
- public Adapter caseEAPackage(EAPackage object) {
- return createEAPackageAdapter();
- }
-
- @Override
- public Adapter caseComment(Comment object) {
- return createCommentAdapter();
- }
-
- @Override
- public Adapter caseEAElement(EAElement object) {
- return createEAElementAdapter();
- }
-
- @Override
- public Adapter caseModelelements_Rationale(org.eclipse.papyrus.sysml.modelelements.Rationale object) {
- return createModelelements_RationaleAdapter();
- }
-
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
+ protected ElementsSwitch<Adapter> modelSwitch =
+ new ElementsSwitch<Adapter>() {
+ @Override
+ public Adapter caseTraceableSpecification(TraceableSpecification object) {
+ return createTraceableSpecificationAdapter();
+ }
+ @Override
+ public Adapter caseEAPackageableElement(EAPackageableElement object) {
+ return createEAPackageableElementAdapter();
+ }
+ @Override
+ public Adapter caseContext(Context object) {
+ return createContextAdapter();
+ }
+ @Override
+ public Adapter caseRelationship(Relationship object) {
+ return createRelationshipAdapter();
+ }
+ @Override
+ public Adapter caseEAType(EAType object) {
+ return createEATypeAdapter();
+ }
+ @Override
+ public Adapter caseEAPort(EAPort object) {
+ return createEAPortAdapter();
+ }
+ @Override
+ public Adapter caseEAConnector(EAConnector object) {
+ return createEAConnectorAdapter();
+ }
+ @Override
+ public Adapter caseEAPrototype(EAPrototype object) {
+ return createEAPrototypeAdapter();
+ }
+ @Override
+ public Adapter caseRealization(Realization object) {
+ return createRealizationAdapter();
+ }
+ @Override
+ public Adapter caseRationale(Rationale object) {
+ return createRationaleAdapter();
+ }
+ @Override
+ public Adapter caseEAPackage(EAPackage object) {
+ return createEAPackageAdapter();
+ }
+ @Override
+ public Adapter caseEAXML(EAXML object) {
+ return createEAXMLAdapter();
+ }
+ @Override
+ public Adapter caseEAElement(EAElement object) {
+ return createEAElementAdapter();
+ }
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
/**
* Creates an instance of the adapter factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public ElementsAdapterFactory() {
- if(modelPackage == null) {
+ if (modelPackage == null) {
modelPackage = ElementsPackage.eINSTANCE;
}
}
@@ -140,9 +134,7 @@ public class ElementsAdapterFactory extends AdapterFactoryImpl {
* Creates an adapter for the <code>target</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param target
- * the object to adapt.
+ * @param target the object to adapt.
* @return the adapter for the <code>target</code>.
* @generated
*/
@@ -157,7 +149,6 @@ public class ElementsAdapterFactory extends AdapterFactoryImpl {
* 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.papyrus.eastadl.infrastructure.elements.Context
* @generated
@@ -172,7 +163,6 @@ public class ElementsAdapterFactory extends AdapterFactoryImpl {
* <!-- begin-user-doc -->
* This default implementation returns null.
* <!-- end-user-doc -->
- *
* @return the new adapter.
* @generated
*/
@@ -181,28 +171,11 @@ public class ElementsAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.MultiLevelReference
- * <em>Multi Level 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.papyrus.eastadl.infrastructure.elements.MultiLevelReference
- * @generated
- */
- public Adapter createMultiLevelReferenceAdapter() {
- return null;
- }
-
- /**
* Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Rationale <em>Rationale</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.papyrus.eastadl.infrastructure.elements.Rationale
* @generated
@@ -217,7 +190,6 @@ public class ElementsAdapterFactory extends AdapterFactoryImpl {
* 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.papyrus.eastadl.infrastructure.elements.EAPackage
* @generated
@@ -227,17 +199,16 @@ public class ElementsAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Comment <em>Comment</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAXML <em>EAXML</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.papyrus.eastadl.infrastructure.elements.Comment
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.EAXML
* @generated
*/
- public Adapter createCommentAdapter() {
+ public Adapter createEAXMLAdapter() {
return null;
}
@@ -247,7 +218,6 @@ public class ElementsAdapterFactory extends AdapterFactoryImpl {
* 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.papyrus.eastadl.infrastructure.elements.EAElement
* @generated
@@ -262,7 +232,6 @@ public class ElementsAdapterFactory extends AdapterFactoryImpl {
* 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.papyrus.eastadl.infrastructure.elements.Realization
* @generated
@@ -277,7 +246,6 @@ public class ElementsAdapterFactory extends AdapterFactoryImpl {
* 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.papyrus.eastadl.infrastructure.elements.Relationship
* @generated
@@ -287,49 +255,86 @@ public class ElementsAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.TraceableSpecification
- * <em>Traceable Specification</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAType <em>EA Type</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.papyrus.eastadl.infrastructure.elements.TraceableSpecification
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.EAType
* @generated
*/
- public Adapter createTraceableSpecificationAdapter() {
+ public Adapter createEATypeAdapter() {
return null;
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackageableElement
- * <em>EA Packageable Element</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPort <em>EA Port</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.papyrus.eastadl.infrastructure.elements.EAPackageableElement
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.EAPort
* @generated
*/
- public Adapter createEAPackageableElementAdapter() {
+ public Adapter createEAPortAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAConnector <em>EA Connector</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.papyrus.eastadl.infrastructure.elements.EAConnector
+ * @generated
+ */
+ public Adapter createEAConnectorAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPrototype <em>EA Prototype</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.papyrus.eastadl.infrastructure.elements.EAPrototype
+ * @generated
+ */
+ public Adapter createEAPrototypeAdapter() {
return null;
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.modelelements.Rationale <em>Rationale</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.TraceableSpecification <em>Traceable 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.papyrus.sysml.modelelements.Rationale
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.TraceableSpecification
* @generated
*/
- public Adapter createModelelements_RationaleAdapter() {
+ public Adapter createTraceableSpecificationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackageableElement <em>EA Packageable 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.papyrus.eastadl.infrastructure.elements.EAPackageableElement
+ * @generated
+ */
+ public Adapter createEAPackageableElementAdapter() {
return null;
}
@@ -338,16 +343,15 @@ public class ElementsAdapterFactory extends AdapterFactoryImpl {
* <!-- 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) {
+ if (object == modelPackage) {
return true;
}
- if(object instanceof EObject) {
+ if (object instanceof EObject) {
return ((EObject)object).eClass().getEPackage() == modelPackage;
}
return false;
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/util/ElementsResourceFactoryImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/util/ElementsResourceFactoryImpl.java
index 2c8c34f88b0..754643b1aa0 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/util/ElementsResourceFactoryImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/util/ElementsResourceFactoryImpl.java
@@ -24,17 +24,14 @@ 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.papyrus.eastadl.infrastructure.elements.util.ElementsResourceImpl
* @generated
*/
public class ElementsResourceFactoryImpl extends ResourceFactoryImpl {
-
/**
* Creates an instance of the resource factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public ElementsResourceFactoryImpl() {
@@ -45,7 +42,6 @@ public class ElementsResourceFactoryImpl extends ResourceFactoryImpl {
* Creates an instance of the resource.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/util/ElementsResourceImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/util/ElementsResourceImpl.java
index d4fb3dd02b8..b96b8a9f20c 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/util/ElementsResourceImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/util/ElementsResourceImpl.java
@@ -22,19 +22,15 @@ 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.papyrus.eastadl.infrastructure.elements.util.ElementsResourceFactoryImpl
* @generated
*/
public class ElementsResourceImpl extends XMLResourceImpl {
-
/**
* Creates an instance of the resource.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param uri
- * the URI of the new resource.
+ * @param uri the URI of the new resource.
* @generated
*/
public ElementsResourceImpl(URI uri) {
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/util/ElementsSwitch.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/util/ElementsSwitch.java
index 93c996911af..1b893d8ce93 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/util/ElementsSwitch.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/util/ElementsSwitch.java
@@ -18,14 +18,16 @@ package org.eclipse.papyrus.eastadl.infrastructure.elements.util;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.util.Switch;
-import org.eclipse.papyrus.eastadl.infrastructure.elements.*;
-import org.eclipse.papyrus.eastadl.infrastructure.elements.Comment;
import org.eclipse.papyrus.eastadl.infrastructure.elements.Context;
+import org.eclipse.papyrus.eastadl.infrastructure.elements.EAConnector;
import org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement;
import org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackage;
import org.eclipse.papyrus.eastadl.infrastructure.elements.EAPackageableElement;
+import org.eclipse.papyrus.eastadl.infrastructure.elements.EAPort;
+import org.eclipse.papyrus.eastadl.infrastructure.elements.EAPrototype;
+import org.eclipse.papyrus.eastadl.infrastructure.elements.EAType;
+import org.eclipse.papyrus.eastadl.infrastructure.elements.EAXML;
import org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage;
-import org.eclipse.papyrus.eastadl.infrastructure.elements.MultiLevelReference;
import org.eclipse.papyrus.eastadl.infrastructure.elements.Rationale;
import org.eclipse.papyrus.eastadl.infrastructure.elements.Realization;
import org.eclipse.papyrus.eastadl.infrastructure.elements.Relationship;
@@ -35,23 +37,21 @@ import org.eclipse.papyrus.eastadl.infrastructure.elements.TraceableSpecificatio
/**
* <!-- 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,
+ * 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.papyrus.eastadl.infrastructure.elements.ElementsPackage
* @generated
*/
public class ElementsSwitch<T> extends Switch<T> {
-
/**
* The cached model package
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected static ElementsPackage modelPackage;
@@ -60,11 +60,10 @@ public class ElementsSwitch<T> extends Switch<T> {
* Creates an instance of the switch.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public ElementsSwitch() {
- if(modelPackage == null) {
+ if (modelPackage == null) {
modelPackage = ElementsPackage.eINSTANCE;
}
}
@@ -73,7 +72,6 @@ public class ElementsSwitch<T> extends Switch<T> {
* Checks whether this is a switch for the given package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @parameter ePackage the package in question.
* @return whether this is a switch for the given package.
* @generated
@@ -89,9 +87,7 @@ public class ElementsSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
+ * @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Context</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -101,31 +97,12 @@ public class ElementsSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Multi Level 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>Multi Level Reference</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseMultiLevelReference(MultiLevelReference object) {
- return null;
- }
-
- /**
* Returns the result of interpreting the object as an instance of '<em>Rationale</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.
+ * @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Rationale</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -140,9 +117,7 @@ public class ElementsSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
+ * @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EA Package</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -152,19 +127,17 @@ public class ElementsSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Comment</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>EAXML</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>Comment</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>EAXML</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseComment(Comment object) {
+ public T caseEAXML(EAXML object) {
return null;
}
@@ -174,9 +147,7 @@ public class ElementsSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
+ * @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EA Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -191,9 +162,7 @@ public class ElementsSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
+ * @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Realization</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -208,9 +177,7 @@ public class ElementsSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
+ * @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
@@ -220,53 +187,92 @@ public class ElementsSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Traceable Specification</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>EA Type</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>Traceable Specification</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>EA Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseTraceableSpecification(TraceableSpecification object) {
+ public T caseEAType(EAType object) {
return null;
}
/**
- * Returns the result of interpreting the object as an instance of '<em>EA Packageable Element</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>EA Port</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>EA Packageable Element</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>EA Port</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseEAPackageableElement(EAPackageableElement object) {
+ public T caseEAPort(EAPort object) {
return null;
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Rationale</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>EA Connector</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>Rationale</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>EA Connector</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseModelelements_Rationale(org.eclipse.papyrus.sysml.modelelements.Rationale object) {
+ public T caseEAConnector(EAConnector object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>EA Prototype</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>EA Prototype</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseEAPrototype(EAPrototype object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Traceable 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>Traceable Specification</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTraceableSpecification(TraceableSpecification object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>EA Packageable 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>EA Packageable Element</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseEAPackageableElement(EAPackageableElement object) {
return null;
}
@@ -276,9 +282,7 @@ public class ElementsSwitch<T> extends Switch<T> {
* 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.
+ * @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
@@ -292,117 +296,100 @@ public class ElementsSwitch<T> extends Switch<T> {
* 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
*/
@Override
protected T doSwitch(int classifierID, EObject theEObject) {
- switch(classifierID) {
- case ElementsPackage.TRACEABLE_SPECIFICATION:
- {
- TraceableSpecification traceableSpecification = (TraceableSpecification)theEObject;
- T result = caseTraceableSpecification(traceableSpecification);
- if(result == null)
- result = caseEAPackageableElement(traceableSpecification);
- if(result == null)
- result = caseEAElement(traceableSpecification);
- if(result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case ElementsPackage.EA_PACKAGEABLE_ELEMENT:
- {
- EAPackageableElement eaPackageableElement = (EAPackageableElement)theEObject;
- T result = caseEAPackageableElement(eaPackageableElement);
- if(result == null)
- result = caseEAElement(eaPackageableElement);
- if(result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case ElementsPackage.REALIZATION:
- {
- Realization realization = (Realization)theEObject;
- T result = caseRealization(realization);
- if(result == null)
- result = caseRelationship(realization);
- if(result == null)
- result = caseEAElement(realization);
- if(result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case ElementsPackage.RELATIONSHIP:
- {
- Relationship relationship = (Relationship)theEObject;
- T result = caseRelationship(relationship);
- if(result == null)
- result = caseEAElement(relationship);
- if(result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case ElementsPackage.CONTEXT:
- {
- Context context = (Context)theEObject;
- T result = caseContext(context);
- if(result == null)
- result = caseEAElement(context);
- if(result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case ElementsPackage.MULTI_LEVEL_REFERENCE:
- {
- MultiLevelReference multiLevelReference = (MultiLevelReference)theEObject;
- T result = caseMultiLevelReference(multiLevelReference);
- if(result == null)
- result = caseRelationship(multiLevelReference);
- if(result == null)
- result = caseEAElement(multiLevelReference);
- if(result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case ElementsPackage.RATIONALE:
- {
- Rationale rationale = (Rationale)theEObject;
- T result = caseRationale(rationale);
- if(result == null)
- result = caseModelelements_Rationale(rationale);
- if(result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case ElementsPackage.EA_PACKAGE:
- {
- EAPackage eaPackage = (EAPackage)theEObject;
- T result = caseEAPackage(eaPackage);
- if(result == null)
- result = caseEAElement(eaPackage);
- if(result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case ElementsPackage.COMMENT:
- {
- Comment comment = (Comment)theEObject;
- T result = caseComment(comment);
- if(result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case ElementsPackage.EA_ELEMENT:
- {
- EAElement eaElement = (EAElement)theEObject;
- T result = caseEAElement(eaElement);
- if(result == null)
- result = defaultCase(theEObject);
- return result;
- }
- default:
- return defaultCase(theEObject);
+ switch (classifierID) {
+ case ElementsPackage.TRACEABLE_SPECIFICATION: {
+ TraceableSpecification traceableSpecification = (TraceableSpecification)theEObject;
+ T result = caseTraceableSpecification(traceableSpecification);
+ if (result == null) result = caseEAPackageableElement(traceableSpecification);
+ if (result == null) result = caseEAElement(traceableSpecification);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ElementsPackage.EA_PACKAGEABLE_ELEMENT: {
+ EAPackageableElement eaPackageableElement = (EAPackageableElement)theEObject;
+ T result = caseEAPackageableElement(eaPackageableElement);
+ if (result == null) result = caseEAElement(eaPackageableElement);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ElementsPackage.CONTEXT: {
+ Context context = (Context)theEObject;
+ T result = caseContext(context);
+ if (result == null) result = caseEAPackageableElement(context);
+ if (result == null) result = caseEAElement(context);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ElementsPackage.RELATIONSHIP: {
+ Relationship relationship = (Relationship)theEObject;
+ T result = caseRelationship(relationship);
+ if (result == null) result = caseEAElement(relationship);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ElementsPackage.EA_TYPE: {
+ EAType eaType = (EAType)theEObject;
+ T result = caseEAType(eaType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ElementsPackage.EA_PORT: {
+ EAPort eaPort = (EAPort)theEObject;
+ T result = caseEAPort(eaPort);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ElementsPackage.EA_CONNECTOR: {
+ EAConnector eaConnector = (EAConnector)theEObject;
+ T result = caseEAConnector(eaConnector);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ElementsPackage.EA_PROTOTYPE: {
+ EAPrototype eaPrototype = (EAPrototype)theEObject;
+ T result = caseEAPrototype(eaPrototype);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ElementsPackage.REALIZATION: {
+ Realization realization = (Realization)theEObject;
+ T result = caseRealization(realization);
+ if (result == null) result = caseRelationship(realization);
+ if (result == null) result = caseEAElement(realization);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ElementsPackage.RATIONALE: {
+ Rationale rationale = (Rationale)theEObject;
+ T result = caseRationale(rationale);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ElementsPackage.EA_PACKAGE: {
+ EAPackage eaPackage = (EAPackage)theEObject;
+ T result = caseEAPackage(eaPackage);
+ if (result == null) result = caseEAElement(eaPackage);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ElementsPackage.EAXML: {
+ EAXML eaxml = (EAXML)theEObject;
+ T result = caseEAXML(eaxml);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ElementsPackage.EA_ELEMENT: {
+ EAElement eaElement = (EAElement)theEObject;
+ T result = caseEAElement(eaElement);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
}
}
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/util/ElementsXMLProcessor.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/util/ElementsXMLProcessor.java
index 2b94139c0ed..3b8f7c0950f 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/util/ElementsXMLProcessor.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/util/ElementsXMLProcessor.java
@@ -27,7 +27,6 @@ import org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage;
* This class contains helper methods to serialize and deserialize XML documents
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public class ElementsXMLProcessor extends XMLProcessor {
@@ -36,24 +35,22 @@ public class ElementsXMLProcessor extends XMLProcessor {
* Public constructor to instantiate the helper.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public ElementsXMLProcessor() {
super((EPackage.Registry.INSTANCE));
ElementsPackage.eINSTANCE.eClass();
}
-
+
/**
* Register for "*" and "xml" file extensions the ElementsResourceFactoryImpl factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
protected Map<String, Resource.Factory> getRegistrations() {
- if(registrations == null) {
+ if (registrations == null) {
super.getRegistrations();
registrations.put(XML_EXTENSION, new ElementsResourceFactoryImpl());
registrations.put(STAR_EXTENSION, new ElementsResourceFactoryImpl());
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/AllocatedElementInstanceRefImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/AllocatedElementInstanceRefImpl.java
new file mode 100644
index 00000000000..98a6fb09379
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/AllocatedElementInstanceRefImpl.java
@@ -0,0 +1,192 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.impl;
+
+import java.util.Collection;
+
+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.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.papyrus.eastadl.infrastructure.AllocatedElementInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.AllocateableElement;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Allocated Element Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.AllocatedElementInstanceRefImpl#getAllocateableElement <em>Allocateable Element</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.AllocatedElementInstanceRefImpl#getAllocateableElement_context <em>Allocateable Element context</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class AllocatedElementInstanceRefImpl extends InstanceRefImpl implements AllocatedElementInstanceRef {
+ /**
+ * The cached value of the '{@link #getAllocateableElement() <em>Allocateable Element</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAllocateableElement()
+ * @generated
+ * @ordered
+ */
+ protected AllocateableElement allocateableElement;
+
+ /**
+ * The cached value of the '{@link #getAllocateableElement_context() <em>Allocateable Element context</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAllocateableElement_context()
+ * @generated
+ * @ordered
+ */
+ protected EList<AllocateableElement> allocateableElement_context;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected AllocatedElementInstanceRefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return InfrastructurePackage.Literals.ALLOCATED_ELEMENT_INSTANCE_REF;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public AllocateableElement getAllocateableElement() {
+ if (allocateableElement != null && allocateableElement.eIsProxy()) {
+ InternalEObject oldAllocateableElement = (InternalEObject)allocateableElement;
+ allocateableElement = (AllocateableElement)eResolveProxy(oldAllocateableElement);
+ if (allocateableElement != oldAllocateableElement) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfrastructurePackage.ALLOCATED_ELEMENT_INSTANCE_REF__ALLOCATEABLE_ELEMENT, oldAllocateableElement, allocateableElement));
+ }
+ }
+ return allocateableElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public AllocateableElement basicGetAllocateableElement() {
+ return allocateableElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAllocateableElement(AllocateableElement newAllocateableElement) {
+ AllocateableElement oldAllocateableElement = allocateableElement;
+ allocateableElement = newAllocateableElement;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, InfrastructurePackage.ALLOCATED_ELEMENT_INSTANCE_REF__ALLOCATEABLE_ELEMENT, oldAllocateableElement, allocateableElement));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<AllocateableElement> getAllocateableElement_context() {
+ if (allocateableElement_context == null) {
+ allocateableElement_context = new EObjectResolvingEList<AllocateableElement>(AllocateableElement.class, this, InfrastructurePackage.ALLOCATED_ELEMENT_INSTANCE_REF__ALLOCATEABLE_ELEMENT_CONTEXT);
+ }
+ return allocateableElement_context;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case InfrastructurePackage.ALLOCATED_ELEMENT_INSTANCE_REF__ALLOCATEABLE_ELEMENT:
+ if (resolve) return getAllocateableElement();
+ return basicGetAllocateableElement();
+ case InfrastructurePackage.ALLOCATED_ELEMENT_INSTANCE_REF__ALLOCATEABLE_ELEMENT_CONTEXT:
+ return getAllocateableElement_context();
+ }
+ 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 InfrastructurePackage.ALLOCATED_ELEMENT_INSTANCE_REF__ALLOCATEABLE_ELEMENT:
+ setAllocateableElement((AllocateableElement)newValue);
+ return;
+ case InfrastructurePackage.ALLOCATED_ELEMENT_INSTANCE_REF__ALLOCATEABLE_ELEMENT_CONTEXT:
+ getAllocateableElement_context().clear();
+ getAllocateableElement_context().addAll((Collection<? extends AllocateableElement>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.ALLOCATED_ELEMENT_INSTANCE_REF__ALLOCATEABLE_ELEMENT:
+ setAllocateableElement((AllocateableElement)null);
+ return;
+ case InfrastructurePackage.ALLOCATED_ELEMENT_INSTANCE_REF__ALLOCATEABLE_ELEMENT_CONTEXT:
+ getAllocateableElement_context().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.ALLOCATED_ELEMENT_INSTANCE_REF__ALLOCATEABLE_ELEMENT:
+ return allocateableElement != null;
+ case InfrastructurePackage.ALLOCATED_ELEMENT_INSTANCE_REF__ALLOCATEABLE_ELEMENT_CONTEXT:
+ return allocateableElement_context != null && !allocateableElement_context.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //AllocatedElementInstanceRefImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRefImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRefImpl.java
new file mode 100644
index 00000000000..ed8b597975d
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRefImpl.java
@@ -0,0 +1,193 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.impl;
+
+import java.util.Collection;
+
+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.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionConnector;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Behavior Constraint Internal Binding through Function Connector Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRefImpl#getFunctionConnector <em>Function Connector</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRefImpl#getFunctionPrototype <em>Function Prototype</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRefImpl extends InstanceRefImpl implements BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef {
+ /**
+ * The cached value of the '{@link #getFunctionConnector() <em>Function Connector</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFunctionConnector()
+ * @generated
+ * @ordered
+ */
+ protected FunctionConnector functionConnector;
+
+ /**
+ * The cached value of the '{@link #getFunctionPrototype() <em>Function Prototype</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFunctionPrototype()
+ * @generated
+ * @ordered
+ */
+ protected EList<FunctionPrototype> functionPrototype;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return InfrastructurePackage.Literals.BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_FUNCTION_CONNECTOR_INSTANCE_REF;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FunctionConnector getFunctionConnector() {
+ if (functionConnector != null && functionConnector.eIsProxy()) {
+ InternalEObject oldFunctionConnector = (InternalEObject)functionConnector;
+ functionConnector = (FunctionConnector)eResolveProxy(oldFunctionConnector);
+ if (functionConnector != oldFunctionConnector) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfrastructurePackage.BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_FUNCTION_CONNECTOR_INSTANCE_REF__FUNCTION_CONNECTOR, oldFunctionConnector, functionConnector));
+ }
+ }
+ return functionConnector;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FunctionConnector basicGetFunctionConnector() {
+ return functionConnector;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFunctionConnector(FunctionConnector newFunctionConnector) {
+ FunctionConnector oldFunctionConnector = functionConnector;
+ functionConnector = newFunctionConnector;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, InfrastructurePackage.BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_FUNCTION_CONNECTOR_INSTANCE_REF__FUNCTION_CONNECTOR, oldFunctionConnector, functionConnector));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<FunctionPrototype> getFunctionPrototype() {
+ if (functionPrototype == null) {
+ functionPrototype = new EObjectResolvingEList<FunctionPrototype>(FunctionPrototype.class, this, InfrastructurePackage.BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_FUNCTION_CONNECTOR_INSTANCE_REF__FUNCTION_PROTOTYPE);
+ }
+ return functionPrototype;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_FUNCTION_CONNECTOR_INSTANCE_REF__FUNCTION_CONNECTOR:
+ if (resolve) return getFunctionConnector();
+ return basicGetFunctionConnector();
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_FUNCTION_CONNECTOR_INSTANCE_REF__FUNCTION_PROTOTYPE:
+ return getFunctionPrototype();
+ }
+ 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 InfrastructurePackage.BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_FUNCTION_CONNECTOR_INSTANCE_REF__FUNCTION_CONNECTOR:
+ setFunctionConnector((FunctionConnector)newValue);
+ return;
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_FUNCTION_CONNECTOR_INSTANCE_REF__FUNCTION_PROTOTYPE:
+ getFunctionPrototype().clear();
+ getFunctionPrototype().addAll((Collection<? extends FunctionPrototype>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_FUNCTION_CONNECTOR_INSTANCE_REF__FUNCTION_CONNECTOR:
+ setFunctionConnector((FunctionConnector)null);
+ return;
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_FUNCTION_CONNECTOR_INSTANCE_REF__FUNCTION_PROTOTYPE:
+ getFunctionPrototype().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_FUNCTION_CONNECTOR_INSTANCE_REF__FUNCTION_CONNECTOR:
+ return functionConnector != null;
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_FUNCTION_CONNECTOR_INSTANCE_REF__FUNCTION_PROTOTYPE:
+ return functionPrototype != null && !functionPrototype.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRefImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRefImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRefImpl.java
new file mode 100644
index 00000000000..02a55d50529
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRefImpl.java
@@ -0,0 +1,193 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.impl;
+
+import java.util.Collection;
+
+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.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentPrototype;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareConnector;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Behavior Constraint Internal Binding through Hardware Connector Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRefImpl#getHardwareConnector <em>Hardware Connector</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRefImpl#getHardwareComponentPrototype <em>Hardware Component Prototype</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRefImpl extends InstanceRefImpl implements BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef {
+ /**
+ * The cached value of the '{@link #getHardwareConnector() <em>Hardware Connector</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getHardwareConnector()
+ * @generated
+ * @ordered
+ */
+ protected HardwareConnector hardwareConnector;
+
+ /**
+ * The cached value of the '{@link #getHardwareComponentPrototype() <em>Hardware Component Prototype</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getHardwareComponentPrototype()
+ * @generated
+ * @ordered
+ */
+ protected EList<HardwareComponentPrototype> hardwareComponentPrototype;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return InfrastructurePackage.Literals.BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_HARDWARE_CONNECTOR_INSTANCE_REF;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public HardwareConnector getHardwareConnector() {
+ if (hardwareConnector != null && hardwareConnector.eIsProxy()) {
+ InternalEObject oldHardwareConnector = (InternalEObject)hardwareConnector;
+ hardwareConnector = (HardwareConnector)eResolveProxy(oldHardwareConnector);
+ if (hardwareConnector != oldHardwareConnector) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfrastructurePackage.BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_CONNECTOR, oldHardwareConnector, hardwareConnector));
+ }
+ }
+ return hardwareConnector;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public HardwareConnector basicGetHardwareConnector() {
+ return hardwareConnector;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setHardwareConnector(HardwareConnector newHardwareConnector) {
+ HardwareConnector oldHardwareConnector = hardwareConnector;
+ hardwareConnector = newHardwareConnector;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, InfrastructurePackage.BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_CONNECTOR, oldHardwareConnector, hardwareConnector));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<HardwareComponentPrototype> getHardwareComponentPrototype() {
+ if (hardwareComponentPrototype == null) {
+ hardwareComponentPrototype = new EObjectResolvingEList<HardwareComponentPrototype>(HardwareComponentPrototype.class, this, InfrastructurePackage.BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE);
+ }
+ return hardwareComponentPrototype;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_CONNECTOR:
+ if (resolve) return getHardwareConnector();
+ return basicGetHardwareConnector();
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE:
+ return getHardwareComponentPrototype();
+ }
+ 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 InfrastructurePackage.BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_CONNECTOR:
+ setHardwareConnector((HardwareConnector)newValue);
+ return;
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE:
+ getHardwareComponentPrototype().clear();
+ getHardwareComponentPrototype().addAll((Collection<? extends HardwareComponentPrototype>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_CONNECTOR:
+ setHardwareConnector((HardwareConnector)null);
+ return;
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE:
+ getHardwareComponentPrototype().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_CONNECTOR:
+ return hardwareConnector != null;
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE:
+ return hardwareComponentPrototype != null && !hardwareComponentPrototype.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRefImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/BehaviorConstraintPrototype_errorModelTargetInstanceRefImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/BehaviorConstraintPrototype_errorModelTargetInstanceRefImpl.java
new file mode 100644
index 00000000000..b0c04fb55d0
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/BehaviorConstraintPrototype_errorModelTargetInstanceRefImpl.java
@@ -0,0 +1,192 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.impl;
+
+import java.util.Collection;
+
+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.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.papyrus.eastadl.dependability.errormodel.ErrorModelPrototype;
+import org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_errorModelTargetInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Behavior Constraint Prototype error Model Target Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.BehaviorConstraintPrototype_errorModelTargetInstanceRefImpl#getErrorModelPrototype_target <em>Error Model Prototype target</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.BehaviorConstraintPrototype_errorModelTargetInstanceRefImpl#getErrorModelPrototype_context <em>Error Model Prototype context</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class BehaviorConstraintPrototype_errorModelTargetInstanceRefImpl extends InstanceRefImpl implements BehaviorConstraintPrototype_errorModelTargetInstanceRef {
+ /**
+ * The cached value of the '{@link #getErrorModelPrototype_target() <em>Error Model Prototype target</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getErrorModelPrototype_target()
+ * @generated
+ * @ordered
+ */
+ protected ErrorModelPrototype errorModelPrototype_target;
+
+ /**
+ * The cached value of the '{@link #getErrorModelPrototype_context() <em>Error Model Prototype context</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getErrorModelPrototype_context()
+ * @generated
+ * @ordered
+ */
+ protected EList<ErrorModelPrototype> errorModelPrototype_context;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected BehaviorConstraintPrototype_errorModelTargetInstanceRefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return InfrastructurePackage.Literals.BEHAVIOR_CONSTRAINT_PROTOTYPE_ERROR_MODEL_TARGET_INSTANCE_REF;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ErrorModelPrototype getErrorModelPrototype_target() {
+ if (errorModelPrototype_target != null && errorModelPrototype_target.eIsProxy()) {
+ InternalEObject oldErrorModelPrototype_target = (InternalEObject)errorModelPrototype_target;
+ errorModelPrototype_target = (ErrorModelPrototype)eResolveProxy(oldErrorModelPrototype_target);
+ if (errorModelPrototype_target != oldErrorModelPrototype_target) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_ERROR_MODEL_TARGET_INSTANCE_REF__ERROR_MODEL_PROTOTYPE_TARGET, oldErrorModelPrototype_target, errorModelPrototype_target));
+ }
+ }
+ return errorModelPrototype_target;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ErrorModelPrototype basicGetErrorModelPrototype_target() {
+ return errorModelPrototype_target;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setErrorModelPrototype_target(ErrorModelPrototype newErrorModelPrototype_target) {
+ ErrorModelPrototype oldErrorModelPrototype_target = errorModelPrototype_target;
+ errorModelPrototype_target = newErrorModelPrototype_target;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_ERROR_MODEL_TARGET_INSTANCE_REF__ERROR_MODEL_PROTOTYPE_TARGET, oldErrorModelPrototype_target, errorModelPrototype_target));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<ErrorModelPrototype> getErrorModelPrototype_context() {
+ if (errorModelPrototype_context == null) {
+ errorModelPrototype_context = new EObjectResolvingEList<ErrorModelPrototype>(ErrorModelPrototype.class, this, InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_ERROR_MODEL_TARGET_INSTANCE_REF__ERROR_MODEL_PROTOTYPE_CONTEXT);
+ }
+ return errorModelPrototype_context;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_ERROR_MODEL_TARGET_INSTANCE_REF__ERROR_MODEL_PROTOTYPE_TARGET:
+ if (resolve) return getErrorModelPrototype_target();
+ return basicGetErrorModelPrototype_target();
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_ERROR_MODEL_TARGET_INSTANCE_REF__ERROR_MODEL_PROTOTYPE_CONTEXT:
+ return getErrorModelPrototype_context();
+ }
+ 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 InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_ERROR_MODEL_TARGET_INSTANCE_REF__ERROR_MODEL_PROTOTYPE_TARGET:
+ setErrorModelPrototype_target((ErrorModelPrototype)newValue);
+ return;
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_ERROR_MODEL_TARGET_INSTANCE_REF__ERROR_MODEL_PROTOTYPE_CONTEXT:
+ getErrorModelPrototype_context().clear();
+ getErrorModelPrototype_context().addAll((Collection<? extends ErrorModelPrototype>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_ERROR_MODEL_TARGET_INSTANCE_REF__ERROR_MODEL_PROTOTYPE_TARGET:
+ setErrorModelPrototype_target((ErrorModelPrototype)null);
+ return;
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_ERROR_MODEL_TARGET_INSTANCE_REF__ERROR_MODEL_PROTOTYPE_CONTEXT:
+ getErrorModelPrototype_context().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_ERROR_MODEL_TARGET_INSTANCE_REF__ERROR_MODEL_PROTOTYPE_TARGET:
+ return errorModelPrototype_target != null;
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_ERROR_MODEL_TARGET_INSTANCE_REF__ERROR_MODEL_PROTOTYPE_CONTEXT:
+ return errorModelPrototype_context != null && !errorModelPrototype_context.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //BehaviorConstraintPrototype_errorModelTargetInstanceRefImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/BehaviorConstraintPrototype_functionTargetInstanceRefImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/BehaviorConstraintPrototype_functionTargetInstanceRefImpl.java
new file mode 100644
index 00000000000..57b13ceb096
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/BehaviorConstraintPrototype_functionTargetInstanceRefImpl.java
@@ -0,0 +1,192 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.impl;
+
+import java.util.Collection;
+
+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.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_functionTargetInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Behavior Constraint Prototype function Target Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.BehaviorConstraintPrototype_functionTargetInstanceRefImpl#getFunctionPrototype_target <em>Function Prototype target</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.BehaviorConstraintPrototype_functionTargetInstanceRefImpl#getFunctionPrototype_context <em>Function Prototype context</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class BehaviorConstraintPrototype_functionTargetInstanceRefImpl extends InstanceRefImpl implements BehaviorConstraintPrototype_functionTargetInstanceRef {
+ /**
+ * The cached value of the '{@link #getFunctionPrototype_target() <em>Function Prototype target</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFunctionPrototype_target()
+ * @generated
+ * @ordered
+ */
+ protected FunctionPrototype functionPrototype_target;
+
+ /**
+ * The cached value of the '{@link #getFunctionPrototype_context() <em>Function Prototype context</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFunctionPrototype_context()
+ * @generated
+ * @ordered
+ */
+ protected EList<FunctionPrototype> functionPrototype_context;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected BehaviorConstraintPrototype_functionTargetInstanceRefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return InfrastructurePackage.Literals.BEHAVIOR_CONSTRAINT_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FunctionPrototype getFunctionPrototype_target() {
+ if (functionPrototype_target != null && functionPrototype_target.eIsProxy()) {
+ InternalEObject oldFunctionPrototype_target = (InternalEObject)functionPrototype_target;
+ functionPrototype_target = (FunctionPrototype)eResolveProxy(oldFunctionPrototype_target);
+ if (functionPrototype_target != oldFunctionPrototype_target) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE_TARGET, oldFunctionPrototype_target, functionPrototype_target));
+ }
+ }
+ return functionPrototype_target;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FunctionPrototype basicGetFunctionPrototype_target() {
+ return functionPrototype_target;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFunctionPrototype_target(FunctionPrototype newFunctionPrototype_target) {
+ FunctionPrototype oldFunctionPrototype_target = functionPrototype_target;
+ functionPrototype_target = newFunctionPrototype_target;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE_TARGET, oldFunctionPrototype_target, functionPrototype_target));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<FunctionPrototype> getFunctionPrototype_context() {
+ if (functionPrototype_context == null) {
+ functionPrototype_context = new EObjectResolvingEList<FunctionPrototype>(FunctionPrototype.class, this, InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT);
+ }
+ return functionPrototype_context;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE_TARGET:
+ if (resolve) return getFunctionPrototype_target();
+ return basicGetFunctionPrototype_target();
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT:
+ return getFunctionPrototype_context();
+ }
+ 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 InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE_TARGET:
+ setFunctionPrototype_target((FunctionPrototype)newValue);
+ return;
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT:
+ getFunctionPrototype_context().clear();
+ getFunctionPrototype_context().addAll((Collection<? extends FunctionPrototype>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE_TARGET:
+ setFunctionPrototype_target((FunctionPrototype)null);
+ return;
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT:
+ getFunctionPrototype_context().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE_TARGET:
+ return functionPrototype_target != null;
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT:
+ return functionPrototype_context != null && !functionPrototype_context.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //BehaviorConstraintPrototype_functionTargetInstanceRefImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/BehaviorConstraintPrototype_hardwareComponentTargetInstanceRefImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/BehaviorConstraintPrototype_hardwareComponentTargetInstanceRefImpl.java
new file mode 100644
index 00000000000..2edb879fcb4
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/BehaviorConstraintPrototype_hardwareComponentTargetInstanceRefImpl.java
@@ -0,0 +1,192 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.impl;
+
+import java.util.Collection;
+
+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.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_hardwareComponentTargetInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentPrototype;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Behavior Constraint Prototype hardware Component Target Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.BehaviorConstraintPrototype_hardwareComponentTargetInstanceRefImpl#getHardwareComponentProtype_target <em>Hardware Component Protype target</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.BehaviorConstraintPrototype_hardwareComponentTargetInstanceRefImpl#getHardwareComponentPrototype_context <em>Hardware Component Prototype context</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class BehaviorConstraintPrototype_hardwareComponentTargetInstanceRefImpl extends InstanceRefImpl implements BehaviorConstraintPrototype_hardwareComponentTargetInstanceRef {
+ /**
+ * The cached value of the '{@link #getHardwareComponentProtype_target() <em>Hardware Component Protype target</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getHardwareComponentProtype_target()
+ * @generated
+ * @ordered
+ */
+ protected HardwareComponentPrototype hardwareComponentProtype_target;
+
+ /**
+ * The cached value of the '{@link #getHardwareComponentPrototype_context() <em>Hardware Component Prototype context</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getHardwareComponentPrototype_context()
+ * @generated
+ * @ordered
+ */
+ protected EList<HardwareComponentPrototype> hardwareComponentPrototype_context;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected BehaviorConstraintPrototype_hardwareComponentTargetInstanceRefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return InfrastructurePackage.Literals.BEHAVIOR_CONSTRAINT_PROTOTYPE_HARDWARE_COMPONENT_TARGET_INSTANCE_REF;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public HardwareComponentPrototype getHardwareComponentProtype_target() {
+ if (hardwareComponentProtype_target != null && hardwareComponentProtype_target.eIsProxy()) {
+ InternalEObject oldHardwareComponentProtype_target = (InternalEObject)hardwareComponentProtype_target;
+ hardwareComponentProtype_target = (HardwareComponentPrototype)eResolveProxy(oldHardwareComponentProtype_target);
+ if (hardwareComponentProtype_target != oldHardwareComponentProtype_target) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_HARDWARE_COMPONENT_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTYPE_TARGET, oldHardwareComponentProtype_target, hardwareComponentProtype_target));
+ }
+ }
+ return hardwareComponentProtype_target;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public HardwareComponentPrototype basicGetHardwareComponentProtype_target() {
+ return hardwareComponentProtype_target;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setHardwareComponentProtype_target(HardwareComponentPrototype newHardwareComponentProtype_target) {
+ HardwareComponentPrototype oldHardwareComponentProtype_target = hardwareComponentProtype_target;
+ hardwareComponentProtype_target = newHardwareComponentProtype_target;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_HARDWARE_COMPONENT_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTYPE_TARGET, oldHardwareComponentProtype_target, hardwareComponentProtype_target));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<HardwareComponentPrototype> getHardwareComponentPrototype_context() {
+ if (hardwareComponentPrototype_context == null) {
+ hardwareComponentPrototype_context = new EObjectResolvingEList<HardwareComponentPrototype>(HardwareComponentPrototype.class, this, InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_HARDWARE_COMPONENT_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE_CONTEXT);
+ }
+ return hardwareComponentPrototype_context;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_HARDWARE_COMPONENT_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTYPE_TARGET:
+ if (resolve) return getHardwareComponentProtype_target();
+ return basicGetHardwareComponentProtype_target();
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_HARDWARE_COMPONENT_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE_CONTEXT:
+ return getHardwareComponentPrototype_context();
+ }
+ 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 InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_HARDWARE_COMPONENT_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTYPE_TARGET:
+ setHardwareComponentProtype_target((HardwareComponentPrototype)newValue);
+ return;
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_HARDWARE_COMPONENT_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE_CONTEXT:
+ getHardwareComponentPrototype_context().clear();
+ getHardwareComponentPrototype_context().addAll((Collection<? extends HardwareComponentPrototype>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_HARDWARE_COMPONENT_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTYPE_TARGET:
+ setHardwareComponentProtype_target((HardwareComponentPrototype)null);
+ return;
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_HARDWARE_COMPONENT_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE_CONTEXT:
+ getHardwareComponentPrototype_context().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_HARDWARE_COMPONENT_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTYPE_TARGET:
+ return hardwareComponentProtype_target != null;
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_HARDWARE_COMPONENT_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE_CONTEXT:
+ return hardwareComponentPrototype_context != null && !hardwareComponentPrototype_context.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //BehaviorConstraintPrototype_hardwareComponentTargetInstanceRefImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/ClampConnectorInstanceRefImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/ClampConnectorInstanceRefImpl.java
new file mode 100644
index 00000000000..ba8f0554bed
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/ClampConnectorInstanceRefImpl.java
@@ -0,0 +1,193 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.impl;
+
+import java.util.Collection;
+
+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.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.papyrus.eastadl.infrastructure.ClampConnectorInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPort;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Clamp Connector Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.ClampConnectorInstanceRefImpl#getFunctionPort <em>Function Port</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.ClampConnectorInstanceRefImpl#getFunctionPrototype <em>Function Prototype</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ClampConnectorInstanceRefImpl extends InstanceRefImpl implements ClampConnectorInstanceRef {
+ /**
+ * The cached value of the '{@link #getFunctionPort() <em>Function Port</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFunctionPort()
+ * @generated
+ * @ordered
+ */
+ protected FunctionPort functionPort;
+
+ /**
+ * The cached value of the '{@link #getFunctionPrototype() <em>Function Prototype</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFunctionPrototype()
+ * @generated
+ * @ordered
+ */
+ protected EList<FunctionPrototype> functionPrototype;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ClampConnectorInstanceRefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return InfrastructurePackage.Literals.CLAMP_CONNECTOR_INSTANCE_REF;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FunctionPort getFunctionPort() {
+ if (functionPort != null && functionPort.eIsProxy()) {
+ InternalEObject oldFunctionPort = (InternalEObject)functionPort;
+ functionPort = (FunctionPort)eResolveProxy(oldFunctionPort);
+ if (functionPort != oldFunctionPort) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfrastructurePackage.CLAMP_CONNECTOR_INSTANCE_REF__FUNCTION_PORT, oldFunctionPort, functionPort));
+ }
+ }
+ return functionPort;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FunctionPort basicGetFunctionPort() {
+ return functionPort;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFunctionPort(FunctionPort newFunctionPort) {
+ FunctionPort oldFunctionPort = functionPort;
+ functionPort = newFunctionPort;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, InfrastructurePackage.CLAMP_CONNECTOR_INSTANCE_REF__FUNCTION_PORT, oldFunctionPort, functionPort));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<FunctionPrototype> getFunctionPrototype() {
+ if (functionPrototype == null) {
+ functionPrototype = new EObjectResolvingEList<FunctionPrototype>(FunctionPrototype.class, this, InfrastructurePackage.CLAMP_CONNECTOR_INSTANCE_REF__FUNCTION_PROTOTYPE);
+ }
+ return functionPrototype;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case InfrastructurePackage.CLAMP_CONNECTOR_INSTANCE_REF__FUNCTION_PORT:
+ if (resolve) return getFunctionPort();
+ return basicGetFunctionPort();
+ case InfrastructurePackage.CLAMP_CONNECTOR_INSTANCE_REF__FUNCTION_PROTOTYPE:
+ return getFunctionPrototype();
+ }
+ 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 InfrastructurePackage.CLAMP_CONNECTOR_INSTANCE_REF__FUNCTION_PORT:
+ setFunctionPort((FunctionPort)newValue);
+ return;
+ case InfrastructurePackage.CLAMP_CONNECTOR_INSTANCE_REF__FUNCTION_PROTOTYPE:
+ getFunctionPrototype().clear();
+ getFunctionPrototype().addAll((Collection<? extends FunctionPrototype>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.CLAMP_CONNECTOR_INSTANCE_REF__FUNCTION_PORT:
+ setFunctionPort((FunctionPort)null);
+ return;
+ case InfrastructurePackage.CLAMP_CONNECTOR_INSTANCE_REF__FUNCTION_PROTOTYPE:
+ getFunctionPrototype().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.CLAMP_CONNECTOR_INSTANCE_REF__FUNCTION_PORT:
+ return functionPort != null;
+ case InfrastructurePackage.CLAMP_CONNECTOR_INSTANCE_REF__FUNCTION_PROTOTYPE:
+ return functionPrototype != null && !functionPrototype.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //ClampConnectorInstanceRefImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/ErrorModelPrototype_functionTargetInstanceRefImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/ErrorModelPrototype_functionTargetInstanceRefImpl.java
new file mode 100644
index 00000000000..5e093874361
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/ErrorModelPrototype_functionTargetInstanceRefImpl.java
@@ -0,0 +1,192 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.impl;
+
+import java.util.Collection;
+
+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.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.papyrus.eastadl.infrastructure.ErrorModelPrototype_functionTargetInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Error Model Prototype function Target Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.ErrorModelPrototype_functionTargetInstanceRefImpl#getFunctionPrototype <em>Function Prototype</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.ErrorModelPrototype_functionTargetInstanceRefImpl#getFunctionPrototype_context <em>Function Prototype context</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ErrorModelPrototype_functionTargetInstanceRefImpl extends InstanceRefImpl implements ErrorModelPrototype_functionTargetInstanceRef {
+ /**
+ * The cached value of the '{@link #getFunctionPrototype() <em>Function Prototype</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFunctionPrototype()
+ * @generated
+ * @ordered
+ */
+ protected FunctionPrototype functionPrototype;
+
+ /**
+ * The cached value of the '{@link #getFunctionPrototype_context() <em>Function Prototype context</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFunctionPrototype_context()
+ * @generated
+ * @ordered
+ */
+ protected EList<FunctionPrototype> functionPrototype_context;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ErrorModelPrototype_functionTargetInstanceRefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return InfrastructurePackage.Literals.ERROR_MODEL_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FunctionPrototype getFunctionPrototype() {
+ if (functionPrototype != null && functionPrototype.eIsProxy()) {
+ InternalEObject oldFunctionPrototype = (InternalEObject)functionPrototype;
+ functionPrototype = (FunctionPrototype)eResolveProxy(oldFunctionPrototype);
+ if (functionPrototype != oldFunctionPrototype) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfrastructurePackage.ERROR_MODEL_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE, oldFunctionPrototype, functionPrototype));
+ }
+ }
+ return functionPrototype;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FunctionPrototype basicGetFunctionPrototype() {
+ return functionPrototype;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFunctionPrototype(FunctionPrototype newFunctionPrototype) {
+ FunctionPrototype oldFunctionPrototype = functionPrototype;
+ functionPrototype = newFunctionPrototype;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, InfrastructurePackage.ERROR_MODEL_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE, oldFunctionPrototype, functionPrototype));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<FunctionPrototype> getFunctionPrototype_context() {
+ if (functionPrototype_context == null) {
+ functionPrototype_context = new EObjectResolvingEList<FunctionPrototype>(FunctionPrototype.class, this, InfrastructurePackage.ERROR_MODEL_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT);
+ }
+ return functionPrototype_context;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case InfrastructurePackage.ERROR_MODEL_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE:
+ if (resolve) return getFunctionPrototype();
+ return basicGetFunctionPrototype();
+ case InfrastructurePackage.ERROR_MODEL_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT:
+ return getFunctionPrototype_context();
+ }
+ 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 InfrastructurePackage.ERROR_MODEL_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE:
+ setFunctionPrototype((FunctionPrototype)newValue);
+ return;
+ case InfrastructurePackage.ERROR_MODEL_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT:
+ getFunctionPrototype_context().clear();
+ getFunctionPrototype_context().addAll((Collection<? extends FunctionPrototype>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.ERROR_MODEL_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE:
+ setFunctionPrototype((FunctionPrototype)null);
+ return;
+ case InfrastructurePackage.ERROR_MODEL_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT:
+ getFunctionPrototype_context().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.ERROR_MODEL_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE:
+ return functionPrototype != null;
+ case InfrastructurePackage.ERROR_MODEL_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT:
+ return functionPrototype_context != null && !functionPrototype_context.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //ErrorModelPrototype_functionTargetInstanceRefImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/ErrorModelPrototype_hwTargetInstanceRefImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/ErrorModelPrototype_hwTargetInstanceRefImpl.java
new file mode 100644
index 00000000000..3f40b4a4309
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/ErrorModelPrototype_hwTargetInstanceRefImpl.java
@@ -0,0 +1,192 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.impl;
+
+import java.util.Collection;
+
+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.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.papyrus.eastadl.infrastructure.ErrorModelPrototype_hwTargetInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentPrototype;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Error Model Prototype hw Target Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.ErrorModelPrototype_hwTargetInstanceRefImpl#getHardwareComponentProtype <em>Hardware Component Protype</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.ErrorModelPrototype_hwTargetInstanceRefImpl#getHardwareComponentProtype_context <em>Hardware Component Protype context</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ErrorModelPrototype_hwTargetInstanceRefImpl extends InstanceRefImpl implements ErrorModelPrototype_hwTargetInstanceRef {
+ /**
+ * The cached value of the '{@link #getHardwareComponentProtype() <em>Hardware Component Protype</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getHardwareComponentProtype()
+ * @generated
+ * @ordered
+ */
+ protected HardwareComponentPrototype hardwareComponentProtype;
+
+ /**
+ * The cached value of the '{@link #getHardwareComponentProtype_context() <em>Hardware Component Protype context</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getHardwareComponentProtype_context()
+ * @generated
+ * @ordered
+ */
+ protected EList<HardwareComponentPrototype> hardwareComponentProtype_context;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ErrorModelPrototype_hwTargetInstanceRefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return InfrastructurePackage.Literals.ERROR_MODEL_PROTOTYPE_HW_TARGET_INSTANCE_REF;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public HardwareComponentPrototype getHardwareComponentProtype() {
+ if (hardwareComponentProtype != null && hardwareComponentProtype.eIsProxy()) {
+ InternalEObject oldHardwareComponentProtype = (InternalEObject)hardwareComponentProtype;
+ hardwareComponentProtype = (HardwareComponentPrototype)eResolveProxy(oldHardwareComponentProtype);
+ if (hardwareComponentProtype != oldHardwareComponentProtype) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfrastructurePackage.ERROR_MODEL_PROTOTYPE_HW_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTYPE, oldHardwareComponentProtype, hardwareComponentProtype));
+ }
+ }
+ return hardwareComponentProtype;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public HardwareComponentPrototype basicGetHardwareComponentProtype() {
+ return hardwareComponentProtype;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setHardwareComponentProtype(HardwareComponentPrototype newHardwareComponentProtype) {
+ HardwareComponentPrototype oldHardwareComponentProtype = hardwareComponentProtype;
+ hardwareComponentProtype = newHardwareComponentProtype;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, InfrastructurePackage.ERROR_MODEL_PROTOTYPE_HW_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTYPE, oldHardwareComponentProtype, hardwareComponentProtype));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<HardwareComponentPrototype> getHardwareComponentProtype_context() {
+ if (hardwareComponentProtype_context == null) {
+ hardwareComponentProtype_context = new EObjectResolvingEList<HardwareComponentPrototype>(HardwareComponentPrototype.class, this, InfrastructurePackage.ERROR_MODEL_PROTOTYPE_HW_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTYPE_CONTEXT);
+ }
+ return hardwareComponentProtype_context;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case InfrastructurePackage.ERROR_MODEL_PROTOTYPE_HW_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTYPE:
+ if (resolve) return getHardwareComponentProtype();
+ return basicGetHardwareComponentProtype();
+ case InfrastructurePackage.ERROR_MODEL_PROTOTYPE_HW_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTYPE_CONTEXT:
+ return getHardwareComponentProtype_context();
+ }
+ 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 InfrastructurePackage.ERROR_MODEL_PROTOTYPE_HW_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTYPE:
+ setHardwareComponentProtype((HardwareComponentPrototype)newValue);
+ return;
+ case InfrastructurePackage.ERROR_MODEL_PROTOTYPE_HW_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTYPE_CONTEXT:
+ getHardwareComponentProtype_context().clear();
+ getHardwareComponentProtype_context().addAll((Collection<? extends HardwareComponentPrototype>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.ERROR_MODEL_PROTOTYPE_HW_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTYPE:
+ setHardwareComponentProtype((HardwareComponentPrototype)null);
+ return;
+ case InfrastructurePackage.ERROR_MODEL_PROTOTYPE_HW_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTYPE_CONTEXT:
+ getHardwareComponentProtype_context().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.ERROR_MODEL_PROTOTYPE_HW_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTYPE:
+ return hardwareComponentProtype != null;
+ case InfrastructurePackage.ERROR_MODEL_PROTOTYPE_HW_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTYPE_CONTEXT:
+ return hardwareComponentProtype_context != null && !hardwareComponentProtype_context.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //ErrorModelPrototype_hwTargetInstanceRefImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/EventFunctionClientServerPortInstanceRefImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/EventFunctionClientServerPortInstanceRefImpl.java
new file mode 100644
index 00000000000..4fc4c547b98
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/EventFunctionClientServerPortInstanceRefImpl.java
@@ -0,0 +1,193 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.impl;
+
+import java.util.Collection;
+
+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.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.papyrus.eastadl.infrastructure.EventFunctionClientServerPortInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionClientServerPort;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Event Function Client Server Port Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.EventFunctionClientServerPortInstanceRefImpl#getFunctionClientServerPort <em>Function Client Server Port</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.EventFunctionClientServerPortInstanceRefImpl#getFunctionPrototype <em>Function Prototype</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class EventFunctionClientServerPortInstanceRefImpl extends InstanceRefImpl implements EventFunctionClientServerPortInstanceRef {
+ /**
+ * The cached value of the '{@link #getFunctionClientServerPort() <em>Function Client Server Port</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFunctionClientServerPort()
+ * @generated
+ * @ordered
+ */
+ protected FunctionClientServerPort functionClientServerPort;
+
+ /**
+ * The cached value of the '{@link #getFunctionPrototype() <em>Function Prototype</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFunctionPrototype()
+ * @generated
+ * @ordered
+ */
+ protected EList<FunctionPrototype> functionPrototype;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EventFunctionClientServerPortInstanceRefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return InfrastructurePackage.Literals.EVENT_FUNCTION_CLIENT_SERVER_PORT_INSTANCE_REF;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FunctionClientServerPort getFunctionClientServerPort() {
+ if (functionClientServerPort != null && functionClientServerPort.eIsProxy()) {
+ InternalEObject oldFunctionClientServerPort = (InternalEObject)functionClientServerPort;
+ functionClientServerPort = (FunctionClientServerPort)eResolveProxy(oldFunctionClientServerPort);
+ if (functionClientServerPort != oldFunctionClientServerPort) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfrastructurePackage.EVENT_FUNCTION_CLIENT_SERVER_PORT_INSTANCE_REF__FUNCTION_CLIENT_SERVER_PORT, oldFunctionClientServerPort, functionClientServerPort));
+ }
+ }
+ return functionClientServerPort;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FunctionClientServerPort basicGetFunctionClientServerPort() {
+ return functionClientServerPort;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFunctionClientServerPort(FunctionClientServerPort newFunctionClientServerPort) {
+ FunctionClientServerPort oldFunctionClientServerPort = functionClientServerPort;
+ functionClientServerPort = newFunctionClientServerPort;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, InfrastructurePackage.EVENT_FUNCTION_CLIENT_SERVER_PORT_INSTANCE_REF__FUNCTION_CLIENT_SERVER_PORT, oldFunctionClientServerPort, functionClientServerPort));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<FunctionPrototype> getFunctionPrototype() {
+ if (functionPrototype == null) {
+ functionPrototype = new EObjectResolvingEList<FunctionPrototype>(FunctionPrototype.class, this, InfrastructurePackage.EVENT_FUNCTION_CLIENT_SERVER_PORT_INSTANCE_REF__FUNCTION_PROTOTYPE);
+ }
+ return functionPrototype;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case InfrastructurePackage.EVENT_FUNCTION_CLIENT_SERVER_PORT_INSTANCE_REF__FUNCTION_CLIENT_SERVER_PORT:
+ if (resolve) return getFunctionClientServerPort();
+ return basicGetFunctionClientServerPort();
+ case InfrastructurePackage.EVENT_FUNCTION_CLIENT_SERVER_PORT_INSTANCE_REF__FUNCTION_PROTOTYPE:
+ return getFunctionPrototype();
+ }
+ 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 InfrastructurePackage.EVENT_FUNCTION_CLIENT_SERVER_PORT_INSTANCE_REF__FUNCTION_CLIENT_SERVER_PORT:
+ setFunctionClientServerPort((FunctionClientServerPort)newValue);
+ return;
+ case InfrastructurePackage.EVENT_FUNCTION_CLIENT_SERVER_PORT_INSTANCE_REF__FUNCTION_PROTOTYPE:
+ getFunctionPrototype().clear();
+ getFunctionPrototype().addAll((Collection<? extends FunctionPrototype>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.EVENT_FUNCTION_CLIENT_SERVER_PORT_INSTANCE_REF__FUNCTION_CLIENT_SERVER_PORT:
+ setFunctionClientServerPort((FunctionClientServerPort)null);
+ return;
+ case InfrastructurePackage.EVENT_FUNCTION_CLIENT_SERVER_PORT_INSTANCE_REF__FUNCTION_PROTOTYPE:
+ getFunctionPrototype().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.EVENT_FUNCTION_CLIENT_SERVER_PORT_INSTANCE_REF__FUNCTION_CLIENT_SERVER_PORT:
+ return functionClientServerPort != null;
+ case InfrastructurePackage.EVENT_FUNCTION_CLIENT_SERVER_PORT_INSTANCE_REF__FUNCTION_PROTOTYPE:
+ return functionPrototype != null && !functionPrototype.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //EventFunctionClientServerPortInstanceRefImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/EventFunctionFlowPortInstanceRefImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/EventFunctionFlowPortInstanceRefImpl.java
new file mode 100644
index 00000000000..3c5f4a0ef15
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/EventFunctionFlowPortInstanceRefImpl.java
@@ -0,0 +1,193 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.impl;
+
+import java.util.Collection;
+
+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.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.papyrus.eastadl.infrastructure.EventFunctionFlowPortInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionFlowPort;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Event Function Flow Port Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.EventFunctionFlowPortInstanceRefImpl#getFunctionFlowPort <em>Function Flow Port</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.EventFunctionFlowPortInstanceRefImpl#getFunctionPrototype <em>Function Prototype</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class EventFunctionFlowPortInstanceRefImpl extends InstanceRefImpl implements EventFunctionFlowPortInstanceRef {
+ /**
+ * The cached value of the '{@link #getFunctionFlowPort() <em>Function Flow Port</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFunctionFlowPort()
+ * @generated
+ * @ordered
+ */
+ protected FunctionFlowPort functionFlowPort;
+
+ /**
+ * The cached value of the '{@link #getFunctionPrototype() <em>Function Prototype</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFunctionPrototype()
+ * @generated
+ * @ordered
+ */
+ protected EList<FunctionPrototype> functionPrototype;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EventFunctionFlowPortInstanceRefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return InfrastructurePackage.Literals.EVENT_FUNCTION_FLOW_PORT_INSTANCE_REF;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FunctionFlowPort getFunctionFlowPort() {
+ if (functionFlowPort != null && functionFlowPort.eIsProxy()) {
+ InternalEObject oldFunctionFlowPort = (InternalEObject)functionFlowPort;
+ functionFlowPort = (FunctionFlowPort)eResolveProxy(oldFunctionFlowPort);
+ if (functionFlowPort != oldFunctionFlowPort) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfrastructurePackage.EVENT_FUNCTION_FLOW_PORT_INSTANCE_REF__FUNCTION_FLOW_PORT, oldFunctionFlowPort, functionFlowPort));
+ }
+ }
+ return functionFlowPort;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FunctionFlowPort basicGetFunctionFlowPort() {
+ return functionFlowPort;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFunctionFlowPort(FunctionFlowPort newFunctionFlowPort) {
+ FunctionFlowPort oldFunctionFlowPort = functionFlowPort;
+ functionFlowPort = newFunctionFlowPort;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, InfrastructurePackage.EVENT_FUNCTION_FLOW_PORT_INSTANCE_REF__FUNCTION_FLOW_PORT, oldFunctionFlowPort, functionFlowPort));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<FunctionPrototype> getFunctionPrototype() {
+ if (functionPrototype == null) {
+ functionPrototype = new EObjectResolvingEList<FunctionPrototype>(FunctionPrototype.class, this, InfrastructurePackage.EVENT_FUNCTION_FLOW_PORT_INSTANCE_REF__FUNCTION_PROTOTYPE);
+ }
+ return functionPrototype;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case InfrastructurePackage.EVENT_FUNCTION_FLOW_PORT_INSTANCE_REF__FUNCTION_FLOW_PORT:
+ if (resolve) return getFunctionFlowPort();
+ return basicGetFunctionFlowPort();
+ case InfrastructurePackage.EVENT_FUNCTION_FLOW_PORT_INSTANCE_REF__FUNCTION_PROTOTYPE:
+ return getFunctionPrototype();
+ }
+ 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 InfrastructurePackage.EVENT_FUNCTION_FLOW_PORT_INSTANCE_REF__FUNCTION_FLOW_PORT:
+ setFunctionFlowPort((FunctionFlowPort)newValue);
+ return;
+ case InfrastructurePackage.EVENT_FUNCTION_FLOW_PORT_INSTANCE_REF__FUNCTION_PROTOTYPE:
+ getFunctionPrototype().clear();
+ getFunctionPrototype().addAll((Collection<? extends FunctionPrototype>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.EVENT_FUNCTION_FLOW_PORT_INSTANCE_REF__FUNCTION_FLOW_PORT:
+ setFunctionFlowPort((FunctionFlowPort)null);
+ return;
+ case InfrastructurePackage.EVENT_FUNCTION_FLOW_PORT_INSTANCE_REF__FUNCTION_PROTOTYPE:
+ getFunctionPrototype().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.EVENT_FUNCTION_FLOW_PORT_INSTANCE_REF__FUNCTION_FLOW_PORT:
+ return functionFlowPort != null;
+ case InfrastructurePackage.EVENT_FUNCTION_FLOW_PORT_INSTANCE_REF__FUNCTION_PROTOTYPE:
+ return functionPrototype != null && !functionPrototype.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //EventFunctionFlowPortInstanceRefImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/EventFunctionInstanceRefImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/EventFunctionInstanceRefImpl.java
new file mode 100644
index 00000000000..78b948a6a44
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/EventFunctionInstanceRefImpl.java
@@ -0,0 +1,192 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.impl;
+
+import java.util.Collection;
+
+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.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.papyrus.eastadl.infrastructure.EventFunctionInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Event Function Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.EventFunctionInstanceRefImpl#getFunctionPrototype_target <em>Function Prototype target</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.EventFunctionInstanceRefImpl#getFunctionPrototype_context <em>Function Prototype context</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class EventFunctionInstanceRefImpl extends InstanceRefImpl implements EventFunctionInstanceRef {
+ /**
+ * The cached value of the '{@link #getFunctionPrototype_target() <em>Function Prototype target</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFunctionPrototype_target()
+ * @generated
+ * @ordered
+ */
+ protected FunctionPrototype functionPrototype_target;
+
+ /**
+ * The cached value of the '{@link #getFunctionPrototype_context() <em>Function Prototype context</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFunctionPrototype_context()
+ * @generated
+ * @ordered
+ */
+ protected EList<FunctionPrototype> functionPrototype_context;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EventFunctionInstanceRefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return InfrastructurePackage.Literals.EVENT_FUNCTION_INSTANCE_REF;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FunctionPrototype getFunctionPrototype_target() {
+ if (functionPrototype_target != null && functionPrototype_target.eIsProxy()) {
+ InternalEObject oldFunctionPrototype_target = (InternalEObject)functionPrototype_target;
+ functionPrototype_target = (FunctionPrototype)eResolveProxy(oldFunctionPrototype_target);
+ if (functionPrototype_target != oldFunctionPrototype_target) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfrastructurePackage.EVENT_FUNCTION_INSTANCE_REF__FUNCTION_PROTOTYPE_TARGET, oldFunctionPrototype_target, functionPrototype_target));
+ }
+ }
+ return functionPrototype_target;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FunctionPrototype basicGetFunctionPrototype_target() {
+ return functionPrototype_target;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFunctionPrototype_target(FunctionPrototype newFunctionPrototype_target) {
+ FunctionPrototype oldFunctionPrototype_target = functionPrototype_target;
+ functionPrototype_target = newFunctionPrototype_target;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, InfrastructurePackage.EVENT_FUNCTION_INSTANCE_REF__FUNCTION_PROTOTYPE_TARGET, oldFunctionPrototype_target, functionPrototype_target));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<FunctionPrototype> getFunctionPrototype_context() {
+ if (functionPrototype_context == null) {
+ functionPrototype_context = new EObjectResolvingEList<FunctionPrototype>(FunctionPrototype.class, this, InfrastructurePackage.EVENT_FUNCTION_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT);
+ }
+ return functionPrototype_context;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case InfrastructurePackage.EVENT_FUNCTION_INSTANCE_REF__FUNCTION_PROTOTYPE_TARGET:
+ if (resolve) return getFunctionPrototype_target();
+ return basicGetFunctionPrototype_target();
+ case InfrastructurePackage.EVENT_FUNCTION_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT:
+ return getFunctionPrototype_context();
+ }
+ 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 InfrastructurePackage.EVENT_FUNCTION_INSTANCE_REF__FUNCTION_PROTOTYPE_TARGET:
+ setFunctionPrototype_target((FunctionPrototype)newValue);
+ return;
+ case InfrastructurePackage.EVENT_FUNCTION_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT:
+ getFunctionPrototype_context().clear();
+ getFunctionPrototype_context().addAll((Collection<? extends FunctionPrototype>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.EVENT_FUNCTION_INSTANCE_REF__FUNCTION_PROTOTYPE_TARGET:
+ setFunctionPrototype_target((FunctionPrototype)null);
+ return;
+ case InfrastructurePackage.EVENT_FUNCTION_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT:
+ getFunctionPrototype_context().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.EVENT_FUNCTION_INSTANCE_REF__FUNCTION_PROTOTYPE_TARGET:
+ return functionPrototype_target != null;
+ case InfrastructurePackage.EVENT_FUNCTION_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT:
+ return functionPrototype_context != null && !functionPrototype_context.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //EventFunctionInstanceRefImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/FaultFailurePort_functionTargetInstanceRefImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/FaultFailurePort_functionTargetInstanceRefImpl.java
new file mode 100644
index 00000000000..9051fed508a
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/FaultFailurePort_functionTargetInstanceRefImpl.java
@@ -0,0 +1,193 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.impl;
+
+import java.util.Collection;
+
+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.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePort_functionTargetInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPort;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Fault Failure Port function Target Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.FaultFailurePort_functionTargetInstanceRefImpl#getFunctionPort <em>Function Port</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.FaultFailurePort_functionTargetInstanceRefImpl#getFunctionPrototype <em>Function Prototype</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class FaultFailurePort_functionTargetInstanceRefImpl extends InstanceRefImpl implements FaultFailurePort_functionTargetInstanceRef {
+ /**
+ * The cached value of the '{@link #getFunctionPort() <em>Function Port</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFunctionPort()
+ * @generated
+ * @ordered
+ */
+ protected FunctionPort functionPort;
+
+ /**
+ * The cached value of the '{@link #getFunctionPrototype() <em>Function Prototype</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFunctionPrototype()
+ * @generated
+ * @ordered
+ */
+ protected EList<FunctionPrototype> functionPrototype;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected FaultFailurePort_functionTargetInstanceRefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return InfrastructurePackage.Literals.FAULT_FAILURE_PORT_FUNCTION_TARGET_INSTANCE_REF;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FunctionPort getFunctionPort() {
+ if (functionPort != null && functionPort.eIsProxy()) {
+ InternalEObject oldFunctionPort = (InternalEObject)functionPort;
+ functionPort = (FunctionPort)eResolveProxy(oldFunctionPort);
+ if (functionPort != oldFunctionPort) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfrastructurePackage.FAULT_FAILURE_PORT_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PORT, oldFunctionPort, functionPort));
+ }
+ }
+ return functionPort;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FunctionPort basicGetFunctionPort() {
+ return functionPort;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFunctionPort(FunctionPort newFunctionPort) {
+ FunctionPort oldFunctionPort = functionPort;
+ functionPort = newFunctionPort;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, InfrastructurePackage.FAULT_FAILURE_PORT_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PORT, oldFunctionPort, functionPort));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<FunctionPrototype> getFunctionPrototype() {
+ if (functionPrototype == null) {
+ functionPrototype = new EObjectResolvingEList<FunctionPrototype>(FunctionPrototype.class, this, InfrastructurePackage.FAULT_FAILURE_PORT_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE);
+ }
+ return functionPrototype;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case InfrastructurePackage.FAULT_FAILURE_PORT_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PORT:
+ if (resolve) return getFunctionPort();
+ return basicGetFunctionPort();
+ case InfrastructurePackage.FAULT_FAILURE_PORT_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE:
+ return getFunctionPrototype();
+ }
+ 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 InfrastructurePackage.FAULT_FAILURE_PORT_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PORT:
+ setFunctionPort((FunctionPort)newValue);
+ return;
+ case InfrastructurePackage.FAULT_FAILURE_PORT_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE:
+ getFunctionPrototype().clear();
+ getFunctionPrototype().addAll((Collection<? extends FunctionPrototype>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.FAULT_FAILURE_PORT_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PORT:
+ setFunctionPort((FunctionPort)null);
+ return;
+ case InfrastructurePackage.FAULT_FAILURE_PORT_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE:
+ getFunctionPrototype().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.FAULT_FAILURE_PORT_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PORT:
+ return functionPort != null;
+ case InfrastructurePackage.FAULT_FAILURE_PORT_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE:
+ return functionPrototype != null && !functionPrototype.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //FaultFailurePort_functionTargetInstanceRefImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/FaultFailurePort_hwTargetInstanceRefImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/FaultFailurePort_hwTargetInstanceRefImpl.java
new file mode 100644
index 00000000000..fc99352d040
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/FaultFailurePort_hwTargetInstanceRefImpl.java
@@ -0,0 +1,193 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.impl;
+
+import java.util.Collection;
+
+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.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePort_hwTargetInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentPrototype;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePin;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Fault Failure Port hw Target Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.FaultFailurePort_hwTargetInstanceRefImpl#getHardwarePort <em>Hardware Port</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.FaultFailurePort_hwTargetInstanceRefImpl#getHardwareComponentProtype <em>Hardware Component Protype</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class FaultFailurePort_hwTargetInstanceRefImpl extends InstanceRefImpl implements FaultFailurePort_hwTargetInstanceRef {
+ /**
+ * The cached value of the '{@link #getHardwarePort() <em>Hardware Port</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getHardwarePort()
+ * @generated
+ * @ordered
+ */
+ protected HardwarePin hardwarePort;
+
+ /**
+ * The cached value of the '{@link #getHardwareComponentProtype() <em>Hardware Component Protype</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getHardwareComponentProtype()
+ * @generated
+ * @ordered
+ */
+ protected EList<HardwareComponentPrototype> hardwareComponentProtype;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected FaultFailurePort_hwTargetInstanceRefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return InfrastructurePackage.Literals.FAULT_FAILURE_PORT_HW_TARGET_INSTANCE_REF;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public HardwarePin getHardwarePort() {
+ if (hardwarePort != null && hardwarePort.eIsProxy()) {
+ InternalEObject oldHardwarePort = (InternalEObject)hardwarePort;
+ hardwarePort = (HardwarePin)eResolveProxy(oldHardwarePort);
+ if (hardwarePort != oldHardwarePort) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfrastructurePackage.FAULT_FAILURE_PORT_HW_TARGET_INSTANCE_REF__HARDWARE_PORT, oldHardwarePort, hardwarePort));
+ }
+ }
+ return hardwarePort;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public HardwarePin basicGetHardwarePort() {
+ return hardwarePort;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setHardwarePort(HardwarePin newHardwarePort) {
+ HardwarePin oldHardwarePort = hardwarePort;
+ hardwarePort = newHardwarePort;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, InfrastructurePackage.FAULT_FAILURE_PORT_HW_TARGET_INSTANCE_REF__HARDWARE_PORT, oldHardwarePort, hardwarePort));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<HardwareComponentPrototype> getHardwareComponentProtype() {
+ if (hardwareComponentProtype == null) {
+ hardwareComponentProtype = new EObjectResolvingEList<HardwareComponentPrototype>(HardwareComponentPrototype.class, this, InfrastructurePackage.FAULT_FAILURE_PORT_HW_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTYPE);
+ }
+ return hardwareComponentProtype;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case InfrastructurePackage.FAULT_FAILURE_PORT_HW_TARGET_INSTANCE_REF__HARDWARE_PORT:
+ if (resolve) return getHardwarePort();
+ return basicGetHardwarePort();
+ case InfrastructurePackage.FAULT_FAILURE_PORT_HW_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTYPE:
+ return getHardwareComponentProtype();
+ }
+ 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 InfrastructurePackage.FAULT_FAILURE_PORT_HW_TARGET_INSTANCE_REF__HARDWARE_PORT:
+ setHardwarePort((HardwarePin)newValue);
+ return;
+ case InfrastructurePackage.FAULT_FAILURE_PORT_HW_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTYPE:
+ getHardwareComponentProtype().clear();
+ getHardwareComponentProtype().addAll((Collection<? extends HardwareComponentPrototype>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.FAULT_FAILURE_PORT_HW_TARGET_INSTANCE_REF__HARDWARE_PORT:
+ setHardwarePort((HardwarePin)null);
+ return;
+ case InfrastructurePackage.FAULT_FAILURE_PORT_HW_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTYPE:
+ getHardwareComponentProtype().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.FAULT_FAILURE_PORT_HW_TARGET_INSTANCE_REF__HARDWARE_PORT:
+ return hardwarePort != null;
+ case InfrastructurePackage.FAULT_FAILURE_PORT_HW_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTYPE:
+ return hardwareComponentProtype != null && !hardwareComponentProtype.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //FaultFailurePort_hwTargetInstanceRefImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/FaultFailurePropagationLink_fromPortInstanceRefImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/FaultFailurePropagationLink_fromPortInstanceRefImpl.java
new file mode 100644
index 00000000000..12079e44371
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/FaultFailurePropagationLink_fromPortInstanceRefImpl.java
@@ -0,0 +1,193 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.impl;
+
+import java.util.Collection;
+
+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.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.papyrus.eastadl.dependability.errormodel.ErrorModelPrototype;
+import org.eclipse.papyrus.eastadl.dependability.errormodel.FaultFailurePort;
+import org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePropagationLink_fromPortInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Fault Failure Propagation Link from Port Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.FaultFailurePropagationLink_fromPortInstanceRefImpl#getFaultFairelurePort <em>Fault Fairelure Port</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.FaultFailurePropagationLink_fromPortInstanceRefImpl#getErrorModelPrototype <em>Error Model Prototype</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class FaultFailurePropagationLink_fromPortInstanceRefImpl extends InstanceRefImpl implements FaultFailurePropagationLink_fromPortInstanceRef {
+ /**
+ * The cached value of the '{@link #getFaultFairelurePort() <em>Fault Fairelure Port</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFaultFairelurePort()
+ * @generated
+ * @ordered
+ */
+ protected FaultFailurePort faultFairelurePort;
+
+ /**
+ * The cached value of the '{@link #getErrorModelPrototype() <em>Error Model Prototype</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getErrorModelPrototype()
+ * @generated
+ * @ordered
+ */
+ protected EList<ErrorModelPrototype> errorModelPrototype;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected FaultFailurePropagationLink_fromPortInstanceRefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return InfrastructurePackage.Literals.FAULT_FAILURE_PROPAGATION_LINK_FROM_PORT_INSTANCE_REF;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FaultFailurePort getFaultFairelurePort() {
+ if (faultFairelurePort != null && faultFairelurePort.eIsProxy()) {
+ InternalEObject oldFaultFairelurePort = (InternalEObject)faultFairelurePort;
+ faultFairelurePort = (FaultFailurePort)eResolveProxy(oldFaultFairelurePort);
+ if (faultFairelurePort != oldFaultFairelurePort) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfrastructurePackage.FAULT_FAILURE_PROPAGATION_LINK_FROM_PORT_INSTANCE_REF__FAULT_FAIRELURE_PORT, oldFaultFairelurePort, faultFairelurePort));
+ }
+ }
+ return faultFairelurePort;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FaultFailurePort basicGetFaultFairelurePort() {
+ return faultFairelurePort;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFaultFairelurePort(FaultFailurePort newFaultFairelurePort) {
+ FaultFailurePort oldFaultFairelurePort = faultFairelurePort;
+ faultFairelurePort = newFaultFairelurePort;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, InfrastructurePackage.FAULT_FAILURE_PROPAGATION_LINK_FROM_PORT_INSTANCE_REF__FAULT_FAIRELURE_PORT, oldFaultFairelurePort, faultFairelurePort));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<ErrorModelPrototype> getErrorModelPrototype() {
+ if (errorModelPrototype == null) {
+ errorModelPrototype = new EObjectResolvingEList<ErrorModelPrototype>(ErrorModelPrototype.class, this, InfrastructurePackage.FAULT_FAILURE_PROPAGATION_LINK_FROM_PORT_INSTANCE_REF__ERROR_MODEL_PROTOTYPE);
+ }
+ return errorModelPrototype;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case InfrastructurePackage.FAULT_FAILURE_PROPAGATION_LINK_FROM_PORT_INSTANCE_REF__FAULT_FAIRELURE_PORT:
+ if (resolve) return getFaultFairelurePort();
+ return basicGetFaultFairelurePort();
+ case InfrastructurePackage.FAULT_FAILURE_PROPAGATION_LINK_FROM_PORT_INSTANCE_REF__ERROR_MODEL_PROTOTYPE:
+ return getErrorModelPrototype();
+ }
+ 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 InfrastructurePackage.FAULT_FAILURE_PROPAGATION_LINK_FROM_PORT_INSTANCE_REF__FAULT_FAIRELURE_PORT:
+ setFaultFairelurePort((FaultFailurePort)newValue);
+ return;
+ case InfrastructurePackage.FAULT_FAILURE_PROPAGATION_LINK_FROM_PORT_INSTANCE_REF__ERROR_MODEL_PROTOTYPE:
+ getErrorModelPrototype().clear();
+ getErrorModelPrototype().addAll((Collection<? extends ErrorModelPrototype>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.FAULT_FAILURE_PROPAGATION_LINK_FROM_PORT_INSTANCE_REF__FAULT_FAIRELURE_PORT:
+ setFaultFairelurePort((FaultFailurePort)null);
+ return;
+ case InfrastructurePackage.FAULT_FAILURE_PROPAGATION_LINK_FROM_PORT_INSTANCE_REF__ERROR_MODEL_PROTOTYPE:
+ getErrorModelPrototype().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.FAULT_FAILURE_PROPAGATION_LINK_FROM_PORT_INSTANCE_REF__FAULT_FAIRELURE_PORT:
+ return faultFairelurePort != null;
+ case InfrastructurePackage.FAULT_FAILURE_PROPAGATION_LINK_FROM_PORT_INSTANCE_REF__ERROR_MODEL_PROTOTYPE:
+ return errorModelPrototype != null && !errorModelPrototype.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //FaultFailurePropagationLink_fromPortInstanceRefImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/FaultFailurePropagationLink_toPortInstanceRefImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/FaultFailurePropagationLink_toPortInstanceRefImpl.java
new file mode 100644
index 00000000000..11ff78da2d3
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/FaultFailurePropagationLink_toPortInstanceRefImpl.java
@@ -0,0 +1,193 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.impl;
+
+import java.util.Collection;
+
+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.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.papyrus.eastadl.dependability.errormodel.ErrorModelPrototype;
+import org.eclipse.papyrus.eastadl.dependability.errormodel.FaultFailurePort;
+import org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePropagationLink_toPortInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Fault Failure Propagation Link to Port Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.FaultFailurePropagationLink_toPortInstanceRefImpl#getFaultFairelurePort <em>Fault Fairelure Port</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.FaultFailurePropagationLink_toPortInstanceRefImpl#getErrorModelPrototype <em>Error Model Prototype</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class FaultFailurePropagationLink_toPortInstanceRefImpl extends InstanceRefImpl implements FaultFailurePropagationLink_toPortInstanceRef {
+ /**
+ * The cached value of the '{@link #getFaultFairelurePort() <em>Fault Fairelure Port</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFaultFairelurePort()
+ * @generated
+ * @ordered
+ */
+ protected FaultFailurePort faultFairelurePort;
+
+ /**
+ * The cached value of the '{@link #getErrorModelPrototype() <em>Error Model Prototype</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getErrorModelPrototype()
+ * @generated
+ * @ordered
+ */
+ protected EList<ErrorModelPrototype> errorModelPrototype;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected FaultFailurePropagationLink_toPortInstanceRefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return InfrastructurePackage.Literals.FAULT_FAILURE_PROPAGATION_LINK_TO_PORT_INSTANCE_REF;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FaultFailurePort getFaultFairelurePort() {
+ if (faultFairelurePort != null && faultFairelurePort.eIsProxy()) {
+ InternalEObject oldFaultFairelurePort = (InternalEObject)faultFairelurePort;
+ faultFairelurePort = (FaultFailurePort)eResolveProxy(oldFaultFairelurePort);
+ if (faultFairelurePort != oldFaultFairelurePort) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfrastructurePackage.FAULT_FAILURE_PROPAGATION_LINK_TO_PORT_INSTANCE_REF__FAULT_FAIRELURE_PORT, oldFaultFairelurePort, faultFairelurePort));
+ }
+ }
+ return faultFairelurePort;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FaultFailurePort basicGetFaultFairelurePort() {
+ return faultFairelurePort;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFaultFairelurePort(FaultFailurePort newFaultFairelurePort) {
+ FaultFailurePort oldFaultFairelurePort = faultFairelurePort;
+ faultFairelurePort = newFaultFairelurePort;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, InfrastructurePackage.FAULT_FAILURE_PROPAGATION_LINK_TO_PORT_INSTANCE_REF__FAULT_FAIRELURE_PORT, oldFaultFairelurePort, faultFairelurePort));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<ErrorModelPrototype> getErrorModelPrototype() {
+ if (errorModelPrototype == null) {
+ errorModelPrototype = new EObjectResolvingEList<ErrorModelPrototype>(ErrorModelPrototype.class, this, InfrastructurePackage.FAULT_FAILURE_PROPAGATION_LINK_TO_PORT_INSTANCE_REF__ERROR_MODEL_PROTOTYPE);
+ }
+ return errorModelPrototype;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case InfrastructurePackage.FAULT_FAILURE_PROPAGATION_LINK_TO_PORT_INSTANCE_REF__FAULT_FAIRELURE_PORT:
+ if (resolve) return getFaultFairelurePort();
+ return basicGetFaultFairelurePort();
+ case InfrastructurePackage.FAULT_FAILURE_PROPAGATION_LINK_TO_PORT_INSTANCE_REF__ERROR_MODEL_PROTOTYPE:
+ return getErrorModelPrototype();
+ }
+ 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 InfrastructurePackage.FAULT_FAILURE_PROPAGATION_LINK_TO_PORT_INSTANCE_REF__FAULT_FAIRELURE_PORT:
+ setFaultFairelurePort((FaultFailurePort)newValue);
+ return;
+ case InfrastructurePackage.FAULT_FAILURE_PROPAGATION_LINK_TO_PORT_INSTANCE_REF__ERROR_MODEL_PROTOTYPE:
+ getErrorModelPrototype().clear();
+ getErrorModelPrototype().addAll((Collection<? extends ErrorModelPrototype>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.FAULT_FAILURE_PROPAGATION_LINK_TO_PORT_INSTANCE_REF__FAULT_FAIRELURE_PORT:
+ setFaultFairelurePort((FaultFailurePort)null);
+ return;
+ case InfrastructurePackage.FAULT_FAILURE_PROPAGATION_LINK_TO_PORT_INSTANCE_REF__ERROR_MODEL_PROTOTYPE:
+ getErrorModelPrototype().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.FAULT_FAILURE_PROPAGATION_LINK_TO_PORT_INSTANCE_REF__FAULT_FAIRELURE_PORT:
+ return faultFairelurePort != null;
+ case InfrastructurePackage.FAULT_FAILURE_PROPAGATION_LINK_TO_PORT_INSTANCE_REF__ERROR_MODEL_PROTOTYPE:
+ return errorModelPrototype != null && !errorModelPrototype.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //FaultFailurePropagationLink_toPortInstanceRefImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/FaultFailure_anomalyInstanceRefImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/FaultFailure_anomalyInstanceRefImpl.java
new file mode 100644
index 00000000000..7352635d49b
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/FaultFailure_anomalyInstanceRefImpl.java
@@ -0,0 +1,193 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.impl;
+
+import java.util.Collection;
+
+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.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.papyrus.eastadl.dependability.errormodel.Anomaly;
+import org.eclipse.papyrus.eastadl.dependability.errormodel.ErrorModelPrototype;
+import org.eclipse.papyrus.eastadl.infrastructure.FaultFailure_anomalyInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Fault Failure anomaly Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.FaultFailure_anomalyInstanceRefImpl#getAnomaly <em>Anomaly</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.FaultFailure_anomalyInstanceRefImpl#getErrorModelPrototype <em>Error Model Prototype</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class FaultFailure_anomalyInstanceRefImpl extends InstanceRefImpl implements FaultFailure_anomalyInstanceRef {
+ /**
+ * The cached value of the '{@link #getAnomaly() <em>Anomaly</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAnomaly()
+ * @generated
+ * @ordered
+ */
+ protected Anomaly anomaly;
+
+ /**
+ * The cached value of the '{@link #getErrorModelPrototype() <em>Error Model Prototype</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getErrorModelPrototype()
+ * @generated
+ * @ordered
+ */
+ protected EList<ErrorModelPrototype> errorModelPrototype;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected FaultFailure_anomalyInstanceRefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return InfrastructurePackage.Literals.FAULT_FAILURE_ANOMALY_INSTANCE_REF;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Anomaly getAnomaly() {
+ if (anomaly != null && anomaly.eIsProxy()) {
+ InternalEObject oldAnomaly = (InternalEObject)anomaly;
+ anomaly = (Anomaly)eResolveProxy(oldAnomaly);
+ if (anomaly != oldAnomaly) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfrastructurePackage.FAULT_FAILURE_ANOMALY_INSTANCE_REF__ANOMALY, oldAnomaly, anomaly));
+ }
+ }
+ return anomaly;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Anomaly basicGetAnomaly() {
+ return anomaly;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAnomaly(Anomaly newAnomaly) {
+ Anomaly oldAnomaly = anomaly;
+ anomaly = newAnomaly;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, InfrastructurePackage.FAULT_FAILURE_ANOMALY_INSTANCE_REF__ANOMALY, oldAnomaly, anomaly));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<ErrorModelPrototype> getErrorModelPrototype() {
+ if (errorModelPrototype == null) {
+ errorModelPrototype = new EObjectResolvingEList<ErrorModelPrototype>(ErrorModelPrototype.class, this, InfrastructurePackage.FAULT_FAILURE_ANOMALY_INSTANCE_REF__ERROR_MODEL_PROTOTYPE);
+ }
+ return errorModelPrototype;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case InfrastructurePackage.FAULT_FAILURE_ANOMALY_INSTANCE_REF__ANOMALY:
+ if (resolve) return getAnomaly();
+ return basicGetAnomaly();
+ case InfrastructurePackage.FAULT_FAILURE_ANOMALY_INSTANCE_REF__ERROR_MODEL_PROTOTYPE:
+ return getErrorModelPrototype();
+ }
+ 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 InfrastructurePackage.FAULT_FAILURE_ANOMALY_INSTANCE_REF__ANOMALY:
+ setAnomaly((Anomaly)newValue);
+ return;
+ case InfrastructurePackage.FAULT_FAILURE_ANOMALY_INSTANCE_REF__ERROR_MODEL_PROTOTYPE:
+ getErrorModelPrototype().clear();
+ getErrorModelPrototype().addAll((Collection<? extends ErrorModelPrototype>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.FAULT_FAILURE_ANOMALY_INSTANCE_REF__ANOMALY:
+ setAnomaly((Anomaly)null);
+ return;
+ case InfrastructurePackage.FAULT_FAILURE_ANOMALY_INSTANCE_REF__ERROR_MODEL_PROTOTYPE:
+ getErrorModelPrototype().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.FAULT_FAILURE_ANOMALY_INSTANCE_REF__ANOMALY:
+ return anomaly != null;
+ case InfrastructurePackage.FAULT_FAILURE_ANOMALY_INSTANCE_REF__ERROR_MODEL_PROTOTYPE:
+ return errorModelPrototype != null && !errorModelPrototype.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //FaultFailure_anomalyInstanceRefImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/FunctionConnectorPortInstanceRefImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/FunctionConnectorPortInstanceRefImpl.java
new file mode 100644
index 00000000000..f7450229638
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/FunctionConnectorPortInstanceRefImpl.java
@@ -0,0 +1,214 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.papyrus.eastadl.infrastructure.FunctionConnectorPortInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPort;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Function Connector Port Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.FunctionConnectorPortInstanceRefImpl#getFunctionPort <em>Function Port</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.FunctionConnectorPortInstanceRefImpl#getFunctionPrototype <em>Function Prototype</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class FunctionConnectorPortInstanceRefImpl extends InstanceRefImpl implements FunctionConnectorPortInstanceRef {
+ /**
+ * The cached value of the '{@link #getFunctionPort() <em>Function Port</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFunctionPort()
+ * @generated
+ * @ordered
+ */
+ protected FunctionPort functionPort;
+
+ /**
+ * The cached value of the '{@link #getFunctionPrototype() <em>Function Prototype</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFunctionPrototype()
+ * @generated
+ * @ordered
+ */
+ protected FunctionPrototype functionPrototype;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected FunctionConnectorPortInstanceRefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return InfrastructurePackage.Literals.FUNCTION_CONNECTOR_PORT_INSTANCE_REF;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FunctionPort getFunctionPort() {
+ if (functionPort != null && functionPort.eIsProxy()) {
+ InternalEObject oldFunctionPort = (InternalEObject)functionPort;
+ functionPort = (FunctionPort)eResolveProxy(oldFunctionPort);
+ if (functionPort != oldFunctionPort) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfrastructurePackage.FUNCTION_CONNECTOR_PORT_INSTANCE_REF__FUNCTION_PORT, oldFunctionPort, functionPort));
+ }
+ }
+ return functionPort;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FunctionPort basicGetFunctionPort() {
+ return functionPort;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFunctionPort(FunctionPort newFunctionPort) {
+ FunctionPort oldFunctionPort = functionPort;
+ functionPort = newFunctionPort;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, InfrastructurePackage.FUNCTION_CONNECTOR_PORT_INSTANCE_REF__FUNCTION_PORT, oldFunctionPort, functionPort));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FunctionPrototype getFunctionPrototype() {
+ if (functionPrototype != null && functionPrototype.eIsProxy()) {
+ InternalEObject oldFunctionPrototype = (InternalEObject)functionPrototype;
+ functionPrototype = (FunctionPrototype)eResolveProxy(oldFunctionPrototype);
+ if (functionPrototype != oldFunctionPrototype) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfrastructurePackage.FUNCTION_CONNECTOR_PORT_INSTANCE_REF__FUNCTION_PROTOTYPE, oldFunctionPrototype, functionPrototype));
+ }
+ }
+ return functionPrototype;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FunctionPrototype basicGetFunctionPrototype() {
+ return functionPrototype;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFunctionPrototype(FunctionPrototype newFunctionPrototype) {
+ FunctionPrototype oldFunctionPrototype = functionPrototype;
+ functionPrototype = newFunctionPrototype;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, InfrastructurePackage.FUNCTION_CONNECTOR_PORT_INSTANCE_REF__FUNCTION_PROTOTYPE, oldFunctionPrototype, functionPrototype));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case InfrastructurePackage.FUNCTION_CONNECTOR_PORT_INSTANCE_REF__FUNCTION_PORT:
+ if (resolve) return getFunctionPort();
+ return basicGetFunctionPort();
+ case InfrastructurePackage.FUNCTION_CONNECTOR_PORT_INSTANCE_REF__FUNCTION_PROTOTYPE:
+ if (resolve) return getFunctionPrototype();
+ return basicGetFunctionPrototype();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case InfrastructurePackage.FUNCTION_CONNECTOR_PORT_INSTANCE_REF__FUNCTION_PORT:
+ setFunctionPort((FunctionPort)newValue);
+ return;
+ case InfrastructurePackage.FUNCTION_CONNECTOR_PORT_INSTANCE_REF__FUNCTION_PROTOTYPE:
+ setFunctionPrototype((FunctionPrototype)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.FUNCTION_CONNECTOR_PORT_INSTANCE_REF__FUNCTION_PORT:
+ setFunctionPort((FunctionPort)null);
+ return;
+ case InfrastructurePackage.FUNCTION_CONNECTOR_PORT_INSTANCE_REF__FUNCTION_PROTOTYPE:
+ setFunctionPrototype((FunctionPrototype)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.FUNCTION_CONNECTOR_PORT_INSTANCE_REF__FUNCTION_PORT:
+ return functionPort != null;
+ case InfrastructurePackage.FUNCTION_CONNECTOR_PORT_INSTANCE_REF__FUNCTION_PROTOTYPE:
+ return functionPrototype != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //FunctionConnectorPortInstanceRefImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/HardwareConnectorInstanceRefImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/HardwareConnectorInstanceRefImpl.java
new file mode 100644
index 00000000000..0ffa8a49217
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/HardwareConnectorInstanceRefImpl.java
@@ -0,0 +1,218 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.papyrus.eastadl.infrastructure.HardwareConnectorInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
+
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentPrototype;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePin;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Hardware Connector Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.HardwareConnectorInstanceRefImpl#getHardwarePin <em>Hardware Pin</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.HardwareConnectorInstanceRefImpl#getHardwareComponentPrototype <em>Hardware Component Prototype</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class HardwareConnectorInstanceRefImpl extends InstanceRefImpl implements HardwareConnectorInstanceRef {
+ /**
+ * The cached value of the '{@link #getHardwarePin() <em>Hardware Pin</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getHardwarePin()
+ * @generated
+ * @ordered
+ */
+ protected HardwarePin hardwarePin;
+
+ /**
+ * The cached value of the '{@link #getHardwareComponentPrototype() <em>Hardware Component Prototype</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getHardwareComponentPrototype()
+ * @generated
+ * @ordered
+ */
+ protected HardwareComponentPrototype hardwareComponentPrototype;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected HardwareConnectorInstanceRefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return InfrastructurePackage.Literals.HARDWARE_CONNECTOR_INSTANCE_REF;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public HardwarePin getHardwarePin() {
+ if (hardwarePin != null && hardwarePin.eIsProxy()) {
+ InternalEObject oldHardwarePin = (InternalEObject)hardwarePin;
+ hardwarePin = (HardwarePin)eResolveProxy(oldHardwarePin);
+ if (hardwarePin != oldHardwarePin) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfrastructurePackage.HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_PIN, oldHardwarePin, hardwarePin));
+ }
+ }
+ return hardwarePin;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public HardwarePin basicGetHardwarePin() {
+ return hardwarePin;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setHardwarePin(HardwarePin newHardwarePin) {
+ HardwarePin oldHardwarePin = hardwarePin;
+ hardwarePin = newHardwarePin;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, InfrastructurePackage.HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_PIN, oldHardwarePin, hardwarePin));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public HardwareComponentPrototype getHardwareComponentPrototype() {
+ if (hardwareComponentPrototype != null && hardwareComponentPrototype.eIsProxy()) {
+ InternalEObject oldHardwareComponentPrototype = (InternalEObject)hardwareComponentPrototype;
+ hardwareComponentPrototype = (HardwareComponentPrototype)eResolveProxy(oldHardwareComponentPrototype);
+ if (hardwareComponentPrototype != oldHardwareComponentPrototype) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfrastructurePackage.HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE, oldHardwareComponentPrototype, hardwareComponentPrototype));
+ }
+ }
+ return hardwareComponentPrototype;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public HardwareComponentPrototype basicGetHardwareComponentPrototype() {
+ return hardwareComponentPrototype;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setHardwareComponentPrototype(HardwareComponentPrototype newHardwareComponentPrototype) {
+ HardwareComponentPrototype oldHardwareComponentPrototype = hardwareComponentPrototype;
+ hardwareComponentPrototype = newHardwareComponentPrototype;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, InfrastructurePackage.HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE, oldHardwareComponentPrototype, hardwareComponentPrototype));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case InfrastructurePackage.HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_PIN:
+ if (resolve) return getHardwarePin();
+ return basicGetHardwarePin();
+ case InfrastructurePackage.HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE:
+ if (resolve) return getHardwareComponentPrototype();
+ return basicGetHardwareComponentPrototype();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case InfrastructurePackage.HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_PIN:
+ setHardwarePin((HardwarePin)newValue);
+ return;
+ case InfrastructurePackage.HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE:
+ setHardwareComponentPrototype((HardwareComponentPrototype)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_PIN:
+ setHardwarePin((HardwarePin)null);
+ return;
+ case InfrastructurePackage.HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE:
+ setHardwareComponentPrototype((HardwareComponentPrototype)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_PIN:
+ return hardwarePin != null;
+ case InfrastructurePackage.HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE:
+ return hardwareComponentPrototype != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //HardwareConnectorInstanceRefImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/HardwareConnectorPortInstanceRefImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/HardwareConnectorPortInstanceRefImpl.java
new file mode 100644
index 00000000000..3d15d969b66
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/HardwareConnectorPortInstanceRefImpl.java
@@ -0,0 +1,214 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.papyrus.eastadl.infrastructure.HardwareConnectorPortInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentPrototype;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePin;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Hardware Connector Port Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.HardwareConnectorPortInstanceRefImpl#getHardwarePin <em>Hardware Pin</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.HardwareConnectorPortInstanceRefImpl#getHardwareComponentPrototype <em>Hardware Component Prototype</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class HardwareConnectorPortInstanceRefImpl extends InstanceRefImpl implements HardwareConnectorPortInstanceRef {
+ /**
+ * The cached value of the '{@link #getHardwarePin() <em>Hardware Pin</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getHardwarePin()
+ * @generated
+ * @ordered
+ */
+ protected HardwarePin hardwarePin;
+
+ /**
+ * The cached value of the '{@link #getHardwareComponentPrototype() <em>Hardware Component Prototype</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getHardwareComponentPrototype()
+ * @generated
+ * @ordered
+ */
+ protected HardwareComponentPrototype hardwareComponentPrototype;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected HardwareConnectorPortInstanceRefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return InfrastructurePackage.Literals.HARDWARE_CONNECTOR_INSTANCE_REF;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public HardwarePin getHardwarePin() {
+ if (hardwarePin != null && hardwarePin.eIsProxy()) {
+ InternalEObject oldHardwarePin = (InternalEObject)hardwarePin;
+ hardwarePin = (HardwarePin)eResolveProxy(oldHardwarePin);
+ if (hardwarePin != oldHardwarePin) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfrastructurePackage.HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_PIN, oldHardwarePin, hardwarePin));
+ }
+ }
+ return hardwarePin;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public HardwarePin basicGetHardwarePin() {
+ return hardwarePin;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setHardwarePin(HardwarePin newHardwarePin) {
+ HardwarePin oldHardwarePin = hardwarePin;
+ hardwarePin = newHardwarePin;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, InfrastructurePackage.HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_PIN, oldHardwarePin, hardwarePin));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public HardwareComponentPrototype getHardwareComponentPrototype() {
+ if (hardwareComponentPrototype != null && hardwareComponentPrototype.eIsProxy()) {
+ InternalEObject oldHardwareComponentPrototype = (InternalEObject)hardwareComponentPrototype;
+ hardwareComponentPrototype = (HardwareComponentPrototype)eResolveProxy(oldHardwareComponentPrototype);
+ if (hardwareComponentPrototype != oldHardwareComponentPrototype) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfrastructurePackage.HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE, oldHardwareComponentPrototype, hardwareComponentPrototype));
+ }
+ }
+ return hardwareComponentPrototype;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public HardwareComponentPrototype basicGetHardwareComponentPrototype() {
+ return hardwareComponentPrototype;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setHardwareComponentPrototype(HardwareComponentPrototype newHardwareComponentPrototype) {
+ HardwareComponentPrototype oldHardwareComponentPrototype = hardwareComponentPrototype;
+ hardwareComponentPrototype = newHardwareComponentPrototype;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, InfrastructurePackage.HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE, oldHardwareComponentPrototype, hardwareComponentPrototype));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case InfrastructurePackage.HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_PIN:
+ if (resolve) return getHardwarePin();
+ return basicGetHardwarePin();
+ case InfrastructurePackage.HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE:
+ if (resolve) return getHardwareComponentPrototype();
+ return basicGetHardwareComponentPrototype();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case InfrastructurePackage.HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_PIN:
+ setHardwarePin((HardwarePin)newValue);
+ return;
+ case InfrastructurePackage.HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE:
+ setHardwareComponentPrototype((HardwareComponentPrototype)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_PIN:
+ setHardwarePin((HardwarePin)null);
+ return;
+ case InfrastructurePackage.HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE:
+ setHardwareComponentPrototype((HardwareComponentPrototype)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_PIN:
+ return hardwarePin != null;
+ case InfrastructurePackage.HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE:
+ return hardwareComponentPrototype != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //HardwareConnectorPortInstanceRefImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/HardwarePortConnectorInstanceRefImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/HardwarePortConnectorInstanceRefImpl.java
new file mode 100644
index 00000000000..d1be45ccd04
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/HardwarePortConnectorInstanceRefImpl.java
@@ -0,0 +1,214 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.papyrus.eastadl.infrastructure.HardwarePortConnectorInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentPrototype;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePort;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Hardware Port Connector Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.HardwarePortConnectorInstanceRefImpl#getHardwarePort <em>Hardware Port</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.HardwarePortConnectorInstanceRefImpl#getHardwareComponentPrototype <em>Hardware Component Prototype</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class HardwarePortConnectorInstanceRefImpl extends InstanceRefImpl implements HardwarePortConnectorInstanceRef {
+ /**
+ * The cached value of the '{@link #getHardwarePort() <em>Hardware Port</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getHardwarePort()
+ * @generated
+ * @ordered
+ */
+ protected HardwarePort hardwarePort;
+
+ /**
+ * The cached value of the '{@link #getHardwareComponentPrototype() <em>Hardware Component Prototype</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getHardwareComponentPrototype()
+ * @generated
+ * @ordered
+ */
+ protected HardwareComponentPrototype hardwareComponentPrototype;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected HardwarePortConnectorInstanceRefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return InfrastructurePackage.Literals.HARDWARE_PORT_CONNECTOR_INSTANCE_REF;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public HardwarePort getHardwarePort() {
+ if (hardwarePort != null && hardwarePort.eIsProxy()) {
+ InternalEObject oldHardwarePort = (InternalEObject)hardwarePort;
+ hardwarePort = (HardwarePort)eResolveProxy(oldHardwarePort);
+ if (hardwarePort != oldHardwarePort) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfrastructurePackage.HARDWARE_PORT_CONNECTOR_INSTANCE_REF__HARDWARE_PORT, oldHardwarePort, hardwarePort));
+ }
+ }
+ return hardwarePort;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public HardwarePort basicGetHardwarePort() {
+ return hardwarePort;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setHardwarePort(HardwarePort newHardwarePort) {
+ HardwarePort oldHardwarePort = hardwarePort;
+ hardwarePort = newHardwarePort;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, InfrastructurePackage.HARDWARE_PORT_CONNECTOR_INSTANCE_REF__HARDWARE_PORT, oldHardwarePort, hardwarePort));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public HardwareComponentPrototype getHardwareComponentPrototype() {
+ if (hardwareComponentPrototype != null && hardwareComponentPrototype.eIsProxy()) {
+ InternalEObject oldHardwareComponentPrototype = (InternalEObject)hardwareComponentPrototype;
+ hardwareComponentPrototype = (HardwareComponentPrototype)eResolveProxy(oldHardwareComponentPrototype);
+ if (hardwareComponentPrototype != oldHardwareComponentPrototype) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfrastructurePackage.HARDWARE_PORT_CONNECTOR_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE, oldHardwareComponentPrototype, hardwareComponentPrototype));
+ }
+ }
+ return hardwareComponentPrototype;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public HardwareComponentPrototype basicGetHardwareComponentPrototype() {
+ return hardwareComponentPrototype;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setHardwareComponentPrototype(HardwareComponentPrototype newHardwareComponentPrototype) {
+ HardwareComponentPrototype oldHardwareComponentPrototype = hardwareComponentPrototype;
+ hardwareComponentPrototype = newHardwareComponentPrototype;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, InfrastructurePackage.HARDWARE_PORT_CONNECTOR_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE, oldHardwareComponentPrototype, hardwareComponentPrototype));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case InfrastructurePackage.HARDWARE_PORT_CONNECTOR_INSTANCE_REF__HARDWARE_PORT:
+ if (resolve) return getHardwarePort();
+ return basicGetHardwarePort();
+ case InfrastructurePackage.HARDWARE_PORT_CONNECTOR_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE:
+ if (resolve) return getHardwareComponentPrototype();
+ return basicGetHardwareComponentPrototype();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case InfrastructurePackage.HARDWARE_PORT_CONNECTOR_INSTANCE_REF__HARDWARE_PORT:
+ setHardwarePort((HardwarePort)newValue);
+ return;
+ case InfrastructurePackage.HARDWARE_PORT_CONNECTOR_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE:
+ setHardwareComponentPrototype((HardwareComponentPrototype)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.HARDWARE_PORT_CONNECTOR_INSTANCE_REF__HARDWARE_PORT:
+ setHardwarePort((HardwarePort)null);
+ return;
+ case InfrastructurePackage.HARDWARE_PORT_CONNECTOR_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE:
+ setHardwareComponentPrototype((HardwareComponentPrototype)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.HARDWARE_PORT_CONNECTOR_INSTANCE_REF__HARDWARE_PORT:
+ return hardwarePort != null;
+ case InfrastructurePackage.HARDWARE_PORT_CONNECTOR_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE:
+ return hardwareComponentPrototype != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //HardwarePortConnectorInstanceRefImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/InfrastructureFactoryImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/InfrastructureFactoryImpl.java
index 862f5784233..0f8869b77ca 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/InfrastructureFactoryImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/InfrastructureFactoryImpl.java
@@ -22,23 +22,18 @@ import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.impl.EFactoryImpl;
import org.eclipse.emf.ecore.plugin.EcorePlugin;
import org.eclipse.papyrus.eastadl.infrastructure.*;
-import org.eclipse.papyrus.eastadl.infrastructure.InfrastructureFactory;
-import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
/**
* <!-- begin-user-doc -->
* An implementation of the model <b>Factory</b>.
* <!-- end-user-doc -->
- *
* @generated
*/
public class InfrastructureFactoryImpl extends EFactoryImpl implements InfrastructureFactory {
-
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @deprecated
* @generated
*/
@@ -51,16 +46,16 @@ public class InfrastructureFactoryImpl extends EFactoryImpl implements Infrastru
* Creates the default factory implementation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public static InfrastructureFactory init() {
try {
InfrastructureFactory theInfrastructureFactory = (InfrastructureFactory)EPackage.Registry.INSTANCE.getEFactory(InfrastructurePackage.eNS_URI);
- if(theInfrastructureFactory != null) {
+ if (theInfrastructureFactory != null) {
return theInfrastructureFactory;
}
- } catch (Exception exception) {
+ }
+ catch (Exception exception) {
EcorePlugin.INSTANCE.log(exception);
}
return new InfrastructureFactoryImpl();
@@ -70,7 +65,6 @@ public class InfrastructureFactoryImpl extends EFactoryImpl implements Infrastru
* Creates an instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public InfrastructureFactoryImpl() {
@@ -80,7 +74,6 @@ public class InfrastructureFactoryImpl extends EFactoryImpl implements Infrastru
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public String convertDummyToString(EDataType eDataType, Object instanceValue) {
@@ -90,37 +83,364 @@ public class InfrastructureFactoryImpl extends EFactoryImpl implements Infrastru
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public String convertToString(EDataType eDataType, Object instanceValue) {
- switch(eDataType.getClassifierID()) {
- case InfrastructurePackage.DUMMY:
- return convertDummyToString(eDataType, instanceValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ switch (eDataType.getClassifierID()) {
+ case InfrastructurePackage.DUMMY:
+ return convertDummyToString(eDataType, instanceValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ * @generated
+ */
+ public InstanceRef createInstanceRef() {
+ InstanceRefImpl instanceRef = new InstanceRefImpl();
+ return instanceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TargetInstanceRef createTargetInstanceRef() {
+ TargetInstanceRefImpl targetInstanceRef = new TargetInstanceRefImpl();
+ return targetInstanceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FunctionConnectorPortInstanceRef createFunctionConnectorPortInstanceRef() {
+ FunctionConnectorPortInstanceRefImpl functionConnectorPortInstanceRef = new FunctionConnectorPortInstanceRefImpl();
+ return functionConnectorPortInstanceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public HardwareConnectorInstanceRef createHardwareConnectorInstanceRef() {
+ HardwareConnectorInstanceRefImpl hardwareConnectorInstanceRef = new HardwareConnectorInstanceRefImpl();
+ return hardwareConnectorInstanceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public HardwarePortConnectorInstanceRef createHardwarePortConnectorInstanceRef() {
+ HardwarePortConnectorInstanceRefImpl hardwarePortConnectorInstanceRef = new HardwarePortConnectorInstanceRefImpl();
+ return hardwarePortConnectorInstanceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public AllocatedElementInstanceRef createAllocatedElementInstanceRef() {
+ AllocatedElementInstanceRefImpl allocatedElementInstanceRef = new AllocatedElementInstanceRefImpl();
+ return allocatedElementInstanceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ClampConnectorInstanceRef createClampConnectorInstanceRef() {
+ ClampConnectorInstanceRefImpl clampConnectorInstanceRef = new ClampConnectorInstanceRefImpl();
+ return clampConnectorInstanceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public RefineInstanceRef createRefineInstanceRef() {
+ RefineInstanceRefImpl refineInstanceRef = new RefineInstanceRefImpl();
+ return refineInstanceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SatisfyInstanceRef createSatisfyInstanceRef() {
+ SatisfyInstanceRefImpl satisfyInstanceRef = new SatisfyInstanceRefImpl();
+ return satisfyInstanceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public VVCaseInstanceRef createVVCaseInstanceRef() {
+ VVCaseInstanceRefImpl vvCaseInstanceRef = new VVCaseInstanceRefImpl();
+ return vvCaseInstanceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public VVTargetInstanceRef createVVTargetInstanceRef() {
+ VVTargetInstanceRefImpl vvTargetInstanceRef = new VVTargetInstanceRefImpl();
+ return vvTargetInstanceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Realization_realizedInstanceRef createRealization_realizedInstanceRef() {
+ Realization_realizedInstanceRefImpl realization_realizedInstanceRef = new Realization_realizedInstanceRefImpl();
+ return realization_realizedInstanceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Realization_realizedByInstanceRef createRealization_realizedByInstanceRef() {
+ Realization_realizedByInstanceRefImpl realization_realizedByInstanceRef = new Realization_realizedByInstanceRefImpl();
+ return realization_realizedByInstanceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EventFunctionInstanceRef createEventFunctionInstanceRef() {
+ EventFunctionInstanceRefImpl eventFunctionInstanceRef = new EventFunctionInstanceRefImpl();
+ return eventFunctionInstanceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EventFunctionClientServerPortInstanceRef createEventFunctionClientServerPortInstanceRef() {
+ EventFunctionClientServerPortInstanceRefImpl eventFunctionClientServerPortInstanceRef = new EventFunctionClientServerPortInstanceRefImpl();
+ return eventFunctionClientServerPortInstanceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EventFunctionFlowPortInstanceRef createEventFunctionFlowPortInstanceRef() {
+ EventFunctionFlowPortInstanceRefImpl eventFunctionFlowPortInstanceRef = new EventFunctionFlowPortInstanceRefImpl();
+ return eventFunctionFlowPortInstanceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public PrecedenceConstraint_precedingInstanceRef createPrecedenceConstraint_precedingInstanceRef() {
+ PrecedenceConstraint_precedingInstanceRefImpl precedenceConstraint_precedingInstanceRef = new PrecedenceConstraint_precedingInstanceRefImpl();
+ return precedenceConstraint_precedingInstanceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public PrecedenceConstraint_successiveInstanceRef createPrecedenceConstraint_successiveInstanceRef() {
+ PrecedenceConstraint_successiveInstanceRefImpl precedenceConstraint_successiveInstanceRef = new PrecedenceConstraint_successiveInstanceRefImpl();
+ return precedenceConstraint_successiveInstanceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ErrorModelPrototype_functionTargetInstanceRef createErrorModelPrototype_functionTargetInstanceRef() {
+ ErrorModelPrototype_functionTargetInstanceRefImpl errorModelPrototype_functionTargetInstanceRef = new ErrorModelPrototype_functionTargetInstanceRefImpl();
+ return errorModelPrototype_functionTargetInstanceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ErrorModelPrototype_hwTargetInstanceRef createErrorModelPrototype_hwTargetInstanceRef() {
+ ErrorModelPrototype_hwTargetInstanceRefImpl errorModelPrototype_hwTargetInstanceRef = new ErrorModelPrototype_hwTargetInstanceRefImpl();
+ return errorModelPrototype_hwTargetInstanceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FaultFailurePort_hwTargetInstanceRef createFaultFailurePort_hwTargetInstanceRef() {
+ FaultFailurePort_hwTargetInstanceRefImpl faultFailurePort_hwTargetInstanceRef = new FaultFailurePort_hwTargetInstanceRefImpl();
+ return faultFailurePort_hwTargetInstanceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FaultFailurePort_functionTargetInstanceRef createFaultFailurePort_functionTargetInstanceRef() {
+ FaultFailurePort_functionTargetInstanceRefImpl faultFailurePort_functionTargetInstanceRef = new FaultFailurePort_functionTargetInstanceRefImpl();
+ return faultFailurePort_functionTargetInstanceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FaultFailurePropagationLink_fromPortInstanceRef createFaultFailurePropagationLink_fromPortInstanceRef() {
+ FaultFailurePropagationLink_fromPortInstanceRefImpl faultFailurePropagationLink_fromPortInstanceRef = new FaultFailurePropagationLink_fromPortInstanceRefImpl();
+ return faultFailurePropagationLink_fromPortInstanceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FaultFailure_anomalyInstanceRef createFaultFailure_anomalyInstanceRef() {
+ FaultFailure_anomalyInstanceRefImpl faultFailure_anomalyInstanceRef = new FaultFailure_anomalyInstanceRefImpl();
+ return faultFailure_anomalyInstanceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FaultFailurePropagationLink_toPortInstanceRef createFaultFailurePropagationLink_toPortInstanceRef() {
+ FaultFailurePropagationLink_toPortInstanceRefImpl faultFailurePropagationLink_toPortInstanceRef = new FaultFailurePropagationLink_toPortInstanceRefImpl();
+ return faultFailurePropagationLink_toPortInstanceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef createBehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef() {
+ BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRefImpl behaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef = new BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRefImpl();
+ return behaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef createBehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef() {
+ BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRefImpl behaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef = new BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRefImpl();
+ return behaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BehaviorConstraintPrototype_functionTargetInstanceRef createBehaviorConstraintPrototype_functionTargetInstanceRef() {
+ BehaviorConstraintPrototype_functionTargetInstanceRefImpl behaviorConstraintPrototype_functionTargetInstanceRef = new BehaviorConstraintPrototype_functionTargetInstanceRefImpl();
+ return behaviorConstraintPrototype_functionTargetInstanceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BehaviorConstraintPrototype_hardwareComponentTargetInstanceRef createBehaviorConstraintPrototype_hardwareComponentTargetInstanceRef() {
+ BehaviorConstraintPrototype_hardwareComponentTargetInstanceRefImpl behaviorConstraintPrototype_hardwareComponentTargetInstanceRef = new BehaviorConstraintPrototype_hardwareComponentTargetInstanceRefImpl();
+ return behaviorConstraintPrototype_hardwareComponentTargetInstanceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BehaviorConstraintPrototype_errorModelTargetInstanceRef createBehaviorConstraintPrototype_errorModelTargetInstanceRef() {
+ BehaviorConstraintPrototype_errorModelTargetInstanceRefImpl behaviorConstraintPrototype_errorModelTargetInstanceRef = new BehaviorConstraintPrototype_errorModelTargetInstanceRefImpl();
+ return behaviorConstraintPrototype_errorModelTargetInstanceRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
@Override
public EObject create(EClass eClass) {
- switch(eClass.getClassifierID()) {
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ switch (eClass.getClassifierID()) {
+ case InfrastructurePackage.INSTANCE_REF: return createInstanceRef();
+ case InfrastructurePackage.TARGET_INSTANCE_REF: return createTargetInstanceRef();
+ case InfrastructurePackage.FUNCTION_CONNECTOR_PORT_INSTANCE_REF: return createFunctionConnectorPortInstanceRef();
+ case InfrastructurePackage.HARDWARE_CONNECTOR_INSTANCE_REF: return createHardwareConnectorInstanceRef();
+ case InfrastructurePackage.HARDWARE_PORT_CONNECTOR_INSTANCE_REF: return createHardwarePortConnectorInstanceRef();
+ case InfrastructurePackage.ALLOCATED_ELEMENT_INSTANCE_REF: return createAllocatedElementInstanceRef();
+ case InfrastructurePackage.CLAMP_CONNECTOR_INSTANCE_REF: return createClampConnectorInstanceRef();
+ case InfrastructurePackage.REFINE_INSTANCE_REF: return createRefineInstanceRef();
+ case InfrastructurePackage.SATISFY_INSTANCE_REF: return createSatisfyInstanceRef();
+ case InfrastructurePackage.VV_CASE_INSTANCE_REF: return createVVCaseInstanceRef();
+ case InfrastructurePackage.VV_TARGET_INSTANCE_REF: return createVVTargetInstanceRef();
+ case InfrastructurePackage.REALIZATION_REALIZED_INSTANCE_REF: return createRealization_realizedInstanceRef();
+ case InfrastructurePackage.REALIZATION_REALIZED_BY_INSTANCE_REF: return createRealization_realizedByInstanceRef();
+ case InfrastructurePackage.EVENT_FUNCTION_INSTANCE_REF: return createEventFunctionInstanceRef();
+ case InfrastructurePackage.EVENT_FUNCTION_CLIENT_SERVER_PORT_INSTANCE_REF: return createEventFunctionClientServerPortInstanceRef();
+ case InfrastructurePackage.EVENT_FUNCTION_FLOW_PORT_INSTANCE_REF: return createEventFunctionFlowPortInstanceRef();
+ case InfrastructurePackage.PRECEDENCE_CONSTRAINT_PRECEDING_INSTANCE_REF: return createPrecedenceConstraint_precedingInstanceRef();
+ case InfrastructurePackage.PRECEDENCE_CONSTRAINT_SUCCESSIVE_INSTANCE_REF: return createPrecedenceConstraint_successiveInstanceRef();
+ case InfrastructurePackage.ERROR_MODEL_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF: return createErrorModelPrototype_functionTargetInstanceRef();
+ case InfrastructurePackage.ERROR_MODEL_PROTOTYPE_HW_TARGET_INSTANCE_REF: return createErrorModelPrototype_hwTargetInstanceRef();
+ case InfrastructurePackage.FAULT_FAILURE_PORT_HW_TARGET_INSTANCE_REF: return createFaultFailurePort_hwTargetInstanceRef();
+ case InfrastructurePackage.FAULT_FAILURE_PORT_FUNCTION_TARGET_INSTANCE_REF: return createFaultFailurePort_functionTargetInstanceRef();
+ case InfrastructurePackage.FAULT_FAILURE_PROPAGATION_LINK_FROM_PORT_INSTANCE_REF: return createFaultFailurePropagationLink_fromPortInstanceRef();
+ case InfrastructurePackage.FAULT_FAILURE_ANOMALY_INSTANCE_REF: return createFaultFailure_anomalyInstanceRef();
+ case InfrastructurePackage.FAULT_FAILURE_PROPAGATION_LINK_TO_PORT_INSTANCE_REF: return createFaultFailurePropagationLink_toPortInstanceRef();
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_FUNCTION_CONNECTOR_INSTANCE_REF: return createBehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef();
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_HARDWARE_CONNECTOR_INSTANCE_REF: return createBehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef();
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF: return createBehaviorConstraintPrototype_functionTargetInstanceRef();
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_HARDWARE_COMPONENT_TARGET_INSTANCE_REF: return createBehaviorConstraintPrototype_hardwareComponentTargetInstanceRef();
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_ERROR_MODEL_TARGET_INSTANCE_REF: return createBehaviorConstraintPrototype_errorModelTargetInstanceRef();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public String createDummyFromString(EDataType eDataType, String initialValue) {
@@ -130,23 +450,21 @@ public class InfrastructureFactoryImpl extends EFactoryImpl implements Infrastru
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object createFromString(EDataType eDataType, String initialValue) {
- switch(eDataType.getClassifierID()) {
- case InfrastructurePackage.DUMMY:
- return createDummyFromString(eDataType, initialValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ switch (eDataType.getClassifierID()) {
+ case InfrastructurePackage.DUMMY:
+ return createDummyFromString(eDataType, initialValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public InfrastructurePackage getInfrastructurePackage() {
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/InfrastructurePackageImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/InfrastructurePackageImpl.java
index a0ad14cd5d7..08db0c02c5a 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/InfrastructurePackageImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/InfrastructurePackageImpl.java
@@ -15,14 +15,25 @@
*****************************************************************************/
package org.eclipse.papyrus.eastadl.infrastructure.impl;
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EDataType;
import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
import org.eclipse.emf.ecore.impl.EPackageImpl;
import org.eclipse.papyrus.eastadl.EastadlPackage;
import org.eclipse.papyrus.eastadl.annex.AnnexPackage;
+import org.eclipse.papyrus.eastadl.annex.attributequantificationconstraint.AttributequantificationconstraintPackage;
+import org.eclipse.papyrus.eastadl.annex.attributequantificationconstraint.impl.AttributequantificationconstraintPackageImpl;
+import org.eclipse.papyrus.eastadl.annex.behaviordescription.BehaviordescriptionPackage;
+import org.eclipse.papyrus.eastadl.annex.behaviordescription.impl.BehaviordescriptionPackageImpl;
+import org.eclipse.papyrus.eastadl.annex.computationconstraint.ComputationconstraintPackage;
+import org.eclipse.papyrus.eastadl.annex.computationconstraint.impl.ComputationconstraintPackageImpl;
import org.eclipse.papyrus.eastadl.annex.impl.AnnexPackageImpl;
import org.eclipse.papyrus.eastadl.annex.needs.NeedsPackage;
import org.eclipse.papyrus.eastadl.annex.needs.impl.NeedsPackageImpl;
+import org.eclipse.papyrus.eastadl.annex.temporalconstraint.TemporalconstraintPackage;
+import org.eclipse.papyrus.eastadl.annex.temporalconstraint.impl.TemporalconstraintPackageImpl;
import org.eclipse.papyrus.eastadl.behavior.BehaviorPackage;
import org.eclipse.papyrus.eastadl.behavior.impl.BehaviorPackageImpl;
import org.eclipse.papyrus.eastadl.dependability.DependabilityPackage;
@@ -40,18 +51,50 @@ import org.eclipse.papyrus.eastadl.environment.impl.EnvironmentPackageImpl;
import org.eclipse.papyrus.eastadl.genericconstraints.GenericconstraintsPackage;
import org.eclipse.papyrus.eastadl.genericconstraints.impl.GenericconstraintsPackageImpl;
import org.eclipse.papyrus.eastadl.impl.EastadlPackageImpl;
+import org.eclipse.papyrus.eastadl.infrastructure.AllocatedElementInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_errorModelTargetInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_functionTargetInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_hardwareComponentTargetInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.ClampConnectorInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.ErrorModelPrototype_functionTargetInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.ErrorModelPrototype_hwTargetInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.EventFunctionClientServerPortInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.EventFunctionFlowPortInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.EventFunctionInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePort_functionTargetInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePort_hwTargetInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePropagationLink_fromPortInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePropagationLink_toPortInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.FaultFailure_anomalyInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.FunctionConnectorPortInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.HardwareConnectorInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.HardwarePortConnectorInstanceRef;
import org.eclipse.papyrus.eastadl.infrastructure.InfrastructureFactory;
import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
+import org.eclipse.papyrus.eastadl.infrastructure.InstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.PrecedenceConstraint_precedingInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.PrecedenceConstraint_successiveInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.Realization_realizedByInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.Realization_realizedInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.RefineInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.SatisfyInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.TargetInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.VVCaseInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.VVTargetInstanceRef;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage;
import org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl;
import org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage;
import org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl;
import org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserattributesPackage;
import org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserattributesPackageImpl;
-import org.eclipse.papyrus.eastadl.interchange.InterchangePackage;
-import org.eclipse.papyrus.eastadl.interchange.impl.InterchangePackageImpl;
+import org.eclipse.papyrus.eastadl.infrastructure.values.ValuesPackage;
+import org.eclipse.papyrus.eastadl.infrastructure.values.impl.ValuesPackageImpl;
import org.eclipse.papyrus.eastadl.requirements.RequirementsPackage;
import org.eclipse.papyrus.eastadl.requirements.impl.RequirementsPackageImpl;
+import org.eclipse.papyrus.eastadl.requirements.usecases.UsecasesPackage;
+import org.eclipse.papyrus.eastadl.requirements.usecases.impl.UsecasesPackageImpl;
import org.eclipse.papyrus.eastadl.requirements.verificationvalidation.VerificationvalidationPackage;
import org.eclipse.papyrus.eastadl.requirements.verificationvalidation.impl.VerificationvalidationPackageImpl;
import org.eclipse.papyrus.eastadl.structure.StructurePackage;
@@ -75,13 +118,14 @@ import org.eclipse.papyrus.eastadl.timing.timingconstraints.impl.Timingconstrain
import org.eclipse.papyrus.eastadl.variability.VariabilityPackage;
import org.eclipse.papyrus.eastadl.variability.impl.VariabilityPackageImpl;
import org.eclipse.papyrus.sysml.SysmlPackage;
+import org.eclipse.uml2.types.TypesPackage;
+import org.eclipse.uml2.uml.UMLPackage;
/**
* <!-- begin-user-doc -->
* An implementation of the model <b>Package</b>.
* <!-- end-user-doc -->
- *
* @generated
*/
public class InfrastructurePackageImpl extends EPackageImpl implements InfrastructurePackage {
@@ -89,7 +133,216 @@ public class InfrastructurePackageImpl extends EPackageImpl implements Infrastru
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ * @generated
+ */
+ private EClass instanceRefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass targetInstanceRefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass functionConnectorPortInstanceRefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass hardwareConnectorInstanceRefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass hardwarePortConnectorInstanceRefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass allocatedElementInstanceRefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass clampConnectorInstanceRefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass refineInstanceRefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass satisfyInstanceRefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass vvCaseInstanceRefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass vvTargetInstanceRefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass realization_realizedInstanceRefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass realization_realizedByInstanceRefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eventFunctionInstanceRefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eventFunctionClientServerPortInstanceRefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eventFunctionFlowPortInstanceRefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass precedenceConstraint_precedingInstanceRefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass precedenceConstraint_successiveInstanceRefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass errorModelPrototype_functionTargetInstanceRefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass errorModelPrototype_hwTargetInstanceRefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass faultFailurePort_hwTargetInstanceRefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass faultFailurePort_functionTargetInstanceRefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass faultFailurePropagationLink_fromPortInstanceRefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass faultFailure_anomalyInstanceRefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass faultFailurePropagationLink_toPortInstanceRefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass behaviorConstraintInternalBinding_throughFunctionConnectorInstanceRefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass behaviorConstraintInternalBinding_throughHardwareConnectorInstanceRefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass behaviorConstraintPrototype_functionTargetInstanceRefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass behaviorConstraintPrototype_hardwareComponentTargetInstanceRefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass behaviorConstraintPrototype_errorModelTargetInstanceRefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
private EDataType dummyEDataType = null;
@@ -97,7 +350,6 @@ public class InfrastructurePackageImpl extends EPackageImpl implements Infrastru
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private static boolean isInited = false;
@@ -105,18 +357,16 @@ public class InfrastructurePackageImpl extends EPackageImpl implements Infrastru
/**
* 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 InfrastructurePackage#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 -->
- *
+ * <p>This method is used to initialize {@link InfrastructurePackage#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 InfrastructurePackage init() {
- if(isInited)
- return (InfrastructurePackage)EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI);
+ if (isInited) return (InfrastructurePackage)EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI);
// Obtain or create and register package
InfrastructurePackageImpl theInfrastructurePackage = (InfrastructurePackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof InfrastructurePackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new InfrastructurePackageImpl());
@@ -131,28 +381,34 @@ public class InfrastructurePackageImpl extends EPackageImpl implements Infrastru
VariabilityPackageImpl theVariabilityPackage = (VariabilityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VariabilityPackage.eNS_URI) instanceof VariabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VariabilityPackage.eNS_URI) : VariabilityPackage.eINSTANCE);
DatatypesPackageImpl theDatatypesPackage = (DatatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI) instanceof DatatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI) : DatatypesPackage.eINSTANCE);
UserattributesPackageImpl theUserattributesPackage = (UserattributesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UserattributesPackage.eNS_URI) instanceof UserattributesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UserattributesPackage.eNS_URI) : UserattributesPackage.eINSTANCE);
+ ValuesPackageImpl theValuesPackage = (ValuesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI) instanceof ValuesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI) : ValuesPackage.eINSTANCE);
ElementsPackageImpl theElementsPackage = (ElementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI) instanceof ElementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI) : ElementsPackage.eINSTANCE);
StructurePackageImpl theStructurePackage = (StructurePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI) instanceof StructurePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI) : StructurePackage.eINSTANCE);
FunctionmodelingPackageImpl theFunctionmodelingPackage = (FunctionmodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(FunctionmodelingPackage.eNS_URI) instanceof FunctionmodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(FunctionmodelingPackage.eNS_URI) : FunctionmodelingPackage.eINSTANCE);
- HardwaremodelingPackageImpl theHardwaremodelingPackage = (HardwaremodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI) instanceof HardwaremodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI) : HardwaremodelingPackage.eINSTANCE);
+ FeaturemodelingPackageImpl theFeaturemodelingPackage = (FeaturemodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI) instanceof FeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI) : FeaturemodelingPackage.eINSTANCE);
SystemmodelingPackageImpl theSystemmodelingPackage = (SystemmodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SystemmodelingPackage.eNS_URI) instanceof SystemmodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SystemmodelingPackage.eNS_URI) : SystemmodelingPackage.eINSTANCE);
VehiclefeaturemodelingPackageImpl theVehiclefeaturemodelingPackage = (VehiclefeaturemodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VehiclefeaturemodelingPackage.eNS_URI) instanceof VehiclefeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VehiclefeaturemodelingPackage.eNS_URI) : VehiclefeaturemodelingPackage.eINSTANCE);
- FeaturemodelingPackageImpl theFeaturemodelingPackage = (FeaturemodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI) instanceof FeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI) : FeaturemodelingPackage.eINSTANCE);
- BehaviorPackageImpl theBehaviorPackage = (BehaviorPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI) instanceof BehaviorPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI) : BehaviorPackage.eINSTANCE);
+ HardwaremodelingPackageImpl theHardwaremodelingPackage = (HardwaremodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI) instanceof HardwaremodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI) : HardwaremodelingPackage.eINSTANCE);
+ DependabilityPackageImpl theDependabilityPackage = (DependabilityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI) instanceof DependabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI) : DependabilityPackage.eINSTANCE);
+ SafetyrequirementPackageImpl theSafetyrequirementPackage = (SafetyrequirementPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetyrequirementPackage.eNS_URI) instanceof SafetyrequirementPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetyrequirementPackage.eNS_URI) : SafetyrequirementPackage.eINSTANCE);
+ SafetyconstraintsPackageImpl theSafetyconstraintsPackage = (SafetyconstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI) instanceof SafetyconstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI) : SafetyconstraintsPackage.eINSTANCE);
+ SafetycasePackageImpl theSafetycasePackage = (SafetycasePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI) instanceof SafetycasePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI) : SafetycasePackage.eINSTANCE);
+ ErrormodelPackageImpl theErrormodelPackage = (ErrormodelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI) instanceof ErrormodelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI) : ErrormodelPackage.eINSTANCE);
RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE);
+ UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) : UsecasesPackage.eINSTANCE);
VerificationvalidationPackageImpl theVerificationvalidationPackage = (VerificationvalidationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VerificationvalidationPackage.eNS_URI) instanceof VerificationvalidationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VerificationvalidationPackage.eNS_URI) : VerificationvalidationPackage.eINSTANCE);
+ org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl theRequirementsPackage_1 = (org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eNS_URI) instanceof org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eNS_URI) : org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eINSTANCE);
+ BehaviorPackageImpl theBehaviorPackage = (BehaviorPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI) instanceof BehaviorPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI) : BehaviorPackage.eINSTANCE);
TimingPackageImpl theTimingPackage = (TimingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimingPackage.eNS_URI) instanceof TimingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimingPackage.eNS_URI) : TimingPackage.eINSTANCE);
TimingconstraintsPackageImpl theTimingconstraintsPackage = (TimingconstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimingconstraintsPackage.eNS_URI) instanceof TimingconstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimingconstraintsPackage.eNS_URI) : TimingconstraintsPackage.eINSTANCE);
EventsPackageImpl theEventsPackage = (EventsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) instanceof EventsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) : EventsPackage.eINSTANCE);
- InterchangePackageImpl theInterchangePackage = (InterchangePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InterchangePackage.eNS_URI) instanceof InterchangePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InterchangePackage.eNS_URI) : InterchangePackage.eINSTANCE);
EnvironmentPackageImpl theEnvironmentPackage = (EnvironmentPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EnvironmentPackage.eNS_URI) instanceof EnvironmentPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EnvironmentPackage.eNS_URI) : EnvironmentPackage.eINSTANCE);
- DependabilityPackageImpl theDependabilityPackage = (DependabilityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI) instanceof DependabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI) : DependabilityPackage.eINSTANCE);
- ErrormodelPackageImpl theErrormodelPackage = (ErrormodelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI) instanceof ErrormodelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI) : ErrormodelPackage.eINSTANCE);
- SafetyrequirementPackageImpl theSafetyrequirementPackage = (SafetyrequirementPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetyrequirementPackage.eNS_URI) instanceof SafetyrequirementPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetyrequirementPackage.eNS_URI) : SafetyrequirementPackage.eINSTANCE);
- SafetyconstraintsPackageImpl theSafetyconstraintsPackage = (SafetyconstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI) instanceof SafetyconstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI) : SafetyconstraintsPackage.eINSTANCE);
- SafetycasePackageImpl theSafetycasePackage = (SafetycasePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI) instanceof SafetycasePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI) : SafetycasePackage.eINSTANCE);
AnnexPackageImpl theAnnexPackage = (AnnexPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AnnexPackage.eNS_URI) instanceof AnnexPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AnnexPackage.eNS_URI) : AnnexPackage.eINSTANCE);
NeedsPackageImpl theNeedsPackage = (NeedsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(NeedsPackage.eNS_URI) instanceof NeedsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(NeedsPackage.eNS_URI) : NeedsPackage.eINSTANCE);
+ BehaviordescriptionPackageImpl theBehaviordescriptionPackage = (BehaviordescriptionPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BehaviordescriptionPackage.eNS_URI) instanceof BehaviordescriptionPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BehaviordescriptionPackage.eNS_URI) : BehaviordescriptionPackage.eINSTANCE);
+ AttributequantificationconstraintPackageImpl theAttributequantificationconstraintPackage = (AttributequantificationconstraintPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AttributequantificationconstraintPackage.eNS_URI) instanceof AttributequantificationconstraintPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AttributequantificationconstraintPackage.eNS_URI) : AttributequantificationconstraintPackage.eINSTANCE);
+ TemporalconstraintPackageImpl theTemporalconstraintPackage = (TemporalconstraintPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TemporalconstraintPackage.eNS_URI) instanceof TemporalconstraintPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TemporalconstraintPackage.eNS_URI) : TemporalconstraintPackage.eINSTANCE);
+ ComputationconstraintPackageImpl theComputationconstraintPackage = (ComputationconstraintPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ComputationconstraintPackage.eNS_URI) instanceof ComputationconstraintPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ComputationconstraintPackage.eNS_URI) : ComputationconstraintPackage.eINSTANCE);
GenericconstraintsPackageImpl theGenericconstraintsPackage = (GenericconstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GenericconstraintsPackage.eNS_URI) instanceof GenericconstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GenericconstraintsPackage.eNS_URI) : GenericconstraintsPackage.eINSTANCE);
// Create package meta-data objects
@@ -161,28 +417,34 @@ public class InfrastructurePackageImpl extends EPackageImpl implements Infrastru
theVariabilityPackage.createPackageContents();
theDatatypesPackage.createPackageContents();
theUserattributesPackage.createPackageContents();
+ theValuesPackage.createPackageContents();
theElementsPackage.createPackageContents();
theStructurePackage.createPackageContents();
theFunctionmodelingPackage.createPackageContents();
- theHardwaremodelingPackage.createPackageContents();
+ theFeaturemodelingPackage.createPackageContents();
theSystemmodelingPackage.createPackageContents();
theVehiclefeaturemodelingPackage.createPackageContents();
- theFeaturemodelingPackage.createPackageContents();
- theBehaviorPackage.createPackageContents();
+ theHardwaremodelingPackage.createPackageContents();
+ theDependabilityPackage.createPackageContents();
+ theSafetyrequirementPackage.createPackageContents();
+ theSafetyconstraintsPackage.createPackageContents();
+ theSafetycasePackage.createPackageContents();
+ theErrormodelPackage.createPackageContents();
theRequirementsPackage.createPackageContents();
+ theUsecasesPackage.createPackageContents();
theVerificationvalidationPackage.createPackageContents();
+ theRequirementsPackage_1.createPackageContents();
+ theBehaviorPackage.createPackageContents();
theTimingPackage.createPackageContents();
theTimingconstraintsPackage.createPackageContents();
theEventsPackage.createPackageContents();
- theInterchangePackage.createPackageContents();
theEnvironmentPackage.createPackageContents();
- theDependabilityPackage.createPackageContents();
- theErrormodelPackage.createPackageContents();
- theSafetyrequirementPackage.createPackageContents();
- theSafetyconstraintsPackage.createPackageContents();
- theSafetycasePackage.createPackageContents();
theAnnexPackage.createPackageContents();
theNeedsPackage.createPackageContents();
+ theBehaviordescriptionPackage.createPackageContents();
+ theAttributequantificationconstraintPackage.createPackageContents();
+ theTemporalconstraintPackage.createPackageContents();
+ theComputationconstraintPackage.createPackageContents();
theGenericconstraintsPackage.createPackageContents();
// Initialize created meta-data
@@ -191,34 +453,40 @@ public class InfrastructurePackageImpl extends EPackageImpl implements Infrastru
theVariabilityPackage.initializePackageContents();
theDatatypesPackage.initializePackageContents();
theUserattributesPackage.initializePackageContents();
+ theValuesPackage.initializePackageContents();
theElementsPackage.initializePackageContents();
theStructurePackage.initializePackageContents();
theFunctionmodelingPackage.initializePackageContents();
- theHardwaremodelingPackage.initializePackageContents();
+ theFeaturemodelingPackage.initializePackageContents();
theSystemmodelingPackage.initializePackageContents();
theVehiclefeaturemodelingPackage.initializePackageContents();
- theFeaturemodelingPackage.initializePackageContents();
- theBehaviorPackage.initializePackageContents();
+ theHardwaremodelingPackage.initializePackageContents();
+ theDependabilityPackage.initializePackageContents();
+ theSafetyrequirementPackage.initializePackageContents();
+ theSafetyconstraintsPackage.initializePackageContents();
+ theSafetycasePackage.initializePackageContents();
+ theErrormodelPackage.initializePackageContents();
theRequirementsPackage.initializePackageContents();
+ theUsecasesPackage.initializePackageContents();
theVerificationvalidationPackage.initializePackageContents();
+ theRequirementsPackage_1.initializePackageContents();
+ theBehaviorPackage.initializePackageContents();
theTimingPackage.initializePackageContents();
theTimingconstraintsPackage.initializePackageContents();
theEventsPackage.initializePackageContents();
- theInterchangePackage.initializePackageContents();
theEnvironmentPackage.initializePackageContents();
- theDependabilityPackage.initializePackageContents();
- theErrormodelPackage.initializePackageContents();
- theSafetyrequirementPackage.initializePackageContents();
- theSafetyconstraintsPackage.initializePackageContents();
- theSafetycasePackage.initializePackageContents();
theAnnexPackage.initializePackageContents();
theNeedsPackage.initializePackageContents();
+ theBehaviordescriptionPackage.initializePackageContents();
+ theAttributequantificationconstraintPackage.initializePackageContents();
+ theTemporalconstraintPackage.initializePackageContents();
+ theComputationconstraintPackage.initializePackageContents();
theGenericconstraintsPackage.initializePackageContents();
// Mark meta-data to indicate it can't be changed
theInfrastructurePackage.freeze();
-
+
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(InfrastructurePackage.eNS_URI, theInfrastructurePackage);
return theInfrastructurePackage;
@@ -227,7 +495,807 @@ public class InfrastructurePackageImpl extends EPackageImpl implements Infrastru
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ * @generated
+ */
+ public EClass getInstanceRef() {
+ return instanceRefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getTargetInstanceRef() {
+ return targetInstanceRefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getTargetInstanceRef_AllocationTarget() {
+ return (EReference)targetInstanceRefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getTargetInstanceRef_AllocationTarget_context() {
+ return (EReference)targetInstanceRefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getTargetInstanceRef_IntAttribute() {
+ return (EAttribute)targetInstanceRefEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getFunctionConnectorPortInstanceRef() {
+ return functionConnectorPortInstanceRefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getFunctionConnectorPortInstanceRef_FunctionPort() {
+ return (EReference)functionConnectorPortInstanceRefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getFunctionConnectorPortInstanceRef_FunctionPrototype() {
+ return (EReference)functionConnectorPortInstanceRefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getHardwareConnectorInstanceRef() {
+ return hardwareConnectorInstanceRefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getHardwareConnectorInstanceRef_HardwarePin() {
+ return (EReference)hardwareConnectorInstanceRefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getHardwareConnectorInstanceRef_HardwareComponentPrototype() {
+ return (EReference)hardwareConnectorInstanceRefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getHardwarePortConnectorInstanceRef() {
+ return hardwarePortConnectorInstanceRefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getHardwarePortConnectorInstanceRef_HardwarePort() {
+ return (EReference)hardwarePortConnectorInstanceRefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getHardwarePortConnectorInstanceRef_HardwareComponentPrototype() {
+ return (EReference)hardwarePortConnectorInstanceRefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getAllocatedElementInstanceRef() {
+ return allocatedElementInstanceRefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getAllocatedElementInstanceRef_AllocateableElement() {
+ return (EReference)allocatedElementInstanceRefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getAllocatedElementInstanceRef_AllocateableElement_context() {
+ return (EReference)allocatedElementInstanceRefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getClampConnectorInstanceRef() {
+ return clampConnectorInstanceRefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getClampConnectorInstanceRef_FunctionPort() {
+ return (EReference)clampConnectorInstanceRefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getClampConnectorInstanceRef_FunctionPrototype() {
+ return (EReference)clampConnectorInstanceRefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getRefineInstanceRef() {
+ return refineInstanceRefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getRefineInstanceRef_Identifiable_target() {
+ return (EReference)refineInstanceRefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getRefineInstanceRef_Identifiable_context() {
+ return (EReference)refineInstanceRefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getSatisfyInstanceRef() {
+ return satisfyInstanceRefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getSatisfyInstanceRef_Identifiable_target() {
+ return (EReference)satisfyInstanceRefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getSatisfyInstanceRef_Identifiable_context() {
+ return (EReference)satisfyInstanceRefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getVVCaseInstanceRef() {
+ return vvCaseInstanceRefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getVVCaseInstanceRef_Identifiable_target() {
+ return (EReference)vvCaseInstanceRefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getVVCaseInstanceRef_Identifiable_context() {
+ return (EReference)vvCaseInstanceRefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getVVTargetInstanceRef() {
+ return vvTargetInstanceRefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getVVTargetInstanceRef_Identifiable_target() {
+ return (EReference)vvTargetInstanceRefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getVVTargetInstanceRef_Identifiable_context() {
+ return (EReference)vvTargetInstanceRefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getRealization_realizedInstanceRef() {
+ return realization_realizedInstanceRefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getRealization_realizedInstanceRef_Identifiable_target() {
+ return (EReference)realization_realizedInstanceRefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getRealization_realizedInstanceRef_Identifiable_context() {
+ return (EReference)realization_realizedInstanceRefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getRealization_realizedByInstanceRef() {
+ return realization_realizedByInstanceRefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getRealization_realizedByInstanceRef_Identifiable_target() {
+ return (EReference)realization_realizedByInstanceRefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getRealization_realizedByInstanceRef_Identifiable_context() {
+ return (EReference)realization_realizedByInstanceRefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getEventFunctionInstanceRef() {
+ return eventFunctionInstanceRefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getEventFunctionInstanceRef_FunctionPrototype_target() {
+ return (EReference)eventFunctionInstanceRefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getEventFunctionInstanceRef_FunctionPrototype_context() {
+ return (EReference)eventFunctionInstanceRefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getEventFunctionClientServerPortInstanceRef() {
+ return eventFunctionClientServerPortInstanceRefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getEventFunctionClientServerPortInstanceRef_FunctionClientServerPort() {
+ return (EReference)eventFunctionClientServerPortInstanceRefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getEventFunctionClientServerPortInstanceRef_FunctionPrototype() {
+ return (EReference)eventFunctionClientServerPortInstanceRefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getEventFunctionFlowPortInstanceRef() {
+ return eventFunctionFlowPortInstanceRefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getEventFunctionFlowPortInstanceRef_FunctionFlowPort() {
+ return (EReference)eventFunctionFlowPortInstanceRefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getEventFunctionFlowPortInstanceRef_FunctionPrototype() {
+ return (EReference)eventFunctionFlowPortInstanceRefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getPrecedenceConstraint_precedingInstanceRef() {
+ return precedenceConstraint_precedingInstanceRefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getPrecedenceConstraint_precedingInstanceRef_FunctionPrototype_target() {
+ return (EReference)precedenceConstraint_precedingInstanceRefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getPrecedenceConstraint_precedingInstanceRef_FunctionPrototype_context() {
+ return (EReference)precedenceConstraint_precedingInstanceRefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getPrecedenceConstraint_successiveInstanceRef() {
+ return precedenceConstraint_successiveInstanceRefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getPrecedenceConstraint_successiveInstanceRef_FunctionPrototype_target() {
+ return (EReference)precedenceConstraint_successiveInstanceRefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getPrecedenceConstraint_successiveInstanceRef_FunctionPrototype_context() {
+ return (EReference)precedenceConstraint_successiveInstanceRefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getErrorModelPrototype_functionTargetInstanceRef() {
+ return errorModelPrototype_functionTargetInstanceRefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getErrorModelPrototype_functionTargetInstanceRef_FunctionPrototype() {
+ return (EReference)errorModelPrototype_functionTargetInstanceRefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getErrorModelPrototype_functionTargetInstanceRef_FunctionPrototype_context() {
+ return (EReference)errorModelPrototype_functionTargetInstanceRefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getErrorModelPrototype_hwTargetInstanceRef() {
+ return errorModelPrototype_hwTargetInstanceRefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getErrorModelPrototype_hwTargetInstanceRef_HardwareComponentProtype() {
+ return (EReference)errorModelPrototype_hwTargetInstanceRefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getErrorModelPrototype_hwTargetInstanceRef_HardwareComponentProtype_context() {
+ return (EReference)errorModelPrototype_hwTargetInstanceRefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getFaultFailurePort_hwTargetInstanceRef() {
+ return faultFailurePort_hwTargetInstanceRefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getFaultFailurePort_hwTargetInstanceRef_HardwarePort() {
+ return (EReference)faultFailurePort_hwTargetInstanceRefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getFaultFailurePort_hwTargetInstanceRef_HardwareComponentProtype() {
+ return (EReference)faultFailurePort_hwTargetInstanceRefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getFaultFailurePort_functionTargetInstanceRef() {
+ return faultFailurePort_functionTargetInstanceRefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getFaultFailurePort_functionTargetInstanceRef_FunctionPort() {
+ return (EReference)faultFailurePort_functionTargetInstanceRefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getFaultFailurePort_functionTargetInstanceRef_FunctionPrototype() {
+ return (EReference)faultFailurePort_functionTargetInstanceRefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getFaultFailurePropagationLink_fromPortInstanceRef() {
+ return faultFailurePropagationLink_fromPortInstanceRefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getFaultFailurePropagationLink_fromPortInstanceRef_FaultFairelurePort() {
+ return (EReference)faultFailurePropagationLink_fromPortInstanceRefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getFaultFailurePropagationLink_fromPortInstanceRef_ErrorModelPrototype() {
+ return (EReference)faultFailurePropagationLink_fromPortInstanceRefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getFaultFailure_anomalyInstanceRef() {
+ return faultFailure_anomalyInstanceRefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getFaultFailure_anomalyInstanceRef_Anomaly() {
+ return (EReference)faultFailure_anomalyInstanceRefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getFaultFailure_anomalyInstanceRef_ErrorModelPrototype() {
+ return (EReference)faultFailure_anomalyInstanceRefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getFaultFailurePropagationLink_toPortInstanceRef() {
+ return faultFailurePropagationLink_toPortInstanceRefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getFaultFailurePropagationLink_toPortInstanceRef_FaultFairelurePort() {
+ return (EReference)faultFailurePropagationLink_toPortInstanceRefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getFaultFailurePropagationLink_toPortInstanceRef_ErrorModelPrototype() {
+ return (EReference)faultFailurePropagationLink_toPortInstanceRefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getBehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef() {
+ return behaviorConstraintInternalBinding_throughFunctionConnectorInstanceRefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getBehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef_FunctionConnector() {
+ return (EReference)behaviorConstraintInternalBinding_throughFunctionConnectorInstanceRefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getBehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef_FunctionPrototype() {
+ return (EReference)behaviorConstraintInternalBinding_throughFunctionConnectorInstanceRefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getBehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef() {
+ return behaviorConstraintInternalBinding_throughHardwareConnectorInstanceRefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getBehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef_HardwareConnector() {
+ return (EReference)behaviorConstraintInternalBinding_throughHardwareConnectorInstanceRefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getBehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef_HardwareComponentPrototype() {
+ return (EReference)behaviorConstraintInternalBinding_throughHardwareConnectorInstanceRefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getBehaviorConstraintPrototype_functionTargetInstanceRef() {
+ return behaviorConstraintPrototype_functionTargetInstanceRefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getBehaviorConstraintPrototype_functionTargetInstanceRef_FunctionPrototype_target() {
+ return (EReference)behaviorConstraintPrototype_functionTargetInstanceRefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getBehaviorConstraintPrototype_functionTargetInstanceRef_FunctionPrototype_context() {
+ return (EReference)behaviorConstraintPrototype_functionTargetInstanceRefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getBehaviorConstraintPrototype_hardwareComponentTargetInstanceRef() {
+ return behaviorConstraintPrototype_hardwareComponentTargetInstanceRefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getBehaviorConstraintPrototype_hardwareComponentTargetInstanceRef_HardwareComponentProtype_target() {
+ return (EReference)behaviorConstraintPrototype_hardwareComponentTargetInstanceRefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getBehaviorConstraintPrototype_hardwareComponentTargetInstanceRef_HardwareComponentPrototype_context() {
+ return (EReference)behaviorConstraintPrototype_hardwareComponentTargetInstanceRefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getBehaviorConstraintPrototype_errorModelTargetInstanceRef() {
+ return behaviorConstraintPrototype_errorModelTargetInstanceRefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getBehaviorConstraintPrototype_errorModelTargetInstanceRef_ErrorModelPrototype_target() {
+ return (EReference)behaviorConstraintPrototype_errorModelTargetInstanceRefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getBehaviorConstraintPrototype_errorModelTargetInstanceRef_ErrorModelPrototype_context() {
+ return (EReference)behaviorConstraintPrototype_errorModelTargetInstanceRefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
private boolean isCreated = false;
@@ -235,19 +1303,19 @@ public class InfrastructurePackageImpl extends EPackageImpl implements Infrastru
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private boolean isInitialized = false;
/**
- * Creates an instance of the model <b>Package</b>, registered with {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the
- * package
+ * 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 -->
- *
+ * <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.papyrus.eastadl.infrastructure.InfrastructurePackage#eNS_URI
* @see #init()
@@ -258,18 +1326,136 @@ public class InfrastructurePackageImpl extends EPackageImpl implements Infrastru
}
/**
- * Creates the meta-model objects for the package. This method is
+ * 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;
+ if (isCreated) return;
isCreated = true;
+ // Create classes and their features
+ instanceRefEClass = createEClass(INSTANCE_REF);
+
+ targetInstanceRefEClass = createEClass(TARGET_INSTANCE_REF);
+ createEReference(targetInstanceRefEClass, TARGET_INSTANCE_REF__ALLOCATION_TARGET);
+ createEReference(targetInstanceRefEClass, TARGET_INSTANCE_REF__ALLOCATION_TARGET_CONTEXT);
+ createEAttribute(targetInstanceRefEClass, TARGET_INSTANCE_REF__INT_ATTRIBUTE);
+
+ functionConnectorPortInstanceRefEClass = createEClass(FUNCTION_CONNECTOR_PORT_INSTANCE_REF);
+ createEReference(functionConnectorPortInstanceRefEClass, FUNCTION_CONNECTOR_PORT_INSTANCE_REF__FUNCTION_PORT);
+ createEReference(functionConnectorPortInstanceRefEClass, FUNCTION_CONNECTOR_PORT_INSTANCE_REF__FUNCTION_PROTOTYPE);
+
+ hardwareConnectorInstanceRefEClass = createEClass(HARDWARE_CONNECTOR_INSTANCE_REF);
+ createEReference(hardwareConnectorInstanceRefEClass, HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_PIN);
+ createEReference(hardwareConnectorInstanceRefEClass, HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE);
+
+ hardwarePortConnectorInstanceRefEClass = createEClass(HARDWARE_PORT_CONNECTOR_INSTANCE_REF);
+ createEReference(hardwarePortConnectorInstanceRefEClass, HARDWARE_PORT_CONNECTOR_INSTANCE_REF__HARDWARE_PORT);
+ createEReference(hardwarePortConnectorInstanceRefEClass, HARDWARE_PORT_CONNECTOR_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE);
+
+ allocatedElementInstanceRefEClass = createEClass(ALLOCATED_ELEMENT_INSTANCE_REF);
+ createEReference(allocatedElementInstanceRefEClass, ALLOCATED_ELEMENT_INSTANCE_REF__ALLOCATEABLE_ELEMENT);
+ createEReference(allocatedElementInstanceRefEClass, ALLOCATED_ELEMENT_INSTANCE_REF__ALLOCATEABLE_ELEMENT_CONTEXT);
+
+ clampConnectorInstanceRefEClass = createEClass(CLAMP_CONNECTOR_INSTANCE_REF);
+ createEReference(clampConnectorInstanceRefEClass, CLAMP_CONNECTOR_INSTANCE_REF__FUNCTION_PORT);
+ createEReference(clampConnectorInstanceRefEClass, CLAMP_CONNECTOR_INSTANCE_REF__FUNCTION_PROTOTYPE);
+
+ refineInstanceRefEClass = createEClass(REFINE_INSTANCE_REF);
+ createEReference(refineInstanceRefEClass, REFINE_INSTANCE_REF__IDENTIFIABLE_TARGET);
+ createEReference(refineInstanceRefEClass, REFINE_INSTANCE_REF__IDENTIFIABLE_CONTEXT);
+
+ satisfyInstanceRefEClass = createEClass(SATISFY_INSTANCE_REF);
+ createEReference(satisfyInstanceRefEClass, SATISFY_INSTANCE_REF__IDENTIFIABLE_TARGET);
+ createEReference(satisfyInstanceRefEClass, SATISFY_INSTANCE_REF__IDENTIFIABLE_CONTEXT);
+
+ vvCaseInstanceRefEClass = createEClass(VV_CASE_INSTANCE_REF);
+ createEReference(vvCaseInstanceRefEClass, VV_CASE_INSTANCE_REF__IDENTIFIABLE_TARGET);
+ createEReference(vvCaseInstanceRefEClass, VV_CASE_INSTANCE_REF__IDENTIFIABLE_CONTEXT);
+
+ vvTargetInstanceRefEClass = createEClass(VV_TARGET_INSTANCE_REF);
+ createEReference(vvTargetInstanceRefEClass, VV_TARGET_INSTANCE_REF__IDENTIFIABLE_TARGET);
+ createEReference(vvTargetInstanceRefEClass, VV_TARGET_INSTANCE_REF__IDENTIFIABLE_CONTEXT);
+
+ realization_realizedInstanceRefEClass = createEClass(REALIZATION_REALIZED_INSTANCE_REF);
+ createEReference(realization_realizedInstanceRefEClass, REALIZATION_REALIZED_INSTANCE_REF__IDENTIFIABLE_TARGET);
+ createEReference(realization_realizedInstanceRefEClass, REALIZATION_REALIZED_INSTANCE_REF__IDENTIFIABLE_CONTEXT);
+
+ realization_realizedByInstanceRefEClass = createEClass(REALIZATION_REALIZED_BY_INSTANCE_REF);
+ createEReference(realization_realizedByInstanceRefEClass, REALIZATION_REALIZED_BY_INSTANCE_REF__IDENTIFIABLE_TARGET);
+ createEReference(realization_realizedByInstanceRefEClass, REALIZATION_REALIZED_BY_INSTANCE_REF__IDENTIFIABLE_CONTEXT);
+
+ eventFunctionInstanceRefEClass = createEClass(EVENT_FUNCTION_INSTANCE_REF);
+ createEReference(eventFunctionInstanceRefEClass, EVENT_FUNCTION_INSTANCE_REF__FUNCTION_PROTOTYPE_TARGET);
+ createEReference(eventFunctionInstanceRefEClass, EVENT_FUNCTION_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT);
+
+ eventFunctionClientServerPortInstanceRefEClass = createEClass(EVENT_FUNCTION_CLIENT_SERVER_PORT_INSTANCE_REF);
+ createEReference(eventFunctionClientServerPortInstanceRefEClass, EVENT_FUNCTION_CLIENT_SERVER_PORT_INSTANCE_REF__FUNCTION_CLIENT_SERVER_PORT);
+ createEReference(eventFunctionClientServerPortInstanceRefEClass, EVENT_FUNCTION_CLIENT_SERVER_PORT_INSTANCE_REF__FUNCTION_PROTOTYPE);
+
+ eventFunctionFlowPortInstanceRefEClass = createEClass(EVENT_FUNCTION_FLOW_PORT_INSTANCE_REF);
+ createEReference(eventFunctionFlowPortInstanceRefEClass, EVENT_FUNCTION_FLOW_PORT_INSTANCE_REF__FUNCTION_FLOW_PORT);
+ createEReference(eventFunctionFlowPortInstanceRefEClass, EVENT_FUNCTION_FLOW_PORT_INSTANCE_REF__FUNCTION_PROTOTYPE);
+
+ precedenceConstraint_precedingInstanceRefEClass = createEClass(PRECEDENCE_CONSTRAINT_PRECEDING_INSTANCE_REF);
+ createEReference(precedenceConstraint_precedingInstanceRefEClass, PRECEDENCE_CONSTRAINT_PRECEDING_INSTANCE_REF__FUNCTION_PROTOTYPE_TARGET);
+ createEReference(precedenceConstraint_precedingInstanceRefEClass, PRECEDENCE_CONSTRAINT_PRECEDING_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT);
+
+ precedenceConstraint_successiveInstanceRefEClass = createEClass(PRECEDENCE_CONSTRAINT_SUCCESSIVE_INSTANCE_REF);
+ createEReference(precedenceConstraint_successiveInstanceRefEClass, PRECEDENCE_CONSTRAINT_SUCCESSIVE_INSTANCE_REF__FUNCTION_PROTOTYPE_TARGET);
+ createEReference(precedenceConstraint_successiveInstanceRefEClass, PRECEDENCE_CONSTRAINT_SUCCESSIVE_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT);
+
+ errorModelPrototype_functionTargetInstanceRefEClass = createEClass(ERROR_MODEL_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF);
+ createEReference(errorModelPrototype_functionTargetInstanceRefEClass, ERROR_MODEL_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE);
+ createEReference(errorModelPrototype_functionTargetInstanceRefEClass, ERROR_MODEL_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT);
+
+ errorModelPrototype_hwTargetInstanceRefEClass = createEClass(ERROR_MODEL_PROTOTYPE_HW_TARGET_INSTANCE_REF);
+ createEReference(errorModelPrototype_hwTargetInstanceRefEClass, ERROR_MODEL_PROTOTYPE_HW_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTYPE);
+ createEReference(errorModelPrototype_hwTargetInstanceRefEClass, ERROR_MODEL_PROTOTYPE_HW_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTYPE_CONTEXT);
+
+ faultFailurePort_hwTargetInstanceRefEClass = createEClass(FAULT_FAILURE_PORT_HW_TARGET_INSTANCE_REF);
+ createEReference(faultFailurePort_hwTargetInstanceRefEClass, FAULT_FAILURE_PORT_HW_TARGET_INSTANCE_REF__HARDWARE_PORT);
+ createEReference(faultFailurePort_hwTargetInstanceRefEClass, FAULT_FAILURE_PORT_HW_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTYPE);
+
+ faultFailurePort_functionTargetInstanceRefEClass = createEClass(FAULT_FAILURE_PORT_FUNCTION_TARGET_INSTANCE_REF);
+ createEReference(faultFailurePort_functionTargetInstanceRefEClass, FAULT_FAILURE_PORT_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PORT);
+ createEReference(faultFailurePort_functionTargetInstanceRefEClass, FAULT_FAILURE_PORT_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE);
+
+ faultFailurePropagationLink_fromPortInstanceRefEClass = createEClass(FAULT_FAILURE_PROPAGATION_LINK_FROM_PORT_INSTANCE_REF);
+ createEReference(faultFailurePropagationLink_fromPortInstanceRefEClass, FAULT_FAILURE_PROPAGATION_LINK_FROM_PORT_INSTANCE_REF__FAULT_FAIRELURE_PORT);
+ createEReference(faultFailurePropagationLink_fromPortInstanceRefEClass, FAULT_FAILURE_PROPAGATION_LINK_FROM_PORT_INSTANCE_REF__ERROR_MODEL_PROTOTYPE);
+
+ faultFailure_anomalyInstanceRefEClass = createEClass(FAULT_FAILURE_ANOMALY_INSTANCE_REF);
+ createEReference(faultFailure_anomalyInstanceRefEClass, FAULT_FAILURE_ANOMALY_INSTANCE_REF__ANOMALY);
+ createEReference(faultFailure_anomalyInstanceRefEClass, FAULT_FAILURE_ANOMALY_INSTANCE_REF__ERROR_MODEL_PROTOTYPE);
+
+ faultFailurePropagationLink_toPortInstanceRefEClass = createEClass(FAULT_FAILURE_PROPAGATION_LINK_TO_PORT_INSTANCE_REF);
+ createEReference(faultFailurePropagationLink_toPortInstanceRefEClass, FAULT_FAILURE_PROPAGATION_LINK_TO_PORT_INSTANCE_REF__FAULT_FAIRELURE_PORT);
+ createEReference(faultFailurePropagationLink_toPortInstanceRefEClass, FAULT_FAILURE_PROPAGATION_LINK_TO_PORT_INSTANCE_REF__ERROR_MODEL_PROTOTYPE);
+
+ behaviorConstraintInternalBinding_throughFunctionConnectorInstanceRefEClass = createEClass(BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_FUNCTION_CONNECTOR_INSTANCE_REF);
+ createEReference(behaviorConstraintInternalBinding_throughFunctionConnectorInstanceRefEClass, BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_FUNCTION_CONNECTOR_INSTANCE_REF__FUNCTION_CONNECTOR);
+ createEReference(behaviorConstraintInternalBinding_throughFunctionConnectorInstanceRefEClass, BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_FUNCTION_CONNECTOR_INSTANCE_REF__FUNCTION_PROTOTYPE);
+
+ behaviorConstraintInternalBinding_throughHardwareConnectorInstanceRefEClass = createEClass(BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_HARDWARE_CONNECTOR_INSTANCE_REF);
+ createEReference(behaviorConstraintInternalBinding_throughHardwareConnectorInstanceRefEClass, BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_CONNECTOR);
+ createEReference(behaviorConstraintInternalBinding_throughHardwareConnectorInstanceRefEClass, BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_HARDWARE_CONNECTOR_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE);
+
+ behaviorConstraintPrototype_functionTargetInstanceRefEClass = createEClass(BEHAVIOR_CONSTRAINT_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF);
+ createEReference(behaviorConstraintPrototype_functionTargetInstanceRefEClass, BEHAVIOR_CONSTRAINT_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE_TARGET);
+ createEReference(behaviorConstraintPrototype_functionTargetInstanceRefEClass, BEHAVIOR_CONSTRAINT_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT);
+
+ behaviorConstraintPrototype_hardwareComponentTargetInstanceRefEClass = createEClass(BEHAVIOR_CONSTRAINT_PROTOTYPE_HARDWARE_COMPONENT_TARGET_INSTANCE_REF);
+ createEReference(behaviorConstraintPrototype_hardwareComponentTargetInstanceRefEClass, BEHAVIOR_CONSTRAINT_PROTOTYPE_HARDWARE_COMPONENT_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTYPE_TARGET);
+ createEReference(behaviorConstraintPrototype_hardwareComponentTargetInstanceRefEClass, BEHAVIOR_CONSTRAINT_PROTOTYPE_HARDWARE_COMPONENT_TARGET_INSTANCE_REF__HARDWARE_COMPONENT_PROTOTYPE_CONTEXT);
+
+ behaviorConstraintPrototype_errorModelTargetInstanceRefEClass = createEClass(BEHAVIOR_CONSTRAINT_PROTOTYPE_ERROR_MODEL_TARGET_INSTANCE_REF);
+ createEReference(behaviorConstraintPrototype_errorModelTargetInstanceRefEClass, BEHAVIOR_CONSTRAINT_PROTOTYPE_ERROR_MODEL_TARGET_INSTANCE_REF__ERROR_MODEL_PROTOTYPE_TARGET);
+ createEReference(behaviorConstraintPrototype_errorModelTargetInstanceRefEClass, BEHAVIOR_CONSTRAINT_PROTOTYPE_ERROR_MODEL_TARGET_INSTANCE_REF__ERROR_MODEL_PROTOTYPE_CONTEXT);
+
// Create data types
dummyEDataType = createEDataType(DUMMY);
}
@@ -277,7 +1463,6 @@ public class InfrastructurePackageImpl extends EPackageImpl implements Infrastru
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EDataType getDummy() {
@@ -287,7 +1472,6 @@ public class InfrastructurePackageImpl extends EPackageImpl implements Infrastru
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public InfrastructureFactory getInfrastructureFactory() {
@@ -295,16 +1479,14 @@ public class InfrastructurePackageImpl extends EPackageImpl implements Infrastru
}
/**
- * Complete the initialization of the package and its meta-model. This
+ * 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;
+ if (isInitialized) return;
isInitialized = true;
// Initialize package
@@ -315,13 +1497,175 @@ public class InfrastructurePackageImpl extends EPackageImpl implements Infrastru
// Obtain other dependent packages
DatatypesPackage theDatatypesPackage = (DatatypesPackage)EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI);
UserattributesPackage theUserattributesPackage = (UserattributesPackage)EPackage.Registry.INSTANCE.getEPackage(UserattributesPackage.eNS_URI);
+ ValuesPackage theValuesPackage = (ValuesPackage)EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI);
ElementsPackage theElementsPackage = (ElementsPackage)EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI);
+ HardwaremodelingPackage theHardwaremodelingPackage = (HardwaremodelingPackage)EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI);
+ TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);
+ FunctionmodelingPackage theFunctionmodelingPackage = (FunctionmodelingPackage)EPackage.Registry.INSTANCE.getEPackage(FunctionmodelingPackage.eNS_URI);
+ UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
+ ErrormodelPackage theErrormodelPackage = (ErrormodelPackage)EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI);
// Add subpackages
getESubpackages().add(theDatatypesPackage);
getESubpackages().add(theUserattributesPackage);
+ getESubpackages().add(theValuesPackage);
getESubpackages().add(theElementsPackage);
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+ targetInstanceRefEClass.getESuperTypes().add(this.getInstanceRef());
+ functionConnectorPortInstanceRefEClass.getESuperTypes().add(this.getInstanceRef());
+ hardwareConnectorInstanceRefEClass.getESuperTypes().add(this.getInstanceRef());
+ hardwarePortConnectorInstanceRefEClass.getESuperTypes().add(this.getInstanceRef());
+ allocatedElementInstanceRefEClass.getESuperTypes().add(this.getInstanceRef());
+ clampConnectorInstanceRefEClass.getESuperTypes().add(this.getInstanceRef());
+ refineInstanceRefEClass.getESuperTypes().add(this.getInstanceRef());
+ satisfyInstanceRefEClass.getESuperTypes().add(this.getInstanceRef());
+ vvCaseInstanceRefEClass.getESuperTypes().add(this.getInstanceRef());
+ vvTargetInstanceRefEClass.getESuperTypes().add(this.getInstanceRef());
+ realization_realizedInstanceRefEClass.getESuperTypes().add(this.getInstanceRef());
+ realization_realizedByInstanceRefEClass.getESuperTypes().add(this.getInstanceRef());
+ eventFunctionInstanceRefEClass.getESuperTypes().add(this.getInstanceRef());
+ eventFunctionClientServerPortInstanceRefEClass.getESuperTypes().add(this.getInstanceRef());
+ eventFunctionFlowPortInstanceRefEClass.getESuperTypes().add(this.getInstanceRef());
+ precedenceConstraint_precedingInstanceRefEClass.getESuperTypes().add(this.getInstanceRef());
+ precedenceConstraint_successiveInstanceRefEClass.getESuperTypes().add(this.getInstanceRef());
+ errorModelPrototype_functionTargetInstanceRefEClass.getESuperTypes().add(this.getInstanceRef());
+ errorModelPrototype_hwTargetInstanceRefEClass.getESuperTypes().add(this.getInstanceRef());
+ faultFailurePort_hwTargetInstanceRefEClass.getESuperTypes().add(this.getInstanceRef());
+ faultFailurePort_functionTargetInstanceRefEClass.getESuperTypes().add(this.getInstanceRef());
+ faultFailurePropagationLink_fromPortInstanceRefEClass.getESuperTypes().add(this.getInstanceRef());
+ faultFailure_anomalyInstanceRefEClass.getESuperTypes().add(this.getInstanceRef());
+ faultFailurePropagationLink_toPortInstanceRefEClass.getESuperTypes().add(this.getInstanceRef());
+ behaviorConstraintInternalBinding_throughFunctionConnectorInstanceRefEClass.getESuperTypes().add(this.getInstanceRef());
+ behaviorConstraintInternalBinding_throughHardwareConnectorInstanceRefEClass.getESuperTypes().add(this.getInstanceRef());
+ behaviorConstraintPrototype_functionTargetInstanceRefEClass.getESuperTypes().add(this.getInstanceRef());
+ behaviorConstraintPrototype_hardwareComponentTargetInstanceRefEClass.getESuperTypes().add(this.getInstanceRef());
+ behaviorConstraintPrototype_errorModelTargetInstanceRefEClass.getESuperTypes().add(this.getInstanceRef());
+
+ // Initialize classes, features, and operations; add parameters
+ initEClass(instanceRefEClass, InstanceRef.class, "InstanceRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(targetInstanceRefEClass, TargetInstanceRef.class, "TargetInstanceRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getTargetInstanceRef_AllocationTarget(), theHardwaremodelingPackage.getAllocationTarget(), null, "allocationTarget", null, 1, 1, TargetInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getTargetInstanceRef_AllocationTarget_context(), theHardwaremodelingPackage.getAllocationTarget(), null, "allocationTarget_context", null, 0, -1, TargetInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getTargetInstanceRef_IntAttribute(), theTypesPackage.getInteger(), "intAttribute", null, 1, 1, TargetInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(functionConnectorPortInstanceRefEClass, FunctionConnectorPortInstanceRef.class, "FunctionConnectorPortInstanceRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getFunctionConnectorPortInstanceRef_FunctionPort(), theFunctionmodelingPackage.getFunctionPort(), null, "functionPort", null, 1, 1, FunctionConnectorPortInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getFunctionConnectorPortInstanceRef_FunctionPrototype(), theFunctionmodelingPackage.getFunctionPrototype(), null, "functionPrototype", null, 1, 1, FunctionConnectorPortInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(hardwareConnectorInstanceRefEClass, HardwareConnectorInstanceRef.class, "HardwareConnectorInstanceRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getHardwareConnectorInstanceRef_HardwarePin(), theHardwaremodelingPackage.getHardwarePin(), null, "hardwarePin", null, 1, 1, HardwareConnectorInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getHardwareConnectorInstanceRef_HardwareComponentPrototype(), theHardwaremodelingPackage.getHardwareComponentPrototype(), null, "hardwareComponentPrototype", null, 1, 1, HardwareConnectorInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(hardwarePortConnectorInstanceRefEClass, HardwarePortConnectorInstanceRef.class, "HardwarePortConnectorInstanceRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getHardwarePortConnectorInstanceRef_HardwarePort(), theHardwaremodelingPackage.getHardwarePort(), null, "hardwarePort", null, 1, 1, HardwarePortConnectorInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getHardwarePortConnectorInstanceRef_HardwareComponentPrototype(), theHardwaremodelingPackage.getHardwareComponentPrototype(), null, "hardwareComponentPrototype", null, 1, 1, HardwarePortConnectorInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(allocatedElementInstanceRefEClass, AllocatedElementInstanceRef.class, "AllocatedElementInstanceRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getAllocatedElementInstanceRef_AllocateableElement(), theFunctionmodelingPackage.getAllocateableElement(), null, "allocateableElement", null, 1, 1, AllocatedElementInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getAllocatedElementInstanceRef_AllocateableElement_context(), theFunctionmodelingPackage.getAllocateableElement(), null, "allocateableElement_context", null, 0, -1, AllocatedElementInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(clampConnectorInstanceRefEClass, ClampConnectorInstanceRef.class, "ClampConnectorInstanceRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getClampConnectorInstanceRef_FunctionPort(), theFunctionmodelingPackage.getFunctionPort(), null, "functionPort", null, 1, 1, ClampConnectorInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getClampConnectorInstanceRef_FunctionPrototype(), theFunctionmodelingPackage.getFunctionPrototype(), null, "functionPrototype", null, 0, -1, ClampConnectorInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(refineInstanceRefEClass, RefineInstanceRef.class, "RefineInstanceRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getRefineInstanceRef_Identifiable_target(), theUMLPackage.getNamedElement(), null, "identifiable_target", null, 1, 1, RefineInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getRefineInstanceRef_Identifiable_context(), theUMLPackage.getNamedElement(), null, "identifiable_context", null, 0, -1, RefineInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(satisfyInstanceRefEClass, SatisfyInstanceRef.class, "SatisfyInstanceRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getSatisfyInstanceRef_Identifiable_target(), theUMLPackage.getNamedElement(), null, "identifiable_target", null, 1, 1, SatisfyInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getSatisfyInstanceRef_Identifiable_context(), theUMLPackage.getNamedElement(), null, "identifiable_context", null, 0, -1, SatisfyInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(vvCaseInstanceRefEClass, VVCaseInstanceRef.class, "VVCaseInstanceRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getVVCaseInstanceRef_Identifiable_target(), theUMLPackage.getNamedElement(), null, "identifiable_target", null, 1, 1, VVCaseInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getVVCaseInstanceRef_Identifiable_context(), theUMLPackage.getNamedElement(), null, "identifiable_context", null, 0, -1, VVCaseInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(vvTargetInstanceRefEClass, VVTargetInstanceRef.class, "VVTargetInstanceRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getVVTargetInstanceRef_Identifiable_target(), theUMLPackage.getNamedElement(), null, "identifiable_target", null, 1, 1, VVTargetInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getVVTargetInstanceRef_Identifiable_context(), theUMLPackage.getNamedElement(), null, "identifiable_context", null, 0, -1, VVTargetInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(realization_realizedInstanceRefEClass, Realization_realizedInstanceRef.class, "Realization_realizedInstanceRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getRealization_realizedInstanceRef_Identifiable_target(), theUMLPackage.getNamedElement(), null, "identifiable_target", null, 1, 1, Realization_realizedInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getRealization_realizedInstanceRef_Identifiable_context(), theUMLPackage.getNamedElement(), null, "identifiable_context", null, 0, -1, Realization_realizedInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(realization_realizedByInstanceRefEClass, Realization_realizedByInstanceRef.class, "Realization_realizedByInstanceRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getRealization_realizedByInstanceRef_Identifiable_target(), theUMLPackage.getNamedElement(), null, "identifiable_target", null, 1, 1, Realization_realizedByInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getRealization_realizedByInstanceRef_Identifiable_context(), theUMLPackage.getNamedElement(), null, "identifiable_context", null, 0, -1, Realization_realizedByInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(eventFunctionInstanceRefEClass, EventFunctionInstanceRef.class, "EventFunctionInstanceRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getEventFunctionInstanceRef_FunctionPrototype_target(), theFunctionmodelingPackage.getFunctionPrototype(), null, "functionPrototype_target", null, 1, 1, EventFunctionInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getEventFunctionInstanceRef_FunctionPrototype_context(), theFunctionmodelingPackage.getFunctionPrototype(), null, "functionPrototype_context", null, 0, -1, EventFunctionInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(eventFunctionClientServerPortInstanceRefEClass, EventFunctionClientServerPortInstanceRef.class, "EventFunctionClientServerPortInstanceRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getEventFunctionClientServerPortInstanceRef_FunctionClientServerPort(), theFunctionmodelingPackage.getFunctionClientServerPort(), null, "functionClientServerPort", null, 1, 1, EventFunctionClientServerPortInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getEventFunctionClientServerPortInstanceRef_FunctionPrototype(), theFunctionmodelingPackage.getFunctionPrototype(), null, "functionPrototype", null, 0, -1, EventFunctionClientServerPortInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(eventFunctionFlowPortInstanceRefEClass, EventFunctionFlowPortInstanceRef.class, "EventFunctionFlowPortInstanceRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getEventFunctionFlowPortInstanceRef_FunctionFlowPort(), theFunctionmodelingPackage.getFunctionFlowPort(), null, "functionFlowPort", null, 1, 1, EventFunctionFlowPortInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getEventFunctionFlowPortInstanceRef_FunctionPrototype(), theFunctionmodelingPackage.getFunctionPrototype(), null, "functionPrototype", null, 0, -1, EventFunctionFlowPortInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(precedenceConstraint_precedingInstanceRefEClass, PrecedenceConstraint_precedingInstanceRef.class, "PrecedenceConstraint_precedingInstanceRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getPrecedenceConstraint_precedingInstanceRef_FunctionPrototype_target(), theFunctionmodelingPackage.getFunctionPrototype(), null, "functionPrototype_target", null, 1, 1, PrecedenceConstraint_precedingInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getPrecedenceConstraint_precedingInstanceRef_FunctionPrototype_context(), theFunctionmodelingPackage.getFunctionPrototype(), null, "functionPrototype_context", null, 0, -1, PrecedenceConstraint_precedingInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(precedenceConstraint_successiveInstanceRefEClass, PrecedenceConstraint_successiveInstanceRef.class, "PrecedenceConstraint_successiveInstanceRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getPrecedenceConstraint_successiveInstanceRef_FunctionPrototype_target(), theFunctionmodelingPackage.getFunctionPrototype(), null, "functionPrototype_target", null, 1, 1, PrecedenceConstraint_successiveInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getPrecedenceConstraint_successiveInstanceRef_FunctionPrototype_context(), theFunctionmodelingPackage.getFunctionPrototype(), null, "functionPrototype_context", null, 0, -1, PrecedenceConstraint_successiveInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(errorModelPrototype_functionTargetInstanceRefEClass, ErrorModelPrototype_functionTargetInstanceRef.class, "ErrorModelPrototype_functionTargetInstanceRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getErrorModelPrototype_functionTargetInstanceRef_FunctionPrototype(), theFunctionmodelingPackage.getFunctionPrototype(), null, "functionPrototype", null, 1, 1, ErrorModelPrototype_functionTargetInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getErrorModelPrototype_functionTargetInstanceRef_FunctionPrototype_context(), theFunctionmodelingPackage.getFunctionPrototype(), null, "functionPrototype_context", null, 0, -1, ErrorModelPrototype_functionTargetInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(errorModelPrototype_hwTargetInstanceRefEClass, ErrorModelPrototype_hwTargetInstanceRef.class, "ErrorModelPrototype_hwTargetInstanceRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getErrorModelPrototype_hwTargetInstanceRef_HardwareComponentProtype(), theHardwaremodelingPackage.getHardwareComponentPrototype(), null, "hardwareComponentProtype", null, 1, 1, ErrorModelPrototype_hwTargetInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getErrorModelPrototype_hwTargetInstanceRef_HardwareComponentProtype_context(), theHardwaremodelingPackage.getHardwareComponentPrototype(), null, "hardwareComponentProtype_context", null, 0, -1, ErrorModelPrototype_hwTargetInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(faultFailurePort_hwTargetInstanceRefEClass, FaultFailurePort_hwTargetInstanceRef.class, "FaultFailurePort_hwTargetInstanceRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getFaultFailurePort_hwTargetInstanceRef_HardwarePort(), theHardwaremodelingPackage.getHardwarePin(), null, "hardwarePort", null, 1, 1, FaultFailurePort_hwTargetInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getFaultFailurePort_hwTargetInstanceRef_HardwareComponentProtype(), theHardwaremodelingPackage.getHardwareComponentPrototype(), null, "hardwareComponentProtype", null, 0, -1, FaultFailurePort_hwTargetInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(faultFailurePort_functionTargetInstanceRefEClass, FaultFailurePort_functionTargetInstanceRef.class, "FaultFailurePort_functionTargetInstanceRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getFaultFailurePort_functionTargetInstanceRef_FunctionPort(), theFunctionmodelingPackage.getFunctionPort(), null, "functionPort", null, 1, 1, FaultFailurePort_functionTargetInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getFaultFailurePort_functionTargetInstanceRef_FunctionPrototype(), theFunctionmodelingPackage.getFunctionPrototype(), null, "functionPrototype", null, 0, -1, FaultFailurePort_functionTargetInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(faultFailurePropagationLink_fromPortInstanceRefEClass, FaultFailurePropagationLink_fromPortInstanceRef.class, "FaultFailurePropagationLink_fromPortInstanceRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getFaultFailurePropagationLink_fromPortInstanceRef_FaultFairelurePort(), theErrormodelPackage.getFaultFailurePort(), null, "faultFairelurePort", null, 1, 1, FaultFailurePropagationLink_fromPortInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getFaultFailurePropagationLink_fromPortInstanceRef_ErrorModelPrototype(), theErrormodelPackage.getErrorModelPrototype(), null, "errorModelPrototype", null, 0, -1, FaultFailurePropagationLink_fromPortInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(faultFailure_anomalyInstanceRefEClass, FaultFailure_anomalyInstanceRef.class, "FaultFailure_anomalyInstanceRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getFaultFailure_anomalyInstanceRef_Anomaly(), theErrormodelPackage.getAnomaly(), null, "anomaly", null, 1, 1, FaultFailure_anomalyInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getFaultFailure_anomalyInstanceRef_ErrorModelPrototype(), theErrormodelPackage.getErrorModelPrototype(), null, "errorModelPrototype", null, 0, -1, FaultFailure_anomalyInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(faultFailurePropagationLink_toPortInstanceRefEClass, FaultFailurePropagationLink_toPortInstanceRef.class, "FaultFailurePropagationLink_toPortInstanceRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getFaultFailurePropagationLink_toPortInstanceRef_FaultFairelurePort(), theErrormodelPackage.getFaultFailurePort(), null, "faultFairelurePort", null, 1, 1, FaultFailurePropagationLink_toPortInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getFaultFailurePropagationLink_toPortInstanceRef_ErrorModelPrototype(), theErrormodelPackage.getErrorModelPrototype(), null, "errorModelPrototype", null, 0, -1, FaultFailurePropagationLink_toPortInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(behaviorConstraintInternalBinding_throughFunctionConnectorInstanceRefEClass, BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef.class, "BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getBehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef_FunctionConnector(), theFunctionmodelingPackage.getFunctionConnector(), null, "functionConnector", null, 1, 1, BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getBehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef_FunctionPrototype(), theFunctionmodelingPackage.getFunctionPrototype(), null, "functionPrototype", null, 0, -1, BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(behaviorConstraintInternalBinding_throughHardwareConnectorInstanceRefEClass, BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef.class, "BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getBehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef_HardwareConnector(), theHardwaremodelingPackage.getHardwareConnector(), null, "hardwareConnector", null, 1, 1, BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getBehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef_HardwareComponentPrototype(), theHardwaremodelingPackage.getHardwareComponentPrototype(), null, "hardwareComponentPrototype", null, 0, -1, BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(behaviorConstraintPrototype_functionTargetInstanceRefEClass, BehaviorConstraintPrototype_functionTargetInstanceRef.class, "BehaviorConstraintPrototype_functionTargetInstanceRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getBehaviorConstraintPrototype_functionTargetInstanceRef_FunctionPrototype_target(), theFunctionmodelingPackage.getFunctionPrototype(), null, "functionPrototype_target", null, 1, 1, BehaviorConstraintPrototype_functionTargetInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getBehaviorConstraintPrototype_functionTargetInstanceRef_FunctionPrototype_context(), theFunctionmodelingPackage.getFunctionPrototype(), null, "functionPrototype_context", null, 0, -1, BehaviorConstraintPrototype_functionTargetInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(behaviorConstraintPrototype_hardwareComponentTargetInstanceRefEClass, BehaviorConstraintPrototype_hardwareComponentTargetInstanceRef.class, "BehaviorConstraintPrototype_hardwareComponentTargetInstanceRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getBehaviorConstraintPrototype_hardwareComponentTargetInstanceRef_HardwareComponentProtype_target(), theHardwaremodelingPackage.getHardwareComponentPrototype(), null, "hardwareComponentProtype_target", null, 1, 1, BehaviorConstraintPrototype_hardwareComponentTargetInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getBehaviorConstraintPrototype_hardwareComponentTargetInstanceRef_HardwareComponentPrototype_context(), theHardwaremodelingPackage.getHardwareComponentPrototype(), null, "hardwareComponentPrototype_context", null, 0, -1, BehaviorConstraintPrototype_hardwareComponentTargetInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(behaviorConstraintPrototype_errorModelTargetInstanceRefEClass, BehaviorConstraintPrototype_errorModelTargetInstanceRef.class, "BehaviorConstraintPrototype_errorModelTargetInstanceRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getBehaviorConstraintPrototype_errorModelTargetInstanceRef_ErrorModelPrototype_target(), theErrormodelPackage.getErrorModelPrototype(), null, "errorModelPrototype_target", null, 1, 1, BehaviorConstraintPrototype_errorModelTargetInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getBehaviorConstraintPrototype_errorModelTargetInstanceRef_ErrorModelPrototype_context(), theErrormodelPackage.getErrorModelPrototype(), null, "errorModelPrototype_context", null, 0, -1, BehaviorConstraintPrototype_errorModelTargetInstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
// Initialize data types
initEDataType(dummyEDataType, String.class, "Dummy", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
}
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/InstanceRefImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/InstanceRefImpl.java
new file mode 100644
index 00000000000..09f5d7475ee
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/InstanceRefImpl.java
@@ -0,0 +1,39 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.impl;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
+import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
+import org.eclipse.papyrus.eastadl.infrastructure.InstanceRef;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class InstanceRefImpl extends MinimalEObjectImpl.Container implements InstanceRef {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected InstanceRefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return InfrastructurePackage.Literals.INSTANCE_REF;
+ }
+
+} //InstanceRefImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/PrecedenceConstraint_precedingInstanceRefImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/PrecedenceConstraint_precedingInstanceRefImpl.java
new file mode 100644
index 00000000000..b54642c5118
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/PrecedenceConstraint_precedingInstanceRefImpl.java
@@ -0,0 +1,192 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.impl;
+
+import java.util.Collection;
+
+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.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
+import org.eclipse.papyrus.eastadl.infrastructure.PrecedenceConstraint_precedingInstanceRef;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Precedence Constraint preceding Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.PrecedenceConstraint_precedingInstanceRefImpl#getFunctionPrototype_target <em>Function Prototype target</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.PrecedenceConstraint_precedingInstanceRefImpl#getFunctionPrototype_context <em>Function Prototype context</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class PrecedenceConstraint_precedingInstanceRefImpl extends InstanceRefImpl implements PrecedenceConstraint_precedingInstanceRef {
+ /**
+ * The cached value of the '{@link #getFunctionPrototype_target() <em>Function Prototype target</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFunctionPrototype_target()
+ * @generated
+ * @ordered
+ */
+ protected FunctionPrototype functionPrototype_target;
+
+ /**
+ * The cached value of the '{@link #getFunctionPrototype_context() <em>Function Prototype context</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFunctionPrototype_context()
+ * @generated
+ * @ordered
+ */
+ protected EList<FunctionPrototype> functionPrototype_context;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected PrecedenceConstraint_precedingInstanceRefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return InfrastructurePackage.Literals.PRECEDENCE_CONSTRAINT_PRECEDING_INSTANCE_REF;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FunctionPrototype getFunctionPrototype_target() {
+ if (functionPrototype_target != null && functionPrototype_target.eIsProxy()) {
+ InternalEObject oldFunctionPrototype_target = (InternalEObject)functionPrototype_target;
+ functionPrototype_target = (FunctionPrototype)eResolveProxy(oldFunctionPrototype_target);
+ if (functionPrototype_target != oldFunctionPrototype_target) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfrastructurePackage.PRECEDENCE_CONSTRAINT_PRECEDING_INSTANCE_REF__FUNCTION_PROTOTYPE_TARGET, oldFunctionPrototype_target, functionPrototype_target));
+ }
+ }
+ return functionPrototype_target;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FunctionPrototype basicGetFunctionPrototype_target() {
+ return functionPrototype_target;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFunctionPrototype_target(FunctionPrototype newFunctionPrototype_target) {
+ FunctionPrototype oldFunctionPrototype_target = functionPrototype_target;
+ functionPrototype_target = newFunctionPrototype_target;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, InfrastructurePackage.PRECEDENCE_CONSTRAINT_PRECEDING_INSTANCE_REF__FUNCTION_PROTOTYPE_TARGET, oldFunctionPrototype_target, functionPrototype_target));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<FunctionPrototype> getFunctionPrototype_context() {
+ if (functionPrototype_context == null) {
+ functionPrototype_context = new EObjectResolvingEList<FunctionPrototype>(FunctionPrototype.class, this, InfrastructurePackage.PRECEDENCE_CONSTRAINT_PRECEDING_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT);
+ }
+ return functionPrototype_context;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case InfrastructurePackage.PRECEDENCE_CONSTRAINT_PRECEDING_INSTANCE_REF__FUNCTION_PROTOTYPE_TARGET:
+ if (resolve) return getFunctionPrototype_target();
+ return basicGetFunctionPrototype_target();
+ case InfrastructurePackage.PRECEDENCE_CONSTRAINT_PRECEDING_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT:
+ return getFunctionPrototype_context();
+ }
+ 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 InfrastructurePackage.PRECEDENCE_CONSTRAINT_PRECEDING_INSTANCE_REF__FUNCTION_PROTOTYPE_TARGET:
+ setFunctionPrototype_target((FunctionPrototype)newValue);
+ return;
+ case InfrastructurePackage.PRECEDENCE_CONSTRAINT_PRECEDING_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT:
+ getFunctionPrototype_context().clear();
+ getFunctionPrototype_context().addAll((Collection<? extends FunctionPrototype>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.PRECEDENCE_CONSTRAINT_PRECEDING_INSTANCE_REF__FUNCTION_PROTOTYPE_TARGET:
+ setFunctionPrototype_target((FunctionPrototype)null);
+ return;
+ case InfrastructurePackage.PRECEDENCE_CONSTRAINT_PRECEDING_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT:
+ getFunctionPrototype_context().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.PRECEDENCE_CONSTRAINT_PRECEDING_INSTANCE_REF__FUNCTION_PROTOTYPE_TARGET:
+ return functionPrototype_target != null;
+ case InfrastructurePackage.PRECEDENCE_CONSTRAINT_PRECEDING_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT:
+ return functionPrototype_context != null && !functionPrototype_context.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //PrecedenceConstraint_precedingInstanceRefImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/PrecedenceConstraint_successiveInstanceRefImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/PrecedenceConstraint_successiveInstanceRefImpl.java
new file mode 100644
index 00000000000..443530458ce
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/PrecedenceConstraint_successiveInstanceRefImpl.java
@@ -0,0 +1,192 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.impl;
+
+import java.util.Collection;
+
+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.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
+import org.eclipse.papyrus.eastadl.infrastructure.PrecedenceConstraint_successiveInstanceRef;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Precedence Constraint successive Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.PrecedenceConstraint_successiveInstanceRefImpl#getFunctionPrototype_target <em>Function Prototype target</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.PrecedenceConstraint_successiveInstanceRefImpl#getFunctionPrototype_context <em>Function Prototype context</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class PrecedenceConstraint_successiveInstanceRefImpl extends InstanceRefImpl implements PrecedenceConstraint_successiveInstanceRef {
+ /**
+ * The cached value of the '{@link #getFunctionPrototype_target() <em>Function Prototype target</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFunctionPrototype_target()
+ * @generated
+ * @ordered
+ */
+ protected FunctionPrototype functionPrototype_target;
+
+ /**
+ * The cached value of the '{@link #getFunctionPrototype_context() <em>Function Prototype context</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFunctionPrototype_context()
+ * @generated
+ * @ordered
+ */
+ protected EList<FunctionPrototype> functionPrototype_context;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected PrecedenceConstraint_successiveInstanceRefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return InfrastructurePackage.Literals.PRECEDENCE_CONSTRAINT_SUCCESSIVE_INSTANCE_REF;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FunctionPrototype getFunctionPrototype_target() {
+ if (functionPrototype_target != null && functionPrototype_target.eIsProxy()) {
+ InternalEObject oldFunctionPrototype_target = (InternalEObject)functionPrototype_target;
+ functionPrototype_target = (FunctionPrototype)eResolveProxy(oldFunctionPrototype_target);
+ if (functionPrototype_target != oldFunctionPrototype_target) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfrastructurePackage.PRECEDENCE_CONSTRAINT_SUCCESSIVE_INSTANCE_REF__FUNCTION_PROTOTYPE_TARGET, oldFunctionPrototype_target, functionPrototype_target));
+ }
+ }
+ return functionPrototype_target;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FunctionPrototype basicGetFunctionPrototype_target() {
+ return functionPrototype_target;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFunctionPrototype_target(FunctionPrototype newFunctionPrototype_target) {
+ FunctionPrototype oldFunctionPrototype_target = functionPrototype_target;
+ functionPrototype_target = newFunctionPrototype_target;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, InfrastructurePackage.PRECEDENCE_CONSTRAINT_SUCCESSIVE_INSTANCE_REF__FUNCTION_PROTOTYPE_TARGET, oldFunctionPrototype_target, functionPrototype_target));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<FunctionPrototype> getFunctionPrototype_context() {
+ if (functionPrototype_context == null) {
+ functionPrototype_context = new EObjectResolvingEList<FunctionPrototype>(FunctionPrototype.class, this, InfrastructurePackage.PRECEDENCE_CONSTRAINT_SUCCESSIVE_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT);
+ }
+ return functionPrototype_context;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case InfrastructurePackage.PRECEDENCE_CONSTRAINT_SUCCESSIVE_INSTANCE_REF__FUNCTION_PROTOTYPE_TARGET:
+ if (resolve) return getFunctionPrototype_target();
+ return basicGetFunctionPrototype_target();
+ case InfrastructurePackage.PRECEDENCE_CONSTRAINT_SUCCESSIVE_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT:
+ return getFunctionPrototype_context();
+ }
+ 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 InfrastructurePackage.PRECEDENCE_CONSTRAINT_SUCCESSIVE_INSTANCE_REF__FUNCTION_PROTOTYPE_TARGET:
+ setFunctionPrototype_target((FunctionPrototype)newValue);
+ return;
+ case InfrastructurePackage.PRECEDENCE_CONSTRAINT_SUCCESSIVE_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT:
+ getFunctionPrototype_context().clear();
+ getFunctionPrototype_context().addAll((Collection<? extends FunctionPrototype>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.PRECEDENCE_CONSTRAINT_SUCCESSIVE_INSTANCE_REF__FUNCTION_PROTOTYPE_TARGET:
+ setFunctionPrototype_target((FunctionPrototype)null);
+ return;
+ case InfrastructurePackage.PRECEDENCE_CONSTRAINT_SUCCESSIVE_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT:
+ getFunctionPrototype_context().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.PRECEDENCE_CONSTRAINT_SUCCESSIVE_INSTANCE_REF__FUNCTION_PROTOTYPE_TARGET:
+ return functionPrototype_target != null;
+ case InfrastructurePackage.PRECEDENCE_CONSTRAINT_SUCCESSIVE_INSTANCE_REF__FUNCTION_PROTOTYPE_CONTEXT:
+ return functionPrototype_context != null && !functionPrototype_context.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //PrecedenceConstraint_successiveInstanceRefImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/Realization_realizedByInstanceRefImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/Realization_realizedByInstanceRefImpl.java
new file mode 100644
index 00000000000..6db786cb398
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/Realization_realizedByInstanceRefImpl.java
@@ -0,0 +1,192 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.impl;
+
+import java.util.Collection;
+
+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.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
+import org.eclipse.papyrus.eastadl.infrastructure.Realization_realizedByInstanceRef;
+import org.eclipse.uml2.uml.NamedElement;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Realization realized By Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.Realization_realizedByInstanceRefImpl#getIdentifiable_target <em>Identifiable target</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.Realization_realizedByInstanceRefImpl#getIdentifiable_context <em>Identifiable context</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class Realization_realizedByInstanceRefImpl extends InstanceRefImpl implements Realization_realizedByInstanceRef {
+ /**
+ * The cached value of the '{@link #getIdentifiable_target() <em>Identifiable target</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIdentifiable_target()
+ * @generated
+ * @ordered
+ */
+ protected NamedElement identifiable_target;
+
+ /**
+ * The cached value of the '{@link #getIdentifiable_context() <em>Identifiable context</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIdentifiable_context()
+ * @generated
+ * @ordered
+ */
+ protected EList<NamedElement> identifiable_context;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected Realization_realizedByInstanceRefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return InfrastructurePackage.Literals.REALIZATION_REALIZED_BY_INSTANCE_REF;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NamedElement getIdentifiable_target() {
+ if (identifiable_target != null && identifiable_target.eIsProxy()) {
+ InternalEObject oldIdentifiable_target = (InternalEObject)identifiable_target;
+ identifiable_target = (NamedElement)eResolveProxy(oldIdentifiable_target);
+ if (identifiable_target != oldIdentifiable_target) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfrastructurePackage.REALIZATION_REALIZED_BY_INSTANCE_REF__IDENTIFIABLE_TARGET, oldIdentifiable_target, identifiable_target));
+ }
+ }
+ return identifiable_target;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NamedElement basicGetIdentifiable_target() {
+ return identifiable_target;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIdentifiable_target(NamedElement newIdentifiable_target) {
+ NamedElement oldIdentifiable_target = identifiable_target;
+ identifiable_target = newIdentifiable_target;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, InfrastructurePackage.REALIZATION_REALIZED_BY_INSTANCE_REF__IDENTIFIABLE_TARGET, oldIdentifiable_target, identifiable_target));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<NamedElement> getIdentifiable_context() {
+ if (identifiable_context == null) {
+ identifiable_context = new EObjectResolvingEList<NamedElement>(NamedElement.class, this, InfrastructurePackage.REALIZATION_REALIZED_BY_INSTANCE_REF__IDENTIFIABLE_CONTEXT);
+ }
+ return identifiable_context;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case InfrastructurePackage.REALIZATION_REALIZED_BY_INSTANCE_REF__IDENTIFIABLE_TARGET:
+ if (resolve) return getIdentifiable_target();
+ return basicGetIdentifiable_target();
+ case InfrastructurePackage.REALIZATION_REALIZED_BY_INSTANCE_REF__IDENTIFIABLE_CONTEXT:
+ return getIdentifiable_context();
+ }
+ 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 InfrastructurePackage.REALIZATION_REALIZED_BY_INSTANCE_REF__IDENTIFIABLE_TARGET:
+ setIdentifiable_target((NamedElement)newValue);
+ return;
+ case InfrastructurePackage.REALIZATION_REALIZED_BY_INSTANCE_REF__IDENTIFIABLE_CONTEXT:
+ getIdentifiable_context().clear();
+ getIdentifiable_context().addAll((Collection<? extends NamedElement>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.REALIZATION_REALIZED_BY_INSTANCE_REF__IDENTIFIABLE_TARGET:
+ setIdentifiable_target((NamedElement)null);
+ return;
+ case InfrastructurePackage.REALIZATION_REALIZED_BY_INSTANCE_REF__IDENTIFIABLE_CONTEXT:
+ getIdentifiable_context().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.REALIZATION_REALIZED_BY_INSTANCE_REF__IDENTIFIABLE_TARGET:
+ return identifiable_target != null;
+ case InfrastructurePackage.REALIZATION_REALIZED_BY_INSTANCE_REF__IDENTIFIABLE_CONTEXT:
+ return identifiable_context != null && !identifiable_context.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //Realization_realizedByInstanceRefImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/Realization_realizedInstanceRefImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/Realization_realizedInstanceRefImpl.java
new file mode 100644
index 00000000000..6d7276ebc82
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/Realization_realizedInstanceRefImpl.java
@@ -0,0 +1,192 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.impl;
+
+import java.util.Collection;
+
+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.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
+import org.eclipse.papyrus.eastadl.infrastructure.Realization_realizedInstanceRef;
+import org.eclipse.uml2.uml.NamedElement;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Realization realized Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.Realization_realizedInstanceRefImpl#getIdentifiable_target <em>Identifiable target</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.Realization_realizedInstanceRefImpl#getIdentifiable_context <em>Identifiable context</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class Realization_realizedInstanceRefImpl extends InstanceRefImpl implements Realization_realizedInstanceRef {
+ /**
+ * The cached value of the '{@link #getIdentifiable_target() <em>Identifiable target</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIdentifiable_target()
+ * @generated
+ * @ordered
+ */
+ protected NamedElement identifiable_target;
+
+ /**
+ * The cached value of the '{@link #getIdentifiable_context() <em>Identifiable context</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIdentifiable_context()
+ * @generated
+ * @ordered
+ */
+ protected EList<NamedElement> identifiable_context;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected Realization_realizedInstanceRefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return InfrastructurePackage.Literals.REALIZATION_REALIZED_INSTANCE_REF;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NamedElement getIdentifiable_target() {
+ if (identifiable_target != null && identifiable_target.eIsProxy()) {
+ InternalEObject oldIdentifiable_target = (InternalEObject)identifiable_target;
+ identifiable_target = (NamedElement)eResolveProxy(oldIdentifiable_target);
+ if (identifiable_target != oldIdentifiable_target) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfrastructurePackage.REALIZATION_REALIZED_INSTANCE_REF__IDENTIFIABLE_TARGET, oldIdentifiable_target, identifiable_target));
+ }
+ }
+ return identifiable_target;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NamedElement basicGetIdentifiable_target() {
+ return identifiable_target;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIdentifiable_target(NamedElement newIdentifiable_target) {
+ NamedElement oldIdentifiable_target = identifiable_target;
+ identifiable_target = newIdentifiable_target;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, InfrastructurePackage.REALIZATION_REALIZED_INSTANCE_REF__IDENTIFIABLE_TARGET, oldIdentifiable_target, identifiable_target));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<NamedElement> getIdentifiable_context() {
+ if (identifiable_context == null) {
+ identifiable_context = new EObjectResolvingEList<NamedElement>(NamedElement.class, this, InfrastructurePackage.REALIZATION_REALIZED_INSTANCE_REF__IDENTIFIABLE_CONTEXT);
+ }
+ return identifiable_context;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case InfrastructurePackage.REALIZATION_REALIZED_INSTANCE_REF__IDENTIFIABLE_TARGET:
+ if (resolve) return getIdentifiable_target();
+ return basicGetIdentifiable_target();
+ case InfrastructurePackage.REALIZATION_REALIZED_INSTANCE_REF__IDENTIFIABLE_CONTEXT:
+ return getIdentifiable_context();
+ }
+ 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 InfrastructurePackage.REALIZATION_REALIZED_INSTANCE_REF__IDENTIFIABLE_TARGET:
+ setIdentifiable_target((NamedElement)newValue);
+ return;
+ case InfrastructurePackage.REALIZATION_REALIZED_INSTANCE_REF__IDENTIFIABLE_CONTEXT:
+ getIdentifiable_context().clear();
+ getIdentifiable_context().addAll((Collection<? extends NamedElement>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.REALIZATION_REALIZED_INSTANCE_REF__IDENTIFIABLE_TARGET:
+ setIdentifiable_target((NamedElement)null);
+ return;
+ case InfrastructurePackage.REALIZATION_REALIZED_INSTANCE_REF__IDENTIFIABLE_CONTEXT:
+ getIdentifiable_context().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.REALIZATION_REALIZED_INSTANCE_REF__IDENTIFIABLE_TARGET:
+ return identifiable_target != null;
+ case InfrastructurePackage.REALIZATION_REALIZED_INSTANCE_REF__IDENTIFIABLE_CONTEXT:
+ return identifiable_context != null && !identifiable_context.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //Realization_realizedInstanceRefImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/RefineInstanceRefImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/RefineInstanceRefImpl.java
new file mode 100644
index 00000000000..9622fe37e56
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/RefineInstanceRefImpl.java
@@ -0,0 +1,192 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.impl;
+
+import java.util.Collection;
+
+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.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
+import org.eclipse.papyrus.eastadl.infrastructure.RefineInstanceRef;
+import org.eclipse.uml2.uml.NamedElement;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Refine Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.RefineInstanceRefImpl#getIdentifiable_target <em>Identifiable target</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.RefineInstanceRefImpl#getIdentifiable_context <em>Identifiable context</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class RefineInstanceRefImpl extends InstanceRefImpl implements RefineInstanceRef {
+ /**
+ * The cached value of the '{@link #getIdentifiable_target() <em>Identifiable target</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIdentifiable_target()
+ * @generated
+ * @ordered
+ */
+ protected NamedElement identifiable_target;
+
+ /**
+ * The cached value of the '{@link #getIdentifiable_context() <em>Identifiable context</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIdentifiable_context()
+ * @generated
+ * @ordered
+ */
+ protected EList<NamedElement> identifiable_context;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected RefineInstanceRefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return InfrastructurePackage.Literals.REFINE_INSTANCE_REF;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NamedElement getIdentifiable_target() {
+ if (identifiable_target != null && identifiable_target.eIsProxy()) {
+ InternalEObject oldIdentifiable_target = (InternalEObject)identifiable_target;
+ identifiable_target = (NamedElement)eResolveProxy(oldIdentifiable_target);
+ if (identifiable_target != oldIdentifiable_target) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfrastructurePackage.REFINE_INSTANCE_REF__IDENTIFIABLE_TARGET, oldIdentifiable_target, identifiable_target));
+ }
+ }
+ return identifiable_target;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NamedElement basicGetIdentifiable_target() {
+ return identifiable_target;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIdentifiable_target(NamedElement newIdentifiable_target) {
+ NamedElement oldIdentifiable_target = identifiable_target;
+ identifiable_target = newIdentifiable_target;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, InfrastructurePackage.REFINE_INSTANCE_REF__IDENTIFIABLE_TARGET, oldIdentifiable_target, identifiable_target));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<NamedElement> getIdentifiable_context() {
+ if (identifiable_context == null) {
+ identifiable_context = new EObjectResolvingEList<NamedElement>(NamedElement.class, this, InfrastructurePackage.REFINE_INSTANCE_REF__IDENTIFIABLE_CONTEXT);
+ }
+ return identifiable_context;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case InfrastructurePackage.REFINE_INSTANCE_REF__IDENTIFIABLE_TARGET:
+ if (resolve) return getIdentifiable_target();
+ return basicGetIdentifiable_target();
+ case InfrastructurePackage.REFINE_INSTANCE_REF__IDENTIFIABLE_CONTEXT:
+ return getIdentifiable_context();
+ }
+ 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 InfrastructurePackage.REFINE_INSTANCE_REF__IDENTIFIABLE_TARGET:
+ setIdentifiable_target((NamedElement)newValue);
+ return;
+ case InfrastructurePackage.REFINE_INSTANCE_REF__IDENTIFIABLE_CONTEXT:
+ getIdentifiable_context().clear();
+ getIdentifiable_context().addAll((Collection<? extends NamedElement>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.REFINE_INSTANCE_REF__IDENTIFIABLE_TARGET:
+ setIdentifiable_target((NamedElement)null);
+ return;
+ case InfrastructurePackage.REFINE_INSTANCE_REF__IDENTIFIABLE_CONTEXT:
+ getIdentifiable_context().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.REFINE_INSTANCE_REF__IDENTIFIABLE_TARGET:
+ return identifiable_target != null;
+ case InfrastructurePackage.REFINE_INSTANCE_REF__IDENTIFIABLE_CONTEXT:
+ return identifiable_context != null && !identifiable_context.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //RefineInstanceRefImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/SatisfyInstanceRefImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/SatisfyInstanceRefImpl.java
new file mode 100644
index 00000000000..21ec0e1916b
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/SatisfyInstanceRefImpl.java
@@ -0,0 +1,192 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.impl;
+
+import java.util.Collection;
+
+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.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
+import org.eclipse.papyrus.eastadl.infrastructure.SatisfyInstanceRef;
+import org.eclipse.uml2.uml.NamedElement;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Satisfy Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.SatisfyInstanceRefImpl#getIdentifiable_target <em>Identifiable target</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.SatisfyInstanceRefImpl#getIdentifiable_context <em>Identifiable context</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class SatisfyInstanceRefImpl extends InstanceRefImpl implements SatisfyInstanceRef {
+ /**
+ * The cached value of the '{@link #getIdentifiable_target() <em>Identifiable target</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIdentifiable_target()
+ * @generated
+ * @ordered
+ */
+ protected NamedElement identifiable_target;
+
+ /**
+ * The cached value of the '{@link #getIdentifiable_context() <em>Identifiable context</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIdentifiable_context()
+ * @generated
+ * @ordered
+ */
+ protected EList<NamedElement> identifiable_context;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected SatisfyInstanceRefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return InfrastructurePackage.Literals.SATISFY_INSTANCE_REF;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NamedElement getIdentifiable_target() {
+ if (identifiable_target != null && identifiable_target.eIsProxy()) {
+ InternalEObject oldIdentifiable_target = (InternalEObject)identifiable_target;
+ identifiable_target = (NamedElement)eResolveProxy(oldIdentifiable_target);
+ if (identifiable_target != oldIdentifiable_target) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfrastructurePackage.SATISFY_INSTANCE_REF__IDENTIFIABLE_TARGET, oldIdentifiable_target, identifiable_target));
+ }
+ }
+ return identifiable_target;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NamedElement basicGetIdentifiable_target() {
+ return identifiable_target;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIdentifiable_target(NamedElement newIdentifiable_target) {
+ NamedElement oldIdentifiable_target = identifiable_target;
+ identifiable_target = newIdentifiable_target;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, InfrastructurePackage.SATISFY_INSTANCE_REF__IDENTIFIABLE_TARGET, oldIdentifiable_target, identifiable_target));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<NamedElement> getIdentifiable_context() {
+ if (identifiable_context == null) {
+ identifiable_context = new EObjectResolvingEList<NamedElement>(NamedElement.class, this, InfrastructurePackage.SATISFY_INSTANCE_REF__IDENTIFIABLE_CONTEXT);
+ }
+ return identifiable_context;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case InfrastructurePackage.SATISFY_INSTANCE_REF__IDENTIFIABLE_TARGET:
+ if (resolve) return getIdentifiable_target();
+ return basicGetIdentifiable_target();
+ case InfrastructurePackage.SATISFY_INSTANCE_REF__IDENTIFIABLE_CONTEXT:
+ return getIdentifiable_context();
+ }
+ 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 InfrastructurePackage.SATISFY_INSTANCE_REF__IDENTIFIABLE_TARGET:
+ setIdentifiable_target((NamedElement)newValue);
+ return;
+ case InfrastructurePackage.SATISFY_INSTANCE_REF__IDENTIFIABLE_CONTEXT:
+ getIdentifiable_context().clear();
+ getIdentifiable_context().addAll((Collection<? extends NamedElement>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.SATISFY_INSTANCE_REF__IDENTIFIABLE_TARGET:
+ setIdentifiable_target((NamedElement)null);
+ return;
+ case InfrastructurePackage.SATISFY_INSTANCE_REF__IDENTIFIABLE_CONTEXT:
+ getIdentifiable_context().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.SATISFY_INSTANCE_REF__IDENTIFIABLE_TARGET:
+ return identifiable_target != null;
+ case InfrastructurePackage.SATISFY_INSTANCE_REF__IDENTIFIABLE_CONTEXT:
+ return identifiable_context != null && !identifiable_context.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //SatisfyInstanceRefImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/TargetInstanceRefImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/TargetInstanceRefImpl.java
new file mode 100644
index 00000000000..d99a291f1fe
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/TargetInstanceRefImpl.java
@@ -0,0 +1,260 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.impl;
+
+import java.util.Collection;
+
+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.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
+import org.eclipse.papyrus.eastadl.infrastructure.TargetInstanceRef;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.AllocationTarget;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Target Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.TargetInstanceRefImpl#getAllocationTarget <em>Allocation Target</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.TargetInstanceRefImpl#getAllocationTarget_context <em>Allocation Target context</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.TargetInstanceRefImpl#getIntAttribute <em>Int Attribute</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class TargetInstanceRefImpl extends InstanceRefImpl implements TargetInstanceRef {
+ /**
+ * The cached value of the '{@link #getAllocationTarget() <em>Allocation Target</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAllocationTarget()
+ * @generated
+ * @ordered
+ */
+ protected AllocationTarget allocationTarget;
+
+ /**
+ * The cached value of the '{@link #getAllocationTarget_context() <em>Allocation Target context</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAllocationTarget_context()
+ * @generated
+ * @ordered
+ */
+ protected EList<AllocationTarget> allocationTarget_context;
+
+ /**
+ * The default value of the '{@link #getIntAttribute() <em>Int Attribute</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIntAttribute()
+ * @generated
+ * @ordered
+ */
+ protected static final int INT_ATTRIBUTE_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getIntAttribute() <em>Int Attribute</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIntAttribute()
+ * @generated
+ * @ordered
+ */
+ protected int intAttribute = INT_ATTRIBUTE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected TargetInstanceRefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return InfrastructurePackage.Literals.TARGET_INSTANCE_REF;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public AllocationTarget getAllocationTarget() {
+ if (allocationTarget != null && allocationTarget.eIsProxy()) {
+ InternalEObject oldAllocationTarget = (InternalEObject)allocationTarget;
+ allocationTarget = (AllocationTarget)eResolveProxy(oldAllocationTarget);
+ if (allocationTarget != oldAllocationTarget) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfrastructurePackage.TARGET_INSTANCE_REF__ALLOCATION_TARGET, oldAllocationTarget, allocationTarget));
+ }
+ }
+ return allocationTarget;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public AllocationTarget basicGetAllocationTarget() {
+ return allocationTarget;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAllocationTarget(AllocationTarget newAllocationTarget) {
+ AllocationTarget oldAllocationTarget = allocationTarget;
+ allocationTarget = newAllocationTarget;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, InfrastructurePackage.TARGET_INSTANCE_REF__ALLOCATION_TARGET, oldAllocationTarget, allocationTarget));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<AllocationTarget> getAllocationTarget_context() {
+ if (allocationTarget_context == null) {
+ allocationTarget_context = new EObjectResolvingEList<AllocationTarget>(AllocationTarget.class, this, InfrastructurePackage.TARGET_INSTANCE_REF__ALLOCATION_TARGET_CONTEXT);
+ }
+ return allocationTarget_context;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getIntAttribute() {
+ return intAttribute;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIntAttribute(int newIntAttribute) {
+ int oldIntAttribute = intAttribute;
+ intAttribute = newIntAttribute;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, InfrastructurePackage.TARGET_INSTANCE_REF__INT_ATTRIBUTE, oldIntAttribute, intAttribute));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case InfrastructurePackage.TARGET_INSTANCE_REF__ALLOCATION_TARGET:
+ if (resolve) return getAllocationTarget();
+ return basicGetAllocationTarget();
+ case InfrastructurePackage.TARGET_INSTANCE_REF__ALLOCATION_TARGET_CONTEXT:
+ return getAllocationTarget_context();
+ case InfrastructurePackage.TARGET_INSTANCE_REF__INT_ATTRIBUTE:
+ return getIntAttribute();
+ }
+ 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 InfrastructurePackage.TARGET_INSTANCE_REF__ALLOCATION_TARGET:
+ setAllocationTarget((AllocationTarget)newValue);
+ return;
+ case InfrastructurePackage.TARGET_INSTANCE_REF__ALLOCATION_TARGET_CONTEXT:
+ getAllocationTarget_context().clear();
+ getAllocationTarget_context().addAll((Collection<? extends AllocationTarget>)newValue);
+ return;
+ case InfrastructurePackage.TARGET_INSTANCE_REF__INT_ATTRIBUTE:
+ setIntAttribute((Integer)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.TARGET_INSTANCE_REF__ALLOCATION_TARGET:
+ setAllocationTarget((AllocationTarget)null);
+ return;
+ case InfrastructurePackage.TARGET_INSTANCE_REF__ALLOCATION_TARGET_CONTEXT:
+ getAllocationTarget_context().clear();
+ return;
+ case InfrastructurePackage.TARGET_INSTANCE_REF__INT_ATTRIBUTE:
+ setIntAttribute(INT_ATTRIBUTE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.TARGET_INSTANCE_REF__ALLOCATION_TARGET:
+ return allocationTarget != null;
+ case InfrastructurePackage.TARGET_INSTANCE_REF__ALLOCATION_TARGET_CONTEXT:
+ return allocationTarget_context != null && !allocationTarget_context.isEmpty();
+ case InfrastructurePackage.TARGET_INSTANCE_REF__INT_ATTRIBUTE:
+ return intAttribute != INT_ATTRIBUTE_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(" (intAttribute: ");
+ result.append(intAttribute);
+ result.append(')');
+ return result.toString();
+ }
+
+} //TargetInstanceRefImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/VVCaseInstanceRefImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/VVCaseInstanceRefImpl.java
new file mode 100644
index 00000000000..b89628eef58
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/VVCaseInstanceRefImpl.java
@@ -0,0 +1,192 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.impl;
+
+import java.util.Collection;
+
+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.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
+import org.eclipse.papyrus.eastadl.infrastructure.VVCaseInstanceRef;
+import org.eclipse.uml2.uml.NamedElement;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>VV Case Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.VVCaseInstanceRefImpl#getIdentifiable_target <em>Identifiable target</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.VVCaseInstanceRefImpl#getIdentifiable_context <em>Identifiable context</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class VVCaseInstanceRefImpl extends InstanceRefImpl implements VVCaseInstanceRef {
+ /**
+ * The cached value of the '{@link #getIdentifiable_target() <em>Identifiable target</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIdentifiable_target()
+ * @generated
+ * @ordered
+ */
+ protected NamedElement identifiable_target;
+
+ /**
+ * The cached value of the '{@link #getIdentifiable_context() <em>Identifiable context</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIdentifiable_context()
+ * @generated
+ * @ordered
+ */
+ protected EList<NamedElement> identifiable_context;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected VVCaseInstanceRefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return InfrastructurePackage.Literals.VV_CASE_INSTANCE_REF;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NamedElement getIdentifiable_target() {
+ if (identifiable_target != null && identifiable_target.eIsProxy()) {
+ InternalEObject oldIdentifiable_target = (InternalEObject)identifiable_target;
+ identifiable_target = (NamedElement)eResolveProxy(oldIdentifiable_target);
+ if (identifiable_target != oldIdentifiable_target) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfrastructurePackage.VV_CASE_INSTANCE_REF__IDENTIFIABLE_TARGET, oldIdentifiable_target, identifiable_target));
+ }
+ }
+ return identifiable_target;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NamedElement basicGetIdentifiable_target() {
+ return identifiable_target;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIdentifiable_target(NamedElement newIdentifiable_target) {
+ NamedElement oldIdentifiable_target = identifiable_target;
+ identifiable_target = newIdentifiable_target;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, InfrastructurePackage.VV_CASE_INSTANCE_REF__IDENTIFIABLE_TARGET, oldIdentifiable_target, identifiable_target));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<NamedElement> getIdentifiable_context() {
+ if (identifiable_context == null) {
+ identifiable_context = new EObjectResolvingEList<NamedElement>(NamedElement.class, this, InfrastructurePackage.VV_CASE_INSTANCE_REF__IDENTIFIABLE_CONTEXT);
+ }
+ return identifiable_context;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case InfrastructurePackage.VV_CASE_INSTANCE_REF__IDENTIFIABLE_TARGET:
+ if (resolve) return getIdentifiable_target();
+ return basicGetIdentifiable_target();
+ case InfrastructurePackage.VV_CASE_INSTANCE_REF__IDENTIFIABLE_CONTEXT:
+ return getIdentifiable_context();
+ }
+ 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 InfrastructurePackage.VV_CASE_INSTANCE_REF__IDENTIFIABLE_TARGET:
+ setIdentifiable_target((NamedElement)newValue);
+ return;
+ case InfrastructurePackage.VV_CASE_INSTANCE_REF__IDENTIFIABLE_CONTEXT:
+ getIdentifiable_context().clear();
+ getIdentifiable_context().addAll((Collection<? extends NamedElement>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.VV_CASE_INSTANCE_REF__IDENTIFIABLE_TARGET:
+ setIdentifiable_target((NamedElement)null);
+ return;
+ case InfrastructurePackage.VV_CASE_INSTANCE_REF__IDENTIFIABLE_CONTEXT:
+ getIdentifiable_context().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.VV_CASE_INSTANCE_REF__IDENTIFIABLE_TARGET:
+ return identifiable_target != null;
+ case InfrastructurePackage.VV_CASE_INSTANCE_REF__IDENTIFIABLE_CONTEXT:
+ return identifiable_context != null && !identifiable_context.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //VVCaseInstanceRefImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/VVTargetInstanceRefImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/VVTargetInstanceRefImpl.java
new file mode 100644
index 00000000000..e7f08aafffb
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/impl/VVTargetInstanceRefImpl.java
@@ -0,0 +1,192 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.impl;
+
+import java.util.Collection;
+
+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.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
+import org.eclipse.papyrus.eastadl.infrastructure.VVTargetInstanceRef;
+import org.eclipse.uml2.uml.NamedElement;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>VV Target Instance Ref</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.VVTargetInstanceRefImpl#getIdentifiable_target <em>Identifiable target</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.impl.VVTargetInstanceRefImpl#getIdentifiable_context <em>Identifiable context</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class VVTargetInstanceRefImpl extends InstanceRefImpl implements VVTargetInstanceRef {
+ /**
+ * The cached value of the '{@link #getIdentifiable_target() <em>Identifiable target</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIdentifiable_target()
+ * @generated
+ * @ordered
+ */
+ protected NamedElement identifiable_target;
+
+ /**
+ * The cached value of the '{@link #getIdentifiable_context() <em>Identifiable context</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIdentifiable_context()
+ * @generated
+ * @ordered
+ */
+ protected EList<NamedElement> identifiable_context;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected VVTargetInstanceRefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return InfrastructurePackage.Literals.VV_TARGET_INSTANCE_REF;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NamedElement getIdentifiable_target() {
+ if (identifiable_target != null && identifiable_target.eIsProxy()) {
+ InternalEObject oldIdentifiable_target = (InternalEObject)identifiable_target;
+ identifiable_target = (NamedElement)eResolveProxy(oldIdentifiable_target);
+ if (identifiable_target != oldIdentifiable_target) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfrastructurePackage.VV_TARGET_INSTANCE_REF__IDENTIFIABLE_TARGET, oldIdentifiable_target, identifiable_target));
+ }
+ }
+ return identifiable_target;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NamedElement basicGetIdentifiable_target() {
+ return identifiable_target;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIdentifiable_target(NamedElement newIdentifiable_target) {
+ NamedElement oldIdentifiable_target = identifiable_target;
+ identifiable_target = newIdentifiable_target;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, InfrastructurePackage.VV_TARGET_INSTANCE_REF__IDENTIFIABLE_TARGET, oldIdentifiable_target, identifiable_target));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<NamedElement> getIdentifiable_context() {
+ if (identifiable_context == null) {
+ identifiable_context = new EObjectResolvingEList<NamedElement>(NamedElement.class, this, InfrastructurePackage.VV_TARGET_INSTANCE_REF__IDENTIFIABLE_CONTEXT);
+ }
+ return identifiable_context;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case InfrastructurePackage.VV_TARGET_INSTANCE_REF__IDENTIFIABLE_TARGET:
+ if (resolve) return getIdentifiable_target();
+ return basicGetIdentifiable_target();
+ case InfrastructurePackage.VV_TARGET_INSTANCE_REF__IDENTIFIABLE_CONTEXT:
+ return getIdentifiable_context();
+ }
+ 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 InfrastructurePackage.VV_TARGET_INSTANCE_REF__IDENTIFIABLE_TARGET:
+ setIdentifiable_target((NamedElement)newValue);
+ return;
+ case InfrastructurePackage.VV_TARGET_INSTANCE_REF__IDENTIFIABLE_CONTEXT:
+ getIdentifiable_context().clear();
+ getIdentifiable_context().addAll((Collection<? extends NamedElement>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.VV_TARGET_INSTANCE_REF__IDENTIFIABLE_TARGET:
+ setIdentifiable_target((NamedElement)null);
+ return;
+ case InfrastructurePackage.VV_TARGET_INSTANCE_REF__IDENTIFIABLE_CONTEXT:
+ getIdentifiable_context().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case InfrastructurePackage.VV_TARGET_INSTANCE_REF__IDENTIFIABLE_TARGET:
+ return identifiable_target != null;
+ case InfrastructurePackage.VV_TARGET_INSTANCE_REF__IDENTIFIABLE_CONTEXT:
+ return identifiable_context != null && !identifiable_context.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //VVTargetInstanceRefImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/UserAttributeDefinition.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/UserAttributeDefinition.java
index c8010f50316..5ee051d9089 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/UserAttributeDefinition.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/UserAttributeDefinition.java
@@ -25,40 +25,37 @@ import org.eclipse.uml2.uml.Property;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>User Attribute Definition</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <!-- begin-model-doc -->
- * UserAttributeDefinition represents a user attribute, i.e. it states that all UserAttributeableElements of a certain UserAttributeElementType are to
- * be attached with an attribute identified by 'key'. For example, it can be specified that certain elements should be amended with an attribute
- * "Status".
+ * UserAttributeDefinition represents a user attribute, i.e. it states that all UserAttributeableElements of a certain UserAttributeElementType are to be attached with an attribute identified by 'key'. For example, it can be specified that certain elements should be amended with an attribute "Status".
*
* Extension:
* Class, Property
* <!-- end-model-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition#getBase_Class <em>Base Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition#getDefaultValue <em>Default Value</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition#getType <em>Type</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition#getBase_Property <em>Base Property</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition#getDefaultValue <em>Default Value</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition#getBase_Property <em>Base Property</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserattributesPackage#getUserAttributeDefinition()
* @model
* @generated
*/
public interface UserAttributeDefinition extends EAElement {
-
/**
* Returns the value of the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Class</em>' reference isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Base Class</em>' reference isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @return the value of the '<em>Base Class</em>' reference.
* @see #setBase_Class(org.eclipse.uml2.uml.Class)
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserattributesPackage#getUserAttributeDefinition_Base_Class()
@@ -68,13 +65,10 @@ public interface UserAttributeDefinition extends EAElement {
org.eclipse.uml2.uml.Class getBase_Class();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition#getBase_Class
- * <em>Base Class</em>}' reference.
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition#getBase_Class <em>Base Class</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Base Class</em>' reference.
+ * @param value the new value of the '<em>Base Class</em>' reference.
* @see #getBase_Class()
* @generated
*/
@@ -84,10 +78,10 @@ public interface UserAttributeDefinition extends EAElement {
* Returns the value of the '<em><b>Default Value</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Default Value</em>' reference isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Default Value</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 Value</em>' attribute.
* @see #setDefaultValue(String)
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserattributesPackage#getUserAttributeDefinition_DefaultValue()
@@ -97,13 +91,10 @@ public interface UserAttributeDefinition extends EAElement {
String getDefaultValue();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition#getDefaultValue
- * <em>Default Value</em>}' attribute.
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition#getDefaultValue <em>Default Value</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Default Value</em>' attribute.
+ * @param value the new value of the '<em>Default Value</em>' attribute.
* @see #getDefaultValue()
* @generated
*/
@@ -113,10 +104,10 @@ public interface UserAttributeDefinition extends EAElement {
* 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...
+ * 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(EADatatype)
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserattributesPackage#getUserAttributeDefinition_Type()
@@ -126,13 +117,10 @@ public interface UserAttributeDefinition extends EAElement {
EADatatype getType();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition#getType <em>Type</em>}'
- * reference.
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition#getType <em>Type</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Type</em>' reference.
+ * @param value the new value of the '<em>Type</em>' reference.
* @see #getType()
* @generated
*/
@@ -142,10 +130,10 @@ public interface UserAttributeDefinition extends EAElement {
* Returns the value of the '<em><b>Base Property</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Property</em>' reference isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Base Property</em>' reference isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @return the value of the '<em>Base Property</em>' reference.
* @see #setBase_Property(Property)
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserattributesPackage#getUserAttributeDefinition_Base_Property()
@@ -155,13 +143,10 @@ public interface UserAttributeDefinition extends EAElement {
Property getBase_Property();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition#getBase_Property
- * <em>Base Property</em>}' reference.
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition#getBase_Property <em>Base Property</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Base Property</em>' reference.
+ * @param value the new value of the '<em>Base Property</em>' reference.
* @see #getBase_Property()
* @generated
*/
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/UserAttributeElementType.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/UserAttributeElementType.java
index d222bf7c0a4..da2780a70d3 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/UserAttributeElementType.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/UserAttributeElementType.java
@@ -23,38 +23,33 @@ import org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>User Attribute Element Type</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <!-- begin-model-doc -->
- * UserAttributeElementType represents a certain, user-defined type of user attributeable elements. With such a type, one or more user attributes can
- * be defined for all user attributeable elements of that type.
+ * UserAttributeElementType represents a certain, user-defined type of user attributeable elements. With such a type, one or more user attributes can be defined for all user attributeable elements of that type.
*
- * For example, engineers at Volkswagen could create a UserAttributeElementType called "VWFunction" with a single user attribute definition. That way,
- * all FunctionTypes for which "VWFunction" is defined as the UserAttributeElementType via association uaType will have the corresponding user
- * attribute.
+ * For example, engineers at Volkswagen could create a UserAttributeElementType called "VWFunction" with a single user attribute definition. That way, all FunctionTypes for which "VWFunction" is defined as the UserAttributeElementType via association uaType will have the corresponding user attribute.
*
* User attribute element types can be compared to stereotypes in UML2, but are less rigidly defined.
*
* Extension:
* Class
* <!-- end-model-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType#getExtendedElementType <em>Extended Element Type
- * </em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType#getAttribute <em>Attribute</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType#getBase_Class <em>Base Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType#getValidFor <em>Valid For</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType#getExtendedElementType <em>Extended Element Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType#getAttribute <em>Attribute</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType#getValidFor <em>Valid For</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserattributesPackage#getUserAttributeElementType()
* @model
* @generated
*/
public interface UserAttributeElementType extends EAElement {
-
/**
* Returns the value of the '<em><b>Attribute</b></em>' reference list.
* The list contents are of type {@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition}.
@@ -65,7 +60,6 @@ public interface UserAttributeElementType extends EAElement {
*
* Note that also inherited attribute definitions need to be taken into account.
* <!-- end-model-doc -->
- *
* @return the value of the '<em>Attribute</em>' reference list.
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserattributesPackage#getUserAttributeElementType_Attribute()
* @model ordered="false"
@@ -77,10 +71,10 @@ public interface UserAttributeElementType extends EAElement {
* Returns the value of the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Class</em>' reference isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Base Class</em>' reference isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @return the value of the '<em>Base Class</em>' reference.
* @see #setBase_Class(org.eclipse.uml2.uml.Class)
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserattributesPackage#getUserAttributeElementType_Base_Class()
@@ -90,13 +84,10 @@ public interface UserAttributeElementType extends EAElement {
org.eclipse.uml2.uml.Class getBase_Class();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType#getBase_Class
- * <em>Base Class</em>}' reference.
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType#getBase_Class <em>Base Class</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Base Class</em>' reference.
+ * @param value the new value of the '<em>Base Class</em>' reference.
* @see #getBase_Class()
* @generated
*/
@@ -109,11 +100,8 @@ public interface UserAttributeElementType extends EAElement {
* <!-- begin-model-doc -->
* The UAElementTypes this type is inheriting from.
*
- * When UAElementType ET2 inherits from type ET1, then this means that all attributes defined for ET1 by way of UserAttributeDefinitions are
- * available whenever ET2 is specified as the type of a user attributeable element (in addition to those directly defined in ET2). This includes
- * UserAttributeDefinitions which ET1 itself may inherit from other types.
+ * When UAElementType ET2 inherits from type ET1, then this means that all attributes defined for ET1 by way of UserAttributeDefinitions are available whenever ET2 is specified as the type of a user attributeable element (in addition to those directly defined in ET2). This includes UserAttributeDefinitions which ET1 itself may inherit from other types.
* <!-- end-model-doc -->
- *
* @return the value of the '<em>Extended Element Type</em>' reference.
* @see #setExtendedElementType(UserAttributeElementType)
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserattributesPackage#getUserAttributeElementType_ExtendedElementType()
@@ -126,10 +114,10 @@ public interface UserAttributeElementType extends EAElement {
* Returns the value of the '<em><b>Valid For</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Valid For</em>' reference isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Valid For</em>' reference isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @return the value of the '<em>Valid For</em>' attribute.
* @see #setValidFor(String)
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserattributesPackage#getUserAttributeElementType_ValidFor()
@@ -139,26 +127,20 @@ public interface UserAttributeElementType extends EAElement {
String getValidFor();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType#getExtendedElementType
- * <em>Extended Element Type</em>}' reference.
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType#getExtendedElementType <em>Extended Element Type</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Extended Element Type</em>' reference.
+ * @param value the new value of the '<em>Extended Element Type</em>' reference.
* @see #getExtendedElementType()
* @generated
*/
void setExtendedElementType(UserAttributeElementType value);
/**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType#getValidFor
- * <em>Valid For</em>}' attribute.
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType#getValidFor <em>Valid For</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Valid For</em>' attribute.
+ * @param value the new value of the '<em>Valid For</em>' attribute.
* @see #getValidFor()
* @generated
*/
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/UserAttributeValue.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/UserAttributeValue.java
index 9e65c35795b..c3579260c24 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/UserAttributeValue.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/UserAttributeValue.java
@@ -24,46 +24,41 @@ import org.eclipse.uml2.uml.Property;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>User Attribute Value</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <!-- begin-model-doc -->
- * UserAttributeValue represents a specific value for a certain user attribute. User attributes are simple key/value pairs which can be attached to
- * all UserAttributeableElements. Each user attribute is identified by a globally unique key.
+ * UserAttributeValue represents a specific value for a certain user attribute. User attributes are simple key/value pairs which can be attached to all UserAttributeableElements. Each user attribute is identified by a globally unique key.
*
- * In principle, there is no restriction which user attributes, i.e. keys, may be attached to a particular element and what strings may be used as
- * value (cf. class UserAttributeableElement). However, user attribute definitions can be used to define a set of legal values for a particular key
- * (see class UserAttributeDefinition) and user attribute element types can be used to state what attributes, i.e. keys, may or should be attached to
- * elements of certain types (cf. class UserAttributeElementType).
+ * In principle, there is no restriction which user attributes, i.e. keys, may be attached to a particular element and what strings may be used as value (cf. class UserAttributeableElement). However, user attribute definitions can be used to define a set of legal values for a particular key (see class UserAttributeDefinition) and user attribute element types can be used to state what attributes, i.e. keys, may or should be attached to elements of certain types (cf. class UserAttributeElementType).
*
* The actual value is captured in attribute 'value' and is always represented as a string.
*
* Extension:
* Class, Property
* <!-- end-model-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue#getBase_Class <em>Base Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue#getValue <em>Value</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue#getBase_Property <em>Base Property</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue#getDefinition <em>Definition</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue#getValue <em>Value</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue#getBase_Property <em>Base Property</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue#getDefinition <em>Definition</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserattributesPackage#getUserAttributeValue()
* @model
* @generated
*/
public interface UserAttributeValue extends EAElement {
-
/**
* Returns the value of the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Class</em>' reference isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Base Class</em>' reference isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @return the value of the '<em>Base Class</em>' reference.
* @see #setBase_Class(org.eclipse.uml2.uml.Class)
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserattributesPackage#getUserAttributeValue_Base_Class()
@@ -73,13 +68,10 @@ public interface UserAttributeValue extends EAElement {
org.eclipse.uml2.uml.Class getBase_Class();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue#getBase_Class <em>Base Class</em>}'
- * reference.
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue#getBase_Class <em>Base Class</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Base Class</em>' reference.
+ * @param value the new value of the '<em>Base Class</em>' reference.
* @see #getBase_Class()
* @generated
*/
@@ -89,10 +81,10 @@ public interface UserAttributeValue extends EAElement {
* Returns the value of the '<em><b>Value</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Value</em>' reference isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Value</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</em>' attribute.
* @see #setValue(String)
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserattributesPackage#getUserAttributeValue_Value()
@@ -105,10 +97,10 @@ public interface UserAttributeValue extends EAElement {
* Returns the value of the '<em><b>Definition</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Definition</em>' reference isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>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>Definition</em>' reference.
* @see #setDefinition(UserAttributeDefinition)
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserattributesPackage#getUserAttributeValue_Definition()
@@ -118,13 +110,10 @@ public interface UserAttributeValue extends EAElement {
UserAttributeDefinition getDefinition();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue#getDefinition <em>Definition</em>}'
- * reference.
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue#getDefinition <em>Definition</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Definition</em>' reference.
+ * @param value the new value of the '<em>Definition</em>' reference.
* @see #getDefinition()
* @generated
*/
@@ -134,9 +123,7 @@ public interface UserAttributeValue extends EAElement {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue#getValue <em>Value</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Value</em>' attribute.
+ * @param value the new value of the '<em>Value</em>' attribute.
* @see #getValue()
* @generated
*/
@@ -146,10 +133,10 @@ public interface UserAttributeValue extends EAElement {
* Returns the value of the '<em><b>Base Property</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Property</em>' reference isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Base Property</em>' reference isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @return the value of the '<em>Base Property</em>' reference.
* @see #setBase_Property(Property)
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserattributesPackage#getUserAttributeValue_Base_Property()
@@ -159,13 +146,10 @@ public interface UserAttributeValue extends EAElement {
Property getBase_Property();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue#getBase_Property
- * <em>Base Property</em>}' reference.
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue#getBase_Property <em>Base Property</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Base Property</em>' reference.
+ * @param value the new value of the '<em>Base Property</em>' reference.
* @see #getBase_Property()
* @generated
*/
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/UserAttributeableElement.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/UserAttributeableElement.java
index a5d532bd94f..0fbe783d378 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/UserAttributeableElement.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/UserAttributeableElement.java
@@ -23,40 +23,32 @@ import org.eclipse.uml2.uml.NamedElement;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>User Attributeable Element</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <!-- begin-model-doc -->
- * UserAttributableElement represents an element to which user attributes can be attached. This is done by way of UserAttributeValues (see association
- * 'uaValues'). What user attributes a certain element should be supplied with can be defined beforehand with UserAttributeDefinitions which are
- * organized in UserAttributeElementTypes (see association 'uaTypes').
+ * UserAttributableElement represents an element to which user attributes can be attached. This is done by way of UserAttributeValues (see association 'uaValues'). What user attributes a certain element should be supplied with can be defined beforehand with UserAttributeDefinitions which are organized in UserAttributeElementTypes (see association 'uaTypes').
*
- * IMPORTANT: It is technically possible and legal to attach any key/value pair, even if this is in conflict with the attribute definitions of the
- * UserAttributeElementTypes of this UserAttributeableElement (as defined by association 'uaTypes'). All implementations of this information model
- * must expect such attribute definition violations. The reason for this is that (1) the attribute definitions and the types they define for the
- * attributes are only meant as a guideline for working with user attributes on the modeling level, not as an implementation level type system and (2)
- * this convention avoids a multitude of intricate problems when editing a model's user attribute definitions or values, which significantly
- * simplifies implementation.
+ * IMPORTANT: It is technically possible and legal to attach any key/value pair, even if this is in conflict with the attribute definitions of the UserAttributeElementTypes of this UserAttributeableElement (as defined by association 'uaTypes'). All implementations of this information model must expect such attribute definition violations. The reason for this is that (1) the attribute definitions and the types they define for the attributes are only meant as a guideline for working with user attributes on the modeling level, not as an implementation level type system and (2) this convention avoids a multitude of intricate problems when editing a model's user attribute definitions or values, which significantly simplifies implementation.
*
*
* Extension:
* NamedElement
* <!-- end-model-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeableElement#getUaValue <em>Ua Value</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeableElement#getUaType <em>Ua Type</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeableElement#getAttributedElement <em>Attributed Element</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeableElement#getBase_NamedElement <em>Base Named Element</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeableElement#getUaValue <em>Ua Value</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeableElement#getUaType <em>Ua Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeableElement#getAttributedElement <em>Attributed Element</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeableElement#getBase_NamedElement <em>Base Named Element</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserattributesPackage#getUserAttributeableElement()
* @model
* @generated
*/
public interface UserAttributeableElement extends EObject {
-
/**
* Returns the value of the '<em><b>Ua Type</b></em>' reference list.
* The list contents are of type {@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType}.
@@ -65,10 +57,8 @@ public interface UserAttributeableElement extends EObject {
* <!-- begin-model-doc -->
* The UAElementTypes of this user attirbuteable element.
*
- * It is possible to provide more than one type. In that case, the UserAttributeDefinitions of all UAElementTypes apply. If there are several
- * attribute definitions with an identical 'key', then the corresponding user attribute will be applied only once.
+ * It is possible to provide more than one type. In that case, the UserAttributeDefinitions of all UAElementTypes apply. If there are several attribute definitions with an identical 'key', then the corresponding user attribute will be applied only once.
* <!-- end-model-doc -->
- *
* @return the value of the '<em>Ua Type</em>' reference list.
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserattributesPackage#getUserAttributeableElement_UaType()
* @model ordered="false"
@@ -80,10 +70,10 @@ public interface UserAttributeableElement extends EObject {
* Returns the value of the '<em><b>Attributed Element</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Attributed Element</em>' reference isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Attributed 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>Attributed Element</em>' reference.
* @see #setAttributedElement(NamedElement)
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserattributesPackage#getUserAttributeableElement_AttributedElement()
@@ -93,13 +83,10 @@ public interface UserAttributeableElement extends EObject {
NamedElement getAttributedElement();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeableElement#getAttributedElement
- * <em>Attributed Element</em>}' reference.
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeableElement#getAttributedElement <em>Attributed Element</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Attributed Element</em>' reference.
+ * @param value the new value of the '<em>Attributed Element</em>' reference.
* @see #getAttributedElement()
* @generated
*/
@@ -109,10 +96,10 @@ public interface UserAttributeableElement extends EObject {
* Returns the value of the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Named Element</em>' reference isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Base Named 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>Base Named Element</em>' reference.
* @see #setBase_NamedElement(NamedElement)
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserattributesPackage#getUserAttributeableElement_Base_NamedElement()
@@ -122,13 +109,10 @@ public interface UserAttributeableElement extends EObject {
NamedElement getBase_NamedElement();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeableElement#getBase_NamedElement
- * <em>Base Named Element</em>}' reference.
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeableElement#getBase_NamedElement <em>Base Named Element</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Base Named Element</em>' reference.
+ * @param value the new value of the '<em>Base Named Element</em>' reference.
* @see #getBase_NamedElement()
* @generated
*/
@@ -142,7 +126,6 @@ public interface UserAttributeableElement extends EObject {
* <!-- begin-model-doc -->
* The user attribute values, i.e. key-value pairs, which are attached to this element.
* <!-- end-model-doc -->
- *
* @return the value of the '<em>Ua Value</em>' reference list.
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserattributesPackage#getUserAttributeableElement_UaValue()
* @model ordered="false"
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/UserattributesFactory.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/UserattributesFactory.java
index 82e06642766..a0963b0add7 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/UserattributesFactory.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/UserattributesFactory.java
@@ -22,17 +22,14 @@ import org.eclipse.emf.ecore.EFactory;
* 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.papyrus.eastadl.infrastructure.userattributes.UserattributesPackage
* @generated
*/
public interface UserattributesFactory extends EFactory {
-
/**
* The singleton instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
UserattributesFactory eINSTANCE = org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserattributesFactoryImpl.init();
@@ -41,7 +38,6 @@ public interface UserattributesFactory extends EFactory {
* Returns a new object of class '<em>User Attribute Definition</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return a new object of class '<em>User Attribute Definition</em>'.
* @generated
*/
@@ -51,7 +47,6 @@ public interface UserattributesFactory extends EFactory {
* Returns a new object of class '<em>User Attributeable Element</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return a new object of class '<em>User Attributeable Element</em>'.
* @generated
*/
@@ -61,7 +56,6 @@ public interface UserattributesFactory extends EFactory {
* Returns a new object of class '<em>User Attribute Element Type</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return a new object of class '<em>User Attribute Element Type</em>'.
* @generated
*/
@@ -71,7 +65,6 @@ public interface UserattributesFactory extends EFactory {
* Returns a new object of class '<em>User Attribute Value</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return a new object of class '<em>User Attribute Value</em>'.
* @generated
*/
@@ -81,7 +74,6 @@ public interface UserattributesFactory extends EFactory {
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the package supported by this factory.
* @generated
*/
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/UserattributesPackage.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/UserattributesPackage.java
index 4a1525bdc53..953adb50553 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/UserattributesPackage.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/UserattributesPackage.java
@@ -27,68 +27,43 @@ import org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage;
* 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>
+ * <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 -->
* <!-- begin-model-doc -->
- * User attributes in EAST-ADL2 are primarily intended to provide a mechanism for augmenting the elements of an EAST-ADL2 model with customized
- * meta-information. All instances of metaclass ADLEntity can have user attributes attached to them. The scope and structuring of this
- * meta-information can be defined on a per-project basis by defining user attributes for certain types of EAST-ADL2 elements within UATemplates.
- * Since EAST-ADL2 requirements are in their most general form simple objects with all information contained in user-customized, project-specific
- * attributes, the concept of user attributes is also perfectly suitable to define those attributes of requirements. In that sense, basic requirements
- * in EAST-ADL2 can be seen as "empty" elements which only provide a node to which user attributes can be attached in order to supply the requirement
- * with all necessary information, including its main textual description. However, in case of requirements the context in which the available user
- * attributes are defined is different: here the container of the requirements is the point where user attribute definitions are store and these are
- * then applicable only within this container.
- * The role of user attributes within the overall EAST-ADL2 is thus twofold: they (1) provide a means to customize the language to specific company
- * and project needs and (2) constitute an important part of the requirements support of the language.
- * The mechanism of user attributes was optimized for flexibility and simplicity. In particular, the actual attributes attached to an element and/or
- * their values may well conflict the attribute definitions in effect for this element. For example, it is perfectly legal to not provide an attribute
- * value if an attribute definition was specified or, the other way round, to provide a value for an undefined attribute. The attribute definitions
- * are merely meant as a guideline for the engineer and as a basis for optionally checking if all attribute values are correct with respect to
- * attribute definitions (by way of appropriate tool support). With this conception of attribute values and definitions, many intricacies and
- * difficult situations during the creation and evolution of a model are circumvented and complex interdependencies between parts of the model are
- * avoided. For example, it is made sure that a model and all its user attribute values can be safely viewed and edited even if the attribute
- * definitions (i.e. UATemplates) for the model are temporarily unavailable or permanently lost.
+ * User attributes in EAST-ADL2 are primarily intended to provide a mechanism for augmenting the elements of an EAST-ADL2 model with customized meta-information. All instances of metaclass ADLEntity can have user attributes attached to them. The scope and structuring of this meta-information can be defined on a per-project basis by defining user attributes for certain types of EAST-ADL2 elements within UATemplates.
+ * Since EAST-ADL2 requirements are in their most general form simple objects with all information contained in user-customized, project-specific attributes, the concept of user attributes is also perfectly suitable to define those attributes of requirements. In that sense, basic requirements in EAST-ADL2 can be seen as "empty" elements which only provide a node to which user attributes can be attached in order to supply the requirement with all necessary information, including its main textual description. However, in case of requirements the context in which the available user attributes are defined is different: here the container of the requirements is the point where user attribute definitions are store and these are then applicable only within this container.
+ * The role of user attributes within the overall EAST-ADL2 is thus twofold: they (1) provide a means to customize the language to specific company and project needs and (2) constitute an important part of the requirements support of the language.
+ * The mechanism of user attributes was optimized for flexibility and simplicity. In particular, the actual attributes attached to an element and/or their values may well conflict the attribute definitions in effect for this element. For example, it is perfectly legal to not provide an attribute value if an attribute definition was specified or, the other way round, to provide a value for an undefined attribute. The attribute definitions are merely meant as a guideline for the engineer and as a basis for optionally checking if all attribute values are correct with respect to attribute definitions (by way of appropriate tool support). With this conception of attribute values and definitions, many intricacies and difficult situations during the creation and evolution of a model are circumvented and complex interdependencies between parts of the model are avoided. For example, it is made sure that a model and all its user attribute values can be safely viewed and edited even if the attribute definitions (i.e. UATemplates) for the model are temporarily unavailable or permanently lost.
*
* Overview:
- * The stereotypes defined in this subprofile provide a set of constructs to help user define their own attributes. The core construct in EAST-ADL2,
- * the ADLEntity, inherits from UserAttributableElement stereotype so that virtually any types of EAST-ADL2 entities might be enhanced with
- * user-defined attributes. Of course in a UML model one is allowed to add attributes to the classes and UML elements on which stereotypes are
- * applied, yet this mechanism enables to distinguish between attributes meant to be interpreted as compliant with EASt-ADL2 language and other if
- * any.
+ * The stereotypes defined in this subprofile provide a set of constructs to help user define their own attributes. The core construct in EAST-ADL2, the ADLEntity, inherits from UserAttributableElement stereotype so that virtually any types of EAST-ADL2 entities might be enhanced with user-defined attributes. Of course in a UML model one is allowed to add attributes to the classes and UML elements on which stereotypes are applied, yet this mechanism enables to distinguish between attributes meant to be interpreted as compliant with EASt-ADL2 language and other if any.
* <!-- end-model-doc -->
- *
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserattributesFactory
* @model kind="package"
* @generated
*/
public interface UserattributesPackage extends EPackage {
-
/**
* <!-- 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>
+ * <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.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeElementTypeImpl
- * <em>User Attribute Element Type</em>}' class.
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeElementTypeImpl <em>User Attribute Element Type</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeElementTypeImpl
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserattributesPackageImpl#getUserAttributeElementType()
* @generated
@@ -99,7 +74,6 @@ public interface UserattributesPackage extends EPackage {
* The meta object literal for the '<em><b>Extended Element Type</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
EReference USER_ATTRIBUTE_ELEMENT_TYPE__EXTENDED_ELEMENT_TYPE = eINSTANCE.getUserAttributeElementType_ExtendedElementType();
@@ -108,7 +82,6 @@ public interface UserattributesPackage extends EPackage {
* The meta object literal for the '<em><b>Attribute</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
EReference USER_ATTRIBUTE_ELEMENT_TYPE__ATTRIBUTE = eINSTANCE.getUserAttributeElementType_Attribute();
@@ -117,7 +90,6 @@ public interface UserattributesPackage extends EPackage {
* The meta object literal for the '<em><b>Base Class</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
EReference USER_ATTRIBUTE_ELEMENT_TYPE__BASE_CLASS = eINSTANCE.getUserAttributeElementType_Base_Class();
@@ -126,17 +98,14 @@ public interface UserattributesPackage extends EPackage {
* The meta object literal for the '<em><b>Valid For</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
EAttribute USER_ATTRIBUTE_ELEMENT_TYPE__VALID_FOR = eINSTANCE.getUserAttributeElementType_ValidFor();
/**
- * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeDefinitionImpl
- * <em>User Attribute Definition</em>}' class.
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeDefinitionImpl <em>User Attribute Definition</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeDefinitionImpl
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserattributesPackageImpl#getUserAttributeDefinition()
* @generated
@@ -147,7 +116,6 @@ public interface UserattributesPackage extends EPackage {
* The meta object literal for the '<em><b>Base Property</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
EReference USER_ATTRIBUTE_DEFINITION__BASE_PROPERTY = eINSTANCE.getUserAttributeDefinition_Base_Property();
@@ -156,7 +124,6 @@ public interface UserattributesPackage extends EPackage {
* The meta object literal for the '<em><b>Base Class</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
EReference USER_ATTRIBUTE_DEFINITION__BASE_CLASS = eINSTANCE.getUserAttributeDefinition_Base_Class();
@@ -165,7 +132,6 @@ public interface UserattributesPackage extends EPackage {
* The meta object literal for the '<em><b>Default Value</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
EAttribute USER_ATTRIBUTE_DEFINITION__DEFAULT_VALUE = eINSTANCE.getUserAttributeDefinition_DefaultValue();
@@ -174,17 +140,14 @@ public interface UserattributesPackage extends EPackage {
* The meta object literal for the '<em><b>Type</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
EReference USER_ATTRIBUTE_DEFINITION__TYPE = eINSTANCE.getUserAttributeDefinition_Type();
/**
- * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeableElementImpl
- * <em>User Attributeable Element</em>}' class.
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeableElementImpl <em>User Attributeable Element</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeableElementImpl
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserattributesPackageImpl#getUserAttributeableElement()
* @generated
@@ -195,7 +158,6 @@ public interface UserattributesPackage extends EPackage {
* The meta object literal for the '<em><b>Ua Value</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
EReference USER_ATTRIBUTEABLE_ELEMENT__UA_VALUE = eINSTANCE.getUserAttributeableElement_UaValue();
@@ -204,7 +166,6 @@ public interface UserattributesPackage extends EPackage {
* The meta object literal for the '<em><b>Ua Type</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
EReference USER_ATTRIBUTEABLE_ELEMENT__UA_TYPE = eINSTANCE.getUserAttributeableElement_UaType();
@@ -213,7 +174,6 @@ public interface UserattributesPackage extends EPackage {
* The meta object literal for the '<em><b>Attributed Element</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
EReference USER_ATTRIBUTEABLE_ELEMENT__ATTRIBUTED_ELEMENT = eINSTANCE.getUserAttributeableElement_AttributedElement();
@@ -222,17 +182,14 @@ public interface UserattributesPackage extends EPackage {
* The meta object literal for the '<em><b>Base Named Element</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
EReference USER_ATTRIBUTEABLE_ELEMENT__BASE_NAMED_ELEMENT = eINSTANCE.getUserAttributeableElement_Base_NamedElement();
/**
- * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeValueImpl
- * <em>User Attribute Value</em>}' class.
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeValueImpl <em>User Attribute Value</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeValueImpl
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserattributesPackageImpl#getUserAttributeValue()
* @generated
@@ -243,7 +200,6 @@ public interface UserattributesPackage extends EPackage {
* The meta object literal for the '<em><b>Base Class</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
EReference USER_ATTRIBUTE_VALUE__BASE_CLASS = eINSTANCE.getUserAttributeValue_Base_Class();
@@ -252,7 +208,6 @@ public interface UserattributesPackage extends EPackage {
* The meta object literal for the '<em><b>Value</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
EAttribute USER_ATTRIBUTE_VALUE__VALUE = eINSTANCE.getUserAttributeValue_Value();
@@ -261,7 +216,6 @@ public interface UserattributesPackage extends EPackage {
* The meta object literal for the '<em><b>Base Property</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
EReference USER_ATTRIBUTE_VALUE__BASE_PROPERTY = eINSTANCE.getUserAttributeValue_Base_Property();
@@ -270,7 +224,6 @@ public interface UserattributesPackage extends EPackage {
* The meta object literal for the '<em><b>Definition</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
EReference USER_ATTRIBUTE_VALUE__DEFINITION = eINSTANCE.getUserAttributeValue_Definition();
@@ -281,7 +234,6 @@ public interface UserattributesPackage extends EPackage {
* The package name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
String eNAME = "userattributes";
@@ -290,7 +242,6 @@ public interface UserattributesPackage extends EPackage {
* The package namespace URI.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
String eNS_URI = "http://www.papyrusuml.org/EAST-ADL2/Infrastructure/UserAttributes/1";
@@ -299,7 +250,6 @@ public interface UserattributesPackage extends EPackage {
* The package namespace name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
String eNS_PREFIX = "UserAttributes";
@@ -308,17 +258,14 @@ public interface UserattributesPackage extends EPackage {
* The singleton instance of the package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
UserattributesPackage eINSTANCE = org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserattributesPackageImpl.init();
/**
- * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeableElementImpl
- * <em>User Attributeable Element</em>}' class.
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeableElementImpl <em>User Attributeable Element</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeableElementImpl
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserattributesPackageImpl#getUserAttributeableElement()
* @generated
@@ -326,11 +273,9 @@ public interface UserattributesPackage extends EPackage {
int USER_ATTRIBUTEABLE_ELEMENT = 2;
/**
- * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeElementTypeImpl
- * <em>User Attribute Element Type</em>}' class.
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeElementTypeImpl <em>User Attribute Element Type</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeElementTypeImpl
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserattributesPackageImpl#getUserAttributeElementType()
* @generated
@@ -338,11 +283,9 @@ public interface UserattributesPackage extends EPackage {
int USER_ATTRIBUTE_ELEMENT_TYPE = 0;
/**
- * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeDefinitionImpl
- * <em>User Attribute Definition</em>}' class.
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeDefinitionImpl <em>User Attribute Definition</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeDefinitionImpl
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserattributesPackageImpl#getUserAttributeDefinition()
* @generated
@@ -350,11 +293,9 @@ public interface UserattributesPackage extends EPackage {
int USER_ATTRIBUTE_DEFINITION = 1;
/**
- * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeValueImpl
- * <em>User Attribute Value</em>}' class.
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeValueImpl <em>User Attribute Value</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeValueImpl
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserattributesPackageImpl#getUserAttributeValue()
* @generated
@@ -362,30 +303,27 @@ public interface UserattributesPackage extends EPackage {
int USER_ATTRIBUTE_VALUE = 3;
/**
- * The feature id for the '<em><b>Name</b></em>' attribute.
+ * The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int USER_ATTRIBUTE_ELEMENT_TYPE__NAME = ElementsPackage.EA_ELEMENT__NAME;
+ int USER_ATTRIBUTE_ELEMENT_TYPE__BASE_NAMED_ELEMENT = ElementsPackage.EA_ELEMENT__BASE_NAMED_ELEMENT;
/**
- * The feature id for the '<em><b>Base Named Element</b></em>' reference.
+ * The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int USER_ATTRIBUTE_ELEMENT_TYPE__BASE_NAMED_ELEMENT = ElementsPackage.EA_ELEMENT__BASE_NAMED_ELEMENT;
+ int USER_ATTRIBUTE_ELEMENT_TYPE__NAME = ElementsPackage.EA_ELEMENT__NAME;
/**
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -395,7 +333,6 @@ public interface UserattributesPackage extends EPackage {
* The feature id for the '<em><b>Extended Element Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -405,7 +342,6 @@ public interface UserattributesPackage extends EPackage {
* The feature id for the '<em><b>Attribute</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -415,7 +351,6 @@ public interface UserattributesPackage extends EPackage {
* The feature id for the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -425,7 +360,6 @@ public interface UserattributesPackage extends EPackage {
* The feature id for the '<em><b>Valid For</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -435,37 +369,42 @@ public interface UserattributesPackage extends EPackage {
* The number of structural features of the '<em>User Attribute Element Type</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int USER_ATTRIBUTE_ELEMENT_TYPE_FEATURE_COUNT = ElementsPackage.EA_ELEMENT_FEATURE_COUNT + 4;
/**
- * The feature id for the '<em><b>Name</b></em>' attribute.
+ * The number of operations of the '<em>User Attribute Element Type</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int USER_ATTRIBUTE_DEFINITION__NAME = ElementsPackage.EA_ELEMENT__NAME;
+ int USER_ATTRIBUTE_ELEMENT_TYPE_OPERATION_COUNT = ElementsPackage.EA_ELEMENT_OPERATION_COUNT + 0;
/**
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int USER_ATTRIBUTE_DEFINITION__BASE_NAMED_ELEMENT = ElementsPackage.EA_ELEMENT__BASE_NAMED_ELEMENT;
/**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USER_ATTRIBUTE_DEFINITION__NAME = ElementsPackage.EA_ELEMENT__NAME;
+
+ /**
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -475,7 +414,6 @@ public interface UserattributesPackage extends EPackage {
* The feature id for the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -485,7 +423,6 @@ public interface UserattributesPackage extends EPackage {
* The feature id for the '<em><b>Default Value</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -495,7 +432,6 @@ public interface UserattributesPackage extends EPackage {
* The feature id for the '<em><b>Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -505,7 +441,6 @@ public interface UserattributesPackage extends EPackage {
* The feature id for the '<em><b>Base Property</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -515,17 +450,24 @@ public interface UserattributesPackage extends EPackage {
* The number of structural features of the '<em>User Attribute Definition</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int USER_ATTRIBUTE_DEFINITION_FEATURE_COUNT = ElementsPackage.EA_ELEMENT_FEATURE_COUNT + 4;
/**
+ * The number of operations of the '<em>User Attribute Definition</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USER_ATTRIBUTE_DEFINITION_OPERATION_COUNT = ElementsPackage.EA_ELEMENT_OPERATION_COUNT + 0;
+
+ /**
* The feature id for the '<em><b>Ua Value</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -535,7 +477,6 @@ public interface UserattributesPackage extends EPackage {
* The feature id for the '<em><b>Ua Type</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -545,7 +486,6 @@ public interface UserattributesPackage extends EPackage {
* The feature id for the '<em><b>Attributed Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -555,7 +495,6 @@ public interface UserattributesPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -565,37 +504,42 @@ public interface UserattributesPackage extends EPackage {
* The number of structural features of the '<em>User Attributeable Element</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int USER_ATTRIBUTEABLE_ELEMENT_FEATURE_COUNT = 4;
/**
- * The feature id for the '<em><b>Name</b></em>' attribute.
+ * The number of operations of the '<em>User Attributeable Element</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int USER_ATTRIBUTE_VALUE__NAME = ElementsPackage.EA_ELEMENT__NAME;
+ int USER_ATTRIBUTEABLE_ELEMENT_OPERATION_COUNT = 0;
/**
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int USER_ATTRIBUTE_VALUE__BASE_NAMED_ELEMENT = ElementsPackage.EA_ELEMENT__BASE_NAMED_ELEMENT;
/**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USER_ATTRIBUTE_VALUE__NAME = ElementsPackage.EA_ELEMENT__NAME;
+
+ /**
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -605,7 +549,6 @@ public interface UserattributesPackage extends EPackage {
* The feature id for the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -615,7 +558,6 @@ public interface UserattributesPackage extends EPackage {
* The feature id for the '<em><b>Value</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -625,7 +567,6 @@ public interface UserattributesPackage extends EPackage {
* The feature id for the '<em><b>Base Property</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -635,7 +576,6 @@ public interface UserattributesPackage extends EPackage {
* The feature id for the '<em><b>Definition</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -645,18 +585,24 @@ public interface UserattributesPackage extends EPackage {
* The number of structural features of the '<em>User Attribute Value</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int USER_ATTRIBUTE_VALUE_FEATURE_COUNT = ElementsPackage.EA_ELEMENT_FEATURE_COUNT + 4;
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeableElement
- * <em>User Attributeable Element</em>}'.
+ * The number of operations of the '<em>User Attribute Value</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USER_ATTRIBUTE_VALUE_OPERATION_COUNT = ElementsPackage.EA_ELEMENT_OPERATION_COUNT + 0;
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeableElement <em>User Attributeable Element</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for class '<em>User Attributeable Element</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeableElement
* @generated
@@ -664,11 +610,9 @@ public interface UserattributesPackage extends EPackage {
EClass getUserAttributeableElement();
/**
- * Returns the meta object for the reference list '
- * {@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeableElement#getUaType <em>Ua Type</em>}'.
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeableElement#getUaType <em>Ua Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the reference list '<em>Ua Type</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeableElement#getUaType()
* @see #getUserAttributeableElement()
@@ -677,11 +621,9 @@ public interface UserattributesPackage extends EPackage {
EReference getUserAttributeableElement_UaType();
/**
- * Returns the meta object for the reference '
- * {@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeableElement#getAttributedElement <em>Attributed Element</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeableElement#getAttributedElement <em>Attributed Element</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the reference '<em>Attributed Element</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeableElement#getAttributedElement()
* @see #getUserAttributeableElement()
@@ -690,11 +632,9 @@ public interface UserattributesPackage extends EPackage {
EReference getUserAttributeableElement_AttributedElement();
/**
- * Returns the meta object for the reference '
- * {@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeableElement#getBase_NamedElement <em>Base Named Element</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeableElement#getBase_NamedElement <em>Base Named Element</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the reference '<em>Base Named Element</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeableElement#getBase_NamedElement()
* @see #getUserAttributeableElement()
@@ -703,11 +643,9 @@ public interface UserattributesPackage extends EPackage {
EReference getUserAttributeableElement_Base_NamedElement();
/**
- * Returns the meta object for the reference list '
- * {@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeableElement#getUaValue <em>Ua Value</em>}'.
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeableElement#getUaValue <em>Ua Value</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the reference list '<em>Ua Value</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeableElement#getUaValue()
* @see #getUserAttributeableElement()
@@ -716,11 +654,9 @@ public interface UserattributesPackage extends EPackage {
EReference getUserAttributeableElement_UaValue();
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition
- * <em>User Attribute Definition</em>}'.
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition <em>User Attribute Definition</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for class '<em>User Attribute Definition</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition
* @generated
@@ -728,11 +664,9 @@ public interface UserattributesPackage extends EPackage {
EClass getUserAttributeDefinition();
/**
- * Returns the meta object for the reference '
- * {@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition#getBase_Class <em>Base Class</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition#getBase_Class <em>Base Class</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the reference '<em>Base Class</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition#getBase_Class()
* @see #getUserAttributeDefinition()
@@ -741,11 +675,9 @@ public interface UserattributesPackage extends EPackage {
EReference getUserAttributeDefinition_Base_Class();
/**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition#getDefaultValue <em>Default Value</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition#getDefaultValue <em>Default Value</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the attribute '<em>Default Value</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition#getDefaultValue()
* @see #getUserAttributeDefinition()
@@ -754,11 +686,9 @@ public interface UserattributesPackage extends EPackage {
EAttribute getUserAttributeDefinition_DefaultValue();
/**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition#getType
- * <em>Type</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition#getType <em>Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the reference '<em>Type</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition#getType()
* @see #getUserAttributeDefinition()
@@ -767,11 +697,9 @@ public interface UserattributesPackage extends EPackage {
EReference getUserAttributeDefinition_Type();
/**
- * Returns the meta object for the reference '
- * {@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition#getBase_Property <em>Base Property</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition#getBase_Property <em>Base Property</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the reference '<em>Base Property</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition#getBase_Property()
* @see #getUserAttributeDefinition()
@@ -780,11 +708,9 @@ public interface UserattributesPackage extends EPackage {
EReference getUserAttributeDefinition_Base_Property();
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType
- * <em>User Attribute Element Type</em>}'.
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType <em>User Attribute Element Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for class '<em>User Attribute Element Type</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType
* @generated
@@ -792,11 +718,9 @@ public interface UserattributesPackage extends EPackage {
EClass getUserAttributeElementType();
/**
- * Returns the meta object for the reference list '
- * {@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType#getAttribute <em>Attribute</em>}'.
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType#getAttribute <em>Attribute</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the reference list '<em>Attribute</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType#getAttribute()
* @see #getUserAttributeElementType()
@@ -805,11 +729,9 @@ public interface UserattributesPackage extends EPackage {
EReference getUserAttributeElementType_Attribute();
/**
- * Returns the meta object for the reference '
- * {@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType#getBase_Class <em>Base Class</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType#getBase_Class <em>Base Class</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the reference '<em>Base Class</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType#getBase_Class()
* @see #getUserAttributeElementType()
@@ -818,12 +740,9 @@ public interface UserattributesPackage extends EPackage {
EReference getUserAttributeElementType_Base_Class();
/**
- * Returns the meta object for the reference '
- * {@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType#getExtendedElementType
- * <em>Extended Element Type</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType#getExtendedElementType <em>Extended Element Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the reference '<em>Extended Element Type</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType#getExtendedElementType()
* @see #getUserAttributeElementType()
@@ -832,11 +751,9 @@ public interface UserattributesPackage extends EPackage {
EReference getUserAttributeElementType_ExtendedElementType();
/**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType#getValidFor <em>Valid For</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType#getValidFor <em>Valid For</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the attribute '<em>Valid For</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType#getValidFor()
* @see #getUserAttributeElementType()
@@ -848,18 +765,15 @@ public interface UserattributesPackage extends EPackage {
* 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
*/
UserattributesFactory getUserattributesFactory();
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue
- * <em>User Attribute Value</em>}'.
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue <em>User Attribute Value</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for class '<em>User Attribute Value</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue
* @generated
@@ -867,11 +781,9 @@ public interface UserattributesPackage extends EPackage {
EClass getUserAttributeValue();
/**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue#getBase_Class
- * <em>Base Class</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue#getBase_Class <em>Base Class</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the reference '<em>Base Class</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue#getBase_Class()
* @see #getUserAttributeValue()
@@ -880,11 +792,9 @@ public interface UserattributesPackage extends EPackage {
EReference getUserAttributeValue_Base_Class();
/**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue#getDefinition
- * <em>Definition</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue#getDefinition <em>Definition</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the reference '<em>Definition</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue#getDefinition()
* @see #getUserAttributeValue()
@@ -893,11 +803,9 @@ public interface UserattributesPackage extends EPackage {
EReference getUserAttributeValue_Definition();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue#getValue
- * <em>Value</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue#getValue <em>Value</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the attribute '<em>Value</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue#getValue()
* @see #getUserAttributeValue()
@@ -906,11 +814,9 @@ public interface UserattributesPackage extends EPackage {
EAttribute getUserAttributeValue_Value();
/**
- * Returns the meta object for the reference '
- * {@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue#getBase_Property <em>Base Property</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue#getBase_Property <em>Base Property</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the reference '<em>Base Property</em>'.
* @see org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue#getBase_Property()
* @see #getUserAttributeValue()
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/impl/UserAttributeDefinitionImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/impl/UserAttributeDefinitionImpl.java
index 67aea77ef9c..42f6fb8f582 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/impl/UserAttributeDefinitionImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/impl/UserAttributeDefinitionImpl.java
@@ -33,22 +33,20 @@ import org.eclipse.uml2.uml.Property;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeDefinitionImpl#getBase_Class <em>Base Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeDefinitionImpl#getDefaultValue <em>Default Value</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeDefinitionImpl#getType <em>Type</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeDefinitionImpl#getBase_Property <em>Base Property</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeDefinitionImpl#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeDefinitionImpl#getDefaultValue <em>Default Value</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeDefinitionImpl#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeDefinitionImpl#getBase_Property <em>Base Property</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class UserAttributeDefinitionImpl extends EAElementImpl implements UserAttributeDefinition {
-
/**
* The cached value of the '{@link #getBase_Class() <em>Base Class</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getBase_Class()
* @generated
* @ordered
@@ -59,7 +57,6 @@ public class UserAttributeDefinitionImpl extends EAElementImpl implements UserAt
* The default value of the '{@link #getDefaultValue() <em>Default Value</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getDefaultValue()
* @generated
* @ordered
@@ -70,7 +67,6 @@ public class UserAttributeDefinitionImpl extends EAElementImpl implements UserAt
* The cached value of the '{@link #getDefaultValue() <em>Default Value</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getDefaultValue()
* @generated
* @ordered
@@ -81,7 +77,6 @@ public class UserAttributeDefinitionImpl extends EAElementImpl implements UserAt
* The cached value of the '{@link #getType() <em>Type</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getType()
* @generated
* @ordered
@@ -92,7 +87,6 @@ public class UserAttributeDefinitionImpl extends EAElementImpl implements UserAt
* The cached value of the '{@link #getBase_Property() <em>Base Property</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getBase_Property()
* @generated
* @ordered
@@ -102,7 +96,6 @@ public class UserAttributeDefinitionImpl extends EAElementImpl implements UserAt
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected UserAttributeDefinitionImpl() {
@@ -112,26 +105,22 @@ public class UserAttributeDefinitionImpl extends EAElementImpl implements UserAt
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case UserattributesPackage.USER_ATTRIBUTE_DEFINITION__BASE_CLASS:
- if(resolve)
- return getBase_Class();
- return basicGetBase_Class();
- case UserattributesPackage.USER_ATTRIBUTE_DEFINITION__DEFAULT_VALUE:
- return getDefaultValue();
- case UserattributesPackage.USER_ATTRIBUTE_DEFINITION__TYPE:
- if(resolve)
- return getType();
- return basicGetType();
- case UserattributesPackage.USER_ATTRIBUTE_DEFINITION__BASE_PROPERTY:
- if(resolve)
- return getBase_Property();
- return basicGetBase_Property();
+ switch (featureID) {
+ case UserattributesPackage.USER_ATTRIBUTE_DEFINITION__BASE_CLASS:
+ if (resolve) return getBase_Class();
+ return basicGetBase_Class();
+ case UserattributesPackage.USER_ATTRIBUTE_DEFINITION__DEFAULT_VALUE:
+ return getDefaultValue();
+ case UserattributesPackage.USER_ATTRIBUTE_DEFINITION__TYPE:
+ if (resolve) return getType();
+ return basicGetType();
+ case UserattributesPackage.USER_ATTRIBUTE_DEFINITION__BASE_PROPERTY:
+ if (resolve) return getBase_Property();
+ return basicGetBase_Property();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -139,20 +128,19 @@ public class UserAttributeDefinitionImpl extends EAElementImpl implements UserAt
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
- case UserattributesPackage.USER_ATTRIBUTE_DEFINITION__BASE_CLASS:
- return base_Class != null;
- case UserattributesPackage.USER_ATTRIBUTE_DEFINITION__DEFAULT_VALUE:
- return DEFAULT_VALUE_EDEFAULT == null ? defaultValue != null : !DEFAULT_VALUE_EDEFAULT.equals(defaultValue);
- case UserattributesPackage.USER_ATTRIBUTE_DEFINITION__TYPE:
- return type != null;
- case UserattributesPackage.USER_ATTRIBUTE_DEFINITION__BASE_PROPERTY:
- return base_Property != null;
+ switch (featureID) {
+ case UserattributesPackage.USER_ATTRIBUTE_DEFINITION__BASE_CLASS:
+ return base_Class != null;
+ case UserattributesPackage.USER_ATTRIBUTE_DEFINITION__DEFAULT_VALUE:
+ return DEFAULT_VALUE_EDEFAULT == null ? defaultValue != null : !DEFAULT_VALUE_EDEFAULT.equals(defaultValue);
+ case UserattributesPackage.USER_ATTRIBUTE_DEFINITION__TYPE:
+ return type != null;
+ case UserattributesPackage.USER_ATTRIBUTE_DEFINITION__BASE_PROPERTY:
+ return base_Property != null;
}
return super.eIsSet(featureID);
}
@@ -160,24 +148,23 @@ public class UserAttributeDefinitionImpl extends EAElementImpl implements UserAt
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case UserattributesPackage.USER_ATTRIBUTE_DEFINITION__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)newValue);
- return;
- case UserattributesPackage.USER_ATTRIBUTE_DEFINITION__DEFAULT_VALUE:
- setDefaultValue((String)newValue);
- return;
- case UserattributesPackage.USER_ATTRIBUTE_DEFINITION__TYPE:
- setType((EADatatype)newValue);
- return;
- case UserattributesPackage.USER_ATTRIBUTE_DEFINITION__BASE_PROPERTY:
- setBase_Property((Property)newValue);
- return;
+ switch (featureID) {
+ case UserattributesPackage.USER_ATTRIBUTE_DEFINITION__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class)newValue);
+ return;
+ case UserattributesPackage.USER_ATTRIBUTE_DEFINITION__DEFAULT_VALUE:
+ setDefaultValue((String)newValue);
+ return;
+ case UserattributesPackage.USER_ATTRIBUTE_DEFINITION__TYPE:
+ setType((EADatatype)newValue);
+ return;
+ case UserattributesPackage.USER_ATTRIBUTE_DEFINITION__BASE_PROPERTY:
+ setBase_Property((Property)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -185,7 +172,6 @@ public class UserAttributeDefinitionImpl extends EAElementImpl implements UserAt
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -196,15 +182,14 @@ public class UserAttributeDefinitionImpl extends EAElementImpl implements UserAt
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public org.eclipse.uml2.uml.Class getBase_Class() {
- if(base_Class != null && base_Class.eIsProxy()) {
+ if (base_Class != null && base_Class.eIsProxy()) {
InternalEObject oldBase_Class = (InternalEObject)base_Class;
base_Class = (org.eclipse.uml2.uml.Class)eResolveProxy(oldBase_Class);
- if(base_Class != oldBase_Class) {
- if(eNotificationRequired())
+ if (base_Class != oldBase_Class) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE, UserattributesPackage.USER_ATTRIBUTE_DEFINITION__BASE_CLASS, oldBase_Class, base_Class));
}
}
@@ -214,7 +199,6 @@ public class UserAttributeDefinitionImpl extends EAElementImpl implements UserAt
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public org.eclipse.uml2.uml.Class basicGetBase_Class() {
@@ -224,37 +208,35 @@ public class UserAttributeDefinitionImpl extends EAElementImpl implements UserAt
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public void setBase_Class(org.eclipse.uml2.uml.Class newBase_Class) {
org.eclipse.uml2.uml.Class oldBase_Class = base_Class;
base_Class = newBase_Class;
- if(eNotificationRequired())
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, UserattributesPackage.USER_ATTRIBUTE_DEFINITION__BASE_CLASS, oldBase_Class, base_Class));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
- case UserattributesPackage.USER_ATTRIBUTE_DEFINITION__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)null);
- return;
- case UserattributesPackage.USER_ATTRIBUTE_DEFINITION__DEFAULT_VALUE:
- setDefaultValue(DEFAULT_VALUE_EDEFAULT);
- return;
- case UserattributesPackage.USER_ATTRIBUTE_DEFINITION__TYPE:
- setType((EADatatype)null);
- return;
- case UserattributesPackage.USER_ATTRIBUTE_DEFINITION__BASE_PROPERTY:
- setBase_Property((Property)null);
- return;
+ switch (featureID) {
+ case UserattributesPackage.USER_ATTRIBUTE_DEFINITION__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class)null);
+ return;
+ case UserattributesPackage.USER_ATTRIBUTE_DEFINITION__DEFAULT_VALUE:
+ setDefaultValue(DEFAULT_VALUE_EDEFAULT);
+ return;
+ case UserattributesPackage.USER_ATTRIBUTE_DEFINITION__TYPE:
+ setType((EADatatype)null);
+ return;
+ case UserattributesPackage.USER_ATTRIBUTE_DEFINITION__BASE_PROPERTY:
+ setBase_Property((Property)null);
+ return;
}
super.eUnset(featureID);
}
@@ -262,7 +244,6 @@ public class UserAttributeDefinitionImpl extends EAElementImpl implements UserAt
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public String getDefaultValue() {
@@ -272,28 +253,26 @@ public class UserAttributeDefinitionImpl extends EAElementImpl implements UserAt
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public void setDefaultValue(String newDefaultValue) {
String oldDefaultValue = defaultValue;
defaultValue = newDefaultValue;
- if(eNotificationRequired())
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, UserattributesPackage.USER_ATTRIBUTE_DEFINITION__DEFAULT_VALUE, oldDefaultValue, defaultValue));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EADatatype getType() {
- if(type != null && type.eIsProxy()) {
+ if (type != null && type.eIsProxy()) {
InternalEObject oldType = (InternalEObject)type;
type = (EADatatype)eResolveProxy(oldType);
- if(type != oldType) {
- if(eNotificationRequired())
+ if (type != oldType) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE, UserattributesPackage.USER_ATTRIBUTE_DEFINITION__TYPE, oldType, type));
}
}
@@ -303,7 +282,6 @@ public class UserAttributeDefinitionImpl extends EAElementImpl implements UserAt
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EADatatype basicGetType() {
@@ -313,28 +291,26 @@ public class UserAttributeDefinitionImpl extends EAElementImpl implements UserAt
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public void setType(EADatatype newType) {
EADatatype oldType = type;
type = newType;
- if(eNotificationRequired())
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, UserattributesPackage.USER_ATTRIBUTE_DEFINITION__TYPE, oldType, type));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public Property getBase_Property() {
- if(base_Property != null && base_Property.eIsProxy()) {
+ if (base_Property != null && base_Property.eIsProxy()) {
InternalEObject oldBase_Property = (InternalEObject)base_Property;
base_Property = (Property)eResolveProxy(oldBase_Property);
- if(base_Property != oldBase_Property) {
- if(eNotificationRequired())
+ if (base_Property != oldBase_Property) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE, UserattributesPackage.USER_ATTRIBUTE_DEFINITION__BASE_PROPERTY, oldBase_Property, base_Property));
}
}
@@ -344,7 +320,6 @@ public class UserAttributeDefinitionImpl extends EAElementImpl implements UserAt
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public Property basicGetBase_Property() {
@@ -354,26 +329,23 @@ public class UserAttributeDefinitionImpl extends EAElementImpl implements UserAt
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public void setBase_Property(Property newBase_Property) {
Property oldBase_Property = base_Property;
base_Property = newBase_Property;
- if(eNotificationRequired())
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, UserattributesPackage.USER_ATTRIBUTE_DEFINITION__BASE_PROPERTY, oldBase_Property, base_Property));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
- return super.toString();
+ if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (defaultValue: ");
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/impl/UserAttributeElementTypeImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/impl/UserAttributeElementTypeImpl.java
index 7dd2f25b22a..eeab692e75c 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/impl/UserAttributeElementTypeImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/impl/UserAttributeElementTypeImpl.java
@@ -36,23 +36,20 @@ import org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserattributesP
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeElementTypeImpl#getExtendedElementType <em>Extended Element
- * Type</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeElementTypeImpl#getAttribute <em>Attribute</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeElementTypeImpl#getBase_Class <em>Base Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeElementTypeImpl#getValidFor <em>Valid For</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeElementTypeImpl#getExtendedElementType <em>Extended Element Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeElementTypeImpl#getAttribute <em>Attribute</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeElementTypeImpl#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeElementTypeImpl#getValidFor <em>Valid For</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class UserAttributeElementTypeImpl extends EAElementImpl implements UserAttributeElementType {
-
/**
* The cached value of the '{@link #getExtendedElementType() <em>Extended Element Type</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getExtendedElementType()
* @generated
* @ordered
@@ -63,7 +60,6 @@ public class UserAttributeElementTypeImpl extends EAElementImpl implements UserA
* The cached value of the '{@link #getAttribute() <em>Attribute</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getAttribute()
* @generated
* @ordered
@@ -74,7 +70,6 @@ public class UserAttributeElementTypeImpl extends EAElementImpl implements UserA
* The cached value of the '{@link #getBase_Class() <em>Base Class</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getBase_Class()
* @generated
* @ordered
@@ -85,7 +80,6 @@ public class UserAttributeElementTypeImpl extends EAElementImpl implements UserA
* The default value of the '{@link #getValidFor() <em>Valid For</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getValidFor()
* @generated
* @ordered
@@ -96,7 +90,6 @@ public class UserAttributeElementTypeImpl extends EAElementImpl implements UserA
* The cached value of the '{@link #getValidFor() <em>Valid For</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getValidFor()
* @generated
* @ordered
@@ -106,7 +99,6 @@ public class UserAttributeElementTypeImpl extends EAElementImpl implements UserA
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected UserAttributeElementTypeImpl() {
@@ -116,7 +108,6 @@ public class UserAttributeElementTypeImpl extends EAElementImpl implements UserA
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public UserAttributeElementType basicGetExtendedElementType() {
@@ -126,24 +117,21 @@ public class UserAttributeElementTypeImpl extends EAElementImpl implements UserA
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__EXTENDED_ELEMENT_TYPE:
- if(resolve)
- return getExtendedElementType();
- return basicGetExtendedElementType();
- case UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__ATTRIBUTE:
- return getAttribute();
- case UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__BASE_CLASS:
- if(resolve)
- return getBase_Class();
- return basicGetBase_Class();
- case UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__VALID_FOR:
- return getValidFor();
+ switch (featureID) {
+ case UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__EXTENDED_ELEMENT_TYPE:
+ if (resolve) return getExtendedElementType();
+ return basicGetExtendedElementType();
+ case UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__ATTRIBUTE:
+ return getAttribute();
+ case UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__BASE_CLASS:
+ if (resolve) return getBase_Class();
+ return basicGetBase_Class();
+ case UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__VALID_FOR:
+ return getValidFor();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -151,20 +139,19 @@ public class UserAttributeElementTypeImpl extends EAElementImpl implements UserA
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
- case UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__EXTENDED_ELEMENT_TYPE:
- return extendedElementType != null;
- case UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__ATTRIBUTE:
- return attribute != null && !attribute.isEmpty();
- case UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__BASE_CLASS:
- return base_Class != null;
- case UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__VALID_FOR:
- return VALID_FOR_EDEFAULT == null ? validFor != null : !VALID_FOR_EDEFAULT.equals(validFor);
+ switch (featureID) {
+ case UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__EXTENDED_ELEMENT_TYPE:
+ return extendedElementType != null;
+ case UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__ATTRIBUTE:
+ return attribute != null && !attribute.isEmpty();
+ case UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__BASE_CLASS:
+ return base_Class != null;
+ case UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__VALID_FOR:
+ return VALID_FOR_EDEFAULT == null ? validFor != null : !VALID_FOR_EDEFAULT.equals(validFor);
}
return super.eIsSet(featureID);
}
@@ -172,26 +159,25 @@ public class UserAttributeElementTypeImpl extends EAElementImpl implements UserA
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__EXTENDED_ELEMENT_TYPE:
- setExtendedElementType((UserAttributeElementType)newValue);
- return;
- case UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__ATTRIBUTE:
- getAttribute().clear();
- getAttribute().addAll((Collection<? extends UserAttributeDefinition>)newValue);
- return;
- case UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)newValue);
- return;
- case UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__VALID_FOR:
- setValidFor((String)newValue);
- return;
+ switch (featureID) {
+ case UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__EXTENDED_ELEMENT_TYPE:
+ setExtendedElementType((UserAttributeElementType)newValue);
+ return;
+ case UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__ATTRIBUTE:
+ getAttribute().clear();
+ getAttribute().addAll((Collection<? extends UserAttributeDefinition>)newValue);
+ return;
+ case UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class)newValue);
+ return;
+ case UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__VALID_FOR:
+ setValidFor((String)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -199,7 +185,6 @@ public class UserAttributeElementTypeImpl extends EAElementImpl implements UserA
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -210,24 +195,23 @@ public class UserAttributeElementTypeImpl extends EAElementImpl implements UserA
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
- case UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__EXTENDED_ELEMENT_TYPE:
- setExtendedElementType((UserAttributeElementType)null);
- return;
- case UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__ATTRIBUTE:
- getAttribute().clear();
- return;
- case UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)null);
- return;
- case UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__VALID_FOR:
- setValidFor(VALID_FOR_EDEFAULT);
- return;
+ switch (featureID) {
+ case UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__EXTENDED_ELEMENT_TYPE:
+ setExtendedElementType((UserAttributeElementType)null);
+ return;
+ case UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__ATTRIBUTE:
+ getAttribute().clear();
+ return;
+ case UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class)null);
+ return;
+ case UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__VALID_FOR:
+ setValidFor(VALID_FOR_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -235,11 +219,10 @@ public class UserAttributeElementTypeImpl extends EAElementImpl implements UserA
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EList<UserAttributeDefinition> getAttribute() {
- if(attribute == null) {
+ if (attribute == null) {
attribute = new EObjectResolvingEList<UserAttributeDefinition>(UserAttributeDefinition.class, this, UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__ATTRIBUTE);
}
return attribute;
@@ -248,15 +231,14 @@ public class UserAttributeElementTypeImpl extends EAElementImpl implements UserA
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public org.eclipse.uml2.uml.Class getBase_Class() {
- if(base_Class != null && base_Class.eIsProxy()) {
+ if (base_Class != null && base_Class.eIsProxy()) {
InternalEObject oldBase_Class = (InternalEObject)base_Class;
base_Class = (org.eclipse.uml2.uml.Class)eResolveProxy(oldBase_Class);
- if(base_Class != oldBase_Class) {
- if(eNotificationRequired())
+ if (base_Class != oldBase_Class) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE, UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__BASE_CLASS, oldBase_Class, base_Class));
}
}
@@ -266,7 +248,6 @@ public class UserAttributeElementTypeImpl extends EAElementImpl implements UserA
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public org.eclipse.uml2.uml.Class basicGetBase_Class() {
@@ -276,28 +257,26 @@ public class UserAttributeElementTypeImpl extends EAElementImpl implements UserA
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public void setBase_Class(org.eclipse.uml2.uml.Class newBase_Class) {
org.eclipse.uml2.uml.Class oldBase_Class = base_Class;
base_Class = newBase_Class;
- if(eNotificationRequired())
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__BASE_CLASS, oldBase_Class, base_Class));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public UserAttributeElementType getExtendedElementType() {
- if(extendedElementType != null && extendedElementType.eIsProxy()) {
+ if (extendedElementType != null && extendedElementType.eIsProxy()) {
InternalEObject oldExtendedElementType = (InternalEObject)extendedElementType;
extendedElementType = (UserAttributeElementType)eResolveProxy(oldExtendedElementType);
- if(extendedElementType != oldExtendedElementType) {
- if(eNotificationRequired())
+ if (extendedElementType != oldExtendedElementType) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE, UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__EXTENDED_ELEMENT_TYPE, oldExtendedElementType, extendedElementType));
}
}
@@ -307,7 +286,6 @@ public class UserAttributeElementTypeImpl extends EAElementImpl implements UserA
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public String getValidFor() {
@@ -317,39 +295,35 @@ public class UserAttributeElementTypeImpl extends EAElementImpl implements UserA
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public void setExtendedElementType(UserAttributeElementType newExtendedElementType) {
UserAttributeElementType oldExtendedElementType = extendedElementType;
extendedElementType = newExtendedElementType;
- if(eNotificationRequired())
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__EXTENDED_ELEMENT_TYPE, oldExtendedElementType, extendedElementType));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public void setValidFor(String newValidFor) {
String oldValidFor = validFor;
validFor = newValidFor;
- if(eNotificationRequired())
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE__VALID_FOR, oldValidFor, validFor));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
- return super.toString();
+ if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (validFor: ");
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/impl/UserAttributeValueImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/impl/UserAttributeValueImpl.java
index 587a77f8614..27c4381054d 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/impl/UserAttributeValueImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/impl/UserAttributeValueImpl.java
@@ -33,22 +33,20 @@ import org.eclipse.uml2.uml.Property;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeValueImpl#getBase_Class <em>Base Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeValueImpl#getValue <em>Value</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeValueImpl#getBase_Property <em>Base Property</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeValueImpl#getDefinition <em>Definition</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeValueImpl#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeValueImpl#getValue <em>Value</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeValueImpl#getBase_Property <em>Base Property</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeValueImpl#getDefinition <em>Definition</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class UserAttributeValueImpl extends EAElementImpl implements UserAttributeValue {
-
/**
* The cached value of the '{@link #getBase_Class() <em>Base Class</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getBase_Class()
* @generated
* @ordered
@@ -59,7 +57,6 @@ public class UserAttributeValueImpl extends EAElementImpl implements UserAttribu
* The default value of the '{@link #getValue() <em>Value</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getValue()
* @generated
* @ordered
@@ -70,7 +67,6 @@ public class UserAttributeValueImpl extends EAElementImpl implements UserAttribu
* The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getValue()
* @generated
* @ordered
@@ -81,7 +77,6 @@ public class UserAttributeValueImpl extends EAElementImpl implements UserAttribu
* The cached value of the '{@link #getBase_Property() <em>Base Property</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getBase_Property()
* @generated
* @ordered
@@ -92,7 +87,6 @@ public class UserAttributeValueImpl extends EAElementImpl implements UserAttribu
* The cached value of the '{@link #getDefinition() <em>Definition</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getDefinition()
* @generated
* @ordered
@@ -102,7 +96,6 @@ public class UserAttributeValueImpl extends EAElementImpl implements UserAttribu
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected UserAttributeValueImpl() {
@@ -112,26 +105,22 @@ public class UserAttributeValueImpl extends EAElementImpl implements UserAttribu
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case UserattributesPackage.USER_ATTRIBUTE_VALUE__BASE_CLASS:
- if(resolve)
- return getBase_Class();
- return basicGetBase_Class();
- case UserattributesPackage.USER_ATTRIBUTE_VALUE__VALUE:
- return getValue();
- case UserattributesPackage.USER_ATTRIBUTE_VALUE__BASE_PROPERTY:
- if(resolve)
- return getBase_Property();
- return basicGetBase_Property();
- case UserattributesPackage.USER_ATTRIBUTE_VALUE__DEFINITION:
- if(resolve)
- return getDefinition();
- return basicGetDefinition();
+ switch (featureID) {
+ case UserattributesPackage.USER_ATTRIBUTE_VALUE__BASE_CLASS:
+ if (resolve) return getBase_Class();
+ return basicGetBase_Class();
+ case UserattributesPackage.USER_ATTRIBUTE_VALUE__VALUE:
+ return getValue();
+ case UserattributesPackage.USER_ATTRIBUTE_VALUE__BASE_PROPERTY:
+ if (resolve) return getBase_Property();
+ return basicGetBase_Property();
+ case UserattributesPackage.USER_ATTRIBUTE_VALUE__DEFINITION:
+ if (resolve) return getDefinition();
+ return basicGetDefinition();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -139,20 +128,19 @@ public class UserAttributeValueImpl extends EAElementImpl implements UserAttribu
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
- case UserattributesPackage.USER_ATTRIBUTE_VALUE__BASE_CLASS:
- return base_Class != null;
- case UserattributesPackage.USER_ATTRIBUTE_VALUE__VALUE:
- return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
- case UserattributesPackage.USER_ATTRIBUTE_VALUE__BASE_PROPERTY:
- return base_Property != null;
- case UserattributesPackage.USER_ATTRIBUTE_VALUE__DEFINITION:
- return definition != null;
+ switch (featureID) {
+ case UserattributesPackage.USER_ATTRIBUTE_VALUE__BASE_CLASS:
+ return base_Class != null;
+ case UserattributesPackage.USER_ATTRIBUTE_VALUE__VALUE:
+ return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
+ case UserattributesPackage.USER_ATTRIBUTE_VALUE__BASE_PROPERTY:
+ return base_Property != null;
+ case UserattributesPackage.USER_ATTRIBUTE_VALUE__DEFINITION:
+ return definition != null;
}
return super.eIsSet(featureID);
}
@@ -160,24 +148,23 @@ public class UserAttributeValueImpl extends EAElementImpl implements UserAttribu
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case UserattributesPackage.USER_ATTRIBUTE_VALUE__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)newValue);
- return;
- case UserattributesPackage.USER_ATTRIBUTE_VALUE__VALUE:
- setValue((String)newValue);
- return;
- case UserattributesPackage.USER_ATTRIBUTE_VALUE__BASE_PROPERTY:
- setBase_Property((Property)newValue);
- return;
- case UserattributesPackage.USER_ATTRIBUTE_VALUE__DEFINITION:
- setDefinition((UserAttributeDefinition)newValue);
- return;
+ switch (featureID) {
+ case UserattributesPackage.USER_ATTRIBUTE_VALUE__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class)newValue);
+ return;
+ case UserattributesPackage.USER_ATTRIBUTE_VALUE__VALUE:
+ setValue((String)newValue);
+ return;
+ case UserattributesPackage.USER_ATTRIBUTE_VALUE__BASE_PROPERTY:
+ setBase_Property((Property)newValue);
+ return;
+ case UserattributesPackage.USER_ATTRIBUTE_VALUE__DEFINITION:
+ setDefinition((UserAttributeDefinition)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -185,7 +172,6 @@ public class UserAttributeValueImpl extends EAElementImpl implements UserAttribu
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -196,15 +182,14 @@ public class UserAttributeValueImpl extends EAElementImpl implements UserAttribu
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public org.eclipse.uml2.uml.Class getBase_Class() {
- if(base_Class != null && base_Class.eIsProxy()) {
+ if (base_Class != null && base_Class.eIsProxy()) {
InternalEObject oldBase_Class = (InternalEObject)base_Class;
base_Class = (org.eclipse.uml2.uml.Class)eResolveProxy(oldBase_Class);
- if(base_Class != oldBase_Class) {
- if(eNotificationRequired())
+ if (base_Class != oldBase_Class) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE, UserattributesPackage.USER_ATTRIBUTE_VALUE__BASE_CLASS, oldBase_Class, base_Class));
}
}
@@ -214,7 +199,6 @@ public class UserAttributeValueImpl extends EAElementImpl implements UserAttribu
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public org.eclipse.uml2.uml.Class basicGetBase_Class() {
@@ -224,37 +208,35 @@ public class UserAttributeValueImpl extends EAElementImpl implements UserAttribu
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public void setBase_Class(org.eclipse.uml2.uml.Class newBase_Class) {
org.eclipse.uml2.uml.Class oldBase_Class = base_Class;
base_Class = newBase_Class;
- if(eNotificationRequired())
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, UserattributesPackage.USER_ATTRIBUTE_VALUE__BASE_CLASS, oldBase_Class, base_Class));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
- case UserattributesPackage.USER_ATTRIBUTE_VALUE__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)null);
- return;
- case UserattributesPackage.USER_ATTRIBUTE_VALUE__VALUE:
- setValue(VALUE_EDEFAULT);
- return;
- case UserattributesPackage.USER_ATTRIBUTE_VALUE__BASE_PROPERTY:
- setBase_Property((Property)null);
- return;
- case UserattributesPackage.USER_ATTRIBUTE_VALUE__DEFINITION:
- setDefinition((UserAttributeDefinition)null);
- return;
+ switch (featureID) {
+ case UserattributesPackage.USER_ATTRIBUTE_VALUE__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class)null);
+ return;
+ case UserattributesPackage.USER_ATTRIBUTE_VALUE__VALUE:
+ setValue(VALUE_EDEFAULT);
+ return;
+ case UserattributesPackage.USER_ATTRIBUTE_VALUE__BASE_PROPERTY:
+ setBase_Property((Property)null);
+ return;
+ case UserattributesPackage.USER_ATTRIBUTE_VALUE__DEFINITION:
+ setDefinition((UserAttributeDefinition)null);
+ return;
}
super.eUnset(featureID);
}
@@ -262,7 +244,6 @@ public class UserAttributeValueImpl extends EAElementImpl implements UserAttribu
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public String getValue() {
@@ -272,15 +253,14 @@ public class UserAttributeValueImpl extends EAElementImpl implements UserAttribu
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public UserAttributeDefinition getDefinition() {
- if(definition != null && definition.eIsProxy()) {
+ if (definition != null && definition.eIsProxy()) {
InternalEObject oldDefinition = (InternalEObject)definition;
definition = (UserAttributeDefinition)eResolveProxy(oldDefinition);
- if(definition != oldDefinition) {
- if(eNotificationRequired())
+ if (definition != oldDefinition) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE, UserattributesPackage.USER_ATTRIBUTE_VALUE__DEFINITION, oldDefinition, definition));
}
}
@@ -290,7 +270,6 @@ public class UserAttributeValueImpl extends EAElementImpl implements UserAttribu
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public UserAttributeDefinition basicGetDefinition() {
@@ -300,41 +279,38 @@ public class UserAttributeValueImpl extends EAElementImpl implements UserAttribu
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public void setDefinition(UserAttributeDefinition newDefinition) {
UserAttributeDefinition oldDefinition = definition;
definition = newDefinition;
- if(eNotificationRequired())
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, UserattributesPackage.USER_ATTRIBUTE_VALUE__DEFINITION, oldDefinition, definition));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public void setValue(String newValue) {
String oldValue = value;
value = newValue;
- if(eNotificationRequired())
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, UserattributesPackage.USER_ATTRIBUTE_VALUE__VALUE, oldValue, value));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public Property getBase_Property() {
- if(base_Property != null && base_Property.eIsProxy()) {
+ if (base_Property != null && base_Property.eIsProxy()) {
InternalEObject oldBase_Property = (InternalEObject)base_Property;
base_Property = (Property)eResolveProxy(oldBase_Property);
- if(base_Property != oldBase_Property) {
- if(eNotificationRequired())
+ if (base_Property != oldBase_Property) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE, UserattributesPackage.USER_ATTRIBUTE_VALUE__BASE_PROPERTY, oldBase_Property, base_Property));
}
}
@@ -344,7 +320,6 @@ public class UserAttributeValueImpl extends EAElementImpl implements UserAttribu
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public Property basicGetBase_Property() {
@@ -354,26 +329,23 @@ public class UserAttributeValueImpl extends EAElementImpl implements UserAttribu
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public void setBase_Property(Property newBase_Property) {
Property oldBase_Property = base_Property;
base_Property = newBase_Property;
- if(eNotificationRequired())
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, UserattributesPackage.USER_ATTRIBUTE_VALUE__BASE_PROPERTY, oldBase_Property, base_Property));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
- return super.toString();
+ if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (value: ");
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/impl/UserAttributeableElementImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/impl/UserAttributeableElementImpl.java
index 6bf169e99b1..d1daa780686 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/impl/UserAttributeableElementImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/impl/UserAttributeableElementImpl.java
@@ -22,7 +22,7 @@ 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.impl.MinimalEObjectImpl;
import org.eclipse.emf.ecore.util.EObjectResolvingEList;
import org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType;
import org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue;
@@ -38,24 +38,20 @@ import org.eclipse.uml2.uml.NamedElement;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeableElementImpl#getUaValue <em>Ua Value</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeableElementImpl#getUaType <em>Ua Type</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeableElementImpl#getAttributedElement <em>Attributed Element
- * </em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeableElementImpl#getBase_NamedElement <em>Base Named Element
- * </em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeableElementImpl#getUaValue <em>Ua Value</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeableElementImpl#getUaType <em>Ua Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeableElementImpl#getAttributedElement <em>Attributed Element</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserAttributeableElementImpl#getBase_NamedElement <em>Base Named Element</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
-public class UserAttributeableElementImpl extends EObjectImpl implements UserAttributeableElement {
-
+public class UserAttributeableElementImpl extends MinimalEObjectImpl.Container implements UserAttributeableElement {
/**
* The cached value of the '{@link #getUaValue() <em>Ua Value</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getUaValue()
* @generated
* @ordered
@@ -66,7 +62,6 @@ public class UserAttributeableElementImpl extends EObjectImpl implements UserAtt
* The cached value of the '{@link #getUaType() <em>Ua Type</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getUaType()
* @generated
* @ordered
@@ -77,7 +72,6 @@ public class UserAttributeableElementImpl extends EObjectImpl implements UserAtt
* The cached value of the '{@link #getAttributedElement() <em>Attributed Element</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getAttributedElement()
* @generated
* @ordered
@@ -88,7 +82,6 @@ public class UserAttributeableElementImpl extends EObjectImpl implements UserAtt
* The cached value of the '{@link #getBase_NamedElement() <em>Base Named Element</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getBase_NamedElement()
* @generated
* @ordered
@@ -98,7 +91,6 @@ public class UserAttributeableElementImpl extends EObjectImpl implements UserAtt
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected UserAttributeableElementImpl() {
@@ -108,24 +100,21 @@ public class UserAttributeableElementImpl extends EObjectImpl implements UserAtt
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__UA_VALUE:
- return getUaValue();
- case UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__UA_TYPE:
- return getUaType();
- case UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__ATTRIBUTED_ELEMENT:
- if(resolve)
- return getAttributedElement();
- return basicGetAttributedElement();
- case UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__BASE_NAMED_ELEMENT:
- if(resolve)
- return getBase_NamedElement();
- return basicGetBase_NamedElement();
+ switch (featureID) {
+ case UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__UA_VALUE:
+ return getUaValue();
+ case UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__UA_TYPE:
+ return getUaType();
+ case UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__ATTRIBUTED_ELEMENT:
+ if (resolve) return getAttributedElement();
+ return basicGetAttributedElement();
+ case UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__BASE_NAMED_ELEMENT:
+ if (resolve) return getBase_NamedElement();
+ return basicGetBase_NamedElement();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -133,20 +122,19 @@ public class UserAttributeableElementImpl extends EObjectImpl implements UserAtt
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
- case UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__UA_VALUE:
- return uaValue != null && !uaValue.isEmpty();
- case UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__UA_TYPE:
- return uaType != null && !uaType.isEmpty();
- case UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__ATTRIBUTED_ELEMENT:
- return attributedElement != null;
- case UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__BASE_NAMED_ELEMENT:
- return base_NamedElement != null;
+ switch (featureID) {
+ case UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__UA_VALUE:
+ return uaValue != null && !uaValue.isEmpty();
+ case UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__UA_TYPE:
+ return uaType != null && !uaType.isEmpty();
+ case UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__ATTRIBUTED_ELEMENT:
+ return attributedElement != null;
+ case UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__BASE_NAMED_ELEMENT:
+ return base_NamedElement != null;
}
return super.eIsSet(featureID);
}
@@ -154,27 +142,26 @@ public class UserAttributeableElementImpl extends EObjectImpl implements UserAtt
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__UA_VALUE:
- getUaValue().clear();
- getUaValue().addAll((Collection<? extends UserAttributeValue>)newValue);
- return;
- case UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__UA_TYPE:
- getUaType().clear();
- getUaType().addAll((Collection<? extends UserAttributeElementType>)newValue);
- return;
- case UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__ATTRIBUTED_ELEMENT:
- setAttributedElement((NamedElement)newValue);
- return;
- case UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__BASE_NAMED_ELEMENT:
- setBase_NamedElement((NamedElement)newValue);
- return;
+ switch (featureID) {
+ case UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__UA_VALUE:
+ getUaValue().clear();
+ getUaValue().addAll((Collection<? extends UserAttributeValue>)newValue);
+ return;
+ case UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__UA_TYPE:
+ getUaType().clear();
+ getUaType().addAll((Collection<? extends UserAttributeElementType>)newValue);
+ return;
+ case UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__ATTRIBUTED_ELEMENT:
+ setAttributedElement((NamedElement)newValue);
+ return;
+ case UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__BASE_NAMED_ELEMENT:
+ setBase_NamedElement((NamedElement)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -182,7 +169,6 @@ public class UserAttributeableElementImpl extends EObjectImpl implements UserAtt
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -193,24 +179,23 @@ public class UserAttributeableElementImpl extends EObjectImpl implements UserAtt
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
- case UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__UA_VALUE:
- getUaValue().clear();
- return;
- case UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__UA_TYPE:
- getUaType().clear();
- return;
- case UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__ATTRIBUTED_ELEMENT:
- setAttributedElement((NamedElement)null);
- return;
- case UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__BASE_NAMED_ELEMENT:
- setBase_NamedElement((NamedElement)null);
- return;
+ switch (featureID) {
+ case UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__UA_VALUE:
+ getUaValue().clear();
+ return;
+ case UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__UA_TYPE:
+ getUaType().clear();
+ return;
+ case UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__ATTRIBUTED_ELEMENT:
+ setAttributedElement((NamedElement)null);
+ return;
+ case UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__BASE_NAMED_ELEMENT:
+ setBase_NamedElement((NamedElement)null);
+ return;
}
super.eUnset(featureID);
}
@@ -218,11 +203,10 @@ public class UserAttributeableElementImpl extends EObjectImpl implements UserAtt
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EList<UserAttributeElementType> getUaType() {
- if(uaType == null) {
+ if (uaType == null) {
uaType = new EObjectResolvingEList<UserAttributeElementType>(UserAttributeElementType.class, this, UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__UA_TYPE);
}
return uaType;
@@ -231,15 +215,14 @@ public class UserAttributeableElementImpl extends EObjectImpl implements UserAtt
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public NamedElement getAttributedElement() {
- if(attributedElement != null && attributedElement.eIsProxy()) {
+ if (attributedElement != null && attributedElement.eIsProxy()) {
InternalEObject oldAttributedElement = (InternalEObject)attributedElement;
attributedElement = (NamedElement)eResolveProxy(oldAttributedElement);
- if(attributedElement != oldAttributedElement) {
- if(eNotificationRequired())
+ if (attributedElement != oldAttributedElement) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE, UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__ATTRIBUTED_ELEMENT, oldAttributedElement, attributedElement));
}
}
@@ -249,7 +232,6 @@ public class UserAttributeableElementImpl extends EObjectImpl implements UserAtt
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public NamedElement basicGetAttributedElement() {
@@ -259,28 +241,26 @@ public class UserAttributeableElementImpl extends EObjectImpl implements UserAtt
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public void setAttributedElement(NamedElement newAttributedElement) {
NamedElement oldAttributedElement = attributedElement;
attributedElement = newAttributedElement;
- if(eNotificationRequired())
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__ATTRIBUTED_ELEMENT, oldAttributedElement, attributedElement));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public NamedElement getBase_NamedElement() {
- if(base_NamedElement != null && base_NamedElement.eIsProxy()) {
+ if (base_NamedElement != null && base_NamedElement.eIsProxy()) {
InternalEObject oldBase_NamedElement = (InternalEObject)base_NamedElement;
base_NamedElement = (NamedElement)eResolveProxy(oldBase_NamedElement);
- if(base_NamedElement != oldBase_NamedElement) {
- if(eNotificationRequired())
+ if (base_NamedElement != oldBase_NamedElement) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE, UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__BASE_NAMED_ELEMENT, oldBase_NamedElement, base_NamedElement));
}
}
@@ -290,7 +270,6 @@ public class UserAttributeableElementImpl extends EObjectImpl implements UserAtt
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public NamedElement basicGetBase_NamedElement() {
@@ -300,24 +279,22 @@ public class UserAttributeableElementImpl extends EObjectImpl implements UserAtt
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public void setBase_NamedElement(NamedElement newBase_NamedElement) {
NamedElement oldBase_NamedElement = base_NamedElement;
base_NamedElement = newBase_NamedElement;
- if(eNotificationRequired())
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__BASE_NAMED_ELEMENT, oldBase_NamedElement, base_NamedElement));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EList<UserAttributeValue> getUaValue() {
- if(uaValue == null) {
+ if (uaValue == null) {
uaValue = new EObjectResolvingEList<UserAttributeValue>(UserAttributeValue.class, this, UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT__UA_VALUE);
}
return uaValue;
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/impl/UserattributesFactoryImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/impl/UserattributesFactoryImpl.java
index 3b7ef746f8d..829d2fb3c00 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/impl/UserattributesFactoryImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/impl/UserattributesFactoryImpl.java
@@ -20,7 +20,6 @@ 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;
-import org.eclipse.papyrus.eastadl.infrastructure.userattributes.*;
import org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition;
import org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType;
import org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue;
@@ -33,15 +32,12 @@ import org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserattributesP
* <!-- begin-user-doc -->
* An implementation of the model <b>Factory</b>.
* <!-- end-user-doc -->
- *
* @generated
*/
public class UserattributesFactoryImpl extends EFactoryImpl implements UserattributesFactory {
-
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @deprecated
* @generated
*/
@@ -54,16 +50,16 @@ public class UserattributesFactoryImpl extends EFactoryImpl implements Userattri
* Creates the default factory implementation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public static UserattributesFactory init() {
try {
UserattributesFactory theUserattributesFactory = (UserattributesFactory)EPackage.Registry.INSTANCE.getEFactory(UserattributesPackage.eNS_URI);
- if(theUserattributesFactory != null) {
+ if (theUserattributesFactory != null) {
return theUserattributesFactory;
}
- } catch (Exception exception) {
+ }
+ catch (Exception exception) {
EcorePlugin.INSTANCE.log(exception);
}
return new UserattributesFactoryImpl();
@@ -73,7 +69,6 @@ public class UserattributesFactoryImpl extends EFactoryImpl implements Userattri
* Creates an instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public UserattributesFactoryImpl() {
@@ -83,29 +78,23 @@ public class UserattributesFactoryImpl extends EFactoryImpl implements Userattri
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public EObject create(EClass eClass) {
- switch(eClass.getClassifierID()) {
- case UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE:
- return createUserAttributeElementType();
- case UserattributesPackage.USER_ATTRIBUTE_DEFINITION:
- return createUserAttributeDefinition();
- case UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT:
- return createUserAttributeableElement();
- case UserattributesPackage.USER_ATTRIBUTE_VALUE:
- return createUserAttributeValue();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ switch (eClass.getClassifierID()) {
+ case UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE: return createUserAttributeElementType();
+ case UserattributesPackage.USER_ATTRIBUTE_DEFINITION: return createUserAttributeDefinition();
+ case UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT: return createUserAttributeableElement();
+ case UserattributesPackage.USER_ATTRIBUTE_VALUE: return createUserAttributeValue();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public UserAttributeDefinition createUserAttributeDefinition() {
@@ -116,7 +105,6 @@ public class UserattributesFactoryImpl extends EFactoryImpl implements Userattri
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public UserAttributeableElement createUserAttributeableElement() {
@@ -127,7 +115,6 @@ public class UserattributesFactoryImpl extends EFactoryImpl implements Userattri
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public UserAttributeElementType createUserAttributeElementType() {
@@ -138,7 +125,6 @@ public class UserattributesFactoryImpl extends EFactoryImpl implements Userattri
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public UserAttributeValue createUserAttributeValue() {
@@ -149,7 +135,6 @@ public class UserattributesFactoryImpl extends EFactoryImpl implements Userattri
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public UserattributesPackage getUserattributesPackage() {
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/impl/UserattributesPackageImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/impl/UserattributesPackageImpl.java
index 0887e14eecd..eedd816eafe 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/impl/UserattributesPackageImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/impl/UserattributesPackageImpl.java
@@ -22,9 +22,17 @@ import org.eclipse.emf.ecore.EReference;
import org.eclipse.emf.ecore.impl.EPackageImpl;
import org.eclipse.papyrus.eastadl.EastadlPackage;
import org.eclipse.papyrus.eastadl.annex.AnnexPackage;
+import org.eclipse.papyrus.eastadl.annex.attributequantificationconstraint.AttributequantificationconstraintPackage;
+import org.eclipse.papyrus.eastadl.annex.attributequantificationconstraint.impl.AttributequantificationconstraintPackageImpl;
+import org.eclipse.papyrus.eastadl.annex.behaviordescription.BehaviordescriptionPackage;
+import org.eclipse.papyrus.eastadl.annex.behaviordescription.impl.BehaviordescriptionPackageImpl;
+import org.eclipse.papyrus.eastadl.annex.computationconstraint.ComputationconstraintPackage;
+import org.eclipse.papyrus.eastadl.annex.computationconstraint.impl.ComputationconstraintPackageImpl;
import org.eclipse.papyrus.eastadl.annex.impl.AnnexPackageImpl;
import org.eclipse.papyrus.eastadl.annex.needs.NeedsPackage;
import org.eclipse.papyrus.eastadl.annex.needs.impl.NeedsPackageImpl;
+import org.eclipse.papyrus.eastadl.annex.temporalconstraint.TemporalconstraintPackage;
+import org.eclipse.papyrus.eastadl.annex.temporalconstraint.impl.TemporalconstraintPackageImpl;
import org.eclipse.papyrus.eastadl.behavior.BehaviorPackage;
import org.eclipse.papyrus.eastadl.behavior.impl.BehaviorPackageImpl;
import org.eclipse.papyrus.eastadl.dependability.DependabilityPackage;
@@ -54,10 +62,12 @@ import org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeVa
import org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeableElement;
import org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserattributesFactory;
import org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserattributesPackage;
-import org.eclipse.papyrus.eastadl.interchange.InterchangePackage;
-import org.eclipse.papyrus.eastadl.interchange.impl.InterchangePackageImpl;
+import org.eclipse.papyrus.eastadl.infrastructure.values.ValuesPackage;
+import org.eclipse.papyrus.eastadl.infrastructure.values.impl.ValuesPackageImpl;
import org.eclipse.papyrus.eastadl.requirements.RequirementsPackage;
import org.eclipse.papyrus.eastadl.requirements.impl.RequirementsPackageImpl;
+import org.eclipse.papyrus.eastadl.requirements.usecases.UsecasesPackage;
+import org.eclipse.papyrus.eastadl.requirements.usecases.impl.UsecasesPackageImpl;
import org.eclipse.papyrus.eastadl.requirements.verificationvalidation.VerificationvalidationPackage;
import org.eclipse.papyrus.eastadl.requirements.verificationvalidation.impl.VerificationvalidationPackageImpl;
import org.eclipse.papyrus.eastadl.structure.StructurePackage;
@@ -89,7 +99,6 @@ import org.eclipse.uml2.uml.UMLPackage;
* <!-- begin-user-doc -->
* An implementation of the model <b>Package</b>.
* <!-- end-user-doc -->
- *
* @generated
*/
public class UserattributesPackageImpl extends EPackageImpl implements UserattributesPackage {
@@ -97,7 +106,6 @@ public class UserattributesPackageImpl extends EPackageImpl implements Userattri
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private EClass userAttributeElementTypeEClass = null;
@@ -105,7 +113,6 @@ public class UserattributesPackageImpl extends EPackageImpl implements Userattri
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private EClass userAttributeDefinitionEClass = null;
@@ -113,7 +120,6 @@ public class UserattributesPackageImpl extends EPackageImpl implements Userattri
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private EClass userAttributeableElementEClass = null;
@@ -121,7 +127,6 @@ public class UserattributesPackageImpl extends EPackageImpl implements Userattri
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private EClass userAttributeValueEClass = null;
@@ -129,7 +134,6 @@ public class UserattributesPackageImpl extends EPackageImpl implements Userattri
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private static boolean isInited = false;
@@ -137,18 +141,16 @@ public class UserattributesPackageImpl extends EPackageImpl implements Userattri
/**
* 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 UserattributesPackage#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 -->
- *
+ * <p>This method is used to initialize {@link UserattributesPackage#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 UserattributesPackage init() {
- if(isInited)
- return (UserattributesPackage)EPackage.Registry.INSTANCE.getEPackage(UserattributesPackage.eNS_URI);
+ if (isInited) return (UserattributesPackage)EPackage.Registry.INSTANCE.getEPackage(UserattributesPackage.eNS_URI);
// Obtain or create and register package
UserattributesPackageImpl theUserattributesPackage = (UserattributesPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof UserattributesPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new UserattributesPackageImpl());
@@ -163,28 +165,34 @@ public class UserattributesPackageImpl extends EPackageImpl implements Userattri
VariabilityPackageImpl theVariabilityPackage = (VariabilityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VariabilityPackage.eNS_URI) instanceof VariabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VariabilityPackage.eNS_URI) : VariabilityPackage.eINSTANCE);
InfrastructurePackageImpl theInfrastructurePackage = (InfrastructurePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI) instanceof InfrastructurePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI) : InfrastructurePackage.eINSTANCE);
DatatypesPackageImpl theDatatypesPackage = (DatatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI) instanceof DatatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI) : DatatypesPackage.eINSTANCE);
+ ValuesPackageImpl theValuesPackage = (ValuesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI) instanceof ValuesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI) : ValuesPackage.eINSTANCE);
ElementsPackageImpl theElementsPackage = (ElementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI) instanceof ElementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI) : ElementsPackage.eINSTANCE);
StructurePackageImpl theStructurePackage = (StructurePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI) instanceof StructurePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI) : StructurePackage.eINSTANCE);
FunctionmodelingPackageImpl theFunctionmodelingPackage = (FunctionmodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(FunctionmodelingPackage.eNS_URI) instanceof FunctionmodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(FunctionmodelingPackage.eNS_URI) : FunctionmodelingPackage.eINSTANCE);
- HardwaremodelingPackageImpl theHardwaremodelingPackage = (HardwaremodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI) instanceof HardwaremodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI) : HardwaremodelingPackage.eINSTANCE);
+ FeaturemodelingPackageImpl theFeaturemodelingPackage = (FeaturemodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI) instanceof FeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI) : FeaturemodelingPackage.eINSTANCE);
SystemmodelingPackageImpl theSystemmodelingPackage = (SystemmodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SystemmodelingPackage.eNS_URI) instanceof SystemmodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SystemmodelingPackage.eNS_URI) : SystemmodelingPackage.eINSTANCE);
VehiclefeaturemodelingPackageImpl theVehiclefeaturemodelingPackage = (VehiclefeaturemodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VehiclefeaturemodelingPackage.eNS_URI) instanceof VehiclefeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VehiclefeaturemodelingPackage.eNS_URI) : VehiclefeaturemodelingPackage.eINSTANCE);
- FeaturemodelingPackageImpl theFeaturemodelingPackage = (FeaturemodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI) instanceof FeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI) : FeaturemodelingPackage.eINSTANCE);
- BehaviorPackageImpl theBehaviorPackage = (BehaviorPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI) instanceof BehaviorPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI) : BehaviorPackage.eINSTANCE);
+ HardwaremodelingPackageImpl theHardwaremodelingPackage = (HardwaremodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI) instanceof HardwaremodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI) : HardwaremodelingPackage.eINSTANCE);
+ DependabilityPackageImpl theDependabilityPackage = (DependabilityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI) instanceof DependabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI) : DependabilityPackage.eINSTANCE);
+ SafetyrequirementPackageImpl theSafetyrequirementPackage = (SafetyrequirementPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetyrequirementPackage.eNS_URI) instanceof SafetyrequirementPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetyrequirementPackage.eNS_URI) : SafetyrequirementPackage.eINSTANCE);
+ SafetyconstraintsPackageImpl theSafetyconstraintsPackage = (SafetyconstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI) instanceof SafetyconstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI) : SafetyconstraintsPackage.eINSTANCE);
+ SafetycasePackageImpl theSafetycasePackage = (SafetycasePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI) instanceof SafetycasePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI) : SafetycasePackage.eINSTANCE);
+ ErrormodelPackageImpl theErrormodelPackage = (ErrormodelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI) instanceof ErrormodelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI) : ErrormodelPackage.eINSTANCE);
RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE);
+ UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) : UsecasesPackage.eINSTANCE);
VerificationvalidationPackageImpl theVerificationvalidationPackage = (VerificationvalidationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VerificationvalidationPackage.eNS_URI) instanceof VerificationvalidationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VerificationvalidationPackage.eNS_URI) : VerificationvalidationPackage.eINSTANCE);
+ org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl theRequirementsPackage_1 = (org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eNS_URI) instanceof org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eNS_URI) : org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eINSTANCE);
+ BehaviorPackageImpl theBehaviorPackage = (BehaviorPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI) instanceof BehaviorPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI) : BehaviorPackage.eINSTANCE);
TimingPackageImpl theTimingPackage = (TimingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimingPackage.eNS_URI) instanceof TimingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimingPackage.eNS_URI) : TimingPackage.eINSTANCE);
TimingconstraintsPackageImpl theTimingconstraintsPackage = (TimingconstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimingconstraintsPackage.eNS_URI) instanceof TimingconstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimingconstraintsPackage.eNS_URI) : TimingconstraintsPackage.eINSTANCE);
EventsPackageImpl theEventsPackage = (EventsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) instanceof EventsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) : EventsPackage.eINSTANCE);
- InterchangePackageImpl theInterchangePackage = (InterchangePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InterchangePackage.eNS_URI) instanceof InterchangePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InterchangePackage.eNS_URI) : InterchangePackage.eINSTANCE);
EnvironmentPackageImpl theEnvironmentPackage = (EnvironmentPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EnvironmentPackage.eNS_URI) instanceof EnvironmentPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EnvironmentPackage.eNS_URI) : EnvironmentPackage.eINSTANCE);
- DependabilityPackageImpl theDependabilityPackage = (DependabilityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI) instanceof DependabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI) : DependabilityPackage.eINSTANCE);
- ErrormodelPackageImpl theErrormodelPackage = (ErrormodelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI) instanceof ErrormodelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI) : ErrormodelPackage.eINSTANCE);
- SafetyrequirementPackageImpl theSafetyrequirementPackage = (SafetyrequirementPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetyrequirementPackage.eNS_URI) instanceof SafetyrequirementPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetyrequirementPackage.eNS_URI) : SafetyrequirementPackage.eINSTANCE);
- SafetyconstraintsPackageImpl theSafetyconstraintsPackage = (SafetyconstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI) instanceof SafetyconstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI) : SafetyconstraintsPackage.eINSTANCE);
- SafetycasePackageImpl theSafetycasePackage = (SafetycasePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI) instanceof SafetycasePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI) : SafetycasePackage.eINSTANCE);
AnnexPackageImpl theAnnexPackage = (AnnexPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AnnexPackage.eNS_URI) instanceof AnnexPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AnnexPackage.eNS_URI) : AnnexPackage.eINSTANCE);
NeedsPackageImpl theNeedsPackage = (NeedsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(NeedsPackage.eNS_URI) instanceof NeedsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(NeedsPackage.eNS_URI) : NeedsPackage.eINSTANCE);
+ BehaviordescriptionPackageImpl theBehaviordescriptionPackage = (BehaviordescriptionPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BehaviordescriptionPackage.eNS_URI) instanceof BehaviordescriptionPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BehaviordescriptionPackage.eNS_URI) : BehaviordescriptionPackage.eINSTANCE);
+ AttributequantificationconstraintPackageImpl theAttributequantificationconstraintPackage = (AttributequantificationconstraintPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AttributequantificationconstraintPackage.eNS_URI) instanceof AttributequantificationconstraintPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AttributequantificationconstraintPackage.eNS_URI) : AttributequantificationconstraintPackage.eINSTANCE);
+ TemporalconstraintPackageImpl theTemporalconstraintPackage = (TemporalconstraintPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TemporalconstraintPackage.eNS_URI) instanceof TemporalconstraintPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TemporalconstraintPackage.eNS_URI) : TemporalconstraintPackage.eINSTANCE);
+ ComputationconstraintPackageImpl theComputationconstraintPackage = (ComputationconstraintPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ComputationconstraintPackage.eNS_URI) instanceof ComputationconstraintPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ComputationconstraintPackage.eNS_URI) : ComputationconstraintPackage.eINSTANCE);
GenericconstraintsPackageImpl theGenericconstraintsPackage = (GenericconstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GenericconstraintsPackage.eNS_URI) instanceof GenericconstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GenericconstraintsPackage.eNS_URI) : GenericconstraintsPackage.eINSTANCE);
// Create package meta-data objects
@@ -193,28 +201,34 @@ public class UserattributesPackageImpl extends EPackageImpl implements Userattri
theVariabilityPackage.createPackageContents();
theInfrastructurePackage.createPackageContents();
theDatatypesPackage.createPackageContents();
+ theValuesPackage.createPackageContents();
theElementsPackage.createPackageContents();
theStructurePackage.createPackageContents();
theFunctionmodelingPackage.createPackageContents();
- theHardwaremodelingPackage.createPackageContents();
+ theFeaturemodelingPackage.createPackageContents();
theSystemmodelingPackage.createPackageContents();
theVehiclefeaturemodelingPackage.createPackageContents();
- theFeaturemodelingPackage.createPackageContents();
- theBehaviorPackage.createPackageContents();
+ theHardwaremodelingPackage.createPackageContents();
+ theDependabilityPackage.createPackageContents();
+ theSafetyrequirementPackage.createPackageContents();
+ theSafetyconstraintsPackage.createPackageContents();
+ theSafetycasePackage.createPackageContents();
+ theErrormodelPackage.createPackageContents();
theRequirementsPackage.createPackageContents();
+ theUsecasesPackage.createPackageContents();
theVerificationvalidationPackage.createPackageContents();
+ theRequirementsPackage_1.createPackageContents();
+ theBehaviorPackage.createPackageContents();
theTimingPackage.createPackageContents();
theTimingconstraintsPackage.createPackageContents();
theEventsPackage.createPackageContents();
- theInterchangePackage.createPackageContents();
theEnvironmentPackage.createPackageContents();
- theDependabilityPackage.createPackageContents();
- theErrormodelPackage.createPackageContents();
- theSafetyrequirementPackage.createPackageContents();
- theSafetyconstraintsPackage.createPackageContents();
- theSafetycasePackage.createPackageContents();
theAnnexPackage.createPackageContents();
theNeedsPackage.createPackageContents();
+ theBehaviordescriptionPackage.createPackageContents();
+ theAttributequantificationconstraintPackage.createPackageContents();
+ theTemporalconstraintPackage.createPackageContents();
+ theComputationconstraintPackage.createPackageContents();
theGenericconstraintsPackage.createPackageContents();
// Initialize created meta-data
@@ -223,34 +237,40 @@ public class UserattributesPackageImpl extends EPackageImpl implements Userattri
theVariabilityPackage.initializePackageContents();
theInfrastructurePackage.initializePackageContents();
theDatatypesPackage.initializePackageContents();
+ theValuesPackage.initializePackageContents();
theElementsPackage.initializePackageContents();
theStructurePackage.initializePackageContents();
theFunctionmodelingPackage.initializePackageContents();
- theHardwaremodelingPackage.initializePackageContents();
+ theFeaturemodelingPackage.initializePackageContents();
theSystemmodelingPackage.initializePackageContents();
theVehiclefeaturemodelingPackage.initializePackageContents();
- theFeaturemodelingPackage.initializePackageContents();
- theBehaviorPackage.initializePackageContents();
+ theHardwaremodelingPackage.initializePackageContents();
+ theDependabilityPackage.initializePackageContents();
+ theSafetyrequirementPackage.initializePackageContents();
+ theSafetyconstraintsPackage.initializePackageContents();
+ theSafetycasePackage.initializePackageContents();
+ theErrormodelPackage.initializePackageContents();
theRequirementsPackage.initializePackageContents();
+ theUsecasesPackage.initializePackageContents();
theVerificationvalidationPackage.initializePackageContents();
+ theRequirementsPackage_1.initializePackageContents();
+ theBehaviorPackage.initializePackageContents();
theTimingPackage.initializePackageContents();
theTimingconstraintsPackage.initializePackageContents();
theEventsPackage.initializePackageContents();
- theInterchangePackage.initializePackageContents();
theEnvironmentPackage.initializePackageContents();
- theDependabilityPackage.initializePackageContents();
- theErrormodelPackage.initializePackageContents();
- theSafetyrequirementPackage.initializePackageContents();
- theSafetyconstraintsPackage.initializePackageContents();
- theSafetycasePackage.initializePackageContents();
theAnnexPackage.initializePackageContents();
theNeedsPackage.initializePackageContents();
+ theBehaviordescriptionPackage.initializePackageContents();
+ theAttributequantificationconstraintPackage.initializePackageContents();
+ theTemporalconstraintPackage.initializePackageContents();
+ theComputationconstraintPackage.initializePackageContents();
theGenericconstraintsPackage.initializePackageContents();
// Mark meta-data to indicate it can't be changed
theUserattributesPackage.freeze();
-
+
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(UserattributesPackage.eNS_URI, theUserattributesPackage);
return theUserattributesPackage;
@@ -259,7 +279,6 @@ public class UserattributesPackageImpl extends EPackageImpl implements Userattri
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private boolean isCreated = false;
@@ -267,19 +286,19 @@ public class UserattributesPackageImpl extends EPackageImpl implements Userattri
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private boolean isInitialized = false;
/**
- * Creates an instance of the model <b>Package</b>, registered with {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the
- * package
+ * 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 -->
- *
+ * <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.papyrus.eastadl.infrastructure.userattributes.UserattributesPackage#eNS_URI
* @see #init()
@@ -290,16 +309,14 @@ public class UserattributesPackageImpl extends EPackageImpl implements Userattri
}
/**
- * Creates the meta-model objects for the package. This method is
+ * 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;
+ if (isCreated) return;
isCreated = true;
// Create classes and their features
@@ -331,7 +348,6 @@ public class UserattributesPackageImpl extends EPackageImpl implements Userattri
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EClass getUserAttributeableElement() {
@@ -341,7 +357,6 @@ public class UserattributesPackageImpl extends EPackageImpl implements Userattri
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EReference getUserAttributeableElement_UaType() {
@@ -351,7 +366,6 @@ public class UserattributesPackageImpl extends EPackageImpl implements Userattri
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EReference getUserAttributeableElement_AttributedElement() {
@@ -361,7 +375,6 @@ public class UserattributesPackageImpl extends EPackageImpl implements Userattri
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EReference getUserAttributeableElement_Base_NamedElement() {
@@ -371,7 +384,6 @@ public class UserattributesPackageImpl extends EPackageImpl implements Userattri
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EReference getUserAttributeableElement_UaValue() {
@@ -381,7 +393,6 @@ public class UserattributesPackageImpl extends EPackageImpl implements Userattri
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EClass getUserAttributeDefinition() {
@@ -391,7 +402,6 @@ public class UserattributesPackageImpl extends EPackageImpl implements Userattri
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EReference getUserAttributeDefinition_Base_Class() {
@@ -401,7 +411,6 @@ public class UserattributesPackageImpl extends EPackageImpl implements Userattri
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getUserAttributeDefinition_DefaultValue() {
@@ -411,7 +420,6 @@ public class UserattributesPackageImpl extends EPackageImpl implements Userattri
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EReference getUserAttributeDefinition_Type() {
@@ -421,7 +429,6 @@ public class UserattributesPackageImpl extends EPackageImpl implements Userattri
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EReference getUserAttributeDefinition_Base_Property() {
@@ -431,7 +438,6 @@ public class UserattributesPackageImpl extends EPackageImpl implements Userattri
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EClass getUserAttributeElementType() {
@@ -441,7 +447,6 @@ public class UserattributesPackageImpl extends EPackageImpl implements Userattri
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EReference getUserAttributeElementType_Attribute() {
@@ -451,7 +456,6 @@ public class UserattributesPackageImpl extends EPackageImpl implements Userattri
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EReference getUserAttributeElementType_Base_Class() {
@@ -461,7 +465,6 @@ public class UserattributesPackageImpl extends EPackageImpl implements Userattri
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EReference getUserAttributeElementType_ExtendedElementType() {
@@ -471,7 +474,6 @@ public class UserattributesPackageImpl extends EPackageImpl implements Userattri
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getUserAttributeElementType_ValidFor() {
@@ -481,7 +483,6 @@ public class UserattributesPackageImpl extends EPackageImpl implements Userattri
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public UserattributesFactory getUserattributesFactory() {
@@ -491,7 +492,6 @@ public class UserattributesPackageImpl extends EPackageImpl implements Userattri
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EClass getUserAttributeValue() {
@@ -501,7 +501,6 @@ public class UserattributesPackageImpl extends EPackageImpl implements Userattri
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EReference getUserAttributeValue_Base_Class() {
@@ -511,7 +510,6 @@ public class UserattributesPackageImpl extends EPackageImpl implements Userattri
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EReference getUserAttributeValue_Definition() {
@@ -521,7 +519,6 @@ public class UserattributesPackageImpl extends EPackageImpl implements Userattri
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getUserAttributeValue_Value() {
@@ -531,7 +528,6 @@ public class UserattributesPackageImpl extends EPackageImpl implements Userattri
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EReference getUserAttributeValue_Base_Property() {
@@ -539,16 +535,14 @@ public class UserattributesPackageImpl extends EPackageImpl implements Userattri
}
/**
- * Complete the initialization of the package and its meta-model. This
+ * 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;
+ if (isInitialized) return;
isInitialized = true;
// Initialize package
@@ -571,7 +565,7 @@ public class UserattributesPackageImpl extends EPackageImpl implements Userattri
userAttributeDefinitionEClass.getESuperTypes().add(theElementsPackage.getEAElement());
userAttributeValueEClass.getESuperTypes().add(theElementsPackage.getEAElement());
- // Initialize classes and features; add operations and parameters
+ // Initialize classes, features, and operations; add parameters
initEClass(userAttributeElementTypeEClass, UserAttributeElementType.class, "UserAttributeElementType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getUserAttributeElementType_ExtendedElementType(), this.getUserAttributeElementType(), null, "extendedElementType", null, 0, 1, UserAttributeElementType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEReference(getUserAttributeElementType_Attribute(), this.getUserAttributeDefinition(), null, "attribute", null, 0, -1, UserAttributeElementType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/util/UserattributesAdapterFactory.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/util/UserattributesAdapterFactory.java
index 5ff3ce8c7fa..3da7a5bc24b 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/util/UserattributesAdapterFactory.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/util/UserattributesAdapterFactory.java
@@ -20,7 +20,6 @@ import org.eclipse.emf.common.notify.Notifier;
import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement;
-import org.eclipse.papyrus.eastadl.infrastructure.userattributes.*;
import org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition;
import org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType;
import org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue;
@@ -33,17 +32,14 @@ import org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserattributesP
* 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.papyrus.eastadl.infrastructure.userattributes.UserattributesPackage
* @generated
*/
public class UserattributesAdapterFactory extends AdapterFactoryImpl {
-
/**
* The cached model package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected static UserattributesPackage modelPackage;
@@ -52,51 +48,44 @@ public class UserattributesAdapterFactory extends AdapterFactoryImpl {
* The switch that delegates to the <code>createXXX</code> methods.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- protected UserattributesSwitch<Adapter> modelSwitch = new UserattributesSwitch<Adapter>() {
-
- @Override
- public Adapter caseUserAttributeElementType(UserAttributeElementType object) {
- return createUserAttributeElementTypeAdapter();
- }
-
- @Override
- public Adapter caseUserAttributeDefinition(UserAttributeDefinition object) {
- return createUserAttributeDefinitionAdapter();
- }
-
- @Override
- public Adapter caseUserAttributeableElement(UserAttributeableElement object) {
- return createUserAttributeableElementAdapter();
- }
-
- @Override
- public Adapter caseUserAttributeValue(UserAttributeValue object) {
- return createUserAttributeValueAdapter();
- }
-
- @Override
- public Adapter caseEAElement(EAElement object) {
- return createEAElementAdapter();
- }
-
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
+ protected UserattributesSwitch<Adapter> modelSwitch =
+ new UserattributesSwitch<Adapter>() {
+ @Override
+ public Adapter caseUserAttributeElementType(UserAttributeElementType object) {
+ return createUserAttributeElementTypeAdapter();
+ }
+ @Override
+ public Adapter caseUserAttributeDefinition(UserAttributeDefinition object) {
+ return createUserAttributeDefinitionAdapter();
+ }
+ @Override
+ public Adapter caseUserAttributeableElement(UserAttributeableElement object) {
+ return createUserAttributeableElementAdapter();
+ }
+ @Override
+ public Adapter caseUserAttributeValue(UserAttributeValue object) {
+ return createUserAttributeValueAdapter();
+ }
+ @Override
+ public Adapter caseEAElement(EAElement object) {
+ return createEAElementAdapter();
+ }
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
/**
* Creates an instance of the adapter factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public UserattributesAdapterFactory() {
- if(modelPackage == null) {
+ if (modelPackage == null) {
modelPackage = UserattributesPackage.eINSTANCE;
}
}
@@ -105,9 +94,7 @@ public class UserattributesAdapterFactory extends AdapterFactoryImpl {
* Creates an adapter for the <code>target</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param target
- * the object to adapt.
+ * @param target the object to adapt.
* @return the adapter for the <code>target</code>.
* @generated
*/
@@ -121,7 +108,6 @@ public class UserattributesAdapterFactory extends AdapterFactoryImpl {
* <!-- begin-user-doc -->
* This default implementation returns null.
* <!-- end-user-doc -->
- *
* @return the new adapter.
* @generated
*/
@@ -130,13 +116,11 @@ public class UserattributesAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeableElement
- * <em>User Attributeable Element</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeableElement <em>User Attributeable 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.papyrus.eastadl.infrastructure.userattributes.UserAttributeableElement
* @generated
@@ -146,13 +130,11 @@ public class UserattributesAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition
- * <em>User Attribute Definition</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition <em>User 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.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition
* @generated
@@ -162,13 +144,11 @@ public class UserattributesAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType
- * <em>User Attribute Element Type</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType <em>User Attribute Element Type</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.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType
* @generated
@@ -178,13 +158,11 @@ public class UserattributesAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue
- * <em>User Attribute Value</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue <em>User 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.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue
* @generated
@@ -199,7 +177,6 @@ public class UserattributesAdapterFactory extends AdapterFactoryImpl {
* 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.papyrus.eastadl.infrastructure.elements.EAElement
* @generated
@@ -213,16 +190,15 @@ public class UserattributesAdapterFactory extends AdapterFactoryImpl {
* <!-- 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) {
+ if (object == modelPackage) {
return true;
}
- if(object instanceof EObject) {
+ if (object instanceof EObject) {
return ((EObject)object).eClass().getEPackage() == modelPackage;
}
return false;
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/util/UserattributesResourceFactoryImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/util/UserattributesResourceFactoryImpl.java
index 9dcc5e0e118..fc67a4e8767 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/util/UserattributesResourceFactoryImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/util/UserattributesResourceFactoryImpl.java
@@ -24,17 +24,14 @@ 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.papyrus.eastadl.infrastructure.userattributes.util.UserattributesResourceImpl
* @generated
*/
public class UserattributesResourceFactoryImpl extends ResourceFactoryImpl {
-
/**
* Creates an instance of the resource factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public UserattributesResourceFactoryImpl() {
@@ -45,7 +42,6 @@ public class UserattributesResourceFactoryImpl extends ResourceFactoryImpl {
* Creates an instance of the resource.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/util/UserattributesResourceImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/util/UserattributesResourceImpl.java
index 8ca79874d3a..ffb088c941b 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/util/UserattributesResourceImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/util/UserattributesResourceImpl.java
@@ -22,19 +22,15 @@ 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.papyrus.eastadl.infrastructure.userattributes.util.UserattributesResourceFactoryImpl
* @generated
*/
public class UserattributesResourceImpl extends XMLResourceImpl {
-
/**
* Creates an instance of the resource.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param uri
- * the URI of the new resource.
+ * @param uri the URI of the new resource.
* @generated
*/
public UserattributesResourceImpl(URI uri) {
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/util/UserattributesSwitch.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/util/UserattributesSwitch.java
index 8351a7c18d0..a277781f94f 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/util/UserattributesSwitch.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/util/UserattributesSwitch.java
@@ -19,7 +19,6 @@ import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.util.Switch;
import org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement;
-import org.eclipse.papyrus.eastadl.infrastructure.userattributes.*;
import org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeDefinition;
import org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType;
import org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue;
@@ -30,23 +29,21 @@ import org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserattributesP
/**
* <!-- 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,
+ * 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.papyrus.eastadl.infrastructure.userattributes.UserattributesPackage
* @generated
*/
public class UserattributesSwitch<T> extends Switch<T> {
-
/**
* The cached model package
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected static UserattributesPackage modelPackage;
@@ -55,11 +52,10 @@ public class UserattributesSwitch<T> extends Switch<T> {
* Creates an instance of the switch.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public UserattributesSwitch() {
- if(modelPackage == null) {
+ if (modelPackage == null) {
modelPackage = UserattributesPackage.eINSTANCE;
}
}
@@ -68,7 +64,6 @@ public class UserattributesSwitch<T> extends Switch<T> {
* Checks whether this is a switch for the given package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @parameter ePackage the package in question.
* @return whether this is a switch for the given package.
* @generated
@@ -84,9 +79,7 @@ public class UserattributesSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
+ * @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>User Attributeable Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -101,9 +94,7 @@ public class UserattributesSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
+ * @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>User Attribute Definition</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -118,9 +109,7 @@ public class UserattributesSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
+ * @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>User Attribute Element Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -135,9 +124,7 @@ public class UserattributesSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
+ * @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>User Attribute Value</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -152,9 +139,7 @@ public class UserattributesSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
+ * @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EA Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -169,9 +154,7 @@ public class UserattributesSwitch<T> extends Switch<T> {
* 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.
+ * @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
@@ -185,53 +168,40 @@ public class UserattributesSwitch<T> extends Switch<T> {
* 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
*/
@Override
protected T doSwitch(int classifierID, EObject theEObject) {
- switch(classifierID) {
- case UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE:
- {
- UserAttributeElementType userAttributeElementType = (UserAttributeElementType)theEObject;
- T result = caseUserAttributeElementType(userAttributeElementType);
- if(result == null)
- result = caseEAElement(userAttributeElementType);
- if(result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case UserattributesPackage.USER_ATTRIBUTE_DEFINITION:
- {
- UserAttributeDefinition userAttributeDefinition = (UserAttributeDefinition)theEObject;
- T result = caseUserAttributeDefinition(userAttributeDefinition);
- if(result == null)
- result = caseEAElement(userAttributeDefinition);
- if(result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT:
- {
- UserAttributeableElement userAttributeableElement = (UserAttributeableElement)theEObject;
- T result = caseUserAttributeableElement(userAttributeableElement);
- if(result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case UserattributesPackage.USER_ATTRIBUTE_VALUE:
- {
- UserAttributeValue userAttributeValue = (UserAttributeValue)theEObject;
- T result = caseUserAttributeValue(userAttributeValue);
- if(result == null)
- result = caseEAElement(userAttributeValue);
- if(result == null)
- result = defaultCase(theEObject);
- return result;
- }
- default:
- return defaultCase(theEObject);
+ switch (classifierID) {
+ case UserattributesPackage.USER_ATTRIBUTE_ELEMENT_TYPE: {
+ UserAttributeElementType userAttributeElementType = (UserAttributeElementType)theEObject;
+ T result = caseUserAttributeElementType(userAttributeElementType);
+ if (result == null) result = caseEAElement(userAttributeElementType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case UserattributesPackage.USER_ATTRIBUTE_DEFINITION: {
+ UserAttributeDefinition userAttributeDefinition = (UserAttributeDefinition)theEObject;
+ T result = caseUserAttributeDefinition(userAttributeDefinition);
+ if (result == null) result = caseEAElement(userAttributeDefinition);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case UserattributesPackage.USER_ATTRIBUTEABLE_ELEMENT: {
+ UserAttributeableElement userAttributeableElement = (UserAttributeableElement)theEObject;
+ T result = caseUserAttributeableElement(userAttributeableElement);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case UserattributesPackage.USER_ATTRIBUTE_VALUE: {
+ UserAttributeValue userAttributeValue = (UserAttributeValue)theEObject;
+ T result = caseUserAttributeValue(userAttributeValue);
+ if (result == null) result = caseEAElement(userAttributeValue);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
}
}
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/util/UserattributesXMLProcessor.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/util/UserattributesXMLProcessor.java
index 8f63c4e6da2..e830b79d0c9 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/util/UserattributesXMLProcessor.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/util/UserattributesXMLProcessor.java
@@ -27,7 +27,6 @@ import org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserattributesP
* This class contains helper methods to serialize and deserialize XML documents
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public class UserattributesXMLProcessor extends XMLProcessor {
@@ -36,24 +35,22 @@ public class UserattributesXMLProcessor extends XMLProcessor {
* Public constructor to instantiate the helper.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public UserattributesXMLProcessor() {
super((EPackage.Registry.INSTANCE));
UserattributesPackage.eINSTANCE.eClass();
}
-
+
/**
* Register for "*" and "xml" file extensions the UserattributesResourceFactoryImpl factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
protected Map<String, Resource.Factory> getRegistrations() {
- if(registrations == null) {
+ if (registrations == null) {
super.getRegistrations();
registrations.put(XML_EXTENSION, new UserattributesResourceFactoryImpl());
registrations.put(STAR_EXTENSION, new UserattributesResourceFactoryImpl());
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/util/InfrastructureAdapterFactory.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/util/InfrastructureAdapterFactory.java
new file mode 100644
index 00000000000..a0ef4da4473
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/util/InfrastructureAdapterFactory.java
@@ -0,0 +1,639 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.util;
+
+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;
+import org.eclipse.papyrus.eastadl.infrastructure.*;
+
+/**
+ * <!-- 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.papyrus.eastadl.infrastructure.InfrastructurePackage
+ * @generated
+ */
+public class InfrastructureAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static InfrastructurePackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public InfrastructureAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = InfrastructurePackage.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 InfrastructureSwitch<Adapter> modelSwitch =
+ new InfrastructureSwitch<Adapter>() {
+ @Override
+ public Adapter caseInstanceRef(InstanceRef object) {
+ return createInstanceRefAdapter();
+ }
+ @Override
+ public Adapter caseTargetInstanceRef(TargetInstanceRef object) {
+ return createTargetInstanceRefAdapter();
+ }
+ @Override
+ public Adapter caseFunctionConnectorPortInstanceRef(FunctionConnectorPortInstanceRef object) {
+ return createFunctionConnectorPortInstanceRefAdapter();
+ }
+ @Override
+ public Adapter caseHardwareConnectorInstanceRef(HardwareConnectorInstanceRef object) {
+ return createHardwareConnectorInstanceRefAdapter();
+ }
+ @Override
+ public Adapter caseHardwarePortConnectorInstanceRef(HardwarePortConnectorInstanceRef object) {
+ return createHardwarePortConnectorInstanceRefAdapter();
+ }
+ @Override
+ public Adapter caseAllocatedElementInstanceRef(AllocatedElementInstanceRef object) {
+ return createAllocatedElementInstanceRefAdapter();
+ }
+ @Override
+ public Adapter caseClampConnectorInstanceRef(ClampConnectorInstanceRef object) {
+ return createClampConnectorInstanceRefAdapter();
+ }
+ @Override
+ public Adapter caseRefineInstanceRef(RefineInstanceRef object) {
+ return createRefineInstanceRefAdapter();
+ }
+ @Override
+ public Adapter caseSatisfyInstanceRef(SatisfyInstanceRef object) {
+ return createSatisfyInstanceRefAdapter();
+ }
+ @Override
+ public Adapter caseVVCaseInstanceRef(VVCaseInstanceRef object) {
+ return createVVCaseInstanceRefAdapter();
+ }
+ @Override
+ public Adapter caseVVTargetInstanceRef(VVTargetInstanceRef object) {
+ return createVVTargetInstanceRefAdapter();
+ }
+ @Override
+ public Adapter caseRealization_realizedInstanceRef(Realization_realizedInstanceRef object) {
+ return createRealization_realizedInstanceRefAdapter();
+ }
+ @Override
+ public Adapter caseRealization_realizedByInstanceRef(Realization_realizedByInstanceRef object) {
+ return createRealization_realizedByInstanceRefAdapter();
+ }
+ @Override
+ public Adapter caseEventFunctionInstanceRef(EventFunctionInstanceRef object) {
+ return createEventFunctionInstanceRefAdapter();
+ }
+ @Override
+ public Adapter caseEventFunctionClientServerPortInstanceRef(EventFunctionClientServerPortInstanceRef object) {
+ return createEventFunctionClientServerPortInstanceRefAdapter();
+ }
+ @Override
+ public Adapter caseEventFunctionFlowPortInstanceRef(EventFunctionFlowPortInstanceRef object) {
+ return createEventFunctionFlowPortInstanceRefAdapter();
+ }
+ @Override
+ public Adapter casePrecedenceConstraint_precedingInstanceRef(PrecedenceConstraint_precedingInstanceRef object) {
+ return createPrecedenceConstraint_precedingInstanceRefAdapter();
+ }
+ @Override
+ public Adapter casePrecedenceConstraint_successiveInstanceRef(PrecedenceConstraint_successiveInstanceRef object) {
+ return createPrecedenceConstraint_successiveInstanceRefAdapter();
+ }
+ @Override
+ public Adapter caseErrorModelPrototype_functionTargetInstanceRef(ErrorModelPrototype_functionTargetInstanceRef object) {
+ return createErrorModelPrototype_functionTargetInstanceRefAdapter();
+ }
+ @Override
+ public Adapter caseErrorModelPrototype_hwTargetInstanceRef(ErrorModelPrototype_hwTargetInstanceRef object) {
+ return createErrorModelPrototype_hwTargetInstanceRefAdapter();
+ }
+ @Override
+ public Adapter caseFaultFailurePort_hwTargetInstanceRef(FaultFailurePort_hwTargetInstanceRef object) {
+ return createFaultFailurePort_hwTargetInstanceRefAdapter();
+ }
+ @Override
+ public Adapter caseFaultFailurePort_functionTargetInstanceRef(FaultFailurePort_functionTargetInstanceRef object) {
+ return createFaultFailurePort_functionTargetInstanceRefAdapter();
+ }
+ @Override
+ public Adapter caseFaultFailurePropagationLink_fromPortInstanceRef(FaultFailurePropagationLink_fromPortInstanceRef object) {
+ return createFaultFailurePropagationLink_fromPortInstanceRefAdapter();
+ }
+ @Override
+ public Adapter caseFaultFailure_anomalyInstanceRef(FaultFailure_anomalyInstanceRef object) {
+ return createFaultFailure_anomalyInstanceRefAdapter();
+ }
+ @Override
+ public Adapter caseFaultFailurePropagationLink_toPortInstanceRef(FaultFailurePropagationLink_toPortInstanceRef object) {
+ return createFaultFailurePropagationLink_toPortInstanceRefAdapter();
+ }
+ @Override
+ public Adapter caseBehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef(BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef object) {
+ return createBehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRefAdapter();
+ }
+ @Override
+ public Adapter caseBehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef(BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef object) {
+ return createBehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRefAdapter();
+ }
+ @Override
+ public Adapter caseBehaviorConstraintPrototype_functionTargetInstanceRef(BehaviorConstraintPrototype_functionTargetInstanceRef object) {
+ return createBehaviorConstraintPrototype_functionTargetInstanceRefAdapter();
+ }
+ @Override
+ public Adapter caseBehaviorConstraintPrototype_hardwareComponentTargetInstanceRef(BehaviorConstraintPrototype_hardwareComponentTargetInstanceRef object) {
+ return createBehaviorConstraintPrototype_hardwareComponentTargetInstanceRefAdapter();
+ }
+ @Override
+ public Adapter caseBehaviorConstraintPrototype_errorModelTargetInstanceRef(BehaviorConstraintPrototype_errorModelTargetInstanceRef object) {
+ return createBehaviorConstraintPrototype_errorModelTargetInstanceRefAdapter();
+ }
+ @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.papyrus.eastadl.infrastructure.InstanceRef <em>Instance Ref</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.papyrus.eastadl.infrastructure.InstanceRef
+ * @generated
+ */
+ public Adapter createInstanceRefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.TargetInstanceRef <em>Target Instance Ref</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.papyrus.eastadl.infrastructure.TargetInstanceRef
+ * @generated
+ */
+ public Adapter createTargetInstanceRefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.FunctionConnectorPortInstanceRef <em>Function Connector Port Instance Ref</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.papyrus.eastadl.infrastructure.FunctionConnectorPortInstanceRef
+ * @generated
+ */
+ public Adapter createFunctionConnectorPortInstanceRefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.HardwareConnectorInstanceRef <em>Hardware Connector Instance Ref</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.papyrus.eastadl.infrastructure.HardwareConnectorInstanceRef
+ * @generated
+ */
+ public Adapter createHardwareConnectorInstanceRefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.HardwarePortConnectorInstanceRef <em>Hardware Port Connector Instance Ref</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.papyrus.eastadl.infrastructure.HardwarePortConnectorInstanceRef
+ * @generated
+ */
+ public Adapter createHardwarePortConnectorInstanceRefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.AllocatedElementInstanceRef <em>Allocated Element Instance Ref</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.papyrus.eastadl.infrastructure.AllocatedElementInstanceRef
+ * @generated
+ */
+ public Adapter createAllocatedElementInstanceRefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.ClampConnectorInstanceRef <em>Clamp Connector Instance Ref</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.papyrus.eastadl.infrastructure.ClampConnectorInstanceRef
+ * @generated
+ */
+ public Adapter createClampConnectorInstanceRefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.RefineInstanceRef <em>Refine Instance Ref</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.papyrus.eastadl.infrastructure.RefineInstanceRef
+ * @generated
+ */
+ public Adapter createRefineInstanceRefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.SatisfyInstanceRef <em>Satisfy Instance Ref</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.papyrus.eastadl.infrastructure.SatisfyInstanceRef
+ * @generated
+ */
+ public Adapter createSatisfyInstanceRefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.VVCaseInstanceRef <em>VV Case Instance Ref</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.papyrus.eastadl.infrastructure.VVCaseInstanceRef
+ * @generated
+ */
+ public Adapter createVVCaseInstanceRefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.VVTargetInstanceRef <em>VV Target Instance Ref</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.papyrus.eastadl.infrastructure.VVTargetInstanceRef
+ * @generated
+ */
+ public Adapter createVVTargetInstanceRefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.Realization_realizedInstanceRef <em>Realization realized Instance Ref</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.papyrus.eastadl.infrastructure.Realization_realizedInstanceRef
+ * @generated
+ */
+ public Adapter createRealization_realizedInstanceRefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.Realization_realizedByInstanceRef <em>Realization realized By Instance Ref</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.papyrus.eastadl.infrastructure.Realization_realizedByInstanceRef
+ * @generated
+ */
+ public Adapter createRealization_realizedByInstanceRefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.EventFunctionInstanceRef <em>Event Function Instance Ref</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.papyrus.eastadl.infrastructure.EventFunctionInstanceRef
+ * @generated
+ */
+ public Adapter createEventFunctionInstanceRefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.EventFunctionClientServerPortInstanceRef <em>Event Function Client Server Port Instance Ref</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.papyrus.eastadl.infrastructure.EventFunctionClientServerPortInstanceRef
+ * @generated
+ */
+ public Adapter createEventFunctionClientServerPortInstanceRefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.EventFunctionFlowPortInstanceRef <em>Event Function Flow Port Instance Ref</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.papyrus.eastadl.infrastructure.EventFunctionFlowPortInstanceRef
+ * @generated
+ */
+ public Adapter createEventFunctionFlowPortInstanceRefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.PrecedenceConstraint_precedingInstanceRef <em>Precedence Constraint preceding Instance Ref</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.papyrus.eastadl.infrastructure.PrecedenceConstraint_precedingInstanceRef
+ * @generated
+ */
+ public Adapter createPrecedenceConstraint_precedingInstanceRefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.PrecedenceConstraint_successiveInstanceRef <em>Precedence Constraint successive Instance Ref</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.papyrus.eastadl.infrastructure.PrecedenceConstraint_successiveInstanceRef
+ * @generated
+ */
+ public Adapter createPrecedenceConstraint_successiveInstanceRefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.ErrorModelPrototype_functionTargetInstanceRef <em>Error Model Prototype function Target Instance Ref</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.papyrus.eastadl.infrastructure.ErrorModelPrototype_functionTargetInstanceRef
+ * @generated
+ */
+ public Adapter createErrorModelPrototype_functionTargetInstanceRefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.ErrorModelPrototype_hwTargetInstanceRef <em>Error Model Prototype hw Target Instance Ref</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.papyrus.eastadl.infrastructure.ErrorModelPrototype_hwTargetInstanceRef
+ * @generated
+ */
+ public Adapter createErrorModelPrototype_hwTargetInstanceRefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePort_hwTargetInstanceRef <em>Fault Failure Port hw Target Instance Ref</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.papyrus.eastadl.infrastructure.FaultFailurePort_hwTargetInstanceRef
+ * @generated
+ */
+ public Adapter createFaultFailurePort_hwTargetInstanceRefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePort_functionTargetInstanceRef <em>Fault Failure Port function Target Instance Ref</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.papyrus.eastadl.infrastructure.FaultFailurePort_functionTargetInstanceRef
+ * @generated
+ */
+ public Adapter createFaultFailurePort_functionTargetInstanceRefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePropagationLink_fromPortInstanceRef <em>Fault Failure Propagation Link from Port Instance Ref</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.papyrus.eastadl.infrastructure.FaultFailurePropagationLink_fromPortInstanceRef
+ * @generated
+ */
+ public Adapter createFaultFailurePropagationLink_fromPortInstanceRefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.FaultFailure_anomalyInstanceRef <em>Fault Failure anomaly Instance Ref</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.papyrus.eastadl.infrastructure.FaultFailure_anomalyInstanceRef
+ * @generated
+ */
+ public Adapter createFaultFailure_anomalyInstanceRefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.FaultFailurePropagationLink_toPortInstanceRef <em>Fault Failure Propagation Link to Port Instance Ref</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.papyrus.eastadl.infrastructure.FaultFailurePropagationLink_toPortInstanceRef
+ * @generated
+ */
+ public Adapter createFaultFailurePropagationLink_toPortInstanceRefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef <em>Behavior Constraint Internal Binding through Function Connector Instance Ref</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.papyrus.eastadl.infrastructure.BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef
+ * @generated
+ */
+ public Adapter createBehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef <em>Behavior Constraint Internal Binding through Hardware Connector Instance Ref</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.papyrus.eastadl.infrastructure.BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef
+ * @generated
+ */
+ public Adapter createBehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_functionTargetInstanceRef <em>Behavior Constraint Prototype function Target Instance Ref</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.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_functionTargetInstanceRef
+ * @generated
+ */
+ public Adapter createBehaviorConstraintPrototype_functionTargetInstanceRefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_hardwareComponentTargetInstanceRef <em>Behavior Constraint Prototype hardware Component Target Instance Ref</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.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_hardwareComponentTargetInstanceRef
+ * @generated
+ */
+ public Adapter createBehaviorConstraintPrototype_hardwareComponentTargetInstanceRefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_errorModelTargetInstanceRef <em>Behavior Constraint Prototype error Model Target Instance Ref</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.papyrus.eastadl.infrastructure.BehaviorConstraintPrototype_errorModelTargetInstanceRef
+ * @generated
+ */
+ public Adapter createBehaviorConstraintPrototype_errorModelTargetInstanceRefAdapter() {
+ 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;
+ }
+
+} //InfrastructureAdapterFactory
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/util/InfrastructureResourceFactoryImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/util/InfrastructureResourceFactoryImpl.java
index a626eac9396..9c26f067eac 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/util/InfrastructureResourceFactoryImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/util/InfrastructureResourceFactoryImpl.java
@@ -18,22 +18,20 @@ package org.eclipse.papyrus.eastadl.infrastructure.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.papyrus.eastadl.infrastructure.util.InfrastructureResourceImpl
* @generated
*/
public class InfrastructureResourceFactoryImpl extends ResourceFactoryImpl {
-
/**
* Creates an instance of the resource factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public InfrastructureResourceFactoryImpl() {
@@ -44,12 +42,20 @@ public class InfrastructureResourceFactoryImpl extends ResourceFactoryImpl {
* Creates an instance of the resource.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Resource createResource(URI uri) {
- Resource result = new InfrastructureResourceImpl(uri);
+ XMLResource result = new InfrastructureResourceImpl(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;
}
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/util/InfrastructureResourceImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/util/InfrastructureResourceImpl.java
index e916510c600..9c606fcdc79 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/util/InfrastructureResourceImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/util/InfrastructureResourceImpl.java
@@ -22,19 +22,15 @@ 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.papyrus.eastadl.infrastructure.util.InfrastructureResourceFactoryImpl
* @generated
*/
public class InfrastructureResourceImpl extends XMLResourceImpl {
-
/**
* Creates an instance of the resource.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param uri
- * the URI of the new resource.
+ * @param uri the URI of the new resource.
* @generated
*/
public InfrastructureResourceImpl(URI uri) {
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/util/InfrastructureSwitch.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/util/InfrastructureSwitch.java
new file mode 100644
index 00000000000..56c06e8ee5a
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/util/InfrastructureSwitch.java
@@ -0,0 +1,746 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.util;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.util.Switch;
+import org.eclipse.papyrus.eastadl.infrastructure.*;
+
+/**
+ * <!-- 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.papyrus.eastadl.infrastructure.InfrastructurePackage
+ * @generated
+ */
+public class InfrastructureSwitch<T> extends Switch<T> {
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static InfrastructurePackage modelPackage;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public InfrastructureSwitch() {
+ if (modelPackage == null) {
+ modelPackage = InfrastructurePackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Checks whether this is a switch for the given package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @parameter ePackage the package in question.
+ * @return whether this is a switch for the given package.
+ * @generated
+ */
+ @Override
+ protected boolean isSwitchFor(EPackage ePackage) {
+ return ePackage == modelPackage;
+ }
+
+ /**
+ * 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
+ */
+ @Override
+ protected T doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID) {
+ case InfrastructurePackage.INSTANCE_REF: {
+ InstanceRef instanceRef = (InstanceRef)theEObject;
+ T result = caseInstanceRef(instanceRef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case InfrastructurePackage.TARGET_INSTANCE_REF: {
+ TargetInstanceRef targetInstanceRef = (TargetInstanceRef)theEObject;
+ T result = caseTargetInstanceRef(targetInstanceRef);
+ if (result == null) result = caseInstanceRef(targetInstanceRef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case InfrastructurePackage.FUNCTION_CONNECTOR_PORT_INSTANCE_REF: {
+ FunctionConnectorPortInstanceRef functionConnectorPortInstanceRef = (FunctionConnectorPortInstanceRef)theEObject;
+ T result = caseFunctionConnectorPortInstanceRef(functionConnectorPortInstanceRef);
+ if (result == null) result = caseInstanceRef(functionConnectorPortInstanceRef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case InfrastructurePackage.HARDWARE_CONNECTOR_INSTANCE_REF: {
+ HardwareConnectorInstanceRef hardwareConnectorInstanceRef = (HardwareConnectorInstanceRef)theEObject;
+ T result = caseHardwareConnectorInstanceRef(hardwareConnectorInstanceRef);
+ if (result == null) result = caseInstanceRef(hardwareConnectorInstanceRef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case InfrastructurePackage.HARDWARE_PORT_CONNECTOR_INSTANCE_REF: {
+ HardwarePortConnectorInstanceRef hardwarePortConnectorInstanceRef = (HardwarePortConnectorInstanceRef)theEObject;
+ T result = caseHardwarePortConnectorInstanceRef(hardwarePortConnectorInstanceRef);
+ if (result == null) result = caseInstanceRef(hardwarePortConnectorInstanceRef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case InfrastructurePackage.ALLOCATED_ELEMENT_INSTANCE_REF: {
+ AllocatedElementInstanceRef allocatedElementInstanceRef = (AllocatedElementInstanceRef)theEObject;
+ T result = caseAllocatedElementInstanceRef(allocatedElementInstanceRef);
+ if (result == null) result = caseInstanceRef(allocatedElementInstanceRef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case InfrastructurePackage.CLAMP_CONNECTOR_INSTANCE_REF: {
+ ClampConnectorInstanceRef clampConnectorInstanceRef = (ClampConnectorInstanceRef)theEObject;
+ T result = caseClampConnectorInstanceRef(clampConnectorInstanceRef);
+ if (result == null) result = caseInstanceRef(clampConnectorInstanceRef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case InfrastructurePackage.REFINE_INSTANCE_REF: {
+ RefineInstanceRef refineInstanceRef = (RefineInstanceRef)theEObject;
+ T result = caseRefineInstanceRef(refineInstanceRef);
+ if (result == null) result = caseInstanceRef(refineInstanceRef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case InfrastructurePackage.SATISFY_INSTANCE_REF: {
+ SatisfyInstanceRef satisfyInstanceRef = (SatisfyInstanceRef)theEObject;
+ T result = caseSatisfyInstanceRef(satisfyInstanceRef);
+ if (result == null) result = caseInstanceRef(satisfyInstanceRef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case InfrastructurePackage.VV_CASE_INSTANCE_REF: {
+ VVCaseInstanceRef vvCaseInstanceRef = (VVCaseInstanceRef)theEObject;
+ T result = caseVVCaseInstanceRef(vvCaseInstanceRef);
+ if (result == null) result = caseInstanceRef(vvCaseInstanceRef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case InfrastructurePackage.VV_TARGET_INSTANCE_REF: {
+ VVTargetInstanceRef vvTargetInstanceRef = (VVTargetInstanceRef)theEObject;
+ T result = caseVVTargetInstanceRef(vvTargetInstanceRef);
+ if (result == null) result = caseInstanceRef(vvTargetInstanceRef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case InfrastructurePackage.REALIZATION_REALIZED_INSTANCE_REF: {
+ Realization_realizedInstanceRef realization_realizedInstanceRef = (Realization_realizedInstanceRef)theEObject;
+ T result = caseRealization_realizedInstanceRef(realization_realizedInstanceRef);
+ if (result == null) result = caseInstanceRef(realization_realizedInstanceRef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case InfrastructurePackage.REALIZATION_REALIZED_BY_INSTANCE_REF: {
+ Realization_realizedByInstanceRef realization_realizedByInstanceRef = (Realization_realizedByInstanceRef)theEObject;
+ T result = caseRealization_realizedByInstanceRef(realization_realizedByInstanceRef);
+ if (result == null) result = caseInstanceRef(realization_realizedByInstanceRef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case InfrastructurePackage.EVENT_FUNCTION_INSTANCE_REF: {
+ EventFunctionInstanceRef eventFunctionInstanceRef = (EventFunctionInstanceRef)theEObject;
+ T result = caseEventFunctionInstanceRef(eventFunctionInstanceRef);
+ if (result == null) result = caseInstanceRef(eventFunctionInstanceRef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case InfrastructurePackage.EVENT_FUNCTION_CLIENT_SERVER_PORT_INSTANCE_REF: {
+ EventFunctionClientServerPortInstanceRef eventFunctionClientServerPortInstanceRef = (EventFunctionClientServerPortInstanceRef)theEObject;
+ T result = caseEventFunctionClientServerPortInstanceRef(eventFunctionClientServerPortInstanceRef);
+ if (result == null) result = caseInstanceRef(eventFunctionClientServerPortInstanceRef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case InfrastructurePackage.EVENT_FUNCTION_FLOW_PORT_INSTANCE_REF: {
+ EventFunctionFlowPortInstanceRef eventFunctionFlowPortInstanceRef = (EventFunctionFlowPortInstanceRef)theEObject;
+ T result = caseEventFunctionFlowPortInstanceRef(eventFunctionFlowPortInstanceRef);
+ if (result == null) result = caseInstanceRef(eventFunctionFlowPortInstanceRef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case InfrastructurePackage.PRECEDENCE_CONSTRAINT_PRECEDING_INSTANCE_REF: {
+ PrecedenceConstraint_precedingInstanceRef precedenceConstraint_precedingInstanceRef = (PrecedenceConstraint_precedingInstanceRef)theEObject;
+ T result = casePrecedenceConstraint_precedingInstanceRef(precedenceConstraint_precedingInstanceRef);
+ if (result == null) result = caseInstanceRef(precedenceConstraint_precedingInstanceRef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case InfrastructurePackage.PRECEDENCE_CONSTRAINT_SUCCESSIVE_INSTANCE_REF: {
+ PrecedenceConstraint_successiveInstanceRef precedenceConstraint_successiveInstanceRef = (PrecedenceConstraint_successiveInstanceRef)theEObject;
+ T result = casePrecedenceConstraint_successiveInstanceRef(precedenceConstraint_successiveInstanceRef);
+ if (result == null) result = caseInstanceRef(precedenceConstraint_successiveInstanceRef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case InfrastructurePackage.ERROR_MODEL_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF: {
+ ErrorModelPrototype_functionTargetInstanceRef errorModelPrototype_functionTargetInstanceRef = (ErrorModelPrototype_functionTargetInstanceRef)theEObject;
+ T result = caseErrorModelPrototype_functionTargetInstanceRef(errorModelPrototype_functionTargetInstanceRef);
+ if (result == null) result = caseInstanceRef(errorModelPrototype_functionTargetInstanceRef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case InfrastructurePackage.ERROR_MODEL_PROTOTYPE_HW_TARGET_INSTANCE_REF: {
+ ErrorModelPrototype_hwTargetInstanceRef errorModelPrototype_hwTargetInstanceRef = (ErrorModelPrototype_hwTargetInstanceRef)theEObject;
+ T result = caseErrorModelPrototype_hwTargetInstanceRef(errorModelPrototype_hwTargetInstanceRef);
+ if (result == null) result = caseInstanceRef(errorModelPrototype_hwTargetInstanceRef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case InfrastructurePackage.FAULT_FAILURE_PORT_HW_TARGET_INSTANCE_REF: {
+ FaultFailurePort_hwTargetInstanceRef faultFailurePort_hwTargetInstanceRef = (FaultFailurePort_hwTargetInstanceRef)theEObject;
+ T result = caseFaultFailurePort_hwTargetInstanceRef(faultFailurePort_hwTargetInstanceRef);
+ if (result == null) result = caseInstanceRef(faultFailurePort_hwTargetInstanceRef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case InfrastructurePackage.FAULT_FAILURE_PORT_FUNCTION_TARGET_INSTANCE_REF: {
+ FaultFailurePort_functionTargetInstanceRef faultFailurePort_functionTargetInstanceRef = (FaultFailurePort_functionTargetInstanceRef)theEObject;
+ T result = caseFaultFailurePort_functionTargetInstanceRef(faultFailurePort_functionTargetInstanceRef);
+ if (result == null) result = caseInstanceRef(faultFailurePort_functionTargetInstanceRef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case InfrastructurePackage.FAULT_FAILURE_PROPAGATION_LINK_FROM_PORT_INSTANCE_REF: {
+ FaultFailurePropagationLink_fromPortInstanceRef faultFailurePropagationLink_fromPortInstanceRef = (FaultFailurePropagationLink_fromPortInstanceRef)theEObject;
+ T result = caseFaultFailurePropagationLink_fromPortInstanceRef(faultFailurePropagationLink_fromPortInstanceRef);
+ if (result == null) result = caseInstanceRef(faultFailurePropagationLink_fromPortInstanceRef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case InfrastructurePackage.FAULT_FAILURE_ANOMALY_INSTANCE_REF: {
+ FaultFailure_anomalyInstanceRef faultFailure_anomalyInstanceRef = (FaultFailure_anomalyInstanceRef)theEObject;
+ T result = caseFaultFailure_anomalyInstanceRef(faultFailure_anomalyInstanceRef);
+ if (result == null) result = caseInstanceRef(faultFailure_anomalyInstanceRef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case InfrastructurePackage.FAULT_FAILURE_PROPAGATION_LINK_TO_PORT_INSTANCE_REF: {
+ FaultFailurePropagationLink_toPortInstanceRef faultFailurePropagationLink_toPortInstanceRef = (FaultFailurePropagationLink_toPortInstanceRef)theEObject;
+ T result = caseFaultFailurePropagationLink_toPortInstanceRef(faultFailurePropagationLink_toPortInstanceRef);
+ if (result == null) result = caseInstanceRef(faultFailurePropagationLink_toPortInstanceRef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_FUNCTION_CONNECTOR_INSTANCE_REF: {
+ BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef behaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef = (BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef)theEObject;
+ T result = caseBehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef(behaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef);
+ if (result == null) result = caseInstanceRef(behaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_INTERNAL_BINDING_THROUGH_HARDWARE_CONNECTOR_INSTANCE_REF: {
+ BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef behaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef = (BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef)theEObject;
+ T result = caseBehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef(behaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef);
+ if (result == null) result = caseInstanceRef(behaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_FUNCTION_TARGET_INSTANCE_REF: {
+ BehaviorConstraintPrototype_functionTargetInstanceRef behaviorConstraintPrototype_functionTargetInstanceRef = (BehaviorConstraintPrototype_functionTargetInstanceRef)theEObject;
+ T result = caseBehaviorConstraintPrototype_functionTargetInstanceRef(behaviorConstraintPrototype_functionTargetInstanceRef);
+ if (result == null) result = caseInstanceRef(behaviorConstraintPrototype_functionTargetInstanceRef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_HARDWARE_COMPONENT_TARGET_INSTANCE_REF: {
+ BehaviorConstraintPrototype_hardwareComponentTargetInstanceRef behaviorConstraintPrototype_hardwareComponentTargetInstanceRef = (BehaviorConstraintPrototype_hardwareComponentTargetInstanceRef)theEObject;
+ T result = caseBehaviorConstraintPrototype_hardwareComponentTargetInstanceRef(behaviorConstraintPrototype_hardwareComponentTargetInstanceRef);
+ if (result == null) result = caseInstanceRef(behaviorConstraintPrototype_hardwareComponentTargetInstanceRef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case InfrastructurePackage.BEHAVIOR_CONSTRAINT_PROTOTYPE_ERROR_MODEL_TARGET_INSTANCE_REF: {
+ BehaviorConstraintPrototype_errorModelTargetInstanceRef behaviorConstraintPrototype_errorModelTargetInstanceRef = (BehaviorConstraintPrototype_errorModelTargetInstanceRef)theEObject;
+ T result = caseBehaviorConstraintPrototype_errorModelTargetInstanceRef(behaviorConstraintPrototype_errorModelTargetInstanceRef);
+ if (result == null) result = caseInstanceRef(behaviorConstraintPrototype_errorModelTargetInstanceRef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Instance Ref</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>Instance Ref</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseInstanceRef(InstanceRef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Target Instance Ref</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>Target Instance Ref</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTargetInstanceRef(TargetInstanceRef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Function Connector Port Instance Ref</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>Function Connector Port Instance Ref</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseFunctionConnectorPortInstanceRef(FunctionConnectorPortInstanceRef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Hardware Connector Instance Ref</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>Hardware Connector Instance Ref</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseHardwareConnectorInstanceRef(HardwareConnectorInstanceRef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Hardware Port Connector Instance Ref</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>Hardware Port Connector Instance Ref</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseHardwarePortConnectorInstanceRef(HardwarePortConnectorInstanceRef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Allocated Element Instance Ref</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>Allocated Element Instance Ref</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseAllocatedElementInstanceRef(AllocatedElementInstanceRef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Clamp Connector Instance Ref</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>Clamp Connector Instance Ref</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseClampConnectorInstanceRef(ClampConnectorInstanceRef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Refine Instance Ref</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>Refine Instance Ref</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseRefineInstanceRef(RefineInstanceRef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Satisfy Instance Ref</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>Satisfy Instance Ref</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseSatisfyInstanceRef(SatisfyInstanceRef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>VV Case Instance Ref</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>VV Case Instance Ref</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseVVCaseInstanceRef(VVCaseInstanceRef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>VV Target Instance Ref</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>VV Target Instance Ref</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseVVTargetInstanceRef(VVTargetInstanceRef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Realization realized Instance Ref</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>Realization realized Instance Ref</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseRealization_realizedInstanceRef(Realization_realizedInstanceRef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Realization realized By Instance Ref</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>Realization realized By Instance Ref</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseRealization_realizedByInstanceRef(Realization_realizedByInstanceRef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Event Function Instance Ref</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 Function Instance Ref</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseEventFunctionInstanceRef(EventFunctionInstanceRef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Event Function Client Server Port Instance Ref</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 Function Client Server Port Instance Ref</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseEventFunctionClientServerPortInstanceRef(EventFunctionClientServerPortInstanceRef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Event Function Flow Port Instance Ref</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 Function Flow Port Instance Ref</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseEventFunctionFlowPortInstanceRef(EventFunctionFlowPortInstanceRef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Precedence Constraint preceding Instance Ref</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>Precedence Constraint preceding Instance Ref</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T casePrecedenceConstraint_precedingInstanceRef(PrecedenceConstraint_precedingInstanceRef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Precedence Constraint successive Instance Ref</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>Precedence Constraint successive Instance Ref</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T casePrecedenceConstraint_successiveInstanceRef(PrecedenceConstraint_successiveInstanceRef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Error Model Prototype function Target Instance Ref</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 Model Prototype function Target Instance Ref</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseErrorModelPrototype_functionTargetInstanceRef(ErrorModelPrototype_functionTargetInstanceRef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Error Model Prototype hw Target Instance Ref</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 Model Prototype hw Target Instance Ref</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseErrorModelPrototype_hwTargetInstanceRef(ErrorModelPrototype_hwTargetInstanceRef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Fault Failure Port hw Target Instance Ref</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>Fault Failure Port hw Target Instance Ref</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseFaultFailurePort_hwTargetInstanceRef(FaultFailurePort_hwTargetInstanceRef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Fault Failure Port function Target Instance Ref</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>Fault Failure Port function Target Instance Ref</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseFaultFailurePort_functionTargetInstanceRef(FaultFailurePort_functionTargetInstanceRef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Fault Failure Propagation Link from Port Instance Ref</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>Fault Failure Propagation Link from Port Instance Ref</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseFaultFailurePropagationLink_fromPortInstanceRef(FaultFailurePropagationLink_fromPortInstanceRef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Fault Failure anomaly Instance Ref</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>Fault Failure anomaly Instance Ref</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseFaultFailure_anomalyInstanceRef(FaultFailure_anomalyInstanceRef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Fault Failure Propagation Link to Port Instance Ref</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>Fault Failure Propagation Link to Port Instance Ref</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseFaultFailurePropagationLink_toPortInstanceRef(FaultFailurePropagationLink_toPortInstanceRef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Behavior Constraint Internal Binding through Function Connector Instance Ref</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>Behavior Constraint Internal Binding through Function Connector Instance Ref</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseBehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef(BehaviorConstraintInternalBinding_throughFunctionConnectorInstanceRef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Behavior Constraint Internal Binding through Hardware Connector Instance Ref</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>Behavior Constraint Internal Binding through Hardware Connector Instance Ref</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseBehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef(BehaviorConstraintInternalBinding_throughHardwareConnectorInstanceRef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Behavior Constraint Prototype function Target Instance Ref</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>Behavior Constraint Prototype function Target Instance Ref</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseBehaviorConstraintPrototype_functionTargetInstanceRef(BehaviorConstraintPrototype_functionTargetInstanceRef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Behavior Constraint Prototype hardware Component Target Instance Ref</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>Behavior Constraint Prototype hardware Component Target Instance Ref</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseBehaviorConstraintPrototype_hardwareComponentTargetInstanceRef(BehaviorConstraintPrototype_hardwareComponentTargetInstanceRef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Behavior Constraint Prototype error Model Target Instance Ref</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>Behavior Constraint Prototype error Model Target Instance Ref</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseBehaviorConstraintPrototype_errorModelTargetInstanceRef(BehaviorConstraintPrototype_errorModelTargetInstanceRef 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
+ */
+ @Override
+ public T defaultCase(EObject object) {
+ return null;
+ }
+
+} //InfrastructureSwitch
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/util/InfrastructureXMLProcessor.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/util/InfrastructureXMLProcessor.java
index 704f8e55f65..9b17cf0f6a5 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/util/InfrastructureXMLProcessor.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/util/InfrastructureXMLProcessor.java
@@ -27,7 +27,6 @@ import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
* This class contains helper methods to serialize and deserialize XML documents
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public class InfrastructureXMLProcessor extends XMLProcessor {
@@ -36,24 +35,22 @@ public class InfrastructureXMLProcessor extends XMLProcessor {
* Public constructor to instantiate the helper.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public InfrastructureXMLProcessor() {
super((EPackage.Registry.INSTANCE));
InfrastructurePackage.eINSTANCE.eClass();
}
-
+
/**
* Register for "*" and "xml" file extensions the InfrastructureResourceFactoryImpl factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
protected Map<String, Resource.Factory> getRegistrations() {
- if(registrations == null) {
+ if (registrations == null) {
super.getRegistrations();
registrations.put(XML_EXTENSION, new InfrastructureResourceFactoryImpl());
registrations.put(STAR_EXTENSION, new InfrastructureResourceFactoryImpl());
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/EAArrayValue.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/EAArrayValue.java
new file mode 100644
index 00000000000..afa8cffa234
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/EAArrayValue.java
@@ -0,0 +1,40 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.values;
+
+import org.eclipse.emf.common.util.EList;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EA Array Value</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.values.EAArrayValue#getValue <em>Value</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.ValuesPackage#getEAArrayValue()
+ * @model
+ * @generated
+ */
+public interface EAArrayValue extends EAValue {
+ /**
+ * Returns the value of the '<em><b>Value</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.eastadl.infrastructure.values.EAValue}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Value</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>Value</em>' reference list.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.ValuesPackage#getEAArrayValue_Value()
+ * @model ordered="false"
+ * @generated
+ */
+ EList<EAValue> getValue();
+
+} // EAArrayValue
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/EABooleanValue.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/EABooleanValue.java
new file mode 100644
index 00000000000..d03ba95e9de
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/EABooleanValue.java
@@ -0,0 +1,49 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.values;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EA Boolean Value</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.values.EABooleanValue#isValue <em>Value</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.ValuesPackage#getEABooleanValue()
+ * @model
+ * @generated
+ */
+public interface EABooleanValue extends EAValue {
+ /**
+ * 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(boolean)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.ValuesPackage#getEABooleanValue_Value()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ boolean isValue();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.values.EABooleanValue#isValue <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Value</em>' attribute.
+ * @see #isValue()
+ * @generated
+ */
+ void setValue(boolean value);
+
+} // EABooleanValue
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/EACompositeValue.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/EACompositeValue.java
new file mode 100644
index 00000000000..b72fdb61a1a
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/EACompositeValue.java
@@ -0,0 +1,40 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.values;
+
+import org.eclipse.emf.common.util.EList;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EA Composite Value</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.values.EACompositeValue#getValue <em>Value</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.ValuesPackage#getEACompositeValue()
+ * @model
+ * @generated
+ */
+public interface EACompositeValue extends EAValue {
+ /**
+ * Returns the value of the '<em><b>Value</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.eastadl.infrastructure.values.EAValue}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Value</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>Value</em>' reference list.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.ValuesPackage#getEACompositeValue_Value()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ EList<EAValue> getValue();
+
+} // EACompositeValue
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/EAEnumerationValue.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/EAEnumerationValue.java
new file mode 100644
index 00000000000..215828e379b
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/EAEnumerationValue.java
@@ -0,0 +1,41 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.values;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EnumerationLiteral;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EA Enumeration Value</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.values.EAEnumerationValue#getValue <em>Value</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.ValuesPackage#getEAEnumerationValue()
+ * @model
+ * @generated
+ */
+public interface EAEnumerationValue extends EAValue {
+ /**
+ * Returns the value of the '<em><b>Value</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EnumerationLiteral}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Value</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>Value</em>' reference list.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.ValuesPackage#getEAEnumerationValue_Value()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ EList<EnumerationLiteral> getValue();
+
+} // EAEnumerationValue
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/EAExpression.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/EAExpression.java
new file mode 100644
index 00000000000..f102d7a5c57
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/EAExpression.java
@@ -0,0 +1,17 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.values;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EA Expression</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.ValuesPackage#getEAExpression()
+ * @model
+ * @generated
+ */
+public interface EAExpression extends EAValue {
+} // EAExpression
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/EANumericalValue.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/EANumericalValue.java
new file mode 100644
index 00000000000..22eb7f7a5e0
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/EANumericalValue.java
@@ -0,0 +1,49 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.values;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EA Numerical Value</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.values.EANumericalValue#getValue <em>Value</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.ValuesPackage#getEANumericalValue()
+ * @model
+ * @generated
+ */
+public interface EANumericalValue extends EAValue {
+ /**
+ * 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(Float)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.ValuesPackage#getEANumericalValue_Value()
+ * @model dataType="org.eclipse.papyrus.eastadl.infrastructure.datatypes.Numerical" required="true" ordered="false"
+ * @generated
+ */
+ Float getValue();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.values.EANumericalValue#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(Float value);
+
+} // EANumericalValue
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/EAStringValue.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/EAStringValue.java
new file mode 100644
index 00000000000..a520dec0b24
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/EAStringValue.java
@@ -0,0 +1,49 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.values;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EA String Value</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.values.EAStringValue#getValue <em>Value</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.ValuesPackage#getEAStringValue()
+ * @model
+ * @generated
+ */
+public interface EAStringValue extends EAValue {
+ /**
+ * 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.papyrus.eastadl.infrastructure.values.ValuesPackage#getEAStringValue_Value()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ String getValue();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.values.EAStringValue#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);
+
+} // EAStringValue
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/EAValue.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/EAValue.java
new file mode 100644
index 00000000000..462910af75c
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/EAValue.java
@@ -0,0 +1,79 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.values;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatype;
+import org.eclipse.uml2.uml.ValueSpecification;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EA Value</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.values.EAValue#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.values.EAValue#getBase_ValueSpecification <em>Base Value Specification</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.ValuesPackage#getEAValue()
+ * @model abstract="true"
+ * @generated
+ */
+public interface EAValue extends EObject {
+ /**
+ * 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(EADatatype)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.ValuesPackage#getEAValue_Type()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ EADatatype getType();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.values.EAValue#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(EADatatype value);
+
+ /**
+ * Returns the value of the '<em><b>Base Value Specification</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Base Value Specification</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Base Value Specification</em>' reference.
+ * @see #setBase_ValueSpecification(ValueSpecification)
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.ValuesPackage#getEAValue_Base_ValueSpecification()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ ValueSpecification getBase_ValueSpecification();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.infrastructure.values.EAValue#getBase_ValueSpecification <em>Base Value Specification</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Base Value Specification</em>' reference.
+ * @see #getBase_ValueSpecification()
+ * @generated
+ */
+ void setBase_ValueSpecification(ValueSpecification value);
+
+} // EAValue
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/ValuesFactory.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/ValuesFactory.java
new file mode 100644
index 00000000000..1bd271da760
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/ValuesFactory.java
@@ -0,0 +1,96 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.values;
+
+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.papyrus.eastadl.infrastructure.values.ValuesPackage
+ * @generated
+ */
+public interface ValuesFactory extends EFactory {
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ ValuesFactory eINSTANCE = org.eclipse.papyrus.eastadl.infrastructure.values.impl.ValuesFactoryImpl.init();
+
+ /**
+ * Returns a new object of class '<em>EA Array Value</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>EA Array Value</em>'.
+ * @generated
+ */
+ EAArrayValue createEAArrayValue();
+
+ /**
+ * Returns a new object of class '<em>EA Boolean Value</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>EA Boolean Value</em>'.
+ * @generated
+ */
+ EABooleanValue createEABooleanValue();
+
+ /**
+ * Returns a new object of class '<em>EA Composite Value</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>EA Composite Value</em>'.
+ * @generated
+ */
+ EACompositeValue createEACompositeValue();
+
+ /**
+ * Returns a new object of class '<em>EA Enumeration Value</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>EA Enumeration Value</em>'.
+ * @generated
+ */
+ EAEnumerationValue createEAEnumerationValue();
+
+ /**
+ * Returns a new object of class '<em>EA Expression</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>EA Expression</em>'.
+ * @generated
+ */
+ EAExpression createEAExpression();
+
+ /**
+ * Returns a new object of class '<em>EA Numerical Value</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>EA Numerical Value</em>'.
+ * @generated
+ */
+ EANumericalValue createEANumericalValue();
+
+ /**
+ * Returns a new object of class '<em>EA String Value</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>EA String Value</em>'.
+ * @generated
+ */
+ EAStringValue createEAStringValue();
+
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the package supported by this factory.
+ * @generated
+ */
+ ValuesPackage getValuesPackage();
+
+} //ValuesFactory
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/ValuesPackage.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/ValuesPackage.java
new file mode 100644
index 00000000000..b0a05e5ff28
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/ValuesPackage.java
@@ -0,0 +1,819 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.values;
+
+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 operation of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.ValuesFactory
+ * @model kind="package"
+ * @generated
+ */
+public interface ValuesPackage extends EPackage {
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNAME = "values";
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_URI = "http://www.papyrusuml.org/EAST-ADL2/Infrastructure/Values/1";
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_PREFIX = "Values";
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ ValuesPackage eINSTANCE = org.eclipse.papyrus.eastadl.infrastructure.values.impl.ValuesPackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.values.impl.EAValueImpl <em>EA Value</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.impl.EAValueImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.impl.ValuesPackageImpl#getEAValue()
+ * @generated
+ */
+ int EA_VALUE = 1;
+
+ /**
+ * The feature id for the '<em><b>Type</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_VALUE__TYPE = 0;
+
+ /**
+ * The feature id for the '<em><b>Base Value Specification</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_VALUE__BASE_VALUE_SPECIFICATION = 1;
+
+ /**
+ * The number of structural features of the '<em>EA Value</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_VALUE_FEATURE_COUNT = 2;
+
+ /**
+ * The number of operations of the '<em>EA Value</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_VALUE_OPERATION_COUNT = 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.values.impl.EAArrayValueImpl <em>EA Array Value</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.impl.EAArrayValueImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.impl.ValuesPackageImpl#getEAArrayValue()
+ * @generated
+ */
+ int EA_ARRAY_VALUE = 0;
+
+ /**
+ * The feature id for the '<em><b>Type</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_ARRAY_VALUE__TYPE = EA_VALUE__TYPE;
+
+ /**
+ * The feature id for the '<em><b>Base Value Specification</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_ARRAY_VALUE__BASE_VALUE_SPECIFICATION = EA_VALUE__BASE_VALUE_SPECIFICATION;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_ARRAY_VALUE__VALUE = EA_VALUE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>EA Array Value</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_ARRAY_VALUE_FEATURE_COUNT = EA_VALUE_FEATURE_COUNT + 1;
+
+ /**
+ * The number of operations of the '<em>EA Array Value</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_ARRAY_VALUE_OPERATION_COUNT = EA_VALUE_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.values.impl.EABooleanValueImpl <em>EA Boolean Value</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.impl.EABooleanValueImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.impl.ValuesPackageImpl#getEABooleanValue()
+ * @generated
+ */
+ int EA_BOOLEAN_VALUE = 2;
+
+ /**
+ * The feature id for the '<em><b>Type</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_BOOLEAN_VALUE__TYPE = EA_VALUE__TYPE;
+
+ /**
+ * The feature id for the '<em><b>Base Value Specification</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_BOOLEAN_VALUE__BASE_VALUE_SPECIFICATION = EA_VALUE__BASE_VALUE_SPECIFICATION;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_BOOLEAN_VALUE__VALUE = EA_VALUE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>EA Boolean Value</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_BOOLEAN_VALUE_FEATURE_COUNT = EA_VALUE_FEATURE_COUNT + 1;
+
+ /**
+ * The number of operations of the '<em>EA Boolean Value</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_BOOLEAN_VALUE_OPERATION_COUNT = EA_VALUE_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.values.impl.EACompositeValueImpl <em>EA Composite Value</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.impl.EACompositeValueImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.impl.ValuesPackageImpl#getEACompositeValue()
+ * @generated
+ */
+ int EA_COMPOSITE_VALUE = 3;
+
+ /**
+ * The feature id for the '<em><b>Type</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_COMPOSITE_VALUE__TYPE = EA_VALUE__TYPE;
+
+ /**
+ * The feature id for the '<em><b>Base Value Specification</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_COMPOSITE_VALUE__BASE_VALUE_SPECIFICATION = EA_VALUE__BASE_VALUE_SPECIFICATION;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_COMPOSITE_VALUE__VALUE = EA_VALUE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>EA Composite Value</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_COMPOSITE_VALUE_FEATURE_COUNT = EA_VALUE_FEATURE_COUNT + 1;
+
+ /**
+ * The number of operations of the '<em>EA Composite Value</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_COMPOSITE_VALUE_OPERATION_COUNT = EA_VALUE_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.values.impl.EAEnumerationValueImpl <em>EA Enumeration Value</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.impl.EAEnumerationValueImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.impl.ValuesPackageImpl#getEAEnumerationValue()
+ * @generated
+ */
+ int EA_ENUMERATION_VALUE = 4;
+
+ /**
+ * The feature id for the '<em><b>Type</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_ENUMERATION_VALUE__TYPE = EA_VALUE__TYPE;
+
+ /**
+ * The feature id for the '<em><b>Base Value Specification</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_ENUMERATION_VALUE__BASE_VALUE_SPECIFICATION = EA_VALUE__BASE_VALUE_SPECIFICATION;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_ENUMERATION_VALUE__VALUE = EA_VALUE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>EA Enumeration Value</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_ENUMERATION_VALUE_FEATURE_COUNT = EA_VALUE_FEATURE_COUNT + 1;
+
+ /**
+ * The number of operations of the '<em>EA Enumeration Value</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_ENUMERATION_VALUE_OPERATION_COUNT = EA_VALUE_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.values.impl.EAExpressionImpl <em>EA Expression</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.impl.EAExpressionImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.impl.ValuesPackageImpl#getEAExpression()
+ * @generated
+ */
+ int EA_EXPRESSION = 5;
+
+ /**
+ * The feature id for the '<em><b>Type</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_EXPRESSION__TYPE = EA_VALUE__TYPE;
+
+ /**
+ * The feature id for the '<em><b>Base Value Specification</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_EXPRESSION__BASE_VALUE_SPECIFICATION = EA_VALUE__BASE_VALUE_SPECIFICATION;
+
+ /**
+ * The number of structural features of the '<em>EA Expression</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_EXPRESSION_FEATURE_COUNT = EA_VALUE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of operations of the '<em>EA Expression</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_EXPRESSION_OPERATION_COUNT = EA_VALUE_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.values.impl.EANumericalValueImpl <em>EA Numerical Value</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.impl.EANumericalValueImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.impl.ValuesPackageImpl#getEANumericalValue()
+ * @generated
+ */
+ int EA_NUMERICAL_VALUE = 6;
+
+ /**
+ * The feature id for the '<em><b>Type</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_NUMERICAL_VALUE__TYPE = EA_VALUE__TYPE;
+
+ /**
+ * The feature id for the '<em><b>Base Value Specification</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_NUMERICAL_VALUE__BASE_VALUE_SPECIFICATION = EA_VALUE__BASE_VALUE_SPECIFICATION;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_NUMERICAL_VALUE__VALUE = EA_VALUE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>EA Numerical Value</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_NUMERICAL_VALUE_FEATURE_COUNT = EA_VALUE_FEATURE_COUNT + 1;
+
+ /**
+ * The number of operations of the '<em>EA Numerical Value</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_NUMERICAL_VALUE_OPERATION_COUNT = EA_VALUE_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.eastadl.infrastructure.values.impl.EAStringValueImpl <em>EA String Value</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.impl.EAStringValueImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.impl.ValuesPackageImpl#getEAStringValue()
+ * @generated
+ */
+ int EA_STRING_VALUE = 7;
+
+ /**
+ * The feature id for the '<em><b>Type</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_STRING_VALUE__TYPE = EA_VALUE__TYPE;
+
+ /**
+ * The feature id for the '<em><b>Base Value Specification</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_STRING_VALUE__BASE_VALUE_SPECIFICATION = EA_VALUE__BASE_VALUE_SPECIFICATION;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_STRING_VALUE__VALUE = EA_VALUE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>EA String Value</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_STRING_VALUE_FEATURE_COUNT = EA_VALUE_FEATURE_COUNT + 1;
+
+ /**
+ * The number of operations of the '<em>EA String Value</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EA_STRING_VALUE_OPERATION_COUNT = EA_VALUE_OPERATION_COUNT + 0;
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.values.EAArrayValue <em>EA Array Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EA Array Value</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.EAArrayValue
+ * @generated
+ */
+ EClass getEAArrayValue();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.values.EAArrayValue#getValue <em>Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Value</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.EAArrayValue#getValue()
+ * @see #getEAArrayValue()
+ * @generated
+ */
+ EReference getEAArrayValue_Value();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.values.EAValue <em>EA Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EA Value</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.EAValue
+ * @generated
+ */
+ EClass getEAValue();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.values.EAValue#getType <em>Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Type</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.EAValue#getType()
+ * @see #getEAValue()
+ * @generated
+ */
+ EReference getEAValue_Type();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.infrastructure.values.EAValue#getBase_ValueSpecification <em>Base Value Specification</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Base Value Specification</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.EAValue#getBase_ValueSpecification()
+ * @see #getEAValue()
+ * @generated
+ */
+ EReference getEAValue_Base_ValueSpecification();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.values.EABooleanValue <em>EA Boolean Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EA Boolean Value</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.EABooleanValue
+ * @generated
+ */
+ EClass getEABooleanValue();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.values.EABooleanValue#isValue <em>Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Value</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.EABooleanValue#isValue()
+ * @see #getEABooleanValue()
+ * @generated
+ */
+ EAttribute getEABooleanValue_Value();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.values.EACompositeValue <em>EA Composite Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EA Composite Value</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.EACompositeValue
+ * @generated
+ */
+ EClass getEACompositeValue();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.values.EACompositeValue#getValue <em>Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Value</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.EACompositeValue#getValue()
+ * @see #getEACompositeValue()
+ * @generated
+ */
+ EReference getEACompositeValue_Value();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.values.EAEnumerationValue <em>EA Enumeration Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EA Enumeration Value</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.EAEnumerationValue
+ * @generated
+ */
+ EClass getEAEnumerationValue();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.infrastructure.values.EAEnumerationValue#getValue <em>Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Value</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.EAEnumerationValue#getValue()
+ * @see #getEAEnumerationValue()
+ * @generated
+ */
+ EReference getEAEnumerationValue_Value();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.values.EAExpression <em>EA Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EA Expression</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.EAExpression
+ * @generated
+ */
+ EClass getEAExpression();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.values.EANumericalValue <em>EA Numerical Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EA Numerical Value</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.EANumericalValue
+ * @generated
+ */
+ EClass getEANumericalValue();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.values.EANumericalValue#getValue <em>Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Value</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.EANumericalValue#getValue()
+ * @see #getEANumericalValue()
+ * @generated
+ */
+ EAttribute getEANumericalValue_Value();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.infrastructure.values.EAStringValue <em>EA String Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EA String Value</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.EAStringValue
+ * @generated
+ */
+ EClass getEAStringValue();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.infrastructure.values.EAStringValue#getValue <em>Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Value</em>'.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.EAStringValue#getValue()
+ * @see #getEAStringValue()
+ * @generated
+ */
+ EAttribute getEAStringValue_Value();
+
+ /**
+ * 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
+ */
+ ValuesFactory getValuesFactory();
+
+ /**
+ * <!-- 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 operation 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.papyrus.eastadl.infrastructure.values.impl.EAArrayValueImpl <em>EA Array Value</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.impl.EAArrayValueImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.impl.ValuesPackageImpl#getEAArrayValue()
+ * @generated
+ */
+ EClass EA_ARRAY_VALUE = eINSTANCE.getEAArrayValue();
+
+ /**
+ * The meta object literal for the '<em><b>Value</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference EA_ARRAY_VALUE__VALUE = eINSTANCE.getEAArrayValue_Value();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.values.impl.EAValueImpl <em>EA Value</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.impl.EAValueImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.impl.ValuesPackageImpl#getEAValue()
+ * @generated
+ */
+ EClass EA_VALUE = eINSTANCE.getEAValue();
+
+ /**
+ * The meta object literal for the '<em><b>Type</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference EA_VALUE__TYPE = eINSTANCE.getEAValue_Type();
+
+ /**
+ * The meta object literal for the '<em><b>Base Value Specification</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference EA_VALUE__BASE_VALUE_SPECIFICATION = eINSTANCE.getEAValue_Base_ValueSpecification();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.values.impl.EABooleanValueImpl <em>EA Boolean Value</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.impl.EABooleanValueImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.impl.ValuesPackageImpl#getEABooleanValue()
+ * @generated
+ */
+ EClass EA_BOOLEAN_VALUE = eINSTANCE.getEABooleanValue();
+
+ /**
+ * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute EA_BOOLEAN_VALUE__VALUE = eINSTANCE.getEABooleanValue_Value();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.values.impl.EACompositeValueImpl <em>EA Composite Value</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.impl.EACompositeValueImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.impl.ValuesPackageImpl#getEACompositeValue()
+ * @generated
+ */
+ EClass EA_COMPOSITE_VALUE = eINSTANCE.getEACompositeValue();
+
+ /**
+ * The meta object literal for the '<em><b>Value</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference EA_COMPOSITE_VALUE__VALUE = eINSTANCE.getEACompositeValue_Value();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.values.impl.EAEnumerationValueImpl <em>EA Enumeration Value</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.impl.EAEnumerationValueImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.impl.ValuesPackageImpl#getEAEnumerationValue()
+ * @generated
+ */
+ EClass EA_ENUMERATION_VALUE = eINSTANCE.getEAEnumerationValue();
+
+ /**
+ * The meta object literal for the '<em><b>Value</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference EA_ENUMERATION_VALUE__VALUE = eINSTANCE.getEAEnumerationValue_Value();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.values.impl.EAExpressionImpl <em>EA Expression</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.impl.EAExpressionImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.impl.ValuesPackageImpl#getEAExpression()
+ * @generated
+ */
+ EClass EA_EXPRESSION = eINSTANCE.getEAExpression();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.values.impl.EANumericalValueImpl <em>EA Numerical Value</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.impl.EANumericalValueImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.impl.ValuesPackageImpl#getEANumericalValue()
+ * @generated
+ */
+ EClass EA_NUMERICAL_VALUE = eINSTANCE.getEANumericalValue();
+
+ /**
+ * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute EA_NUMERICAL_VALUE__VALUE = eINSTANCE.getEANumericalValue_Value();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.infrastructure.values.impl.EAStringValueImpl <em>EA String Value</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.impl.EAStringValueImpl
+ * @see org.eclipse.papyrus.eastadl.infrastructure.values.impl.ValuesPackageImpl#getEAStringValue()
+ * @generated
+ */
+ EClass EA_STRING_VALUE = eINSTANCE.getEAStringValue();
+
+ /**
+ * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute EA_STRING_VALUE__VALUE = eINSTANCE.getEAStringValue_Value();
+
+ }
+
+} //ValuesPackage
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/EAArrayValueImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/EAArrayValueImpl.java
new file mode 100644
index 00000000000..889890e93b7
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/EAArrayValueImpl.java
@@ -0,0 +1,129 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.values.impl;
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EAArrayValue;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EAValue;
+import org.eclipse.papyrus.eastadl.infrastructure.values.ValuesPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>EA Array Value</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.values.impl.EAArrayValueImpl#getValue <em>Value</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class EAArrayValueImpl extends EAValueImpl implements EAArrayValue {
+ /**
+ * The cached value of the '{@link #getValue() <em>Value</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected EList<EAValue> value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EAArrayValueImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ValuesPackage.Literals.EA_ARRAY_VALUE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<EAValue> getValue() {
+ if (value == null) {
+ value = new EObjectResolvingEList<EAValue>(EAValue.class, this, ValuesPackage.EA_ARRAY_VALUE__VALUE);
+ }
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case ValuesPackage.EA_ARRAY_VALUE__VALUE:
+ return getValue();
+ }
+ 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 ValuesPackage.EA_ARRAY_VALUE__VALUE:
+ getValue().clear();
+ getValue().addAll((Collection<? extends EAValue>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case ValuesPackage.EA_ARRAY_VALUE__VALUE:
+ getValue().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case ValuesPackage.EA_ARRAY_VALUE__VALUE:
+ return value != null && !value.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //EAArrayValueImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/EABooleanValueImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/EABooleanValueImpl.java
new file mode 100644
index 00000000000..36ee1f3f943
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/EABooleanValueImpl.java
@@ -0,0 +1,159 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.values.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EABooleanValue;
+import org.eclipse.papyrus.eastadl.infrastructure.values.ValuesPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>EA Boolean Value</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.values.impl.EABooleanValueImpl#isValue <em>Value</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class EABooleanValueImpl extends EAValueImpl implements EABooleanValue {
+ /**
+ * The default value of the '{@link #isValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isValue()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean VALUE_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isValue()
+ * @generated
+ * @ordered
+ */
+ protected boolean value = VALUE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EABooleanValueImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ValuesPackage.Literals.EA_BOOLEAN_VALUE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setValue(boolean newValue) {
+ boolean oldValue = value;
+ value = newValue;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ValuesPackage.EA_BOOLEAN_VALUE__VALUE, oldValue, value));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case ValuesPackage.EA_BOOLEAN_VALUE__VALUE:
+ return isValue();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case ValuesPackage.EA_BOOLEAN_VALUE__VALUE:
+ setValue((Boolean)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case ValuesPackage.EA_BOOLEAN_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 ValuesPackage.EA_BOOLEAN_VALUE__VALUE:
+ return value != VALUE_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(" (value: ");
+ result.append(value);
+ result.append(')');
+ return result.toString();
+ }
+
+} //EABooleanValueImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/EACompositeValueImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/EACompositeValueImpl.java
new file mode 100644
index 00000000000..bea11164356
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/EACompositeValueImpl.java
@@ -0,0 +1,129 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.values.impl;
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EACompositeValue;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EAValue;
+import org.eclipse.papyrus.eastadl.infrastructure.values.ValuesPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>EA Composite Value</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.values.impl.EACompositeValueImpl#getValue <em>Value</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class EACompositeValueImpl extends EAValueImpl implements EACompositeValue {
+ /**
+ * The cached value of the '{@link #getValue() <em>Value</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected EList<EAValue> value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EACompositeValueImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ValuesPackage.Literals.EA_COMPOSITE_VALUE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<EAValue> getValue() {
+ if (value == null) {
+ value = new EObjectResolvingEList<EAValue>(EAValue.class, this, ValuesPackage.EA_COMPOSITE_VALUE__VALUE);
+ }
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case ValuesPackage.EA_COMPOSITE_VALUE__VALUE:
+ return getValue();
+ }
+ 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 ValuesPackage.EA_COMPOSITE_VALUE__VALUE:
+ getValue().clear();
+ getValue().addAll((Collection<? extends EAValue>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case ValuesPackage.EA_COMPOSITE_VALUE__VALUE:
+ getValue().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case ValuesPackage.EA_COMPOSITE_VALUE__VALUE:
+ return value != null && !value.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //EACompositeValueImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/EAEnumerationValueImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/EAEnumerationValueImpl.java
new file mode 100644
index 00000000000..a8f229bcba9
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/EAEnumerationValueImpl.java
@@ -0,0 +1,129 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.values.impl;
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EnumerationLiteral;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EAEnumerationValue;
+import org.eclipse.papyrus.eastadl.infrastructure.values.ValuesPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>EA Enumeration Value</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.values.impl.EAEnumerationValueImpl#getValue <em>Value</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class EAEnumerationValueImpl extends EAValueImpl implements EAEnumerationValue {
+ /**
+ * The cached value of the '{@link #getValue() <em>Value</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected EList<EnumerationLiteral> value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EAEnumerationValueImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ValuesPackage.Literals.EA_ENUMERATION_VALUE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<EnumerationLiteral> getValue() {
+ if (value == null) {
+ value = new EObjectResolvingEList<EnumerationLiteral>(EnumerationLiteral.class, this, ValuesPackage.EA_ENUMERATION_VALUE__VALUE);
+ }
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case ValuesPackage.EA_ENUMERATION_VALUE__VALUE:
+ return getValue();
+ }
+ 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 ValuesPackage.EA_ENUMERATION_VALUE__VALUE:
+ getValue().clear();
+ getValue().addAll((Collection<? extends EnumerationLiteral>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case ValuesPackage.EA_ENUMERATION_VALUE__VALUE:
+ getValue().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case ValuesPackage.EA_ENUMERATION_VALUE__VALUE:
+ return value != null && !value.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //EAEnumerationValueImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/EAExpressionImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/EAExpressionImpl.java
new file mode 100644
index 00000000000..72571b53277
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/EAExpressionImpl.java
@@ -0,0 +1,38 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.values.impl;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EAExpression;
+import org.eclipse.papyrus.eastadl.infrastructure.values.ValuesPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>EA Expression</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class EAExpressionImpl extends EAValueImpl implements EAExpression {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EAExpressionImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ValuesPackage.Literals.EA_EXPRESSION;
+ }
+
+} //EAExpressionImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/EANumericalValueImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/EANumericalValueImpl.java
new file mode 100644
index 00000000000..c0f5fd87fdd
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/EANumericalValueImpl.java
@@ -0,0 +1,159 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.values.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EANumericalValue;
+import org.eclipse.papyrus.eastadl.infrastructure.values.ValuesPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>EA Numerical Value</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.values.impl.EANumericalValueImpl#getValue <em>Value</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class EANumericalValueImpl extends EAValueImpl implements EANumericalValue {
+ /**
+ * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected static final Float 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 Float value = VALUE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EANumericalValueImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ValuesPackage.Literals.EA_NUMERICAL_VALUE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Float getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setValue(Float newValue) {
+ Float oldValue = value;
+ value = newValue;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ValuesPackage.EA_NUMERICAL_VALUE__VALUE, oldValue, value));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case ValuesPackage.EA_NUMERICAL_VALUE__VALUE:
+ return getValue();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case ValuesPackage.EA_NUMERICAL_VALUE__VALUE:
+ setValue((Float)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case ValuesPackage.EA_NUMERICAL_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 ValuesPackage.EA_NUMERICAL_VALUE__VALUE:
+ return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
+ }
+ 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();
+ }
+
+} //EANumericalValueImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/EAStringValueImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/EAStringValueImpl.java
new file mode 100644
index 00000000000..2a8569f952c
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/EAStringValueImpl.java
@@ -0,0 +1,159 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.values.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EAStringValue;
+import org.eclipse.papyrus.eastadl.infrastructure.values.ValuesPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>EA String Value</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.values.impl.EAStringValueImpl#getValue <em>Value</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class EAStringValueImpl extends EAValueImpl implements EAStringValue {
+ /**
+ * 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 EAStringValueImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ValuesPackage.Literals.EA_STRING_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, ValuesPackage.EA_STRING_VALUE__VALUE, oldValue, value));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case ValuesPackage.EA_STRING_VALUE__VALUE:
+ return getValue();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case ValuesPackage.EA_STRING_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 ValuesPackage.EA_STRING_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 ValuesPackage.EA_STRING_VALUE__VALUE:
+ return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
+ }
+ 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();
+ }
+
+} //EAStringValueImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/EAValueImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/EAValueImpl.java
new file mode 100644
index 00000000000..26a769ebaa0
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/EAValueImpl.java
@@ -0,0 +1,215 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.values.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
+import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatype;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EAValue;
+import org.eclipse.papyrus.eastadl.infrastructure.values.ValuesPackage;
+import org.eclipse.uml2.uml.ValueSpecification;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>EA Value</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.values.impl.EAValueImpl#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.infrastructure.values.impl.EAValueImpl#getBase_ValueSpecification <em>Base Value Specification</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class EAValueImpl extends MinimalEObjectImpl.Container implements EAValue {
+ /**
+ * The cached value of the '{@link #getType() <em>Type</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected EADatatype type;
+
+ /**
+ * The cached value of the '{@link #getBase_ValueSpecification() <em>Base Value Specification</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBase_ValueSpecification()
+ * @generated
+ * @ordered
+ */
+ protected ValueSpecification base_ValueSpecification;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EAValueImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ValuesPackage.Literals.EA_VALUE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EADatatype getType() {
+ if (type != null && type.eIsProxy()) {
+ InternalEObject oldType = (InternalEObject)type;
+ type = (EADatatype)eResolveProxy(oldType);
+ if (type != oldType) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, ValuesPackage.EA_VALUE__TYPE, oldType, type));
+ }
+ }
+ return type;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EADatatype basicGetType() {
+ return type;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setType(EADatatype newType) {
+ EADatatype oldType = type;
+ type = newType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ValuesPackage.EA_VALUE__TYPE, oldType, type));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ValueSpecification getBase_ValueSpecification() {
+ if (base_ValueSpecification != null && base_ValueSpecification.eIsProxy()) {
+ InternalEObject oldBase_ValueSpecification = (InternalEObject)base_ValueSpecification;
+ base_ValueSpecification = (ValueSpecification)eResolveProxy(oldBase_ValueSpecification);
+ if (base_ValueSpecification != oldBase_ValueSpecification) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, ValuesPackage.EA_VALUE__BASE_VALUE_SPECIFICATION, oldBase_ValueSpecification, base_ValueSpecification));
+ }
+ }
+ return base_ValueSpecification;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ValueSpecification basicGetBase_ValueSpecification() {
+ return base_ValueSpecification;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBase_ValueSpecification(ValueSpecification newBase_ValueSpecification) {
+ ValueSpecification oldBase_ValueSpecification = base_ValueSpecification;
+ base_ValueSpecification = newBase_ValueSpecification;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ValuesPackage.EA_VALUE__BASE_VALUE_SPECIFICATION, oldBase_ValueSpecification, base_ValueSpecification));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case ValuesPackage.EA_VALUE__TYPE:
+ if (resolve) return getType();
+ return basicGetType();
+ case ValuesPackage.EA_VALUE__BASE_VALUE_SPECIFICATION:
+ if (resolve) return getBase_ValueSpecification();
+ return basicGetBase_ValueSpecification();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case ValuesPackage.EA_VALUE__TYPE:
+ setType((EADatatype)newValue);
+ return;
+ case ValuesPackage.EA_VALUE__BASE_VALUE_SPECIFICATION:
+ setBase_ValueSpecification((ValueSpecification)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case ValuesPackage.EA_VALUE__TYPE:
+ setType((EADatatype)null);
+ return;
+ case ValuesPackage.EA_VALUE__BASE_VALUE_SPECIFICATION:
+ setBase_ValueSpecification((ValueSpecification)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case ValuesPackage.EA_VALUE__TYPE:
+ return type != null;
+ case ValuesPackage.EA_VALUE__BASE_VALUE_SPECIFICATION:
+ return base_ValueSpecification != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //EAValueImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/ValuesFactoryImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/ValuesFactoryImpl.java
new file mode 100644
index 00000000000..957e5fb2088
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/ValuesFactoryImpl.java
@@ -0,0 +1,166 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.values.impl;
+
+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;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EAArrayValue;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EABooleanValue;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EACompositeValue;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EAEnumerationValue;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EAExpression;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EANumericalValue;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EAStringValue;
+import org.eclipse.papyrus.eastadl.infrastructure.values.ValuesFactory;
+import org.eclipse.papyrus.eastadl.infrastructure.values.ValuesPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class ValuesFactoryImpl extends EFactoryImpl implements ValuesFactory {
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static ValuesFactory init() {
+ try {
+ ValuesFactory theValuesFactory = (ValuesFactory)EPackage.Registry.INSTANCE.getEFactory(ValuesPackage.eNS_URI);
+ if (theValuesFactory != null) {
+ return theValuesFactory;
+ }
+ }
+ catch (Exception exception) {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new ValuesFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ValuesFactoryImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID()) {
+ case ValuesPackage.EA_ARRAY_VALUE: return createEAArrayValue();
+ case ValuesPackage.EA_BOOLEAN_VALUE: return createEABooleanValue();
+ case ValuesPackage.EA_COMPOSITE_VALUE: return createEACompositeValue();
+ case ValuesPackage.EA_ENUMERATION_VALUE: return createEAEnumerationValue();
+ case ValuesPackage.EA_EXPRESSION: return createEAExpression();
+ case ValuesPackage.EA_NUMERICAL_VALUE: return createEANumericalValue();
+ case ValuesPackage.EA_STRING_VALUE: return createEAStringValue();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAArrayValue createEAArrayValue() {
+ EAArrayValueImpl eaArrayValue = new EAArrayValueImpl();
+ return eaArrayValue;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EABooleanValue createEABooleanValue() {
+ EABooleanValueImpl eaBooleanValue = new EABooleanValueImpl();
+ return eaBooleanValue;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EACompositeValue createEACompositeValue() {
+ EACompositeValueImpl eaCompositeValue = new EACompositeValueImpl();
+ return eaCompositeValue;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAEnumerationValue createEAEnumerationValue() {
+ EAEnumerationValueImpl eaEnumerationValue = new EAEnumerationValueImpl();
+ return eaEnumerationValue;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAExpression createEAExpression() {
+ EAExpressionImpl eaExpression = new EAExpressionImpl();
+ return eaExpression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EANumericalValue createEANumericalValue() {
+ EANumericalValueImpl eaNumericalValue = new EANumericalValueImpl();
+ return eaNumericalValue;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAStringValue createEAStringValue() {
+ EAStringValueImpl eaStringValue = new EAStringValueImpl();
+ return eaStringValue;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ValuesPackage getValuesPackage() {
+ return (ValuesPackage)getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static ValuesPackage getPackage() {
+ return ValuesPackage.eINSTANCE;
+ }
+
+} //ValuesFactoryImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/ValuesPackageImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/ValuesPackageImpl.java
new file mode 100644
index 00000000000..de4d0259042
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/impl/ValuesPackageImpl.java
@@ -0,0 +1,578 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.values.impl;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+import org.eclipse.emf.ecore.impl.EPackageImpl;
+import org.eclipse.papyrus.eastadl.EastadlPackage;
+import org.eclipse.papyrus.eastadl.annex.AnnexPackage;
+import org.eclipse.papyrus.eastadl.annex.attributequantificationconstraint.AttributequantificationconstraintPackage;
+import org.eclipse.papyrus.eastadl.annex.attributequantificationconstraint.impl.AttributequantificationconstraintPackageImpl;
+import org.eclipse.papyrus.eastadl.annex.behaviordescription.BehaviordescriptionPackage;
+import org.eclipse.papyrus.eastadl.annex.behaviordescription.impl.BehaviordescriptionPackageImpl;
+import org.eclipse.papyrus.eastadl.annex.computationconstraint.ComputationconstraintPackage;
+import org.eclipse.papyrus.eastadl.annex.computationconstraint.impl.ComputationconstraintPackageImpl;
+import org.eclipse.papyrus.eastadl.annex.impl.AnnexPackageImpl;
+import org.eclipse.papyrus.eastadl.annex.needs.NeedsPackage;
+import org.eclipse.papyrus.eastadl.annex.needs.impl.NeedsPackageImpl;
+import org.eclipse.papyrus.eastadl.annex.temporalconstraint.TemporalconstraintPackage;
+import org.eclipse.papyrus.eastadl.annex.temporalconstraint.impl.TemporalconstraintPackageImpl;
+import org.eclipse.papyrus.eastadl.behavior.BehaviorPackage;
+import org.eclipse.papyrus.eastadl.behavior.impl.BehaviorPackageImpl;
+import org.eclipse.papyrus.eastadl.dependability.DependabilityPackage;
+import org.eclipse.papyrus.eastadl.dependability.errormodel.ErrormodelPackage;
+import org.eclipse.papyrus.eastadl.dependability.errormodel.impl.ErrormodelPackageImpl;
+import org.eclipse.papyrus.eastadl.dependability.impl.DependabilityPackageImpl;
+import org.eclipse.papyrus.eastadl.dependability.safetycase.SafetycasePackage;
+import org.eclipse.papyrus.eastadl.dependability.safetycase.impl.SafetycasePackageImpl;
+import org.eclipse.papyrus.eastadl.dependability.safetyconstraints.SafetyconstraintsPackage;
+import org.eclipse.papyrus.eastadl.dependability.safetyconstraints.impl.SafetyconstraintsPackageImpl;
+import org.eclipse.papyrus.eastadl.dependability.safetyrequirement.SafetyrequirementPackage;
+import org.eclipse.papyrus.eastadl.dependability.safetyrequirement.impl.SafetyrequirementPackageImpl;
+import org.eclipse.papyrus.eastadl.environment.EnvironmentPackage;
+import org.eclipse.papyrus.eastadl.environment.impl.EnvironmentPackageImpl;
+import org.eclipse.papyrus.eastadl.genericconstraints.GenericconstraintsPackage;
+import org.eclipse.papyrus.eastadl.genericconstraints.impl.GenericconstraintsPackageImpl;
+import org.eclipse.papyrus.eastadl.impl.EastadlPackageImpl;
+import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
+import org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage;
+import org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl;
+import org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage;
+import org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl;
+import org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl;
+import org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserattributesPackage;
+import org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserattributesPackageImpl;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EAArrayValue;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EABooleanValue;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EACompositeValue;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EAEnumerationValue;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EAExpression;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EANumericalValue;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EAStringValue;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EAValue;
+import org.eclipse.papyrus.eastadl.infrastructure.values.ValuesFactory;
+import org.eclipse.papyrus.eastadl.infrastructure.values.ValuesPackage;
+import org.eclipse.papyrus.eastadl.requirements.RequirementsPackage;
+import org.eclipse.papyrus.eastadl.requirements.impl.RequirementsPackageImpl;
+import org.eclipse.papyrus.eastadl.requirements.usecases.UsecasesPackage;
+import org.eclipse.papyrus.eastadl.requirements.usecases.impl.UsecasesPackageImpl;
+import org.eclipse.papyrus.eastadl.requirements.verificationvalidation.VerificationvalidationPackage;
+import org.eclipse.papyrus.eastadl.requirements.verificationvalidation.impl.VerificationvalidationPackageImpl;
+import org.eclipse.papyrus.eastadl.structure.StructurePackage;
+import org.eclipse.papyrus.eastadl.structure.featuremodeling.FeaturemodelingPackage;
+import org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeaturemodelingPackageImpl;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPackage;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwaremodelingPackage;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwaremodelingPackageImpl;
+import org.eclipse.papyrus.eastadl.structure.impl.StructurePackageImpl;
+import org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemmodelingPackage;
+import org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.SystemmodelingPackageImpl;
+import org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.VehiclefeaturemodelingPackage;
+import org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.VehiclefeaturemodelingPackageImpl;
+import org.eclipse.papyrus.eastadl.timing.TimingPackage;
+import org.eclipse.papyrus.eastadl.timing.events.EventsPackage;
+import org.eclipse.papyrus.eastadl.timing.events.impl.EventsPackageImpl;
+import org.eclipse.papyrus.eastadl.timing.impl.TimingPackageImpl;
+import org.eclipse.papyrus.eastadl.timing.timingconstraints.TimingconstraintsPackage;
+import org.eclipse.papyrus.eastadl.timing.timingconstraints.impl.TimingconstraintsPackageImpl;
+import org.eclipse.papyrus.eastadl.variability.VariabilityPackage;
+import org.eclipse.papyrus.eastadl.variability.impl.VariabilityPackageImpl;
+import org.eclipse.papyrus.sysml.SysmlPackage;
+import org.eclipse.uml2.uml.UMLPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Package</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class ValuesPackageImpl extends EPackageImpl implements ValuesPackage {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eaArrayValueEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eaValueEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eaBooleanValueEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eaCompositeValueEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eaEnumerationValueEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eaExpressionEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eaNumericalValueEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eaStringValueEClass = 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.papyrus.eastadl.infrastructure.values.ValuesPackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private ValuesPackageImpl() {
+ super(eNS_URI, ValuesFactory.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 ValuesPackage#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 ValuesPackage init() {
+ if (isInited) return (ValuesPackage)EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI);
+
+ // Obtain or create and register package
+ ValuesPackageImpl theValuesPackage = (ValuesPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ValuesPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ValuesPackageImpl());
+
+ isInited = true;
+
+ // Initialize simple dependencies
+ SysmlPackage.eINSTANCE.eClass();
+
+ // Obtain or create and register interdependencies
+ EastadlPackageImpl theEastadlPackage = (EastadlPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EastadlPackage.eNS_URI) instanceof EastadlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EastadlPackage.eNS_URI) : EastadlPackage.eINSTANCE);
+ VariabilityPackageImpl theVariabilityPackage = (VariabilityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VariabilityPackage.eNS_URI) instanceof VariabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VariabilityPackage.eNS_URI) : VariabilityPackage.eINSTANCE);
+ InfrastructurePackageImpl theInfrastructurePackage = (InfrastructurePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI) instanceof InfrastructurePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI) : InfrastructurePackage.eINSTANCE);
+ DatatypesPackageImpl theDatatypesPackage = (DatatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI) instanceof DatatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI) : DatatypesPackage.eINSTANCE);
+ UserattributesPackageImpl theUserattributesPackage = (UserattributesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UserattributesPackage.eNS_URI) instanceof UserattributesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UserattributesPackage.eNS_URI) : UserattributesPackage.eINSTANCE);
+ ElementsPackageImpl theElementsPackage = (ElementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI) instanceof ElementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI) : ElementsPackage.eINSTANCE);
+ StructurePackageImpl theStructurePackage = (StructurePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI) instanceof StructurePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI) : StructurePackage.eINSTANCE);
+ FunctionmodelingPackageImpl theFunctionmodelingPackage = (FunctionmodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(FunctionmodelingPackage.eNS_URI) instanceof FunctionmodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(FunctionmodelingPackage.eNS_URI) : FunctionmodelingPackage.eINSTANCE);
+ FeaturemodelingPackageImpl theFeaturemodelingPackage = (FeaturemodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI) instanceof FeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI) : FeaturemodelingPackage.eINSTANCE);
+ SystemmodelingPackageImpl theSystemmodelingPackage = (SystemmodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SystemmodelingPackage.eNS_URI) instanceof SystemmodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SystemmodelingPackage.eNS_URI) : SystemmodelingPackage.eINSTANCE);
+ VehiclefeaturemodelingPackageImpl theVehiclefeaturemodelingPackage = (VehiclefeaturemodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VehiclefeaturemodelingPackage.eNS_URI) instanceof VehiclefeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VehiclefeaturemodelingPackage.eNS_URI) : VehiclefeaturemodelingPackage.eINSTANCE);
+ HardwaremodelingPackageImpl theHardwaremodelingPackage = (HardwaremodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI) instanceof HardwaremodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI) : HardwaremodelingPackage.eINSTANCE);
+ DependabilityPackageImpl theDependabilityPackage = (DependabilityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI) instanceof DependabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI) : DependabilityPackage.eINSTANCE);
+ SafetyrequirementPackageImpl theSafetyrequirementPackage = (SafetyrequirementPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetyrequirementPackage.eNS_URI) instanceof SafetyrequirementPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetyrequirementPackage.eNS_URI) : SafetyrequirementPackage.eINSTANCE);
+ SafetyconstraintsPackageImpl theSafetyconstraintsPackage = (SafetyconstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI) instanceof SafetyconstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI) : SafetyconstraintsPackage.eINSTANCE);
+ SafetycasePackageImpl theSafetycasePackage = (SafetycasePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI) instanceof SafetycasePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI) : SafetycasePackage.eINSTANCE);
+ ErrormodelPackageImpl theErrormodelPackage = (ErrormodelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI) instanceof ErrormodelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI) : ErrormodelPackage.eINSTANCE);
+ RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE);
+ UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) : UsecasesPackage.eINSTANCE);
+ VerificationvalidationPackageImpl theVerificationvalidationPackage = (VerificationvalidationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VerificationvalidationPackage.eNS_URI) instanceof VerificationvalidationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VerificationvalidationPackage.eNS_URI) : VerificationvalidationPackage.eINSTANCE);
+ org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl theRequirementsPackage_1 = (org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eNS_URI) instanceof org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eNS_URI) : org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eINSTANCE);
+ BehaviorPackageImpl theBehaviorPackage = (BehaviorPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI) instanceof BehaviorPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI) : BehaviorPackage.eINSTANCE);
+ TimingPackageImpl theTimingPackage = (TimingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimingPackage.eNS_URI) instanceof TimingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimingPackage.eNS_URI) : TimingPackage.eINSTANCE);
+ TimingconstraintsPackageImpl theTimingconstraintsPackage = (TimingconstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimingconstraintsPackage.eNS_URI) instanceof TimingconstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimingconstraintsPackage.eNS_URI) : TimingconstraintsPackage.eINSTANCE);
+ EventsPackageImpl theEventsPackage = (EventsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) instanceof EventsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) : EventsPackage.eINSTANCE);
+ EnvironmentPackageImpl theEnvironmentPackage = (EnvironmentPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EnvironmentPackage.eNS_URI) instanceof EnvironmentPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EnvironmentPackage.eNS_URI) : EnvironmentPackage.eINSTANCE);
+ AnnexPackageImpl theAnnexPackage = (AnnexPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AnnexPackage.eNS_URI) instanceof AnnexPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AnnexPackage.eNS_URI) : AnnexPackage.eINSTANCE);
+ NeedsPackageImpl theNeedsPackage = (NeedsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(NeedsPackage.eNS_URI) instanceof NeedsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(NeedsPackage.eNS_URI) : NeedsPackage.eINSTANCE);
+ BehaviordescriptionPackageImpl theBehaviordescriptionPackage = (BehaviordescriptionPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BehaviordescriptionPackage.eNS_URI) instanceof BehaviordescriptionPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BehaviordescriptionPackage.eNS_URI) : BehaviordescriptionPackage.eINSTANCE);
+ AttributequantificationconstraintPackageImpl theAttributequantificationconstraintPackage = (AttributequantificationconstraintPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AttributequantificationconstraintPackage.eNS_URI) instanceof AttributequantificationconstraintPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AttributequantificationconstraintPackage.eNS_URI) : AttributequantificationconstraintPackage.eINSTANCE);
+ TemporalconstraintPackageImpl theTemporalconstraintPackage = (TemporalconstraintPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TemporalconstraintPackage.eNS_URI) instanceof TemporalconstraintPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TemporalconstraintPackage.eNS_URI) : TemporalconstraintPackage.eINSTANCE);
+ ComputationconstraintPackageImpl theComputationconstraintPackage = (ComputationconstraintPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ComputationconstraintPackage.eNS_URI) instanceof ComputationconstraintPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ComputationconstraintPackage.eNS_URI) : ComputationconstraintPackage.eINSTANCE);
+ GenericconstraintsPackageImpl theGenericconstraintsPackage = (GenericconstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GenericconstraintsPackage.eNS_URI) instanceof GenericconstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GenericconstraintsPackage.eNS_URI) : GenericconstraintsPackage.eINSTANCE);
+
+ // Create package meta-data objects
+ theValuesPackage.createPackageContents();
+ theEastadlPackage.createPackageContents();
+ theVariabilityPackage.createPackageContents();
+ theInfrastructurePackage.createPackageContents();
+ theDatatypesPackage.createPackageContents();
+ theUserattributesPackage.createPackageContents();
+ theElementsPackage.createPackageContents();
+ theStructurePackage.createPackageContents();
+ theFunctionmodelingPackage.createPackageContents();
+ theFeaturemodelingPackage.createPackageContents();
+ theSystemmodelingPackage.createPackageContents();
+ theVehiclefeaturemodelingPackage.createPackageContents();
+ theHardwaremodelingPackage.createPackageContents();
+ theDependabilityPackage.createPackageContents();
+ theSafetyrequirementPackage.createPackageContents();
+ theSafetyconstraintsPackage.createPackageContents();
+ theSafetycasePackage.createPackageContents();
+ theErrormodelPackage.createPackageContents();
+ theRequirementsPackage.createPackageContents();
+ theUsecasesPackage.createPackageContents();
+ theVerificationvalidationPackage.createPackageContents();
+ theRequirementsPackage_1.createPackageContents();
+ theBehaviorPackage.createPackageContents();
+ theTimingPackage.createPackageContents();
+ theTimingconstraintsPackage.createPackageContents();
+ theEventsPackage.createPackageContents();
+ theEnvironmentPackage.createPackageContents();
+ theAnnexPackage.createPackageContents();
+ theNeedsPackage.createPackageContents();
+ theBehaviordescriptionPackage.createPackageContents();
+ theAttributequantificationconstraintPackage.createPackageContents();
+ theTemporalconstraintPackage.createPackageContents();
+ theComputationconstraintPackage.createPackageContents();
+ theGenericconstraintsPackage.createPackageContents();
+
+ // Initialize created meta-data
+ theValuesPackage.initializePackageContents();
+ theEastadlPackage.initializePackageContents();
+ theVariabilityPackage.initializePackageContents();
+ theInfrastructurePackage.initializePackageContents();
+ theDatatypesPackage.initializePackageContents();
+ theUserattributesPackage.initializePackageContents();
+ theElementsPackage.initializePackageContents();
+ theStructurePackage.initializePackageContents();
+ theFunctionmodelingPackage.initializePackageContents();
+ theFeaturemodelingPackage.initializePackageContents();
+ theSystemmodelingPackage.initializePackageContents();
+ theVehiclefeaturemodelingPackage.initializePackageContents();
+ theHardwaremodelingPackage.initializePackageContents();
+ theDependabilityPackage.initializePackageContents();
+ theSafetyrequirementPackage.initializePackageContents();
+ theSafetyconstraintsPackage.initializePackageContents();
+ theSafetycasePackage.initializePackageContents();
+ theErrormodelPackage.initializePackageContents();
+ theRequirementsPackage.initializePackageContents();
+ theUsecasesPackage.initializePackageContents();
+ theVerificationvalidationPackage.initializePackageContents();
+ theRequirementsPackage_1.initializePackageContents();
+ theBehaviorPackage.initializePackageContents();
+ theTimingPackage.initializePackageContents();
+ theTimingconstraintsPackage.initializePackageContents();
+ theEventsPackage.initializePackageContents();
+ theEnvironmentPackage.initializePackageContents();
+ theAnnexPackage.initializePackageContents();
+ theNeedsPackage.initializePackageContents();
+ theBehaviordescriptionPackage.initializePackageContents();
+ theAttributequantificationconstraintPackage.initializePackageContents();
+ theTemporalconstraintPackage.initializePackageContents();
+ theComputationconstraintPackage.initializePackageContents();
+ theGenericconstraintsPackage.initializePackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ theValuesPackage.freeze();
+
+
+ // Update the registry and return the package
+ EPackage.Registry.INSTANCE.put(ValuesPackage.eNS_URI, theValuesPackage);
+ return theValuesPackage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getEAArrayValue() {
+ return eaArrayValueEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getEAArrayValue_Value() {
+ return (EReference)eaArrayValueEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getEAValue() {
+ return eaValueEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getEAValue_Type() {
+ return (EReference)eaValueEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getEAValue_Base_ValueSpecification() {
+ return (EReference)eaValueEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getEABooleanValue() {
+ return eaBooleanValueEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getEABooleanValue_Value() {
+ return (EAttribute)eaBooleanValueEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getEACompositeValue() {
+ return eaCompositeValueEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getEACompositeValue_Value() {
+ return (EReference)eaCompositeValueEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getEAEnumerationValue() {
+ return eaEnumerationValueEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getEAEnumerationValue_Value() {
+ return (EReference)eaEnumerationValueEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getEAExpression() {
+ return eaExpressionEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getEANumericalValue() {
+ return eaNumericalValueEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getEANumericalValue_Value() {
+ return (EAttribute)eaNumericalValueEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getEAStringValue() {
+ return eaStringValueEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getEAStringValue_Value() {
+ return (EAttribute)eaStringValueEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ValuesFactory getValuesFactory() {
+ return (ValuesFactory)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
+ eaArrayValueEClass = createEClass(EA_ARRAY_VALUE);
+ createEReference(eaArrayValueEClass, EA_ARRAY_VALUE__VALUE);
+
+ eaValueEClass = createEClass(EA_VALUE);
+ createEReference(eaValueEClass, EA_VALUE__TYPE);
+ createEReference(eaValueEClass, EA_VALUE__BASE_VALUE_SPECIFICATION);
+
+ eaBooleanValueEClass = createEClass(EA_BOOLEAN_VALUE);
+ createEAttribute(eaBooleanValueEClass, EA_BOOLEAN_VALUE__VALUE);
+
+ eaCompositeValueEClass = createEClass(EA_COMPOSITE_VALUE);
+ createEReference(eaCompositeValueEClass, EA_COMPOSITE_VALUE__VALUE);
+
+ eaEnumerationValueEClass = createEClass(EA_ENUMERATION_VALUE);
+ createEReference(eaEnumerationValueEClass, EA_ENUMERATION_VALUE__VALUE);
+
+ eaExpressionEClass = createEClass(EA_EXPRESSION);
+
+ eaNumericalValueEClass = createEClass(EA_NUMERICAL_VALUE);
+ createEAttribute(eaNumericalValueEClass, EA_NUMERICAL_VALUE__VALUE);
+
+ eaStringValueEClass = createEClass(EA_STRING_VALUE);
+ createEAttribute(eaStringValueEClass, EA_STRING_VALUE__VALUE);
+ }
+
+ /**
+ * <!-- 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
+ DatatypesPackage theDatatypesPackage = (DatatypesPackage)EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI);
+ UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+ eaArrayValueEClass.getESuperTypes().add(this.getEAValue());
+ eaBooleanValueEClass.getESuperTypes().add(this.getEAValue());
+ eaCompositeValueEClass.getESuperTypes().add(this.getEAValue());
+ eaEnumerationValueEClass.getESuperTypes().add(this.getEAValue());
+ eaExpressionEClass.getESuperTypes().add(this.getEAValue());
+ eaNumericalValueEClass.getESuperTypes().add(this.getEAValue());
+ eaStringValueEClass.getESuperTypes().add(this.getEAValue());
+
+ // Initialize classes, features, and operations; add parameters
+ initEClass(eaArrayValueEClass, EAArrayValue.class, "EAArrayValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getEAArrayValue_Value(), this.getEAValue(), null, "value", null, 0, -1, EAArrayValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(eaValueEClass, EAValue.class, "EAValue", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getEAValue_Type(), theDatatypesPackage.getEADatatype(), null, "type", null, 1, 1, EAValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getEAValue_Base_ValueSpecification(), theUMLPackage.getValueSpecification(), null, "base_ValueSpecification", null, 1, 1, EAValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(eaBooleanValueEClass, EABooleanValue.class, "EABooleanValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEABooleanValue_Value(), ecorePackage.getEBoolean(), "value", null, 1, 1, EABooleanValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(eaCompositeValueEClass, EACompositeValue.class, "EACompositeValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getEACompositeValue_Value(), this.getEAValue(), null, "value", null, 1, -1, EACompositeValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(eaEnumerationValueEClass, EAEnumerationValue.class, "EAEnumerationValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getEAEnumerationValue_Value(), theDatatypesPackage.getEnumerationLiteral(), null, "value", null, 1, -1, EAEnumerationValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(eaExpressionEClass, EAExpression.class, "EAExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(eaNumericalValueEClass, EANumericalValue.class, "EANumericalValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEANumericalValue_Value(), theDatatypesPackage.getNumerical(), "value", null, 1, 1, EANumericalValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(eaStringValueEClass, EAStringValue.class, "EAStringValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEAStringValue_Value(), ecorePackage.getEString(), "value", null, 1, 1, EAStringValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ }
+
+} //ValuesPackageImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/util/ValuesAdapterFactory.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/util/ValuesAdapterFactory.java
new file mode 100644
index 00000000000..6d69cca0213
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/util/ValuesAdapterFactory.java
@@ -0,0 +1,251 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.values.util;
+
+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;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EAArrayValue;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EABooleanValue;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EACompositeValue;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EAEnumerationValue;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EAExpression;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EANumericalValue;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EAStringValue;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EAValue;
+import org.eclipse.papyrus.eastadl.infrastructure.values.ValuesPackage;
+
+/**
+ * <!-- 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.papyrus.eastadl.infrastructure.values.ValuesPackage
+ * @generated
+ */
+public class ValuesAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static ValuesPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ValuesAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = ValuesPackage.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 ValuesSwitch<Adapter> modelSwitch =
+ new ValuesSwitch<Adapter>() {
+ @Override
+ public Adapter caseEAArrayValue(EAArrayValue object) {
+ return createEAArrayValueAdapter();
+ }
+ @Override
+ public Adapter caseEAValue(EAValue object) {
+ return createEAValueAdapter();
+ }
+ @Override
+ public Adapter caseEABooleanValue(EABooleanValue object) {
+ return createEABooleanValueAdapter();
+ }
+ @Override
+ public Adapter caseEACompositeValue(EACompositeValue object) {
+ return createEACompositeValueAdapter();
+ }
+ @Override
+ public Adapter caseEAEnumerationValue(EAEnumerationValue object) {
+ return createEAEnumerationValueAdapter();
+ }
+ @Override
+ public Adapter caseEAExpression(EAExpression object) {
+ return createEAExpressionAdapter();
+ }
+ @Override
+ public Adapter caseEANumericalValue(EANumericalValue object) {
+ return createEANumericalValueAdapter();
+ }
+ @Override
+ public Adapter caseEAStringValue(EAStringValue object) {
+ return createEAStringValueAdapter();
+ }
+ @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.papyrus.eastadl.infrastructure.values.EAArrayValue <em>EA Array 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.papyrus.eastadl.infrastructure.values.EAArrayValue
+ * @generated
+ */
+ public Adapter createEAArrayValueAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.values.EAValue <em>EA 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.papyrus.eastadl.infrastructure.values.EAValue
+ * @generated
+ */
+ public Adapter createEAValueAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.values.EABooleanValue <em>EA Boolean 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.papyrus.eastadl.infrastructure.values.EABooleanValue
+ * @generated
+ */
+ public Adapter createEABooleanValueAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.values.EACompositeValue <em>EA Composite 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.papyrus.eastadl.infrastructure.values.EACompositeValue
+ * @generated
+ */
+ public Adapter createEACompositeValueAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.values.EAEnumerationValue <em>EA Enumeration 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.papyrus.eastadl.infrastructure.values.EAEnumerationValue
+ * @generated
+ */
+ public Adapter createEAEnumerationValueAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.values.EAExpression <em>EA 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.papyrus.eastadl.infrastructure.values.EAExpression
+ * @generated
+ */
+ public Adapter createEAExpressionAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.values.EANumericalValue <em>EA Numerical 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.papyrus.eastadl.infrastructure.values.EANumericalValue
+ * @generated
+ */
+ public Adapter createEANumericalValueAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.values.EAStringValue <em>EA String 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.papyrus.eastadl.infrastructure.values.EAStringValue
+ * @generated
+ */
+ public Adapter createEAStringValueAdapter() {
+ 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;
+ }
+
+} //ValuesAdapterFactory
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/util/ValuesResourceFactoryImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/util/ValuesResourceFactoryImpl.java
new file mode 100644
index 00000000000..df62809da8f
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/util/ValuesResourceFactoryImpl.java
@@ -0,0 +1,49 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.values.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.papyrus.eastadl.infrastructure.values.util.ValuesResourceImpl
+ * @generated
+ */
+public class ValuesResourceFactoryImpl extends ResourceFactoryImpl {
+ /**
+ * Creates an instance of the resource factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ValuesResourceFactoryImpl() {
+ super();
+ }
+
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Resource createResource(URI uri) {
+ XMLResource result = new ValuesResourceImpl(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;
+ }
+
+} //ValuesResourceFactoryImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/util/ValuesResourceImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/util/ValuesResourceImpl.java
new file mode 100644
index 00000000000..042ba617b59
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/util/ValuesResourceImpl.java
@@ -0,0 +1,27 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.values.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.papyrus.eastadl.infrastructure.values.util.ValuesResourceFactoryImpl
+ * @generated
+ */
+public class ValuesResourceImpl extends XMLResourceImpl {
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param uri the URI of the new resource.
+ * @generated
+ */
+ public ValuesResourceImpl(URI uri) {
+ super(uri);
+ }
+
+} //ValuesResourceImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/util/ValuesSwitch.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/util/ValuesSwitch.java
new file mode 100644
index 00000000000..68106e2f47f
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/util/ValuesSwitch.java
@@ -0,0 +1,270 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.values.util;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.util.Switch;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EAArrayValue;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EABooleanValue;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EACompositeValue;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EAEnumerationValue;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EAExpression;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EANumericalValue;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EAStringValue;
+import org.eclipse.papyrus.eastadl.infrastructure.values.EAValue;
+import org.eclipse.papyrus.eastadl.infrastructure.values.ValuesPackage;
+
+/**
+ * <!-- 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.papyrus.eastadl.infrastructure.values.ValuesPackage
+ * @generated
+ */
+public class ValuesSwitch<T> extends Switch<T> {
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static ValuesPackage modelPackage;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ValuesSwitch() {
+ if (modelPackage == null) {
+ modelPackage = ValuesPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Checks whether this is a switch for the given package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @parameter ePackage the package in question.
+ * @return whether this is a switch for the given package.
+ * @generated
+ */
+ @Override
+ protected boolean isSwitchFor(EPackage ePackage) {
+ return ePackage == modelPackage;
+ }
+
+ /**
+ * 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
+ */
+ @Override
+ protected T doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID) {
+ case ValuesPackage.EA_ARRAY_VALUE: {
+ EAArrayValue eaArrayValue = (EAArrayValue)theEObject;
+ T result = caseEAArrayValue(eaArrayValue);
+ if (result == null) result = caseEAValue(eaArrayValue);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ValuesPackage.EA_VALUE: {
+ EAValue eaValue = (EAValue)theEObject;
+ T result = caseEAValue(eaValue);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ValuesPackage.EA_BOOLEAN_VALUE: {
+ EABooleanValue eaBooleanValue = (EABooleanValue)theEObject;
+ T result = caseEABooleanValue(eaBooleanValue);
+ if (result == null) result = caseEAValue(eaBooleanValue);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ValuesPackage.EA_COMPOSITE_VALUE: {
+ EACompositeValue eaCompositeValue = (EACompositeValue)theEObject;
+ T result = caseEACompositeValue(eaCompositeValue);
+ if (result == null) result = caseEAValue(eaCompositeValue);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ValuesPackage.EA_ENUMERATION_VALUE: {
+ EAEnumerationValue eaEnumerationValue = (EAEnumerationValue)theEObject;
+ T result = caseEAEnumerationValue(eaEnumerationValue);
+ if (result == null) result = caseEAValue(eaEnumerationValue);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ValuesPackage.EA_EXPRESSION: {
+ EAExpression eaExpression = (EAExpression)theEObject;
+ T result = caseEAExpression(eaExpression);
+ if (result == null) result = caseEAValue(eaExpression);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ValuesPackage.EA_NUMERICAL_VALUE: {
+ EANumericalValue eaNumericalValue = (EANumericalValue)theEObject;
+ T result = caseEANumericalValue(eaNumericalValue);
+ if (result == null) result = caseEAValue(eaNumericalValue);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ValuesPackage.EA_STRING_VALUE: {
+ EAStringValue eaStringValue = (EAStringValue)theEObject;
+ T result = caseEAStringValue(eaStringValue);
+ if (result == null) result = caseEAValue(eaStringValue);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>EA Array 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>EA Array Value</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseEAArrayValue(EAArrayValue object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>EA 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>EA Value</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseEAValue(EAValue object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>EA Boolean 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>EA Boolean Value</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseEABooleanValue(EABooleanValue object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>EA Composite 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>EA Composite Value</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseEACompositeValue(EACompositeValue object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>EA Enumeration 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>EA Enumeration Value</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseEAEnumerationValue(EAEnumerationValue object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>EA 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>EA Expression</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseEAExpression(EAExpression object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>EA Numerical 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>EA Numerical Value</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseEANumericalValue(EANumericalValue object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>EA String 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>EA String Value</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseEAStringValue(EAStringValue 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
+ */
+ @Override
+ public T defaultCase(EObject object) {
+ return null;
+ }
+
+} //ValuesSwitch
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/util/ValuesXMLProcessor.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/util/ValuesXMLProcessor.java
new file mode 100644
index 00000000000..fc8a22e88f9
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/values/util/ValuesXMLProcessor.java
@@ -0,0 +1,47 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.infrastructure.values.util;
+
+import java.util.Map;
+
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.resource.Resource;
+import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
+import org.eclipse.papyrus.eastadl.infrastructure.values.ValuesPackage;
+
+/**
+ * This class contains helper methods to serialize and deserialize XML documents
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class ValuesXMLProcessor extends XMLProcessor {
+
+ /**
+ * Public constructor to instantiate the helper.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ValuesXMLProcessor() {
+ super((EPackage.Registry.INSTANCE));
+ ValuesPackage.eINSTANCE.eClass();
+ }
+
+ /**
+ * Register for "*" and "xml" file extensions the ValuesResourceFactoryImpl 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 ValuesResourceFactoryImpl());
+ registrations.put(STAR_EXTENSION, new ValuesResourceFactoryImpl());
+ }
+ return registrations;
+ }
+
+} //ValuesXMLProcessor

Back to the top