Enum KosType
- java.lang.Object
-
- java.lang.Enum<KosType>
-
- de.gwdg.metadataqa.marc.model.kos.KosType
-
- All Implemented Interfaces:
Serializable,Comparable<KosType>
public enum KosType extends Enum<KosType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CATEGORIZATIONCLASSIFICATION_SCHEMEDICTIONARYGAZETTEERGLOSSARYLISTNAME_AUTHORITY_LISTONTOLOGYSEMANTIC_NETWORKSUBJECT_HEADINGSYNONYM_RINGTAXONOMYTHESAURUS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLabel()intgetScore()StringgetUrl()static KosTypevalueOf(String name)Returns the enum constant of this type with the specified name.static KosType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LIST
public static final KosType LIST
-
DICTIONARY
public static final KosType DICTIONARY
-
GLOSSARY
public static final KosType GLOSSARY
-
SYNONYM_RING
public static final KosType SYNONYM_RING
-
NAME_AUTHORITY_LIST
public static final KosType NAME_AUTHORITY_LIST
-
GAZETTEER
public static final KosType GAZETTEER
-
SUBJECT_HEADING
public static final KosType SUBJECT_HEADING
-
CATEGORIZATION
public static final KosType CATEGORIZATION
-
TAXONOMY
public static final KosType TAXONOMY
-
CLASSIFICATION_SCHEME
public static final KosType CLASSIFICATION_SCHEME
-
THESAURUS
public static final KosType THESAURUS
-
SEMANTIC_NETWORK
public static final KosType SEMANTIC_NETWORK
-
ONTOLOGY
public static final KosType ONTOLOGY
-
-
Method Detail
-
values
public static KosType[] 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 (KosType c : KosType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KosType 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
-
getScore
public int getScore()
-
getLabel
public String getLabel()
-
getUrl
public String getUrl()
-
-