public class ParameterMetaData extends AbstractConstraintMetaData implements Cascadable
| Modifier and Type | Class and Description |
|---|---|
static class |
ParameterMetaData.Builder |
| Modifier and Type | Method and Description |
|---|---|
ParameterDescriptor |
asDescriptor(boolean defaultGroupSequenceRedefined,
List<Class<?>> defaultGroupSequence)
Returns this meta data object's corresponding representation in the
descriptor model.
|
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
GroupConversionDescriptors representing the
group conversions of this cascadable. |
int |
getIndex() |
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.
|
asDescriptors, equals, getConstraints, getKind, getName, getType, hashCode, isCascading, isConstrained, iterator, toString, unwrapModeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetKind, getName, unwrapModeforEach, spliteratorpublic int getIndex()
public Class<?> convertGroup(Class<?> originalGroup)
Cascadable@ConvertGroup.convertGroup in interface CascadableoriginalGroup - The group to convert.public Set<GroupConversionDescriptor> getGroupConversionDescriptors()
CascadableGroupConversionDescriptors representing the
group conversions of this cascadable.getGroupConversionDescriptors in interface Cascadablenull.public ElementType getElementType()
CascadablegetElementType in interface Cascadablepublic Set<MetaConstraint<?>> getTypeArgumentsConstraints()
CascadablegetTypeArgumentsConstraints in interface Cascadablepublic ParameterDescriptor asDescriptor(boolean defaultGroupSequenceRedefined, List<Class<?>> defaultGroupSequence)
ConstraintMetaDataasDescriptor in interface ConstraintMetaDatadefaultGroupSequenceRedefined - Whether the bean hosting the represented element has a
redefined default group sequence or not.defaultGroupSequence - The default group sequence of the bean hosting the represented
element.ElementDescriptor.public Object getValue(Object parent)
CascadablegetValue in interface Cascadablepublic Type getCascadableType()
CascadablegetCascadableType in interface CascadableCopyright © 2018 JBoss by Red Hat. All rights reserved.