Class MandatoryElementConstraintProcessor<C extends Constraint>
java.lang.Object
org.kuali.rice.krad.datadictionary.validation.processor.MandatoryElementConstraintProcessor<C>
- Type Parameters:
C- constraint type
- All Implemented Interfaces:
ConstraintProcessor<Object,C>
- Direct Known Subclasses:
BasePrerequisiteConstraintProcessor,CaseConstraintProcessor,DataTypeConstraintProcessor,LengthConstraintProcessor,RangeConstraintProcessor,SimpleConstraintProcessor,ValidCharactersConstraintProcessor
public abstract class MandatoryElementConstraintProcessor<C extends Constraint>
extends Object
implements ConstraintProcessor<Object,C>
This abstract class can be extended by constraint processor classes that
must be processed on every validation.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Field Summary
Fields -
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.voidsetDataDictionaryService(DataDictionaryService dataDictionaryService) voidsetDateTimeService(DateTimeService dateTimeService) 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
-
Field Details
-
dataDictionaryService
-
dateTimeService
-
-
Constructor Details
-
MandatoryElementConstraintProcessor
public MandatoryElementConstraintProcessor()
-
-
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:
-
getDataDictionaryService
- Returns:
- the dataDictionaryService
-
setDataDictionaryService
- Parameters:
dataDictionaryService- the dataDictionaryService to set
-
getDateTimeService
- Returns:
- the dateTimeService
-
setDateTimeService
- Parameters:
dateTimeService- the dateTimeService to set
-