|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - The type for which an implementation is defined.DefaultGroupSequenceProvider instead.
@Deprecated public interface DefaultGroupSequenceProvider<T>
This class defines the dynamic group sequence provider contract.
In order to redefine dynamically the default group sequence for a type T, the GroupSequenceProvider annotation
must be placed on T, specifying as its value a concrete implementation of DefaultGroupSequenceProvider, which
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.
Note:
| Method Summary | |
|---|---|
List<Class<?>> |
getValidationGroups(T object)
Deprecated. This method returns the default group sequence for the given instance. |
| Method Detail |
|---|
List<Class<?>> getValidationGroups(T object)
The object parameter allows to dynamically compose the default group sequence in function of the validated value state.
getValidationGroups in interface DefaultGroupSequenceProvider<T>object - the instance being validated. This value can be null in case this method was called as part of
Validator#validateValue.
GroupSequence. In particular the list has to contain the type T.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||