Class KeywordType
- All Implemented Interfaces:
Serializable, Comparable<KeywordType>
@UML(identifier="MD_KeywordTypeCode",
specification=ISO_19115)
public final class KeywordType
extends CodeList<KeywordType>
Methods used to group similar keywords.
- Since:
- 2.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class CodeList
CodeList.FilterModifier and TypeClassDescriptionstatic interfaceUsed byCodeList.valueOf(Class, Filter)to select codes matching an arbitrary criterion. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final KeywordTypeKeyword identifies a branch of instruction or specialized learning.static final KeywordTypeKeyword identifies a location.static final KeywordTypeKeyword identifies the layer(s) of any deposited substance.static final KeywordTypeKeyword identifies a time period related to the dataset.static final KeywordTypeKeyword identifies a particular subject or topic. -
Method Summary
Modifier and TypeMethodDescriptionfamily()Returns the list of enumerations of the same kind as this enum.static KeywordTypeReturns the KeywordType that matches the given string, or returns a new one if none match it.static KeywordType[]values()Returns the list ofKeywordTypes.Methods inherited from class CodeList
compareTo, identifier, name, names, ordinal, readResolve, toString, valueOf, valueOfModifier and TypeMethodDescriptionfinal intcompareTo(KeywordType other) Compares this code with the specified object for order.Returns the identifier declared in theUMLannotation, ornullif none.final Stringname()Returns the programmatic name of this code list constant.String[]names()Returns all the names of this code.final intordinal()Returns the ordinal of this code constant.protected ObjectResolves the code list to an unique instance after deserialization.Returns a string representation of this code list.static <T extends CodeList<T>>
TReturns the code of the given type that matches the given name, or returns a new one if none match it.static <T extends CodeList<T>>
TvalueOf(Class<T> codeType, CodeList.Filter filter) Returns the code of the given type that matches the given criterion, or returns a new one if none match it.
-
Field Details
-
DISCIPLINE
@UML(identifier="discipline", obligation=CONDITIONAL, specification=ISO_19115) public static final KeywordType DISCIPLINEKeyword identifies a branch of instruction or specialized learning. -
PLACE
@UML(identifier="place", obligation=CONDITIONAL, specification=ISO_19115) public static final KeywordType PLACEKeyword identifies a location. -
STRATUM
@UML(identifier="stratum", obligation=CONDITIONAL, specification=ISO_19115) public static final KeywordType STRATUMKeyword identifies the layer(s) of any deposited substance. -
TEMPORAL
@UML(identifier="temporal", obligation=CONDITIONAL, specification=ISO_19115) public static final KeywordType TEMPORALKeyword identifies a time period related to the dataset. -
THEME
@UML(identifier="theme", obligation=CONDITIONAL, specification=ISO_19115) public static final KeywordType THEMEKeyword identifies a particular subject or topic.
-
-
Method Details
-
values
Returns the list ofKeywordTypes.- Returns:
- The list of codes declared in the current JVM.
-
family
Returns the list of enumerations of the same kind as this enum.- Specified by:
familyin classCodeList<KeywordType>- Returns:
- The codes of the same kind as this code.
-
valueOf
Returns the KeywordType that matches the given string, or returns a new one if none match it.- Parameters:
code- The name of the code to fetch or to create.- Returns:
- A code matching the given name.
-