Package play.data.validation
Class UniqueCheck
java.lang.Object
net.sf.oval.AbstractCheck
net.sf.oval.configuration.annotation.AbstractAnnotationCheck<Unique>
play.data.validation.UniqueCheck
- All Implemented Interfaces:
Serializable,net.sf.oval.Check,net.sf.oval.configuration.annotation.AnnotationCheck<Unique>
public class UniqueCheck
extends net.sf.oval.configuration.annotation.AbstractAnnotationCheck<Unique>
Check which proof if one or a set of properties is unique.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanisSatisfied(Object validatedObject, 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, getTarget, getWhen, isActive, requireMessageVariablesRecreation, setAppliesTo, setContext, setErrorCode, setMessage, setProfiles, setSeverity, setTarget, setWhenMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sf.oval.Check
getAppliesTo, getContext, getErrorCode, getMessage, getMessageVariables, getProfiles, getSeverity, getTarget, getWhen, isActive, isActive, isSatisfied, setAppliesTo, setContext, setErrorCode, setMessage, setProfiles, setSeverity, setTarget, setWhen
-
Constructor Details
-
UniqueCheck
public UniqueCheck()
-
-
Method Details
-
configure
-
createMessageVariables
- Overrides:
createMessageVariablesin classnet.sf.oval.AbstractCheck
-
isSatisfied
-