public enum DotOrArrowEnum extends Enum<DotOrArrowEnum>
CSTPackage.getDotOrArrowEnum()
Enum Constant and Description |
---|
ARROW_LITERAL
The 'Arrow' literal object.
|
DOT_LITERAL
The 'Dot' literal object.
|
NONE_LITERAL
The 'None' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
ARROW
The 'Arrow' literal value.
|
static int |
DOT
The 'Dot' literal value.
|
static int |
NONE
The 'None' literal value.
|
static List<DotOrArrowEnum> |
VALUES
A public read-only list of all the 'Dot Or Arrow Enum' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static DotOrArrowEnum |
get(int value)
Returns the 'Dot Or Arrow Enum' literal with the specified integer value.
|
static DotOrArrowEnum |
get(String literal)
Returns the 'Dot Or Arrow Enum' literal with the specified literal value.
|
static DotOrArrowEnum |
getByName(String name)
Returns the 'Dot Or Arrow Enum' 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 DotOrArrowEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DotOrArrowEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DotOrArrowEnum NONE_LITERAL
NONE
public static final DotOrArrowEnum DOT_LITERAL
DOT
public static final DotOrArrowEnum ARROW_LITERAL
ARROW
public static final int NONE
If the meaning of 'None' literal object isn't clear, there really should be more of a description here...
NONE_LITERAL
,
Constant Field Valuespublic static final int DOT
If the meaning of 'Dot' literal object isn't clear, there really should be more of a description here...
DOT_LITERAL
,
Constant Field Valuespublic static final int ARROW
If the meaning of 'Arrow' literal object isn't clear, there really should be more of a description here...
ARROW_LITERAL
,
Constant Field Valuespublic static final List<DotOrArrowEnum> VALUES
public static DotOrArrowEnum[] values()
for (DotOrArrowEnum c : DotOrArrowEnum.values()) System.out.println(c);
public static DotOrArrowEnum 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 DotOrArrowEnum get(String literal)
literal
- the literal.null
.public static DotOrArrowEnum getByName(String name)
name
- the name.null
.public static DotOrArrowEnum get(int value)
value
- the integer value.null
.public int getValue()
public String getName()
public String getLiteral()
public String toString()
toString
in class Enum<DotOrArrowEnum>
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.