Package org.fcrepo.persistence.ocfl.impl
Class FedoraOcflMapping
- java.lang.Object
-
- org.fcrepo.persistence.ocfl.impl.FedoraOcflMapping
-
public class FedoraOcflMapping extends Object
A mapping that links the parent fedora resource to its corresponding OCFL object.- Author:
- dbernstein
-
-
Constructor Summary
Constructors Constructor Description FedoraOcflMapping(org.fcrepo.kernel.api.identifiers.FedoraId rootObjectIdentifier, String ocflObjectId)Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetOcflObjectId()Retrieve the OCFL object identifier associated with the Fedora resourceorg.fcrepo.kernel.api.identifiers.FedoraIdgetRootObjectIdentifier()The id for the fedora resource which represents this ocfl objectinthashCode()StringtoString()
-
-
-
Constructor Detail
-
FedoraOcflMapping
public FedoraOcflMapping(org.fcrepo.kernel.api.identifiers.FedoraId rootObjectIdentifier, String ocflObjectId)
Default constructor- Parameters:
rootObjectIdentifier- The fedora root object resource identifierocflObjectId- The OCFL Object identitifer
-
-
Method Detail
-
getRootObjectIdentifier
public org.fcrepo.kernel.api.identifiers.FedoraId getRootObjectIdentifier()
The id for the fedora resource which represents this ocfl object- Returns:
- the fedora root object identifier
-
getOcflObjectId
public String getOcflObjectId()
Retrieve the OCFL object identifier associated with the Fedora resource- Returns:
- the ocfl object identifier
-
-