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

java.lang.Object
  extended by com.ibm.ftt.resources.zos.zosphysical.DataSetType

public final class DataSetType
extends Object

An enumeration class representing every type of z/OS data set.

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

See Also:
DataSetCharacteristics.getDSNType(), DataSetCharacteristics.setDSNType(DataSetType)

Field Summary
static String COPY_RIGHT
           
static int LIBRARY
          Constant for an extended partitioned data set.
static DataSetType LIBRARY_LITERAL
          Literal object for an extended partitioned data set.
static int PDS
          Constant for a partitioned data set.
static DataSetType PDSE_LITERAL
          The 'PDSE' literal object.
 
Method Summary
static DataSetType get(int value)
          Returns the 'Data Set Type' literal with the specified value.
static DataSetType get(String name)
          Returns the 'Data Set Type' literal with the specified name.
 String getLiteral()
          Returns the literal value of the enumerator.
 String getName()
          Returns the name of the enumerator.
 int getValue()
          Returns the value of the enumerator.
 String toString()
          Returns the literal value of the enumerator as a string representation of this object.
 

Field Detail

COPY_RIGHT

public static final String COPY_RIGHT
See Also:
Constant Field Values

PDS

public static final int PDS
Constant for a partitioned data set.

See Also:
PDS_LITERAL, Constant Field Values

LIBRARY

public static final int LIBRARY
Constant for an extended partitioned data set.

See Also:
LIBRARY_LITERAL, Constant Field Values

PDSE_LITERAL

public static final DataSetType PDSE_LITERAL
The 'PDSE' literal object.

See Also:
PDSE

LIBRARY_LITERAL

public static final DataSetType LIBRARY_LITERAL
Literal object for an extended partitioned data set.

See Also:
LIBRARY
Method Detail

get

public static DataSetType get(String name)
Returns the 'Data Set Type' literal with the specified name.

Parameters:
name - the name of the data set type.
Returns:
the 'Data Set Type' literal with the specified name; or null if the specified name does not much any literal.

get

public static DataSetType get(int value)
Returns the 'Data Set Type' literal with the specified value.

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

getName

public final String getName()
Returns the name of the enumerator.

Returns:
the name

getValue

public final int getValue()
Returns the value of the enumerator.

Returns:
the value

getLiteral

public final String getLiteral()
Returns the literal value of the enumerator.

Returns:
the literal

toString

public final String toString()
Returns the literal value of the enumerator as a string representation of this object.

Overrides:
toString in class Object
Returns:
the literal