Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwaremodelingPackageImpl.java')
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwaremodelingPackageImpl.java1017
1 files changed, 1017 insertions, 0 deletions
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwaremodelingPackageImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwaremodelingPackageImpl.java
new file mode 100644
index 00000000000..a07897a1778
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwaremodelingPackageImpl.java
@@ -0,0 +1,1017 @@
+/*****************************************************************************
+ * 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.structure.hardwaremodeling.impl;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EEnum;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+import org.eclipse.emf.ecore.impl.EPackageImpl;
+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.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.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.Actuator;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.AllocationTarget;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.CommunicationHardwarePin;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentPrototype;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentType;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareConnector;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePin;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePinGroup;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwaremodelingFactory;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwaremodelingPackage;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.IOHardwarePin;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.IOHardwarePinKind;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.LogicalBus;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.LogicalBusKind;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.Node;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.PowerHardwarePin;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.PowerSupply;
+import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.Sensor;
+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 HardwaremodelingPackageImpl extends EPackageImpl implements HardwaremodelingPackage {
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass hardwareComponentTypeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum ioHardwarePinKindEEnum = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum logicalBusKindEEnum = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass hardwareConnectorEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass hardwarePinEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass hardwareComponentPrototypeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass allocationTargetEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass logicalBusEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass hardwarePinGroupEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass powerHardwarePinEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass ioHardwarePinEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass communicationHardwarePinEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass nodeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass powerSupplyEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass sensorEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass actuatorEClass = 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 HardwaremodelingPackage#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 HardwaremodelingPackage init() {
+ if (isInited) return (HardwaremodelingPackage)EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI);
+
+ // Obtain or create and register package
+ HardwaremodelingPackageImpl theHardwaremodelingPackage = (HardwaremodelingPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof HardwaremodelingPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new HardwaremodelingPackageImpl());
+
+ 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);
+ 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
+ theHardwaremodelingPackage.createPackageContents();
+ theEastadlPackage.createPackageContents();
+ theVariabilityPackage.createPackageContents();
+ theInfrastructurePackage.createPackageContents();
+ theDatatypesPackage.createPackageContents();
+ theUserattributesPackage.createPackageContents();
+ theElementsPackage.createPackageContents();
+ theStructurePackage.createPackageContents();
+ theFunctionmodelingPackage.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
+ theHardwaremodelingPackage.initializePackageContents();
+ theEastadlPackage.initializePackageContents();
+ theVariabilityPackage.initializePackageContents();
+ theInfrastructurePackage.initializePackageContents();
+ theDatatypesPackage.initializePackageContents();
+ theUserattributesPackage.initializePackageContents();
+ theElementsPackage.initializePackageContents();
+ theStructurePackage.initializePackageContents();
+ theFunctionmodelingPackage.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
+ theHardwaremodelingPackage.freeze();
+
+
+ // Update the registry and return the package
+ EPackage.Registry.INSTANCE.put(HardwaremodelingPackage.eNS_URI, theHardwaremodelingPackage);
+ return theHardwaremodelingPackage;
+ }
+
+ /**
+ * <!-- 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.structure.hardwaremodeling.HardwaremodelingPackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private HardwaremodelingPackageImpl() {
+ super(eNS_URI, HardwaremodelingFactory.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
+ hardwareConnectorEClass = createEClass(HARDWARE_CONNECTOR);
+ createEReference(hardwareConnectorEClass, HARDWARE_CONNECTOR__BASE_CONNECTOR);
+ createEReference(hardwareConnectorEClass, HARDWARE_CONNECTOR__PORT);
+ createEReference(hardwareConnectorEClass, HARDWARE_CONNECTOR__PORT1_PATH);
+ createEReference(hardwareConnectorEClass, HARDWARE_CONNECTOR__PORT2_PATH);
+
+ hardwarePinEClass = createEClass(HARDWARE_PIN);
+ createEReference(hardwarePinEClass, HARDWARE_PIN__BASE_PORT);
+ createEAttribute(hardwarePinEClass, HARDWARE_PIN__IS_GROUND);
+ createEAttribute(hardwarePinEClass, HARDWARE_PIN__VOLTAGE);
+ createEAttribute(hardwarePinEClass, HARDWARE_PIN__DIRECTION);
+ createEAttribute(hardwarePinEClass, HARDWARE_PIN__IMPEDANCE);
+ createEAttribute(hardwarePinEClass, HARDWARE_PIN__POWER);
+
+ hardwareComponentPrototypeEClass = createEClass(HARDWARE_COMPONENT_PROTOTYPE);
+ createEReference(hardwareComponentPrototypeEClass, HARDWARE_COMPONENT_PROTOTYPE__TYPE);
+ createEReference(hardwareComponentPrototypeEClass, HARDWARE_COMPONENT_PROTOTYPE__BASE_PROPERTY);
+
+ allocationTargetEClass = createEClass(ALLOCATION_TARGET);
+
+ ioHardwarePinEClass = createEClass(IO_HARDWARE_PIN);
+ createEAttribute(ioHardwarePinEClass, IO_HARDWARE_PIN__TYPE);
+
+ powerHardwarePinEClass = createEClass(POWER_HARDWARE_PIN);
+
+ communicationHardwarePinEClass = createEClass(COMMUNICATION_HARDWARE_PIN);
+
+ nodeEClass = createEClass(NODE);
+ createEAttribute(nodeEClass, NODE__EXECUTION_RATE);
+ createEAttribute(nodeEClass, NODE__NON_VOLATILE_MEMORY);
+ createEAttribute(nodeEClass, NODE__VOLATILE_MEMORY);
+
+ powerSupplyEClass = createEClass(POWER_SUPPLY);
+ createEAttribute(powerSupplyEClass, POWER_SUPPLY__IS_ACTIVE);
+
+ sensorEClass = createEClass(SENSOR);
+
+ actuatorEClass = createEClass(ACTUATOR);
+
+ logicalBusEClass = createEClass(LOGICAL_BUS);
+ createEReference(logicalBusEClass, LOGICAL_BUS__BASE_CLASS);
+ createEAttribute(logicalBusEClass, LOGICAL_BUS__BUS_SPEED);
+ createEAttribute(logicalBusEClass, LOGICAL_BUS__BUS_TYPE);
+ createEReference(logicalBusEClass, LOGICAL_BUS__WIRE);
+ createEReference(logicalBusEClass, LOGICAL_BUS__WIRE_PATH);
+
+ hardwarePinGroupEClass = createEClass(HARDWARE_PIN_GROUP);
+ createEReference(hardwarePinGroupEClass, HARDWARE_PIN_GROUP__BASE_PORT);
+ createEReference(hardwarePinGroupEClass, HARDWARE_PIN_GROUP__BASE_CLASS);
+ createEReference(hardwarePinGroupEClass, HARDWARE_PIN_GROUP__PORT_GROUP);
+ createEReference(hardwarePinGroupEClass, HARDWARE_PIN_GROUP__PORT);
+
+ hardwareComponentTypeEClass = createEClass(HARDWARE_COMPONENT_TYPE);
+ createEReference(hardwareComponentTypeEClass, HARDWARE_COMPONENT_TYPE__CONNECTOR);
+ createEReference(hardwareComponentTypeEClass, HARDWARE_COMPONENT_TYPE__PORT);
+ createEReference(hardwareComponentTypeEClass, HARDWARE_COMPONENT_TYPE__PART);
+ createEReference(hardwareComponentTypeEClass, HARDWARE_COMPONENT_TYPE__BASE_CLASS);
+ createEReference(hardwareComponentTypeEClass, HARDWARE_COMPONENT_TYPE__BUS);
+ createEReference(hardwareComponentTypeEClass, HARDWARE_COMPONENT_TYPE__PORT_GROUP);
+
+ // Create enums
+ ioHardwarePinKindEEnum = createEEnum(IO_HARDWARE_PIN_KIND);
+ logicalBusKindEEnum = createEEnum(LOGICAL_BUS_KIND);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getActuator() {
+ return actuatorEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getAllocationTarget() {
+ return allocationTargetEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getIOHardwarePin() {
+ return ioHardwarePinEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getIOHardwarePin_Type() {
+ return (EAttribute)ioHardwarePinEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCommunicationHardwarePin() {
+ return communicationHardwarePinEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getHardwareComponentPrototype() {
+ return hardwareComponentPrototypeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getHardwareComponentPrototype_Type() {
+ return (EReference)hardwareComponentPrototypeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getHardwareComponentPrototype_Base_Property() {
+ return (EReference)hardwareComponentPrototypeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getHardwareComponentType() {
+ return hardwareComponentTypeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getHardwareComponentType_Bus() {
+ return (EReference)hardwareComponentTypeEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getHardwareComponentType_Connector() {
+ return (EReference)hardwareComponentTypeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getHardwareComponentType_Part() {
+ return (EReference)hardwareComponentTypeEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getHardwareComponentType_Base_Class() {
+ return (EReference)hardwareComponentTypeEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getHardwareComponentType_Port() {
+ return (EReference)hardwareComponentTypeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getHardwareComponentType_PortGroup() {
+ return (EReference)hardwareComponentTypeEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EEnum getIOHardwarePinKind() {
+ return ioHardwarePinKindEEnum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getHardwareConnector() {
+ return hardwareConnectorEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getHardwareConnector_Base_Connector() {
+ return (EReference)hardwareConnectorEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getHardwareConnector_Port() {
+ return (EReference)hardwareConnectorEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getHardwareConnector_Port1_path() {
+ return (EReference)hardwareConnectorEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getHardwareConnector_Port2_path() {
+ return (EReference)hardwareConnectorEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public HardwaremodelingFactory getHardwaremodelingFactory() {
+ return (HardwaremodelingFactory)getEFactoryInstance();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getHardwarePin() {
+ return hardwarePinEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getHardwarePin_Base_Port() {
+ return (EReference)hardwarePinEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getHardwarePin_Direction() {
+ return (EAttribute)hardwarePinEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getHardwarePin_Impedance() {
+ return (EAttribute)hardwarePinEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getHardwarePin_IsGround() {
+ return (EAttribute)hardwarePinEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getHardwarePin_Power() {
+ return (EAttribute)hardwarePinEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getHardwarePin_Voltage() {
+ return (EAttribute)hardwarePinEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getHardwarePinGroup() {
+ return hardwarePinGroupEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getHardwarePinGroup_Base_Port() {
+ return (EReference)hardwarePinGroupEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getHardwarePinGroup_Base_Class() {
+ return (EReference)hardwarePinGroupEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getHardwarePinGroup_Port() {
+ return (EReference)hardwarePinGroupEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getHardwarePinGroup_PortGroup() {
+ return (EReference)hardwarePinGroupEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getLogicalBus() {
+ return logicalBusEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getLogicalBus_Base_Class() {
+ return (EReference)logicalBusEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getLogicalBus_BusSpeed() {
+ return (EAttribute)logicalBusEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getLogicalBus_BusType() {
+ return (EAttribute)logicalBusEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getLogicalBus_Wire() {
+ return (EReference)logicalBusEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getLogicalBus_Wire_path() {
+ return (EReference)logicalBusEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EEnum getLogicalBusKind() {
+ return logicalBusKindEEnum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getNode() {
+ return nodeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getNode_ExecutionRate() {
+ return (EAttribute)nodeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getNode_NonVolatileMemory() {
+ return (EAttribute)nodeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getNode_VolatileMemory() {
+ return (EAttribute)nodeEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getPowerHardwarePin() {
+ return powerHardwarePinEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getPowerSupply() {
+ return powerSupplyEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getPowerSupply_IsActive() {
+ return (EAttribute)powerSupplyEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getSensor() {
+ return sensorEClass;
+ }
+
+ /**
+ * 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);
+ FunctionmodelingPackage theFunctionmodelingPackage = (FunctionmodelingPackage)EPackage.Registry.INSTANCE.getEPackage(FunctionmodelingPackage.eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+ hardwareConnectorEClass.getESuperTypes().add(theElementsPackage.getEAElement());
+ hardwarePinEClass.getESuperTypes().add(theElementsPackage.getEAElement());
+ hardwareComponentPrototypeEClass.getESuperTypes().add(this.getAllocationTarget());
+ allocationTargetEClass.getESuperTypes().add(theElementsPackage.getEAElement());
+ ioHardwarePinEClass.getESuperTypes().add(this.getHardwarePin());
+ powerHardwarePinEClass.getESuperTypes().add(this.getHardwarePin());
+ communicationHardwarePinEClass.getESuperTypes().add(this.getHardwarePin());
+ nodeEClass.getESuperTypes().add(this.getHardwareComponentType());
+ powerSupplyEClass.getESuperTypes().add(this.getHardwareComponentType());
+ sensorEClass.getESuperTypes().add(this.getHardwareComponentType());
+ actuatorEClass.getESuperTypes().add(this.getHardwareComponentType());
+ logicalBusEClass.getESuperTypes().add(this.getAllocationTarget());
+ hardwarePinGroupEClass.getESuperTypes().add(theElementsPackage.getEAElement());
+ hardwareComponentTypeEClass.getESuperTypes().add(theElementsPackage.getContext());
+
+ // Initialize classes and features; add operations and parameters
+ initEClass(hardwareConnectorEClass, HardwareConnector.class, "HardwareConnector", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getHardwareConnector_Base_Connector(), theUMLPackage.getConnector(), null, "base_Connector", null, 1, 1, HardwareConnector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getHardwareConnector_Port(), this.getHardwarePin(), null, "port", null, 2, 2, HardwareConnector.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getHardwareConnector_Port1_path(), this.getHardwareComponentPrototype(), null, "port1_path", null, 0, -1, HardwareConnector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getHardwareConnector_Port2_path(), this.getHardwareComponentPrototype(), null, "port2_path", null, 0, -1, HardwareConnector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(hardwarePinEClass, HardwarePin.class, "HardwarePin", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getHardwarePin_Base_Port(), theUMLPackage.getPort(), null, "base_Port", null, 1, 1, HardwarePin.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getHardwarePin_IsGround(), theTypesPackage.getBoolean(), "isGround", null, 0, 1, HardwarePin.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getHardwarePin_Voltage(), theDatatypesPackage.getjavalangFloat(), "voltage", null, 0, 1, HardwarePin.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getHardwarePin_Direction(), theFunctionmodelingPackage.getEADirectionKind(), "direction", null, 1, 1, HardwarePin.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getHardwarePin_Impedance(), theDatatypesPackage.getjavalangFloat(), "impedance", null, 0, 1, HardwarePin.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getHardwarePin_Power(), theDatatypesPackage.getjavalangFloat(), "power", null, 0, 1, HardwarePin.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(hardwareComponentPrototypeEClass, HardwareComponentPrototype.class, "HardwareComponentPrototype", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getHardwareComponentPrototype_Type(), this.getHardwareComponentType(), null, "type", null, 1, 1, HardwareComponentPrototype.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getHardwareComponentPrototype_Base_Property(), theUMLPackage.getProperty(), null, "base_Property", null, 1, 1, HardwareComponentPrototype.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ addEOperation(hardwareComponentPrototypeEClass, theUMLPackage.getImage(), "getIcon", 1, 1, IS_UNIQUE, !IS_ORDERED);
+
+ initEClass(allocationTargetEClass, AllocationTarget.class, "AllocationTarget", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(ioHardwarePinEClass, IOHardwarePin.class, "IOHardwarePin", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getIOHardwarePin_Type(), this.getIOHardwarePinKind(), "type", null, 1, 1, IOHardwarePin.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(powerHardwarePinEClass, PowerHardwarePin.class, "PowerHardwarePin", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(communicationHardwarePinEClass, CommunicationHardwarePin.class, "CommunicationHardwarePin", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(nodeEClass, Node.class, "Node", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getNode_ExecutionRate(), theDatatypesPackage.getjavalangFloat(), "executionRate", "1", 1, 1, Node.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getNode_NonVolatileMemory(), theTypesPackage.getInteger(), "nonVolatileMemory", null, 1, 1, Node.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getNode_VolatileMemory(), theTypesPackage.getInteger(), "volatileMemory", null, 0, 1, Node.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(powerSupplyEClass, PowerSupply.class, "PowerSupply", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getPowerSupply_IsActive(), theTypesPackage.getBoolean(), "isActive", null, 1, 1, PowerSupply.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(sensorEClass, Sensor.class, "Sensor", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(actuatorEClass, Actuator.class, "Actuator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(logicalBusEClass, LogicalBus.class, "LogicalBus", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getLogicalBus_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 1, 1, LogicalBus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getLogicalBus_BusSpeed(), theDatatypesPackage.getjavalangFloat(), "busSpeed", null, 1, 1, LogicalBus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getLogicalBus_BusType(), this.getLogicalBusKind(), "busType", null, 1, 1, LogicalBus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getLogicalBus_Wire(), this.getHardwareConnector(), null, "wire", null, 0, -1, LogicalBus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getLogicalBus_Wire_path(), this.getHardwareComponentPrototype(), null, "wire_path", null, 0, -1, LogicalBus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(hardwarePinGroupEClass, HardwarePinGroup.class, "HardwarePinGroup", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getHardwarePinGroup_Base_Port(), theUMLPackage.getPort(), null, "base_Port", null, 0, 1, HardwarePinGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getHardwarePinGroup_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 0, 1, HardwarePinGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getHardwarePinGroup_PortGroup(), this.getHardwarePinGroup(), null, "portGroup", null, 0, -1, HardwarePinGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getHardwarePinGroup_Port(), this.getHardwarePin(), null, "port", null, 0, -1, HardwarePinGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(hardwareComponentTypeEClass, HardwareComponentType.class, "HardwareComponentType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getHardwareComponentType_Connector(), this.getHardwareConnector(), null, "connector", null, 0, -1, HardwareComponentType.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getHardwareComponentType_Port(), this.getHardwarePin(), null, "port", null, 0, -1, HardwareComponentType.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getHardwareComponentType_Part(), this.getHardwareComponentPrototype(), null, "part", null, 0, -1, HardwareComponentType.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getHardwareComponentType_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 1, 1, HardwareComponentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getHardwareComponentType_Bus(), this.getLogicalBus(), null, "bus", null, 0, -1, HardwareComponentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getHardwareComponentType_PortGroup(), this.getHardwarePinGroup(), null, "portGroup", null, 0, -1, HardwareComponentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ // Initialize enums and add enum literals
+ initEEnum(ioHardwarePinKindEEnum, IOHardwarePinKind.class, "IOHardwarePinKind");
+ addEEnumLiteral(ioHardwarePinKindEEnum, IOHardwarePinKind.DIGITAL);
+ addEEnumLiteral(ioHardwarePinKindEEnum, IOHardwarePinKind.ANALOG);
+ addEEnumLiteral(ioHardwarePinKindEEnum, IOHardwarePinKind.PWM);
+ addEEnumLiteral(ioHardwarePinKindEEnum, IOHardwarePinKind.OTHER);
+
+ initEEnum(logicalBusKindEEnum, LogicalBusKind.class, "LogicalBusKind");
+ addEEnumLiteral(logicalBusKindEEnum, LogicalBusKind.TIME_TRIGGERED);
+ addEEnumLiteral(logicalBusKindEEnum, LogicalBusKind.EVENT_TRIGGERED);
+ addEEnumLiteral(logicalBusKindEEnum, LogicalBusKind.TIMEAND_EVENT_TRIGGERED);
+ addEEnumLiteral(logicalBusKindEEnum, LogicalBusKind.OTHER);
+ }
+} //HardwaremodelingPackageImpl

Back to the top