| /***************************************************************************** |
| * Copyright (c) 2020 CEA LIST. |
| * |
| * |
| * 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: |
| * Saadia Dhouib (CEA LIST) saadia.dhouib@cea.fr - Initial API and implementation |
| * |
| *****************************************************************************/ |
| package org.eclipse.papyrus.aas.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.EcorePackage; |
| |
| import org.eclipse.emf.ecore.impl.EPackageImpl; |
| |
| import org.eclipse.papyrus.aas.AASFactory; |
| import org.eclipse.papyrus.aas.AASPackage; |
| import org.eclipse.papyrus.aas.AccessControl; |
| import org.eclipse.papyrus.aas.AccessControlPolicyPoints; |
| import org.eclipse.papyrus.aas.AdministrativeInformation; |
| import org.eclipse.papyrus.aas.Asset; |
| import org.eclipse.papyrus.aas.AssetAdministrationShell; |
| import org.eclipse.papyrus.aas.AssetKind; |
| import org.eclipse.papyrus.aas.BasicEvent; |
| import org.eclipse.papyrus.aas.Capability; |
| import org.eclipse.papyrus.aas.Certificate; |
| import org.eclipse.papyrus.aas.DataElement; |
| import org.eclipse.papyrus.aas.Endpoint; |
| import org.eclipse.papyrus.aas.Entity; |
| import org.eclipse.papyrus.aas.EntityType; |
| import org.eclipse.papyrus.aas.Event; |
| import org.eclipse.papyrus.aas.File; |
| import org.eclipse.papyrus.aas.HasKind; |
| import org.eclipse.papyrus.aas.HasSemantics; |
| import org.eclipse.papyrus.aas.Identifiable; |
| import org.eclipse.papyrus.aas.IdentifiableElement; |
| import org.eclipse.papyrus.aas.Identifier; |
| import org.eclipse.papyrus.aas.IdentifierType; |
| import org.eclipse.papyrus.aas.Key; |
| import org.eclipse.papyrus.aas.KeyElements; |
| import org.eclipse.papyrus.aas.KeyType; |
| import org.eclipse.papyrus.aas.LocalKeyType; |
| import org.eclipse.papyrus.aas.MimeType; |
| import org.eclipse.papyrus.aas.ModelingKind; |
| import org.eclipse.papyrus.aas.Operation; |
| import org.eclipse.papyrus.aas.Property; |
| import org.eclipse.papyrus.aas.ProtocolKind; |
| import org.eclipse.papyrus.aas.Range; |
| import org.eclipse.papyrus.aas.ReferableElements; |
| import org.eclipse.papyrus.aas.Refereable; |
| import org.eclipse.papyrus.aas.Reference; |
| import org.eclipse.papyrus.aas.ReferenceElement; |
| import org.eclipse.papyrus.aas.RelationshipElement; |
| import org.eclipse.papyrus.aas.Security; |
| import org.eclipse.papyrus.aas.Submodel; |
| import org.eclipse.papyrus.aas.SubmodelElement; |
| import org.eclipse.papyrus.aas.SubmodelElementCollection; |
| |
| 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 AASPackageImpl extends EPackageImpl implements AASPackage { |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EClass assetAdministrationShellEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EClass identifiableEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EClass refereableEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EClass administrativeInformationEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EClass identifierEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EClass securityEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EClass accessControlPolicyPointsEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EClass accessControlEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EClass submodelEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EClass hasKindEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EClass hasSemanticsEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EClass referenceEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EClass keyEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EClass submodelElementEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EClass certificateEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EClass assetEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EClass endpointEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EClass fileEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EClass dataElementEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EClass entityEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EClass relationshipElementEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EClass operationEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EClass submodelElementCollectionEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EClass propertyEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EClass referenceElementEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EClass eventEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EClass basicEventEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EClass rangeEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EClass capabilityEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EEnum identifierTypeEEnum = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EEnum modelingKindEEnum = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EEnum keyElementsEEnum = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EEnum referableElementsEEnum = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EEnum identifiableElementEEnum = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EEnum keyTypeEEnum = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EEnum localKeyTypeEEnum = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EEnum assetKindEEnum = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EEnum protocolKindEEnum = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EEnum mimeTypeEEnum = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| private EEnum entityTypeEEnum = 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.aas.AASPackage#eNS_URI |
| * @see #init() |
| * @generated |
| */ |
| private AASPackageImpl() { |
| super(eNS_URI, AASFactory.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 AASPackage#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 AASPackage init() { |
| if (isInited) |
| return (AASPackage) EPackage.Registry.INSTANCE.getEPackage(AASPackage.eNS_URI); |
| |
| // Obtain or create and register package |
| Object registeredAASPackage = EPackage.Registry.INSTANCE.get(eNS_URI); |
| AASPackageImpl theAASPackage = registeredAASPackage instanceof AASPackageImpl ? (AASPackageImpl) registeredAASPackage : new AASPackageImpl(); |
| |
| isInited = true; |
| |
| // Initialize simple dependencies |
| EcorePackage.eINSTANCE.eClass(); |
| TypesPackage.eINSTANCE.eClass(); |
| UMLPackage.eINSTANCE.eClass(); |
| |
| // Create package meta-data objects |
| theAASPackage.createPackageContents(); |
| |
| // Initialize created meta-data |
| theAASPackage.initializePackageContents(); |
| |
| // Mark meta-data to indicate it can't be changed |
| theAASPackage.freeze(); |
| |
| // Update the registry and return the package |
| EPackage.Registry.INSTANCE.put(AASPackage.eNS_URI, theAASPackage); |
| return theAASPackage; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EClass getAssetAdministrationShell() { |
| return assetAdministrationShellEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EReference getAssetAdministrationShell_DerivedFrom() { |
| return (EReference) assetAdministrationShellEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EReference getAssetAdministrationShell_Security() { |
| return (EReference) assetAdministrationShellEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EReference getAssetAdministrationShell_Asset() { |
| return (EReference) assetAdministrationShellEClass.getEStructuralFeatures().get(2); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EReference getAssetAdministrationShell_Submodel() { |
| return (EReference) assetAdministrationShellEClass.getEStructuralFeatures().get(3); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EAttribute getAssetAdministrationShell_Url() { |
| return (EAttribute) assetAdministrationShellEClass.getEStructuralFeatures().get(4); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EAttribute getAssetAdministrationShell_Port() { |
| return (EAttribute) assetAdministrationShellEClass.getEStructuralFeatures().get(5); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EClass getIdentifiable() { |
| return identifiableEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EReference getIdentifiable_Administration() { |
| return (EReference) identifiableEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EReference getIdentifiable_Identification() { |
| return (EReference) identifiableEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EClass getRefereable() { |
| return refereableEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EAttribute getRefereable_IdShort() { |
| return (EAttribute) refereableEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EAttribute getRefereable_Category() { |
| return (EAttribute) refereableEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EAttribute getRefereable_Description() { |
| return (EAttribute) refereableEClass.getEStructuralFeatures().get(2); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EReference getRefereable_Base_Class() { |
| return (EReference) refereableEClass.getEStructuralFeatures().get(3); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EReference getRefereable_Parent() { |
| return (EReference) refereableEClass.getEStructuralFeatures().get(4); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EClass getAdministrativeInformation() { |
| return administrativeInformationEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EAttribute getAdministrativeInformation_Version() { |
| return (EAttribute) administrativeInformationEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EAttribute getAdministrativeInformation_Revision() { |
| return (EAttribute) administrativeInformationEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EClass getIdentifier() { |
| return identifierEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EAttribute getIdentifier_IdType() { |
| return (EAttribute) identifierEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EAttribute getIdentifier_Id() { |
| return (EAttribute) identifierEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EClass getSecurity() { |
| return securityEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EReference getSecurity_Base_Class() { |
| return (EReference) securityEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EReference getSecurity_AccessControlPolicyPoints() { |
| return (EReference) securityEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EReference getSecurity_Certificate() { |
| return (EReference) securityEClass.getEStructuralFeatures().get(2); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EReference getSecurity_RequiredCertificateExtension() { |
| return (EReference) securityEClass.getEStructuralFeatures().get(3); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EClass getAccessControlPolicyPoints() { |
| return accessControlPolicyPointsEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EReference getAccessControlPolicyPoints_LocalAccessControl() { |
| return (EReference) accessControlPolicyPointsEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EAttribute getAccessControlPolicyPoints_ExternalAccessControl() { |
| return (EAttribute) accessControlPolicyPointsEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EAttribute getAccessControlPolicyPoints_ExternalInformationPoints() { |
| return (EAttribute) accessControlPolicyPointsEClass.getEStructuralFeatures().get(2); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EReference getAccessControlPolicyPoints_InternalInformationPoint() { |
| return (EReference) accessControlPolicyPointsEClass.getEStructuralFeatures().get(3); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EAttribute getAccessControlPolicyPoints_ExternalPolicyDecisionPoints() { |
| return (EAttribute) accessControlPolicyPointsEClass.getEStructuralFeatures().get(4); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EAttribute getAccessControlPolicyPoints_ExternalPolicyEnforcementPoint() { |
| return (EAttribute) accessControlPolicyPointsEClass.getEStructuralFeatures().get(5); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EClass getAccessControl() { |
| return accessControlEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EClass getSubmodel() { |
| return submodelEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EReference getSubmodel_Submodelelement() { |
| return (EReference) submodelEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EClass getHasKind() { |
| return hasKindEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EAttribute getHasKind_Kind() { |
| return (EAttribute) hasKindEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EReference getHasKind_Base_HasKind_Class() { |
| return (EReference) hasKindEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EClass getHasSemantics() { |
| return hasSemanticsEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EReference getHasSemantics_SemanticId() { |
| return (EReference) hasSemanticsEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EReference getHasSemantics_Base_HasSemantics_Class() { |
| return (EReference) hasSemanticsEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EClass getReference() { |
| return referenceEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EReference getReference_Key() { |
| return (EReference) referenceEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EReference getReference_Base_Class() { |
| return (EReference) referenceEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EClass getKey() { |
| return keyEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EAttribute getKey_Type() { |
| return (EAttribute) keyEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EAttribute getKey_Local() { |
| return (EAttribute) keyEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EAttribute getKey_Value() { |
| return (EAttribute) keyEClass.getEStructuralFeatures().get(2); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EAttribute getKey_IdType() { |
| return (EAttribute) keyEClass.getEStructuralFeatures().get(3); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EClass getSubmodelElement() { |
| return submodelElementEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EClass getCertificate() { |
| return certificateEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EClass getAsset() { |
| return assetEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EAttribute getAsset_Kind() { |
| return (EAttribute) assetEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EReference getAsset_Endpoint() { |
| return (EReference) assetEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EClass getEndpoint() { |
| return endpointEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EAttribute getEndpoint_Address() { |
| return (EAttribute) endpointEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EAttribute getEndpoint_Protocol() { |
| return (EAttribute) endpointEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EClass getFile() { |
| return fileEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EAttribute getFile_Path() { |
| return (EAttribute) fileEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EAttribute getFile_MimeType() { |
| return (EAttribute) fileEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EClass getDataElement() { |
| return dataElementEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EReference getDataElement_Base_Property() { |
| return (EReference) dataElementEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EClass getEntity() { |
| return entityEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EAttribute getEntity_EntityType() { |
| return (EAttribute) entityEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EReference getEntity_Asset() { |
| return (EReference) entityEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EClass getRelationshipElement() { |
| return relationshipElementEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EReference getRelationshipElement_Base_Dependency() { |
| return (EReference) relationshipElementEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EClass getOperation() { |
| return operationEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EReference getOperation_Base_Operation() { |
| return (EReference) operationEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EClass getSubmodelElementCollection() { |
| return submodelElementCollectionEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EReference getSubmodelElementCollection_Value() { |
| return (EReference) submodelElementCollectionEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EReference getSubmodelElementCollection_Base_Property() { |
| return (EReference) submodelElementCollectionEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EReference getSubmodelElementCollection_Base_DataType() { |
| return (EReference) submodelElementCollectionEClass.getEStructuralFeatures().get(2); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EClass getProperty() { |
| return propertyEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EClass getReferenceElement() { |
| return referenceElementEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EReference getReferenceElement_Value() { |
| return (EReference) referenceElementEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EClass getEvent() { |
| return eventEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EReference getEvent_Base_Property() { |
| return (EReference) eventEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EClass getBasicEvent() { |
| return basicEventEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EReference getBasicEvent_Observed() { |
| return (EReference) basicEventEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EClass getRange() { |
| return rangeEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EAttribute getRange_Min() { |
| return (EAttribute) rangeEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EAttribute getRange_Max() { |
| return (EAttribute) rangeEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EClass getCapability() { |
| return capabilityEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EReference getCapability_Base_Property() { |
| return (EReference) capabilityEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EEnum getIdentifierType() { |
| return identifierTypeEEnum; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EEnum getModelingKind() { |
| return modelingKindEEnum; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EEnum getKeyElements() { |
| return keyElementsEEnum; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EEnum getReferableElements() { |
| return referableElementsEEnum; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EEnum getIdentifiableElement() { |
| return identifiableElementEEnum; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EEnum getKeyType() { |
| return keyTypeEEnum; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EEnum getLocalKeyType() { |
| return localKeyTypeEEnum; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EEnum getAssetKind() { |
| return assetKindEEnum; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EEnum getProtocolKind() { |
| return protocolKindEEnum; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EEnum getMimeType() { |
| return mimeTypeEEnum; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public EEnum getEntityType() { |
| return entityTypeEEnum; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public AASFactory getAASFactory() { |
| return (AASFactory) 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 |
| assetAdministrationShellEClass = createEClass(ASSET_ADMINISTRATION_SHELL); |
| createEReference(assetAdministrationShellEClass, ASSET_ADMINISTRATION_SHELL__DERIVED_FROM); |
| createEReference(assetAdministrationShellEClass, ASSET_ADMINISTRATION_SHELL__SECURITY); |
| createEReference(assetAdministrationShellEClass, ASSET_ADMINISTRATION_SHELL__ASSET); |
| createEReference(assetAdministrationShellEClass, ASSET_ADMINISTRATION_SHELL__SUBMODEL); |
| createEAttribute(assetAdministrationShellEClass, ASSET_ADMINISTRATION_SHELL__URL); |
| createEAttribute(assetAdministrationShellEClass, ASSET_ADMINISTRATION_SHELL__PORT); |
| |
| identifiableEClass = createEClass(IDENTIFIABLE); |
| createEReference(identifiableEClass, IDENTIFIABLE__ADMINISTRATION); |
| createEReference(identifiableEClass, IDENTIFIABLE__IDENTIFICATION); |
| |
| refereableEClass = createEClass(REFEREABLE); |
| createEAttribute(refereableEClass, REFEREABLE__ID_SHORT); |
| createEAttribute(refereableEClass, REFEREABLE__CATEGORY); |
| createEAttribute(refereableEClass, REFEREABLE__DESCRIPTION); |
| createEReference(refereableEClass, REFEREABLE__BASE_CLASS); |
| createEReference(refereableEClass, REFEREABLE__PARENT); |
| |
| administrativeInformationEClass = createEClass(ADMINISTRATIVE_INFORMATION); |
| createEAttribute(administrativeInformationEClass, ADMINISTRATIVE_INFORMATION__VERSION); |
| createEAttribute(administrativeInformationEClass, ADMINISTRATIVE_INFORMATION__REVISION); |
| |
| identifierEClass = createEClass(IDENTIFIER); |
| createEAttribute(identifierEClass, IDENTIFIER__ID_TYPE); |
| createEAttribute(identifierEClass, IDENTIFIER__ID); |
| |
| securityEClass = createEClass(SECURITY); |
| createEReference(securityEClass, SECURITY__BASE_CLASS); |
| createEReference(securityEClass, SECURITY__ACCESS_CONTROL_POLICY_POINTS); |
| createEReference(securityEClass, SECURITY__CERTIFICATE); |
| createEReference(securityEClass, SECURITY__REQUIRED_CERTIFICATE_EXTENSION); |
| |
| accessControlPolicyPointsEClass = createEClass(ACCESS_CONTROL_POLICY_POINTS); |
| createEReference(accessControlPolicyPointsEClass, ACCESS_CONTROL_POLICY_POINTS__LOCAL_ACCESS_CONTROL); |
| createEAttribute(accessControlPolicyPointsEClass, ACCESS_CONTROL_POLICY_POINTS__EXTERNAL_ACCESS_CONTROL); |
| createEAttribute(accessControlPolicyPointsEClass, ACCESS_CONTROL_POLICY_POINTS__EXTERNAL_INFORMATION_POINTS); |
| createEReference(accessControlPolicyPointsEClass, ACCESS_CONTROL_POLICY_POINTS__INTERNAL_INFORMATION_POINT); |
| createEAttribute(accessControlPolicyPointsEClass, ACCESS_CONTROL_POLICY_POINTS__EXTERNAL_POLICY_DECISION_POINTS); |
| createEAttribute(accessControlPolicyPointsEClass, ACCESS_CONTROL_POLICY_POINTS__EXTERNAL_POLICY_ENFORCEMENT_POINT); |
| |
| accessControlEClass = createEClass(ACCESS_CONTROL); |
| |
| submodelEClass = createEClass(SUBMODEL); |
| createEReference(submodelEClass, SUBMODEL__SUBMODELELEMENT); |
| |
| hasKindEClass = createEClass(HAS_KIND); |
| createEAttribute(hasKindEClass, HAS_KIND__KIND); |
| createEReference(hasKindEClass, HAS_KIND__BASE_HAS_KIND_CLASS); |
| |
| hasSemanticsEClass = createEClass(HAS_SEMANTICS); |
| createEReference(hasSemanticsEClass, HAS_SEMANTICS__SEMANTIC_ID); |
| createEReference(hasSemanticsEClass, HAS_SEMANTICS__BASE_HAS_SEMANTICS_CLASS); |
| |
| referenceEClass = createEClass(REFERENCE); |
| createEReference(referenceEClass, REFERENCE__KEY); |
| createEReference(referenceEClass, REFERENCE__BASE_CLASS); |
| |
| keyEClass = createEClass(KEY); |
| createEAttribute(keyEClass, KEY__TYPE); |
| createEAttribute(keyEClass, KEY__LOCAL); |
| createEAttribute(keyEClass, KEY__VALUE); |
| createEAttribute(keyEClass, KEY__ID_TYPE); |
| |
| submodelElementEClass = createEClass(SUBMODEL_ELEMENT); |
| |
| certificateEClass = createEClass(CERTIFICATE); |
| |
| assetEClass = createEClass(ASSET); |
| createEAttribute(assetEClass, ASSET__KIND); |
| createEReference(assetEClass, ASSET__ENDPOINT); |
| |
| endpointEClass = createEClass(ENDPOINT); |
| createEAttribute(endpointEClass, ENDPOINT__ADDRESS); |
| createEAttribute(endpointEClass, ENDPOINT__PROTOCOL); |
| |
| fileEClass = createEClass(FILE); |
| createEAttribute(fileEClass, FILE__PATH); |
| createEAttribute(fileEClass, FILE__MIME_TYPE); |
| |
| dataElementEClass = createEClass(DATA_ELEMENT); |
| createEReference(dataElementEClass, DATA_ELEMENT__BASE_PROPERTY); |
| |
| entityEClass = createEClass(ENTITY); |
| createEAttribute(entityEClass, ENTITY__ENTITY_TYPE); |
| createEReference(entityEClass, ENTITY__ASSET); |
| |
| relationshipElementEClass = createEClass(RELATIONSHIP_ELEMENT); |
| createEReference(relationshipElementEClass, RELATIONSHIP_ELEMENT__BASE_DEPENDENCY); |
| |
| operationEClass = createEClass(OPERATION); |
| createEReference(operationEClass, OPERATION__BASE_OPERATION); |
| |
| submodelElementCollectionEClass = createEClass(SUBMODEL_ELEMENT_COLLECTION); |
| createEReference(submodelElementCollectionEClass, SUBMODEL_ELEMENT_COLLECTION__VALUE); |
| createEReference(submodelElementCollectionEClass, SUBMODEL_ELEMENT_COLLECTION__BASE_PROPERTY); |
| createEReference(submodelElementCollectionEClass, SUBMODEL_ELEMENT_COLLECTION__BASE_DATA_TYPE); |
| |
| propertyEClass = createEClass(PROPERTY); |
| |
| referenceElementEClass = createEClass(REFERENCE_ELEMENT); |
| createEReference(referenceElementEClass, REFERENCE_ELEMENT__VALUE); |
| |
| eventEClass = createEClass(EVENT); |
| createEReference(eventEClass, EVENT__BASE_PROPERTY); |
| |
| basicEventEClass = createEClass(BASIC_EVENT); |
| createEReference(basicEventEClass, BASIC_EVENT__OBSERVED); |
| |
| rangeEClass = createEClass(RANGE); |
| createEAttribute(rangeEClass, RANGE__MIN); |
| createEAttribute(rangeEClass, RANGE__MAX); |
| |
| capabilityEClass = createEClass(CAPABILITY); |
| createEReference(capabilityEClass, CAPABILITY__BASE_PROPERTY); |
| |
| // Create enums |
| identifierTypeEEnum = createEEnum(IDENTIFIER_TYPE); |
| modelingKindEEnum = createEEnum(MODELING_KIND); |
| keyElementsEEnum = createEEnum(KEY_ELEMENTS); |
| referableElementsEEnum = createEEnum(REFERABLE_ELEMENTS); |
| identifiableElementEEnum = createEEnum(IDENTIFIABLE_ELEMENT); |
| keyTypeEEnum = createEEnum(KEY_TYPE); |
| localKeyTypeEEnum = createEEnum(LOCAL_KEY_TYPE); |
| assetKindEEnum = createEEnum(ASSET_KIND); |
| protocolKindEEnum = createEEnum(PROTOCOL_KIND); |
| mimeTypeEEnum = createEEnum(MIME_TYPE); |
| entityTypeEEnum = createEEnum(ENTITY_TYPE); |
| } |
| |
| /** |
| * <!-- 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 |
| TypesPackage theTypesPackage = (TypesPackage) EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI); |
| UMLPackage theUMLPackage = (UMLPackage) EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI); |
| |
| // Create type parameters |
| |
| // Set bounds for type parameters |
| |
| // Add supertypes to classes |
| assetAdministrationShellEClass.getESuperTypes().add(this.getIdentifiable()); |
| identifiableEClass.getESuperTypes().add(this.getRefereable()); |
| submodelEClass.getESuperTypes().add(this.getIdentifiable()); |
| submodelEClass.getESuperTypes().add(this.getHasKind()); |
| submodelEClass.getESuperTypes().add(this.getHasSemantics()); |
| submodelElementEClass.getESuperTypes().add(this.getRefereable()); |
| submodelElementEClass.getESuperTypes().add(this.getHasSemantics()); |
| assetEClass.getESuperTypes().add(this.getIdentifiable()); |
| fileEClass.getESuperTypes().add(this.getDataElement()); |
| dataElementEClass.getESuperTypes().add(this.getSubmodelElement()); |
| entityEClass.getESuperTypes().add(this.getSubmodelElement()); |
| relationshipElementEClass.getESuperTypes().add(this.getSubmodelElement()); |
| operationEClass.getESuperTypes().add(this.getSubmodelElement()); |
| submodelElementCollectionEClass.getESuperTypes().add(this.getSubmodelElement()); |
| propertyEClass.getESuperTypes().add(this.getDataElement()); |
| referenceElementEClass.getESuperTypes().add(this.getDataElement()); |
| eventEClass.getESuperTypes().add(this.getSubmodelElement()); |
| basicEventEClass.getESuperTypes().add(this.getEvent()); |
| rangeEClass.getESuperTypes().add(this.getDataElement()); |
| capabilityEClass.getESuperTypes().add(this.getSubmodelElement()); |
| |
| // Initialize classes, features, and operations; add parameters |
| initEClass(assetAdministrationShellEClass, AssetAdministrationShell.class, "AssetAdministrationShell", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEReference(getAssetAdministrationShell_DerivedFrom(), this.getAssetAdministrationShell(), null, "derivedFrom", null, 0, 1, AssetAdministrationShell.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, |
| !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEReference(getAssetAdministrationShell_Security(), this.getSecurity(), null, "security", null, 0, 1, AssetAdministrationShell.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, |
| !IS_DERIVED, !IS_ORDERED); |
| initEReference(getAssetAdministrationShell_Asset(), this.getAsset(), null, "asset", null, 1, 1, AssetAdministrationShell.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, |
| !IS_ORDERED); |
| initEReference(getAssetAdministrationShell_Submodel(), this.getSubmodel(), null, "submodel", null, 0, -1, AssetAdministrationShell.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, |
| !IS_DERIVED, !IS_ORDERED); |
| initEAttribute(getAssetAdministrationShell_Url(), theTypesPackage.getString(), "url", null, 0, 1, AssetAdministrationShell.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEAttribute(getAssetAdministrationShell_Port(), theTypesPackage.getInteger(), "port", null, 0, 1, AssetAdministrationShell.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| |
| initEClass(identifiableEClass, Identifiable.class, "Identifiable", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEReference(getIdentifiable_Administration(), this.getAdministrativeInformation(), null, "administration", null, 0, 1, Identifiable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, |
| !IS_DERIVED, !IS_ORDERED); |
| initEReference(getIdentifiable_Identification(), this.getIdentifier(), null, "identification", null, 1, 1, Identifiable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, |
| !IS_ORDERED); |
| |
| initEClass(refereableEClass, Refereable.class, "Refereable", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEAttribute(getRefereable_IdShort(), theTypesPackage.getString(), "idShort", null, 1, 1, Refereable.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, !IS_ORDERED); |
| initEAttribute(getRefereable_Category(), theTypesPackage.getString(), "category", null, 0, 1, Refereable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEAttribute(getRefereable_Description(), theTypesPackage.getString(), "description", null, 0, 1, Refereable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEReference(getRefereable_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 0, 1, Refereable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEReference(getRefereable_Parent(), this.getRefereable(), null, "parent", null, 0, 1, Refereable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| |
| initEClass(administrativeInformationEClass, AdministrativeInformation.class, "AdministrativeInformation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEAttribute(getAdministrativeInformation_Version(), theTypesPackage.getString(), "version", null, 1, 1, AdministrativeInformation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEAttribute(getAdministrativeInformation_Revision(), theTypesPackage.getString(), "revision", null, 1, 1, AdministrativeInformation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| |
| initEClass(identifierEClass, Identifier.class, "Identifier", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEAttribute(getIdentifier_IdType(), this.getIdentifierType(), "idType", null, 1, 1, Identifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEAttribute(getIdentifier_Id(), theTypesPackage.getString(), "id", null, 1, 1, Identifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| |
| initEClass(securityEClass, Security.class, "Security", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEReference(getSecurity_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 0, 1, Security.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEReference(getSecurity_AccessControlPolicyPoints(), this.getAccessControlPolicyPoints(), null, "accessControlPolicyPoints", null, 1, 1, Security.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, |
| IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEReference(getSecurity_Certificate(), this.getCertificate(), null, "certificate", null, 0, -1, Security.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEReference(getSecurity_RequiredCertificateExtension(), this.getReference(), null, "requiredCertificateExtension", null, 0, -1, Security.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, |
| !IS_DERIVED, !IS_ORDERED); |
| |
| initEClass(accessControlPolicyPointsEClass, AccessControlPolicyPoints.class, "AccessControlPolicyPoints", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEReference(getAccessControlPolicyPoints_LocalAccessControl(), this.getAccessControl(), null, "localAccessControl", null, 1, 1, AccessControlPolicyPoints.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, |
| !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEAttribute(getAccessControlPolicyPoints_ExternalAccessControl(), ecorePackage.getEBoolean(), "externalAccessControl", null, 1, 1, AccessControlPolicyPoints.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, |
| !IS_DERIVED, !IS_ORDERED); |
| initEAttribute(getAccessControlPolicyPoints_ExternalInformationPoints(), ecorePackage.getEBoolean(), "externalInformationPoints", null, 1, 1, AccessControlPolicyPoints.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, |
| IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEReference(getAccessControlPolicyPoints_InternalInformationPoint(), this.getSubmodel(), null, "internalInformationPoint", null, 1, 1, AccessControlPolicyPoints.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, |
| !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEAttribute(getAccessControlPolicyPoints_ExternalPolicyDecisionPoints(), ecorePackage.getEBoolean(), "externalPolicyDecisionPoints", null, 1, 1, AccessControlPolicyPoints.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, |
| IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEAttribute(getAccessControlPolicyPoints_ExternalPolicyEnforcementPoint(), ecorePackage.getEBoolean(), "externalPolicyEnforcementPoint", null, 1, 1, AccessControlPolicyPoints.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, |
| IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| |
| initEClass(accessControlEClass, AccessControl.class, "AccessControl", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| |
| initEClass(submodelEClass, Submodel.class, "Submodel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEReference(getSubmodel_Submodelelement(), this.getSubmodelElement(), null, "submodelelement", null, 0, -1, Submodel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, |
| !IS_ORDERED); |
| |
| initEClass(hasKindEClass, HasKind.class, "HasKind", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEAttribute(getHasKind_Kind(), this.getModelingKind(), "kind", null, 0, 1, HasKind.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEReference(getHasKind_Base_HasKind_Class(), theUMLPackage.getClass_(), null, "base_HasKind_Class", null, 0, 1, HasKind.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, |
| !IS_ORDERED); |
| |
| initEClass(hasSemanticsEClass, HasSemantics.class, "HasSemantics", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEReference(getHasSemantics_SemanticId(), this.getReference(), null, "semanticId", null, 1, 1, HasSemantics.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEReference(getHasSemantics_Base_HasSemantics_Class(), theUMLPackage.getClass_(), null, "base_HasSemantics_Class", null, 0, 1, HasSemantics.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, |
| IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| |
| initEClass(referenceEClass, Reference.class, "Reference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEReference(getReference_Key(), this.getKey(), null, "key", null, 1, -1, Reference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEReference(getReference_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 0, 1, Reference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| |
| initEClass(keyEClass, Key.class, "Key", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEAttribute(getKey_Type(), this.getKeyElements(), "type", null, 0, 1, Key.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEAttribute(getKey_Local(), theTypesPackage.getBoolean(), "local", "true", 0, 1, Key.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEAttribute(getKey_Value(), theTypesPackage.getString(), "value", null, 0, 1, Key.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEAttribute(getKey_IdType(), this.getKeyType(), "idType", null, 0, 1, Key.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| |
| initEClass(submodelElementEClass, SubmodelElement.class, "SubmodelElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| |
| initEClass(certificateEClass, Certificate.class, "Certificate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| |
| initEClass(assetEClass, Asset.class, "Asset", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEAttribute(getAsset_Kind(), this.getAssetKind(), "kind", null, 1, 1, Asset.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEReference(getAsset_Endpoint(), this.getEndpoint(), null, "endpoint", null, 0, -1, Asset.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| |
| initEClass(endpointEClass, Endpoint.class, "Endpoint", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEAttribute(getEndpoint_Address(), theTypesPackage.getString(), "address", null, 0, 1, Endpoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEAttribute(getEndpoint_Protocol(), this.getProtocolKind(), "protocol", null, 0, 1, Endpoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| |
| initEClass(fileEClass, File.class, "File", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEAttribute(getFile_Path(), theTypesPackage.getString(), "path", null, 0, 1, File.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEAttribute(getFile_MimeType(), this.getMimeType(), "mimeType", null, 1, 1, File.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| |
| initEClass(dataElementEClass, DataElement.class, "DataElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEReference(getDataElement_Base_Property(), theUMLPackage.getProperty(), null, "base_Property", null, 1, 1, DataElement.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); |
| initEAttribute(getEntity_EntityType(), this.getEntityType(), "entityType", null, 1, 1, Entity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEReference(getEntity_Asset(), this.getAsset(), null, "asset", 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(relationshipElementEClass, RelationshipElement.class, "RelationshipElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEReference(getRelationshipElement_Base_Dependency(), theUMLPackage.getDependency(), null, "base_Dependency", null, 0, 1, RelationshipElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, |
| IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| |
| initEClass(operationEClass, Operation.class, "Operation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEReference(getOperation_Base_Operation(), theUMLPackage.getOperation(), null, "base_Operation", null, 1, 1, Operation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, |
| !IS_ORDERED); |
| |
| initEClass(submodelElementCollectionEClass, SubmodelElementCollection.class, "SubmodelElementCollection", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEReference(getSubmodelElementCollection_Value(), this.getSubmodelElement(), null, "value", null, 0, -1, SubmodelElementCollection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, |
| !IS_DERIVED, IS_ORDERED); |
| initEReference(getSubmodelElementCollection_Base_Property(), theUMLPackage.getProperty(), null, "base_Property", null, 0, 1, SubmodelElementCollection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, |
| IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEReference(getSubmodelElementCollection_Base_DataType(), theUMLPackage.getDataType(), null, "base_DataType", null, 0, 1, SubmodelElementCollection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, |
| IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| |
| initEClass(propertyEClass, Property.class, "Property", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| |
| initEClass(referenceElementEClass, ReferenceElement.class, "ReferenceElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEReference(getReferenceElement_Value(), this.getReference(), null, "value", null, 0, 1, ReferenceElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| |
| initEClass(eventEClass, Event.class, "Event", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEReference(getEvent_Base_Property(), theUMLPackage.getProperty(), null, "base_Property", null, 0, 1, Event.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| |
| initEClass(basicEventEClass, BasicEvent.class, "BasicEvent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEReference(getBasicEvent_Observed(), theUMLPackage.getElement(), null, "observed", null, 1, 1, BasicEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| |
| initEClass(rangeEClass, Range.class, "Range", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEAttribute(getRange_Min(), theTypesPackage.getInteger(), "min", null, 0, 1, Range.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEAttribute(getRange_Max(), theTypesPackage.getInteger(), "max", null, 0, 1, Range.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| |
| initEClass(capabilityEClass, Capability.class, "Capability", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEReference(getCapability_Base_Property(), theUMLPackage.getProperty(), null, "base_Property", null, 0, 1, Capability.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(identifierTypeEEnum, IdentifierType.class, "IdentifierType"); |
| addEEnumLiteral(identifierTypeEEnum, IdentifierType.CUSTOM); |
| addEEnumLiteral(identifierTypeEEnum, IdentifierType.IRDI); |
| addEEnumLiteral(identifierTypeEEnum, IdentifierType.IRI); |
| |
| initEEnum(modelingKindEEnum, ModelingKind.class, "ModelingKind"); |
| addEEnumLiteral(modelingKindEEnum, ModelingKind.TEMPLATE); |
| addEEnumLiteral(modelingKindEEnum, ModelingKind.INSTANCE); |
| |
| initEEnum(keyElementsEEnum, KeyElements.class, "KeyElements"); |
| addEEnumLiteral(keyElementsEEnum, KeyElements.GLOBAL_REFERENCE); |
| addEEnumLiteral(keyElementsEEnum, KeyElements.FRAGMENT_REFERENCE); |
| |
| initEEnum(referableElementsEEnum, ReferableElements.class, "ReferableElements"); |
| addEEnumLiteral(referableElementsEEnum, ReferableElements.ACCESS_PERMISSION_RULE); |
| addEEnumLiteral(referableElementsEEnum, ReferableElements.ANNOTATED_RELATIONSHIP_ELEMENT); |
| addEEnumLiteral(referableElementsEEnum, ReferableElements.BASIC_EVENT); |
| addEEnumLiteral(referableElementsEEnum, ReferableElements.BLOB); |
| addEEnumLiteral(referableElementsEEnum, ReferableElements.CAPABILITY); |
| addEEnumLiteral(referableElementsEEnum, ReferableElements.CONCEPT_DICTIONARY); |
| addEEnumLiteral(referableElementsEEnum, ReferableElements.DATA_ELEMENT); |
| addEEnumLiteral(referableElementsEEnum, ReferableElements.FILE); |
| addEEnumLiteral(referableElementsEEnum, ReferableElements.ENTITY); |
| addEEnumLiteral(referableElementsEEnum, ReferableElements.EVENT); |
| addEEnumLiteral(referableElementsEEnum, ReferableElements.MULTI_LANGUAGE_PROPERTY); |
| addEEnumLiteral(referableElementsEEnum, ReferableElements.OPERATION); |
| addEEnumLiteral(referableElementsEEnum, ReferableElements.PROPERTY); |
| addEEnumLiteral(referableElementsEEnum, ReferableElements.RANGE); |
| addEEnumLiteral(referableElementsEEnum, ReferableElements.REFERENCE_ELEMENT); |
| addEEnumLiteral(referableElementsEEnum, ReferableElements.RELATIONSHIP_ELEMENT); |
| addEEnumLiteral(referableElementsEEnum, ReferableElements.SUBMODEL_ELEMENT); |
| addEEnumLiteral(referableElementsEEnum, ReferableElements.SUBMODEL_ELEMENT_COLLECTION); |
| addEEnumLiteral(referableElementsEEnum, ReferableElements.VIEW); |
| |
| initEEnum(identifiableElementEEnum, IdentifiableElement.class, "IdentifiableElement"); |
| addEEnumLiteral(identifiableElementEEnum, IdentifiableElement.ASSET); |
| addEEnumLiteral(identifiableElementEEnum, IdentifiableElement.ASSET_ADMINISTRATION_SHELL); |
| addEEnumLiteral(identifiableElementEEnum, IdentifiableElement.CONCEPT_DESCRIPTION); |
| addEEnumLiteral(identifiableElementEEnum, IdentifiableElement.SUBMODEL); |
| |
| initEEnum(keyTypeEEnum, KeyType.class, "KeyType"); |
| |
| initEEnum(localKeyTypeEEnum, LocalKeyType.class, "LocalKeyType"); |
| addEEnumLiteral(localKeyTypeEEnum, LocalKeyType.ID_SHORT); |
| addEEnumLiteral(localKeyTypeEEnum, LocalKeyType.FRAGMENT_ID); |
| |
| initEEnum(assetKindEEnum, AssetKind.class, "AssetKind"); |
| addEEnumLiteral(assetKindEEnum, AssetKind.TYPE); |
| addEEnumLiteral(assetKindEEnum, AssetKind.INSTANCE); |
| |
| initEEnum(protocolKindEEnum, ProtocolKind.class, "ProtocolKind"); |
| addEEnumLiteral(protocolKindEEnum, ProtocolKind.HTTP); |
| addEEnumLiteral(protocolKindEEnum, ProtocolKind.MQTT); |
| addEEnumLiteral(protocolKindEEnum, ProtocolKind.OPCUA); |
| addEEnumLiteral(protocolKindEEnum, ProtocolKind.CO_AP); |
| addEEnumLiteral(protocolKindEEnum, ProtocolKind.OTHER); |
| |
| initEEnum(mimeTypeEEnum, MimeType.class, "MimeType"); |
| addEEnumLiteral(mimeTypeEEnum, MimeType.APPLICATIONJSON); |
| addEEnumLiteral(mimeTypeEEnum, MimeType.APPLICATIONXLS); |
| addEEnumLiteral(mimeTypeEEnum, MimeType.IMAGEJPG); |
| addEEnumLiteral(mimeTypeEEnum, MimeType.APPLICATIONPDF); |
| addEEnumLiteral(mimeTypeEEnum, MimeType.APPLICATIONZIP); |
| addEEnumLiteral(mimeTypeEEnum, MimeType.IMAGEBMP); |
| addEEnumLiteral(mimeTypeEEnum, MimeType.OTHER); |
| |
| initEEnum(entityTypeEEnum, EntityType.class, "EntityType"); |
| addEEnumLiteral(entityTypeEEnum, EntityType.CO_MANAGED_ENTITY); |
| addEEnumLiteral(entityTypeEEnum, EntityType.SELF_MANAGED_ENTITY); |
| |
| // Create resource |
| createResource(eNS_URI); |
| |
| // Create annotations |
| // http://www.eclipse.org/uml2/2.0.0/UML |
| createUMLAnnotations(); |
| // http:///org/eclipse/emf/ecore/util/ExtendedMetaData |
| createExtendedMetaDataAnnotations(); |
| // duplicates |
| createDuplicatesAnnotations(); |
| } |
| |
| /** |
| * Initializes the annotations for <b>http://www.eclipse.org/uml2/2.0.0/UML</b>. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| protected void createUMLAnnotations() { |
| String source = "http://www.eclipse.org/uml2/2.0.0/UML"; |
| addAnnotation(this, |
| source, |
| new String[] { |
| "originalName", "AAS" |
| }); |
| addAnnotation(getHasKind_Base_HasKind_Class(), |
| source, |
| new String[] { |
| "originalName", "base_Class" |
| }); |
| addAnnotation(getHasSemantics_Base_HasSemantics_Class(), |
| source, |
| new String[] { |
| "originalName", "base_Class" |
| }); |
| addAnnotation(mimeTypeEEnum.getELiterals().get(0), |
| source, |
| new String[] { |
| "originalName", "application/json" |
| }); |
| addAnnotation(mimeTypeEEnum.getELiterals().get(1), |
| source, |
| new String[] { |
| "originalName", "application/xls" |
| }); |
| addAnnotation(mimeTypeEEnum.getELiterals().get(2), |
| source, |
| new String[] { |
| "originalName", "image/jpg" |
| }); |
| addAnnotation(mimeTypeEEnum.getELiterals().get(3), |
| source, |
| new String[] { |
| "originalName", "application/pdf" |
| }); |
| addAnnotation(mimeTypeEEnum.getELiterals().get(4), |
| source, |
| new String[] { |
| "originalName", "application/zip" |
| }); |
| addAnnotation(mimeTypeEEnum.getELiterals().get(5), |
| source, |
| new String[] { |
| "originalName", "image/bmp" |
| }); |
| } |
| |
| /** |
| * Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| protected void createExtendedMetaDataAnnotations() { |
| String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData"; |
| addAnnotation(keyElementsEEnum, |
| source, |
| new String[] { |
| "baseType", "ReferableElements" |
| }); |
| addAnnotation(referableElementsEEnum, |
| source, |
| new String[] { |
| "baseType", "IdentifiableElement" |
| }); |
| addAnnotation(keyTypeEEnum, |
| source, |
| new String[] { |
| "baseType", "LocalKeyType" |
| }); |
| } |
| |
| /** |
| * Initializes the annotations for <b>duplicates</b>. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| protected void createDuplicatesAnnotations() { |
| String source = "duplicates"; |
| addAnnotation(dataElementEClass, |
| source, |
| new String[] { |
| }); |
| addAnnotation(operationEClass, |
| source, |
| new String[] { |
| }); |
| addAnnotation(submodelElementCollectionEClass, |
| source, |
| new String[] { |
| }); |
| addAnnotation(eventEClass, |
| source, |
| new String[] { |
| }); |
| addAnnotation(capabilityEClass, |
| source, |
| new String[] { |
| }); |
| } |
| |
| } // AASPackageImpl |