public abstract class ParameterizedValidation extends Object
Constructor and Description |
---|
ParameterizedValidation() |
Modifier and Type | Method and Description |
---|---|
protected List<ValidationFieldConvertible> |
getParameterProperties()
Gets the parameterProperties attribute.
|
protected void |
populateParameterFromEvent(AttributedDocumentEvent event,
ValidationFieldConvertible conversion)
Populates a single parameter field based on a field conversion, given an event to populate data from
|
void |
populateParametersFromEvent(AttributedDocumentEvent event)
Given an event and the parameterProperties given by the validations, copies the values from the events to the proper fields in the validation.
|
void |
setParameterProperties(List<ValidationFieldConvertible> parameterProperties)
Sets the parameterProperties attribute value.
|
public ParameterizedValidation()
protected List<ValidationFieldConvertible> getParameterProperties()
public void setParameterProperties(List<ValidationFieldConvertible> parameterProperties)
parameterProperties
- The parameterProperties to set.public void populateParametersFromEvent(AttributedDocumentEvent event)
event
- an array to derive properties fromthe
- parameter to set the parameters onprotected void populateParameterFromEvent(AttributedDocumentEvent event, ValidationFieldConvertible conversion)
event
- the event which acts as the source of datavalidation
- the validation to populateconversion
- the conversion informationCopyright © 2004–2015 The Kuali Foundation. All rights reserved.