@SecurityCheck(groups={javax.validation.groups.Default.class,org.hibernate.beanvalidation.tck.tests.constraints.application.TightSecurity.class}) public interface Citizen
| Modifier and Type | Method and Description |
|---|---|
String |
getPersonalNumber() |
@Pattern(regexp="^[0-9][0-9][0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]$",
message="Personal number must be 10 digits with the last 4 separated by a dash.")
String getPersonalNumber()
Copyright © 2008–2014. All rights reserved.