|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.jastor.GraphThingFactory
org.openanzo.atom.jastor.rdfs.Factory
public class Factory
Factory for instantiating objects for ontology classes in the 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://www.w3.org/2000/01/rdf-schema#)
| Field Summary |
|---|
| Fields inherited from class org.openanzo.jastor.GraphThingFactory |
|---|
valueFactory |
| Constructor Summary | |
|---|---|
Factory()
|
|
| Method Summary | |
|---|---|
static _Property |
create_Property(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of _Property. |
static _Property |
create_Property(java.lang.String uri,
INamedGraph graph)
Create a new instance of _Property. |
static _Resource |
create_Resource(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of _Resource. |
static _Resource |
create_Resource(java.lang.String uri,
INamedGraph graph)
Create a new instance of _Resource. |
static _Statement |
create_Statement(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of _Statement. |
static _Statement |
create_Statement(java.lang.String uri,
INamedGraph graph)
Create a new instance of _Statement. |
static Alt |
createAlt(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Alt. |
static Alt |
createAlt(java.lang.String uri,
INamedGraph graph)
Create a new instance of Alt. |
static Bag |
createBag(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Bag. |
static Bag |
createBag(java.lang.String uri,
INamedGraph graph)
Create a new instance of Bag. |
static Class |
createClass(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Class. |
static Class |
createClass(java.lang.String uri,
INamedGraph graph)
Create a new instance of Class. |
static Container |
createContainer(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Container. |
static Container |
createContainer(java.lang.String uri,
INamedGraph graph)
Create a new instance of Container. |
static ContainerMembershipProperty |
createContainerMembershipProperty(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of ContainerMembershipProperty. |
static ContainerMembershipProperty |
createContainerMembershipProperty(java.lang.String uri,
INamedGraph graph)
Create a new instance of ContainerMembershipProperty. |
static Datatype |
createDatatype(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Datatype. |
static Datatype |
createDatatype(java.lang.String uri,
INamedGraph graph)
Create a new instance of Datatype. |
static List |
createList(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of List. |
static List |
createList(java.lang.String uri,
INamedGraph graph)
Create a new instance of List. |
static Literal |
createLiteral(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Literal. |
static Literal |
createLiteral(java.lang.String uri,
INamedGraph graph)
Create a new instance of Literal. |
static Seq |
createSeq(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Seq. |
static Seq |
createSeq(java.lang.String uri,
INamedGraph graph)
Create a new instance of Seq. |
static XMLLiteral |
createXMLLiteral(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of XMLLiteral. |
static XMLLiteral |
createXMLLiteral(java.lang.String uri,
INamedGraph graph)
Create a new instance of XMLLiteral. |
static _Property |
get_Property(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of _Property. |
static _Property |
get_Property(java.lang.String uri,
INamedGraph graph)
Create a new instance of _Property. |
static _Resource |
get_Resource(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of _Resource. |
static _Resource |
get_Resource(java.lang.String uri,
INamedGraph graph)
Create a new instance of _Resource. |
static _Statement |
get_Statement(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of _Statement. |
static _Statement |
get_Statement(java.lang.String uri,
INamedGraph graph)
Create a new instance of _Statement. |
static java.util.List<_Property> |
getAll_Property(INamedGraph graph)
Return an instance of _Property for every resource in the model with rdf:Type http://www.w3.org/1999/02/22-rdf-syntax-ns#Property |
static java.util.List<_Resource> |
getAll_Resource(INamedGraph graph)
Return an instance of _Resource for every resource in the model with rdf:Type http://www.w3.org/2000/01/rdf-schema#Resource |
static java.util.List<_Statement> |
getAll_Statement(INamedGraph graph)
Return an instance of _Statement for every resource in the model with rdf:Type http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement |
static java.util.List<Alt> |
getAllAlt(INamedGraph graph)
Return an instance of Alt for every resource in the model with rdf:Type http://www.w3.org/1999/02/22-rdf-syntax-ns#Alt |
static java.util.List<Bag> |
getAllBag(INamedGraph graph)
Return an instance of Bag for every resource in the model with rdf:Type http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag |
static java.util.List<Class> |
getAllClass(INamedGraph graph)
Return an instance of Class for every resource in the model with rdf:Type http://www.w3.org/2000/01/rdf-schema#Class |
static java.util.List<Container> |
getAllContainer(INamedGraph graph)
Return an instance of Container for every resource in the model with rdf:Type http://www.w3.org/2000/01/rdf-schema#Container |
static java.util.List<ContainerMembershipProperty> |
getAllContainerMembershipProperty(INamedGraph graph)
Return an instance of ContainerMembershipProperty for every resource in the model with rdf:Type http://www.w3.org/2000/01/rdf-schema#ContainerMembershipProperty |
static java.util.List<Datatype> |
getAllDatatype(INamedGraph graph)
Return an instance of Datatype for every resource in the model with rdf:Type http://www.w3.org/2000/01/rdf-schema#Datatype |
static java.util.List<List> |
getAllList(INamedGraph graph)
Return an instance of List for every resource in the model with rdf:Type http://www.w3.org/1999/02/22-rdf-syntax-ns#List |
static java.util.List<Literal> |
getAllLiteral(INamedGraph graph)
Return an instance of Literal for every resource in the model with rdf:Type http://www.w3.org/2000/01/rdf-schema#Literal |
static java.util.List<Seq> |
getAllSeq(INamedGraph graph)
Return an instance of Seq for every resource in the model with rdf:Type http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq |
static java.util.List<XMLLiteral> |
getAllXMLLiteral(INamedGraph graph)
Return an instance of XMLLiteral for every resource in the model with rdf:Type http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral |
static Alt |
getAlt(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Alt. |
static Alt |
getAlt(java.lang.String uri,
INamedGraph graph)
Create a new instance of Alt. |
static Bag |
getBag(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Bag. |
static Bag |
getBag(java.lang.String uri,
INamedGraph graph)
Create a new instance of Bag. |
static Class |
getClass(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Class. |
static Class |
getClass(java.lang.String uri,
INamedGraph graph)
Create a new instance of Class. |
static Container |
getContainer(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Container. |
static Container |
getContainer(java.lang.String uri,
INamedGraph graph)
Create a new instance of Container. |
static ContainerMembershipProperty |
getContainerMembershipProperty(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of ContainerMembershipProperty. |
static ContainerMembershipProperty |
getContainerMembershipProperty(java.lang.String uri,
INamedGraph graph)
Create a new instance of ContainerMembershipProperty. |
static Datatype |
getDatatype(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Datatype. |
static Datatype |
getDatatype(java.lang.String uri,
INamedGraph graph)
Create a new instance of Datatype. |
static List |
getList(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of List. |
static List |
getList(java.lang.String uri,
INamedGraph graph)
Create a new instance of List. |
static Literal |
getLiteral(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Literal. |
static Literal |
getLiteral(java.lang.String uri,
INamedGraph graph)
Create a new instance of Literal. |
static Seq |
getSeq(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Seq. |
static Seq |
getSeq(java.lang.String uri,
INamedGraph graph)
Create a new instance of Seq. |
static XMLLiteral |
getXMLLiteral(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of XMLLiteral. |
static XMLLiteral |
getXMLLiteral(java.lang.String uri,
INamedGraph graph)
Create a new instance of XMLLiteral. |
static java.util.List |
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, getGraphThing, getGraphThing |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Factory()
| Method Detail |
|---|
public static _Statement create_Statement(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the _Statementgraph - the Jena graph.
JastorException
public static _Statement create_Statement(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the _Statementgraph - the Jena graph.
JastorException
public static _Statement get_Statement(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the _Statementgraph - the Jena graph.
JastorException
public static _Statement get_Statement(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the _Statementgraph - the Jena graph.
JastorException
public static java.util.List<_Statement> getAll_Statement(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorException
public static Class createClass(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Classgraph - the Jena graph.
JastorException
public static Class createClass(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Classgraph - the Jena graph.
JastorException
public static Class getClass(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Classgraph - the Jena graph.
JastorException
public static Class getClass(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Classgraph - the Jena graph.
JastorException
public static java.util.List<Class> getAllClass(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorException
public static Alt createAlt(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Altgraph - the Jena graph.
JastorException
public static Alt createAlt(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Altgraph - the Jena graph.
JastorException
public static Alt getAlt(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Altgraph - the Jena graph.
JastorException
public static Alt getAlt(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Altgraph - the Jena graph.
JastorException
public static java.util.List<Alt> getAllAlt(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorException
public static Bag createBag(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Baggraph - the Jena graph.
JastorException
public static Bag createBag(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Baggraph - the Jena graph.
JastorException
public static Bag getBag(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Baggraph - the Jena graph.
JastorException
public static Bag getBag(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Baggraph - the Jena graph.
JastorException
public static java.util.List<Bag> getAllBag(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorException
public static List createList(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Listgraph - the Jena graph.
JastorException
public static List createList(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Listgraph - the Jena graph.
JastorException
public static List getList(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Listgraph - the Jena graph.
JastorException
public static List getList(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Listgraph - the Jena graph.
JastorException
public static java.util.List<List> getAllList(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorException
public static _Property create_Property(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the _Propertygraph - the Jena graph.
JastorException
public static _Property create_Property(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the _Propertygraph - the Jena graph.
JastorException
public static _Property get_Property(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the _Propertygraph - the Jena graph.
JastorException
public static _Property get_Property(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the _Propertygraph - the Jena graph.
JastorException
public static java.util.List<_Property> getAll_Property(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorException
public static XMLLiteral createXMLLiteral(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the XMLLiteralgraph - the Jena graph.
JastorException
public static XMLLiteral createXMLLiteral(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the XMLLiteralgraph - the Jena graph.
JastorException
public static XMLLiteral getXMLLiteral(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the XMLLiteralgraph - the Jena graph.
JastorException
public static XMLLiteral getXMLLiteral(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the XMLLiteralgraph - the Jena graph.
JastorException
public static java.util.List<XMLLiteral> getAllXMLLiteral(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorException
public static _Resource create_Resource(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the _Resourcegraph - the Jena graph.
JastorException
public static _Resource create_Resource(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the _Resourcegraph - the Jena graph.
JastorException
public static _Resource get_Resource(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the _Resourcegraph - the Jena graph.
JastorException
public static _Resource get_Resource(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the _Resourcegraph - the Jena graph.
JastorException
public static java.util.List<_Resource> getAll_Resource(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorException
public static ContainerMembershipProperty createContainerMembershipProperty(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the ContainerMembershipPropertygraph - the Jena graph.
JastorException
public static ContainerMembershipProperty createContainerMembershipProperty(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the ContainerMembershipPropertygraph - the Jena graph.
JastorException
public static ContainerMembershipProperty getContainerMembershipProperty(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the ContainerMembershipPropertygraph - the Jena graph.
JastorException
public static ContainerMembershipProperty getContainerMembershipProperty(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the ContainerMembershipPropertygraph - the Jena graph.
JastorException
public static java.util.List<ContainerMembershipProperty> getAllContainerMembershipProperty(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorException
public static Seq createSeq(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Seqgraph - the Jena graph.
JastorException
public static Seq createSeq(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Seqgraph - the Jena graph.
JastorException
public static Seq getSeq(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Seqgraph - the Jena graph.
JastorException
public static Seq getSeq(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Seqgraph - the Jena graph.
JastorException
public static java.util.List<Seq> getAllSeq(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorException
public static Container createContainer(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Containergraph - the Jena graph.
JastorException
public static Container createContainer(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Containergraph - the Jena graph.
JastorException
public static Container getContainer(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Containergraph - the Jena graph.
JastorException
public static Container getContainer(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Containergraph - the Jena graph.
JastorException
public static java.util.List<Container> getAllContainer(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorException
public static Datatype createDatatype(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Datatypegraph - the Jena graph.
JastorException
public static Datatype createDatatype(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Datatypegraph - the Jena graph.
JastorException
public static Datatype getDatatype(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Datatypegraph - the Jena graph.
JastorException
public static Datatype getDatatype(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Datatypegraph - the Jena graph.
JastorException
public static java.util.List<Datatype> getAllDatatype(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorException
public static Literal createLiteral(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Literalgraph - the Jena graph.
JastorException
public static Literal createLiteral(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Literalgraph - the Jena graph.
JastorException
public static Literal getLiteral(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Literalgraph - the Jena graph.
JastorException
public static Literal getLiteral(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Literalgraph - the Jena graph.
JastorException
public static java.util.List<Literal> getAllLiteral(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorExceptionpublic static java.util.List listCompatibleInterfaces(org.openrdf.model.Resource type)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||