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>
,java.lang.constant.Constable
- Enclosing class:
- PrintMapFlatFileImporter
private static enum PrintMapFlatFileImporter.Section extends Enum<PrintMapFlatFileImporter.Section>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description private int
blockNumber
private String
name
private static Map<String,PrintMapFlatFileImporter.Section>
stringMapping
-
Constructor Summary
-
Method Summary
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 Details
-
FILE_INFORMATION
-
SOURCE
-
TOOL
-
TARGET
-
SLIDES
-
BLOCK
-
MAPPING
-
-
Field Details
-
blockNumber
private int blockNumber -
name
-
stringMapping
-
-
Constructor Details
-
Section
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getName
-
setBlockNumber
private void setBlockNumber(int blockNumber) -
getBlockNumber
public int getBlockNumber()
-