Package org.tomitribe.crest.val
Class ConstraintAdapter<A extends java.lang.annotation.Annotation,T>
- java.lang.Object
-
- org.tomitribe.crest.val.ConstraintAdapter<A,T>
-
- All Implemented Interfaces:
javax.validation.ConstraintValidator<A,T>
- Direct Known Subclasses:
Directory.Constraint,Executable.Constraint,Exists.Constraint,Readable.Constraint,Writable.Constraint
public class ConstraintAdapter<A extends java.lang.annotation.Annotation,T> extends java.lang.Object implements javax.validation.ConstraintValidator<A,T>- Version:
- $Revision$ $Date$
-
-
Constructor Summary
Constructors Constructor Description ConstraintAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinitialize(A constraintAnnotation)booleanisValid(T value)booleanisValid(T value, javax.validation.ConstraintValidatorContext context)
-