Package de.gwdg.metadataqa.marc.dao
Enum Leader.Type
- java.lang.Object
-
- java.lang.Enum<Leader.Type>
-
- de.gwdg.metadataqa.marc.dao.Leader.Type
-
- All Implemented Interfaces:
Serializable,Comparable<Leader.Type>
- Enclosing class:
- Leader
public static enum Leader.Type extends Enum<Leader.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOKSCOMPUTER_FILESCONTINUING_RESOURCESMAPSMIXED_MATERIALSMUSICVISUAL_MATERIALS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()static Leader.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static Leader.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOOKS
public static final Leader.Type BOOKS
-
CONTINUING_RESOURCES
public static final Leader.Type CONTINUING_RESOURCES
-
MUSIC
public static final Leader.Type MUSIC
-
MAPS
public static final Leader.Type MAPS
-
VISUAL_MATERIALS
public static final Leader.Type VISUAL_MATERIALS
-
COMPUTER_FILES
public static final Leader.Type COMPUTER_FILES
-
MIXED_MATERIALS
public static final Leader.Type MIXED_MATERIALS
-
-
Method Detail
-
values
public static Leader.Type[] 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 (Leader.Type c : Leader.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Leader.Type 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
-
getValue
public String getValue()
-
-