Class DefaultValidationOrder
java.lang.Object
org.hibernate.validator.internal.engine.groups.DefaultValidationOrder
- All Implemented Interfaces:
ValidationOrder
An instance of
ValidationOrder defines the group order during one validation call.- Author:
- Hardy Ferentschik, Guillaume Smet
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.validator.internal.engine.groups.ValidationOrder
ValidationOrder.DefaultGroupValidationOrder, ValidationOrder.DefaultSequenceValidationOrder -
Field Summary
Fields inherited from interface org.hibernate.validator.internal.engine.groups.ValidationOrder
DEFAULT_GROUP, DEFAULT_SEQUENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidassertDefaultGroupSequenceIsExpandable(List<Class<?>> defaultGroupSequence) Asserts that the default group sequence of the validated bean can be expanded into the sequences which needs to be validated.voidinsertGroup(Group group) voidinsertSequence(Sequence sequence) toString()
-
Constructor Details
-
DefaultValidationOrder
public DefaultValidationOrder()
-
-
Method Details
-
getGroupIterator
- Specified by:
getGroupIteratorin interfaceValidationOrder
-
getSequenceIterator
- Specified by:
getSequenceIteratorin interfaceValidationOrder
-
insertGroup
-
insertSequence
-
toString
-
assertDefaultGroupSequenceIsExpandable
public 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.- Specified by:
assertDefaultGroupSequenceIsExpandablein interfaceValidationOrder- Parameters:
defaultGroupSequence- the default group sequence of the bean currently validated- Throws:
GroupDefinitionException- in casedefaultGroupSequencecannot be expanded into one of the group sequences which need to be validated
-