Class UpdatedDocument
- java.lang.Object
-
- fr.gouv.vitam.metadata.core.model.UpdatedDocument
-
public class UpdatedDocument extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UpdatedDocument.UpdatedDocumentStatus
-
Constructor Summary
Constructors Constructor Description UpdatedDocument()
UpdatedDocument(java.lang.String documentId, com.fasterxml.jackson.databind.JsonNode beforeUpdate, com.fasterxml.jackson.databind.JsonNode afterUpdate, boolean updated)
UpdatedDocument(java.lang.String documentId, com.fasterxml.jackson.databind.JsonNode beforeUpdate, com.fasterxml.jackson.databind.JsonNode afterUpdate, boolean updated, MetadataValidationErrorCode validationErrorCode, java.lang.String failureMessage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode
getAfterUpdate()
com.fasterxml.jackson.databind.JsonNode
getBeforeUpdate()
java.lang.String
getDocumentId()
java.lang.String
getFailureMessage()
UpdatedDocument.UpdatedDocumentStatus
getStatus()
MetadataValidationErrorCode
getValidationErrorCode()
boolean
isUpdated()
UpdatedDocument
setAfterUpdate(com.fasterxml.jackson.databind.JsonNode afterUpdate)
UpdatedDocument
setBeforeUpdate(com.fasterxml.jackson.databind.JsonNode beforeUpdate)
UpdatedDocument
setDocumentId(MetadataValidationErrorCode validationErrorCode)
UpdatedDocument
setDocumentId(java.lang.String documentId)
UpdatedDocument
setFailureMessage(java.lang.String failureMessage)
UpdatedDocument
setStatus(UpdatedDocument.UpdatedDocumentStatus status)
java.lang.String
toString()
-
-
-
Constructor Detail
-
UpdatedDocument
public UpdatedDocument()
-
UpdatedDocument
public UpdatedDocument(java.lang.String documentId, com.fasterxml.jackson.databind.JsonNode beforeUpdate, com.fasterxml.jackson.databind.JsonNode afterUpdate, boolean updated)
-
UpdatedDocument
public UpdatedDocument(java.lang.String documentId, com.fasterxml.jackson.databind.JsonNode beforeUpdate, com.fasterxml.jackson.databind.JsonNode afterUpdate, boolean updated, MetadataValidationErrorCode validationErrorCode, java.lang.String failureMessage)
-
-
Method Detail
-
getDocumentId
public java.lang.String getDocumentId()
-
getStatus
public UpdatedDocument.UpdatedDocumentStatus getStatus()
-
getFailureMessage
public java.lang.String getFailureMessage()
-
getValidationErrorCode
public MetadataValidationErrorCode getValidationErrorCode()
-
setDocumentId
public UpdatedDocument setDocumentId(java.lang.String documentId)
-
setDocumentId
public UpdatedDocument setDocumentId(MetadataValidationErrorCode validationErrorCode)
-
setFailureMessage
public UpdatedDocument setFailureMessage(java.lang.String failureMessage)
-
setStatus
public UpdatedDocument setStatus(UpdatedDocument.UpdatedDocumentStatus status)
-
getBeforeUpdate
public com.fasterxml.jackson.databind.JsonNode getBeforeUpdate()
-
setBeforeUpdate
public UpdatedDocument setBeforeUpdate(com.fasterxml.jackson.databind.JsonNode beforeUpdate)
-
getAfterUpdate
public com.fasterxml.jackson.databind.JsonNode getAfterUpdate()
-
setAfterUpdate
public UpdatedDocument setAfterUpdate(com.fasterxml.jackson.databind.JsonNode afterUpdate)
-
isUpdated
public boolean isUpdated()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-