Class 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.

    Modified from the Hibernate validator for use with GWT.

    • Method Detail

      • 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.