| /** |
| * Copyright (c) 2022 CEA LIST 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 |
| * http://www.eclipse.org/legal/epl-2.0/ |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| * Contributors: |
| * CEA LIST - Initial API and implementation |
| */ |
| package org.eclipse.papyrus.aas; |
| |
| import java.util.Arrays; |
| import java.util.Collections; |
| import java.util.List; |
| |
| import org.eclipse.emf.common.util.Enumerator; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the literals of the enumeration '<em><b>Key Elements</b></em>', |
| * and utility methods for working with them. |
| * <!-- end-user-doc --> |
| * @see org.eclipse.papyrus.aas.AASPackage#getKeyElements() |
| * @model extendedMetaData="baseType='ReferableElements'" |
| * @generated |
| */ |
| public enum KeyElements implements Enumerator { |
| /** |
| * The '<em><b>Global Reference</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #GLOBAL_REFERENCE_VALUE |
| * @generated |
| * @ordered |
| */ |
| GLOBAL_REFERENCE(0, "GlobalReference", "GlobalReference"), |
| |
| /** |
| * The '<em><b>Fragment Reference</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #FRAGMENT_REFERENCE_VALUE |
| * @generated |
| * @ordered |
| */ |
| FRAGMENT_REFERENCE(1, "FragmentReference", "FragmentReference"), |
| |
| /** |
| * The '<em><b>Access Permission Rule</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #ACCESS_PERMISSION_RULE_VALUE |
| * @generated |
| * @ordered |
| */ |
| ACCESS_PERMISSION_RULE(2, "AccessPermissionRule", "AccessPermissionRule"), |
| |
| /** |
| * The '<em><b>Annotated Relationship Element</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #ANNOTATED_RELATIONSHIP_ELEMENT_VALUE |
| * @generated |
| * @ordered |
| */ |
| ANNOTATED_RELATIONSHIP_ELEMENT(3, "AnnotatedRelationshipElement", "AnnotatedRelationshipElement"), |
| |
| /** |
| * The '<em><b>Basic Event</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #BASIC_EVENT_VALUE |
| * @generated |
| * @ordered |
| */ |
| BASIC_EVENT(4, "BasicEvent", "BasicEvent"), |
| |
| /** |
| * The '<em><b>Blob</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #BLOB_VALUE |
| * @generated |
| * @ordered |
| */ |
| BLOB(5, "Blob", "Blob"), |
| |
| /** |
| * The '<em><b>Capability</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #CAPABILITY_VALUE |
| * @generated |
| * @ordered |
| */ |
| CAPABILITY(6, "Capability", "Capability"), |
| |
| /** |
| * The '<em><b>Concept Dictionary</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #CONCEPT_DICTIONARY_VALUE |
| * @generated |
| * @ordered |
| */ |
| CONCEPT_DICTIONARY(7, "ConceptDictionary", "ConceptDictionary"), |
| |
| /** |
| * The '<em><b>Data Element</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #DATA_ELEMENT_VALUE |
| * @generated |
| * @ordered |
| */ |
| DATA_ELEMENT(8, "DataElement", "DataElement"), |
| |
| /** |
| * The '<em><b>File</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #FILE_VALUE |
| * @generated |
| * @ordered |
| */ |
| FILE(9, "File", "File"), |
| |
| /** |
| * The '<em><b>Entity</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #ENTITY_VALUE |
| * @generated |
| * @ordered |
| */ |
| ENTITY(10, "Entity", "Entity"), |
| |
| /** |
| * The '<em><b>Event</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #EVENT_VALUE |
| * @generated |
| * @ordered |
| */ |
| EVENT(11, "Event", "Event"), |
| |
| /** |
| * The '<em><b>Multi Language Property</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #MULTI_LANGUAGE_PROPERTY_VALUE |
| * @generated |
| * @ordered |
| */ |
| MULTI_LANGUAGE_PROPERTY(12, "MultiLanguageProperty", "MultiLanguageProperty"), |
| |
| /** |
| * The '<em><b>Operation</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #OPERATION_VALUE |
| * @generated |
| * @ordered |
| */ |
| OPERATION(13, "Operation", "Operation"), |
| |
| /** |
| * The '<em><b>Property</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #PROPERTY_VALUE |
| * @generated |
| * @ordered |
| */ |
| PROPERTY(14, "Property", "Property"), |
| |
| /** |
| * The '<em><b>Range</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #RANGE_VALUE |
| * @generated |
| * @ordered |
| */ |
| RANGE(15, "Range", "Range"), |
| |
| /** |
| * The '<em><b>Reference Element</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #REFERENCE_ELEMENT_VALUE |
| * @generated |
| * @ordered |
| */ |
| REFERENCE_ELEMENT(16, "ReferenceElement", "ReferenceElement"), |
| |
| /** |
| * The '<em><b>Relationship Element</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #RELATIONSHIP_ELEMENT_VALUE |
| * @generated |
| * @ordered |
| */ |
| RELATIONSHIP_ELEMENT(17, "RelationshipElement", "RelationshipElement"), |
| |
| /** |
| * The '<em><b>Submodel Element</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #SUBMODEL_ELEMENT_VALUE |
| * @generated |
| * @ordered |
| */ |
| SUBMODEL_ELEMENT(18, "SubmodelElement", "SubmodelElement"), |
| |
| /** |
| * The '<em><b>Submodel Element Collection</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #SUBMODEL_ELEMENT_COLLECTION_VALUE |
| * @generated |
| * @ordered |
| */ |
| SUBMODEL_ELEMENT_COLLECTION(19, "SubmodelElementCollection", "SubmodelElementCollection"), |
| |
| /** |
| * The '<em><b>View</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #VIEW_VALUE |
| * @generated |
| * @ordered |
| */ |
| VIEW(20, "View", "View"), |
| |
| /** |
| * The '<em><b>Concept Description</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #CONCEPT_DESCRIPTION_VALUE |
| * @generated |
| * @ordered |
| */ |
| CONCEPT_DESCRIPTION(21, "ConceptDescription", "ConceptDescription"), |
| |
| /** |
| * The '<em><b>Asset</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #ASSET_VALUE |
| * @generated |
| * @ordered |
| */ |
| ASSET(22, "Asset", "Asset"), |
| |
| /** |
| * The '<em><b>Asset Administration Shell</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #ASSET_ADMINISTRATION_SHELL_VALUE |
| * @generated |
| * @ordered |
| */ |
| ASSET_ADMINISTRATION_SHELL(23, "AssetAdministrationShell", "AssetAdministrationShell"), |
| |
| /** |
| * The '<em><b>Submodel</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #SUBMODEL_VALUE |
| * @generated |
| * @ordered |
| */ |
| SUBMODEL(24, "Submodel", "Submodel"); |
| |
| /** |
| * The '<em><b>Global Reference</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #GLOBAL_REFERENCE |
| * @model name="GlobalReference" |
| * @generated |
| * @ordered |
| */ |
| public static final int GLOBAL_REFERENCE_VALUE = 0; |
| |
| /** |
| * The '<em><b>Fragment Reference</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #FRAGMENT_REFERENCE |
| * @model name="FragmentReference" |
| * @generated |
| * @ordered |
| */ |
| public static final int FRAGMENT_REFERENCE_VALUE = 1; |
| |
| /** |
| * The '<em><b>Access Permission Rule</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #ACCESS_PERMISSION_RULE |
| * @model name="AccessPermissionRule" |
| * @generated |
| * @ordered |
| */ |
| public static final int ACCESS_PERMISSION_RULE_VALUE = 2; |
| |
| /** |
| * The '<em><b>Annotated Relationship Element</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #ANNOTATED_RELATIONSHIP_ELEMENT |
| * @model name="AnnotatedRelationshipElement" |
| * @generated |
| * @ordered |
| */ |
| public static final int ANNOTATED_RELATIONSHIP_ELEMENT_VALUE = 3; |
| |
| /** |
| * The '<em><b>Basic Event</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #BASIC_EVENT |
| * @model name="BasicEvent" |
| * @generated |
| * @ordered |
| */ |
| public static final int BASIC_EVENT_VALUE = 4; |
| |
| /** |
| * The '<em><b>Blob</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #BLOB |
| * @model name="Blob" |
| * @generated |
| * @ordered |
| */ |
| public static final int BLOB_VALUE = 5; |
| |
| /** |
| * The '<em><b>Capability</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #CAPABILITY |
| * @model name="Capability" |
| * @generated |
| * @ordered |
| */ |
| public static final int CAPABILITY_VALUE = 6; |
| |
| /** |
| * The '<em><b>Concept Dictionary</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #CONCEPT_DICTIONARY |
| * @model name="ConceptDictionary" |
| * @generated |
| * @ordered |
| */ |
| public static final int CONCEPT_DICTIONARY_VALUE = 7; |
| |
| /** |
| * The '<em><b>Data Element</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #DATA_ELEMENT |
| * @model name="DataElement" |
| * @generated |
| * @ordered |
| */ |
| public static final int DATA_ELEMENT_VALUE = 8; |
| |
| /** |
| * The '<em><b>File</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #FILE |
| * @model name="File" |
| * @generated |
| * @ordered |
| */ |
| public static final int FILE_VALUE = 9; |
| |
| /** |
| * The '<em><b>Entity</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #ENTITY |
| * @model name="Entity" |
| * @generated |
| * @ordered |
| */ |
| public static final int ENTITY_VALUE = 10; |
| |
| /** |
| * The '<em><b>Event</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #EVENT |
| * @model name="Event" |
| * @generated |
| * @ordered |
| */ |
| public static final int EVENT_VALUE = 11; |
| |
| /** |
| * The '<em><b>Multi Language Property</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #MULTI_LANGUAGE_PROPERTY |
| * @model name="MultiLanguageProperty" |
| * @generated |
| * @ordered |
| */ |
| public static final int MULTI_LANGUAGE_PROPERTY_VALUE = 12; |
| |
| /** |
| * The '<em><b>Operation</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #OPERATION |
| * @model name="Operation" |
| * @generated |
| * @ordered |
| */ |
| public static final int OPERATION_VALUE = 13; |
| |
| /** |
| * The '<em><b>Property</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #PROPERTY |
| * @model name="Property" |
| * @generated |
| * @ordered |
| */ |
| public static final int PROPERTY_VALUE = 14; |
| |
| /** |
| * The '<em><b>Range</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #RANGE |
| * @model name="Range" |
| * @generated |
| * @ordered |
| */ |
| public static final int RANGE_VALUE = 15; |
| |
| /** |
| * The '<em><b>Reference Element</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #REFERENCE_ELEMENT |
| * @model name="ReferenceElement" |
| * @generated |
| * @ordered |
| */ |
| public static final int REFERENCE_ELEMENT_VALUE = 16; |
| |
| /** |
| * The '<em><b>Relationship Element</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #RELATIONSHIP_ELEMENT |
| * @model name="RelationshipElement" |
| * @generated |
| * @ordered |
| */ |
| public static final int RELATIONSHIP_ELEMENT_VALUE = 17; |
| |
| /** |
| * The '<em><b>Submodel Element</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #SUBMODEL_ELEMENT |
| * @model name="SubmodelElement" |
| * @generated |
| * @ordered |
| */ |
| public static final int SUBMODEL_ELEMENT_VALUE = 18; |
| |
| /** |
| * The '<em><b>Submodel Element Collection</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #SUBMODEL_ELEMENT_COLLECTION |
| * @model name="SubmodelElementCollection" |
| * @generated |
| * @ordered |
| */ |
| public static final int SUBMODEL_ELEMENT_COLLECTION_VALUE = 19; |
| |
| /** |
| * The '<em><b>View</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #VIEW |
| * @model name="View" |
| * @generated |
| * @ordered |
| */ |
| public static final int VIEW_VALUE = 20; |
| |
| /** |
| * The '<em><b>Concept Description</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #CONCEPT_DESCRIPTION |
| * @model name="ConceptDescription" |
| * @generated |
| * @ordered |
| */ |
| public static final int CONCEPT_DESCRIPTION_VALUE = 21; |
| |
| /** |
| * The '<em><b>Asset</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #ASSET |
| * @model name="Asset" |
| * @generated |
| * @ordered |
| */ |
| public static final int ASSET_VALUE = 22; |
| |
| /** |
| * The '<em><b>Asset Administration Shell</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #ASSET_ADMINISTRATION_SHELL |
| * @model name="AssetAdministrationShell" |
| * @generated |
| * @ordered |
| */ |
| public static final int ASSET_ADMINISTRATION_SHELL_VALUE = 23; |
| |
| /** |
| * The '<em><b>Submodel</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #SUBMODEL |
| * @model name="Submodel" |
| * @generated |
| * @ordered |
| */ |
| public static final int SUBMODEL_VALUE = 24; |
| |
| /** |
| * An array of all the '<em><b>Key Elements</b></em>' enumerators. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private static final KeyElements[] VALUES_ARRAY = |
| new KeyElements[] { |
| GLOBAL_REFERENCE, |
| FRAGMENT_REFERENCE, |
| ACCESS_PERMISSION_RULE, |
| ANNOTATED_RELATIONSHIP_ELEMENT, |
| BASIC_EVENT, |
| BLOB, |
| CAPABILITY, |
| CONCEPT_DICTIONARY, |
| DATA_ELEMENT, |
| FILE, |
| ENTITY, |
| EVENT, |
| MULTI_LANGUAGE_PROPERTY, |
| OPERATION, |
| PROPERTY, |
| RANGE, |
| REFERENCE_ELEMENT, |
| RELATIONSHIP_ELEMENT, |
| SUBMODEL_ELEMENT, |
| SUBMODEL_ELEMENT_COLLECTION, |
| VIEW, |
| CONCEPT_DESCRIPTION, |
| ASSET, |
| ASSET_ADMINISTRATION_SHELL, |
| SUBMODEL, |
| }; |
| |
| /** |
| * A public read-only list of all the '<em><b>Key Elements</b></em>' enumerators. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public static final List<KeyElements> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); |
| |
| /** |
| * Returns the '<em><b>Key Elements</b></em>' literal with the specified literal value. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param literal the literal. |
| * @return the matching enumerator or <code>null</code>. |
| * @generated |
| */ |
| public static KeyElements get(String literal) { |
| for (int i = 0; i < VALUES_ARRAY.length; ++i) { |
| KeyElements result = VALUES_ARRAY[i]; |
| if (result.toString().equals(literal)) { |
| return result; |
| } |
| } |
| return null; |
| } |
| |
| /** |
| * Returns the '<em><b>Key Elements</b></em>' literal with the specified name. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param name the name. |
| * @return the matching enumerator or <code>null</code>. |
| * @generated |
| */ |
| public static KeyElements getByName(String name) { |
| for (int i = 0; i < VALUES_ARRAY.length; ++i) { |
| KeyElements result = VALUES_ARRAY[i]; |
| if (result.getName().equals(name)) { |
| return result; |
| } |
| } |
| return null; |
| } |
| |
| /** |
| * Returns the '<em><b>Key Elements</b></em>' literal with the specified integer value. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the integer value. |
| * @return the matching enumerator or <code>null</code>. |
| * @generated |
| */ |
| public static KeyElements get(int value) { |
| switch (value) { |
| case GLOBAL_REFERENCE_VALUE: return GLOBAL_REFERENCE; |
| case FRAGMENT_REFERENCE_VALUE: return FRAGMENT_REFERENCE; |
| case ACCESS_PERMISSION_RULE_VALUE: return ACCESS_PERMISSION_RULE; |
| case ANNOTATED_RELATIONSHIP_ELEMENT_VALUE: return ANNOTATED_RELATIONSHIP_ELEMENT; |
| case BASIC_EVENT_VALUE: return BASIC_EVENT; |
| case BLOB_VALUE: return BLOB; |
| case CAPABILITY_VALUE: return CAPABILITY; |
| case CONCEPT_DICTIONARY_VALUE: return CONCEPT_DICTIONARY; |
| case DATA_ELEMENT_VALUE: return DATA_ELEMENT; |
| case FILE_VALUE: return FILE; |
| case ENTITY_VALUE: return ENTITY; |
| case EVENT_VALUE: return EVENT; |
| case MULTI_LANGUAGE_PROPERTY_VALUE: return MULTI_LANGUAGE_PROPERTY; |
| case OPERATION_VALUE: return OPERATION; |
| case PROPERTY_VALUE: return PROPERTY; |
| case RANGE_VALUE: return RANGE; |
| case REFERENCE_ELEMENT_VALUE: return REFERENCE_ELEMENT; |
| case RELATIONSHIP_ELEMENT_VALUE: return RELATIONSHIP_ELEMENT; |
| case SUBMODEL_ELEMENT_VALUE: return SUBMODEL_ELEMENT; |
| case SUBMODEL_ELEMENT_COLLECTION_VALUE: return SUBMODEL_ELEMENT_COLLECTION; |
| case VIEW_VALUE: return VIEW; |
| case CONCEPT_DESCRIPTION_VALUE: return CONCEPT_DESCRIPTION; |
| case ASSET_VALUE: return ASSET; |
| case ASSET_ADMINISTRATION_SHELL_VALUE: return ASSET_ADMINISTRATION_SHELL; |
| case SUBMODEL_VALUE: return SUBMODEL; |
| } |
| return null; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private final int value; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private final String name; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private final String literal; |
| |
| /** |
| * Only this class can construct instances. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private KeyElements(int value, String name, String literal) { |
| this.value = value; |
| this.name = name; |
| this.literal = literal; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| @Override |
| public int getValue() { |
| return value; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| @Override |
| public String getName() { |
| return name; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| @Override |
| public String getLiteral() { |
| return literal; |
| } |
| |
| /** |
| * Returns the literal value of the enumerator, which is its string representation. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| @Override |
| public String toString() { |
| return literal; |
| } |
| |
| } //KeyElements |