1 package ejava.jpa.example.validation; 2 3 import javax.validation.GroupSequence; 4 import javax.validation.groups.Default; 5 6 /** 7 * This group specification defines a sequence of groups to validate 8 * against until one of them fails or they all pass. If one of the groups 9 * fail -- the follow-on groups do not get checked. 10 */ 11 @GroupSequence({Default.class, DBChecks.class, DataChecks.class}) 12 public interface ValidationSequence {}