org.eclipse.ocl.cst
Enum CollectionTypeIdentifierEnum

java.lang.Object
  extended by java.lang.Enum<CollectionTypeIdentifierEnum>
      extended by org.eclipse.ocl.cst.CollectionTypeIdentifierEnum
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CollectionTypeIdentifierEnum>, org.eclipse.emf.common.util.Enumerator

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

A representation of the literals of the enumeration 'Collection Type Identifier Enum', and utility methods for working with them.

See Also:
CSTPackage.getCollectionTypeIdentifierEnum()
Generated
Model

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 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

SET_LITERAL

public static final CollectionTypeIdentifierEnum SET_LITERAL
The 'Set' literal object.

See Also:
SET
Generated
Ordered

BAG_LITERAL

public static final CollectionTypeIdentifierEnum BAG_LITERAL
The 'Bag' literal object.

See Also:
BAG
Generated
Ordered

SEQUENCE_LITERAL

public static final CollectionTypeIdentifierEnum SEQUENCE_LITERAL
The 'Sequence' literal object.

See Also:
SEQUENCE
Generated
Ordered

COLLECTION_LITERAL

public static final CollectionTypeIdentifierEnum COLLECTION_LITERAL
The 'Collection' literal object.

See Also:
COLLECTION
Generated
Ordered

ORDERED_SET_LITERAL

public static final CollectionTypeIdentifierEnum ORDERED_SET_LITERAL
The 'Ordered Set' literal object.

See Also:
ORDERED_SET
Generated
Ordered
Field Detail

SET

public static final int SET
The 'Set' literal value.

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

See Also:
SET_LITERAL, Constant Field Values
Generated
Model
name="Set"
Ordered

BAG

public static final int BAG
The 'Bag' literal value.

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

See Also:
BAG_LITERAL, Constant Field Values
Generated
Model
name="Bag"
Ordered

SEQUENCE

public static final int SEQUENCE
The 'Sequence' literal value.

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

See Also:
SEQUENCE_LITERAL, Constant Field Values
Generated
Model
name="Sequence"
Ordered

COLLECTION

public static final int COLLECTION
The 'Collection' literal value.

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

See Also:
COLLECTION_LITERAL, Constant Field Values
Generated
Model
name="Collection"
Ordered

ORDERED_SET

public static final int ORDERED_SET
The 'Ordered Set' literal value.

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

See Also:
ORDERED_SET_LITERAL, Constant Field Values
Generated
Model
name="OrderedSet"
Ordered

VALUES

public static final java.util.List<CollectionTypeIdentifierEnum> VALUES
A public read-only list of all the 'Collection Type Identifier Enum' enumerators.

Generated
Method Detail

values

public static CollectionTypeIdentifierEnum[] 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 (CollectionTypeIdentifierEnum c : CollectionTypeIdentifierEnum.values())
    System.out.println(c);

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

valueOf

public static CollectionTypeIdentifierEnum 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 CollectionTypeIdentifierEnum get(java.lang.String literal)
Returns the 'Collection Type Identifier Enum' literal with the specified literal value.

Generated

getByName

public static CollectionTypeIdentifierEnum getByName(java.lang.String name)
Returns the 'Collection Type Identifier Enum' literal with the specified name.

Generated

get

public static CollectionTypeIdentifierEnum get(int value)
Returns the 'Collection Type Identifier Enum' literal with the specified integer value.

Generated

getValue

public int getValue()

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

getName

public java.lang.String getName()

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

getLiteral

public java.lang.String getLiteral()

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

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<CollectionTypeIdentifierEnum>
Generated