Package net.sf.basedb.plugins
Enum PrintMapFlatFileImporter.Section
- java.lang.Object
-
- java.lang.Enum<PrintMapFlatFileImporter.Section>
-
- 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>
-
-
Field Summary
Fields Modifier and Type Field Description private int
blockNumber
private String
name
private static Map<String,PrintMapFlatFileImporter.Section>
stringMapping
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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
-
-
Constructor Detail
-
Section
private Section(String s)
-
-
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 nameNullPointerException
- 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()
-
-