public enum ExternalLinkDirectionKind extends Enum<ExternalLinkDirectionKind> implements org.eclipse.emf.common.util.Enumerator
Enum Constant and Description |
---|
INWARD_LITERAL
The 'Inward' literal object.
|
OUTWARD_LITERAL
The 'Outward' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
INWARD
The 'Inward' literal value.
|
static int |
OUTWARD
The 'Outward' literal value.
|
static List<ExternalLinkDirectionKind> |
VALUES
A public read-only list of all the 'External Link Direction Kind' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static ExternalLinkDirectionKind |
get(int value)
Returns the 'External Link Direction Kind' literal with the specified integer value.
|
static ExternalLinkDirectionKind |
get(String literal)
Returns the 'External Link Direction Kind' literal with the specified literal value.
|
static ExternalLinkDirectionKind |
getByName(String name)
Returns the 'External Link Direction 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 ExternalLinkDirectionKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExternalLinkDirectionKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExternalLinkDirectionKind INWARD_LITERAL
INWARD
public static final ExternalLinkDirectionKind OUTWARD_LITERAL
OUTWARD
public static final int INWARD
INWARD_LITERAL
,
Constant Field Valuespublic static final int OUTWARD
OUTWARD_LITERAL
,
Constant Field Valuespublic static final List<ExternalLinkDirectionKind> VALUES
public static ExternalLinkDirectionKind[] values()
for (ExternalLinkDirectionKind c : ExternalLinkDirectionKind.values()) System.out.println(c);
public static ExternalLinkDirectionKind 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 ExternalLinkDirectionKind get(String literal)
literal
- the literal.null
.public static ExternalLinkDirectionKind getByName(String name)
name
- the name.null
.public static ExternalLinkDirectionKind 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<ExternalLinkDirectionKind>