Package org.mycore.pi.purl
Class MCRIDPURLGenerator
The property BaseURLTemplate is your url and the
MCRIDPURLGenerator
will replace $ID with the actual MyCoRe-ID.-
Constructor Summary
-
Method Summary
Methods inherited from class org.mycore.pi.MCRPIGenerator
checkPropertyExists, getGeneratorID, getProperties, init, setProperties
-
Constructor Details
-
MCRIDPURLGenerator
public MCRIDPURLGenerator()
-
-
Method Details
-
generate
Description copied from class:MCRPIGenerator
generates aMCRPersistentIdentifier
- Specified by:
generate
in classMCRPIGenerator<MCRPURL>
- 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
-