T- The type for which an implementation is defined.
public interface DefaultGroupSequenceProvider<T>
In order to redefine dynamically the default group sequence for a type T, the
must be placed on T, specifying as its value a concrete implementation of
must be parametrized with the type T.
If during the validation process the
Default group is validated for T, the actual validated instance
is passed to the
DefaultGroupSequenceProvider to determine the default group sequence.
The object parameter allows to dynamically compose the default group sequence in function of the validated value state.
object- the instance being validated. This value can be
nullin case this method was called as part of Validator#validateValue.
GroupSequence. In particular the list has to contain the type T.
Copyright © 2007-2014 Red Hat, Inc. All Rights Reserved