Class UpdatedDocument
- java.lang.Object
-
- fr.gouv.vitam.metadata.core.model.UpdatedDocument
-
public class UpdatedDocument extends java.lang.Object
-
-
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)
-
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()
boolean
isUpdated()
UpdatedDocument
setAfterUpdate(com.fasterxml.jackson.databind.JsonNode afterUpdate)
UpdatedDocument
setBeforeUpdate(com.fasterxml.jackson.databind.JsonNode beforeUpdate)
UpdatedDocument
setDocumentId(java.lang.String documentId)
java.lang.String
toString()
-
-
-
Method Detail
-
getDocumentId
public java.lang.String getDocumentId()
-
setDocumentId
public UpdatedDocument setDocumentId(java.lang.String documentId)
-
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
-
-