com.ibm.ftt.resources.zos.zosphysical
Class SpaceUnits

java.lang.Object
  extended by org.eclipse.emf.common.util.AbstractEnumerator
      extended by com.ibm.ftt.resources.zos.zosphysical.SpaceUnits
All Implemented Interfaces:
Serializable, org.eclipse.emf.common.util.Enumerator

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

An enumeration class representing the different space units for a z/OS data set.

Note: For future compatibility, do not depend on any EMF specific methods. Note: For future compatibility, do not depend on any EMF specific methods.

See Also:
DataSetCharacteristics.getSpaceUnits(), DataSetCharacteristics.setSpaceUnits(SpaceUnits), Serialized Form

Field Summary
static int BLOCKS
          The 'BLOCKS' literal value.
static SpaceUnits BLOCKS_LITERAL
          The 'BLOCKS' literal object.
static String COPY_RIGHT
           
static int CYLINDERS
          The 'CYLINDERS' literal value.
static SpaceUnits CYLINDERS_LITERAL
          The 'CYLINDERS' literal object.
static int TRACKS
          The 'TRACKS' literal value.
static SpaceUnits TRACKS_LITERAL
          The 'TRACKS' literal object.
 
Method Summary
static SpaceUnits get(int value)
          Returns the 'Space Units' literal with the specified value.
static SpaceUnits get(String name)
          Returns the 'Space Units' literal with the specified name.
 

Field Detail

COPY_RIGHT

public static final String COPY_RIGHT
See Also:
Constant Field Values

BLOCKS

public static final int BLOCKS
The 'BLOCKS' literal value.

See Also:
BLOCKS_LITERAL, Constant Field Values

TRACKS

public static final int TRACKS
The 'TRACKS' literal value.

See Also:
TRACKS_LITERAL, Constant Field Values

CYLINDERS

public static final int CYLINDERS
The 'CYLINDERS' literal value.

See Also:
CYLINDERS_LITERAL, Constant Field Values

BLOCKS_LITERAL

public static final SpaceUnits BLOCKS_LITERAL
The 'BLOCKS' literal object.

See Also:
BLOCKS

TRACKS_LITERAL

public static final SpaceUnits TRACKS_LITERAL
The 'TRACKS' literal object.

See Also:
TRACKS

CYLINDERS_LITERAL

public static final SpaceUnits CYLINDERS_LITERAL
The 'CYLINDERS' literal object.

See Also:
CYLINDERS
Method Detail

get

public static SpaceUnits get(String name)
Returns the 'Space Units' literal with the specified name.

Parameters:
name - the name of the space unit. It should be "BLOCKS", "TRACKS" or "CYLINDERS".
Returns:
the 'Space Units' literal with the specified name; or null if the specified name does not much any literal.

get

public static SpaceUnits get(int value)
Returns the 'Space Units' literal with the specified value.

Parameters:
value - one of the following integer values:
Returns:
the 'Space Units' literal with the specified value; or null if the specified value does not much any literal.