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

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

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

A representation of the block size unit in a BLOCK CONTAINS clause in a file description entry. This includes the literals of the enumeration 'Block Size Unit', and utility methods for working with them.

See Also:
COBOLPackage.getBlockSizeUnit(), Serialized Form

Field Summary
static int BSU_CHARACTERS
          The 'BSU CHARACTERS' literal value.
static BlockSizeUnit BSU_CHARACTERS_LITERAL
          The 'BSU CHARACTERS' literal object.
static int BSU_RECORDS
          The 'BSU RECORDS' literal value.
static BlockSizeUnit BSU_RECORDS_LITERAL
          The 'BSU RECORDS' literal object.
static java.lang.String copyright
           
static java.util.List VALUES
          A public read-only list of all the 'Block Size Unit' enumerators.
 
Method Summary
static BlockSizeUnit get(int value)
          Returns the 'Block Size Unit' literal with the specified integer value.
static BlockSizeUnit get(java.lang.String literal)
          Returns the 'Block Size Unit' literal with the specified literal value.
static BlockSizeUnit getByName(java.lang.String name)
          Returns the 'Block Size Unit' 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

BSU_CHARACTERS

public static final int BSU_CHARACTERS
The 'BSU CHARACTERS' literal value.

A representation of CHARACTERS.

See Also:
BSU_CHARACTERS_LITERAL, Constant Field Values

BSU_RECORDS

public static final int BSU_RECORDS
The 'BSU RECORDS' literal value.

A representation of RECORDS.

See Also:
BSU_RECORDS_LITERAL, Constant Field Values

BSU_CHARACTERS_LITERAL

public static final BlockSizeUnit BSU_CHARACTERS_LITERAL
The 'BSU CHARACTERS' literal object.

See Also:
BSU_CHARACTERS

BSU_RECORDS_LITERAL

public static final BlockSizeUnit BSU_RECORDS_LITERAL
The 'BSU RECORDS' literal object.

See Also:
BSU_RECORDS

VALUES

public static final java.util.List VALUES
A public read-only list of all the 'Block Size Unit' enumerators.

Method Detail

get

public static BlockSizeUnit get(java.lang.String literal)
Returns the 'Block Size Unit' literal with the specified literal value.


getByName

public static BlockSizeUnit getByName(java.lang.String name)
Returns the 'Block Size Unit' literal with the specified name.


get

public static BlockSizeUnit get(int value)
Returns the 'Block Size Unit' literal with the specified integer value.