Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCamille Letavernier2014-08-21 11:37:18 +0000
committerCamille Letavernier2014-08-21 11:37:18 +0000
commitea48a20561464c3cbb7895d430583669a9f82fcc (patch)
tree0fdf9eebacbbb301b13bafce3ca4a6952ff6e91c /extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Interaction/NotificationKind.java
parentf91b71175fd97557cf378cdcad845a44a6274b16 (diff)
downloadorg.eclipse.papyrus-ea48a20561464c3cbb7895d430583669a9f82fcc.tar.gz
org.eclipse.papyrus-ea48a20561464c3cbb7895d430583669a9f82fcc.tar.xz
org.eclipse.papyrus-ea48a20561464c3cbb7895d430583669a9f82fcc.zip
[Code style] Apply clean-up and formatter on Extra plug-ins
Diffstat (limited to 'extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Interaction/NotificationKind.java')
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Interaction/NotificationKind.java83
1 files changed, 55 insertions, 28 deletions
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Interaction/NotificationKind.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Interaction/NotificationKind.java
index 4effeb719e5..58e0e6153c7 100644
--- a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Interaction/NotificationKind.java
+++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Interaction/NotificationKind.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
@@ -24,6 +24,7 @@ import org.eclipse.emf.common.util.Enumerator;
* A representation of the literals of the enumeration '<em><b>Notification Kind</b></em>',
* and utility methods for working with them.
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.SRM.SW_Interaction.SW_InteractionPackage#getNotificationKind()
* @model
* @generated
@@ -33,6 +34,7 @@ public enum NotificationKind implements Enumerator {
* The '<em><b>Memorized</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #MEMORIZED_VALUE
* @generated
* @ordered
@@ -43,6 +45,7 @@ public enum NotificationKind implements Enumerator {
* The '<em><b>Bounded</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #BOUNDED_VALUE
* @generated
* @ordered
@@ -53,6 +56,7 @@ public enum NotificationKind implements Enumerator {
* The '<em><b>Memoryless</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #MEMORYLESS_VALUE
* @generated
* @ordered
@@ -63,6 +67,7 @@ public enum NotificationKind implements Enumerator {
* The '<em><b>Undef</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #UNDEF_VALUE
* @generated
* @ordered
@@ -73,6 +78,7 @@ public enum NotificationKind implements Enumerator {
* The '<em><b>Other</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #OTHER_VALUE
* @generated
* @ordered
@@ -83,10 +89,10 @@ public enum NotificationKind implements Enumerator {
* The '<em><b>Memorized</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>Memorized</b></em>' literal object isn't clear,
- * there really should be more of a description here...
+ * If the meaning of '<em><b>Memorized</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @see #MEMORIZED
* @model name="Memorized"
* @generated
@@ -98,10 +104,10 @@ public enum NotificationKind implements Enumerator {
* The '<em><b>Bounded</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>Bounded</b></em>' literal object isn't clear,
- * there really should be more of a description here...
+ * If the meaning of '<em><b>Bounded</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @see #BOUNDED
* @model name="Bounded"
* @generated
@@ -113,10 +119,10 @@ public enum NotificationKind implements Enumerator {
* The '<em><b>Memoryless</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>Memoryless</b></em>' literal object isn't clear,
- * there really should be more of a description here...
+ * If the meaning of '<em><b>Memoryless</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @see #MEMORYLESS
* @model name="Memoryless"
* @generated
@@ -128,10 +134,10 @@ public enum NotificationKind implements Enumerator {
* The '<em><b>Undef</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>Undef</b></em>' literal object isn't clear,
- * there really should be more of a description here...
+ * If the meaning of '<em><b>Undef</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @see #UNDEF
* @model name="Undef"
* @generated
@@ -143,10 +149,10 @@ public enum NotificationKind 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 name="Other"
* @generated
@@ -158,21 +164,23 @@ public enum NotificationKind implements Enumerator {
* An array of all the '<em><b>Notification Kind</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private static final NotificationKind[] VALUES_ARRAY =
- new NotificationKind[] {
- MEMORIZED,
- BOUNDED,
- MEMORYLESS,
- UNDEF,
- OTHER,
- };
+ new NotificationKind[] {
+ MEMORIZED,
+ BOUNDED,
+ MEMORYLESS,
+ UNDEF,
+ OTHER,
+ };
/**
* A public read-only list of all the '<em><b>Notification Kind</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static final List<NotificationKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
@@ -181,6 +189,7 @@ public enum NotificationKind implements Enumerator {
* Returns the '<em><b>Notification Kind</b></em>' literal with the specified literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static NotificationKind get(String literal) {
@@ -197,6 +206,7 @@ public enum NotificationKind implements Enumerator {
* Returns the '<em><b>Notification Kind</b></em>' literal with the specified name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static NotificationKind getByName(String name) {
@@ -213,15 +223,21 @@ public enum NotificationKind implements Enumerator {
* Returns the '<em><b>Notification Kind</b></em>' literal with the specified integer value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static NotificationKind get(int value) {
switch (value) {
- case MEMORIZED_VALUE: return MEMORIZED;
- case BOUNDED_VALUE: return BOUNDED;
- case MEMORYLESS_VALUE: return MEMORYLESS;
- case UNDEF_VALUE: return UNDEF;
- case OTHER_VALUE: return OTHER;
+ case MEMORIZED_VALUE:
+ return MEMORIZED;
+ case BOUNDED_VALUE:
+ return BOUNDED;
+ case MEMORYLESS_VALUE:
+ return MEMORYLESS;
+ case UNDEF_VALUE:
+ return UNDEF;
+ case OTHER_VALUE:
+ return OTHER;
}
return null;
}
@@ -229,6 +245,7 @@ public enum NotificationKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private final int value;
@@ -236,6 +253,7 @@ public enum NotificationKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private final String name;
@@ -243,6 +261,7 @@ public enum NotificationKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private final String literal;
@@ -251,6 +270,7 @@ public enum NotificationKind implements Enumerator {
* Only this class can construct instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private NotificationKind(int value, String name, String literal) {
@@ -262,39 +282,46 @@ public enum NotificationKind 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;
}
-
-} //NotificationKind
+
+} // NotificationKind

Back to the top