diff options
Diffstat (limited to 'extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/ElementsPackageImpl.java')
-rw-r--r-- | extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/elements/impl/ElementsPackageImpl.java | 471 |
1 files changed, 281 insertions, 190 deletions
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 |