|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.brayan.SECS.BLL.OntologyManager
public class OntologyManager
The Ontology Manager is Singleton designed and can load and drop owl files. It is also responsible to start inferential tasks.
| Field Summary | |
|---|---|
private com.hp.hpl.jena.rdf.model.Model |
baseModel
|
private com.hp.hpl.jena.rdf.model.Model |
deductionModel
|
private java.lang.String |
defaultNameSpace
|
private com.hp.hpl.jena.rdf.model.InfModel |
infModel
|
private static OntologyManager |
ref
class variables |
| Constructor Summary | |
|---|---|
private |
OntologyManager()
constructor not allowed to be called externally |
| Method Summary | |
|---|---|
java.lang.Object |
clone()
this overrides the clone() method - because it's of no use to us |
com.hp.hpl.jena.rdf.model.Model |
getBaseModel()
Returns the instantiated Model. |
com.hp.hpl.jena.rdf.model.Model |
getDeductionModel()
|
java.lang.String |
getDefaultNS()
|
com.hp.hpl.jena.rdf.model.InfModel |
getInfModel()
|
static OntologyManager |
getSingletonObject()
|
private void |
listTEST1()
|
private void |
listTEST2()
|
void |
loadCustomRules()
This method loads the custom SECS-Rules. |
private void |
loadOnto()
Create the ontology model, loads the OWL file and also creates the inferred model. |
void |
setDeductionModel(com.hp.hpl.jena.rdf.model.Model deductionModel)
|
void |
setInfModel(com.hp.hpl.jena.rdf.model.InfModel infModel)
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static OntologyManager ref
private java.lang.String defaultNameSpace
private com.hp.hpl.jena.rdf.model.Model baseModel
private com.hp.hpl.jena.rdf.model.InfModel infModel
private com.hp.hpl.jena.rdf.model.Model deductionModel
| Constructor Detail |
|---|
private OntologyManager()
| Method Detail |
|---|
public static OntologyManager getSingletonObject()
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionprivate void loadOnto()
public void loadCustomRules()
private void listTEST1()
private void listTEST2()
public com.hp.hpl.jena.rdf.model.Model getBaseModel()
public java.lang.String getDefaultNS()
public com.hp.hpl.jena.rdf.model.Model getDeductionModel()
public void setDeductionModel(com.hp.hpl.jena.rdf.model.Model deductionModel)
public com.hp.hpl.jena.rdf.model.InfModel getInfModel()
public void setInfModel(com.hp.hpl.jena.rdf.model.InfModel infModel)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||