public interface Cascadable
Modifier and Type | Method and Description |
---|---|
Class<?> |
convertGroup(Class<?> originalGroup)
Converts the given validation group as per the group conversion
configuration for this element (as e.g.
|
ElementType |
getElementType() |
Set<javax.validation.metadata.GroupConversionDescriptor> |
getGroupConversionDescriptors()
Returns a set with
GroupConversionDescriptor s representing the
group conversions of this cascadable. |
javax.validation.ElementKind |
getKind()
Returns the element kind of this cascadable.
|
String |
getName()
Returns the name of this cascadable element.
|
Object |
getValue(Object parent)
Retrieves the value of this element from the given object.
|
Class<?> convertGroup(Class<?> originalGroup)
@ConvertGroup
.originalGroup
- The group to convert.Set<javax.validation.metadata.GroupConversionDescriptor> getGroupConversionDescriptors()
GroupConversionDescriptor
s representing the
group conversions of this cascadable.null
.ElementType getElementType()
Object getValue(Object parent)
parent
- The object to retrieve the value from.String getName()
javax.validation.ElementKind getKind()
Copyright © 2007-2013 Red Hat, Inc. All Rights Reserved