org.apache.bval.jsr303.groups
Class Groups

java.lang.Object
  extended by org.apache.bval.jsr303.groups.Groups

public class Groups
extends Object

Defines the order to validate groups during validation. with some inspiration from reference implementation

Author:
Roman Stumm

Field Summary
protected  List<Group> groups
          The list of single groups.
protected  List<List<Group>> sequences
          The list of sequences.
 
Constructor Summary
Groups()
           
 
Method Summary
 void assertDefaultGroupSequenceIsExpandable(List<Group> defaultGroups)
          Assert that the default group can be expanded to defaultGroups.
 List<Group> getGroups()
          Get the Groups.
 List<List<Group>> getSequences()
          Get the Group sequences.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

groups

protected List<Group> groups
The list of single groups.


sequences

protected List<List<Group>> sequences
The list of sequences.

Constructor Detail

Groups

public Groups()
Method Detail

getGroups

public List<Group> getGroups()
Get the Groups.

Returns:
List of Group.

getSequences

public List<List<Group>> getSequences()
Get the Group sequences.

Returns:
List of List of Group

assertDefaultGroupSequenceIsExpandable

public void assertDefaultGroupSequenceIsExpandable(List<Group> defaultGroups)
Assert that the default group can be expanded to defaultGroups.

Parameters:
defaultGroups -


Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.