Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/uml/alf/org.eclipse.papyrus.uml.alf/src-gen/org/eclipse/papyrus/uml/alf/alf/LinkOperationKind.java')
-rw-r--r--plugins/uml/alf/org.eclipse.papyrus.uml.alf/src-gen/org/eclipse/papyrus/uml/alf/alf/LinkOperationKind.java250
1 files changed, 0 insertions, 250 deletions
diff --git a/plugins/uml/alf/org.eclipse.papyrus.uml.alf/src-gen/org/eclipse/papyrus/uml/alf/alf/LinkOperationKind.java b/plugins/uml/alf/org.eclipse.papyrus.uml.alf/src-gen/org/eclipse/papyrus/uml/alf/alf/LinkOperationKind.java
deleted file mode 100644
index 92226f8b4ef..00000000000
--- a/plugins/uml/alf/org.eclipse.papyrus.uml.alf/src-gen/org/eclipse/papyrus/uml/alf/alf/LinkOperationKind.java
+++ /dev/null
@@ -1,250 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.uml.alf.alf;
-
-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>Link Operation Kind</b></em>',
- * and utility methods for working with them.
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.uml.alf.alf.AlfPackage#getLinkOperationKind()
- * @model
- * @generated
- */
-public enum LinkOperationKind implements Enumerator
-{
- /**
- * The '<em><b>CREATE</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #CREATE_VALUE
- * @generated
- * @ordered
- */
- CREATE(0, "CREATE", "createLink"),
-
- /**
- * The '<em><b>DESTROY</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #DESTROY_VALUE
- * @generated
- * @ordered
- */
- DESTROY(1, "DESTROY", "destroyLink"),
-
- /**
- * The '<em><b>CLEAR</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #CLEAR_VALUE
- * @generated
- * @ordered
- */
- CLEAR(2, "CLEAR", "clearAssoc");
-
- /**
- * The '<em><b>CREATE</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>CREATE</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #CREATE
- * @model literal="createLink"
- * @generated
- * @ordered
- */
- public static final int CREATE_VALUE = 0;
-
- /**
- * The '<em><b>DESTROY</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>DESTROY</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #DESTROY
- * @model literal="destroyLink"
- * @generated
- * @ordered
- */
- public static final int DESTROY_VALUE = 1;
-
- /**
- * The '<em><b>CLEAR</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>CLEAR</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #CLEAR
- * @model literal="clearAssoc"
- * @generated
- * @ordered
- */
- public static final int CLEAR_VALUE = 2;
-
- /**
- * An array of all the '<em><b>Link Operation Kind</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static final LinkOperationKind[] VALUES_ARRAY =
- new LinkOperationKind[]
- {
- CREATE,
- DESTROY,
- CLEAR,
- };
-
- /**
- * A public read-only list of all the '<em><b>Link Operation Kind</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final List<LinkOperationKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
-
- /**
- * Returns the '<em><b>Link Operation Kind</b></em>' literal with the specified literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static LinkOperationKind get(String literal)
- {
- for (int i = 0; i < VALUES_ARRAY.length; ++i)
- {
- LinkOperationKind result = VALUES_ARRAY[i];
- if (result.toString().equals(literal))
- {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Link Operation Kind</b></em>' literal with the specified name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static LinkOperationKind getByName(String name)
- {
- for (int i = 0; i < VALUES_ARRAY.length; ++i)
- {
- LinkOperationKind result = VALUES_ARRAY[i];
- if (result.getName().equals(name))
- {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Link Operation Kind</b></em>' literal with the specified integer value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static LinkOperationKind get(int value)
- {
- switch (value)
- {
- case CREATE_VALUE: return CREATE;
- case DESTROY_VALUE: return DESTROY;
- case CLEAR_VALUE: return CLEAR;
- }
- 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 LinkOperationKind(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;
- }
-
-} //LinkOperationKind

Back to the top