public class ParameterMetaData extends AbstractConstraintMetaData implements Cascadable
Modifier and Type | Class and Description |
---|---|
static class |
ParameterMetaData.Builder |
Modifier and Type | Method and Description |
---|---|
void |
appendTo(PathImpl path)
Appends this cascadable element to the given path.
|
ParameterDescriptor |
asDescriptor(boolean defaultGroupSequenceRedefined,
List<Class<?>> defaultGroupSequence)
Returns this meta data object's corresponding representation in the
descriptor model.
|
Type |
getCascadableType()
Returns the data type of this cascadable, e.g.
|
CascadingMetaData |
getCascadingMetaData()
Returns cascading metadata of this cascadable element.
|
ElementType |
getElementType()
Returns the element type of the cascadable.
|
int |
getIndex() |
ElementKind |
getKind()
Returns the
kind of this meta data object. |
Object |
getValue(Object parent)
Returns the value of this cacadable from the given parent.
|
asContainerElementTypeDescriptors, asDescriptors, equals, getAllConstraints, getContainerElementsConstraints, getDirectConstraints, getName, getType, hashCode, isCascading, isConstrained, iterator, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public int getIndex()
public ElementType getElementType()
Cascadable
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
.public Object getValue(Object parent)
Cascadable
getValue
in interface Cascadable
public Type getCascadableType()
Cascadable
getCascadableType
in interface Cascadable
public void appendTo(PathImpl path)
Cascadable
appendTo
in interface Cascadable
public CascadingMetaData getCascadingMetaData()
Cascadable
getCascadingMetaData
in interface Cascadable
public ElementKind getKind()
ConstraintMetaData
kind
of this meta data object.getKind
in interface ConstraintMetaData
kind
of this meta data object.Copyright © 2021 JBoss by Red Hat. All rights reserved.