Class TopicCategory

java.lang.Object
org.opengis.util.CodeList<TopicCategory>
org.opengis.metadata.identification.TopicCategory
All Implemented Interfaces:
Serializable, Comparable<TopicCategory>

@UML(identifier="MD_TopicCategoryCode", specification=ISO_19115) public final class TopicCategory extends CodeList<TopicCategory>
High-level geographic data thematic classification to assist in the grouping and search of available geographic data sets. Can be used to group keywords as well. Listed examples are not exhaustive.
Since:
2.0
Version:
3.0
See Also:
  • Field Details

  • Constructor Details

    • TopicCategory

      private TopicCategory(String name)
      Constructs an enum with the given name. The new enum is automatically added to the list returned by values().
      Parameters:
      name - The enum name. This name must not be in use by an other enum of this type.
  • Method Details

    • values

      public static TopicCategory[] values()
      Returns the list of TopicCategorys.
      Returns:
      The list of codes declared in the current JVM.
    • family

      public TopicCategory[] family()
      Returns the list of enumerations of the same kind than this enum.
      Specified by:
      family in class CodeList<TopicCategory>
      Returns:
      The codes of the same kind than this code.
    • valueOf

      public static TopicCategory valueOf(String code)
      Returns the topic category 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.