diff options
Diffstat (limited to 'extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/dependability/ExposureClassKind.java')
-rw-r--r-- | extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/dependability/ExposureClassKind.java | 67 |
1 files changed, 48 insertions, 19 deletions
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/dependability/ExposureClassKind.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/dependability/ExposureClassKind.java index e0a498a4be7..e9ae94bbd32 100644 --- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/dependability/ExposureClassKind.java +++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/dependability/ExposureClassKind.java @@ -1,7 +1,7 @@ /***************************************************************************** * Copyright (c) 2010 CEA LIST. * - * + * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -28,13 +28,14 @@ import org.eclipse.emf.common.util.Enumerator; * <!-- end-user-doc --> * <!-- begin-model-doc --> * The ExposureClassKind is an enumeration metaclass with enumeration literals indicating the probability attributes E1, E2, E3 or E4 in accordance with ISO26262. - * + * * Semantics: * The semantics is defined at each enumeration literal and fully defined in the ISO26262 standard. - * - * Extension: + * + * Extension: * Enumeration, no extension. * <!-- end-model-doc --> + * * @see org.eclipse.papyrus.eastadl.dependability.DependabilityPackage#getExposureClassKind() * @model * @generated @@ -44,6 +45,7 @@ public enum ExposureClassKind implements Enumerator { * The '<em><b>E1</b></em>' literal object. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #E1_VALUE * @generated * @ordered @@ -54,6 +56,7 @@ public enum ExposureClassKind implements Enumerator { * The '<em><b>E2</b></em>' literal object. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #E2_VALUE * @generated * @ordered @@ -64,6 +67,7 @@ public enum ExposureClassKind implements Enumerator { * The '<em><b>E3</b></em>' literal object. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #E3_VALUE * @generated * @ordered @@ -74,6 +78,7 @@ public enum ExposureClassKind implements Enumerator { * The '<em><b>E4</b></em>' literal object. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #E4_VALUE * @generated * @ordered @@ -88,6 +93,7 @@ public enum ExposureClassKind implements Enumerator { * Rare events * Situations that occur less often yhan once a year for the great majority of drivers * <!-- end-model-doc --> + * * @see #E1 * @model * @generated @@ -103,6 +109,7 @@ public enum ExposureClassKind implements Enumerator { * Sometimes * Situations that occur a few times a year for the great majority of drivers * <!-- end-model-doc --> + * * @see #E2 * @model * @generated @@ -118,6 +125,7 @@ public enum ExposureClassKind implements Enumerator { * Quite often * Situations that occur once a month or more often for an average driver * <!-- end-model-doc --> + * * @see #E3 * @model * @generated @@ -133,6 +141,7 @@ public enum ExposureClassKind implements Enumerator { * Often * All situations that occur during almost every drive on average * <!-- end-model-doc --> + * * @see #E4 * @model * @generated @@ -144,20 +153,22 @@ public enum ExposureClassKind implements Enumerator { * An array of all the '<em><b>Exposure Class Kind</b></em>' enumerators. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private static final ExposureClassKind[] VALUES_ARRAY = - new ExposureClassKind[] { - E1, - E2, - E3, - E4, - }; + new ExposureClassKind[] { + E1, + E2, + E3, + E4, + }; /** * A public read-only list of all the '<em><b>Exposure Class Kind</b></em>' enumerators. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public static final List<ExposureClassKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); @@ -166,14 +177,19 @@ public enum ExposureClassKind implements Enumerator { * Returns the '<em><b>Exposure Class Kind</b></em>' literal with the specified integer value. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public static ExposureClassKind get(int value) { switch (value) { - case E1_VALUE: return E1; - case E2_VALUE: return E2; - case E3_VALUE: return E3; - case E4_VALUE: return E4; + case E1_VALUE: + return E1; + case E2_VALUE: + return E2; + case E3_VALUE: + return E3; + case E4_VALUE: + return E4; } return null; } @@ -182,6 +198,7 @@ public enum ExposureClassKind implements Enumerator { * Returns the '<em><b>Exposure Class Kind</b></em>' literal with the specified literal value. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public static ExposureClassKind get(String literal) { @@ -198,6 +215,7 @@ public enum ExposureClassKind implements Enumerator { * Returns the '<em><b>Exposure Class Kind</b></em>' literal with the specified name. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public static ExposureClassKind getByName(String name) { @@ -213,6 +231,7 @@ public enum ExposureClassKind implements Enumerator { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private final int value; @@ -220,6 +239,7 @@ public enum ExposureClassKind implements Enumerator { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private final String name; @@ -227,6 +247,7 @@ public enum ExposureClassKind implements Enumerator { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private final String literal; @@ -235,6 +256,7 @@ public enum ExposureClassKind implements Enumerator { * Only this class can construct instances. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private ExposureClassKind(int value, String name, String literal) { @@ -246,39 +268,46 @@ public enum ExposureClassKind implements Enumerator { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ + @Override public String getLiteral() { - return literal; + return literal; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ + @Override public String getName() { - return name; + return name; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ + @Override public int getValue() { - return value; + return value; } /** * 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; } - -} //ExposureClassKind + +} // ExposureClassKind |