edu.udo.cs.yale.operator.condition
Class CombinedInnerOperatorCondition

java.lang.Object
  extended by edu.udo.cs.yale.operator.condition.CombinedInnerOperatorCondition
All Implemented Interfaces:
InnerOperatorCondition

public class CombinedInnerOperatorCondition
extends java.lang.Object
implements InnerOperatorCondition

This condition is a container for other (simple) inner operator conditions. This can for example be used to define several SpecificInnerOperatorCondition conditions for a chain. The output of the last added condition is used as total output.

Version:
$Id: CombinedInnerOperatorCondition.java,v 2.3 2006/03/27 13:21:58 ingomierswa Exp $
Author:
Ingo Mierswa

Field Summary
private  java.util.List<InnerOperatorCondition> conditions
           
 
Constructor Summary
CombinedInnerOperatorCondition()
           
 
Method Summary
 void addCondition(InnerOperatorCondition condition)
           
 java.lang.Class[] checkIO(OperatorChain chain, java.lang.Class[] input)
          Checks if the condition is fulfilled in the given operator chain.
 java.lang.String toHTML()
          Returns a HTML string representation of this condition.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

conditions

private java.util.List<InnerOperatorCondition> conditions
Constructor Detail

CombinedInnerOperatorCondition

public CombinedInnerOperatorCondition()
Method Detail

addCondition

public void addCondition(InnerOperatorCondition condition)

checkIO

public java.lang.Class[] checkIO(OperatorChain chain,
                                 java.lang.Class[] input)
                          throws IllegalInputException,
                                 WrongNumberOfInnerOperatorsException
Description copied from interface: InnerOperatorCondition
Checks if the condition is fulfilled in the given operator chain. Throws an exception if it is not fullfilled.

Specified by:
checkIO in interface InnerOperatorCondition
Throws:
IllegalInputException
WrongNumberOfInnerOperatorsException


toHTML

public java.lang.String toHTML()
Description copied from interface: InnerOperatorCondition
Returns a HTML string representation of this condition.

Specified by:
toHTML in interface InnerOperatorCondition



Copyright © 2001-2006