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 SummaryFields 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 SummaryConstructors Constructor Description Constants()
 
- 
- 
- 
Field Detail- 
SOLR_DOC_DIRpublic 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
 
 - 
BUNDLEpublic static final String BUNDLE - See Also:
- Constant Field Values
 
 - 
COLLECTIONpublic static final String COLLECTION - See Also:
- Constant Field Values
 
 - 
LOGICAL_IDpublic static final String LOGICAL_ID The LID in a product label.- See Also:
- Constant Field Values
 
 - 
PRODUCT_VERSIONpublic static final String PRODUCT_VERSION The VID in a product label.- See Also:
- Constant Field Values
 
 - 
OBJECT_TYPEpublic static final String OBJECT_TYPE The object type (product_class) in a product label.- See Also:
- Constant Field Values
 
 - 
PRODUCT_CLASSpublic static final String PRODUCT_CLASS The product_class tag in a product label.- See Also:
- Constant Field Values
 
 - 
REFERENCESpublic static final String REFERENCES The associations in a product label.- See Also:
- Constant Field Values
 
 - 
FILE_OBJECTSpublic static final String FILE_OBJECTS The File objects of a product label.- See Also:
- Constant Field Values
 
 - 
INCLUDE_PATHSpublic static final String INCLUDE_PATHS The include paths for a PDS3 label.- See Also:
- Constant Field Values
 
 - 
TITLEpublic static final String TITLE The title of a product label.- See Also:
- Constant Field Values
 
 - 
PRODUCT_GUIDpublic static final String PRODUCT_GUID The unique identifier of a product in the registry.- See Also:
- Constant Field Values
 
 - 
VERIFIEDpublic static final String VERIFIED Metadata key to indicate if an association was verified.- See Also:
- Constant Field Values
 
 - 
FILE_NAMEpublic static final String FILE_NAME The file name.- See Also:
- Constant Field Values
 
 - 
FILE_SIZEpublic static final String FILE_SIZE The file size.- See Also:
- Constant Field Values
 
 - 
FILE_LOCATIONpublic static final String FILE_LOCATION The file location.- See Also:
- Constant Field Values
 
 - 
MD5_CHECKSUMpublic static final String MD5_CHECKSUM The MD5 checksum of a file.- See Also:
- Constant Field Values
 
 - 
CREATION_DATE_TIMEpublic static final String CREATION_DATE_TIME The creation datetime of a file.- See Also:
- Constant Field Values
 
 - 
ACCESS_URLSpublic static final String ACCESS_URLS The access urls to get the registered product.- See Also:
- Constant Field Values
 
 - 
MIME_TYPEpublic static final String MIME_TYPE The mime type of the registered file object.- See Also:
- Constant Field Values
 
 - 
FILE_TYPEpublic static final String FILE_TYPE The file type of the registered file object.- See Also:
- Constant Field Values
 
 - 
STORAGE_SERVICE_PRODUCT_IDpublic 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_CLASSpublic static final String DATA_CLASS The data classes found in a PDS4 label.- See Also:
- Constant Field Values
 
 - 
FILE_OBJECT_PRODUCT_TYPEpublic static final String FILE_OBJECT_PRODUCT_TYPE - See Also:
- Constant Field Values
 
 - 
SLOT_METADATApublic static final String SLOT_METADATA The slots to add to a product to be registered.- See Also:
- Constant Field Values
 
 - 
UNITpublic static final String UNIT The unit attribute stores the units for an element in a PDS4 product label.- See Also:
- Constant Field Values
 
 - 
BYTEpublic 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_XPATHpublic static final String DATA_CLASS_XPATH The XPath to the data classes in the PDS4 label.- See Also:
- Constant Field Values
 
 - 
coreXpathsMappublic static final HashMap<String,String> coreXpathsMap Holds the XPaths to the expected metadata in a product label.
 - 
IDENTIFICATION_AREA_XPATHpublic static final String IDENTIFICATION_AREA_XPATH The Identification Area XPath in a product label.- See Also:
- Constant Field Values
 
 - 
PRIMARY_COLLECTION_XPATHpublic static final String PRIMARY_COLLECTION_XPATH XPath that will indicate if a collection is primary.- See Also:
- Constant Field Values
 
 - 
SECONDARY_COLLECTION_XPATHpublic static final String SECONDARY_COLLECTION_XPATH Xpath to indicate if a collection is secondary.- See Also:
- Constant Field Values
 
 - 
URN_ILLEGAL_CHARACTERSpublic static final String URN_ILLEGAL_CHARACTERS - See Also:
- Constant Field Values
 
 - 
DEFAULT_BATCH_MODEpublic static final int DEFAULT_BATCH_MODE - See Also:
- Constant Field Values
 
 - 
TITLE_MAX_LENGTHpublic static final int TITLE_MAX_LENGTH - See Also:
- Constant Field Values
 
 - 
collectionMappublic static Map<String,ExtrinsicObject> collectionMap 
 
- 
 
-