Package | Description |
---|---|
org.apache.bval | |
org.apache.bval.jsr | |
org.apache.bval.model |
Modifier and Type | Method and Description |
---|---|
protected ValidationListener.Error |
ValidationResults.createError(String reason,
Object owner,
String propertyName)
Create an Error object.
|
Modifier and Type | Method and Description |
---|---|
Map<Object,Map<String,List<ValidationListener.Error>>> |
ValidationResults.getErrorsByOwner()
Get the map of Errors by owner;
key = owner, value = map with:
key = propertyName, value = list of errors for this owner.propertyName |
Map<String,List<ValidationListener.Error>> |
ValidationResults.getErrorsByReason()
Get the map of Errors by reason;
key = reason, value = list of errors for this reason
|
Modifier and Type | Method and Description |
---|---|
<T extends ValidationListener> |
ValidationResults.addError(ValidationListener.Error error,
ValidationContext<T> context)
API to add an error to the validation results.
|
protected void |
ValidationResults.addToOwnerBucket(ValidationListener.Error error)
Add an Error to the property-keyed map of Errors maintained for this Error's owner.
|
protected void |
ValidationResults.addToReasonBucket(ValidationListener.Error error)
Add an Error to the set of Errors shared by a particular "reason."
|
Modifier and Type | Method and Description |
---|---|
List<ValidationListener.Error> |
ConstraintValidatorContextImpl.getErrorMessages()
Get the queued error messages.
|
Modifier and Type | Method and Description |
---|---|
<VL extends ValidationListener> |
ConstraintValidationListener.addError(ValidationListener.Error error,
ValidationContext<VL> context)
Alternative method to add a fully initialized
ValidationListener.Error object. |
Modifier and Type | Method and Description |
---|---|
<T extends ValidationListener> |
ValidationListener.addError(ValidationListener.Error error,
ValidationContext<T> context)
Alternative method to add a fully initialized
ValidationListener.Error object. |
Copyright © 2010–2018 The Apache Software Foundation. All rights reserved.