Package dev.orne.beans
Class ValidBeanIdentity.ValidBeanIdentityValidator
java.lang.Object
dev.orne.beans.ValidBeanIdentity.ValidBeanIdentityValidator
- All Implemented Interfaces:
javax.validation.ConstraintValidator<ValidBeanIdentity,
Object>
- Enclosing class:
- ValidBeanIdentity
@API(status=INTERNAL,
since="0.1")
public static class ValidBeanIdentity.ValidBeanIdentityValidator
extends Object
implements javax.validation.ConstraintValidator<ValidBeanIdentity,Object>
Constraint validator for
ValidBeanIdentity
.- See Also:
-
Constructor Details
-
ValidBeanIdentityValidator
public ValidBeanIdentityValidator()Creates a new instance.
-
-
Method Details
-
isValid
- Specified by:
isValid
in interfacejavax.validation.ConstraintValidator<ValidBeanIdentity,
Object>
-
isValid
Returnstrue
if specified bean is valid reference to it's bean type.- Parameters:
value
- The bean to validate- Returns:
- If the bean is a valid bean reference
-