| Modifier and Type | Interface and Description |
|---|---|
static interface |
Person.PersonValidation |
| Modifier and Type | Method and Description |
|---|---|
int |
getAge() |
String |
getFirstName() |
String |
getLastName() |
@Size(min=3,message="must at least be {min} characters long") String |
getMiddleName() |
@NotEmpty(groups=Person.PersonValidation.class, payload=Severity.Info.class) String getFirstName()
@Size(min=3,
message="must at least be {min} characters long")
@Size(min=3,message="must at least be {min} characters long") String getMiddleName()
@CustomConstraint(validationAppliesTo=RETURN_VALUE) int getAge()
Copyright © 2008–2017. All rights reserved.