Serializable
, ContentValidator<Property>
, Validator<Calendar>
public class CalendarValidatorImpl extends Object implements Validator<Calendar>, ContentValidator<Property>
Modifier and Type | Class | 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 | Description |
---|---|---|
protected List<Class<? extends Property>> |
calendarProperties |
ASSERT_NONE_MESSAGE, ASSERT_ONE_MESSAGE, ASSERT_ONE_OR_LESS_MESSAGE, ASSERT_ONE_OR_MORE_MESSAGE
Constructor | Description |
---|---|
CalendarValidatorImpl(ValidationRule<Calendar>... rules) |
Modifier and Type | Method | Description |
---|---|---|
void |
validate(Calendar 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 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