|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DotOrArrowEnum>
org.eclipse.ocl.cst.DotOrArrowEnum
public enum DotOrArrowEnum
A representation of the literals of the enumeration 'Dot Or Arrow Enum', and utility methods for working with them.
CSTPackage.getDotOrArrowEnum()
Enum Constant Summary | |
---|---|
ARROW_LITERAL
The 'Arrow' literal object |
|
DOT_LITERAL
The 'Dot' literal object |
|
NONE_LITERAL
The 'None' literal object |
Field Summary | |
---|---|
static int |
ARROW
The 'Arrow' literal value |
static int |
DOT
The 'Dot' literal value |
static int |
NONE
The 'None' literal value |
static java.util.List<DotOrArrowEnum> |
VALUES
A public read-only list of all the 'Dot Or Arrow Enum' enumerators |
Method Summary | |
---|---|
static DotOrArrowEnum |
get(int value)
Returns the 'Dot Or Arrow Enum' literal with the specified integer value |
static DotOrArrowEnum |
get(java.lang.String literal)
Returns the 'Dot Or Arrow Enum' literal with the specified literal value |
static DotOrArrowEnum |
getByName(java.lang.String name)
Returns the 'Dot Or Arrow 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 DotOrArrowEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DotOrArrowEnum[] |
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 DotOrArrowEnum NONE_LITERAL
NONE
public static final DotOrArrowEnum DOT_LITERAL
DOT
public static final DotOrArrowEnum ARROW_LITERAL
ARROW
Field Detail |
---|
public static final int NONE
If the meaning of 'None' literal object isn't clear, there really should be more of a description here...
NONE_LITERAL
,
Constant Field Valuespublic static final int DOT
If the meaning of 'Dot' literal object isn't clear, there really should be more of a description here...
DOT_LITERAL
,
Constant Field Valuespublic static final int ARROW
If the meaning of 'Arrow' literal object isn't clear, there really should be more of a description here...
ARROW_LITERAL
,
Constant Field Valuespublic static final java.util.List<DotOrArrowEnum> VALUES
Method Detail |
---|
public static final DotOrArrowEnum[] values()
for(DotOrArrowEnum c : DotOrArrowEnum.values()) System.out.println(c);
public static DotOrArrowEnum 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 DotOrArrowEnum get(java.lang.String literal)
public static DotOrArrowEnum getByName(java.lang.String name)
public static DotOrArrowEnum 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<DotOrArrowEnum>
|
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 |