gov.nasa.pds.harvest.file
Class FileObject

java.lang.Object
  extended by gov.nasa.pds.harvest.file.FileObject

public class FileObject
extends Object

Class that contains file information to be used in registering file objects to the PDS4 Registry.

Author:
mcayanan

Constructor Summary
FileObject(String name, String location, long size, String creationDateTime, String checksum)
          Constructor.
 
Method Summary
 List<String> getAccessUrls()
           
 String getChecksum()
           
 String getCreationDateTime()
           
 String getLocation()
           
 String getName()
           
 long getSize()
           
 String getStorageServiceProductId()
           
 void setAccessUrls(List<String> accessUrls)
           
 void setStorageServiceProductId(String productId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileObject

public FileObject(String name,
                  String location,
                  long size,
                  String creationDateTime,
                  String checksum)
Constructor.

Parameters:
name - File name.
location - File location.
size - File size.
creationDateTime - File creation date time.
checksum - checksum of the file.
Method Detail

getName

public String getName()

getLocation

public String getLocation()

getSize

public long getSize()

getCreationDateTime

public String getCreationDateTime()

getChecksum

public String getChecksum()

setStorageServiceProductId

public void setStorageServiceProductId(String productId)

getStorageServiceProductId

public String getStorageServiceProductId()

setAccessUrls

public void setAccessUrls(List<String> accessUrls)

getAccessUrls

public List<String> getAccessUrls()


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