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 COLLECTION
           
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_OBJECTS
          The File objects of a product label.
static String FILE_SIZE
          The file size.
static String IDENTIFICATION_AREA_XPATH
          The Identification Area XPath in a product label.
static String LOGICAL_ID
          The LID in a product label.
static String MD5_CHECKSUM
          The MD5 checksum of a file.
static String OBJECT_TYPE
          The product_class in a product label.
static Map<String,String> pds3ToPds4Map
          Mapping of PDS3 to PDS4 names
static String PRIMARY_COLLECTION_XPATH
          XPath that will indicate if a collection is primary.
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 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 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 product_class 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

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

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

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

pds3ToPds4Map

public static final Map<String,String> pds3ToPds4Map
Mapping of PDS3 to PDS4 names


registeredProducts

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

Constructor Detail

Constants

public Constants()


Copyright © 2010-2012 Planetary Data System. All Rights Reserved.