public class VToDoValidator extends ComponentValidator<VToDo>
Constructor and Description |
---|
VToDoValidator(boolean alarmsAllowed,
ValidationRule... rules) |
VToDoValidator(ValidationRule... rules) |
Modifier and Type | Method and Description |
---|---|
void |
validate(VToDo target)
Validates the associated model against an applicable standard.
|
assertNone, assertOneOrLess
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
assertFalse
public VToDoValidator(ValidationRule... rules)
public VToDoValidator(boolean alarmsAllowed, ValidationRule... 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