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/userattributes/impl/UserattributesPackageImpl.java')
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/impl/UserattributesPackageImpl.java566
1 files changed, 566 insertions, 0 deletions
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
new file mode 100644
index 00000000000..32e5551277c
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/infrastructure/userattributes/impl/UserattributesPackageImpl.java
@@ -0,0 +1,566 @@
+/*****************************************************************************
+ * 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.userattributes.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.impl.AnnexPackageImpl;
+import org.eclipse.papyrus.eastadl.annex.needs.NeedsPackage;
+import org.eclipse.papyrus.eastadl.annex.needs.impl.NeedsPackageImpl;
+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.UserAttributeDefinition;
+import org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeElementType;
+import org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserAttributeValue;
+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.requirements.RequirementsPackage;
+import org.eclipse.papyrus.eastadl.requirements.impl.RequirementsPackageImpl;
+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.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 UserattributesPackageImpl extends EPackageImpl implements UserattributesPackage {
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass userAttributeElementTypeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass userAttributeDefinitionEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass userAttributeableElementEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass userAttributeValueEClass = null;
+
+ /**
+ * <!-- 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 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);
+
+ // 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());
+
+ 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);
+ 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);
+ 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);
+ RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE);
+ VerificationvalidationPackageImpl theVerificationvalidationPackage = (VerificationvalidationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VerificationvalidationPackage.eNS_URI) instanceof VerificationvalidationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VerificationvalidationPackage.eNS_URI) : VerificationvalidationPackage.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);
+ 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
+ theUserattributesPackage.createPackageContents();
+ theEastadlPackage.createPackageContents();
+ theVariabilityPackage.createPackageContents();
+ theInfrastructurePackage.createPackageContents();
+ theDatatypesPackage.createPackageContents();
+ theElementsPackage.createPackageContents();
+ theStructurePackage.createPackageContents();
+ theFunctionmodelingPackage.createPackageContents();
+ theHardwaremodelingPackage.createPackageContents();
+ theSystemmodelingPackage.createPackageContents();
+ theVehiclefeaturemodelingPackage.createPackageContents();
+ theFeaturemodelingPackage.createPackageContents();
+ theBehaviorPackage.createPackageContents();
+ theRequirementsPackage.createPackageContents();
+ theVerificationvalidationPackage.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();
+ theGenericconstraintsPackage.createPackageContents();
+
+ // Initialize created meta-data
+ theUserattributesPackage.initializePackageContents();
+ theEastadlPackage.initializePackageContents();
+ theVariabilityPackage.initializePackageContents();
+ theInfrastructurePackage.initializePackageContents();
+ theDatatypesPackage.initializePackageContents();
+ theElementsPackage.initializePackageContents();
+ theStructurePackage.initializePackageContents();
+ theFunctionmodelingPackage.initializePackageContents();
+ theHardwaremodelingPackage.initializePackageContents();
+ theSystemmodelingPackage.initializePackageContents();
+ theVehiclefeaturemodelingPackage.initializePackageContents();
+ theFeaturemodelingPackage.initializePackageContents();
+ theBehaviorPackage.initializePackageContents();
+ theRequirementsPackage.initializePackageContents();
+ theVerificationvalidationPackage.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();
+ 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;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ 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.userattributes.UserattributesPackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private UserattributesPackageImpl() {
+ super(eNS_URI, UserattributesFactory.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 void createPackageContents() {
+ if (isCreated) return;
+ isCreated = true;
+
+ // Create classes and their features
+ userAttributeElementTypeEClass = createEClass(USER_ATTRIBUTE_ELEMENT_TYPE);
+ createEReference(userAttributeElementTypeEClass, USER_ATTRIBUTE_ELEMENT_TYPE__EXTENDED_ELEMENT_TYPE);
+ createEReference(userAttributeElementTypeEClass, USER_ATTRIBUTE_ELEMENT_TYPE__ATTRIBUTE);
+ createEReference(userAttributeElementTypeEClass, USER_ATTRIBUTE_ELEMENT_TYPE__BASE_CLASS);
+ createEAttribute(userAttributeElementTypeEClass, USER_ATTRIBUTE_ELEMENT_TYPE__VALID_FOR);
+
+ userAttributeDefinitionEClass = createEClass(USER_ATTRIBUTE_DEFINITION);
+ createEReference(userAttributeDefinitionEClass, USER_ATTRIBUTE_DEFINITION__BASE_CLASS);
+ createEAttribute(userAttributeDefinitionEClass, USER_ATTRIBUTE_DEFINITION__DEFAULT_VALUE);
+ createEReference(userAttributeDefinitionEClass, USER_ATTRIBUTE_DEFINITION__TYPE);
+ createEReference(userAttributeDefinitionEClass, USER_ATTRIBUTE_DEFINITION__BASE_PROPERTY);
+
+ userAttributeableElementEClass = createEClass(USER_ATTRIBUTEABLE_ELEMENT);
+ createEReference(userAttributeableElementEClass, USER_ATTRIBUTEABLE_ELEMENT__UA_VALUE);
+ createEReference(userAttributeableElementEClass, USER_ATTRIBUTEABLE_ELEMENT__UA_TYPE);
+ createEReference(userAttributeableElementEClass, USER_ATTRIBUTEABLE_ELEMENT__ATTRIBUTED_ELEMENT);
+ createEReference(userAttributeableElementEClass, USER_ATTRIBUTEABLE_ELEMENT__BASE_NAMED_ELEMENT);
+
+ userAttributeValueEClass = createEClass(USER_ATTRIBUTE_VALUE);
+ createEReference(userAttributeValueEClass, USER_ATTRIBUTE_VALUE__BASE_CLASS);
+ createEAttribute(userAttributeValueEClass, USER_ATTRIBUTE_VALUE__VALUE);
+ createEReference(userAttributeValueEClass, USER_ATTRIBUTE_VALUE__BASE_PROPERTY);
+ createEReference(userAttributeValueEClass, USER_ATTRIBUTE_VALUE__DEFINITION);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getUserAttributeableElement() {
+ return userAttributeableElementEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getUserAttributeableElement_UaType() {
+ return (EReference)userAttributeableElementEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getUserAttributeableElement_AttributedElement() {
+ return (EReference)userAttributeableElementEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getUserAttributeableElement_Base_NamedElement() {
+ return (EReference)userAttributeableElementEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getUserAttributeableElement_UaValue() {
+ return (EReference)userAttributeableElementEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getUserAttributeDefinition() {
+ return userAttributeDefinitionEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getUserAttributeDefinition_Base_Class() {
+ return (EReference)userAttributeDefinitionEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUserAttributeDefinition_DefaultValue() {
+ return (EAttribute)userAttributeDefinitionEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getUserAttributeDefinition_Type() {
+ return (EReference)userAttributeDefinitionEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getUserAttributeDefinition_Base_Property() {
+ return (EReference)userAttributeDefinitionEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getUserAttributeElementType() {
+ return userAttributeElementTypeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getUserAttributeElementType_Attribute() {
+ return (EReference)userAttributeElementTypeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getUserAttributeElementType_Base_Class() {
+ return (EReference)userAttributeElementTypeEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getUserAttributeElementType_ExtendedElementType() {
+ return (EReference)userAttributeElementTypeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUserAttributeElementType_ValidFor() {
+ return (EAttribute)userAttributeElementTypeEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public UserattributesFactory getUserattributesFactory() {
+ return (UserattributesFactory)getEFactoryInstance();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getUserAttributeValue() {
+ return userAttributeValueEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getUserAttributeValue_Base_Class() {
+ return (EReference)userAttributeValueEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getUserAttributeValue_Definition() {
+ return (EReference)userAttributeValueEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUserAttributeValue_Value() {
+ return (EAttribute)userAttributeValueEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getUserAttributeValue_Base_Property() {
+ return (EReference)userAttributeValueEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * 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
+ ElementsPackage theElementsPackage = (ElementsPackage)EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI);
+ UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
+ TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);
+ DatatypesPackage theDatatypesPackage = (DatatypesPackage)EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+ userAttributeElementTypeEClass.getESuperTypes().add(theElementsPackage.getEAElement());
+ userAttributeDefinitionEClass.getESuperTypes().add(theElementsPackage.getEAElement());
+ userAttributeValueEClass.getESuperTypes().add(theElementsPackage.getEAElement());
+
+ // Initialize classes and features; add operations and 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);
+ initEReference(getUserAttributeElementType_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 1, 1, UserAttributeElementType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getUserAttributeElementType_ValidFor(), theTypesPackage.getString(), "validFor", null, 0, 1, UserAttributeElementType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(userAttributeDefinitionEClass, UserAttributeDefinition.class, "UserAttributeDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getUserAttributeDefinition_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 0, 1, UserAttributeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getUserAttributeDefinition_DefaultValue(), theTypesPackage.getString(), "defaultValue", null, 0, 1, UserAttributeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getUserAttributeDefinition_Type(), theDatatypesPackage.getEADatatype(), null, "type", null, 1, 1, UserAttributeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getUserAttributeDefinition_Base_Property(), theUMLPackage.getProperty(), null, "base_Property", null, 0, 1, UserAttributeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(userAttributeableElementEClass, UserAttributeableElement.class, "UserAttributeableElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getUserAttributeableElement_UaValue(), this.getUserAttributeValue(), null, "uaValue", null, 0, -1, UserAttributeableElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getUserAttributeableElement_UaType(), this.getUserAttributeElementType(), null, "uaType", null, 0, -1, UserAttributeableElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getUserAttributeableElement_AttributedElement(), theUMLPackage.getNamedElement(), null, "attributedElement", null, 1, 1, UserAttributeableElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getUserAttributeableElement_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 1, 1, UserAttributeableElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(userAttributeValueEClass, UserAttributeValue.class, "UserAttributeValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getUserAttributeValue_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 0, 1, UserAttributeValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getUserAttributeValue_Value(), theTypesPackage.getString(), "value", null, 1, 1, UserAttributeValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getUserAttributeValue_Base_Property(), theUMLPackage.getProperty(), null, "base_Property", null, 0, 1, UserAttributeValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getUserAttributeValue_Definition(), this.getUserAttributeDefinition(), null, "definition", null, 0, 1, UserAttributeValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ }
+
+} //UserattributesPackageImpl

Back to the top