gov.nasa.pds.harvest.constants
Class Constants

java.lang.Object
  extended by gov.nasa.pds.harvest.constants.Constants

public class Constants
extends Object

Class that holds constants used in Harvest.

Author:
mcayanan

Field Summary
static String ACCESS_URLS
          The access urls to get the registered product.
static String BUNDLE
           
static String BYTE
          The byte unit value is the de facto unit value when determining file sizes for a registered product.
static String COLLECTION
           
static List<File> collections
           
static HashMap<String,String> coreXpathsMap
          Holds the XPaths to the expected metadata in a product label.
static String CREATION_DATE_TIME
          The creation datetime of a file.
static String DATA_CLASS
          The data classes found in a PDS4 label.
static String DATA_CLASS_XPATH
          The XPath to the data classes in the PDS4 label.
static String FILE_LOCATION
          The file location.
static String FILE_NAME
          The file name.
static String FILE_OBJECT_PRODUCT_TYPE
           
static String FILE_OBJECTS
          The File objects of a product label.
static String FILE_SIZE
          The file size.
static String FILE_TYPE
          The file type of the registered file object.
static String IDENTIFICATION_AREA_XPATH
          The Identification Area XPath in a product label.
static String INCLUDE_PATHS
          The include paths for a PDS3 label.
static String LOGICAL_ID
          The LID in a product label.
static String MD5_CHECKSUM
          The MD5 checksum of a file.
static String MIME_TYPE
          The mime type of the registered file object.
static List<LidVid> nonPrimaryMembers
           
static String OBJECT_TYPE
          The object type (product_class) in a product label.
static String PRIMARY_COLLECTION_XPATH
          XPath that will indicate if a collection is primary.
static String PRODUCT_CLASS
          The product_class tag in a product label.
static String PRODUCT_GUID
          The unique identifier of a product in the registry.
static String PRODUCT_VERSION
          The VID in a product label.
static String REFERENCES
          The associations in a product label.
static Map<File,gov.nasa.jpl.oodt.cas.metadata.Metadata> registeredProducts
          Map of files to metadata needed for registering associations.
static String SECONDARY_COLLECTION_XPATH
          Xpath to indicate if a collection is secondary.
static String SLOT_METADATA
          The slots to add to a product to be registered.
static String STORAGE_SERVICE_PRODUCT_ID
          The product identifier associated to a product registered with the PDS Storage Service.
static String TITLE
          The title of a product label.
static String UNIT
          The unit attribute stores the units for an element in a PDS4 product label.
static String URN_ILLEGAL_CHARACTERS
           
static String VERIFIED
          Metadata key to indicate if an association was verified.
 
Constructor Summary
Constants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BUNDLE

public static final String BUNDLE
See Also:
Constant Field Values

COLLECTION

public static final String COLLECTION
See Also:
Constant Field Values

LOGICAL_ID

public static final String LOGICAL_ID
The LID in a product label.

See Also:
Constant Field Values

PRODUCT_VERSION

public static final String PRODUCT_VERSION
The VID in a product label.

See Also:
Constant Field Values

OBJECT_TYPE

public static final String OBJECT_TYPE
The object type (product_class) in a product label.

See Also:
Constant Field Values

PRODUCT_CLASS

public static final String PRODUCT_CLASS
The product_class tag in a product label.

See Also:
Constant Field Values

REFERENCES

public static final String REFERENCES
The associations in a product label.

See Also:
Constant Field Values

FILE_OBJECTS

public static final String FILE_OBJECTS
The File objects of a product label.

See Also:
Constant Field Values

INCLUDE_PATHS

public static final String INCLUDE_PATHS
The include paths for a PDS3 label.

See Also:
Constant Field Values

TITLE

public static final String TITLE
The title of a product label.

See Also:
Constant Field Values

PRODUCT_GUID

public static final String PRODUCT_GUID
The unique identifier of a product in the registry.

See Also:
Constant Field Values

VERIFIED

public static final String VERIFIED
Metadata key to indicate if an association was verified.

See Also:
Constant Field Values

FILE_NAME

public static final String FILE_NAME
The file name.

See Also:
Constant Field Values

FILE_SIZE

public static final String FILE_SIZE
The file size.

See Also:
Constant Field Values

FILE_LOCATION

public static final String FILE_LOCATION
The file location.

See Also:
Constant Field Values

MD5_CHECKSUM

public static final String MD5_CHECKSUM
The MD5 checksum of a file.

See Also:
Constant Field Values

CREATION_DATE_TIME

public static final String CREATION_DATE_TIME
The creation datetime of a file.

See Also:
Constant Field Values

ACCESS_URLS

public static final String ACCESS_URLS
The access urls to get the registered product.

See Also:
Constant Field Values

MIME_TYPE

public static final String MIME_TYPE
The mime type of the registered file object.

See Also:
Constant Field Values

FILE_TYPE

public static final String FILE_TYPE
The file type of the registered file object.

See Also:
Constant Field Values

STORAGE_SERVICE_PRODUCT_ID

public static final String STORAGE_SERVICE_PRODUCT_ID
The product identifier associated to a product registered with the PDS Storage Service.

See Also:
Constant Field Values

DATA_CLASS

public static final String DATA_CLASS
The data classes found in a PDS4 label.

See Also:
Constant Field Values

FILE_OBJECT_PRODUCT_TYPE

public static final String FILE_OBJECT_PRODUCT_TYPE
See Also:
Constant Field Values

SLOT_METADATA

public static final String SLOT_METADATA
The slots to add to a product to be registered.

See Also:
Constant Field Values

UNIT

public static final String UNIT
The unit attribute stores the units for an element in a PDS4 product label.

See Also:
Constant Field Values

BYTE

public static final String BYTE
The byte unit value is the de facto unit value when determining file sizes for a registered product.

See Also:
Constant Field Values

DATA_CLASS_XPATH

public static final String DATA_CLASS_XPATH
The XPath to the data classes in the PDS4 label.

See Also:
Constant Field Values

coreXpathsMap

public static final HashMap<String,String> coreXpathsMap
Holds the XPaths to the expected metadata in a product label.


IDENTIFICATION_AREA_XPATH

public static final String IDENTIFICATION_AREA_XPATH
The Identification Area XPath in a product label.

See Also:
Constant Field Values

PRIMARY_COLLECTION_XPATH

public static final String PRIMARY_COLLECTION_XPATH
XPath that will indicate if a collection is primary.

See Also:
Constant Field Values

SECONDARY_COLLECTION_XPATH

public static final String SECONDARY_COLLECTION_XPATH
Xpath to indicate if a collection is secondary.

See Also:
Constant Field Values

registeredProducts

public static final Map<File,gov.nasa.jpl.oodt.cas.metadata.Metadata> registeredProducts
Map of files to metadata needed for registering associations.


URN_ILLEGAL_CHARACTERS

public static final String URN_ILLEGAL_CHARACTERS
See Also:
Constant Field Values

nonPrimaryMembers

public static List<LidVid> nonPrimaryMembers

collections

public static List<File> collections
Constructor Detail

Constants

public Constants()


Copyright © 2010–2015 Planetary Data System. All rights reserved.