Class RestProductFS

java.lang.Object
de.dlr.proseo.storagemgr.rest.model.RestProductFS
All Implemented Interfaces:
Serializable

public class RestProductFS extends Object implements Serializable
See Also:
  • Field Details

    • serialVersionUID

      static final long serialVersionUID
      See Also:
    • productId

      protected String productId
    • sourceStorageType

      protected String sourceStorageType
      The type of the storage
    • sourceFilePaths

      protected List<String> sourceFilePaths
    • targetStorageId

      protected String targetStorageId
    • targetStorageType

      protected String targetStorageType
      The type of the storage
    • registeredFilePath

      protected String registeredFilePath
    • registered

      protected Boolean registered
    • registeredFilesCount

      protected Long registeredFilesCount
    • registeredFilesList

      protected List<String> registeredFilesList
    • deleted

      protected Boolean deleted
    • message

      protected String message
  • Constructor Details

    • RestProductFS

      public RestProductFS()
      Creates a new RestProductFS.
    • RestProductFS

      public RestProductFS(String productId, String sourceStorageType, List<String> sourceFilePaths, String targetStorageId, String targetStorageType, String registeredFilePath, Boolean registered, Long registeredFilesCount, List<String> registeredFilesList, Boolean deleted, String message)
      Creates a new RestProductFS.
  • Method Details

    • getProductId

      @NotNull public String getProductId()
      Returns the productId.
      Returns:
      productId
    • setProductId

      public void setProductId(String productId)
      Set the productId.
      Parameters:
      productId - the new productId
    • getSourceStorageType

      @NotNull @Pattern(regexp="^(S3|ALLUXIO|POSIX|OTHER)$") public String getSourceStorageType()
      Returns the sourceStorageType.
      Returns:
      sourceStorageType
    • setSourceStorageType

      public void setSourceStorageType(String sourceStorageType)
      Set the sourceStorageType.
      Parameters:
      sourceStorageType - the new sourceStorageType
    • getSourceFilePaths

      @NotNull public List<String> getSourceFilePaths()
      Returns the sourceFilePaths.
      Returns:
      sourceFilePaths
    • setSourceFilePaths

      public void setSourceFilePaths(List<String> sourceFilePaths)
      Set the sourceFilePaths.
      Parameters:
      sourceFilePaths - the new sourceFilePaths
    • getTargetStorageId

      public String getTargetStorageId()
      Returns the targetStorageId.
      Returns:
      targetStorageId
    • setTargetStorageId

      public void setTargetStorageId(String targetStorageId)
      Set the targetStorageId.
      Parameters:
      targetStorageId - the new targetStorageId
    • getTargetStorageType

      @NotNull @Pattern(regexp="^(S3|ALLUXIO|POSIX|OTHER)$") public String getTargetStorageType()
      Returns the targetStorageType.
      Returns:
      targetStorageType
    • setTargetStorageType

      public void setTargetStorageType(String targetStorageType)
      Set the targetStorageType.
      Parameters:
      targetStorageType - the new targetStorageType
    • getRegisteredFilePath

      public String getRegisteredFilePath()
      Returns the registeredFilePath.
      Returns:
      registeredFilePath
    • setRegisteredFilePath

      public void setRegisteredFilePath(String registeredFilePath)
      Set the registeredFilePath.
      Parameters:
      registeredFilePath - the new registeredFilePath
    • getRegistered

      public Boolean getRegistered()
      Returns the registered.
      Returns:
      registered
    • setRegistered

      public void setRegistered(Boolean registered)
      Set the registered.
      Parameters:
      registered - the new registered
    • getRegisteredFilesCount

      public Long getRegisteredFilesCount()
      Returns the registeredFilesCount.
      Returns:
      registeredFilesCount
    • setRegisteredFilesCount

      public void setRegisteredFilesCount(Long registeredFilesCount)
      Set the registeredFilesCount.
      Parameters:
      registeredFilesCount - the new registeredFilesCount
    • getRegisteredFilesList

      public List<String> getRegisteredFilesList()
      Returns the registeredFilesList.
      Returns:
      registeredFilesList
    • setRegisteredFilesList

      public void setRegisteredFilesList(List<String> registeredFilesList)
      Set the registeredFilesList.
      Parameters:
      registeredFilesList - the new registeredFilesList
    • getDeleted

      public Boolean getDeleted()
      Returns the deleted.
      Returns:
      deleted
    • setDeleted

      public void setDeleted(Boolean deleted)
      Set the deleted.
      Parameters:
      deleted - the new deleted
    • getMessage

      public String getMessage()
      Returns the message.
      Returns:
      message
    • setMessage

      public void setMessage(String message)
      Set the message.
      Parameters:
      message - the new message
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object