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