Class Constants
- java.lang.Object
-
- gov.nasa.pds.harvest.search.constants.Constants
-
public class Constants extends Object
Class that holds constants used in Harvest.- Author:
- mcayanan
-
-
Field Summary
Fields Modifier and Type Field Description 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 Map<String,ExtrinsicObject>
collectionMap
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 int
DEFAULT_BATCH_MODE
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 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
SOLR_DOC_DIR
Directory name where Solr Documents will be stored after data is extracted from data sourcestatic 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 int
TITLE_MAX_LENGTH
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
Constructors Constructor Description Constants()
-
-
-
Field Detail
-
SOLR_DOC_DIR
public static final String SOLR_DOC_DIR
Directory name where Solr Documents will be stored after data is extracted from data source- See Also:
- Constant Field Values
-
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
-
URN_ILLEGAL_CHARACTERS
public static final String URN_ILLEGAL_CHARACTERS
- See Also:
- Constant Field Values
-
DEFAULT_BATCH_MODE
public static final int DEFAULT_BATCH_MODE
- See Also:
- Constant Field Values
-
TITLE_MAX_LENGTH
public static final int TITLE_MAX_LENGTH
- See Also:
- Constant Field Values
-
collectionMap
public static Map<String,ExtrinsicObject> collectionMap
-
-