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.
|
Type |
getCascadableType()
Returns the data type of this cascadable, e.g.
|
ElementType |
getElementType()
Returns the element type of the cascadable.
|
Set<GroupConversionDescriptor> |
getGroupConversionDescriptors()
Returns a set with
GroupConversionDescriptor s 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.
|
Set<MetaConstraint<?>> |
getTypeArgumentsConstraints()
Returns the type arguments constraints for this cascadable.
|
Object |
getValue(Object parent)
Returns the value of this cacadable from the given parent.
|
UnwrapMode |
unwrapMode()
Defines how the validated values needs to be treated in case there is a potential unwrapper specified for its type
|
Class<?> convertGroup(Class<?> originalGroup)
@ConvertGroup
.originalGroup
- The group to convert.Set<GroupConversionDescriptor> getGroupConversionDescriptors()
GroupConversionDescriptor
s representing the
group conversions of this cascadable.null
.ElementType getElementType()
String getName()
ElementKind getKind()
Set<MetaConstraint<?>> getTypeArgumentsConstraints()
UnwrapMode unwrapMode()
ValidatedValueUnwrapMode
to be used for this constraint.Type getCascadableType()
Copyright © 2017 JBoss by Red Hat. All rights reserved.