org.kuali.rice.krad.datadictionary.validation.processor
Class OptionalElementConstraintProcessor<C extends Constraint>
java.lang.Object
org.kuali.rice.krad.datadictionary.validation.processor.OptionalElementConstraintProcessor<C>
- All Implemented Interfaces:
- ConstraintProcessor<Object,C>
- Direct Known Subclasses:
- ExistenceConstraintProcessor
public abstract class OptionalElementConstraintProcessor<C extends Constraint>
- extends Object
- implements ConstraintProcessor<Object,C>
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Method Summary |
boolean |
isOptional()
returns true if the processing of this constraint is something that can be opted out of by some pieces of code. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OptionalElementConstraintProcessor
public OptionalElementConstraintProcessor()
isOptional
public boolean isOptional()
- Description copied from interface:
ConstraintProcessor
- returns true if the processing of this constraint is something that can be opted out of by some pieces of code.
The only example of this in the version under development (1.1) is the existence constraint.
- Specified by:
isOptional
in interface ConstraintProcessor<Object,C extends Constraint>
- Returns:
- true if this processor can be turned off by some pieces of code, false otherwise
- See Also:
ConstraintProcessor.isOptional()
Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.