adams.flow.transformer
Enum SpreadSheetInfo.InfoType

java.lang.Object
  extended by java.lang.Enum<SpreadSheetInfo.InfoType>
      extended by adams.flow.transformer.SpreadSheetInfo.InfoType
All Implemented Interfaces:
Serializable, Comparable<SpreadSheetInfo.InfoType>
Enclosing class:
SpreadSheetInfo

public static enum SpreadSheetInfo.InfoType
extends Enum<SpreadSheetInfo.InfoType>

The type of information to generate.

Version:
$Revision: 6286 $
Author:
fracpete (fracpete at waikato dot ac dot nz)

Enum Constant Summary
CELL_TYPES
          all cell types (at specified index).
COLUMN_NAME
          the name of the column (at specified index).
COLUMN_TYPE
          the overall column type (at specified index).
NUM_COLUMNS
          the number of columns.
NUM_ROWS
          the number of rows.
 
Method Summary
static SpreadSheetInfo.InfoType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SpreadSheetInfo.InfoType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NUM_COLUMNS

public static final SpreadSheetInfo.InfoType NUM_COLUMNS
the number of columns.


NUM_ROWS

public static final SpreadSheetInfo.InfoType NUM_ROWS
the number of rows.


COLUMN_NAME

public static final SpreadSheetInfo.InfoType COLUMN_NAME
the name of the column (at specified index).


COLUMN_TYPE

public static final SpreadSheetInfo.InfoType COLUMN_TYPE
the overall column type (at specified index).


CELL_TYPES

public static final SpreadSheetInfo.InfoType CELL_TYPES
all cell types (at specified index).

Method Detail

values

public static SpreadSheetInfo.InfoType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SpreadSheetInfo.InfoType c : SpreadSheetInfo.InfoType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SpreadSheetInfo.InfoType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2013 University of Waikato, Hamilton, NZ. All Rights Reserved.