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 StringACCESS_URLSThe access urls to get the registered product.static StringBUNDLEstatic StringBYTEThe byte unit value is the de facto unit value when determining file sizes for a registered product.static StringCOLLECTIONstatic Map<String,ExtrinsicObject>collectionMapstatic List<File>collectionsstatic HashMap<String,String>coreXpathsMapHolds the XPaths to the expected metadata in a product label.static StringCREATION_DATE_TIMEThe creation datetime of a file.static StringDATA_CLASSThe data classes found in a PDS4 label.static StringDATA_CLASS_XPATHThe XPath to the data classes in the PDS4 label.static intDEFAULT_BATCH_MODEstatic StringFILE_LOCATIONThe file location.static StringFILE_NAMEThe file name.static StringFILE_OBJECT_PRODUCT_TYPEstatic StringFILE_OBJECTSThe File objects of a product label.static StringFILE_SIZEThe file size.static StringFILE_TYPEThe file type of the registered file object.static StringIDENTIFICATION_AREA_XPATHThe Identification Area XPath in a product label.static StringINCLUDE_PATHSThe include paths for a PDS3 label.static StringLOGICAL_IDThe LID in a product label.static StringMD5_CHECKSUMThe MD5 checksum of a file.static StringMIME_TYPEThe mime type of the registered file object.static List<LidVid>nonPrimaryMembersstatic StringOBJECT_TYPEThe object type (product_class) in a product label.static StringPRIMARY_COLLECTION_XPATHXPath that will indicate if a collection is primary.static StringPRODUCT_CLASSThe product_class tag in a product label.static StringPRODUCT_GUIDThe unique identifier of a product in the registry.static StringPRODUCT_VERSIONThe VID in a product label.static StringREFERENCESThe associations in a product label.static StringSECONDARY_COLLECTION_XPATHXpath to indicate if a collection is secondary.static StringSLOT_METADATAThe slots to add to a product to be registered.static StringSOLR_DOC_DIRDirectory name where Solr Documents will be stored after data is extracted from data sourcestatic StringSTORAGE_SERVICE_PRODUCT_IDThe product identifier associated to a product registered with the PDS Storage Service.static StringTITLEThe title of a product label.static intTITLE_MAX_LENGTHstatic StringUNITThe unit attribute stores the units for an element in a PDS4 product label.static StringURN_ILLEGAL_CHARACTERSstatic StringVERIFIEDMetadata 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
-
-