public abstract class GenericValidation extends ParameterizedValidation implements Validation
Constructor and Description |
---|
GenericValidation() |
Modifier and Type | Method and Description |
---|---|
void |
setQuitOnFail(boolean quitOnFail)
Sets whether this rule should quit on fail or not
|
boolean |
shouldQuitOnFail()
Returns whether the validation process should quit on the failure of this validation
|
boolean |
stageValidation(AttributedDocumentEvent event)
This version of validate actually sets up the parameter list and then calls validate(Object[] parameters)
|
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
validate
public GenericValidation()
public boolean stageValidation(AttributedDocumentEvent event)
stageValidation
in interface Validation
event
- the event that requested this validationpublic boolean shouldQuitOnFail()
shouldQuitOnFail
in interface Validation
public void setQuitOnFail(boolean quitOnFail)
quitOnFail
- true if the validation process should end if this rule fails, false otherwiseCopyright © 2004–2014 The Kuali Foundation. All rights reserved.