Class DataObjectInfo
java.lang.Object
fr.gouv.vitam.worker.common.utils.DataObjectInfo
The class DataObjectInfo is stored all information of the DataObjectInfo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAlgo()com.fasterxml.jackson.databind.node.ObjectNodeField to conatain the diff if size has not the same between manifest and binary filegetId()intgetRank()getSize()getType()getUri()setAlgo(DigestType algo) setDiffSizeJson(com.fasterxml.jackson.databind.node.ObjectNode diffSizeJson) setMessageDigest(String messageDigest) setPhysicalId(String physicalId) setRank(int rank) setSizeIncorrect(Boolean sizeIncorrect) setVersion(String version)
-
Constructor Details
-
DataObjectInfo
public DataObjectInfo()
-
-
Method Details
-
getId
- Returns:
- id of the data object
-
setId
- Parameters:
id- the id of the data to set- Returns:
- DataObjectInfo
-
getVersion
- Returns:
- version of the data object
-
setVersion
- Parameters:
version- the version of the data to set- Returns:
- BinaryObjectInfo
-
getUri
- Returns:
- uri of the data as String
-
setUri
- Parameters:
uri- uri of the data object as String- Returns:
- BinaryObjectInfo
-
getMessageDigest
- Returns:
- messageDigest as String
-
setMessageDigest
- Parameters:
messageDigest- the message digest of the data to set- Returns:
- BinaryObjectInfo
-
getSize
- Returns:
- size
-
setSize
- Parameters:
size- the size of the data to set- Returns:
- BinaryObjectInfo
-
getAlgo
- Returns:
- DigestType
-
setAlgo
- Parameters:
algo- digest algorithm- Returns:
- BinaryObjectInfo
-
getRank
public int getRank()- Returns:
- the rank in version
-
setRank
- Parameters:
rank- the rank in version- Returns:
- this
-
getType
- Returns:
- type as String
-
setType
- Parameters:
type- the type of the data to set- Returns:
- BinaryObjectInfo
-
getPhysicalId
- Returns:
- physicalId as String
-
setPhysicalId
- Parameters:
physicalId- the physical Id of the data to set- Returns:
- BinaryObjectInfo
-
getDiffSizeJson
public com.fasterxml.jackson.databind.node.ObjectNode getDiffSizeJson()Field to conatain the diff if size has not the same between manifest and binary file- Returns:
-
setDiffSizeJson
-
getSizeIncorrect
-
setSizeIncorrect
-