public interface ValidationResult
Modifier and Type | Method and Description |
---|---|
InvalidElement |
invalidElement(java.lang.String name) |
java.util.Collection<InvalidElement> |
invalidElements() |
boolean |
isElementInvalid(java.lang.String name) |
boolean |
isInvalid() |
java.lang.Object |
target() |
java.lang.Object target()
java.util.Collection<InvalidElement> invalidElements()
InvalidElement invalidElement(java.lang.String name)
name
- the element namenull
if the element is valid or does not exists in the target.boolean isElementInvalid(java.lang.String name)
name
- the element nametrue
if there is an invalid element with the given
name, false
otherwise.boolean isInvalid()