|
OCL | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<State>
org.topcased.checkresultmodel.State
public enum State
A representation of the literals of the enumeration 'State', and utility methods for working with them.
CheckresultmodelPackage.getState()
Enum Constant Summary | |
---|---|
REJECTED
The 'Rejected' literal object |
|
SELECTED
The 'Selected' literal object |
|
UNKNOW
The 'Unknow' literal object |
Field Summary | |
---|---|
static int |
REJECTED_VALUE
The 'Rejected' literal value |
static int |
SELECTED_VALUE
The 'Selected' literal value |
static int |
UNKNOW_VALUE
The 'Unknow' literal value |
static java.util.List<State> |
VALUES
A public read-only list of all the 'State' enumerators |
Method Summary | |
---|---|
static State |
get(int value)
Returns the 'State' literal with the specified integer value |
static State |
get(java.lang.String literal)
Returns the 'State' literal with the specified literal value |
static State |
getByName(java.lang.String name)
Returns the 'State' 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 State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static State[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final State UNKNOW
UNKNOW_VALUE
public static final State SELECTED
SELECTED_VALUE
public static final State REJECTED
REJECTED_VALUE
Field Detail |
---|
public static final int UNKNOW_VALUE
If the meaning of 'Unknow' literal object isn't clear, there really should be more of a description here...
UNKNOW
,
Constant Field Valuespublic static final int SELECTED_VALUE
If the meaning of 'Selected' literal object isn't clear, there really should be more of a description here...
SELECTED
,
Constant Field Valuespublic static final int REJECTED_VALUE
If the meaning of 'Rejected' literal object isn't clear, there really should be more of a description here...
REJECTED
,
Constant Field Valuespublic static final java.util.List<State> VALUES
Method Detail |
---|
public static final State[] values()
for(State c : State.values()) System.out.println(c);
public static State 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 namepublic static State get(java.lang.String literal)
public static State getByName(java.lang.String name)
public static State get(int value)
public int getValue()
getValue
in interface Enumerator
public java.lang.String getName()
getName
in interface Enumerator
public java.lang.String getLiteral()
getLiteral
in interface Enumerator
public java.lang.String toString()
toString
in class java.lang.Enum<State>
|
OCL | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.