|
jBPM :: BPMN2 EMF Extension Model 6.2.0-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<TimeUnit> bpsim.TimeUnit
public enum TimeUnit
A representation of the literals of the enumeration 'Time Unit', and utility methods for working with them.
BpsimPackage.getTimeUnit()
Enum Constant Summary | |
---|---|
DAY
The 'Day' literal object |
|
HOUR
The 'Hour' literal object |
|
MIN
The 'Min' literal object |
|
MS
The 'Ms' literal object |
|
S
The 'S' literal object |
|
YEAR
The 'Year' literal object |
Field Summary | |
---|---|
static int |
DAY_VALUE
The 'Day' literal value |
static int |
HOUR_VALUE
The 'Hour' literal value |
static int |
MIN_VALUE
The 'Min' literal value |
static int |
MS_VALUE
The 'Ms' literal value |
static int |
S_VALUE
The 'S' literal value |
static List<TimeUnit> |
VALUES
A public read-only list of all the 'Time Unit' enumerators |
static int |
YEAR_VALUE
The 'Year' literal value |
Method Summary | |
---|---|
static TimeUnit |
get(int value)
Returns the 'Time Unit' literal with the specified integer value |
static TimeUnit |
get(String literal)
Returns the 'Time Unit' literal with the specified literal value |
static TimeUnit |
getByName(String name)
Returns the 'Time Unit' literal with the specified name |
String |
getLiteral()
|
String |
getName()
|
int |
getValue()
|
String |
toString()
Returns the literal value of the enumerator, which is its string representation |
static TimeUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TimeUnit[] |
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 TimeUnit MS
MS_VALUE
public static final TimeUnit S
S_VALUE
public static final TimeUnit MIN
MIN_VALUE
public static final TimeUnit HOUR
HOUR_VALUE
public static final TimeUnit DAY
DAY_VALUE
public static final TimeUnit YEAR
YEAR_VALUE
Field Detail |
---|
public static final int MS_VALUE
If the meaning of 'Ms' literal object isn't clear, there really should be more of a description here...
MS
,
Constant Field Valuespublic static final int S_VALUE
If the meaning of 'S' literal object isn't clear, there really should be more of a description here...
S
,
Constant Field Valuespublic static final int MIN_VALUE
If the meaning of 'Min' literal object isn't clear, there really should be more of a description here...
MIN
,
Constant Field Valuespublic static final int HOUR_VALUE
If the meaning of 'Hour' literal object isn't clear, there really should be more of a description here...
HOUR
,
Constant Field Valuespublic static final int DAY_VALUE
If the meaning of 'Day' literal object isn't clear, there really should be more of a description here...
DAY
,
Constant Field Valuespublic static final int YEAR_VALUE
If the meaning of 'Year' literal object isn't clear, there really should be more of a description here...
YEAR
,
Constant Field Valuespublic static final List<TimeUnit> VALUES
Method Detail |
---|
public static TimeUnit[] values()
for (TimeUnit c : TimeUnit.values()) System.out.println(c);
public static TimeUnit valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static TimeUnit get(String literal)
public static TimeUnit getByName(String name)
public static TimeUnit get(int value)
public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public String toString()
toString
in class Enum<TimeUnit>
|
jBPM :: BPMN2 EMF Extension Model 6.2.0-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |