| Modifier and Type | Field and Description |
|---|---|
| private final Callable | |
| private final int | |
| private final Type |
| Access | Constructor and Description |
|---|---|
| public | |
| public | ConstrainedParameter(ConfigurationSource
The source of meta data. source, Callable The executable of the represented method parameter. callable, Type the parameter type type, int the index of the parameter index, Set<MetaConstraint<?>> The constraints of the represented method parameter, if
any. constraints, Set<MetaConstraint<?>> Type arguments constraints, if any. typeArgumentConstraints, CascadingMetaDataBuilder The cascaded validation metadata for this element and its container elements. cascadingMetaDataBuilder)Creates a new parameter meta data object. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides org. |
| public Callable | |
| public int | |
| public Type | |
| public int | hashCode()
Overrides org. |
| public ConstrainedParameter | Returns: A merged parameter.The parameter to merge. other)Creates a new constrained parameter object by merging this and the given other parameter. |
| public String | toString()
Overrides org. |
| callable | back to summary |
|---|---|
| private final Callable callable | |
| index | back to summary |
|---|---|
| private final int index | |
| type | back to summary |
|---|---|
| private final Type type | |
| ConstrainedParameter | back to summary |
|---|---|
| public ConstrainedParameter(ConfigurationSource source, Callable callable, Type type, int index) | |
| ConstrainedParameter | back to summary |
|---|---|
| public ConstrainedParameter(ConfigurationSource source, Callable callable, Type type, int index, Set<MetaConstraint<?>> constraints, Set<MetaConstraint<?>> typeArgumentConstraints, CascadingMetaDataBuilder cascadingMetaDataBuilder) Creates a new parameter meta data object.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides org. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getCallable | back to summary |
|---|---|
| public Callable getCallable() | |
| getIndex | back to summary |
|---|---|
| public int getIndex() | |
| getType | back to summary |
|---|---|
| public Type getType() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides org. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| merge | back to summary |
|---|---|
| public ConstrainedParameter merge(ConstrainedParameter other) Creates a new constrained parameter object by merging this and the given other parameter.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from java. Returns a string representation of the object. | |