com.ibm.etools.cobol.application.model.cobol
Class DataCategory

java.lang.Object
  extended by org.eclipse.emf.common.util.AbstractEnumerator
      extended by com.ibm.etools.cobol.application.model.cobol.DataCategory
All Implemented Interfaces:
java.io.Serializable, org.eclipse.emf.common.util.Enumerator

public final class DataCategory
extends org.eclipse.emf.common.util.AbstractEnumerator

A representation of the data categories that can be specified in the REPLACING clause of an INITIALIZE statement. This includes a representation of the literals of the enumeration 'Data Category', and utility methods for working with them.

See Also:
COBOLPackage.getDataCategory(), Serialized Form

Field Summary
static java.lang.String copyright
           
static int DC_ALPHABETIC
          The 'DC ALPHABETIC' literal value.
static DataCategory DC_ALPHABETIC_LITERAL
          The 'DC ALPHABETIC' literal object.
static int DC_ALPHANUMERIC
          The 'DC ALPHANUMERIC' literal value.
static int DC_ALPHANUMERIC_EDITED
          The 'DC ALPHANUMERIC EDITED' literal value.
static DataCategory DC_ALPHANUMERIC_EDITED_LITERAL
          The 'DC ALPHANUMERIC EDITED' literal object.
static DataCategory DC_ALPHANUMERIC_LITERAL
          The 'DC ALPHANUMERIC' literal object.
static int DC_DBCS
          The 'DC DBCS' literal value.
static DataCategory DC_DBCS_LITERAL
          The 'DC DBCS' literal object.
static int DC_EGCS
          The 'DC EGCS' literal value.
static DataCategory DC_EGCS_LITERAL
          The 'DC EGCS' literal object.
static int DC_NUMERIC
          The 'DC NUMERIC' literal value.
static int DC_NUMERIC_EDITED
          The 'DC NUMERIC EDITED' literal value.
static DataCategory DC_NUMERIC_EDITED_LITERAL
          The 'DC NUMERIC EDITED' literal object.
static DataCategory DC_NUMERIC_LITERAL
          The 'DC NUMERIC' literal object.
static java.util.List VALUES
          A public read-only list of all the 'Data Category' enumerators.
 
Method Summary
static DataCategory get(int value)
          Returns the 'Data Category' literal with the specified integer value.
static DataCategory get(java.lang.String literal)
          Returns the 'Data Category' literal with the specified literal value.
static DataCategory getByName(java.lang.String name)
          Returns the 'Data Category' literal with the specified name.
 
Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator
getLiteral, getName, getValue, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

copyright

public static final java.lang.String copyright

See Also:
Constant Field Values

DC_ALPHABETIC

public static final int DC_ALPHABETIC
The 'DC ALPHABETIC' literal value.

Representation of ALPHABETIC

See Also:
DC_ALPHABETIC_LITERAL, Constant Field Values

DC_ALPHANUMERIC

public static final int DC_ALPHANUMERIC
The 'DC ALPHANUMERIC' literal value.

Representation of ALPHANUMERIC

See Also:
DC_ALPHANUMERIC_LITERAL, Constant Field Values

DC_NUMERIC

public static final int DC_NUMERIC
The 'DC NUMERIC' literal value.

Representation of NUMERIC

See Also:
DC_NUMERIC_LITERAL, Constant Field Values

DC_ALPHANUMERIC_EDITED

public static final int DC_ALPHANUMERIC_EDITED
The 'DC ALPHANUMERIC EDITED' literal value.

Representation of ALPHANUMERIC-EDITED

See Also:
DC_ALPHANUMERIC_EDITED_LITERAL, Constant Field Values

DC_NUMERIC_EDITED

public static final int DC_NUMERIC_EDITED
The 'DC NUMERIC EDITED' literal value.

Representation of NUMERIC-EDITED

See Also:
DC_NUMERIC_EDITED_LITERAL, Constant Field Values

DC_DBCS

public static final int DC_DBCS
The 'DC DBCS' literal value.

Representation of DBCS

See Also:
DC_DBCS_LITERAL, Constant Field Values

DC_EGCS

public static final int DC_EGCS
The 'DC EGCS' literal value.

Representation of EGCS

See Also:
DC_EGCS_LITERAL, Constant Field Values

DC_ALPHABETIC_LITERAL

public static final DataCategory DC_ALPHABETIC_LITERAL
The 'DC ALPHABETIC' literal object.

See Also:
DC_ALPHABETIC

DC_ALPHANUMERIC_LITERAL

public static final DataCategory DC_ALPHANUMERIC_LITERAL
The 'DC ALPHANUMERIC' literal object.

See Also:
DC_ALPHANUMERIC

DC_NUMERIC_LITERAL

public static final DataCategory DC_NUMERIC_LITERAL
The 'DC NUMERIC' literal object.

See Also:
DC_NUMERIC

DC_ALPHANUMERIC_EDITED_LITERAL

public static final DataCategory DC_ALPHANUMERIC_EDITED_LITERAL
The 'DC ALPHANUMERIC EDITED' literal object.

See Also:
DC_ALPHANUMERIC_EDITED

DC_NUMERIC_EDITED_LITERAL

public static final DataCategory DC_NUMERIC_EDITED_LITERAL
The 'DC NUMERIC EDITED' literal object.

See Also:
DC_NUMERIC_EDITED

DC_DBCS_LITERAL

public static final DataCategory DC_DBCS_LITERAL
The 'DC DBCS' literal object.

See Also:
DC_DBCS

DC_EGCS_LITERAL

public static final DataCategory DC_EGCS_LITERAL
The 'DC EGCS' literal object.

See Also:
DC_EGCS

VALUES

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

Method Detail

get

public static DataCategory get(java.lang.String literal)
Returns the 'Data Category' literal with the specified literal value.


getByName

public static DataCategory getByName(java.lang.String name)
Returns the 'Data Category' literal with the specified name.


get

public static DataCategory get(int value)
Returns the 'Data Category' literal with the specified integer value.