Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/StartupKind.java')
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/StartupKind.java51
1 files changed, 36 insertions, 15 deletions
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/StartupKind.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/StartupKind.java
index 140f7d2f59d..c1ff65130ba 100644
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/StartupKind.java
+++ b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/StartupKind.java
@@ -13,6 +13,7 @@ import org.eclipse.emf.common.util.Enumerator;
* A representation of the literals of the enumeration '<em><b>Startup Kind</b></em>',
* and utility methods for working with them.
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getStartupKind()
* @model
* @generated
@@ -22,6 +23,7 @@ public enum StartupKind implements Enumerator {
* The '<em><b>Lazy</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #LAZY_VALUE
* @generated
* @ordered
@@ -32,6 +34,7 @@ public enum StartupKind implements Enumerator {
* The '<em><b>Startup</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #STARTUP_VALUE
* @generated
* @ordered
@@ -42,10 +45,10 @@ public enum StartupKind implements Enumerator {
* The '<em><b>Lazy</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>Lazy</b></em>' literal object isn't clear,
- * there really should be more of a description here...
+ * If the meaning of '<em><b>Lazy</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @see #LAZY
* @model name="lazy"
* @generated
@@ -57,10 +60,10 @@ public enum StartupKind implements Enumerator {
* The '<em><b>Startup</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>Startup</b></em>' literal object isn't clear,
- * there really should be more of a description here...
+ * If the meaning of '<em><b>Startup</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @see #STARTUP
* @model name="startup"
* @generated
@@ -72,18 +75,20 @@ public enum StartupKind implements Enumerator {
* An array of all the '<em><b>Startup Kind</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private static final StartupKind[] VALUES_ARRAY =
- new StartupKind[] {
- LAZY,
- STARTUP,
- };
+ new StartupKind[] {
+ LAZY,
+ STARTUP,
+ };
/**
* A public read-only list of all the '<em><b>Startup Kind</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static final List<StartupKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
@@ -92,6 +97,7 @@ public enum StartupKind implements Enumerator {
* Returns the '<em><b>Startup Kind</b></em>' literal with the specified literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static StartupKind get(String literal) {
@@ -108,6 +114,7 @@ public enum StartupKind implements Enumerator {
* Returns the '<em><b>Startup Kind</b></em>' literal with the specified name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static StartupKind getByName(String name) {
@@ -124,12 +131,15 @@ public enum StartupKind implements Enumerator {
* Returns the '<em><b>Startup Kind</b></em>' literal with the specified integer value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static StartupKind get(int value) {
switch (value) {
- case LAZY_VALUE: return LAZY;
- case STARTUP_VALUE: return STARTUP;
+ case LAZY_VALUE:
+ return LAZY;
+ case STARTUP_VALUE:
+ return STARTUP;
}
return null;
}
@@ -137,6 +147,7 @@ public enum StartupKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private final int value;
@@ -144,6 +155,7 @@ public enum StartupKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private final String name;
@@ -151,6 +163,7 @@ public enum StartupKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private final String literal;
@@ -159,6 +172,7 @@ public enum StartupKind implements Enumerator {
* Only this class can construct instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private StartupKind(int value, String name, String literal) {
@@ -170,39 +184,46 @@ public enum StartupKind 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
public String toString() {
return literal;
}
-
-} //StartupKind
+
+} // StartupKind

Back to the top