public enum GroupType extends Enum<GroupType> implements org.eclipse.emf.common.util.Enumerator
VGroupPackage.getGroupType()
Enum Constant and Description |
---|
COLLAPSIBLE
The 'Collapsible' literal object.
|
EMBEDDED
The 'Embedded' literal object.
|
NORMAL
The 'Normal' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
COLLAPSIBLE_VALUE
The 'Collapsible' literal value.
|
static int |
EMBEDDED_VALUE
The 'Embedded' literal value.
|
static int |
NORMAL_VALUE
The 'Normal' literal value.
|
static List<GroupType> |
VALUES
A public read-only list of all the 'Type' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static GroupType |
get(int value)
Returns the 'Type' literal with the specified integer value.
|
static GroupType |
get(String literal)
Returns the 'Type' literal with the specified literal value.
|
static GroupType |
getByName(String name)
Returns the '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 GroupType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GroupType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GroupType NORMAL
NORMAL_VALUE
public static final GroupType EMBEDDED
EMBEDDED_VALUE
public static final GroupType COLLAPSIBLE
COLLAPSIBLE_VALUE
public static final int NORMAL_VALUE
If the meaning of 'Normal' literal object isn't clear, there really should be more of a description here...
NORMAL
,
Constant Field Valuespublic static final int EMBEDDED_VALUE
If the meaning of 'Embedded' literal object isn't clear, there really should be more of a description here...
EMBEDDED
,
Constant Field Valuespublic static final int COLLAPSIBLE_VALUE
If the meaning of 'Collapsible' literal object isn't clear, there really should be more of a description here...
COLLAPSIBLE
,
Constant Field Valuespublic static GroupType[] values()
for (GroupType c : GroupType.values()) System.out.println(c);
public static GroupType 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 GroupType get(String literal)
public static GroupType getByName(String name)
public static GroupType 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
Copyright © 2017. All rights reserved.