public enum SemanticTargetType extends Enum<SemanticTargetType> implements org.eclipse.emf.common.util.Enumerator
SofiaPackage.getSemanticTargetType()| Enum Constant and Description |
|---|
ASK_QUERY
The 'ASK QUERY' literal object.
|
POST_COMMAND
The 'POST COMMAND' literal object.
|
SELECT_QUERY
The 'SELECT QUERY' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ASK_QUERY_VALUE
The 'ASK QUERY' literal value.
|
static int |
POST_COMMAND_VALUE
The 'POST COMMAND' literal value.
|
static int |
SELECT_QUERY_VALUE
The 'SELECT QUERY' literal value.
|
static List<SemanticTargetType> |
VALUES
A public read-only list of all the 'Semantic Target Type' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static SemanticTargetType |
get(int value)
Returns the 'Semantic Target Type' literal with the specified integer value.
|
static SemanticTargetType |
get(String literal)
Returns the 'Semantic Target Type' literal with the specified literal value.
|
static SemanticTargetType |
getByName(String name)
Returns the 'Semantic Target 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 SemanticTargetType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SemanticTargetType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SemanticTargetType ASK_QUERY
ASK_QUERY_VALUEpublic static final SemanticTargetType SELECT_QUERY
SELECT_QUERY_VALUEpublic static final SemanticTargetType POST_COMMAND
POST_COMMAND_VALUEpublic static final int ASK_QUERY_VALUE
If the meaning of 'ASK QUERY' literal object isn't clear, there really should be more of a description here...
ASK_QUERY,
Constant Field Valuespublic static final int SELECT_QUERY_VALUE
If the meaning of 'SELECT QUERY' literal object isn't clear, there really should be more of a description here...
SELECT_QUERY,
Constant Field Valuespublic static final int POST_COMMAND_VALUE
If the meaning of 'POST COMMAND' literal object isn't clear, there really should be more of a description here...
POST_COMMAND,
Constant Field Valuespublic static final List<SemanticTargetType> VALUES
public static SemanticTargetType[] values()
for (SemanticTargetType c : SemanticTargetType.values()) System.out.println(c);
public static SemanticTargetType 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 SemanticTargetType get(String literal)
literal - the literal.null.public static SemanticTargetType getByName(String name)
name - the name.null.public static SemanticTargetType get(int value)
value - the integer value.null.public int getValue()
getValue in interface org.eclipse.emf.common.util.Enumeratorpublic String getName()
getName in interface org.eclipse.emf.common.util.Enumeratorpublic String getLiteral()
getLiteral in interface org.eclipse.emf.common.util.Enumeratorpublic String toString()
toString in class Enum<SemanticTargetType>Copyright © 2018. All rights reserved.