Package play.data.validation
Class MaxSizeCheck
- java.lang.Object
-
- net.sf.oval.AbstractCheck
-
- net.sf.oval.configuration.annotation.AbstractAnnotationCheck<MaxSize>
-
- play.data.validation.MaxSizeCheck
-
- All Implemented Interfaces:
java.io.Serializable
,net.sf.oval.Check
,net.sf.oval.configuration.annotation.AnnotationCheck<MaxSize>
public class MaxSizeCheck extends net.sf.oval.configuration.annotation.AbstractAnnotationCheck<MaxSize>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MaxSizeCheck()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(MaxSize annotation)
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, getTarget, getWhen, isActive, requireMessageVariablesRecreation, setAppliesTo, setContext, setErrorCode, setMessage, setProfiles, setSeverity, setTarget, setWhen
-
-
-
-
Method Detail
-
configure
public void configure(MaxSize annotation)
-
isSatisfied
public boolean isSatisfied(java.lang.Object validatedObject, java.lang.Object value, net.sf.oval.context.OValContext context, net.sf.oval.Validator validator)
-
createMessageVariables
public java.util.Map<java.lang.String,java.lang.String> createMessageVariables()
- Overrides:
createMessageVariables
in classnet.sf.oval.AbstractCheck
-
-