|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Check | |
---|---|
net.sf.oval | |
net.sf.oval.configuration | |
net.sf.oval.configuration.annotation | |
net.sf.oval.configuration.pojo.elements | |
net.sf.oval.constraint | This package contains the standard single-value validation constraints in form of Java5 Annotations that can be tagged to class fields, constructor parameters, method parameters and getter method return values. |
net.sf.oval.constraint.exclusion | |
net.sf.oval.guard | This package contains classes that are relevant for OVal's programming by contract feature. |
net.sf.oval.integration.guice | |
net.sf.oval.integration.spring | |
net.sf.oval.internal | This package contains some internally used classes. |
Uses of Check in net.sf.oval |
---|
Classes in net.sf.oval that implement Check | |
---|---|
class |
AbstractCheck
Partial implementation of check classes. |
Methods in net.sf.oval that return Check | |
---|---|
Check[] |
Validator.getChecks(Class<?> clazz)
Gets the object-level constraint checks for the given class |
Check[] |
Validator.getChecks(Field field)
Gets the constraint checks for the given field |
Check[] |
Validator.getChecks(Method method)
Gets the constraint checks for the given method's return value |
Methods in net.sf.oval that return types with arguments of type Check | |
---|---|
Collection<Check> |
ConstraintSet.getChecks()
|
Methods in net.sf.oval with parameters of type Check | |
---|---|
void |
Validator.addChecks(Class<?> clazz,
Check... checks)
Registers object-level constraint checks |
void |
Validator.addChecks(Field field,
Check... checks)
Registers constraint checks for the given field |
void |
Validator.addChecks(Method invariantMethod,
Check... checks)
Registers constraint checks for the given getter's return value |
protected void |
Validator.checkConstraint(List<ConstraintViolation> violations,
Check check,
Object validatedObject,
Object valueToValidate,
OValContext context,
String[] profiles,
boolean isContainerValue)
|
boolean |
CheckExclusion.isCheckExcluded(Check check,
Object validatedObject,
Object valueToValidate,
OValContext context,
Validator validator)
This method implements the validation logic |
void |
Validator.removeChecks(Class<?> clazz,
Check... checks)
Removes object-level constraint checks |
void |
Validator.removeChecks(Field field,
Check... checks)
Removes constraint checks for the given field |
void |
Validator.removeChecks(Method getter,
Check... checks)
Removes constraint checks for the given getter's return value |
Method parameters in net.sf.oval with type arguments of type Check | |
---|---|
void |
ConstraintSet.setChecks(Collection<Check> checks)
|
Constructors in net.sf.oval with parameters of type Check | |
---|---|
ConstraintViolation(Check check,
String message,
Object validatedObject,
Object invalidValue,
OValContext context)
|
|
ConstraintViolation(Check check,
String message,
Object validatedObject,
Object invalidValue,
OValContext context,
ConstraintViolation... causes)
|
|
ConstraintViolation(Check check,
String message,
Object validatedObject,
Object invalidValue,
OValContext context,
List<ConstraintViolation> causes)
|
Uses of Check in net.sf.oval.configuration |
---|
Methods in net.sf.oval.configuration with parameters of type Check | |
---|---|
void |
CheckInitializationListener.onCheckInitialized(Check check)
|
Uses of Check in net.sf.oval.configuration.annotation |
---|
Subinterfaces of Check in net.sf.oval.configuration.annotation | |
---|---|
interface |
AnnotationCheck<ConstraintAnnotation extends Annotation>
Interface for constraint checks that are configurable via annotations. |
Classes in net.sf.oval.configuration.annotation that implement Check | |
---|---|
class |
AbstractAnnotationCheck<ConstraintAnnotation extends Annotation>
Partial implementation of check classes configurable via annotations. |
Method parameters in net.sf.oval.configuration.annotation with type arguments of type Check | ||
---|---|---|
protected void |
BeanValidationAnnotationsConfigurer.initializeChecks(Annotation annotation,
Collection<Check> checks)
|
|
protected void |
JPAAnnotationsConfigurer.initializeChecks(javax.persistence.Basic annotation,
Collection<Check> checks)
|
|
protected void |
JPAAnnotationsConfigurer.initializeChecks(javax.persistence.Column annotation,
Collection<Check> checks,
AccessibleObject fieldOrMethod)
|
|
protected
|
AnnotationsConfigurer.initializeChecks(ConstraintsAnnotation constraintsAnnotation,
List<Check> checks)
|
|
protected void |
JPAAnnotationsConfigurer.initializeChecks(javax.persistence.ManyToMany annotation,
Collection<Check> checks)
|
|
protected void |
JPAAnnotationsConfigurer.initializeChecks(javax.persistence.ManyToOne annotation,
Collection<Check> checks)
|
|
protected void |
JPAAnnotationsConfigurer.initializeChecks(javax.persistence.OneToMany annotation,
Collection<Check> checks)
|
|
protected void |
JPAAnnotationsConfigurer.initializeChecks(javax.persistence.OneToOne annotation,
Collection<Check> checks)
|
Uses of Check in net.sf.oval.configuration.pojo.elements |
---|
Fields in net.sf.oval.configuration.pojo.elements with type parameters of type Check | |
---|---|
List<Check> |
ParameterConfiguration.checks
the checks for the parameter |
List<Check> |
ObjectConfiguration.checks
object level checks |
List<Check> |
MethodReturnValueConfiguration.checks
checks for a method's return value that need to be verified after method execution |
List<Check> |
FieldConfiguration.checks
checks of the field |
List<Check> |
ConstraintSetConfiguration.checks
|
Uses of Check in net.sf.oval.constraint |
---|
Classes in net.sf.oval.constraint that implement Check | |
---|---|
class |
AssertCheck
|
class |
AssertConstraintSetCheck
|
class |
AssertFalseCheck
|
class |
AssertFieldConstraintsCheck
|
class |
AssertNullCheck
|
class |
AssertTrueCheck
|
class |
AssertURLCheck
|
class |
AssertValidCheck
|
class |
CheckWithCheck
|
class |
DateRangeCheck
|
class |
DigitsCheck
|
class |
EmailCheck
|
class |
EqualToFieldCheck
|
class |
FutureCheck
|
class |
HasSubstringCheck
|
class |
InstanceOfAnyCheck
|
class |
InstanceOfCheck
|
class |
LengthCheck
|
class |
MatchPatternCheck
|
class |
MaxCheck
|
class |
MaxLengthCheck
|
class |
MaxSizeCheck
|
class |
MemberOfCheck
|
class |
MinCheck
|
class |
MinLengthCheck
|
class |
MinSizeCheck
|
class |
NoSelfReferenceCheck
|
class |
NotBlankCheck
|
class |
NotEmptyCheck
|
class |
NotEqualCheck
|
class |
NotEqualToFieldCheck
|
class |
NotMatchPatternCheck
|
class |
NotMemberOfCheck
|
class |
NotNegativeCheck
|
class |
NotNullCheck
|
class |
PastCheck
|
class |
RangeCheck
|
class |
SizeCheck
|
class |
ValidateWithMethodCheck
|
Uses of Check in net.sf.oval.constraint.exclusion |
---|
Methods in net.sf.oval.constraint.exclusion with parameters of type Check | |
---|---|
boolean |
NullableExclusion.isCheckExcluded(Check check,
Object validatedObject,
Object valueToValidate,
OValContext context,
Validator validator)
This method implements the validation logic |
Uses of Check in net.sf.oval.guard |
---|
Classes in net.sf.oval.guard that implement Check | |
---|---|
class |
PostCheck
|
class |
PreCheck
|
Methods in net.sf.oval.guard that return Check | |
---|---|
Check[] |
Guard.getChecks(Method method,
int paramIndex)
Returns the registers constraint pre condition checks for the given method parameter |
Methods in net.sf.oval.guard with parameters of type Check | |
---|---|
void |
Guard.addChecks(Constructor<?> ctor,
int paramIndex,
Check... checks)
Registers constraint checks for the given constructor parameter |
void |
Guard.addChecks(Method method,
Check... checks)
Registers constraint checks for the given method's return value |
void |
Guard.addChecks(Method method,
int paramIndex,
Check... checks)
Registers constraint checks for the given method parameter |
void |
Guard.removeChecks(Constructor<?> ctor,
int paramIndex,
Check... checks)
Removes constraint checks from the given constructor parameter |
void |
Guard.removeChecks(Method method,
int paramIndex,
Check... checks)
Removes constraint checks for the given method parameter |
Uses of Check in net.sf.oval.integration.guice |
---|
Methods in net.sf.oval.integration.guice with parameters of type Check | |
---|---|
void |
GuiceCheckInitializationListener.onCheckInitialized(Check check)
|
Uses of Check in net.sf.oval.integration.spring |
---|
Methods in net.sf.oval.integration.spring with parameters of type Check | |
---|---|
void |
SpringCheckInitializationListener.onCheckInitialized(Check check)
|
Uses of Check in net.sf.oval.internal |
---|
Fields in net.sf.oval.internal with type parameters of type Check | |
---|---|
Set<Check> |
ParameterChecks.checks
|
Map<Field,Set<Check>> |
ClassChecks.checksForFields
checks on fields' value |
Map<Method,Set<Check>> |
ClassChecks.checksForMethodReturnValues
checks on methods' return value |
Set<Check> |
ClassChecks.checksForObject
compound constraints / object level invariants |
Methods in net.sf.oval.internal with parameters of type Check | |
---|---|
void |
ClassChecks.addConstructorParameterChecks(Constructor<?> constructor,
int parameterIndex,
Check... checks)
adds constraint checks to a constructor parameter |
void |
ClassChecks.addFieldChecks(Field field,
Check... checks)
adds check constraints to a field |
void |
ClassChecks.addMethodParameterChecks(Method method,
int parameterIndex,
Check... checks)
adds constraint checks to a method parameter |
void |
ClassChecks.addMethodReturnValueChecks(Method method,
Boolean isInvariant,
Check... checks)
adds constraint checks to a method's return value |
void |
ClassChecks.addObjectChecks(Check... checks)
adds check constraints on object level (invariants) |
void |
ClassChecks.removeConstructorParameterChecks(Constructor<?> constructor,
int parameterIndex,
Check... checks)
|
void |
ClassChecks.removeFieldChecks(Field field,
Check... checks)
|
void |
ClassChecks.removeMethodParameterChecks(Method method,
int parameterIndex,
Check... checks)
|
void |
ClassChecks.removeMethodReturnValueChecks(Method method,
Check... checks)
|
void |
ClassChecks.removeObjectChecks(Check... checks)
|
Method parameters in net.sf.oval.internal with type arguments of type Check | |
---|---|
void |
ClassChecks.addConstructorParameterChecks(Constructor<?> constructor,
int parameterIndex,
Collection<Check> checks)
adds constraint checks to a constructor parameter |
void |
ClassChecks.addFieldChecks(Field field,
Collection<Check> checks)
adds check constraints to a field |
void |
ClassChecks.addMethodParameterChecks(Method method,
int parameterIndex,
Collection<Check> checks)
adds constraint checks to a method parameter |
void |
ClassChecks.addMethodReturnValueChecks(Method method,
Boolean isInvariant,
Collection<Check> checks)
adds constraint checks to a method's return value |
void |
ClassChecks.addObjectChecks(Collection<Check> checks)
adds check constraints on object level (invariants) |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |