|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.jastor.GraphThingFactory
public class GraphThingFactory
A basic factory that provides create methods for building block OWL types.
| Field Summary | |
|---|---|
static AnzoValueFactory |
valueFactory
Reference to static Anzo valueFactory |
| Constructor Summary | |
|---|---|
GraphThingFactory()
|
|
| Method Summary | |
|---|---|
static void |
clearCache()
Remove all objects from static cache of this factory. |
static void |
clearCaches(java.lang.Class<GraphThing> type)
Clear the property caches of the individual objects cached in this factory. |
static GraphThing |
createGraphThing(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new DatasetThing if one doesn't already exist |
static GraphThing |
createGraphThing(java.lang.String uri,
INamedGraph graph)
Create a new DatasetThing if one doesn't already exist |
static GraphThing |
getGraphThing(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new DatasetThing if one doesn't already exist |
static GraphThing |
getGraphThing(java.lang.String uri,
INamedGraph graph)
Create a new DatasetThing if one doesn't already exist |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static AnzoValueFactory valueFactory
| Constructor Detail |
|---|
public GraphThingFactory()
| Method Detail |
|---|
public static GraphThing createGraphThing(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - Resource for objectgraph - NamedGraph where resource resides
JastorException - if resource or graph parameter is null
public static GraphThing createGraphThing(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - String representation of Resource for objectgraph - NamedGraph where resource resides
JastorException - if uri or graph parameter is null
public static GraphThing getGraphThing(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - Resource for objectgraph - NamedGraph where resource resides
JastorException - if resource or graph parameter is null
public static GraphThing getGraphThing(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - String representation of Resource for objectgraph - NamedGraph where resource resides
JastorException - if uri or graph parameter is nullpublic static void clearCache()
public static void clearCaches(java.lang.Class<GraphThing> type)
type - if not null, clear caches of objects of this type only
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||