Enum KosCategory
- java.lang.Object
-
- java.lang.Enum<KosCategory>
-
- de.gwdg.metadataqa.marc.model.kos.KosCategory
-
- All Implemented Interfaces:
Serializable,Comparable<KosCategory>
public enum KosCategory extends Enum<KosCategory>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLASSIFICATIONMETADATA_LIKE_MODELRELATIONSHIP_MODELTERM_LIST
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KosCategoryvalueOf(String name)Returns the enum constant of this type with the specified name.static KosCategory[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TERM_LIST
public static final KosCategory TERM_LIST
-
METADATA_LIKE_MODEL
public static final KosCategory METADATA_LIKE_MODEL
-
CLASSIFICATION
public static final KosCategory CLASSIFICATION
-
RELATIONSHIP_MODEL
public static final KosCategory RELATIONSHIP_MODEL
-
-
Method Detail
-
values
public static KosCategory[] 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 (KosCategory c : KosCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KosCategory 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
-
-