edu.ksu.cis.cadena.core.specification.property
Class CollectionKind

java.lang.Object
  extended by AbstractEnumerator
      extended by edu.ksu.cis.cadena.core.specification.property.CollectionKind

public final class CollectionKind
extends AbstractEnumerator

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

See Also:
PropertyPackage.getCollectionKind()

Field Summary
static int BAG
          The 'BAG' literal value.
static CollectionKind BAG_LITERAL
          The 'BAG' literal object.
static int SEQUENCE
          The 'SEQUENCE' literal value.
static CollectionKind SEQUENCE_LITERAL
          The 'SEQUENCE' literal object.
static int SET
          The 'SET' literal value.
static CollectionKind SET_LITERAL
          The 'SET' literal object.
static java.util.List VALUES
          A public read-only list of all the 'Collection Kind' enumerators.
 
Method Summary
static CollectionKind get(int value)
          Returns the 'Collection Kind' literal with the specified value.
static CollectionKind get(java.lang.String name)
          Returns the 'Collection Kind' literal with the specified name.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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

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

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

BAG_LITERAL

public static final CollectionKind BAG_LITERAL
The 'BAG' literal object.

See Also:
BAG

SEQUENCE_LITERAL

public static final CollectionKind SEQUENCE_LITERAL
The 'SEQUENCE' literal object.

See Also:
SEQUENCE

SET_LITERAL

public static final CollectionKind SET_LITERAL
The 'SET' literal object.

See Also:
SET

VALUES

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

Method Detail

get

public static CollectionKind get(java.lang.String name)
Returns the 'Collection Kind' literal with the specified name.


get

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