org.hibernate.validator.internal.engine.groups
Interface ValidationOrder

All Known Implementing Classes:
DefaultValidationOrder

public interface ValidationOrder

Interface defining the methods needed to execute groups and sequences in the right order.

Author:
Hardy Ferentschik

Method Summary
 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()
           
 

Method Detail

getGroupIterator

Iterator<Group> getGroupIterator()

getSequenceIterator

Iterator<Sequence> getSequenceIterator()

assertDefaultGroupSequenceIsExpandable

void assertDefaultGroupSequenceIsExpandable(List<Class<?>> defaultGroupSequence)
                                            throws GroupDefinitionException
Asserts that the default group sequence of the validated bean can be expanded into the sequences which needs to be validated.

Parameters:
defaultGroupSequence - the default group sequence of the bean currently validated
Throws:
GroupDefinitionException - in case defaultGroupSequence cannot be expanded into one of the group sequences which need to be validated


Copyright © 2007-2013 Red Hat, Inc. All Rights Reserved