|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ConstraintViolation | |
---|---|
net.sf.oval | |
net.sf.oval.exception | This package contains validation exceptions that are thrown if validation errors occur. |
net.sf.oval.guard | This package contains classes that are relevant for OVal's programming by contract feature. |
Uses of ConstraintViolation in net.sf.oval |
---|
Fields in net.sf.oval with type parameters of type ConstraintViolation | |
---|---|
protected ThreadLocalLinkedList<List<ConstraintViolation>> |
Validator.currentViolations
|
Methods in net.sf.oval that return ConstraintViolation | |
---|---|
ConstraintViolation[] |
ConstraintViolation.getCauses()
|
Methods in net.sf.oval that return types with arguments of type ConstraintViolation | |
---|---|
List<ConstraintViolation> |
Validator.validate(Object validatedObject)
validates the field and getter constrains of the given object |
List<ConstraintViolation> |
IValidator.validate(Object validatedObject)
validates the field and getter constrains of the given object |
List<ConstraintViolation> |
Validator.validate(Object validatedObject,
String... profiles)
validates the field and getter constrains of the given object |
List<ConstraintViolation> |
IValidator.validate(Object validatedObject,
String... profiles)
validates the field and getter constrains of the given object |
List<ConstraintViolation> |
Validator.validateFieldValue(Object validatedObject,
Field validatedField,
Object fieldValueToValidate)
Validates the give value against the defined field constraints. |
List<ConstraintViolation> |
IValidator.validateFieldValue(Object validatedObject,
Field validatedField,
Object fieldValueToValidate)
Validates the give value against the defined field constraints. |
Methods in net.sf.oval with parameters of type ConstraintViolation | |
---|---|
void |
Validator.reportConstraintViolation(ConstraintViolation constraintViolation)
Reports an additional constraint violation for the current validation cycle. |
Method parameters in net.sf.oval with type arguments of type ConstraintViolation | |
---|---|
protected void |
Validator.checkConstraint(List<ConstraintViolation> violations,
Check check,
Object validatedObject,
Object valueToValidate,
OValContext context,
String[] profiles,
boolean isContainerValue)
|
protected void |
Validator.checkConstraintAssertConstraintSet(List<ConstraintViolation> violations,
AssertConstraintSetCheck check,
Object validatedObject,
Object valueToValidate,
OValContext context,
String[] profiles)
|
protected void |
Validator.checkConstraintAssertFieldConstraints(List<ConstraintViolation> violations,
AssertFieldConstraintsCheck check,
Object validatedObject,
Object valueToValidate,
OValContext context,
String[] profiles)
|
protected void |
Validator.checkConstraintAssertValid(List<ConstraintViolation> violations,
AssertValidCheck check,
Object validatedObject,
Object valueToValidate,
OValContext context,
String[] profiles)
|
protected void |
Validator.validateInvariants(Object validatedObject,
List<ConstraintViolation> violations,
String[] profiles)
validates the field and getter constrains of the given object. |
Constructors in net.sf.oval with parameters of type ConstraintViolation | |
---|---|
ConstraintViolation(Check check,
String message,
Object validatedObject,
Object invalidValue,
OValContext context,
ConstraintViolation... causes)
|
Constructor parameters in net.sf.oval with type arguments of type ConstraintViolation | |
---|---|
ConstraintViolation(Check check,
String message,
Object validatedObject,
Object invalidValue,
OValContext context,
List<ConstraintViolation> causes)
|
Uses of ConstraintViolation in net.sf.oval.exception |
---|
Methods in net.sf.oval.exception that return ConstraintViolation | |
---|---|
ConstraintViolation[] |
ConstraintsViolatedException.getConstraintViolations()
|
Constructors in net.sf.oval.exception with parameters of type ConstraintViolation | |
---|---|
ConstraintsViolatedException(ConstraintViolation... constraintViolations)
|
Constructor parameters in net.sf.oval.exception with type arguments of type ConstraintViolation | |
---|---|
ConstraintsViolatedException(List<ConstraintViolation> constraintViolations)
|
Uses of ConstraintViolation in net.sf.oval.guard |
---|
Fields in net.sf.oval.guard with type parameters of type ConstraintViolation | |
---|---|
protected List<ConstraintViolation> |
Guard.GuardMethodPreResult.violations
|
Methods in net.sf.oval.guard that return types with arguments of type ConstraintViolation | |
---|---|
List<ConstraintViolation> |
ConstraintsViolatedAdapter.getConstraintViolations()
|
protected List<ConstraintViolation> |
Guard.validateConstructorParameters(Object validatedObject,
Constructor<?> constructor,
Object[] argsToValidate)
Validates the give arguments against the defined constructor parameter constraints. |
Method parameters in net.sf.oval.guard with type arguments of type ConstraintViolation | |
---|---|
protected void |
Guard.validateInvariants(Object guardedObject,
List<ConstraintViolation> violations,
String[] profiles)
validates the field and getter constrains of the given object. |
protected void |
Guard.validateMethodParameters(Object validatedObject,
Method method,
Object[] args,
List<ConstraintViolation> violations)
Validates the pre conditions for a method call. |
protected void |
Guard.validateMethodPost(Object validatedObject,
Method method,
Object[] args,
Object returnValue,
Map<PostCheck,Object> oldValues,
List<ConstraintViolation> violations)
Validates the post conditions for a method call. |
protected void |
Guard.validateMethodPre(Object validatedObject,
Method method,
Object[] args,
List<ConstraintViolation> violations)
Validates the @Pre conditions for a method call. |
protected void |
Guard.validateMethodReturnValue(Object validatedObject,
Method method,
Object returnValue,
List<ConstraintViolation> violations)
Validates the return value checks for a method call. |
Constructor parameters in net.sf.oval.guard with type arguments of type ConstraintViolation | |
---|---|
Guard.GuardMethodPreResult(Object guardedObject,
Method method,
Object[] args,
ClassChecks cc,
boolean checkInvariants,
Map<PostCheck,Object> postCheckOldValues,
List<ConstraintViolation> violations)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |