java.lang.Object
de.knightsoftnet.validators.client.impl.Group

public class Group extends Object
Encapsulates a single validation group.

Modified from the Hibernate validator for use with GWT.

  • Constructor Details

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

    • equals

      public boolean equals(Object pobject)
      Overrides:
      equals in class Object
    • getGroup

      public Class<?> getGroup()
    • getSequence

      public Class<?> getSequence()
    • hashCode

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

      public boolean isDefaultGroup()
    • toString

      public String toString()
      Overrides:
      toString in class Object