Class ReconstructionResponseItem

java.lang.Object
fr.gouv.vitam.metadata.api.model.ReconstructionResponseItem

public class ReconstructionResponseItem extends Object
Description of reconstruction response item model.
  • Constructor Details

    • ReconstructionResponseItem

      public ReconstructionResponseItem()
      Constructor.
    • ReconstructionResponseItem

      public ReconstructionResponseItem(ReconstructionRequestItem reconstructionRequestItem, StatusCode status)
      Constructor
      Parameters:
      reconstructionRequestItem - request item
      status - status
  • Method Details

    • getCollection

      public String getCollection()
      Get the collection of the profile
      Returns:
      collection as String
    • setCollection

      public ReconstructionResponseItem setCollection(String collection)
      Set the collection of the profile This value must be unique by tenant
      Parameters:
      collection - as String
      Returns:
      this
    • getTenant

      public Integer getTenant()
      Get tenant
      Returns:
      tenant
    • setTenant

      public ReconstructionResponseItem setTenant(Integer tenant)
      Set or change tenant
      Parameters:
      tenant -
      Returns:
      this
    • getStatus

      public StatusCode getStatus()
      Returns:
      the status
    • setStatus

      public ReconstructionResponseItem setStatus(StatusCode status)
      Parameters:
      status - the status to set
      Returns:
      this