Class SimpleValidationError
java.lang.Object
com.evolveum.midpoint.web.util.validation.SimpleValidationError
- All Implemented Interfaces:
Serializable
This is just a simple representation of custom form validation error. Currently, it holds
only a simple String 'message' attribute as an information about validation error and
an ItemPathType 'attribute' as a path to the source of error. Feel free
to add any information about validation errors that your custom validator requires.
- Author:
- shood
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
Override to create custom implementation of printing the attribute (for logging and GUI purposes)void
setAttribute
(ItemPathType attribute) void
setMessage
(String message)
-
Constructor Details
-
SimpleValidationError
public SimpleValidationError() -
SimpleValidationError
-
-
Method Details