public enum PrimitiveEnum extends Enum<PrimitiveEnum> implements org.eclipse.emf.common.util.Enumerator
StorePackage.getPrimitiveEnum()| Enum Constant and Description |
|---|
BOOLEAN
The 'BOOLEAN' literal object.
|
BYTE_ARRAY
The 'BYTE ARRAY' literal object.
|
DOUBLE
The 'DOUBLE' literal object.
|
LONG
The 'LONG' literal object.
|
STRING
The 'STRING' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
BOOLEAN_VALUE
The 'BOOLEAN' literal value.
|
static int |
BYTE_ARRAY_VALUE
The 'BYTE ARRAY' literal value.
|
static int |
DOUBLE_VALUE
The 'DOUBLE' literal value.
|
static int |
LONG_VALUE
The 'LONG' literal value.
|
static int |
STRING_VALUE
The 'STRING' literal value.
|
static List<PrimitiveEnum> |
VALUES
A public read-only list of all the 'Primitive Enum' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static PrimitiveEnum |
get(int value)
Returns the 'Primitive Enum' literal with the specified integer value.
|
static PrimitiveEnum |
get(String literal)
Returns the 'Primitive Enum' literal with the specified literal value.
|
static PrimitiveEnum |
getByName(String name)
Returns the 'Primitive Enum' 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 PrimitiveEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrimitiveEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrimitiveEnum LONG
LONG_VALUEpublic static final PrimitiveEnum DOUBLE
DOUBLE_VALUEpublic static final PrimitiveEnum BOOLEAN
BOOLEAN_VALUEpublic static final PrimitiveEnum STRING
STRING_VALUEpublic static final PrimitiveEnum BYTE_ARRAY
BYTE_ARRAY_VALUEpublic static final int LONG_VALUE
If the meaning of 'LONG' literal object isn't clear, there really should be more of a description here...
LONG,
Constant Field Valuespublic static final int DOUBLE_VALUE
If the meaning of 'DOUBLE' literal object isn't clear, there really should be more of a description here...
DOUBLE,
Constant Field Valuespublic static final int BOOLEAN_VALUE
If the meaning of 'BOOLEAN' literal object isn't clear, there really should be more of a description here...
BOOLEAN,
Constant Field Valuespublic static final int STRING_VALUE
If the meaning of 'STRING' literal object isn't clear, there really should be more of a description here...
STRING,
Constant Field Valuespublic static final int BYTE_ARRAY_VALUE
If the meaning of 'BYTE ARRAY' literal object isn't clear, there really should be more of a description here...
BYTE_ARRAY,
Constant Field Valuespublic static final List<PrimitiveEnum> VALUES
public static PrimitiveEnum[] values()
for (PrimitiveEnum c : PrimitiveEnum.values()) System.out.println(c);
public static PrimitiveEnum 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 PrimitiveEnum get(String literal)
literal - the literal.null.public static PrimitiveEnum getByName(String name)
name - the name.null.public static PrimitiveEnum 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<PrimitiveEnum>Copyright © 2018 OpenSource BIM. All rights reserved.