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
- Version:
- 3.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opengis.util.CodeList
CodeList.Filter
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final KeywordType
Keyword identifies a branch of instruction or specialized learning.static final KeywordType
Keyword identifies a location.private static final long
Serial number for compatibility with different versions.static final KeywordType
Keyword identifies the layer(s) of any deposited substance.static final KeywordType
Keyword identifies a time period related to the dataset.static final KeywordType
Keyword identifies a particular subject or topic.private static final List
<KeywordType> List of all enumerations of this type. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
KeywordType
(String name) Constructs an enum with the given name. -
Method Summary
Modifier and TypeMethodDescriptionfamily()
Returns the list of enumerations of the same kind than this enum.static KeywordType
Returns the KeywordType that matches the given string, or returns a new one if none match it.static KeywordType[]
values()
Returns the list ofKeywordType
s.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerial number for compatibility with different versions.- See Also:
-
VALUES
List of all enumerations of this type. Must be declared before any enum declaration. -
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.
-
-
Constructor Details
-
KeywordType
Constructs an enum with the given name. The new enum is automatically added to the list returned byvalues()
.- Parameters:
name
- The enum name. This name must not be in use by an other enum of this type.
-
-
Method Details
-
values
Returns the list ofKeywordType
s.- Returns:
- The list of codes declared in the current JVM.
-
family
Returns the list of enumerations of the same kind than this enum.- Specified by:
family
in classCodeList<KeywordType>
- Returns:
- The codes of the same kind than 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.
-