Enum Origin

    • Enum Constant Detail

      • SOURCE

        public static final Origin SOURCE
        Record came straight from source record.
      • VERBATIM_PARENT

        public static final Origin VERBATIM_PARENT
        Implicit usage from a verbatim parent name usage.
      • VERBATIM_ACCEPTED

        public static final Origin VERBATIM_ACCEPTED
        Implicit usage from a verbatim accepted name usage.
      • VERBATIM_BASIONYM

        public static final Origin VERBATIM_BASIONYM
        Implicit usage from a verbatim basionym/original name.
      • PROPARTE

        public static final Origin PROPARTE
        Duplicated usage from a single pro parte record.
      • AUTONYM

        public static final Origin AUTONYM
        Generated, missing autonym.
      • IMPLICIT_NAME

        public static final Origin IMPLICIT_NAME
        Generated, missing genus or species for "orphaned" lower name.
      • MISSING_ACCEPTED

        public static final Origin MISSING_ACCEPTED
        Artificial accepted usage for a synonym if it's missing to preserve the taxonomic hierarchy.
      • EX_AUTHOR_SYNONYM

        public static final Origin EX_AUTHOR_SYNONYM
        Implicit synonym based on the illegitimate ex author. See ICN article 46: http://www.iapt-taxon.org/nomen/main.php?page=art46
      • OTHER

        public static final Origin OTHER
        Any other origin not covered by the above.
    • Method Detail

      • values

        public static Origin[] 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 (Origin c : Origin.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Origin 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
      • fromString

        public static Origin fromString​(String origin)
        Case-insensitive lookup of an Origin by its name that does not throw an exception but returns null for not found origins.
        Parameters:
        origin - case-insensitive name of the origin
        Returns:
        the matching Origin or null