Package org.apache.bval.jsr.groups
Class Group.Sequence
- java.lang.Object
-
- org.apache.bval.jsr.groups.GroupStrategy.Composite
-
- org.apache.bval.jsr.groups.Group.Sequence
-
- All Implemented Interfaces:
GroupStrategy
- Enclosing class:
- Group
public static final class Group.Sequence extends GroupStrategy.Composite
Models a group sequence.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.bval.jsr.groups.GroupStrategy
GroupStrategy.Composite, GroupStrategy.Simple
-
-
Field Summary
-
Fields inherited from class org.apache.bval.jsr.groups.GroupStrategy.Composite
ordered
-
Fields inherited from interface org.apache.bval.jsr.groups.GroupStrategy
EMPTY
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Group>
getGroups()
Get the associated groups.GroupStrategy
redefining(Map<Group,? extends GroupStrategy> redefinitions)
Get an equivalent strategy making group substitutions specified byredefinitions
.String
toString()
-
Methods inherited from class org.apache.bval.jsr.groups.GroupStrategy.Composite
applyTo, equals, hashCode
-
-
-
-
Method Detail
-
getGroups
public Set<Group> getGroups()
Description copied from interface:GroupStrategy
Get the associated groups.- Specified by:
getGroups
in interfaceGroupStrategy
- Overrides:
getGroups
in classGroupStrategy.Composite
- Returns:
Set
ofGroup
-
toString
public String toString()
- Overrides:
toString
in classGroupStrategy.Composite
-
redefining
public GroupStrategy redefining(Map<Group,? extends GroupStrategy> redefinitions)
Description copied from interface:GroupStrategy
Get an equivalent strategy making group substitutions specified byredefinitions
.- Specified by:
redefining
in interfaceGroupStrategy
- Overrides:
redefining
in classGroupStrategy.Composite
- Returns:
GroupStrategy
-
-