Serializable
, ContentValidator<VToDo>
, Validator<VToDo>
public class VToDoValidator extends ComponentValidator<VToDo>
ASSERT_NONE_MESSAGE, ASSERT_ONE_MESSAGE, ASSERT_ONE_OR_LESS_MESSAGE, ASSERT_ONE_OR_MORE_MESSAGE
Constructor | Description |
---|---|
VToDoValidator(boolean alarmsAllowed,
ValidationRule<VToDo>... rules) |
|
VToDoValidator(ValidationRule<VToDo>... rules) |
Modifier and Type | Method | Description |
---|---|---|
void |
validate(VToDo target) |
Validates the associated model against an applicable standard.
|
assertNone, assertOne, assertOneOrLess, assertOneOrMore
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
assertFalse
@SafeVarargs public VToDoValidator(ValidationRule<VToDo>... rules)
@SafeVarargs public VToDoValidator(boolean alarmsAllowed, ValidationRule<VToDo>... rules)
public void validate(VToDo target) throws ValidationException
Validator
validate
in interface Validator<VToDo>
validate
in class ComponentValidator<VToDo>
ValidationException
- where the model does not confirm to the applicable standard