public final class DefaultValidationOrder extends Object implements ValidationOrder
ValidationOrder
defines the group order during one validation call.Constructor and Description |
---|
DefaultValidationOrder() |
Modifier and Type | Method and Description |
---|---|
void |
assertDefaultGroupSequenceIsExpandable(List<Class<?>> defaultGroupSequence)
Asserts that the default group sequence of the validated bean can be expanded into the sequences which needs to
be validated.
|
Iterator<Group> |
getGroupIterator() |
Iterator<Sequence> |
getSequenceIterator() |
void |
insertGroup(Group group) |
void |
insertSequence(Sequence sequence) |
String |
toString() |
public Iterator<Group> getGroupIterator()
getGroupIterator
in interface ValidationOrder
public Iterator<Sequence> getSequenceIterator()
getSequenceIterator
in interface ValidationOrder
public void insertGroup(Group group)
public void insertSequence(Sequence sequence)
public void assertDefaultGroupSequenceIsExpandable(List<Class<?>> defaultGroupSequence) throws GroupDefinitionException
assertDefaultGroupSequenceIsExpandable
in interface ValidationOrder
defaultGroupSequence
- the default group sequence of the bean currently validatedGroupDefinitionException
- in case defaultGroupSequence
cannot be expanded into one of the group sequences
which need to be validatedCopyright © 2007-2014 Red Hat Middleware, LLC. All Rights Reserved