Enum TagName

    • Enum Constant Detail

      • DATASET_ID

        public static final TagName DATASET_ID
        The Darwin Core term datasetID which is found in dwc archives to reference subdatasets such as the Catalogue of Life GSDs. Stored in the registry to keep a mapping between the subdataset registry key and the dwca datasetID value.
        See Also:
        DWC Term, KOS wiki
      • CRAWL_ATTEMPT

        public static final TagName CRAWL_ATTEMPT
        This is a counter starting at 1 incremented every time we try to crawl a dataset. This is even incremented when a crawl fails for any reason.
      • ARCHIVE_ORIGIN

        public static final TagName ARCHIVE_ORIGIN
        Records the source of an archive endpoint, e.g. that it is from a BioCASe installation.
      • DECLARED_COUNT

        public static final TagName DECLARED_COUNT
        Number of records declared in the dataset by the source.
      • ORPHAN_STATUS

        public static final TagName ORPHAN_STATUS
        Records whether an orphan dataset has been RESCUED.
      • ORPHANED_ENDPOINT

        public static final TagName ORPHANED_ENDPOINT
        The endpoint which was not working when the dataset was rescued.
      • ORPHAN_DOWNLOAD

        public static final TagName ORPHAN_DOWNLOAD
        The GBIF download used to rescue the orphaned dataset.
      • ORPHAN_DWCA_CACHE_TIME

        public static final TagName ORPHAN_DWCA_CACHE_TIME
        The modification time of the last-available Darwin Core Archive from temporary storage, used to rescue the dataset.
    • Method Detail

      • values

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

        public static TagName 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
      • getName

        public String getName()
        Actual machine tag name.
        Returns:
        the machine tag name