JTools

org.jtools.condition
Class SimpleConditionHelper<E>

java.lang.Object
  extended by org.jtools.condition.SimpleConditionHelper<E>
All Implemented Interfaces:
ConditionHelper<E>
Direct Known Subclasses:
SimpleConditionHelper.AND, SimpleConditionHelper.EQUALS, SimpleConditionHelper.IGNORE, SimpleConditionHelper.NOT, SimpleConditionHelper.OR

public class SimpleConditionHelper<E>
extends Object
implements ConditionHelper<E>

TODO type-description

Author:
Rainer Noack

Nested Class Summary
static class SimpleConditionHelper.AND<E>
           
static class SimpleConditionHelper.EQUALS<E>
           
static class SimpleConditionHelper.IGNORE<E>
           
static class SimpleConditionHelper.NOT<E>
           
static class SimpleConditionHelper.OR<E>
           
 
Constructor Summary
  SimpleConditionHelper(ConditionHelperFactory<? super E> factory)
           
protected SimpleConditionHelper(ConditionHelperFactory<? super E> factory, int maxChilds)
           
 
Method Summary
protected  ConditionHelper<? super E> addChild(ConditionHelper<? super E> child)
           
 ConditionHelper<? super E> createAnd()
           
 ConditionHelper<? super E> createEquals()
           
 ConditionHelper<? super E> createFilter()
           
 ConditionHelper<? super E> createIgnore()
           
 ConditionHelper<? super E> createNot()
           
 ConditionHelper<? super E> createOr()
           
protected  List<ConditionHelper<? super E>> getChilds()
           
protected  Collection<org.jpattern.condition.Condition<? super E>> getChildsAsFilter()
           
 org.jpattern.condition.Condition<? super E> toCondition()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleConditionHelper

protected SimpleConditionHelper(ConditionHelperFactory<? super E> factory,
                                int maxChilds)

SimpleConditionHelper

public SimpleConditionHelper(ConditionHelperFactory<? super E> factory)
Method Detail

getChilds

protected List<ConditionHelper<? super E>> getChilds()

getChildsAsFilter

protected Collection<org.jpattern.condition.Condition<? super E>> getChildsAsFilter()

addChild

protected ConditionHelper<? super E> addChild(ConditionHelper<? super E> child)

createAnd

public ConditionHelper<? super E> createAnd()

createOr

public ConditionHelper<? super E> createOr()

createNot

public ConditionHelper<? super E> createNot()

createIgnore

public ConditionHelper<? super E> createIgnore()

createEquals

public ConditionHelper<? super E> createEquals()

createFilter

public ConditionHelper<? super E> createFilter()

toCondition

public org.jpattern.condition.Condition<? super E> toCondition()
Specified by:
toCondition in interface ConditionHelper<E>

JTools

© 2000-2006, JTools.org.