public enum ScaleUnitType extends java.lang.Enum<ScaleUnitType> implements org.eclipse.emf.common.util.Enumerator
| 枚举常量和说明 |
|---|
DAYS_LITERAL
The 'Days' literal object
|
HOURS_LITERAL
The 'Hours' literal object
|
MINUTES_LITERAL
The 'Minutes' literal object
|
MONTHS_LITERAL
The 'Months' literal object
|
QUARTERS_LITERAL
The 'Quarters' literal object
|
SECONDS_LITERAL
The 'Seconds' literal object
|
WEEKS_LITERAL
The 'Weeks' literal object
|
YEARS_LITERAL
The 'Years' literal object
|
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
DAYS
The 'Days' literal value
|
static int |
HOURS
The 'Hours' literal value
|
static int |
MINUTES
The 'Minutes' literal value
|
static int |
MONTHS
The 'Months' literal value
|
static int |
QUARTERS
The 'Quarters' literal value
|
static int |
SECONDS
The 'Seconds' literal value
|
static java.util.List<ScaleUnitType> |
VALUES
A public read-only list of all the 'Scale Unit Type' enumerators
|
static int |
WEEKS
The 'Weeks' literal value
|
static int |
YEARS
The 'Years' literal value
|
| 限定符和类型 | 方法和说明 |
|---|---|
static ScaleUnitType |
get(int value)
Returns the 'Scale Unit Type' literal with the specified integer value
|
static ScaleUnitType |
get(java.lang.String literal)
Returns the 'Scale Unit Type' literal with the specified literal value
|
static ScaleUnitType |
getByName(java.lang.String name)
Returns the 'Scale Unit Type' 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 ScaleUnitType |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static ScaleUnitType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ScaleUnitType SECONDS_LITERAL
If the meaning of 'Seconds' literal object isn't clear, there really should be more of a description here...
SECONDSpublic static final ScaleUnitType MINUTES_LITERAL
If the meaning of 'Minutes' literal object isn't clear, there really should be more of a description here...
MINUTESpublic static final ScaleUnitType HOURS_LITERAL
If the meaning of 'Hours' literal object isn't clear, there really should be more of a description here...
HOURSpublic static final ScaleUnitType DAYS_LITERAL
If the meaning of 'Days' literal object isn't clear, there really should be more of a description here...
DAYSpublic static final ScaleUnitType WEEKS_LITERAL
If the meaning of 'Weeks' literal object isn't clear, there really should be more of a description here...
WEEKSpublic static final ScaleUnitType MONTHS_LITERAL
If the meaning of 'Months' literal object isn't clear, there really should be more of a description here...
MONTHSpublic static final ScaleUnitType YEARS_LITERAL
If the meaning of 'Years' literal object isn't clear, there really should be more of a description here...
YEARSpublic static final ScaleUnitType QUARTERS_LITERAL
QUARTERSpublic static final int SECONDS
SECONDS_LITERAL,
常量字段值public static final int MINUTES
MINUTES_LITERAL,
常量字段值public static final int HOURS
HOURS_LITERAL,
常量字段值public static final int DAYS
DAYS_LITERAL,
常量字段值public static final int WEEKS
WEEKS_LITERAL,
常量字段值public static final int MONTHS
MONTHS_LITERAL,
常量字段值public static final int YEARS
YEARS_LITERAL,
常量字段值public static final int QUARTERS
If the meaning of 'Quarters' literal object isn't clear, there really should be more of a description here...
QUARTERS_LITERAL,
常量字段值public static final java.util.List<ScaleUnitType> VALUES
public static ScaleUnitType[] values()
for (ScaleUnitType c : ScaleUnitType.values()) System.out.println(c);
public static ScaleUnitType valueOf(java.lang.String name)
name - 要返回的枚举常量的名称。java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException - 如果参数为空值public static ScaleUnitType get(java.lang.String literal)
public static ScaleUnitType getByName(java.lang.String name)
public static ScaleUnitType get(int value)
public int getValue()
getValue 在接口中 org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getName()
getName 在接口中 org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getLiteral()
getLiteral 在接口中 org.eclipse.emf.common.util.Enumeratorpublic java.lang.String toString()
toString 在类中 java.lang.Enum<ScaleUnitType>Copyright © 2005-2008 Actuate Corp. All rights reserved.