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, setResourceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAgent, addCreator, addRDF, addTriple, addTriples, addType, clearAgents, clearCreators, createTriple, createTriple, createTriple, createTriple, createTriple, createTriple, getAgents, getCreators, getTypes, getURI, listAllTriples, listAllTriples, listTriples, listTriples, removeTriple, setAgents, setCreatorspublic void empty()
OREResourceempty in interface OREResourceempty in class OREResourceJenapublic void detach()
throws OREException
OREResourcedetach in interface OREResourcedetach in class OREResourceJenaOREExceptionpublic void initialise()
Agentinitialise in interface Agentpublic void initialise(URI uri)
Agentinitialise in interface Agentpublic List<String> getNames()
Agentpublic void setNames(List<String> names)
Agentpublic void addName(String name)
Agentpublic List<URI> getMboxes() throws OREException
AgentgetMboxes in interface AgentOREExceptionpublic void setMboxes(List<URI> mboxes)
Agentpublic void addMbox(URI mbox)
Agentpublic 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 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.