Class MatchCheck

java.lang.Object
net.sf.oval.AbstractCheck
net.sf.oval.configuration.annotation.AbstractAnnotationCheck<Match>
play.data.validation.MatchCheck
All Implemented Interfaces:
Serializable, net.sf.oval.Check, net.sf.oval.configuration.annotation.AnnotationCheck<Match>

public class MatchCheck extends net.sf.oval.configuration.annotation.AbstractAnnotationCheck<Match>
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
     
    boolean
    isSatisfied(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, 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, getTarget, getWhen, isActive, isActive, isSatisfied, setAppliesTo, setContext, setErrorCode, setMessage, setProfiles, setSeverity, setTarget, setWhen
  • Constructor Details

    • MatchCheck

      public MatchCheck()
  • Method Details

    • configure

      public void configure(Match match)
      Specified by:
      configure in interface net.sf.oval.configuration.annotation.AnnotationCheck<Match>
      Overrides:
      configure in class net.sf.oval.configuration.annotation.AbstractAnnotationCheck<Match>
    • isSatisfied

      public boolean isSatisfied(Object validatedObject, Object value, net.sf.oval.context.OValContext context, net.sf.oval.Validator validator)
    • createMessageVariables

      public Map<String,String> createMessageVariables()
      Overrides:
      createMessageVariables in class net.sf.oval.AbstractCheck