public class VEventValidator extends ComponentValidator<VEvent>
Constructor and Description |
---|
VEventValidator(boolean alarmsAllowed,
ValidationRule... rules) |
VEventValidator(ValidationRule... rules) |
Modifier and Type | Method and Description |
---|---|
void |
validate(VEvent target)
Validates the associated model against an applicable standard.
|
assertNone, assertOneOrLess
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
assertFalse
public VEventValidator(ValidationRule... rules)
public VEventValidator(boolean alarmsAllowed, ValidationRule... rules)
public void validate(VEvent target) throws ValidationException
Validator
validate
in interface Validator<VEvent>
validate
in class ComponentValidator<VEvent>
ValidationException
- where the model does not confirm to the applicable standard