Class GroupChain
java.lang.Object
de.knightsoftnet.validators.client.impl.GroupChain
An instance of
GroupChain defines the group order during one full validation call.
Modified from the Hibernate validator for use with GWT.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckDefaultGroupSequenceIsExpandable(List<Class<?>> defaultGroupSequence) check if default group sequence is expandable.voidinsertGroup(Group group) insert a single group.voidinsertSequence(List<Group> groups) insert a sequence (list) of groups.toString()
-
Constructor Details
-
GroupChain
public GroupChain()
-
-
Method Details
-
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
-
getAllGroups
-
getGroupIterator
-
getSequenceIterator
-
insertGroup
insert a single group.- Parameters:
group- to add
-
insertSequence
insert a sequence (list) of groups.- Parameters:
groups- list of groups to add
-
toString
-