| Modifier and Type | Field and Description |
|---|---|
| private final Class | |
| private final boolean | |
| private final List |
| Access | Constructor and Description |
|---|---|
| public | ConstraintDefinitionContribution(Class<A> constraintType, List<ConstraintValidatorDescriptor<A>> validatorDescriptors, boolean includeExisting)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public Class | getConstraintType()
Returns the constraint annotation type for which this instance provides constraint validator instances. |
| public List | getValidatorDescriptors()
Returns a list of constraint validator descriptors for the constraint type of this instance. |
| public int | |
| public boolean | Returns: true if the existing constraint validators for the constraint type wrapped by this
instance should be kept, false otherwise.Whether or not the existing constraint validators should be kept or not. |
| public String |
| constraintType | back to summary |
|---|---|
| private final Class<A> constraintType | |
| includeExisting | back to summary |
|---|---|
| private final boolean includeExisting | |
| validatorDescriptors | back to summary |
|---|---|
| private final List<ConstraintValidatorDescriptor<A>> validatorDescriptors
| |
| ConstraintDefinitionContribution | back to summary |
|---|---|
| public ConstraintDefinitionContribution(Class<A> constraintType, List<ConstraintValidatorDescriptor<A>> validatorDescriptors, boolean includeExisting) | |
| 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. | |
| getConstraintType | back to summary |
|---|---|
| public Class Returns the constraint annotation type for which this instance provides constraint validator instances. | |
| getValidatorDescriptors | back to summary |
|---|---|
| public List Returns a list of constraint validator descriptors for the constraint type of this instance. | |
| 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
| |
| includeExisting | back to summary |
|---|---|
| public boolean includeExisting() Whether or not the existing constraint validators should be kept or not.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |