public class GroupConversionHelper extends Object
Cascadable
s.Constructor and Description |
---|
GroupConversionHelper(Map<Class<?>,Class<?>> groupConversions) |
Modifier and Type | Method and Description |
---|---|
Set<GroupConversionDescriptor> |
asDescriptors()
Returns a set with
GroupConversionDescriptor s representing the
underlying group conversions. |
Class<?> |
convertGroup(Class<?> from)
Converts the given validation group as per the group conversion
configuration for this property (as e.g.
|
void |
validateGroupConversions(boolean isCascaded,
String location) |
public Class<?> convertGroup(Class<?> from)
@ConvertGroup
.from
- The group to convert.public Set<GroupConversionDescriptor> asDescriptors()
GroupConversionDescriptor
s representing the
underlying group conversions.null
.public void validateGroupConversions(boolean isCascaded, String location)
Copyright © 2017 JBoss by Red Hat. All rights reserved.