public class ProxyJena extends OREResourceJena implements Proxy
model, res
Constructor and Description |
---|
ProxyJena() |
Modifier and Type | Method and Description |
---|---|
void |
assertRelation(URI uri,
Proxy proxy) |
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.
|
URI |
getLineage() |
Vocab |
getOREType()
Get the Vocab element which refers to the ORE type that this object
is.
|
AggregatedResource |
getProxyFor() |
Aggregation |
getProxyIn() |
List<Proxy> |
getRelated(URI uri) |
void |
initialise(URI uri) |
void |
setLineage(URI externalProxy) |
void |
setProxyFor(AggregatedResource proxyFor) |
void |
setProxyForURI(URI uri) |
void |
setProxyIn(Aggregation proxyIn) |
void |
setProxyInURI(URI uri) |
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, 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(URI uri)
initialise
in interface Proxy
public AggregatedResource getProxyFor() throws OREException
getProxyFor
in interface Proxy
OREException
public void setProxyFor(AggregatedResource proxyFor)
setProxyFor
in interface Proxy
public void setProxyForURI(URI uri)
setProxyForURI
in interface Proxy
public Aggregation getProxyIn() throws OREException
getProxyIn
in interface Proxy
OREException
public void setProxyIn(Aggregation proxyIn)
setProxyIn
in interface Proxy
public void setProxyInURI(URI uri)
setProxyInURI
in interface Proxy
public void assertRelation(URI uri, Proxy proxy) throws OREException
assertRelation
in interface Proxy
OREException
public List<Proxy> getRelated(URI uri) throws OREException
getRelated
in interface Proxy
OREException
public void setLineage(URI externalProxy) throws OREException
setLineage
in interface Proxy
OREException
public URI getLineage() throws OREException
getLineage
in interface Proxy
OREException
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
Copyright © 2020. All rights reserved.