Class GroupChain


  • public final class GroupChain
    extends Object
    An instance of GroupChain defines the group order during one full validation call.

    Modified from the Hibernate validator for use with GWT.

    • Constructor Detail

      • GroupChain

        public GroupChain()
    • Method Detail

      • checkDefaultGroupSequenceIsExpandable

        public void checkDefaultGroupSequenceIsExpandable​(List<Class<?>> defaultGroupSequence)
                                                   throws javax.validation.GroupDefinitionException
        check if default group sequence is expandable.
        Parameters:
        defaultGroupSequence - list of group classes
        Throws:
        javax.validation.GroupDefinitionException - if it's no default group
      • insertGroup

        public void insertGroup​(Group group)
        insert a single group.
        Parameters:
        group - to add
      • insertSequence

        public void insertSequence​(List<Group> groups)
        insert a sequence (list) of groups.
        Parameters:
        groups - list of groups to add