|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.umu.jasb.jess.JessConnector
public class JessConnector
This class provide a connector from Jess engine with the JASB Architecture.
Field Summary | |
---|---|
(package private) com.hp.hpl.jena.rdf.model.Model |
inference
Represent the facts infered by the Jess rule engine |
(package private) com.hp.hpl.jena.rdf.model.Model |
inputModel
Represent the input provided to Jess engine |
Constructor Summary | |
---|---|
JessConnector(com.hp.hpl.jena.rdf.model.Model model,
org.umu.ore.data.RuleCollection rc,
com.hp.hpl.jena.ontology.OntModel base)
This is the default constructor for the Jess connector that inmediately acts doing a call to the Jess engine with the given input and stored the output in the inference attribute. |
Method Summary | |
---|---|
private static java.lang.String |
convertToJess(com.hp.hpl.jena.rdf.model.Model model,
org.umu.ore.data.RuleCollection rule,
com.hp.hpl.jena.ontology.OntModel base)
This is an auxiliarty method that obtain the CLP representation of the given scenario |
com.hp.hpl.jena.rdf.model.Model |
getInference()
Return the inference obtained from Jess engine |
void |
setInference(com.hp.hpl.jena.rdf.model.Model inference)
Establish the inference obtained from Jess engine |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
com.hp.hpl.jena.rdf.model.Model inputModel
com.hp.hpl.jena.rdf.model.Model inference
Constructor Detail |
---|
public JessConnector(com.hp.hpl.jena.rdf.model.Model model, org.umu.ore.data.RuleCollection rc, com.hp.hpl.jena.ontology.OntModel base)
model
- This is the ontology model provided as input to Jessrc
- This is the set of SWRL rules provided as input to Jessbase
- This is the ontology base model used only for only the base name.Method Detail |
---|
private static java.lang.String convertToJess(com.hp.hpl.jena.rdf.model.Model model, org.umu.ore.data.RuleCollection rule, com.hp.hpl.jena.ontology.OntModel base)
model
- This is the ontology model provided as input to Jessrule
- This is the set of SWRL rules provided as input to Jessbase
-
public com.hp.hpl.jena.rdf.model.Model getInference()
public void setInference(com.hp.hpl.jena.rdf.model.Model inference)
inference
- the inference obtained from Jess engine
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |