org.hibernate.validator.engine.groups
Class GroupChainGenerator
java.lang.Object
org.hibernate.validator.engine.groups.GroupChainGenerator
public class GroupChainGenerator
- extends Object
Helper class used to resolve groups and sequences into a single chain of groups which can then be validated.
- Author:
- Hardy Ferentschik
GroupChainGenerator
public GroupChainGenerator()
getGroupChainFor
public GroupChain getGroupChainFor(Collection<Class<?>> groups)
- Generates a chain of groups to be validated given the specified validation groups.
- Parameters:
groups
- The groups specified at the validation call.
- Returns:
- an instance of
GroupChain
defining the order in which validation has to occur.
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2007-2010 Red Hat Middleware, LLC. All Rights Reserved