Search in sources :

Example 1 with MCRUUIDURNGenerator

use of org.mycore.pi.urn.MCRUUIDURNGenerator in project mycore by MyCoRe-Org.

the class MCRPIUtils method generateURNFor.

private static MCRDNBURN generateURNFor(MCRObjectID mycoreID) throws MCRPersistentIdentifierException {
    String testGenerator = "testGenerator";
    MCRUUIDURNGenerator mcruuidurnGenerator = new MCRUUIDURNGenerator(testGenerator);
    return mcruuidurnGenerator.generate(mycoreID, "");
}
Also used : MCRUUIDURNGenerator(org.mycore.pi.urn.MCRUUIDURNGenerator)

Aggregations

MCRUUIDURNGenerator (org.mycore.pi.urn.MCRUUIDURNGenerator)1