com.softwareag.centrasite.appl.framework.validation
Interface Condition
- All Known Subinterfaces:
- Constraint, ReadOnlyConstraint, ValidationConstraint
- All Known Implementing Classes:
- AbstractCondition, AbstractConstraint, AlwaysFailingCondition, DefaultReadOnlyConstraint, DefaultValidationConstraint, IntegerConditionFactory.LimitCondition, IntegerConditionFactory.RangeCondition, LengthCondition, ListItemCondition, MandatoryItemCondition, MandatoryObjectCondition, MaxLengthCondition, ReCondition, RelationDateCondition, UniqueItemPropertyCondition
public interface Condition
The Condition
is used by the Constraint
to determine,
whether the constraint is met or violated.
check
void check(java.lang.Object pSource,
Constraint.Context pContext,
Constraint.Listener pListener)
throws com.softwareag.centrasite.appl.framework.CSAppFrameworkException
- 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