public enum DisplayOptionType extends java.lang.Enum<DisplayOptionType> implements org.eclipse.emf.common.util.Enumerator
ModelPackage.getDisplayOptionType()
Enum Constant and Description |
---|
COMBO
The 'COMBO' literal object.
|
DOUBLE_TEXT
The 'DOUBLE TEXT' literal object.
|
INTEGER_TEXT
The 'INTEGER TEXT' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
COMBO_VALUE
The 'COMBO' literal value.
|
static int |
DOUBLE_TEXT_VALUE
The 'DOUBLE TEXT' literal value.
|
static int |
INTEGER_TEXT_VALUE
The 'INTEGER TEXT' literal value.
|
static java.util.List<DisplayOptionType> |
VALUES
A public read-only list of all the 'Display Option Type' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static DisplayOptionType |
get(int value)
Returns the 'Display Option Type' literal with the specified integer value.
|
static DisplayOptionType |
get(java.lang.String literal)
Returns the 'Display Option Type' literal with the specified literal value.
|
static DisplayOptionType |
getByName(java.lang.String name)
Returns the 'Display Option Type' literal with the specified name.
|
java.lang.String |
getLiteral() |
java.lang.String |
getName() |
int |
getValue() |
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static DisplayOptionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DisplayOptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DisplayOptionType COMBO
COMBO_VALUE
public static final DisplayOptionType DOUBLE_TEXT
DOUBLE_TEXT_VALUE
public static final DisplayOptionType INTEGER_TEXT
INTEGER_TEXT_VALUE
public static final int COMBO_VALUE
If the meaning of 'COMBO' literal object isn't clear, there really should be more of a description here...
COMBO
,
Constant Field Valuespublic static final int DOUBLE_TEXT_VALUE
If the meaning of 'DOUBLE TEXT' literal object isn't clear, there really should be more of a description here...
DOUBLE_TEXT
,
Constant Field Valuespublic static final int INTEGER_TEXT_VALUE
If the meaning of 'INTEGER TEXT' literal object isn't clear, there really should be more of a description here...
INTEGER_TEXT
,
Constant Field Valuespublic static final java.util.List<DisplayOptionType> VALUES
public static DisplayOptionType[] values()
for (DisplayOptionType c : DisplayOptionType.values()) System.out.println(c);
public static DisplayOptionType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static DisplayOptionType get(java.lang.String literal)
literal
- the literal.null
.public static DisplayOptionType getByName(java.lang.String name)
name
- the name.null
.public static DisplayOptionType get(int value)
value
- the integer value.null
.public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String toString()
toString
in class java.lang.Enum<DisplayOptionType>