public class ParameterMetaData extends AbstractConstraintMetaData implements Cascadable
| Modifier and Type | Class and Description |
|---|---|
static class |
ParameterMetaData.Builder |
ConstraintMetaData.ConstraintMetaDataKind| 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() |
int |
getIndex() |
Object |
getValue(Object parent)
Retrieves the value of this element from the given object.
|
asDescriptors, equals, getConstraints, getKind, getName, getType, hashCode, isCascading, isConstrained, iterator, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetNamepublic int getIndex()
public Class<?> convertGroup(Class<?> originalGroup)
Cascadable@ConvertGroup.convertGroup in interface CascadableoriginalGroup - The group to convert.public ElementType getElementType()
getElementType in interface Cascadablepublic Object getValue(Object parent)
CascadablegetValue in interface Cascadableparent - The object to retrieve the value from.public 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.Copyright © 2007-2012 Red Hat Middleware, LLC. All Rights Reserved