java.lang.Objectjava.lang.Enum<CollectionTemplateKind>
org.eclipse.gmt.umlx.eqvttemplate.CollectionTemplateKind
public enum CollectionTemplateKind
A representation of the literals of the enumeration 'Collection Template Kind', and utility methods for working with them.
EqvtTemplatePackage.getCollectionTemplateKind()
Enum Constant Summary | |
---|---|
COMPREHENSION
The 'Comprehension' literal object. |
|
ENUMERATION
The 'Enumeration' literal object. |
|
MEMBER_SELECTION
The 'Member Selection' literal object. |
Field Summary | |
---|---|
static int |
COMPREHENSION_VALUE
The 'Comprehension' literal value. |
static java.lang.String |
copyright
|
static int |
ENUMERATION_VALUE
The 'Enumeration' literal value. |
static int |
MEMBER_SELECTION_VALUE
The 'Member Selection' literal value. |
static java.util.List<CollectionTemplateKind> |
VALUES
A public read-only list of all the 'Collection Template Kind' enumerators. |
Method Summary | |
---|---|
static CollectionTemplateKind |
get(int value)
Returns the 'Collection Template Kind' literal with the specified integer value. |
static CollectionTemplateKind |
get(java.lang.String literal)
Returns the 'Collection Template Kind' literal with the specified literal value. |
static CollectionTemplateKind |
getByName(java.lang.String name)
Returns the 'Collection Template Kind' 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 CollectionTemplateKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static CollectionTemplateKind[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final CollectionTemplateKind ENUMERATION
ENUMERATION_VALUE
public static final CollectionTemplateKind COMPREHENSION
COMPREHENSION_VALUE
public static final CollectionTemplateKind MEMBER_SELECTION
MEMBER_SELECTION_VALUE
Field Detail |
---|
public static final java.lang.String copyright
public static final int ENUMERATION_VALUE
If the meaning of 'Enumeration' literal object isn't clear, there really should be more of a description here...
ENUMERATION
,
Constant Field Valuespublic static final int COMPREHENSION_VALUE
If the meaning of 'Comprehension' literal object isn't clear, there really should be more of a description here...
COMPREHENSION
,
Constant Field Valuespublic static final int MEMBER_SELECTION_VALUE
If the meaning of 'Member Selection' literal object isn't clear, there really should be more of a description here...
MEMBER_SELECTION
,
Constant Field Valuespublic static final java.util.List<CollectionTemplateKind> VALUES
Method Detail |
---|
public static CollectionTemplateKind[] values()
for (CollectionTemplateKind c : CollectionTemplateKind.values()) System.out.println(c);
public static CollectionTemplateKind 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 name
java.lang.NullPointerException
- if the argument is nullpublic static CollectionTemplateKind get(java.lang.String literal)
public static CollectionTemplateKind getByName(java.lang.String name)
public static CollectionTemplateKind get(int value)
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<CollectionTemplateKind>