Class 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 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()