Package org.fcrepo.persistence.ocfl.impl
Class FedoraOcflMapping
java.lang.Object
org.fcrepo.persistence.ocfl.impl.FedoraOcflMapping
A mapping that links the parent fedora resource to its corresponding OCFL object.
- Author:
- dbernstein
-
Constructor Summary
ConstructorsConstructorDescriptionFedoraOcflMapping(org.fcrepo.kernel.api.identifiers.FedoraId rootObjectIdentifier, String ocflObjectId) Default constructor -
Method Summary
-
Constructor Details
-
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 Details
-
getRootObjectIdentifier
The id for the fedora resource which represents this ocfl object- Returns:
- the fedora root object identifier
-
getOcflObjectId
Retrieve the OCFL object identifier associated with the Fedora resource- Returns:
- the ocfl object identifier
-
toString
-
equals
-
hashCode
-