| Modifier and Type | Field and Description |
|---|---|
| private final T | property
The property the constraint was defined on. |
| private final PropertyAccessor |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | appendTo(ExecutableParameterNameProvider parameterNameProvider, PathImpl path)
Implements org. |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public T | getConstrainable()
Implements org. |
| public Class | getDeclaringClass()
Implements org. |
| public String | |
| public Type | getTypeForValidatorResolution()
Implements org. |
| public Object | getValue(Object parent)
Implements org. |
| public int | |
| public String |
| property | back to summary |
|---|---|
| private final T property The property the constraint was defined on. | |
| propertyAccessor | back to summary |
|---|---|
| private final PropertyAccessor propertyAccessor | |
| AbstractPropertyConstraintLocation | back to summary |
|---|---|
| pack-priv AbstractPropertyConstraintLocation(T property) | |
| appendTo | back to summary |
|---|---|
| public void appendTo(ExecutableParameterNameProvider parameterNameProvider, PathImpl path) Implements org. Doc from org. Appends a node representing this location to the given property path.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. 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. | |
| getConstrainable | back to summary |
|---|---|
| public T getConstrainable() Implements org. Doc from org. Returns the member represented by this location.
| |
| getDeclaringClass | back to summary |
|---|---|
| public Class Implements org. Doc from org. Returns the class hosting this location.
| |
| getPropertyName | back to summary |
|---|---|
| public String getPropertyName() | |
| getTypeForValidatorResolution | back to summary |
|---|---|
| public Type getTypeForValidatorResolution() Implements org. Doc from org. Returns the type to be used when resolving constraint validators for constraints at this location. Note that this is not always the same type as the type of the element described by this location; E.g. the wrapper type will is used for constraint validator resolution, if a constraint is declared in an element with a primitive type. | |
| getValue | back to summary |
|---|---|
| public Object getValue(Object parent) Implements org. Doc from org. Obtains the value of this location from the parent. The type of the passed parent depends on the location type,
e.g. a bean would be passed for a
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. 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
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |