public enum CollectionType extends java.lang.Enum<CollectionType> implements org.eclipse.emf.common.util.Enumerator
TacticdslPackage.getCollectionType()
Enum Constant and Description |
---|
BAG
The 'Bag' literal object.
|
COLLECTION
The 'Collection' literal object.
|
LIST
The 'List' literal object.
|
NONE
The 'None' literal object.
|
SET
The 'Set' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
BAG_VALUE
The 'Bag' literal value.
|
static int |
COLLECTION_VALUE
The 'Collection' literal value.
|
static int |
LIST_VALUE
The 'List' literal value.
|
static int |
NONE_VALUE
The 'None' literal value.
|
static int |
SET_VALUE
The 'Set' literal value.
|
static java.util.List<CollectionType> |
VALUES
A public read-only list of all the 'Collection Type' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static CollectionType |
get(int value)
Returns the 'Collection Type' literal with the specified integer value.
|
static CollectionType |
get(java.lang.String literal)
Returns the 'Collection Type' literal with the specified literal value.
|
static CollectionType |
getByName(java.lang.String name)
Returns the 'Collection Type' 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 CollectionType |
valueOf(java.lang.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.
|
public static final CollectionType NONE
NONE_VALUE
public static final CollectionType SET
SET_VALUE
public static final CollectionType LIST
LIST_VALUE
public static final CollectionType BAG
BAG_VALUE
public static final CollectionType COLLECTION
COLLECTION_VALUE
public static final int NONE_VALUE
If the meaning of 'None' literal object isn't clear, there really should be more of a description here...
NONE
,
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 BAG_VALUE
If the meaning of 'Bag' literal object isn't clear, there really should be more of a description here...
BAG
,
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 java.util.List<CollectionType> VALUES
public static CollectionType[] values()
for (CollectionType c : CollectionType.values()) System.out.println(c);
public static CollectionType 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 namejava.lang.NullPointerException
- if the argument is nullpublic static CollectionType get(java.lang.String literal)
literal
- the literal.null
.public static CollectionType getByName(java.lang.String name)
name
- the name.null
.public static CollectionType get(int value)
value
- the integer value.null
.public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String toString()
toString
in class java.lang.Enum<CollectionType>