Class IngestResponse
- java.lang.Object
-
- fr.gouv.vitam.ingest.internal.api.response.IngestResponse
-
public class IngestResponse extends java.lang.Object
Class Ingest Reponse
-
-
Constructor Summary
Constructors Constructor Description IngestResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IngestResponse
addGuidNumericObject(java.lang.String guid)
java.lang.String
getCause()
java.lang.String
getContainerGuid()
java.lang.Boolean
getErrorOccured()
java.util.List<java.lang.String>
getGuidNumObjList()
java.lang.String
getListGuidObjectAsString()
java.lang.String
getMessage()
java.lang.Long
getNumberOfElements()
java.lang.Long
getNumberOfNumericalObject()
java.lang.Long
getNumericalObject()
java.lang.String
getSedaGuid()
IngestResponse
setCause(java.lang.String cause)
IngestResponse
setContainerGuid(java.lang.String containerGuid)
IngestResponse
setErrorOccured(java.lang.Boolean errorOccured)
IngestResponse
setGuidNumObjList(java.util.List<java.lang.String> guidNumObjList)
Setter GuidNumObjListIngestResponse
setMessage(java.lang.String message)
IngestResponse
setNumberOfElements(java.lang.Long numberOfElements)
IngestResponse
setNumberOfNumericalObject(java.lang.Long numberOfNumericalObject)
IngestResponse
setNumericalObject(java.lang.Long numberOfNumericalObject)
IngestResponse
setSedaGuid(java.lang.String sedaGuid)
-
-
-
Method Detail
-
getNumberOfElements
public java.lang.Long getNumberOfElements()
- Returns:
- the numberOfElements in a received SIP
-
setNumberOfElements
public IngestResponse setNumberOfElements(java.lang.Long numberOfElements)
- Parameters:
numberOfElements
- the numberOfElements to set from a received SIP- Returns:
- the current instance of IngestResponse
-
getCause
public java.lang.String getCause()
- Returns:
- the cause
-
setCause
public IngestResponse setCause(java.lang.String cause)
- Parameters:
cause
- the cause to set- Returns:
- this
-
getMessage
public java.lang.String getMessage()
- Returns:
- the message
-
setMessage
public IngestResponse setMessage(java.lang.String message)
- Parameters:
message
- the message to set- Returns:
- this
-
getErrorOccured
public java.lang.Boolean getErrorOccured()
- Returns:
- the errorOccured
-
setErrorOccured
public IngestResponse setErrorOccured(java.lang.Boolean errorOccured)
- Parameters:
errorOccured
- the errorOccured to set- Returns:
- this
-
getNumericalObject
public java.lang.Long getNumericalObject()
- Returns:
- the NumericalObject in a received SIP
-
setNumericalObject
public IngestResponse setNumericalObject(java.lang.Long numberOfNumericalObject)
- Parameters:
numberOfNumericalObject
- the NumericalObject to set from a received SIP- Returns:
- this
-
getContainerGuid
public java.lang.String getContainerGuid()
- Returns:
- the containerGuid
-
setContainerGuid
public IngestResponse setContainerGuid(java.lang.String containerGuid)
- Parameters:
containerGuid
- the containerGuid to set- Returns:
- this
-
getSedaGuid
public java.lang.String getSedaGuid()
- Returns:
- the sedaGuid
-
setSedaGuid
public IngestResponse setSedaGuid(java.lang.String sedaGuid)
- Parameters:
sedaGuid
- the sedaGuid to set- Returns:
- this
-
getNumberOfNumericalObject
public java.lang.Long getNumberOfNumericalObject()
- Returns:
- the numberOfElements in a received SIP
-
setNumberOfNumericalObject
public IngestResponse setNumberOfNumericalObject(java.lang.Long numberOfNumericalObject)
- Parameters:
numberOfNumericalObject
- to set- Returns:
- this
-
getGuidNumObjList
public java.util.List<java.lang.String> getGuidNumObjList()
- Returns:
- list of String
-
setGuidNumObjList
public IngestResponse setGuidNumObjList(java.util.List<java.lang.String> guidNumObjList)
Setter GuidNumObjList- Parameters:
guidNumObjList
- to set- Returns:
- this
-
addGuidNumericObject
public IngestResponse addGuidNumericObject(java.lang.String guid)
- Parameters:
guid
- to add in response- Returns:
- this
-
getListGuidObjectAsString
public java.lang.String getListGuidObjectAsString()
- Returns:
- listGuid such as String
-
-