public enum ProfileSwitcherType extends Enum<ProfileSwitcherType> implements org.eclipse.emf.common.util.Enumerator
Enum Constant and Description |
---|
BUTTON
The 'BUTTON' literal object.
|
CHECK
The 'CHECK' literal object.
|
RADIO
The 'RADIO' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
BUTTON_VALUE
The 'BUTTON' literal value.
|
static int |
CHECK_VALUE
The 'CHECK' literal value.
|
static int |
RADIO_VALUE
The 'RADIO' literal value.
|
static List<ProfileSwitcherType> |
VALUES
A public read-only list of all the 'Profile Switcher Type' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static ProfileSwitcherType |
get(int value)
Returns the 'Profile Switcher Type' literal with the specified integer value.
|
static ProfileSwitcherType |
get(String literal)
Returns the 'Profile Switcher Type' literal with the specified literal value.
|
static ProfileSwitcherType |
getByName(String name)
Returns the 'Profile Switcher 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 ProfileSwitcherType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProfileSwitcherType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProfileSwitcherType CHECK
CHECK_VALUE
public static final ProfileSwitcherType RADIO
RADIO_VALUE
public static final ProfileSwitcherType BUTTON
BUTTON_VALUE
public static final int CHECK_VALUE
If the meaning of 'CHECK' literal object isn't clear, there really should be more of a description here...
CHECK
,
Constant Field Valuespublic static final int RADIO_VALUE
If the meaning of 'RADIO' literal object isn't clear, there really should be more of a description here...
RADIO
,
Constant Field Valuespublic static final int BUTTON_VALUE
If the meaning of 'BUTTON' literal object isn't clear, there really should be more of a description here...
BUTTON
,
Constant Field Valuespublic static final List<ProfileSwitcherType> VALUES
public static ProfileSwitcherType[] values()
for (ProfileSwitcherType c : ProfileSwitcherType.values()) System.out.println(c);
public static ProfileSwitcherType 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 ProfileSwitcherType get(String literal)
public static ProfileSwitcherType getByName(String name)
public static ProfileSwitcherType 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<ProfileSwitcherType>