Class IngestResponse

java.lang.Object
fr.gouv.vitam.ingest.internal.api.response.IngestResponse

public class IngestResponse extends Object
Class Ingest Reponse
  • Constructor Details

    • IngestResponse

      public IngestResponse()
  • Method Details

    • getNumberOfElements

      public Long getNumberOfElements()
      Returns:
      the numberOfElements in a received SIP
    • setNumberOfElements

      public IngestResponse setNumberOfElements(Long numberOfElements)
      Parameters:
      numberOfElements - the numberOfElements to set from a received SIP
      Returns:
      the current instance of IngestResponse
    • getCause

      public String getCause()
      Returns:
      the cause
    • setCause

      public IngestResponse setCause(String cause)
      Parameters:
      cause - the cause to set
      Returns:
      this
    • getMessage

      public String getMessage()
      Returns:
      the message
    • setMessage

      public IngestResponse setMessage(String message)
      Parameters:
      message - the message to set
      Returns:
      this
    • getErrorOccured

      public Boolean getErrorOccured()
      Returns:
      the errorOccured
    • setErrorOccured

      public IngestResponse setErrorOccured(Boolean errorOccured)
      Parameters:
      errorOccured - the errorOccured to set
      Returns:
      this
    • getNumericalObject

      public Long getNumericalObject()
      Returns:
      the NumericalObject in a received SIP
    • setNumericalObject

      public IngestResponse setNumericalObject(Long numberOfNumericalObject)
      Parameters:
      numberOfNumericalObject - the NumericalObject to set from a received SIP
      Returns:
      this
    • getContainerGuid

      public String getContainerGuid()
      Returns:
      the containerGuid
    • setContainerGuid

      public IngestResponse setContainerGuid(String containerGuid)
      Parameters:
      containerGuid - the containerGuid to set
      Returns:
      this
    • getSedaGuid

      public String getSedaGuid()
      Returns:
      the sedaGuid
    • setSedaGuid

      public IngestResponse setSedaGuid(String sedaGuid)
      Parameters:
      sedaGuid - the sedaGuid to set
      Returns:
      this
    • getNumberOfNumericalObject

      public Long getNumberOfNumericalObject()
      Returns:
      the numberOfElements in a received SIP
    • setNumberOfNumericalObject

      public IngestResponse setNumberOfNumericalObject(Long numberOfNumericalObject)
      Parameters:
      numberOfNumericalObject - to set
      Returns:
      this
    • getGuidNumObjList

      public List<String> getGuidNumObjList()
      Returns:
      list of String
    • setGuidNumObjList

      public IngestResponse setGuidNumObjList(List<String> guidNumObjList)
      Setter GuidNumObjList
      Parameters:
      guidNumObjList - to set
      Returns:
      this
    • addGuidNumericObject

      public IngestResponse addGuidNumericObject(String guid)
      Parameters:
      guid - to add in response
      Returns:
      this
    • getListGuidObjectAsString

      public String getListGuidObjectAsString()
      Returns:
      listGuid such as String