public class CalendarValidatorImpl extends Object implements Validator<Calendar>, ContentValidator<Property>
Modifier and Type | Class and Description |
---|---|
static class |
CalendarValidatorImpl.AddValidator |
static class |
CalendarValidatorImpl.CancelValidator |
static class |
CalendarValidatorImpl.CounterValidator |
static class |
CalendarValidatorImpl.DeclineCounterValidator |
static class |
CalendarValidatorImpl.PublishValidator |
static class |
CalendarValidatorImpl.RefreshValidator |
static class |
CalendarValidatorImpl.ReplyValidator |
static class |
CalendarValidatorImpl.RequestValidator |
Modifier and Type | Field and Description |
---|---|
protected List<Class<? extends Property>> |
calendarProperties |
ASSERT_NONE_MESSAGE, ASSERT_ONE_MESSAGE, ASSERT_ONE_OR_LESS_MESSAGE, ASSERT_ONE_OR_MORE_MESSAGE
Constructor and Description |
---|
CalendarValidatorImpl(ValidationRule<Calendar>... rules) |
Modifier and Type | Method and Description |
---|---|
void |
validate(Calendar target)
Validates the associated model against an applicable standard.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
assertFalse
assertNone, assertOne, assertOneOrLess, assertOneOrMore
public CalendarValidatorImpl(ValidationRule<Calendar>... rules)
public void validate(Calendar target) throws ValidationException
Validator
validate
in interface Validator<Calendar>
ValidationException
- where the model does not confirm to the applicable standard