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 Details

    • OptionalElementConstraintProcessor

      public OptionalElementConstraintProcessor()
  • Method Details

    • 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: