public class DefaultGroupSequenceProviderAdapter<T> extends Object implements DefaultGroupSequenceProvider<T>
DefaultGroupSequenceProvider to a DefaultGroupSequenceProvider.| Modifier and Type | Method and Description |
|---|---|
static <T> DefaultGroupSequenceProviderAdapter<T> |
getInstance(DefaultGroupSequenceProvider<T> adaptee) |
List<Class<?>> |
getValidationGroups(T object)
This method returns the default group sequence for the given instance.
|
public static <T> DefaultGroupSequenceProviderAdapter<T> getInstance(DefaultGroupSequenceProvider<T> adaptee)
public List<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.Copyright © 2007-2012 Red Hat Middleware, LLC. All Rights Reserved