public enum JustificationKind extends Enum<JustificationKind> implements org.eclipse.emf.common.util.Enumerator
DoorsPackage.getJustificationKind()
Enum Constant and Description |
---|
CENTER_LITERAL
The 'Center' literal object.
|
FULL_LITERAL
The 'Full' literal object.
|
LEFT_LITERAL
The 'Left' literal object.
|
RIGHT_LITERAL
The 'Right' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
CENTER
The 'Center' literal value.
|
static int |
FULL
The 'Full' literal value.
|
static int |
LEFT
The 'Left' literal value.
|
static int |
RIGHT
The 'Right' literal value.
|
static List<JustificationKind> |
VALUES
A public read-only list of all the 'Justification Kind' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static JustificationKind |
get(int value)
Returns the 'Justification Kind' literal with the specified integer value.
|
static JustificationKind |
get(String literal)
Returns the 'Justification Kind' literal with the specified literal value.
|
static JustificationKind |
getByName(String name)
Returns the 'Justification Kind' 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 JustificationKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JustificationKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JustificationKind LEFT_LITERAL
LEFT
public static final JustificationKind RIGHT_LITERAL
RIGHT
public static final JustificationKind CENTER_LITERAL
CENTER
public static final JustificationKind FULL_LITERAL
FULL
public static final int LEFT
LEFT_LITERAL
,
Constant Field Valuespublic static final int RIGHT
RIGHT_LITERAL
,
Constant Field Valuespublic static final int CENTER
CENTER_LITERAL
,
Constant Field Valuespublic static final int FULL
FULL_LITERAL
,
Constant Field Valuespublic static final List<JustificationKind> VALUES
public static JustificationKind[] values()
for (JustificationKind c : JustificationKind.values()) System.out.println(c);
public static JustificationKind 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 JustificationKind get(String literal)
literal
- the literal.null
.public static JustificationKind getByName(String name)
name
- the name.null
.public static JustificationKind get(int value)
value
- the integer value.null
.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<JustificationKind>