Package gov.nasa.pds.citool.file
Class FileObject
- java.lang.Object
-
- 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
Constructors Constructor Description FileObject(String name, String location, long size, String creationDateTime, String checksum)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAccessUrl()StringgetChecksum()StringgetCreationDateTime()StringgetLocation()StringgetName()longgetSize()StringgetStorageServiceProductId()voidsetAccessUrl(String accessUrl)voidsetStorageServiceProductId(String productId)
-
-
-
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()
-
-