Class OptionalElementConstraintProcessor<C extends Constraint>
java.lang.Object
org.kuali.rice.krad.datadictionary.validation.processor.OptionalElementConstraintProcessor<C>
- Type Parameters:
C- constraint type
- 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)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanreturns 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, waitMethods inherited from interface org.kuali.rice.krad.datadictionary.validation.processor.ConstraintProcessor
getConstraintType, getName, process
-
Constructor Details
-
OptionalElementConstraintProcessor
public OptionalElementConstraintProcessor()
-
-
Method Details
-
isOptional
public boolean isOptional()Description copied from interface:ConstraintProcessorreturns 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:
isOptionalin interfaceConstraintProcessor<Object,C extends Constraint> - Returns:
- true if this processor can be turned off by some pieces of code, false otherwise
- See Also:
-