|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.bval.jsr303.ConstraintValidatorIdentity
final class ConstraintValidatorIdentity
Class that stores the needed properties to ensure that a validation is not checked more than once.
These properties are:
ConstraintValidator
.
Constructor Summary | |
---|---|
ConstraintValidatorIdentity(Object bean,
Path path,
ConstraintValidator<?,?> constraintValidator)
Create a new ConstraintValidatorIdentity instance. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Object |
getBean()
Get the referenced bean. |
ConstraintValidator<?,?> |
getConstraintValidator()
Get the associated ConstraintValidator . |
Path |
getPath()
Get the referenced property Path . |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConstraintValidatorIdentity(Object bean, Path path, ConstraintValidator<?,?> constraintValidator)
bean
- path
- constraintValidator
- Method Detail |
---|
public Object getBean()
public Path getPath()
Path
.
public ConstraintValidator<?,?> getConstraintValidator()
ConstraintValidator
.
ConstraintValidator
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |