public interface ValidationErrors
ValidationError lists.
This ValidationErrors interface ca also support multilevel field validation with pushField and popField
methods.| Modifier and Type | Method and Description |
|---|---|
void |
add(ValidationError validationError)
Operation to add the
ValidationError to the list of errors. |
java.util.List<ValidationError> |
getValidationErrors()
Returns the list of validation errors.
|
java.lang.String |
parseFieldStack()
Operation to retrieve the string representation of the fields currently in the stack.
|
void |
popField()
Multilevel field Support method to pop fields from a Stack.
|
void |
pushField(java.lang.String field)
Multilevel field Support method to push fields in a Stack.
|
void add(ValidationError validationError)
ValidationError to the list of errors.validationError - the validation error to be added to the list.void pushField(java.lang.String field)
field - the field to be stacked when the logic enters a child entity.void popField()
java.lang.String parseFieldStack()
java.util.List<ValidationError> getValidationErrors()
ValidationError'sCopyright © 2018 SAP SE. All Rights Reserved.