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_VALUE
public static final RoundingType ROUND
ROUND_VALUE
public static final RoundingType CEIL
CEIL_VALUE
public static final RoundingType FLOOR
FLOOR_VALUE
public 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)
public static RoundingType getByName(String name)
public static RoundingType 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<RoundingType>