| Modifier and Type | Field and Description |
|---|---|
| private final Class | declaringClass
The type hosting this location. |
| private final Type | typeForValidatorResolution
The type to be used for validator resolution for constraints at this location. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| declaringClass | back to summary |
|---|---|
| private final Class<?> declaringClass The type hosting this location. | |
| typeForValidatorResolution | back to summary |
|---|---|
| private final Type typeForValidatorResolution The type to be used for validator resolution for constraints at this location. | |
| BeanConstraintLocation | back to summary |
|---|---|
| pack-priv BeanConstraintLocation(Class<?> declaringClass) | |
| 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 obj) 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 Constrainable 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.
| |
| getKind | back to summary |
|---|---|
| public ConstraintLocation. Implements org. Doc from org. Returns the nature of the constraint location.
| |
| 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. | |