Enum Control008Type
- java.lang.Object
-
- java.lang.Enum<Control008Type>
-
- de.gwdg.metadataqa.marc.definition.controltype.Control008Type
-
- All Implemented Interfaces:
ControlType,Serializable,Comparable<Control008Type>
public enum Control008Type extends Enum<Control008Type> implements ControlType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL_MATERIALSBOOKSCOMPUTER_FILESCONTINUING_RESOURCESMAPSMIXED_MATERIALSMUSICVISUAL_MATERIALS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ControlTypebyAbbreviation(String abbreviation)static Control008TypebyCode(String value)StringgetValue()static Control008TypevalueOf(String name)Returns the enum constant of this type with the specified name.static Control008Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL_MATERIALS
public static final Control008Type ALL_MATERIALS
-
BOOKS
public static final Control008Type BOOKS
-
CONTINUING_RESOURCES
public static final Control008Type CONTINUING_RESOURCES
-
MUSIC
public static final Control008Type MUSIC
-
MAPS
public static final Control008Type MAPS
-
VISUAL_MATERIALS
public static final Control008Type VISUAL_MATERIALS
-
COMPUTER_FILES
public static final Control008Type COMPUTER_FILES
-
MIXED_MATERIALS
public static final Control008Type MIXED_MATERIALS
-
-
Method Detail
-
values
public static Control008Type[] 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 (Control008Type c : Control008Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Control008Type 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()
- Specified by:
getValuein interfaceControlType
-
byCode
public static Control008Type byCode(String value)
-
byAbbreviation
public static ControlType byAbbreviation(String abbreviation)
-
-