|
||||||||||
| 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.owl.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/2002/07/owl#)
| Field Summary |
|---|
| Fields inherited from class org.openanzo.jastor.GraphThingFactory |
|---|
valueFactory |
| Constructor Summary | |
|---|---|
Factory()
|
|
| Method Summary | |
|---|---|
static ObjectProperty |
createObjectProperty(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of ObjectProperty. |
static ObjectProperty |
createObjectProperty(java.lang.String uri,
INamedGraph graph)
Create a new instance of ObjectProperty. |
static java.util.List<ObjectProperty> |
getAllObjectProperty(INamedGraph graph)
Return an instance of ObjectProperty for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#ObjectProperty |
static ObjectProperty |
getObjectProperty(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of ObjectProperty. |
static ObjectProperty |
getObjectProperty(java.lang.String uri,
INamedGraph graph)
Create a new instance of ObjectProperty. |
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 ObjectProperty createObjectProperty(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the ObjectPropertygraph - the Jena graph.
JastorException
public static ObjectProperty createObjectProperty(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the ObjectPropertygraph - the Jena graph.
JastorException
public static ObjectProperty getObjectProperty(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the ObjectPropertygraph - the Jena graph.
JastorException
public static ObjectProperty getObjectProperty(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the ObjectPropertygraph - the Jena graph.
JastorException
public static java.util.List<ObjectProperty> getAllObjectProperty(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 | |||||||||