public class ProcessingElementValidationHelper extends ElementValidationHelper
XProcessingElementselement, factory, params, results| Constructor and Description |
|---|
ProcessingElementValidationHelper(XProcessingElement element,
List<FlowValidationResult> results,
FlowValidationResultFactory factory)
Creates a new helper (wrapper) for validating a given
XProcessingElement |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
extractParameters()
Helpers should implement this method to return parameters extracted from the entity being validated
|
getField, getField, validateBoolean, validateBoolean, validateEmailAddress, validateEmailList, validateEnum, validateNonEmptyString, validateNonEmptyString, validateNonNegativeInteger, validateNonNegativeInteger, validatePositiveInteger, validatePositiveInteger, validatePositiveLong, validatePositiveLongpublic ProcessingElementValidationHelper(XProcessingElement element, List<FlowValidationResult> results, FlowValidationResultFactory factory)
XProcessingElementelement - the XProcessingElement to be validatedresults - the List of FlowValidationResults where validation results should be storedfactory - the FlowValidationResultFactory for generating FlowValidationResult entitiesprotected Map<String,Object> extractParameters()
ElementValidationHelperextractParameters in class ElementValidationHelperMap of parameters from the validated entityCopyright © 2016–2019 AdroitLogic. All rights reserved.