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, FileSize size, String creationDateTime, String checksum, String fileType)
          Constructor.
 
Method Summary
 List<String> getAccessUrls()
           
 String getChecksum()
           
 String getCreationDateTime()
           
 String getFileType()
           
 String getLocation()
           
 String getMimeType()
           
 String getName()
           
 FileSize 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,
                  FileSize size,
                  String creationDateTime,
                  String checksum,
                  String fileType)
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 FileSize getSize()

getCreationDateTime

public String getCreationDateTime()

getChecksum

public String getChecksum()

getMimeType

public String getMimeType()

getFileType

public String getFileType()

setStorageServiceProductId

public void setStorageServiceProductId(String productId)

getStorageServiceProductId

public String getStorageServiceProductId()

setAccessUrls

public void setAccessUrls(List<String> accessUrls)

getAccessUrls

public List<String> getAccessUrls()


Copyright © 2010–2015 Planetary Data System. All rights reserved.