gov.nasa.pds.validate.inventory.reader
Class InventoryEntry

java.lang.Object
  extended by gov.nasa.pds.validate.inventory.reader.InventoryEntry

public class InventoryEntry
extends Object

Class representation of a single entry in a PDS Inventory file.

Author:
mcayanan

Constructor Summary
InventoryEntry()
          Default constructor
InventoryEntry(File file, String checksum, String lidvid)
          Constructor.
 
Method Summary
 String getChecksum()
          Gets the checksum.
 File getFile()
          Gets the file.
 String getLidvid()
          Gets the LID-VID.
 boolean isEmpty()
          Determines whether the object is empty.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InventoryEntry

public InventoryEntry()
Default constructor


InventoryEntry

public InventoryEntry(File file,
                      String checksum,
                      String lidvid)
Constructor.

Parameters:
file - A product file.
checksum - checksum.
lidvid - logical identifier.
Method Detail

getFile

public File getFile()
Gets the file.

Returns:
The file.

getChecksum

public String getChecksum()
Gets the checksum.

Returns:
Checksum value.

getLidvid

public String getLidvid()
Gets the LID-VID.

Returns:
A LID-VID.

isEmpty

public boolean isEmpty()
Determines whether the object is empty.

Returns:
true if the object is empty, false otherwise.


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