Class InventoryEntry
- java.lang.Object
- 
- gov.nasa.pds.harvest.search.inventory.InventoryEntry
 
- 
 public class InventoryEntry extends Object Class representation of a single entry in a PDS Inventory file.- Author:
- mcayanan
 
- 
- 
Constructor SummaryConstructors Constructor Description InventoryEntry()Default constructorInventoryEntry(File file, String checksum, String identifier, String memberStatus)Constructor.InventoryEntry(String identifier, String memberStatus)Constructor.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetChecksum()Gets the checksum.FilegetFile()Gets the file.StringgetIdentifier()Gets the logical identifier.StringgetMemberStatus()Gets the member status.booleanisEmpty()Determines whether the object is empty.
 
- 
- 
- 
Method Detail- 
getFilepublic File getFile() Gets the file.- Returns:
- The file.
 
 - 
getChecksumpublic String getChecksum() Gets the checksum.- Returns:
- Checksum value.
 
 - 
getIdentifierpublic String getIdentifier() Gets the logical identifier.- Returns:
- A LID or LIDVID.
 
 - 
getMemberStatuspublic String getMemberStatus() Gets the member status.- Returns:
- "P", "Primary", "S", or "Secondary"
 
 - 
isEmptypublic boolean isEmpty() Determines whether the object is empty.- Returns:
- true if the object is empty, false otherwise.
 
 
- 
 
-