Class Group


  • public class Group
    extends Object
    Encapsulates a single validation group.

    Modified from the Hibernate validator for use with GWT.

    • Constructor Detail

      • Group

        public Group​(Class<?> group)
        Creates a group that is not part of a sequence with no parents.
        Parameters:
        group - The validation group.
      • Group

        public Group​(Class<?> group,
                     Class<?> sequence)
        Creates a group that is part of a sequence with no parents.
        Parameters:
        group - The validation group. Must not be null.
        sequence - The sequence the group is a part of. Can be null if the group is not part of a sequence.
    • Method Detail

      • getGroup

        public Class<?> getGroup()
      • getSequence

        public Class<?> getSequence()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • isDefaultGroup

        public boolean isDefaultGroup()