public class ProvResourceMapBuilder extends Object
Constructor and Description |
---|
ProvResourceMapBuilder() |
Modifier and Type | Method and Description |
---|---|
org.dspace.foresite.ResourceMap |
addUsed(org.dspace.foresite.ResourceMap resourceMap,
Identifier subjectId,
Identifier objectId)
Adds a addUsed triple to the specified Resource Map
|
org.dspace.foresite.ResourceMap |
addUsed(org.dspace.foresite.ResourceMap resourceMap,
Map<Identifier,List<Identifier>> idMap)
Add multiple addUsed triples to the specified Resource Map
|
org.dspace.foresite.ResourceMap |
addWasDerivedFrom(org.dspace.foresite.ResourceMap resourceMap,
Identifier primaryDataId,
Identifier derivedDataId)
Adds a wasDerivedFrom triple to the specified Resource Map
|
org.dspace.foresite.ResourceMap |
addWasDerivedFrom(org.dspace.foresite.ResourceMap resourceMap,
Map<Identifier,List<Identifier>> idMap)
Add multiple wasDerivedFrom triples to the specified Resource Map
|
org.dspace.foresite.ResourceMap |
addWasGeneratedBy(org.dspace.foresite.ResourceMap resourceMap,
Identifier subjectId,
Identifier objectId)
Adds a wasGeneratedBy triple to the specified Resource Map
|
org.dspace.foresite.ResourceMap |
addWasGeneratedBy(org.dspace.foresite.ResourceMap resourceMap,
Map<Identifier,List<Identifier>> idMap)
Add multiple addWasGeneratedBy triples to the specified Resource Map
|
org.dspace.foresite.ResourceMap |
addWasInformedBy(org.dspace.foresite.ResourceMap resourceMap,
Identifier subjectId,
Identifier objectId)
Adds a addWasInformedBy triple to the specified Resource Map
|
org.dspace.foresite.ResourceMap |
addWasInformedBy(org.dspace.foresite.ResourceMap resourceMap,
Map<Identifier,List<Identifier>> idMap)
Add multiple addWasInformedBy triples to the specified Resource Map
|
org.dspace.foresite.ResourceMap |
getModel()
Return the RDF model as a ResourceMap.
|
org.dspace.foresite.ResourceMap |
insertRelationship(org.dspace.foresite.ResourceMap resourceMap,
com.hp.hpl.jena.rdf.model.Resource subject,
com.hp.hpl.jena.rdf.model.Property predicate,
List<com.hp.hpl.jena.rdf.model.RDFNode> objects)
Insert statements into the resource map graph using the given subject, predicate, and list
of object URIs.
|
org.dspace.foresite.ResourceMap |
insertRelationship(org.dspace.foresite.ResourceMap resourceMap,
String blankSubjectID,
com.hp.hpl.jena.rdf.model.Property predicate,
List<com.hp.hpl.jena.rdf.model.RDFNode> objects)
Insert statements into the resource map graph using a blank (anonymous) node ID
as the subject, a predicate, and a list of objects.
|
public org.dspace.foresite.ResourceMap addWasDerivedFrom(org.dspace.foresite.ResourceMap resourceMap, Identifier primaryDataId, Identifier derivedDataId) throws org.dspace.foresite.OREException, URISyntaxException
resourceMap
- primaryDataId
- derivedDataId
- org.dspace.foresite.OREException
URISyntaxException
public org.dspace.foresite.ResourceMap addWasDerivedFrom(org.dspace.foresite.ResourceMap resourceMap, Map<Identifier,List<Identifier>> idMap) throws org.dspace.foresite.OREException, URISyntaxException
resourceMap
- idMap
- org.dspace.foresite.OREException
URISyntaxException
public org.dspace.foresite.ResourceMap addWasGeneratedBy(org.dspace.foresite.ResourceMap resourceMap, Identifier subjectId, Identifier objectId) throws org.dspace.foresite.OREException, URISyntaxException
resourceMap
- subjectId
- objectId
- org.dspace.foresite.OREException
URISyntaxException
public org.dspace.foresite.ResourceMap addWasGeneratedBy(org.dspace.foresite.ResourceMap resourceMap, Map<Identifier,List<Identifier>> idMap) throws org.dspace.foresite.OREException, URISyntaxException
resourceMap
- idMap
- org.dspace.foresite.OREException
URISyntaxException
public org.dspace.foresite.ResourceMap addWasInformedBy(org.dspace.foresite.ResourceMap resourceMap, Identifier subjectId, Identifier objectId) throws org.dspace.foresite.OREException, URISyntaxException
resourceMap
- subjectId
- objectId
- org.dspace.foresite.OREException
URISyntaxException
public org.dspace.foresite.ResourceMap addWasInformedBy(org.dspace.foresite.ResourceMap resourceMap, Map<Identifier,List<Identifier>> idMap) throws org.dspace.foresite.OREException, URISyntaxException
resourceMap
- idMap
- org.dspace.foresite.OREException
URISyntaxException
public org.dspace.foresite.ResourceMap addUsed(org.dspace.foresite.ResourceMap resourceMap, Identifier subjectId, Identifier objectId) throws org.dspace.foresite.OREException, URISyntaxException
resourceMap
- subjectId
- objectId
- org.dspace.foresite.OREException
URISyntaxException
public org.dspace.foresite.ResourceMap addUsed(org.dspace.foresite.ResourceMap resourceMap, Map<Identifier,List<Identifier>> idMap) throws org.dspace.foresite.OREException, URISyntaxException
resourceMap
- idMap
- org.dspace.foresite.OREException
URISyntaxException
public org.dspace.foresite.ResourceMap insertRelationship(org.dspace.foresite.ResourceMap resourceMap, com.hp.hpl.jena.rdf.model.Resource subject, com.hp.hpl.jena.rdf.model.Property predicate, List<com.hp.hpl.jena.rdf.model.RDFNode> objects) throws org.dspace.foresite.OREException
resourceMap
- The resource map to be augmentedsubject
- The URI identifying the subject of each statementpredicate
- The Predicate identifying the relation of each statementobjects
- A list of URIs identifying the objects of each statementorg.dspace.foresite.OREException
public org.dspace.foresite.ResourceMap insertRelationship(org.dspace.foresite.ResourceMap resourceMap, String blankSubjectID, com.hp.hpl.jena.rdf.model.Property predicate, List<com.hp.hpl.jena.rdf.model.RDFNode> objects) throws org.dspace.foresite.OREException
resourceMap
- blankSubjectID
- predicate
- objects
- org.dspace.foresite.OREException
public org.dspace.foresite.ResourceMap getModel() throws org.dspace.foresite.OREException
org.dspace.foresite.OREException
Copyright © 2020. All Rights Reserved.