|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.oval.AbstractCheck net.sf.oval.configuration.annotation.AbstractAnnotationCheck<Unique> play.data.validation.UniqueCheck
public class UniqueCheck
Check which proof if one or a set of properties is unique.
Constructor Summary | |
---|---|
UniqueCheck()
|
Method Summary | |
---|---|
void |
configure(Unique constraintAnnotation)
|
java.util.Map<java.lang.String,java.lang.String> |
createMessageVariables()
|
boolean |
isSatisfied(java.lang.Object validatedObject,
java.lang.Object value,
net.sf.oval.context.OValContext context,
net.sf.oval.Validator validator)
|
Methods inherited from class net.sf.oval.AbstractCheck |
---|
getAppliesTo, getAppliesToDefault, getContext, getErrorCode, getMessage, getMessageVariables, getProfiles, getSeverity, getWhen, isActive, requireMessageVariablesRecreation, setAppliesTo, setContext, setErrorCode, setMessage, setProfiles, setSeverity, setWhen |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.oval.Check |
---|
getAppliesTo, getContext, getErrorCode, getMessage, getMessageVariables, getProfiles, getSeverity, getWhen, isActive, setAppliesTo, setContext, setErrorCode, setMessage, setProfiles, setSeverity, setWhen |
Constructor Detail |
---|
public UniqueCheck()
Method Detail |
---|
public void configure(Unique constraintAnnotation)
configure
in interface net.sf.oval.configuration.annotation.AnnotationCheck<Unique>
configure
in class net.sf.oval.configuration.annotation.AbstractAnnotationCheck<Unique>
public java.util.Map<java.lang.String,java.lang.String> createMessageVariables()
createMessageVariables
in class net.sf.oval.AbstractCheck
public boolean isSatisfied(java.lang.Object validatedObject, java.lang.Object value, net.sf.oval.context.OValContext context, net.sf.oval.Validator validator)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |