public enum RoundingType extends Enum<RoundingType> implements org.eclipse.emf.common.util.Enumerator
OsgiPackage.getRoundingType()| Enum Constant and Description |
|---|
CEIL
The 'CEIL' literal object.
|
FLOOR
The 'FLOOR' literal object.
|
NONE
The 'NONE' literal object.
|
ROUND
The 'ROUND' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
CEIL_VALUE
The 'CEIL' literal value.
|
static int |
FLOOR_VALUE
The 'FLOOR' literal value.
|
static int |
NONE_VALUE
The 'NONE' literal value.
|
static int |
ROUND_VALUE
The 'ROUND' literal value.
|
static List<RoundingType> |
VALUES
A public read-only list of all the 'Rounding Type' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static RoundingType |
get(int value)
Returns the 'Rounding Type' literal with the specified integer value.
|
static RoundingType |
get(String literal)
Returns the 'Rounding Type' literal with the specified literal value.
|
static RoundingType |
getByName(String name)
Returns the 'Rounding Type' 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 RoundingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RoundingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoundingType NONE
NONE_VALUEpublic static final RoundingType ROUND
ROUND_VALUEpublic static final RoundingType CEIL
CEIL_VALUEpublic static final RoundingType FLOOR
FLOOR_VALUEpublic static final int NONE_VALUE
If the meaning of 'NONE' literal object isn't clear, there really should be more of a description here...
NONE,
Constant Field Valuespublic static final int ROUND_VALUE
If the meaning of 'ROUND' literal object isn't clear, there really should be more of a description here...
ROUND,
Constant Field Valuespublic static final int CEIL_VALUE
If the meaning of 'CEIL' literal object isn't clear, there really should be more of a description here...
CEIL,
Constant Field Valuespublic static final int FLOOR_VALUE
If the meaning of 'FLOOR' literal object isn't clear, there really should be more of a description here...
FLOOR,
Constant Field Valuespublic static final List<RoundingType> VALUES
public static RoundingType[] values()
for (RoundingType c : RoundingType.values()) System.out.println(c);
public static RoundingType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static RoundingType get(String literal)
literal - the literal.null.public static RoundingType getByName(String name)
name - the name.null.public static RoundingType get(int value)
value - the integer value.null.public int getValue()
getValue in interface org.eclipse.emf.common.util.Enumeratorpublic String getName()
getName in interface org.eclipse.emf.common.util.Enumeratorpublic String getLiteral()
getLiteral in interface org.eclipse.emf.common.util.Enumeratorpublic String toString()
toString in class Enum<RoundingType>