| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final CascadingMetaData | |
| private final int |
| Access | Constructor and Description |
|---|---|
| private | ParameterMetaData(int index, String name, Type type, Set<MetaConstraint<?>> constraints, Set<MetaConstraint<?>> containerElementsConstraints, CascadingMetaData cascadingMetaData)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | appendTo(PathImpl path)
Implements org. |
| public ParameterDescriptor | asDescriptor(boolean
Whether the bean hosting the represented element has a
redefined default group sequence or not. defaultGroupSequenceRedefined, List<Class<?>> The default group sequence of the bean hosting the represented
element. defaultGroupSequence)Implements org. |
| public Type | getCascadableType()
Implements org. |
| public CascadingMetaData | getCascadingMetaData()
Implements org. |
| public ConstraintLocation. | getConstraintLocationKind()
Implements org. |
| public int | |
| public ElementKind | getKind()
Implements org. kind of this meta data object.
|
| public Object | getValue(Object parent)
Implements org. |
| cascadingMetaData | back to summary |
|---|---|
| private final CascadingMetaData cascadingMetaData | |
| index | back to summary |
|---|---|
| private final int index | |
| ParameterMetaData | back to summary |
|---|---|
| private ParameterMetaData(int index, String name, Type type, Set<MetaConstraint<?>> constraints, Set<MetaConstraint<?>> containerElementsConstraints, CascadingMetaData cascadingMetaData) | |
| appendTo | back to summary |
|---|---|
| public void appendTo(PathImpl path) Implements org. Doc from org. Appends this cascadable element to the given path.
| |
| asDescriptor | back to summary |
|---|---|
| public ParameterDescriptor asDescriptor(boolean defaultGroupSequenceRedefined, List<Class<?>> defaultGroupSequence) Implements org. Doc from org. Returns this meta data object's corresponding representation in the descriptor model.
| |
| getCascadableType | back to summary |
|---|---|
| public Type getCascadableType() Implements org. Doc from org. Returns the data type of this cascadable, e.g. the type of a bean property or the return type of a method. | |
| getCascadingMetaData | back to summary |
|---|---|
| public CascadingMetaData getCascadingMetaData() Implements org. Doc from org. Returns cascading metadata of this cascadable element. Also contains the cascading metadata of the potential container element types.
| |
| getConstraintLocationKind | back to summary |
|---|---|
| public ConstraintLocation. Implements org. Doc from org. Returns the constraint location kind of the cascadable.
| |
| getIndex | back to summary |
|---|---|
| public int getIndex() | |
| getKind | back to summary |
|---|---|
| public ElementKind getKind() Implements org. Doc from org. Returns the
| |
| getValue | back to summary |
|---|---|
| public Object getValue(Object parent) Implements org. Doc from org. Returns the value of this cacadable from the given parent.
| |
| Modifier and Type | Field and Description |
|---|---|
| private Callable | |
| private CascadingMetaDataBuilder | |
| private final int | |
| private final ExecutableParameterNameProvider | |
| private final Type |
| Access | Constructor and Description |
|---|---|
| public | Builder(Class<?> beanClass, ConstrainedParameter constrainedParameter, ConstraintCreationContext constraintCreationContext, ExecutableParameterNameProvider parameterNameProvider)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | accepts(ConstrainedElement
The element to check. constrainedElement)Implements abstract org. |
| public void | add(ConstrainedElement
The element to add. constrainedElement)Overrides org. |
| public ParameterMetaData | build()
Implements abstract org. ConstraintMetaData object with all
constraint information related to the method or property represented by
this builder.
|
| callableForNameRetrieval | back to summary |
|---|---|
| private Callable callableForNameRetrieval | |
| cascadingMetaDataBuilder | back to summary |
|---|---|
| private CascadingMetaDataBuilder cascadingMetaDataBuilder | |
| parameterIndex | back to summary |
|---|---|
| private final int parameterIndex | |
| parameterNameProvider | back to summary |
|---|---|
| private final ExecutableParameterNameProvider parameterNameProvider | |
| parameterType | back to summary |
|---|---|
| private final Type parameterType | |
| Builder | back to summary |
|---|---|
| public Builder(Class<?> beanClass, ConstrainedParameter constrainedParameter, ConstraintCreationContext constraintCreationContext, ExecutableParameterNameProvider parameterNameProvider) | |
| accepts | back to summary |
|---|---|
| public boolean accepts(ConstrainedElement constrainedElement) Implements abstract org. Doc from org. Whether this builder allows to add the given element or not. This is the case if the specified element relates to the same property or method with which this builder was instantiated.
| |
| add | back to summary |
|---|---|
| public void add(ConstrainedElement constrainedElement) Overrides org. Doc from org. Adds the given element to this builder. It must be checked with
| |
| build | back to summary |
|---|---|
| public ParameterMetaData build() Implements abstract org. Doc from org. Creates a new, read-only
| |