|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Cascadable
Provides a unified view on cascadable elements of all kinds, be it properties of a Java bean, the arguments passed to an executable or the value returned from an executable. Allows a unified handling of these elements in the validation routine.
| Method Summary | |
|---|---|
Class<?> |
convertGroup(Class<?> originalGroup)
Converts the given validation group as per the group conversion configuration for this element (as e.g. |
ElementType |
getElementType()
|
Set<GroupConversionDescriptor> |
getGroupConversionDescriptors()
Returns a set with GroupConversionDescriptors representing the
group conversions of this cascadable. |
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. |
| Method Detail |
|---|
Class<?> convertGroup(Class<?> originalGroup)
@ConvertGroup.
originalGroup - The group to convert.
Set<GroupConversionDescriptor> getGroupConversionDescriptors()
GroupConversionDescriptors representing the
group conversions of this cascadable.
null.ElementType getElementType()
Object getValue(Object parent)
parent - The object to retrieve the value from.
String getName()
ElementKind getKind()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||