gov.nasa.pds.citool.file
Class FileObject

java.lang.Object
  extended by gov.nasa.pds.citool.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, hyunlee

Constructor Summary
FileObject(String name, String location, long size, String creationDateTime, String checksum)
          Constructor.
 
Method Summary
 String getAccessUrl()
           
 String getChecksum()
           
 String getCreationDateTime()
           
 String getLocation()
           
 String getName()
           
 long getSize()
           
 String getStorageServiceProductId()
           
 void setAccessUrl(String accessUrl)
           
 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()

setAccessUrl

public void setAccessUrl(String accessUrl)

getAccessUrl

public String getAccessUrl()


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