public enum ScaleUnitType extends java.lang.Enum<ScaleUnitType> implements org.eclipse.emf.common.util.Enumerator
AttributePackage.getScaleUnitType()
Enum Constant and Description |
---|
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.
|
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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)
Returns the enum constant of this type with the specified name.
|
static ScaleUnitType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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...
SECONDS
public static final ScaleUnitType MINUTES_LITERAL
If the meaning of 'Minutes' literal object isn't clear, there really should be more of a description here...
MINUTES
public static final ScaleUnitType HOURS_LITERAL
If the meaning of 'Hours' literal object isn't clear, there really should be more of a description here...
HOURS
public static final ScaleUnitType DAYS_LITERAL
If the meaning of 'Days' literal object isn't clear, there really should be more of a description here...
DAYS
public static final ScaleUnitType WEEKS_LITERAL
If the meaning of 'Weeks' literal object isn't clear, there really should be more of a description here...
WEEKS
public static final ScaleUnitType MONTHS_LITERAL
If the meaning of 'Months' literal object isn't clear, there really should be more of a description here...
MONTHS
public static final ScaleUnitType YEARS_LITERAL
If the meaning of 'Years' literal object isn't clear, there really should be more of a description here...
YEARS
public static final ScaleUnitType QUARTERS_LITERAL
QUARTERS
public static final int SECONDS
SECONDS_LITERAL
,
Constant Field Valuespublic static final int MINUTES
MINUTES_LITERAL
,
Constant Field Valuespublic static final int HOURS
HOURS_LITERAL
,
Constant Field Valuespublic static final int DAYS
DAYS_LITERAL
,
Constant Field Valuespublic static final int WEEKS
WEEKS_LITERAL
,
Constant Field Valuespublic static final int MONTHS
MONTHS_LITERAL
,
Constant Field Valuespublic static final int YEARS
YEARS_LITERAL
,
Constant Field Valuespublic 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
,
Constant Field Valuespublic 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
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic 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
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<ScaleUnitType>
Copyright © 2005-2008 Actuate Corp. All rights reserved.