public enum SimpleTypeEnum extends Enum<SimpleTypeEnum>
CSTPackage.getSimpleTypeEnum()
Enum Constant and Description |
---|
BOOLEAN_LITERAL
The 'Boolean' literal object.
|
IDENTIFIER_LITERAL
The 'Identifier' literal object.
|
INTEGER_LITERAL
The 'Integer' literal object.
|
KEYWORD_LITERAL
The 'Keyword' literal object.
|
OCL_ANY_LITERAL
The 'Ocl Any' literal object.
|
OCL_INVALID_LITERAL
The 'Ocl Invalid' literal object.
|
OCL_MESSAGE_LITERAL
The 'Ocl Message' literal object.
|
OCL_VOID_LITERAL
The 'Ocl Void' literal object.
|
REAL_LITERAL
The 'Real' literal object.
|
SELF_LITERAL
The 'Self' literal object.
|
STRING_LITERAL
The 'String' literal object.
|
UNLIMITED_NATURAL_LITERAL
The 'Unlimited Natural' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
BOOLEAN
The 'Boolean' literal value.
|
static int |
IDENTIFIER
The 'Identifier' literal value.
|
static int |
INTEGER
The 'Integer' literal value.
|
static int |
KEYWORD
The 'Keyword' literal value.
|
static int |
OCL_ANY
The 'Ocl Any' literal value.
|
static int |
OCL_INVALID
The 'Ocl Invalid' literal value.
|
static int |
OCL_MESSAGE
The 'Ocl Message' literal value.
|
static int |
OCL_VOID
The 'Ocl Void' literal value.
|
static int |
REAL
The 'Real' literal value.
|
static int |
SELF
The 'Self' literal value.
|
static int |
STRING
The 'String' literal value.
|
static int |
UNLIMITED_NATURAL
The 'Unlimited Natural' literal value.
|
static List<SimpleTypeEnum> |
VALUES
A public read-only list of all the 'Simple Type Enum' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static SimpleTypeEnum |
get(int value)
Returns the 'Simple Type Enum' literal with the specified integer value.
|
static SimpleTypeEnum |
get(String literal)
Returns the 'Simple Type Enum' literal with the specified literal value.
|
static SimpleTypeEnum |
getByName(String name)
Returns the 'Simple Type 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 SimpleTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SimpleTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimpleTypeEnum IDENTIFIER_LITERAL
IDENTIFIER
public static final SimpleTypeEnum SELF_LITERAL
SELF
public static final SimpleTypeEnum INTEGER_LITERAL
INTEGER
public static final SimpleTypeEnum STRING_LITERAL
STRING
public static final SimpleTypeEnum REAL_LITERAL
REAL
public static final SimpleTypeEnum BOOLEAN_LITERAL
BOOLEAN
public static final SimpleTypeEnum OCL_ANY_LITERAL
OCL_ANY
public static final SimpleTypeEnum OCL_VOID_LITERAL
OCL_VOID
public static final SimpleTypeEnum OCL_INVALID_LITERAL
OCL_INVALID
public static final SimpleTypeEnum OCL_MESSAGE_LITERAL
OCL_MESSAGE
public static final SimpleTypeEnum KEYWORD_LITERAL
KEYWORD
public static final SimpleTypeEnum UNLIMITED_NATURAL_LITERAL
UNLIMITED_NATURAL
public static final int IDENTIFIER
If the meaning of 'Identifier' literal object isn't clear, there really should be more of a description here...
IDENTIFIER_LITERAL
,
Constant Field Valuespublic static final int SELF
If the meaning of 'Self' literal object isn't clear, there really should be more of a description here...
SELF_LITERAL
,
Constant Field Valuespublic static final int INTEGER
If the meaning of 'Integer' literal object isn't clear, there really should be more of a description here...
INTEGER_LITERAL
,
Constant Field Valuespublic static final int STRING
If the meaning of 'String' literal object isn't clear, there really should be more of a description here...
STRING_LITERAL
,
Constant Field Valuespublic static final int REAL
If the meaning of 'Real' literal object isn't clear, there really should be more of a description here...
REAL_LITERAL
,
Constant Field Valuespublic static final int BOOLEAN
If the meaning of 'Boolean' literal object isn't clear, there really should be more of a description here...
BOOLEAN_LITERAL
,
Constant Field Valuespublic static final int OCL_ANY
If the meaning of 'Ocl Any' literal object isn't clear, there really should be more of a description here...
OCL_ANY_LITERAL
,
Constant Field Valuespublic static final int OCL_VOID
If the meaning of 'Ocl Void' literal object isn't clear, there really should be more of a description here...
OCL_VOID_LITERAL
,
Constant Field Valuespublic static final int OCL_INVALID
If the meaning of 'Ocl Invalid' literal object isn't clear, there really should be more of a description here...
OCL_INVALID_LITERAL
,
Constant Field Valuespublic static final int OCL_MESSAGE
If the meaning of 'Ocl Message' literal object isn't clear, there really should be more of a description here...
OCL_MESSAGE_LITERAL
,
Constant Field Valuespublic static final int KEYWORD
If the meaning of 'Keyword' literal object isn't clear, there really should be more of a description here...
KEYWORD_LITERAL
,
Constant Field Valuespublic static final int UNLIMITED_NATURAL
If the meaning of 'Unlimited Natural' literal object isn't clear, there really should be more of a description here...
UNLIMITED_NATURAL_LITERAL
,
Constant Field Valuespublic static final List<SimpleTypeEnum> VALUES
public static SimpleTypeEnum[] values()
for (SimpleTypeEnum c : SimpleTypeEnum.values()) System.out.println(c);
public static SimpleTypeEnum 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 SimpleTypeEnum get(String literal)
literal
- the literal.null
.public static SimpleTypeEnum getByName(String name)
name
- the name.null
.public static SimpleTypeEnum get(int value)
value
- the integer value.null
.public int getValue()
public String getName()
public String getLiteral()
public String toString()
toString
in class Enum<SimpleTypeEnum>
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.