Klasse RestFileInfo

java.lang.Object
de.dlr.proseo.storagemgr.rest.model.RestFileInfo
Alle implementierten Schnittstellen:
Serializable

public class RestFileInfo extends Object implements Serializable
Siehe auch:
  • Felddetails

    • serialVersionUID

      static final long serialVersionUID
      Siehe auch:
    • storageType

      protected String storageType
      The type of the storage to ingest the data from
    • filePath

      protected String filePath
      The S3/POSIX/ALLUXIO path to the file
    • fileName

      protected String fileName
      The file name
    • fileSize

      protected Long fileSize
      The size of the primary product file in bytes
  • Konstruktordetails

    • RestFileInfo

      public RestFileInfo()
      Creates a new RestFileInfo.
    • RestFileInfo

      public RestFileInfo(String storageType, String filePath, String fileName, Long fileSize)
      Creates a new RestFileInfo.
  • Methodendetails

    • getStorageType

      @NotNull @Pattern(regexp="^(S3|ALLUXIO|POSIX|OTHER)$") public @NotNull @Pattern(regexp="^(S3|ALLUXIO|POSIX|OTHER)$") String getStorageType()
      Returns the storageType.
      Gibt zurück:
      storageType
    • setStorageType

      public void setStorageType(String storageType)
      Set the storageType.
      Parameter:
      storageType - the new storageType
    • getFilePath

      @NotNull public @NotNull String getFilePath()
      Returns the filePath.
      Gibt zurück:
      filePath
    • setFilePath

      public void setFilePath(String filePath)
      Set the filePath.
      Parameter:
      filePath - the new filePath
    • getFileName

      @NotNull public @NotNull String getFileName()
      Returns the fileName.
      Gibt zurück:
      fileName
    • setFileName

      public void setFileName(String fileName)
      Set the fileName.
      Parameter:
      fileName - the new fileName
    • getFileSize

      @NotNull public @NotNull Long getFileSize()
      Returns the fileSize.
      Gibt zurück:
      fileSize
    • setFileSize

      public void setFileSize(Long fileSize)
      Set the fileSize.
      Parameter:
      fileSize - the new fileSize
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • equals

      public boolean equals(Object other)
      Setzt außer Kraft:
      equals in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object