public enum VariantType extends Enum<VariantType> implements org.eclipse.emf.common.util.Enumerator
ParserPackage.getVariantType()
Enum Constant and Description |
---|
BOOLEAN
The 'BOOLEAN' literal object.
|
DEFAULT
The 'DEFAULT' literal object.
|
DOUBLE
The 'DOUBLE' literal object.
|
INT32
The 'INT32' literal object.
|
INT64
The 'INT64' literal object.
|
STRING
The 'STRING' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
BOOLEAN_VALUE
The 'BOOLEAN' literal value.
|
static int |
DEFAULT_VALUE
The 'DEFAULT' literal value.
|
static int |
DOUBLE_VALUE
The 'DOUBLE' literal value.
|
static int |
INT32_VALUE
The 'INT32' literal value.
|
static int |
INT64_VALUE
The 'INT64' literal value.
|
static int |
STRING_VALUE
The 'STRING' literal value.
|
static List<VariantType> |
VALUES
A public read-only list of all the 'Variant Type' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static VariantType |
get(int value)
Returns the 'Variant Type' literal with the specified integer value.
|
static VariantType |
get(String literal)
Returns the 'Variant Type' literal with the specified literal value.
|
static VariantType |
getByName(String name)
Returns the 'Variant 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 VariantType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VariantType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VariantType DEFAULT
DEFAULT_VALUE
public static final VariantType STRING
STRING_VALUE
public static final VariantType INT32
INT32_VALUE
public static final VariantType INT64
INT64_VALUE
public static final VariantType DOUBLE
DOUBLE_VALUE
public static final VariantType BOOLEAN
BOOLEAN_VALUE
public static final int DEFAULT_VALUE
If the meaning of 'DEFAULT' literal object isn't clear, there really should be more of a description here...
DEFAULT
,
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 INT32_VALUE
If the meaning of 'INT32' literal object isn't clear, there really should be more of a description here...
INT32
,
Constant Field Valuespublic static final int INT64_VALUE
If the meaning of 'INT64' literal object isn't clear, there really should be more of a description here...
INT64
,
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 List<VariantType> VALUES
public static VariantType[] values()
for (VariantType c : VariantType.values()) System.out.println(c);
public static VariantType 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 VariantType get(String literal)
public static VariantType getByName(String name)
public static VariantType 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<VariantType>