Package org.fcrepo.storage.ocfl
Class OcflVersionInfo
- java.lang.Object
-
- org.fcrepo.storage.ocfl.OcflVersionInfo
-
public class OcflVersionInfo extends Object
Contains OCFL version metadata for a resource version.- Author:
- pwinckles
-
-
Constructor Summary
Constructors Constructor Description OcflVersionInfo(String resourceId, String ocflObjectId, String versionNumber, Instant created)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)InstantgetCreated()StringgetOcflObjectId()StringgetResourceId()StringgetVersionNumber()inthashCode()StringtoString()
-
-
-
Method Detail
-
getResourceId
public String getResourceId()
- Returns:
- the resourceId of the resource the version is for
-
getOcflObjectId
public String getOcflObjectId()
- Returns:
- the OCFL object id the resource is in
-
getVersionNumber
public String getVersionNumber()
- Returns:
- the OCFL version number of the version
-
getCreated
public Instant getCreated()
- Returns:
- the timestamp when the version was created
-
-