public class ResourceMapJena extends OREResourceJena implements ResourceMap
model, res| Constructor and Description |
|---|
ResourceMapJena() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCreator(Agent creator) |
void |
clearCreators() |
void |
clearTypes()
Remove all the types associated with this resource.
|
ResourceMap |
copy() |
Aggregation |
createAggregation(URI uri) |
void |
detach()
Detach the current object from the current model.
|
List<Triple> |
doSparql(String sparql) |
void |
empty()
Remove everyting inside the object, but leave the object itself
in existence.
|
List<AggregatedResource> |
getAggregatedResources() |
Aggregation |
getAggregation() |
Date |
getCreated() |
List<Agent> |
getCreators() |
Date |
getModified() |
Vocab |
getOREType()
Get the Vocab element which refers to the ORE type that this object
is.
|
String |
getRights() |
void |
initialise(URI uri) |
boolean |
isAuthoritative() |
void |
removeAggregation() |
void |
removeModified() |
void |
removeRights() |
void |
setAggregation(Aggregation aggregation) |
void |
setAuthoritative(boolean authoritative) |
void |
setCreated(Date created) |
void |
setCreators(List<Agent> creators) |
void |
setModel(com.hp.hpl.jena.rdf.model.Model model,
URI resourceURI) |
void |
setModified(Date modified) |
void |
setRights(String rights) |
void |
setTypes(List<URI> types)
Set the list of types associated with this resource.
|
aboveInHierarchy, addAgent, addModelToModel, addRDF, addResourceToModel, addTriple, addTriples, addType, clearAgents, createTriple, createTriple, createTriple, createTriple, createTriple, createTriple, getAgents, getModel, getOREObjectOfPredicates, getORESubjectOfPredicates, getOREType, getResource, getTypes, getURI, isUsedElsewhere, listAllTriples, listAllTriples, listTriples, listTriples, listTriples, prune, recursivelyRemovable, recursiveRemove, removeTriple, setAgents, setModel, setResourceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAgent, addRDF, addTriple, addTriples, addType, clearAgents, createTriple, createTriple, createTriple, createTriple, createTriple, createTriple, getAgents, getTypes, getURI, listAllTriples, listAllTriples, listTriples, listTriples, removeTriple, setAgentspublic void empty()
OREResourceempty in interface OREResourceempty in class OREResourceJenapublic void detach()
throws OREException
OREResourcedetach in interface OREResourcedetach in class OREResourceJenaOREExceptionpublic void initialise(URI uri) throws OREException
initialise in interface ResourceMapOREExceptionpublic boolean isAuthoritative()
throws OREException
isAuthoritative in interface ResourceMapOREExceptionpublic void setAuthoritative(boolean authoritative)
throws OREException
setAuthoritative in interface ResourceMapOREExceptionpublic List<Agent> getCreators()
getCreators in interface OREResourcegetCreators in class OREResourceJenapublic void setCreators(List<Agent> creators)
setCreators in interface OREResourcesetCreators in class OREResourceJenapublic void addCreator(Agent creator)
addCreator in interface OREResourceaddCreator in class OREResourceJenapublic void clearCreators()
clearCreators in interface OREResourceclearCreators in class OREResourceJenapublic Date getCreated() throws OREException
getCreated in interface ResourceMapOREExceptionpublic void setCreated(Date created)
setCreated in interface ResourceMappublic Date getModified() throws OREException
getModified in interface ResourceMapOREExceptionpublic void setModified(Date modified)
setModified in interface ResourceMappublic void removeModified()
throws OREException
removeModified in interface ResourceMapOREExceptionpublic String getRights()
getRights in interface ResourceMappublic void setRights(String rights)
setRights in interface ResourceMappublic void removeRights()
removeRights in interface ResourceMappublic void setTypes(List<URI> types)
OREResourcesetTypes in interface OREResourcesetTypes in class OREResourceJenapublic void clearTypes()
OREResourceclearTypes in interface OREResourceclearTypes in class OREResourceJenapublic Vocab getOREType() throws OREException
OREResourcegetOREType in interface OREResourceOREExceptionpublic Aggregation createAggregation(URI uri) throws OREException
createAggregation in interface ResourceMapOREExceptionpublic Aggregation getAggregation() throws OREException
getAggregation in interface ResourceMapOREExceptionpublic void setAggregation(Aggregation aggregation) throws OREException
setAggregation in interface ResourceMapOREExceptionpublic void removeAggregation()
throws OREException
removeAggregation in interface ResourceMapOREExceptionpublic List<AggregatedResource> getAggregatedResources() throws OREException
getAggregatedResources in interface ResourceMapOREExceptionpublic List<Triple> doSparql(String sparql)
doSparql in interface ResourceMappublic ResourceMap copy() throws OREException
copy in interface ResourceMapOREExceptionpublic void setModel(com.hp.hpl.jena.rdf.model.Model model,
URI resourceURI)
throws OREException
setModel in interface GraphResourcesetModel in class OREResourceJenaOREExceptionCopyright © 2020. All rights reserved.