public class AgentJena extends OREResourceJena implements Agent
model, res
Constructor and Description |
---|
AgentJena() |
Modifier and Type | Method and Description |
---|---|
void |
addMbox(URI mbox)
Add the given mbox (i.e.
|
void |
addName(String name)
Add the given name to the current list of names associated with this Agent
|
void |
clearTypes()
Remove all the types associated with this resource.
|
void |
detach()
Detach the current object from the current model.
|
void |
empty()
Remove everyting inside the object, but leave the object itself
in existence.
|
List<URI> |
getMboxes()
Get all the mboxes (i.e.
|
List<String> |
getNames()
Get all the names associated with this Agent
|
Vocab |
getOREType()
Get the Vocab element which refers to the ORE type that this object
is.
|
void |
initialise()
Initialise an Agent as a blank node
|
void |
initialise(URI uri)
Initialise an Agent with the given URI
|
void |
setMboxes(List<URI> mboxes)
Set the list of mboxes (i.e.
|
void |
setModel(com.hp.hpl.jena.rdf.model.Model model,
URI resourceURI) |
void |
setNames(List<String> names)
Set the list of names associated with this Agent.
|
void |
setTypes(List<URI> types)
Set the list of types associated with this resource.
|
aboveInHierarchy, addAgent, addCreator, addModelToModel, addRDF, addResourceToModel, addTriple, addTriples, addType, clearAgents, clearCreators, createTriple, createTriple, createTriple, createTriple, createTriple, createTriple, getAgents, getCreators, getModel, getOREObjectOfPredicates, getORESubjectOfPredicates, getOREType, getResource, getTypes, getURI, isUsedElsewhere, listAllTriples, listAllTriples, listTriples, listTriples, listTriples, prune, recursivelyRemovable, recursiveRemove, removeTriple, setAgents, setCreators, setModel, setResource
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAgent, addCreator, addRDF, addTriple, addTriples, addType, clearAgents, clearCreators, createTriple, createTriple, createTriple, createTriple, createTriple, createTriple, getAgents, getCreators, getTypes, getURI, listAllTriples, listAllTriples, listTriples, listTriples, removeTriple, setAgents, setCreators
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()
Agent
initialise
in interface Agent
public void initialise(URI uri)
Agent
initialise
in interface Agent
public List<String> getNames()
Agent
public void setNames(List<String> names)
Agent
public void addName(String name)
Agent
public List<URI> getMboxes() throws OREException
Agent
getMboxes
in interface Agent
OREException
public void setMboxes(List<URI> mboxes)
Agent
public void addMbox(URI mbox)
Agent
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 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.