Enum Class IucnTerm

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

public enum IucnTerm extends Enum<IucnTerm> implements Term, AlternativeNames
  • Enum Constant Details

  • Field Details

  • Method Details

    • values

      public static IucnTerm[] 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 IucnTerm 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
    • alternativeNames

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

      public String toString()
      Overrides:
      toString in class Enum<IucnTerm>
    • 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
    • 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