|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<CollectionTypeIdentifierEnum>
org.eclipse.ocl.cst.CollectionTypeIdentifierEnum
public enum CollectionTypeIdentifierEnum
A representation of the literals of the enumeration 'Collection Type Identifier Enum', and utility methods for working with them.
CSTPackage.getCollectionTypeIdentifierEnum()
Enum Constant Summary | |
---|---|
BAG_LITERAL
The 'Bag' literal object |
|
COLLECTION_LITERAL
The 'Collection' literal object |
|
ORDERED_SET_LITERAL
The 'Ordered Set' literal object |
|
SEQUENCE_LITERAL
The 'Sequence' literal object |
|
SET_LITERAL
The 'Set' literal object |
Field Summary | |
---|---|
static int |
BAG
The 'Bag' literal value |
static int |
COLLECTION
The 'Collection' literal value |
static int |
ORDERED_SET
The 'Ordered Set' literal value |
static int |
SEQUENCE
The 'Sequence' literal value |
static int |
SET
The 'Set' literal value |
static java.util.List<CollectionTypeIdentifierEnum> |
VALUES
A public read-only list of all the 'Collection Type Identifier Enum' enumerators |
Method Summary | |
---|---|
static CollectionTypeIdentifierEnum |
get(int value)
Returns the 'Collection Type Identifier Enum' literal with the specified integer value |
static CollectionTypeIdentifierEnum |
get(java.lang.String literal)
Returns the 'Collection Type Identifier Enum' literal with the specified literal value |
static CollectionTypeIdentifierEnum |
getByName(java.lang.String name)
Returns the 'Collection Type Identifier 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 CollectionTypeIdentifierEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static CollectionTypeIdentifierEnum[] |
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 CollectionTypeIdentifierEnum SET_LITERAL
SET
public static final CollectionTypeIdentifierEnum BAG_LITERAL
BAG
public static final CollectionTypeIdentifierEnum SEQUENCE_LITERAL
SEQUENCE
public static final CollectionTypeIdentifierEnum COLLECTION_LITERAL
COLLECTION
public static final CollectionTypeIdentifierEnum ORDERED_SET_LITERAL
ORDERED_SET
Field Detail |
---|
public static final int SET
If the meaning of 'Set' literal object isn't clear, there really should be more of a description here...
SET_LITERAL
,
Constant Field Valuespublic static final int BAG
If the meaning of 'Bag' literal object isn't clear, there really should be more of a description here...
BAG_LITERAL
,
Constant Field Valuespublic static final int SEQUENCE
If the meaning of 'Sequence' literal object isn't clear, there really should be more of a description here...
SEQUENCE_LITERAL
,
Constant Field Valuespublic static final int COLLECTION
If the meaning of 'Collection' literal object isn't clear, there really should be more of a description here...
COLLECTION_LITERAL
,
Constant Field Valuespublic static final int ORDERED_SET
If the meaning of 'Ordered Set' literal object isn't clear, there really should be more of a description here...
ORDERED_SET_LITERAL
,
Constant Field Valuespublic static final java.util.List<CollectionTypeIdentifierEnum> VALUES
Method Detail |
---|
public static final CollectionTypeIdentifierEnum[] values()
for(CollectionTypeIdentifierEnum c : CollectionTypeIdentifierEnum.values()) System.out.println(c);
public static CollectionTypeIdentifierEnum 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 CollectionTypeIdentifierEnum get(java.lang.String literal)
public static CollectionTypeIdentifierEnum getByName(java.lang.String name)
public static CollectionTypeIdentifierEnum 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<CollectionTypeIdentifierEnum>
|
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 |