org.hibernate.beanvalidation.tck.tests.metadata
Interface Person
- All Known Implementing Classes:
- Customer, Man
public interface Person
- Author:
- Hardy Ferentschik
getFirstName
@NotEmpty(groups=Person.PersonValidation.class,
payload=Severity.Info.class)
String getFirstName()
getMiddleName
@Size(min=3,
message="must at least be {min} characters long")
String getMiddleName()
getLastName
@NotEmpty
String getLastName()
getAge
@CustomConstraint(validationAppliesTo=RETURN_VALUE)
int getAge()
Copyright © 2008-2013. All Rights Reserved.