diff options
Diffstat (limited to 'extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/ContainerRuleKind.java')
-rw-r--r-- | extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/ContainerRuleKind.java | 42 |
1 files changed, 14 insertions, 28 deletions
diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/ContainerRuleKind.java b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/ContainerRuleKind.java index db3aff18cd8..6366f1cc62a 100644 --- a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/ContainerRuleKind.java +++ b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/ContainerRuleKind.java @@ -23,7 +23,6 @@ import org.eclipse.emf.common.util.Enumerator; * A representation of the literals of the enumeration '<em><b>Container Rule Kind</b></em>', * and utility methods for working with them. * <!-- end-user-doc --> - * * @see org.eclipse.papyrus.FCM.FCMPackage#getContainerRuleKind() * @model * @generated @@ -33,7 +32,6 @@ public enum ContainerRuleKind implements Enumerator { * The '<em><b>Component Rule</b></em>' literal object. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @see #COMPONENT_RULE_VALUE * @generated * @ordered @@ -44,7 +42,6 @@ public enum ContainerRuleKind implements Enumerator { * The '<em><b>Light Weight OO Rule</b></em>' literal object. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @see #LIGHT_WEIGHT_OO_RULE_VALUE * @generated * @ordered @@ -58,7 +55,6 @@ public enum ContainerRuleKind implements Enumerator { * If the meaning of '<em><b>Component Rule</b></em>' literal object isn't clear, there really should be more of a description here... * </p> * <!-- end-user-doc --> - * * @see #COMPONENT_RULE * @model name="ComponentRule" * @generated @@ -73,7 +69,6 @@ public enum ContainerRuleKind implements Enumerator { * If the meaning of '<em><b>Light Weight OO Rule</b></em>' literal object isn't clear, there really should be more of a description here... * </p> * <!-- end-user-doc --> - * * @see #LIGHT_WEIGHT_OO_RULE * @model name="LightWeightOORule" * @generated @@ -85,20 +80,18 @@ public enum ContainerRuleKind implements Enumerator { * An array of all the '<em><b>Container Rule Kind</b></em>' enumerators. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @generated */ private static final ContainerRuleKind[] VALUES_ARRAY = new ContainerRuleKind[] { - COMPONENT_RULE, - LIGHT_WEIGHT_OO_RULE, - }; + COMPONENT_RULE, + LIGHT_WEIGHT_OO_RULE, + }; /** * A public read-only list of all the '<em><b>Container Rule Kind</b></em>' enumerators. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @generated */ public static final List<ContainerRuleKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); @@ -107,7 +100,8 @@ public enum ContainerRuleKind implements Enumerator { * Returns the '<em><b>Container Rule Kind</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 ContainerRuleKind get(String literal) { @@ -124,7 +118,8 @@ public enum ContainerRuleKind implements Enumerator { * Returns the '<em><b>Container Rule Kind</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 ContainerRuleKind getByName(String name) { @@ -141,15 +136,14 @@ public enum ContainerRuleKind implements Enumerator { * Returns the '<em><b>Container Rule Kind</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 ContainerRuleKind get(int value) { switch (value) { - case COMPONENT_RULE_VALUE: - return COMPONENT_RULE; - case LIGHT_WEIGHT_OO_RULE_VALUE: - return LIGHT_WEIGHT_OO_RULE; + case COMPONENT_RULE_VALUE: return COMPONENT_RULE; + case LIGHT_WEIGHT_OO_RULE_VALUE: return LIGHT_WEIGHT_OO_RULE; } return null; } @@ -157,7 +151,6 @@ public enum ContainerRuleKind implements Enumerator { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @generated */ private final int value; @@ -165,7 +158,6 @@ public enum ContainerRuleKind implements Enumerator { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @generated */ private final String name; @@ -173,7 +165,6 @@ public enum ContainerRuleKind implements Enumerator { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @generated */ private final String literal; @@ -182,7 +173,6 @@ public enum ContainerRuleKind implements Enumerator { * Only this class can construct instances. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @generated */ private ContainerRuleKind(int value, String name, String literal) { @@ -194,41 +184,37 @@ public enum ContainerRuleKind implements Enumerator { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @generated */ @Override public int getValue() { - return value; + return value; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @generated */ @Override public String getName() { - return name; + return name; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @generated */ @Override public String getLiteral() { - return literal; + return literal; } /** * Returns the literal value of the enumerator, which is its string representation. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @generated */ @Override |