com.google.gwt.validation.client
Annotation Type GroupSequence


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface GroupSequence

Groups are useful to define subsets of constraints for validation purposes. Assigning constraints to groups provides the ability to do partial validation to the group. The groups element of the constraint annotation specifies the groups in which the constraint participates. At validation time, an optional parameter can be specified that narrows the set of groups to be validated.
One important application for grouping is to control the order of evaluation of constraints. There are often scenarios where a preliminary set of constraints should be evaluated prior to other constraints. This is useful in two scenarios:


(Taken from the JSR-303 draft)

Author:
chris

Optional Element Summary
 java.lang.String name
           
 java.lang.String[] sequence
           
 

name

public abstract java.lang.String name
Default:
""

sequence

public abstract java.lang.String[] sequence
Default:
{}