Package org.mycore.pi.doi
Class MCRCreateDateDOIGenerator
java.lang.Object
org.mycore.pi.MCRPIGenerator<MCRDigitalObjectIdentifier>
org.mycore.pi.doi.MCRCreateDateDOIGenerator
-
Constructor Summary
-
Method Summary
Methods inherited from class org.mycore.pi.MCRPIGenerator
checkPropertyExists, getGeneratorID, getProperties, init, setProperties
-
Constructor Details
-
MCRCreateDateDOIGenerator
public MCRCreateDateDOIGenerator()
-
-
Method Details
-
generate
public MCRDigitalObjectIdentifier generate(MCRBase mcrObj, String additional) throws MCRPersistentIdentifierException Description copied from class:MCRPIGenerator
generates aMCRPersistentIdentifier
- Specified by:
generate
in classMCRPIGenerator<MCRDigitalObjectIdentifier>
- Parameters:
mcrObj
- the mycore object for which the identifier is generatedadditional
- additional information dedicated to the object like a mcrpath- Returns:
- a unique persistence identifier
- Throws:
MCRPersistentIdentifierException
- if something goes wrong while generating
-