Package org.apache.bval.jsr.groups
Class GroupStrategy.Simple
- java.lang.Object
-
- org.apache.bval.jsr.groups.GroupStrategy.Simple
-
- All Implemented Interfaces:
GroupStrategy
- Enclosing interface:
- GroupStrategy
public static class GroupStrategy.Simple extends Object implements GroupStrategy
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.bval.jsr.groups.GroupStrategy
GroupStrategy.Composite, GroupStrategy.Simple
-
-
Field Summary
-
Fields inherited from interface org.apache.bval.jsr.groups.GroupStrategy
EMPTY
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Set<Group>
getGroups()
Get the associated groups.int
hashCode()
GroupStrategy
redefining(Map<Group,? extends GroupStrategy> redefinitions)
Get an equivalent strategy making group substitutions specified byredefinitions
.String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.bval.jsr.groups.GroupStrategy
applyTo
-
-
-
-
Method Detail
-
getGroups
public Set<Group> getGroups()
Description copied from interface:GroupStrategy
Get the associated groups.- Specified by:
getGroups
in interfaceGroupStrategy
- Returns:
Set
ofGroup
-
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
- Returns:
GroupStrategy
-
-