org.eclipse.gmt.umlx.qvttemplate
Enum CollectionTemplateKind

java.lang.Object
  extended by java.lang.Enum<CollectionTemplateKind>
      extended by org.eclipse.gmt.umlx.qvttemplate.CollectionTemplateKind
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CollectionTemplateKind>, org.eclipse.emf.common.util.Enumerator

public enum CollectionTemplateKind
extends java.lang.Enum<CollectionTemplateKind>
implements org.eclipse.emf.common.util.Enumerator

A representation of the literals of the enumeration 'Collection Template Kind', and utility methods for working with them.

See Also:
QvttemplatePackage.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 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

ENUMERATION

public static final CollectionTemplateKind ENUMERATION
The 'Enumeration' literal object.

See Also:
ENUMERATION_VALUE

COMPREHENSION

public static final CollectionTemplateKind COMPREHENSION
The 'Comprehension' literal object.

See Also:
COMPREHENSION_VALUE

MEMBER_SELECTION

public static final CollectionTemplateKind MEMBER_SELECTION
The 'Member Selection' literal object.

See Also:
MEMBER_SELECTION_VALUE
Field Detail

ENUMERATION_VALUE

public static final int ENUMERATION_VALUE
The 'Enumeration' literal value.

If the meaning of 'Enumeration' literal object isn't clear, there really should be more of a description here...

See Also:
ENUMERATION, Constant Field Values

COMPREHENSION_VALUE

public static final int COMPREHENSION_VALUE
The 'Comprehension' literal value.

If the meaning of 'Comprehension' literal object isn't clear, there really should be more of a description here...

See Also:
COMPREHENSION, Constant Field Values

MEMBER_SELECTION_VALUE

public static final int MEMBER_SELECTION_VALUE
The 'Member Selection' literal value.

If the meaning of 'Member Selection' literal object isn't clear, there really should be more of a description here...

See Also:
MEMBER_SELECTION, Constant Field Values

VALUES

public static final java.util.List<CollectionTemplateKind> VALUES
A public read-only list of all the 'Collection Template Kind' enumerators.

Method Detail

values

public static CollectionTemplateKind[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (CollectionTemplateKind c : CollectionTemplateKind.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CollectionTemplateKind valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

get

public static CollectionTemplateKind get(java.lang.String literal)
Returns the 'Collection Template Kind' literal with the specified literal value.


getByName

public static CollectionTemplateKind getByName(java.lang.String name)
Returns the 'Collection Template Kind' literal with the specified name.


get

public static CollectionTemplateKind get(int value)
Returns the 'Collection Template Kind' literal with the specified integer value.


getValue

public int getValue()

Specified by:
getValue in interface org.eclipse.emf.common.util.Enumerator

getName

public java.lang.String getName()

Specified by:
getName in interface org.eclipse.emf.common.util.Enumerator

getLiteral

public java.lang.String getLiteral()

Specified by:
getLiteral in interface org.eclipse.emf.common.util.Enumerator

toString

public java.lang.String toString()
Returns the literal value of the enumerator, which is its string representation.

Overrides:
toString in class java.lang.Enum<CollectionTemplateKind>