|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AssumptionKind>
org.objectweb.dsrg.sofa.repository.model.AssumptionKind
public enum AssumptionKind
A representation of the literals of the enumeration 'Assumption Kind', and utility methods for working with them.
ModelPackage.getAssumptionKind()
Enum Constant Summary | |
---|---|
ATTRIBUTE_LITERAL
The 'Attribute' literal object. |
|
CAPACITY_LITERAL
The 'Capacity' literal object. |
|
MAXIMUM_LITERAL
The 'Maximum' literal object. |
|
MINIMUM_LITERAL
The 'Minimum' literal object. |
Field Summary | |
---|---|
static int |
ATTRIBUTE
The 'Attribute' literal value. |
static int |
CAPACITY
The 'Capacity' literal value. |
static int |
MAXIMUM
The 'Maximum' literal value. |
static int |
MINIMUM
The 'Minimum' literal value. |
static java.util.List<AssumptionKind> |
VALUES
A public read-only list of all the 'Assumption Kind' enumerators. |
Method Summary | |
---|---|
static AssumptionKind |
get(int value)
Returns the 'Assumption Kind' literal with the specified integer value. |
static AssumptionKind |
get(java.lang.String literal)
Returns the 'Assumption Kind' literal with the specified literal value. |
static AssumptionKind |
getByName(java.lang.String name)
Returns the 'Assumption Kind' literal with the specified name. |
java.lang.String |
getLiteral()
|
java.lang.String |
getName()
|
int |
getValue()
|
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation. |
static AssumptionKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AssumptionKind[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final AssumptionKind ATTRIBUTE_LITERAL
ATTRIBUTE
public static final AssumptionKind MAXIMUM_LITERAL
MAXIMUM
public static final AssumptionKind MINIMUM_LITERAL
MINIMUM
public static final AssumptionKind CAPACITY_LITERAL
CAPACITY
Field Detail |
---|
public static final int ATTRIBUTE
If the meaning of 'Attribute' literal object isn't clear, there really should be more of a description here...
ATTRIBUTE_LITERAL
,
Constant Field Valuespublic static final int MAXIMUM
If the meaning of 'Maximum' literal object isn't clear, there really should be more of a description here...
MAXIMUM_LITERAL
,
Constant Field Valuespublic static final int MINIMUM
If the meaning of 'Minimum' literal object isn't clear, there really should be more of a description here...
MINIMUM_LITERAL
,
Constant Field Valuespublic static final int CAPACITY
If the meaning of 'Capacity' literal object isn't clear, there really should be more of a description here...
CAPACITY_LITERAL
,
Constant Field Valuespublic static final java.util.List<AssumptionKind> VALUES
Method Detail |
---|
public static AssumptionKind[] values()
for (AssumptionKind c : AssumptionKind.values()) System.out.println(c);
public static AssumptionKind valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static AssumptionKind get(java.lang.String literal)
public static AssumptionKind getByName(java.lang.String name)
public static AssumptionKind get(int value)
public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String toString()
toString
in class java.lang.Enum<AssumptionKind>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |