org.universAAL.context.reasoner
Class RuleModel
java.lang.Object
org.universAAL.ontology.reasoner.util.ElementModel<Rule>
org.universAAL.context.reasoner.RuleModel
public class RuleModel
- extends ElementModel<Rule>
In opposite the Situations and Queries Rules need some special handling. This
is only when adding a new rule and following the according method is
overwritten here. Every rule that is added need to register a
ContextSubscriber that matches the Situation given by the rule. This
subscriber is created in "registerRule".
- Author:
- amarinc
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RuleModel
public RuleModel(String confFolder)
- Parameters:
confFolder
- Folder where elements of this type should saved.
add
public Rule add(Rule rule)
- Overrides:
add
in class ElementModel<Rule>
deleteContextSubscriptions
public void deleteContextSubscriptions()
Copyright © 2014 universAAL Consortium. All Rights Reserved.