Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/behavior/FunctionBehaviorKind.java')
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/behavior/FunctionBehaviorKind.java134
1 files changed, 85 insertions, 49 deletions
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/behavior/FunctionBehaviorKind.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/behavior/FunctionBehaviorKind.java
index 2d98673d2b6..0f571048c0a 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/behavior/FunctionBehaviorKind.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/behavior/FunctionBehaviorKind.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
@@ -27,16 +27,18 @@ import org.eclipse.emf.common.util.Enumerator;
* and utility methods for working with them.
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
- * FunctionBehaviorKind is an enumeration which lists the various representations, used to describe a FunctionBehavior. It is used as a property of a FunctionBehavior. Several representations are listed; however one can always extend this list by using the literal OTHER.
- *
+ * FunctionBehaviorKind is an enumeration which lists the various representations, used to describe a FunctionBehavior. It is used as a property of a FunctionBehavior. Several representations are listed; however one can always extend this list by using the
+ * literal OTHER.
+ *
* Semantics:
* Distinction between UML and MARTE comes from the slight differences in the behavioral definitions (namely concerning data-flow oriented behaviors).
- *
+ *
* It shall be noted that though one can use several languages to provide a representation of a FunctionBehavior, the semantics shall remain compliant with the overall EAST-ADL2 execution semantics.
- *
- * Extension:
+ *
+ * Extension:
* Enumeration, no extension.
* <!-- end-model-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.behavior.BehaviorPackage#getFunctionBehaviorKind()
* @model
* @generated
@@ -46,6 +48,7 @@ public enum FunctionBehaviorKind implements Enumerator {
* The '<em><b>ASCET</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #ASCET_VALUE
* @generated
* @ordered
@@ -56,6 +59,7 @@ public enum FunctionBehaviorKind implements Enumerator {
* The '<em><b>OTHER</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #OTHER_VALUE
* @generated
* @ordered
@@ -66,6 +70,7 @@ public enum FunctionBehaviorKind implements Enumerator {
* The '<em><b>SCADE</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #SCADE_VALUE
* @generated
* @ordered
@@ -76,6 +81,7 @@ public enum FunctionBehaviorKind implements Enumerator {
* The '<em><b>SDL</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #SDL_VALUE
* @generated
* @ordered
@@ -86,6 +92,7 @@ public enum FunctionBehaviorKind implements Enumerator {
* The '<em><b>SIMULINK</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #SIMULINK_VALUE
* @generated
* @ordered
@@ -96,6 +103,7 @@ public enum FunctionBehaviorKind implements Enumerator {
* The '<em><b>STATEMATE</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #STATEMATE_VALUE
* @generated
* @ordered
@@ -104,6 +112,7 @@ public enum FunctionBehaviorKind implements Enumerator {
* The '<em><b>MARTE</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #MARTE_VALUE
* @generated
* @ordered
@@ -112,6 +121,7 @@ public enum FunctionBehaviorKind implements Enumerator {
* The '<em><b>UML</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #UML_VALUE
* @generated
* @ordered
@@ -120,6 +130,7 @@ public enum FunctionBehaviorKind implements Enumerator {
* The '<em><b>SCILAB</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #SCILAB_VALUE
* @generated
* @ordered
@@ -130,10 +141,10 @@ public enum FunctionBehaviorKind implements Enumerator {
* The '<em><b>ASCET</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>ASCET</b></em>' literal object isn't clear,
- * there really should be more of a description here...
+ * If the meaning of '<em><b>ASCET</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @see #ASCET
* @model
* @generated
@@ -145,10 +156,10 @@ public enum FunctionBehaviorKind implements Enumerator {
* The '<em><b>OTHER</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>OTHER</b></em>' literal object isn't clear,
- * there really should be more of a description here...
+ * If the meaning of '<em><b>OTHER</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @see #OTHER
* @model
* @generated
@@ -160,10 +171,10 @@ public enum FunctionBehaviorKind implements Enumerator {
* The '<em><b>SCADE</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>SCADE</b></em>' literal object isn't clear,
- * there really should be more of a description here...
+ * If the meaning of '<em><b>SCADE</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @see #SCADE
* @model
* @generated
@@ -175,10 +186,10 @@ public enum FunctionBehaviorKind implements Enumerator {
* The '<em><b>SDL</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>SDL</b></em>' literal object isn't clear,
- * there really should be more of a description here...
+ * If the meaning of '<em><b>SDL</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @see #SDL
* @model
* @generated
@@ -190,10 +201,10 @@ public enum FunctionBehaviorKind implements Enumerator {
* The '<em><b>SIMULINK</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>SIMULINK</b></em>' literal object isn't clear,
- * there really should be more of a description here...
+ * If the meaning of '<em><b>SIMULINK</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @see #SIMULINK
* @model
* @generated
@@ -205,10 +216,10 @@ public enum FunctionBehaviorKind implements Enumerator {
* The '<em><b>STATEMATE</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>STATEMATE</b></em>' literal object isn't clear,
- * there really should be more of a description here...
+ * If the meaning of '<em><b>STATEMATE</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @see #STATEMATE
* @model
* @generated
@@ -220,10 +231,10 @@ public enum FunctionBehaviorKind implements Enumerator {
* The '<em><b>MARTE</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>MARTE</b></em>' literal object isn't clear,
- * there really should be more of a description here...
+ * If the meaning of '<em><b>MARTE</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @see #MARTE
* @model
* @generated
@@ -235,10 +246,10 @@ public enum FunctionBehaviorKind implements Enumerator {
* The '<em><b>UML</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>UML</b></em>' literal object isn't clear,
- * there really should be more of a description here...
+ * If the meaning of '<em><b>UML</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @see #UML
* @model
* @generated
@@ -250,10 +261,10 @@ public enum FunctionBehaviorKind implements Enumerator {
* The '<em><b>SCILAB</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>SCILAB</b></em>' literal object isn't clear,
- * there really should be more of a description here...
+ * If the meaning of '<em><b>SCILAB</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @see #SCILAB
* @model
* @generated
@@ -265,25 +276,27 @@ public enum FunctionBehaviorKind implements Enumerator {
* An array of all the '<em><b>Function Behavior Kind</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private static final FunctionBehaviorKind[] VALUES_ARRAY =
- new FunctionBehaviorKind[] {
- ASCET,
- OTHER,
- SCADE,
- SDL,
- SIMULINK,
- STATEMATE,
- MARTE,
- UML,
- SCILAB,
- };
+ new FunctionBehaviorKind[] {
+ ASCET,
+ OTHER,
+ SCADE,
+ SDL,
+ SIMULINK,
+ STATEMATE,
+ MARTE,
+ UML,
+ SCILAB,
+ };
/**
* A public read-only list of all the '<em><b>Function Behavior Kind</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static final List<FunctionBehaviorKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
@@ -292,19 +305,29 @@ public enum FunctionBehaviorKind implements Enumerator {
* Returns the '<em><b>Function Behavior Kind</b></em>' literal with the specified integer value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static FunctionBehaviorKind get(int value) {
switch (value) {
- case ASCET_VALUE: return ASCET;
- case OTHER_VALUE: return OTHER;
- case SCADE_VALUE: return SCADE;
- case SDL_VALUE: return SDL;
- case SIMULINK_VALUE: return SIMULINK;
- case STATEMATE_VALUE: return STATEMATE;
- case MARTE_VALUE: return MARTE;
- case UML_VALUE: return UML;
- case SCILAB_VALUE: return SCILAB;
+ case ASCET_VALUE:
+ return ASCET;
+ case OTHER_VALUE:
+ return OTHER;
+ case SCADE_VALUE:
+ return SCADE;
+ case SDL_VALUE:
+ return SDL;
+ case SIMULINK_VALUE:
+ return SIMULINK;
+ case STATEMATE_VALUE:
+ return STATEMATE;
+ case MARTE_VALUE:
+ return MARTE;
+ case UML_VALUE:
+ return UML;
+ case SCILAB_VALUE:
+ return SCILAB;
}
return null;
}
@@ -313,6 +336,7 @@ public enum FunctionBehaviorKind implements Enumerator {
* Returns the '<em><b>Function Behavior Kind</b></em>' literal with the specified literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static FunctionBehaviorKind get(String literal) {
@@ -329,6 +353,7 @@ public enum FunctionBehaviorKind implements Enumerator {
* Returns the '<em><b>Function Behavior Kind</b></em>' literal with the specified name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static FunctionBehaviorKind getByName(String name) {
@@ -344,6 +369,7 @@ public enum FunctionBehaviorKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private final int value;
@@ -351,6 +377,7 @@ public enum FunctionBehaviorKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private final String name;
@@ -358,6 +385,7 @@ public enum FunctionBehaviorKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private final String literal;
@@ -366,6 +394,7 @@ public enum FunctionBehaviorKind implements Enumerator {
* Only this class can construct instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private FunctionBehaviorKind(int value, String name, String literal) {
@@ -377,39 +406,46 @@ public enum FunctionBehaviorKind 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;
}
-
-} //FunctionBehaviorKind
+
+} // FunctionBehaviorKind

Back to the top