Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/PapyrusKeyEnumeration.java')
-rw-r--r--deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/PapyrusKeyEnumeration.java182
1 files changed, 0 insertions, 182 deletions
diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/PapyrusKeyEnumeration.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/PapyrusKeyEnumeration.java
deleted file mode 100644
index f7454d77909..00000000000
--- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/PapyrusKeyEnumeration.java
+++ /dev/null
@@ -1,182 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.conversion.di2;
-
-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>Papyrus Key Enumeration</b></em>', and utility methods for working with them. <!--
- * end-user-doc -->
- *
- * @see org.eclipse.papyrus.conversion.di2.Di2Package#getPapyrusKeyEnumeration()
- * @model
- * @generated
- */
-public enum PapyrusKeyEnumeration implements Enumerator {
- /**
- * The '<em><b>Papyruseditpart</b></em>' literal object. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @see #PAPYRUSEDITPART_VALUE
- * @generated
- * @ordered
- */
- PAPYRUSEDITPART(0, "papyruseditpart", "papyruseditpart");
-
- /**
- * The '<em><b>Papyruseditpart</b></em>' literal value. <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>Papyruseditpart</b></em>' literal object isn't clear, there really
- * should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @see #PAPYRUSEDITPART
- * @model name="papyruseditpart"
- * @generated
- * @ordered
- */
- public static final int PAPYRUSEDITPART_VALUE = 0;
-
- /**
- * An array of all the '<em><b>Papyrus Key Enumeration</b></em>' enumerators. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private static final PapyrusKeyEnumeration[] VALUES_ARRAY = new PapyrusKeyEnumeration[] { PAPYRUSEDITPART, };
-
- /**
- * A public read-only list of all the '<em><b>Papyrus Key Enumeration</b></em>' enumerators.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public static final List<PapyrusKeyEnumeration> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
-
- /**
- * Returns the '<em><b>Papyrus Key Enumeration</b></em>' literal with the specified literal
- * value. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public static PapyrusKeyEnumeration get(String literal) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- PapyrusKeyEnumeration result = VALUES_ARRAY[i];
- if (result.toString().equals(literal)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Papyrus Key Enumeration</b></em>' literal with the specified name. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public static PapyrusKeyEnumeration getByName(String name) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- PapyrusKeyEnumeration result = VALUES_ARRAY[i];
- if (result.getName().equals(name)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Papyrus Key Enumeration</b></em>' literal with the specified integer
- * value. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public static PapyrusKeyEnumeration get(int value) {
- switch (value) {
- case PAPYRUSEDITPART_VALUE:
- return PAPYRUSEDITPART;
- }
- 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 PapyrusKeyEnumeration(int value, String name, String literal) {
- this.value = value;
- this.name = name;
- this.literal = literal;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public int getValue() {
- return value;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getName() {
- return name;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- 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;
- }
-
-} // PapyrusKeyEnumeration

Back to the top