|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.validator.internal.engine.groups.DefaultGroupSequenceProviderAdapter<T>
public class DefaultGroupSequenceProviderAdapter<T>
Adapts a DefaultGroupSequenceProvider to a DefaultGroupSequenceProvider.
| Method Summary | ||
|---|---|---|
static
|
getInstance(DefaultGroupSequenceProvider<T> adaptee)
|
|
java.util.List<java.lang.Class<?>> |
getValidationGroups(T object)
This method returns the default group sequence for the given instance. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <T> DefaultGroupSequenceProviderAdapter<T> getInstance(DefaultGroupSequenceProvider<T> adaptee)
public java.util.List<java.lang.Class<?>> getValidationGroups(T object)
DefaultGroupSequenceProviderThe 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 | |||||||||