Package edu.wisc.library.ocfl.core.db
Class OcflObjectDetails
- java.lang.Object
-
- edu.wisc.library.ocfl.core.db.OcflObjectDetails
-
public class OcflObjectDetails extends Object
Represents a ObjectDetails database record.
-
-
Constructor Summary
Constructors Constructor Description OcflObjectDetails()
-
Method Summary
-
-
-
Method Detail
-
getObjectId
public String getObjectId()
The OCFL object id- Returns:
- OCFL object id
-
setObjectId
public OcflObjectDetails setObjectId(String objectId)
-
getVersionNum
public VersionNum getVersionNum()
The HEAD version of the object- Returns:
- HEAD version of the object
-
setVersionNum
public OcflObjectDetails setVersionNum(VersionNum versionNum)
-
getRevisionNum
public RevisionNum getRevisionNum()
The HEAD revision of the object. This will only be set if the mutable HEAD extension is used.- Returns:
- HEAD revision number
-
setRevisionNum
public OcflObjectDetails setRevisionNum(RevisionNum revisionNum)
-
getObjectRootPath
public String getObjectRootPath()
The storage relative path to the object's root directory- Returns:
- storate relative path to the object's root directory
-
setObjectRootPath
public OcflObjectDetails setObjectRootPath(String objectRootPath)
-
getInventoryDigest
public String getInventoryDigest()
The digest of the serialized inventory- Returns:
- digest of the serialized inventory
-
setInventoryDigest
public OcflObjectDetails setInventoryDigest(String inventoryDigest)
-
getDigestAlgorithm
public DigestAlgorithm getDigestAlgorithm()
The algorithm used to compute the inventory digest- Returns:
- algorithm used to compute the inventory digest
-
setDigestAlgorithm
public OcflObjectDetails setDigestAlgorithm(DigestAlgorithm digestAlgorithm)
-
getInventoryBytes
public byte[] getInventoryBytes()
The bytes of the serialized inventory- Returns:
- bytes of the serialized inventory
-
setInventory
public OcflObjectDetails setInventory(byte[] inventoryBytes)
-
getUpdateTimestamp
public LocalDateTime getUpdateTimestamp()
The timestamp the record was last updated- Returns:
- timestamp the record was last updated
-
setUpdateTimestamp
public OcflObjectDetails setUpdateTimestamp(LocalDateTime updateTimestamp)
-
-