/** | |
* Copyright (c)2020 CEA LIST, Committer Name, and others. | |
* | |
* All rights reserved. This program and the accompanying materials | |
* are made available under the terms of the Eclipse Public License 2.0 | |
* which accompanies this distribution, and is available at | |
* https://www.eclipse.org/legal/epl-2.0/ | |
* | |
* SPDX-License-Identifier: EPL-2.0 | |
* | |
* Contributors: | |
* CEA LIST - Initial API and implementation | |
* Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr | |
* Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr | |
* | |
*/ | |
package org.eclipse.papyrus.pdp4eng.designer.profile.pdp4engDesign.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.EcorePackage; | |
import org.eclipse.emf.ecore.impl.EPackageImpl; | |
import org.eclipse.papyrus.pdp4eng.designer.profile.pdp4engDesign.CallProcess; | |
import org.eclipse.papyrus.pdp4eng.designer.profile.pdp4engDesign.CompositeData; | |
import org.eclipse.papyrus.pdp4eng.designer.profile.pdp4engDesign.Data; | |
import org.eclipse.papyrus.pdp4eng.designer.profile.pdp4engDesign.DataInput; | |
import org.eclipse.papyrus.pdp4eng.designer.profile.pdp4engDesign.DataLink; | |
import org.eclipse.papyrus.pdp4eng.designer.profile.pdp4engDesign.DataOutput; | |
import org.eclipse.papyrus.pdp4eng.designer.profile.pdp4engDesign.DataStore; | |
import org.eclipse.papyrus.pdp4eng.designer.profile.pdp4engDesign.DataType; | |
import org.eclipse.papyrus.pdp4eng.designer.profile.pdp4engDesign.Entity; | |
import org.eclipse.papyrus.pdp4eng.designer.profile.pdp4engDesign.ExternalEntity; | |
import org.eclipse.papyrus.pdp4eng.designer.profile.pdp4engDesign.OpaqueData; | |
import org.eclipse.papyrus.pdp4eng.designer.profile.pdp4engDesign.SmartGridFrame; | |
import org.eclipse.papyrus.pdp4eng.designer.profile.pdp4engDesign.Table; | |
import org.eclipse.papyrus.pdp4eng.designer.profile.pdp4engDesign.isPersonalData; | |
import org.eclipse.papyrus.pdp4eng.designer.profile.pdp4engDesign.pdp4engDesignFactory; | |
import org.eclipse.papyrus.pdp4eng.designer.profile.pdp4engDesign.pdp4engDesignPackage; | |
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 pdp4engDesignPackageImpl extends EPackageImpl implements pdp4engDesignPackage { | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass opaqueDataEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass dataTypeEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass isPersonalDataEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass dataOutputEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass dataEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass dataLinkEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass compositeDataEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass tableEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass externalEntityEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass entityEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass dataStoreEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass dataInputEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass processEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass callProcessEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass smartGridFrameEClass = null; | |
/** | |
* Creates an instance of the model <b>Package</b>, registered with | |
* {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package | |
* package URI value. | |
* <p>Note: the correct way to create the package is via the static | |
* factory method {@link #init init()}, which also performs | |
* initialization of the package, or returns the registered package, | |
* if one already exists. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see org.eclipse.emf.ecore.EPackage.Registry | |
* @see org.eclipse.papyrus.pdp4eng.designer.profile.pdp4engDesign.pdp4engDesignPackage#eNS_URI | |
* @see #init() | |
* @generated | |
*/ | |
private pdp4engDesignPackageImpl() { | |
super(eNS_URI, pdp4engDesignFactory.eINSTANCE); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private static boolean isInited = false; | |
/** | |
* Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. | |
* | |
* <p>This method is used to initialize {@link pdp4engDesignPackage#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 pdp4engDesignPackage init() { | |
if (isInited) return (pdp4engDesignPackage)EPackage.Registry.INSTANCE.getEPackage(pdp4engDesignPackage.eNS_URI); | |
// Obtain or create and register package | |
Object registeredpdp4engDesignPackage = EPackage.Registry.INSTANCE.get(eNS_URI); | |
pdp4engDesignPackageImpl thepdp4engDesignPackage = registeredpdp4engDesignPackage instanceof pdp4engDesignPackageImpl ? (pdp4engDesignPackageImpl)registeredpdp4engDesignPackage : new pdp4engDesignPackageImpl(); | |
isInited = true; | |
// Initialize simple dependencies | |
EcorePackage.eINSTANCE.eClass(); | |
TypesPackage.eINSTANCE.eClass(); | |
UMLPackage.eINSTANCE.eClass(); | |
// Create package meta-data objects | |
thepdp4engDesignPackage.createPackageContents(); | |
// Initialize created meta-data | |
thepdp4engDesignPackage.initializePackageContents(); | |
// Mark meta-data to indicate it can't be changed | |
thepdp4engDesignPackage.freeze(); | |
// Update the registry and return the package | |
EPackage.Registry.INSTANCE.put(pdp4engDesignPackage.eNS_URI, thepdp4engDesignPackage); | |
return thepdp4engDesignPackage; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EClass getOpaqueData() { | |
return opaqueDataEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EClass getDataType() { | |
return dataTypeEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EReference getDataType_Base_PrimitiveType() { | |
return (EReference)dataTypeEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EClass getisPersonalData() { | |
return isPersonalDataEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EAttribute getisPersonalData_Likelihood() { | |
return (EAttribute)isPersonalDataEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EReference getisPersonalData_Base_NamedElement() { | |
return (EReference)isPersonalDataEClass.getEStructuralFeatures().get(1); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EReference getisPersonalData_Base_Class() { | |
return (EReference)isPersonalDataEClass.getEStructuralFeatures().get(2); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EClass getDataOutput() { | |
return dataOutputEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EReference getDataOutput_Base_OutputPin() { | |
return (EReference)dataOutputEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EReference getDataOutput_Base_Parameter() { | |
return (EReference)dataOutputEClass.getEStructuralFeatures().get(1); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EClass getData() { | |
return dataEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EReference getData_Base_Class() { | |
return (EReference)dataEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EClass getDataLink() { | |
return dataLinkEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EAttribute getDataLink_Path() { | |
return (EAttribute)dataLinkEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EReference getDataLink_Type() { | |
return (EReference)dataLinkEClass.getEStructuralFeatures().get(1); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EClass getCompositeData() { | |
return compositeDataEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EClass getTable() { | |
return tableEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EClass getExternalEntity() { | |
return externalEntityEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EReference getExternalEntity_Base_ActivityParameterNode() { | |
return (EReference)externalEntityEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EReference getExternalEntity_Entity() { | |
return (EReference)externalEntityEClass.getEStructuralFeatures().get(1); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EClass getEntity() { | |
return entityEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EReference getEntity_Base_NamedElement() { | |
return (EReference)entityEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EClass getDataStore() { | |
return dataStoreEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EReference getDataStore_Base_DataStoreNode() { | |
return (EReference)dataStoreEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EClass getDataInput() { | |
return dataInputEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EReference getDataInput_Base_InputPin() { | |
return (EReference)dataInputEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EReference getDataInput_Base_Parameter() { | |
return (EReference)dataInputEClass.getEStructuralFeatures().get(1); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EClass getProcess() { | |
return processEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EReference getProcess_Base_Activity() { | |
return (EReference)processEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EClass getCallProcess() { | |
return callProcessEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EReference getCallProcess_Base_CallBehaviorAction() { | |
return (EReference)callProcessEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EReference getCallProcess_Base_OpaqueAction() { | |
return (EReference)callProcessEClass.getEStructuralFeatures().get(1); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EClass getSmartGridFrame() { | |
return smartGridFrameEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EAttribute getSmartGridFrame_ConcentratorID() { | |
return (EAttribute)smartGridFrameEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EAttribute getSmartGridFrame_UserName() { | |
return (EAttribute)smartGridFrameEClass.getEStructuralFeatures().get(1); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EAttribute getSmartGridFrame_Postcode() { | |
return (EAttribute)smartGridFrameEClass.getEStructuralFeatures().get(2); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EAttribute getSmartGridFrame_Date() { | |
return (EAttribute)smartGridFrameEClass.getEStructuralFeatures().get(3); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EAttribute getSmartGridFrame_Consumption() { | |
return (EAttribute)smartGridFrameEClass.getEStructuralFeatures().get(4); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EAttribute getSmartGridFrame_Crc() { | |
return (EAttribute)smartGridFrameEClass.getEStructuralFeatures().get(5); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public EAttribute getSmartGridFrame_Id() { | |
return (EAttribute)smartGridFrameEClass.getEStructuralFeatures().get(6); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public pdp4engDesignFactory getpdp4engDesignFactory() { | |
return (pdp4engDesignFactory)getEFactoryInstance(); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private boolean isCreated = false; | |
/** | |
* Creates the meta-model objects for the package. This method is | |
* guarded to have no affect on any invocation but its first. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public void createPackageContents() { | |
if (isCreated) return; | |
isCreated = true; | |
// Create classes and their features | |
opaqueDataEClass = createEClass(OPAQUE_DATA); | |
dataTypeEClass = createEClass(DATA_TYPE); | |
createEReference(dataTypeEClass, DATA_TYPE__BASE_PRIMITIVE_TYPE); | |
isPersonalDataEClass = createEClass(IS_PERSONAL_DATA); | |
createEAttribute(isPersonalDataEClass, IS_PERSONAL_DATA__LIKELIHOOD); | |
createEReference(isPersonalDataEClass, IS_PERSONAL_DATA__BASE_NAMED_ELEMENT); | |
createEReference(isPersonalDataEClass, IS_PERSONAL_DATA__BASE_CLASS); | |
dataOutputEClass = createEClass(DATA_OUTPUT); | |
createEReference(dataOutputEClass, DATA_OUTPUT__BASE_OUTPUT_PIN); | |
createEReference(dataOutputEClass, DATA_OUTPUT__BASE_PARAMETER); | |
dataEClass = createEClass(DATA); | |
createEReference(dataEClass, DATA__BASE_CLASS); | |
dataLinkEClass = createEClass(DATA_LINK); | |
createEAttribute(dataLinkEClass, DATA_LINK__PATH); | |
createEReference(dataLinkEClass, DATA_LINK__TYPE); | |
compositeDataEClass = createEClass(COMPOSITE_DATA); | |
tableEClass = createEClass(TABLE); | |
externalEntityEClass = createEClass(EXTERNAL_ENTITY); | |
createEReference(externalEntityEClass, EXTERNAL_ENTITY__BASE_ACTIVITY_PARAMETER_NODE); | |
createEReference(externalEntityEClass, EXTERNAL_ENTITY__ENTITY); | |
entityEClass = createEClass(ENTITY); | |
createEReference(entityEClass, ENTITY__BASE_NAMED_ELEMENT); | |
dataStoreEClass = createEClass(DATA_STORE); | |
createEReference(dataStoreEClass, DATA_STORE__BASE_DATA_STORE_NODE); | |
dataInputEClass = createEClass(DATA_INPUT); | |
createEReference(dataInputEClass, DATA_INPUT__BASE_INPUT_PIN); | |
createEReference(dataInputEClass, DATA_INPUT__BASE_PARAMETER); | |
processEClass = createEClass(PROCESS); | |
createEReference(processEClass, PROCESS__BASE_ACTIVITY); | |
callProcessEClass = createEClass(CALL_PROCESS); | |
createEReference(callProcessEClass, CALL_PROCESS__BASE_CALL_BEHAVIOR_ACTION); | |
createEReference(callProcessEClass, CALL_PROCESS__BASE_OPAQUE_ACTION); | |
smartGridFrameEClass = createEClass(SMART_GRID_FRAME); | |
createEAttribute(smartGridFrameEClass, SMART_GRID_FRAME__CONCENTRATOR_ID); | |
createEAttribute(smartGridFrameEClass, SMART_GRID_FRAME__USER_NAME); | |
createEAttribute(smartGridFrameEClass, SMART_GRID_FRAME__POSTCODE); | |
createEAttribute(smartGridFrameEClass, SMART_GRID_FRAME__DATE); | |
createEAttribute(smartGridFrameEClass, SMART_GRID_FRAME__CONSUMPTION); | |
createEAttribute(smartGridFrameEClass, SMART_GRID_FRAME__CRC); | |
createEAttribute(smartGridFrameEClass, SMART_GRID_FRAME__ID); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private boolean isInitialized = false; | |
/** | |
* Complete the initialization of the package and its meta-model. This | |
* method is guarded to have no affect on any invocation but its first. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public void initializePackageContents() { | |
if (isInitialized) return; | |
isInitialized = true; | |
// Initialize package | |
setName(eNAME); | |
setNsPrefix(eNS_PREFIX); | |
setNsURI(eNS_URI); | |
// Obtain other dependent packages | |
UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI); | |
TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI); | |
// Create type parameters | |
// Set bounds for type parameters | |
// Add supertypes to classes | |
opaqueDataEClass.getESuperTypes().add(this.getDataType()); | |
dataLinkEClass.getESuperTypes().add(this.getData()); | |
compositeDataEClass.getESuperTypes().add(this.getData()); | |
tableEClass.getESuperTypes().add(this.getData()); | |
smartGridFrameEClass.getESuperTypes().add(this.getData()); | |
// Initialize classes, features, and operations; add parameters | |
initEClass(opaqueDataEClass, OpaqueData.class, "OpaqueData", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | |
initEClass(dataTypeEClass, DataType.class, "DataType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | |
initEReference(getDataType_Base_PrimitiveType(), theUMLPackage.getPrimitiveType(), null, "base_PrimitiveType", null, 1, 1, DataType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); | |
initEClass(isPersonalDataEClass, isPersonalData.class, "isPersonalData", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | |
initEAttribute(getisPersonalData_Likelihood(), theTypesPackage.getReal(), "likelihood", null, 0, 1, isPersonalData.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); | |
initEReference(getisPersonalData_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 1, 1, isPersonalData.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); | |
initEReference(getisPersonalData_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 1, 1, isPersonalData.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); | |
initEClass(dataOutputEClass, DataOutput.class, "DataOutput", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | |
initEReference(getDataOutput_Base_OutputPin(), theUMLPackage.getOutputPin(), null, "base_OutputPin", null, 1, 1, DataOutput.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); | |
initEReference(getDataOutput_Base_Parameter(), theUMLPackage.getParameter(), null, "base_Parameter", null, 1, 1, DataOutput.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); | |
initEClass(dataEClass, Data.class, "Data", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | |
initEReference(getData_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 1, 1, Data.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); | |
initEClass(dataLinkEClass, DataLink.class, "DataLink", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | |
initEAttribute(getDataLink_Path(), theTypesPackage.getString(), "path", null, 0, 1, DataLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); | |
initEReference(getDataLink_Type(), this.getDataType(), null, "type", null, 0, 1, DataLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); | |
initEClass(compositeDataEClass, CompositeData.class, "CompositeData", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | |
initEClass(tableEClass, Table.class, "Table", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | |
initEClass(externalEntityEClass, ExternalEntity.class, "ExternalEntity", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | |
initEReference(getExternalEntity_Base_ActivityParameterNode(), theUMLPackage.getActivityParameterNode(), null, "base_ActivityParameterNode", null, 1, 1, ExternalEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); | |
initEReference(getExternalEntity_Entity(), this.getEntity(), null, "entity", null, 0, 1, ExternalEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); | |
initEClass(entityEClass, Entity.class, "Entity", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | |
initEReference(getEntity_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 1, 1, Entity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); | |
initEClass(dataStoreEClass, DataStore.class, "DataStore", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | |
initEReference(getDataStore_Base_DataStoreNode(), theUMLPackage.getDataStoreNode(), null, "base_DataStoreNode", null, 1, 1, DataStore.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); | |
initEClass(dataInputEClass, DataInput.class, "DataInput", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | |
initEReference(getDataInput_Base_InputPin(), theUMLPackage.getInputPin(), null, "base_InputPin", null, 1, 1, DataInput.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); | |
initEReference(getDataInput_Base_Parameter(), theUMLPackage.getParameter(), null, "base_Parameter", null, 1, 1, DataInput.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); | |
initEClass(processEClass, org.eclipse.papyrus.pdp4eng.designer.profile.pdp4engDesign.Process.class, "Process", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | |
initEReference(getProcess_Base_Activity(), theUMLPackage.getActivity(), null, "base_Activity", null, 1, 1, org.eclipse.papyrus.pdp4eng.designer.profile.pdp4engDesign.Process.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); | |
initEClass(callProcessEClass, CallProcess.class, "CallProcess", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | |
initEReference(getCallProcess_Base_CallBehaviorAction(), theUMLPackage.getCallBehaviorAction(), null, "base_CallBehaviorAction", null, 1, 1, CallProcess.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); | |
initEReference(getCallProcess_Base_OpaqueAction(), theUMLPackage.getOpaqueAction(), null, "base_OpaqueAction", null, 0, 1, CallProcess.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); | |
initEClass(smartGridFrameEClass, SmartGridFrame.class, "SmartGridFrame", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | |
initEAttribute(getSmartGridFrame_ConcentratorID(), theTypesPackage.getString(), "concentratorID", null, 0, 1, SmartGridFrame.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); | |
initEAttribute(getSmartGridFrame_UserName(), theTypesPackage.getString(), "userName", null, 0, 1, SmartGridFrame.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); | |
initEAttribute(getSmartGridFrame_Postcode(), theTypesPackage.getString(), "postcode", null, 0, 1, SmartGridFrame.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); | |
initEAttribute(getSmartGridFrame_Date(), theTypesPackage.getString(), "date", null, 0, 1, SmartGridFrame.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); | |
initEAttribute(getSmartGridFrame_Consumption(), theTypesPackage.getString(), "consumption", null, 0, 1, SmartGridFrame.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); | |
initEAttribute(getSmartGridFrame_Crc(), theTypesPackage.getString(), "crc", null, 0, 1, SmartGridFrame.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); | |
initEAttribute(getSmartGridFrame_Id(), theTypesPackage.getString(), "id", null, 0, 1, SmartGridFrame.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); | |
// Create resource | |
createResource(eNS_URI); | |
} | |
} //pdp4engDesignPackageImpl |