2.17.2: 2011-06-17

net.sf.basedb.plugins
Enum PrintMapFlatFileImporter.Section

java.lang.Object
  extended by java.lang.Enum<PrintMapFlatFileImporter.Section>
      extended by net.sf.basedb.plugins.PrintMapFlatFileImporter.Section
All Implemented Interfaces:
Serializable, Comparable<PrintMapFlatFileImporter.Section>
Enclosing class:
PrintMapFlatFileImporter

private static enum PrintMapFlatFileImporter.Section
extends Enum<PrintMapFlatFileImporter.Section>


Enum Constant Summary
BLOCK
           
FILE_INFORMATION
           
MAPPING
           
SLIDES
           
SOURCE
           
TARGET
           
TOOL
           
 
Field Summary
private  int blockNumber
           
private  String name
           
private static Map<String,PrintMapFlatFileImporter.Section> stringMapping
           
 
Method Summary
static PrintMapFlatFileImporter.Section fromString(String s)
           
 int getBlockNumber()
           
 String getName()
           
private  void setBlockNumber(int blockNumber)
           
static PrintMapFlatFileImporter.Section valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PrintMapFlatFileImporter.Section[] 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

FILE_INFORMATION

public static final PrintMapFlatFileImporter.Section FILE_INFORMATION

SOURCE

public static final PrintMapFlatFileImporter.Section SOURCE

TOOL

public static final PrintMapFlatFileImporter.Section TOOL

TARGET

public static final PrintMapFlatFileImporter.Section TARGET

SLIDES

public static final PrintMapFlatFileImporter.Section SLIDES

BLOCK

public static final PrintMapFlatFileImporter.Section BLOCK

MAPPING

public static final PrintMapFlatFileImporter.Section MAPPING
Field Detail

blockNumber

private int blockNumber

name

private String name

stringMapping

private static final Map<String,PrintMapFlatFileImporter.Section> stringMapping
Method Detail

values

public static PrintMapFlatFileImporter.Section[] 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 (PrintMapFlatFileImporter.Section c : PrintMapFlatFileImporter.Section.values())
    System.out.println(c);

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

valueOf

public static PrintMapFlatFileImporter.Section 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

fromString

public static PrintMapFlatFileImporter.Section fromString(String s)

getName

public String getName()

setBlockNumber

private void setBlockNumber(int blockNumber)

getBlockNumber

public int getBlockNumber()

2.17.2: 2011-06-17