Enum Class PlaziTerm

java.lang.Object
java.lang.Enum<PlaziTerm>
org.gbif.dwc.terms.PlaziTerm
All Implemented Interfaces:
Serializable, Comparable<PlaziTerm>, Constable, AlternativeNames, Term

public enum PlaziTerm extends Enum<PlaziTerm> implements Term, AlternativeNames
Terms used in DwC archives from https://plazi.org
  • Enum Constant Details

  • Method Details

    • values

      public static PlaziTerm[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PlaziTerm valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • simpleName

      public String simpleName()
      Description copied from interface: Term
      The simple term name without any namespace or paths. For example scientificName.
      Specified by:
      simpleName in interface Term
    • toString

      public String toString()
      Overrides:
      toString in class Enum<PlaziTerm>
    • alternativeNames

      Specified by:
      alternativeNames in interface AlternativeNames
      Returns:
      array of simple, alternative term names
    • isClass

      public boolean isClass()
      Description copied from interface: Term
      Informs if a term is generally used as a class term, i.e. defining rowTypes not properties. For example VernacularName, Taxon or Occurrence
      Specified by:
      isClass in interface Term
      Returns:
      true if the term is defining a class instead of a property, e.g. Taxon
    • prefix

      public String prefix()
      Description copied from interface: Term
      A unique standard prefix representing the namespace. For example dwc.
      Specified by:
      prefix in interface Term
    • namespace

      public URI namespace()
      Description copied from interface: Term
      The namespace the terms are in. Default implementations here expect the namespace to end with a slash.
      Specified by:
      namespace in interface Term