|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<CollectionType>
org.openxma.dsl.dom.model.CollectionType
public enum CollectionType
A representation of the literals of the enumeration 'Collection Type', and utility methods for working with them.
org.openxma.dsl.dom.DomPackage#getCollectionType()| Enum Constant Summary | |
|---|---|
COLLECTION
The 'COLLECTION' literal object. |
|
LIST
The 'LIST' literal object. |
|
MAP
The 'MAP' literal object. |
|
NULL
The 'NULL' literal object. |
|
SET
The 'SET' literal object. |
|
| Field Summary | |
|---|---|
static int |
COLLECTION_VALUE
The 'COLLECTION' literal value. |
static int |
LIST_VALUE
The 'LIST' literal value. |
static int |
MAP_VALUE
The 'MAP' literal value. |
static int |
NULL_VALUE
The 'NULL' literal value. |
static int |
SET_VALUE
The 'SET' literal value. |
static List<CollectionType> |
VALUES
A public read-only list of all the 'Collection Type' enumerators. |
| Method Summary | |
|---|---|
static CollectionType |
get(int value)
Returns the 'Collection Type' literal with the specified integer value. |
static CollectionType |
get(String literal)
Returns the 'Collection Type' literal with the specified literal value. |
static CollectionType |
getByName(String name)
Returns the 'Collection 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 CollectionType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CollectionType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final CollectionType NULL
NULL_VALUEpublic static final CollectionType COLLECTION
COLLECTION_VALUEpublic static final CollectionType SET
SET_VALUEpublic static final CollectionType LIST
LIST_VALUEpublic static final CollectionType MAP
MAP_VALUE| Field Detail |
|---|
public static final int NULL_VALUE
If the meaning of 'NULL' literal object isn't clear, there really should be more of a description here...
NULL,
Constant Field Valuespublic static final int COLLECTION_VALUE
If the meaning of 'COLLECTION' literal object isn't clear, there really should be more of a description here...
COLLECTION,
Constant Field Valuespublic static final int SET_VALUE
If the meaning of 'SET' literal object isn't clear, there really should be more of a description here...
SET,
Constant Field Valuespublic static final int LIST_VALUE
If the meaning of 'LIST' literal object isn't clear, there really should be more of a description here...
LIST,
Constant Field Valuespublic static final int MAP_VALUE
If the meaning of 'MAP' literal object isn't clear, there really should be more of a description here...
MAP,
Constant Field Valuespublic static final List<CollectionType> VALUES
| Method Detail |
|---|
public static CollectionType[] values()
for (CollectionType c : CollectionType.values()) System.out.println(c);
public static CollectionType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static CollectionType get(String literal)
public static CollectionType getByName(String name)
public static CollectionType get(int value)
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<CollectionType>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||