Top Description Fields Constructors Methods
org.hibernate.validator.internal.engine.groups

public Class GroupWithInheritance

extends Object
implements Iterable<Group>
Class Inheritance
All Implemented Interfaces
java.lang.Iterable
Imports
java.util.Iterator, .Set, org.hibernate.validator.internal.util.CollectionHelper, org.hibernate.validator.internal.util.stereotypes.Immutable

Represents a validation group and all the groups it extends ("group inheritance").
Author
Gunnar Morling

Field Summary

Modifier and TypeField and Description
private final Set<Group>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Iterator<Group>
iterator()

Implements java.lang.Iterable.iterator.

Returns an iterator over elements of type T.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

groupsback to summary
private final Set<Group> groups
Annotations
@Immutable

Constructor Detail

GroupWithInheritanceback to summary
public GroupWithInheritance(Set<Group> groups)

Method Detail

iteratorback to summary
public Iterator<Group> iterator()

Implements java.lang.Iterable.iterator.

Doc from java.lang.Iterable.iterator.

Returns an iterator over elements of type T.

Returns:Iterator<Group>

an Iterator.

Annotations
@Override