|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SimpleTypeEnum>
org.eclipse.ocl.cst.SimpleTypeEnum
public enum SimpleTypeEnum
A representation of the literals of the enumeration 'Simple Type Enum', and utility methods for working with them.
CSTPackage.getSimpleTypeEnum()
Enum Constant Summary | |
---|---|
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 |
Field Summary | |
---|---|
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 java.util.List<SimpleTypeEnum> |
VALUES
A public read-only list of all the 'Simple Type Enum' enumerators |
Method Summary | |
---|---|
static SimpleTypeEnum |
get(int value)
Returns the 'Simple Type Enum' literal with the specified integer value |
static SimpleTypeEnum |
get(java.lang.String literal)
Returns the 'Simple Type Enum' literal with the specified literal value |
static SimpleTypeEnum |
getByName(java.lang.String name)
Returns the 'Simple Type Enum' literal with the specified name |
java.lang.String |
getLiteral()
|
java.lang.String |
getName()
|
int |
getValue()
|
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation |
static SimpleTypeEnum |
valueOf(java.lang.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're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Field Detail |
---|
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 java.util.List<SimpleTypeEnum> VALUES
Method Detail |
---|
public static final SimpleTypeEnum[] values()
for(SimpleTypeEnum c : SimpleTypeEnum.values()) System.out.println(c);
public static SimpleTypeEnum valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic static SimpleTypeEnum get(java.lang.String literal)
public static SimpleTypeEnum getByName(java.lang.String name)
public static SimpleTypeEnum get(int value)
public int getValue()
public java.lang.String getName()
public java.lang.String getLiteral()
public java.lang.String toString()
toString
in class java.lang.Enum<SimpleTypeEnum>
|
Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |