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