|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.jastor.GraphThingFactory
org.openanzo.common.ontology.AnzoFactory
public class AnzoFactory
Factory for instantiating objects for ontology classes in the Anzo ontology. The get methods leave the graph unchanged and return a Java view of the object in the graph. The create methods may add certain baseline properties to the graph such as rdf:type and any properties with hasValue restrictions.
(URI: http://openanzo.org/ontologies/Anzo)
| Field Summary |
|---|
| Fields inherited from class org.openanzo.jastor.GraphThingFactory |
|---|
valueFactory |
| Constructor Summary | |
|---|---|
AnzoFactory()
|
|
| Method Summary | |
|---|---|
static ACL |
createACL(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of ACL. |
static ACL |
createACL(java.lang.String uri,
INamedGraph graph)
Create a new instance of ACL. |
static AnzoServer |
createAnzoServer(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of AnzoServer. |
static AnzoServer |
createAnzoServer(java.lang.String uri,
INamedGraph graph)
Create a new instance of AnzoServer. |
static AskResult |
createAskResult(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of AskResult. |
static AskResult |
createAskResult(java.lang.String uri,
INamedGraph graph)
Create a new instance of AskResult. |
static Command |
createCommand(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Command. |
static Command |
createCommand(java.lang.String uri,
INamedGraph graph)
Create a new instance of Command. |
static Dataset |
createDataset(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Dataset. |
static Dataset |
createDataset(java.lang.String uri,
INamedGraph graph)
Create a new instance of Dataset. |
static NamedGraph |
createNamedGraph(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of NamedGraph. |
static NamedGraph |
createNamedGraph(java.lang.String uri,
INamedGraph graph)
Create a new instance of NamedGraph. |
static Precondition |
createPrecondition(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Precondition. |
static Precondition |
createPrecondition(java.lang.String uri,
INamedGraph graph)
Create a new instance of Precondition. |
static Query |
createQuery(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Query. |
static Query |
createQuery(java.lang.String uri,
INamedGraph graph)
Create a new instance of Query. |
static Result |
createResult(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Result. |
static Result |
createResult(java.lang.String uri,
INamedGraph graph)
Create a new instance of Result. |
static Role |
createRole(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Role. |
static Role |
createRole(java.lang.String uri,
INamedGraph graph)
Create a new instance of Role. |
static SelectorTracker |
createSelectorTracker(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of SelectorTracker. |
static SelectorTracker |
createSelectorTracker(java.lang.String uri,
INamedGraph graph)
Create a new instance of SelectorTracker. |
static Tracker |
createTracker(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Tracker. |
static Tracker |
createTracker(java.lang.String uri,
INamedGraph graph)
Create a new instance of Tracker. |
static User |
createUser(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of User. |
static User |
createUser(java.lang.String uri,
INamedGraph graph)
Create a new instance of User. |
static ACL |
getACL(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of ACL. |
static ACL |
getACL(java.lang.String uri,
INamedGraph graph)
Create a new instance of ACL. |
static java.util.List<ACL> |
getAllACL(INamedGraph graph)
Return an instance of ACL for every resource in the model with rdf:Type http://openanzo.org/RBAC#ACL |
static java.util.List<AnzoServer> |
getAllAnzoServer(INamedGraph graph)
Return an instance of AnzoServer for every resource in the model with rdf:Type http://openanzo.org/types/AnzoServer |
static java.util.List<AskResult> |
getAllAskResult(INamedGraph graph)
Return an instance of AskResult for every resource in the model with rdf:Type http://openanzo.org/types/AskResult |
static java.util.List<Command> |
getAllCommand(INamedGraph graph)
Return an instance of Command for every resource in the model with rdf:Type http://openanzo.org/types/Command |
static java.util.List<Dataset> |
getAllDataset(INamedGraph graph)
Return an instance of Dataset for every resource in the model with rdf:Type http://openanzo.org/types/Dataset |
static java.util.List<NamedGraph> |
getAllNamedGraph(INamedGraph graph)
Return an instance of NamedGraph for every resource in the model with rdf:Type http://openanzo.org/types/NamedGraph |
static java.util.List<Precondition> |
getAllPrecondition(INamedGraph graph)
Return an instance of Precondition for every resource in the model with rdf:Type http://openanzo.org/types/Precondition |
static java.util.List<Query> |
getAllQuery(INamedGraph graph)
Return an instance of Query for every resource in the model with rdf:Type http://openanzo.org/types/Query |
static java.util.List<Result> |
getAllResult(INamedGraph graph)
Return an instance of Result for every resource in the model with rdf:Type http://openanzo.org/types/Result |
static java.util.List<Role> |
getAllRole(INamedGraph graph)
Return an instance of Role for every resource in the model with rdf:Type http://openanzo.org/RBAC#Role |
static java.util.List<SelectorTracker> |
getAllSelectorTracker(INamedGraph graph)
Return an instance of SelectorTracker for every resource in the model with rdf:Type http://openanzo.org/types/SelectorTracker |
static java.util.List<Tracker> |
getAllTracker(INamedGraph graph)
Return an instance of Tracker for every resource in the model with rdf:Type http://openanzo.org/types/Tracker |
static java.util.List<User> |
getAllUser(INamedGraph graph)
Return an instance of User for every resource in the model with rdf:Type http://openanzo.org/RBAC#User |
static AnzoServer |
getAnzoServer(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of AnzoServer. |
static AnzoServer |
getAnzoServer(java.lang.String uri,
INamedGraph graph)
Create a new instance of AnzoServer. |
static AskResult |
getAskResult(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of AskResult. |
static AskResult |
getAskResult(java.lang.String uri,
INamedGraph graph)
Create a new instance of AskResult. |
static Command |
getCommand(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Command. |
static Command |
getCommand(java.lang.String uri,
INamedGraph graph)
Create a new instance of Command. |
static Dataset |
getDataset(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Dataset. |
static Dataset |
getDataset(java.lang.String uri,
INamedGraph graph)
Create a new instance of Dataset. |
static GraphThing |
getGraphThing(org.openrdf.model.Resource res,
INamedGraph graph)
Returns an instance of an interface for the given Resource. |
static GraphThing |
getGraphThing(java.lang.String uri,
INamedGraph graph)
Returns an instance of an interface for the given Resource URI. |
static NamedGraph |
getNamedGraph(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of NamedGraph. |
static NamedGraph |
getNamedGraph(java.lang.String uri,
INamedGraph graph)
Create a new instance of NamedGraph. |
static Precondition |
getPrecondition(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Precondition. |
static Precondition |
getPrecondition(java.lang.String uri,
INamedGraph graph)
Create a new instance of Precondition. |
static Query |
getQuery(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Query. |
static Query |
getQuery(java.lang.String uri,
INamedGraph graph)
Create a new instance of Query. |
static Result |
getResult(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Result. |
static Result |
getResult(java.lang.String uri,
INamedGraph graph)
Create a new instance of Result. |
static Role |
getRole(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Role. |
static Role |
getRole(java.lang.String uri,
INamedGraph graph)
Create a new instance of Role. |
static SelectorTracker |
getSelectorTracker(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of SelectorTracker. |
static SelectorTracker |
getSelectorTracker(java.lang.String uri,
INamedGraph graph)
Create a new instance of SelectorTracker. |
static Tracker |
getTracker(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Tracker. |
static Tracker |
getTracker(java.lang.String uri,
INamedGraph graph)
Create a new instance of Tracker. |
static User |
getUser(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of User. |
static User |
getUser(java.lang.String uri,
INamedGraph graph)
Create a new instance of User. |
static java.util.List<java.lang.Class<? extends GraphThing>> |
listCompatibleInterfaces(org.openrdf.model.Resource type)
Return a list of compatible interfaces for the given type. |
| Methods inherited from class org.openanzo.jastor.GraphThingFactory |
|---|
clearCache, clearCaches, createGraphThing, createGraphThing |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnzoFactory()
| Method Detail |
|---|
public static SelectorTracker createSelectorTracker(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the SelectorTrackergraph - the INamedGraph containing data.
JastorException
public static SelectorTracker createSelectorTracker(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the SelectorTrackergraph - the INamedGraph containing data.
JastorException
public static SelectorTracker getSelectorTracker(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the SelectorTrackergraph - the INamedGraph containing data.
JastorException
public static SelectorTracker getSelectorTracker(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the SelectorTrackergraph - the INamedGraph containing data.
JastorException
public static java.util.List<SelectorTracker> getAllSelectorTracker(INamedGraph graph)
throws JastorException
graph - the INamedGraph
JastorException
public static Precondition createPrecondition(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Preconditiongraph - the INamedGraph containing data.
JastorException
public static Precondition createPrecondition(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Preconditiongraph - the INamedGraph containing data.
JastorException
public static Precondition getPrecondition(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Preconditiongraph - the INamedGraph containing data.
JastorException
public static Precondition getPrecondition(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Preconditiongraph - the INamedGraph containing data.
JastorException
public static java.util.List<Precondition> getAllPrecondition(INamedGraph graph)
throws JastorException
graph - the INamedGraph
JastorException
public static AskResult createAskResult(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the AskResultgraph - the INamedGraph containing data.
JastorException
public static AskResult createAskResult(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the AskResultgraph - the INamedGraph containing data.
JastorException
public static AskResult getAskResult(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the AskResultgraph - the INamedGraph containing data.
JastorException
public static AskResult getAskResult(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the AskResultgraph - the INamedGraph containing data.
JastorException
public static java.util.List<AskResult> getAllAskResult(INamedGraph graph)
throws JastorException
graph - the INamedGraph
JastorException
public static Query createQuery(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Querygraph - the INamedGraph containing data.
JastorException
public static Query createQuery(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Querygraph - the INamedGraph containing data.
JastorException
public static Query getQuery(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Querygraph - the INamedGraph containing data.
JastorException
public static Query getQuery(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Querygraph - the INamedGraph containing data.
JastorException
public static java.util.List<Query> getAllQuery(INamedGraph graph)
throws JastorException
graph - the INamedGraph
JastorException
public static AnzoServer createAnzoServer(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the AnzoServergraph - the INamedGraph containing data.
JastorException
public static AnzoServer createAnzoServer(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the AnzoServergraph - the INamedGraph containing data.
JastorException
public static AnzoServer getAnzoServer(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the AnzoServergraph - the INamedGraph containing data.
JastorException
public static AnzoServer getAnzoServer(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the AnzoServergraph - the INamedGraph containing data.
JastorException
public static java.util.List<AnzoServer> getAllAnzoServer(INamedGraph graph)
throws JastorException
graph - the INamedGraph
JastorException
public static NamedGraph createNamedGraph(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the NamedGraphgraph - the INamedGraph containing data.
JastorException
public static NamedGraph createNamedGraph(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the NamedGraphgraph - the INamedGraph containing data.
JastorException
public static NamedGraph getNamedGraph(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the NamedGraphgraph - the INamedGraph containing data.
JastorException
public static NamedGraph getNamedGraph(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the NamedGraphgraph - the INamedGraph containing data.
JastorException
public static java.util.List<NamedGraph> getAllNamedGraph(INamedGraph graph)
throws JastorException
graph - the INamedGraph
JastorException
public static ACL createACL(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the ACLgraph - the INamedGraph containing data.
JastorException
public static ACL createACL(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the ACLgraph - the INamedGraph containing data.
JastorException
public static ACL getACL(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the ACLgraph - the INamedGraph containing data.
JastorException
public static ACL getACL(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the ACLgraph - the INamedGraph containing data.
JastorException
public static java.util.List<ACL> getAllACL(INamedGraph graph)
throws JastorException
graph - the INamedGraph
JastorException
public static Dataset createDataset(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Datasetgraph - the INamedGraph containing data.
JastorException
public static Dataset createDataset(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Datasetgraph - the INamedGraph containing data.
JastorException
public static Dataset getDataset(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Datasetgraph - the INamedGraph containing data.
JastorException
public static Dataset getDataset(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Datasetgraph - the INamedGraph containing data.
JastorException
public static java.util.List<Dataset> getAllDataset(INamedGraph graph)
throws JastorException
graph - the INamedGraph
JastorException
public static Result createResult(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Resultgraph - the INamedGraph containing data.
JastorException
public static Result createResult(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Resultgraph - the INamedGraph containing data.
JastorException
public static Result getResult(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Resultgraph - the INamedGraph containing data.
JastorException
public static Result getResult(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Resultgraph - the INamedGraph containing data.
JastorException
public static java.util.List<Result> getAllResult(INamedGraph graph)
throws JastorException
graph - the INamedGraph
JastorException
public static Role createRole(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Rolegraph - the INamedGraph containing data.
JastorException
public static Role createRole(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Rolegraph - the INamedGraph containing data.
JastorException
public static Role getRole(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Rolegraph - the INamedGraph containing data.
JastorException
public static Role getRole(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Rolegraph - the INamedGraph containing data.
JastorException
public static java.util.List<Role> getAllRole(INamedGraph graph)
throws JastorException
graph - the INamedGraph
JastorException
public static Tracker createTracker(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Trackergraph - the INamedGraph containing data.
JastorException
public static Tracker createTracker(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Trackergraph - the INamedGraph containing data.
JastorException
public static Tracker getTracker(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Trackergraph - the INamedGraph containing data.
JastorException
public static Tracker getTracker(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Trackergraph - the INamedGraph containing data.
JastorException
public static java.util.List<Tracker> getAllTracker(INamedGraph graph)
throws JastorException
graph - the INamedGraph
JastorException
public static User createUser(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Usergraph - the INamedGraph containing data.
JastorException
public static User createUser(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Usergraph - the INamedGraph containing data.
JastorException
public static User getUser(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Usergraph - the INamedGraph containing data.
JastorException
public static User getUser(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Usergraph - the INamedGraph containing data.
JastorException
public static java.util.List<User> getAllUser(INamedGraph graph)
throws JastorException
graph - the INamedGraph
JastorException
public static Command createCommand(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Commandgraph - the INamedGraph containing data.
JastorException
public static Command createCommand(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Commandgraph - the INamedGraph containing data.
JastorException
public static Command getCommand(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Commandgraph - the INamedGraph containing data.
JastorException
public static Command getCommand(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Commandgraph - the INamedGraph containing data.
JastorException
public static java.util.List<Command> getAllCommand(INamedGraph graph)
throws JastorException
graph - the INamedGraph
JastorException
public static GraphThing getGraphThing(org.openrdf.model.Resource res,
INamedGraph graph)
throws JastorException
JastorException