com.softwareag.centrasite.appl.framework.validation.impl
Class ListItemCondition
java.lang.Object
com.softwareag.centrasite.appl.framework.validation.impl.AbstractCondition
com.softwareag.centrasite.appl.framework.validation.impl.ListItemCondition
- All Implemented Interfaces:
- Condition
public class ListItemCondition
- extends AbstractCondition
This condition applies an embedded condition on any item.
Constructor Summary |
ListItemCondition(Condition pCondition,
java.lang.reflect.Method pGetter,
java.lang.reflect.Method pSetter,
java.lang.String pProperty)
Creates a new instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListItemCondition
public ListItemCondition(Condition pCondition,
java.lang.reflect.Method pGetter,
java.lang.reflect.Method pSetter,
java.lang.String pProperty)
- Creates a new instance.
check
public void check(java.lang.Object pSource,
Constraint.Context pContext,
Constraint.Listener pListener)
throws com.softwareag.centrasite.appl.framework.CSAppFrameworkException
- Description copied from interface:
Condition
- Called to decide on the conditions state. The
Condition
must invoke the Constraint.Listener
, if it thinks that
the constraint is violated.
- Throws:
com.softwareag.centrasite.appl.framework.CSAppFrameworkException