org.deri.wsmo4j.orchestration.rule
Class IfThenRI
java.lang.Object
org.deri.wsmo4j.orchestration.rule.AbstractTransitionRuleRI
org.deri.wsmo4j.orchestration.rule.IfThenRI
- All Implemented Interfaces:
- OrchestrationIfThen, OrchestrationTransitionRule, Rule
public class IfThenRI
- extends AbstractTransitionRuleRI
- implements OrchestrationIfThen
Reference Implementation for the IfThen rule.
Created on Jul 26, 2005
Committed by $Author: vassil_momtchev $
$Source$
- Version:
- $Revision: 1851 $ $Date: 2006-10-24 18:01:07 +0300 (Tue, 24 Oct 2006) $
- Author:
- Thomas Haselwanter, James Scicluna
IfThenRI
public IfThenRI(Condition condition,
Rule rule)
- Parameters:
condition
- LogicalExpression object defining the condition of the rule.rule
- An inner Rule object of the rule
IfThenRI
public IfThenRI(Condition condition,
Set<Rule> rules)
- Parameters:
condition
- LogicalExpression object defining the condition of the rule.rules
- A set of inner Rule objects of the rule
accept
public void accept(Visitor visitor)
- Description copied from interface:
Rule
- Acceptor method for the Visitor.
- Specified by:
accept
in interface Rule
- Parameters:
visitor
- Rule-Visitor object
toString
public String toString(org.wsmo.common.TopEntity te)
- Description copied from interface:
Rule
- Returns a string representation of the Rule.
- Specified by:
toString
in interface Rule
- Returns:
- String representing the rule object.
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2004-2008 Ontotext Lab.. All Rights Reserved.