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, setResource
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAgent, addRDF, addTriple, addTriples, addType, clearAgents, createTriple, createTriple, createTriple, createTriple, createTriple, createTriple, getAgents, getTypes, getURI, listAllTriples, listAllTriples, listTriples, listTriples, removeTriple, setAgents
public void empty()
OREResource
empty
in interface OREResource
empty
in class OREResourceJena
public void detach() throws OREException
OREResource
detach
in interface OREResource
detach
in class OREResourceJena
OREException
public void initialise(URI uri) throws OREException
initialise
in interface ResourceMap
OREException
public boolean isAuthoritative() throws OREException
isAuthoritative
in interface ResourceMap
OREException
public void setAuthoritative(boolean authoritative) throws OREException
setAuthoritative
in interface ResourceMap
OREException
public List<Agent> getCreators()
getCreators
in interface OREResource
getCreators
in class OREResourceJena
public void setCreators(List<Agent> creators)
setCreators
in interface OREResource
setCreators
in class OREResourceJena
public void addCreator(Agent creator)
addCreator
in interface OREResource
addCreator
in class OREResourceJena
public void clearCreators()
clearCreators
in interface OREResource
clearCreators
in class OREResourceJena
public Date getCreated() throws OREException
getCreated
in interface ResourceMap
OREException
public void setCreated(Date created)
setCreated
in interface ResourceMap
public Date getModified() throws OREException
getModified
in interface ResourceMap
OREException
public void setModified(Date modified)
setModified
in interface ResourceMap
public void removeModified() throws OREException
removeModified
in interface ResourceMap
OREException
public String getRights()
getRights
in interface ResourceMap
public void setRights(String rights)
setRights
in interface ResourceMap
public void removeRights()
removeRights
in interface ResourceMap
public void setTypes(List<URI> types)
OREResource
setTypes
in interface OREResource
setTypes
in class OREResourceJena
public void clearTypes()
OREResource
clearTypes
in interface OREResource
clearTypes
in class OREResourceJena
public Vocab getOREType() throws OREException
OREResource
getOREType
in interface OREResource
OREException
public Aggregation createAggregation(URI uri) throws OREException
createAggregation
in interface ResourceMap
OREException
public Aggregation getAggregation() throws OREException
getAggregation
in interface ResourceMap
OREException
public void setAggregation(Aggregation aggregation) throws OREException
setAggregation
in interface ResourceMap
OREException
public void removeAggregation() throws OREException
removeAggregation
in interface ResourceMap
OREException
public List<AggregatedResource> getAggregatedResources() throws OREException
getAggregatedResources
in interface ResourceMap
OREException
public List<Triple> doSparql(String sparql)
doSparql
in interface ResourceMap
public ResourceMap copy() throws OREException
copy
in interface ResourceMap
OREException
public void setModel(com.hp.hpl.jena.rdf.model.Model model, URI resourceURI) throws OREException
setModel
in interface GraphResource
setModel
in class OREResourceJena
OREException
Copyright © 2020. All rights reserved.