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.
|
ElementType |
getElementType() |
Set<GroupConversionDescriptor> |
getGroupConversionDescriptors()
Returns a set with
GroupConversionDescriptor s representing the
group conversions of this cascadable. |
int |
getIndex() |
asDescriptors, equals, getConstraints, getKind, getName, getType, hashCode, isCascading, isConstrained, iterator, requiresUnwrapping, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getKind, getName
public int getIndex()
public Class<?> convertGroup(Class<?> originalGroup)
Cascadable
@ConvertGroup
.convertGroup
in interface Cascadable
originalGroup
- The group to convert.public Set<GroupConversionDescriptor> getGroupConversionDescriptors()
Cascadable
GroupConversionDescriptor
s representing the
group conversions of this cascadable.getGroupConversionDescriptors
in interface Cascadable
null
.public ElementType getElementType()
getElementType
in interface Cascadable
public ParameterDescriptor asDescriptor(boolean defaultGroupSequenceRedefined, List<Class<?>> defaultGroupSequence)
ConstraintMetaData
asDescriptor
in interface ConstraintMetaData
defaultGroupSequenceRedefined
- 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
.Copyright © 2007-2014 Red Hat, Inc. All Rights Reserved