Enum IucnTerm

    • Method Detail

      • values

        public static IucnTerm[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (IucnTerm c : IucnTerm.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static IucnTerm valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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
      • 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