|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.adtech.jastor.ThingFactory
ibspan.tss.layout.ontology.templates.TemplatesFactory
public class TemplatesFactory
Factory for instantiating objects for ontology classes in the Templates ontology. The get methods leave the model unchanged and return a Java view of the object in the model. The create methods may add certain baseline properties to the model such as rdf:type and any properties with hasValue restrictions.
(URI: http://www.ibspan.waw.pl/tss/db/Templates)
| Field Summary |
|---|
| Fields inherited from class com.ibm.adtech.jastor.ThingFactory |
|---|
copyright, listeners, objects |
| Constructor Summary | |
|---|---|
TemplatesFactory()
|
|
| Method Summary | |
|---|---|
static DummyClass |
createDummyClass(Resource resource,
Model model)
Create a new instance of DummyClass. |
static DummyClass |
createDummyClass(String uri,
Model model)
Create a new instance of DummyClass. |
static List |
getAllDummyClass(Model model)
Return an instance of DummyClass for every resource in the model with rdf:Type http://www.ibspan.waw.pl/tss/db/Templates#DummyClass |
static DummyClass |
getDummyClass(Resource resource,
Model model)
Create a new instance of DummyClass. |
static DummyClass |
getDummyClass(String uri,
Model model)
Create a new instance of DummyClass. |
static com.ibm.adtech.jastor.Thing |
getThing(Resource res,
Model model)
Returns an instance of an interface for the given Resource. |
static com.ibm.adtech.jastor.Thing |
getThing(String uri,
Model model)
Returns an instance of an interface for the given Resource URI. |
static List |
listCompatibleInterfaces(Resource type)
Return a list of compatible interfaces for the given type. |
| Methods inherited from class com.ibm.adtech.jastor.ThingFactory |
|---|
clearCache, clearCaches, createThing, createThing, registerThing |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TemplatesFactory()
| Method Detail |
|---|
public static DummyClass createDummyClass(Resource resource,
Model model)
throws com.ibm.adtech.jastor.JastorException
resource - The resource of the DummyClassmodel - the Jena Model.
com.ibm.adtech.jastor.JastorException
public static DummyClass createDummyClass(String uri,
Model model)
throws com.ibm.adtech.jastor.JastorException
uri - The uri of the DummyClassmodel - the Jena Model.
com.ibm.adtech.jastor.JastorException
public static DummyClass getDummyClass(String uri,
Model model)
throws com.ibm.adtech.jastor.JastorException
uri - The uri of the DummyClassmodel - the Jena Model.
com.ibm.adtech.jastor.JastorException
public static DummyClass getDummyClass(Resource resource,
Model model)
throws com.ibm.adtech.jastor.JastorException
resource - The resource of the DummyClassmodel - the Jena Model.
com.ibm.adtech.jastor.JastorException
public static List getAllDummyClass(Model model)
throws com.ibm.adtech.jastor.JastorException
model - the Jena Model
com.ibm.adtech.jastor.JastorException
public static com.ibm.adtech.jastor.Thing getThing(Resource res,
Model model)
throws com.ibm.adtech.jastor.JastorException
com.ibm.adtech.jastor.JastorException
public static com.ibm.adtech.jastor.Thing getThing(String uri,
Model model)
throws com.ibm.adtech.jastor.JastorException
com.ibm.adtech.jastor.JastorExceptionpublic static List listCompatibleInterfaces(Resource type)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||