Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/diagramtemplate/org.eclipse.papyrus.diagramtemplate/src/org/eclipse/papyrus/diagramtemplate/SelectionKind.java')
-rw-r--r--extraplugins/diagramtemplate/org.eclipse.papyrus.diagramtemplate/src/org/eclipse/papyrus/diagramtemplate/SelectionKind.java58
1 files changed, 39 insertions, 19 deletions
diff --git a/extraplugins/diagramtemplate/org.eclipse.papyrus.diagramtemplate/src/org/eclipse/papyrus/diagramtemplate/SelectionKind.java b/extraplugins/diagramtemplate/org.eclipse.papyrus.diagramtemplate/src/org/eclipse/papyrus/diagramtemplate/SelectionKind.java
index be902715263..cd7239e3712 100644
--- a/extraplugins/diagramtemplate/org.eclipse.papyrus.diagramtemplate/src/org/eclipse/papyrus/diagramtemplate/SelectionKind.java
+++ b/extraplugins/diagramtemplate/org.eclipse.papyrus.diagramtemplate/src/org/eclipse/papyrus/diagramtemplate/SelectionKind.java
@@ -17,6 +17,7 @@ import org.eclipse.emf.common.util.Enumerator;
* A representation of the literals of the enumeration '<em><b>Selection Kind</b></em>',
* and utility methods for working with them.
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.diagramtemplate.DiagramTemplatePackage#getSelectionKind()
* @model
* @generated
@@ -26,6 +27,7 @@ public enum SelectionKind implements Enumerator {
* The '<em><b>For All</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #FOR_ALL_VALUE
* @generated
* @ordered
@@ -36,6 +38,7 @@ public enum SelectionKind implements Enumerator {
* The '<em><b>Specific</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #SPECIFIC_VALUE
* @generated
* @ordered
@@ -46,6 +49,7 @@ public enum SelectionKind implements Enumerator {
* The '<em><b>Query</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #QUERY_VALUE
* @generated
* @ordered
@@ -56,10 +60,10 @@ public enum SelectionKind implements Enumerator {
* The '<em><b>For All</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>For All</b></em>' literal object isn't clear,
- * there really should be more of a description here...
+ * If the meaning of '<em><b>For All</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @see #FOR_ALL
* @model name="ForAll"
* @generated
@@ -71,10 +75,10 @@ public enum SelectionKind implements Enumerator {
* The '<em><b>Specific</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>Specific</b></em>' literal object isn't clear,
- * there really should be more of a description here...
+ * If the meaning of '<em><b>Specific</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @see #SPECIFIC
* @model name="Specific"
* @generated
@@ -86,10 +90,10 @@ public enum SelectionKind implements Enumerator {
* The '<em><b>Query</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>Query</b></em>' literal object isn't clear,
- * there really should be more of a description here...
+ * If the meaning of '<em><b>Query</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @see #QUERY
* @model name="Query"
* @generated
@@ -101,19 +105,21 @@ public enum SelectionKind implements Enumerator {
* An array of all the '<em><b>Selection Kind</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private static final SelectionKind[] VALUES_ARRAY =
- new SelectionKind[] {
- FOR_ALL,
- SPECIFIC,
- QUERY,
- };
+ new SelectionKind[] {
+ FOR_ALL,
+ SPECIFIC,
+ QUERY,
+ };
/**
* A public read-only list of all the '<em><b>Selection Kind</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static final List<SelectionKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
@@ -122,6 +128,7 @@ public enum SelectionKind implements Enumerator {
* Returns the '<em><b>Selection Kind</b></em>' literal with the specified literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static SelectionKind get(String literal) {
@@ -138,6 +145,7 @@ public enum SelectionKind implements Enumerator {
* Returns the '<em><b>Selection Kind</b></em>' literal with the specified name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static SelectionKind getByName(String name) {
@@ -154,13 +162,17 @@ public enum SelectionKind implements Enumerator {
* Returns the '<em><b>Selection Kind</b></em>' literal with the specified integer value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static SelectionKind get(int value) {
switch (value) {
- case FOR_ALL_VALUE: return FOR_ALL;
- case SPECIFIC_VALUE: return SPECIFIC;
- case QUERY_VALUE: return QUERY;
+ case FOR_ALL_VALUE:
+ return FOR_ALL;
+ case SPECIFIC_VALUE:
+ return SPECIFIC;
+ case QUERY_VALUE:
+ return QUERY;
}
return null;
}
@@ -168,6 +180,7 @@ public enum SelectionKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private final int value;
@@ -175,6 +188,7 @@ public enum SelectionKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private final String name;
@@ -182,6 +196,7 @@ public enum SelectionKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private final String literal;
@@ -190,6 +205,7 @@ public enum SelectionKind implements Enumerator {
* Only this class can construct instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private SelectionKind(int value, String name, String literal) {
@@ -201,39 +217,43 @@ public enum SelectionKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public int getValue() {
- return value;
+ return value;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String getName() {
- return name;
+ return name;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
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
public String toString() {
return literal;
}
-
-} //SelectionKind
+
+} // SelectionKind

Back to the top