org.apache.myfaces.extensions.validator.crossval.strategy
Class DateIsStrategy
java.lang.Object
org.apache.myfaces.extensions.validator.core.validation.strategy.AbstractValidationStrategy
org.apache.myfaces.extensions.validator.core.validation.strategy.AbstractAnnotationValidationStrategy<A>
org.apache.myfaces.extensions.validator.crossval.strategy.AbstractCrossValidationStrategy
org.apache.myfaces.extensions.validator.crossval.strategy.AbstractCompareStrategy<DateIs>
org.apache.myfaces.extensions.validator.crossval.strategy.DateIsStrategy
- All Implemented Interfaces:
- ValidationStrategy, CrossValidationStrategy
@SkipValidationSupport
public class DateIsStrategy
- extends AbstractCompareStrategy<DateIs>
- Since:
- 1.x.1
Methods inherited from class org.apache.myfaces.extensions.validator.crossval.strategy.AbstractCompareStrategy |
getSourceComponentErrorMessage, getTargetComponentErrorMessage, getValidationErrorMsgKey, handleSourceViolation, handleTargetViolation, initReferencingStrategies, processCrossValidation, processSourceComponentAfterViolation, processTargetComponentAfterViolation, useSourceComponentToDisplayErrorMsg, useTargetComponentToDisplayErrorMsg |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TOO_EARLY
protected static final String TOO_EARLY
- See Also:
- Constant Field Values
TOO_LATE
protected static final String TOO_LATE
- See Also:
- Constant Field Values
TOO_EARLY_SAME
protected static final String TOO_EARLY_SAME
- See Also:
- Constant Field Values
TOO_LATE_SAME
protected static final String TOO_LATE_SAME
- See Also:
- Constant Field Values
NOT_EQUAL_DATE_TIME
protected static final String NOT_EQUAL_DATE_TIME
- See Also:
- Constant Field Values
RESULT_KEY
protected static final String RESULT_KEY
- See Also:
- Constant Field Values
COMPARED_VALUE_KEY
protected static final String COMPARED_VALUE_KEY
- See Also:
- Constant Field Values
REVERSE_COMPARED_VALUE_KEY
protected static final String REVERSE_COMPARED_VALUE_KEY
- See Also:
- Constant Field Values
DateIsStrategy
public DateIsStrategy()
getMessageTarget
protected MessageTarget getMessageTarget(DateIs annotation)
- Specified by:
getMessageTarget
in class AbstractCompareStrategy<DateIs>
isViolation
public boolean isViolation(Object object1,
Object object2,
DateIs annotation)
- Specified by:
isViolation
in class AbstractCompareStrategy<DateIs>
getValidationTargets
public String[] getValidationTargets(DateIs annotation)
- Specified by:
getValidationTargets
in class AbstractCompareStrategy<DateIs>
getValidationErrorMsgKey
protected String getValidationErrorMsgKey(DateIs annotation,
boolean isTargetComponent)
- Specified by:
getValidationErrorMsgKey
in class AbstractCompareStrategy<DateIs>
getErrorMessageSummary
protected String getErrorMessageSummary(DateIs annotation,
boolean isTargetComponent)
- Overrides:
getErrorMessageSummary
in class AbstractCompareStrategy<DateIs>
getErrorMessageDetail
protected String getErrorMessageDetail(DateIs annotation,
boolean isTargetComponent)
- Overrides:
getErrorMessageDetail
in class AbstractCompareStrategy<DateIs>
getReverseErrorMessageSummary
protected String getReverseErrorMessageSummary(DateIs annotation)
- Overrides:
getReverseErrorMessageSummary
in class AbstractCompareStrategy<DateIs>
getReverseErrorMessageDetail
protected String getReverseErrorMessageDetail(DateIs annotation)
- Overrides:
getReverseErrorMessageDetail
in class AbstractCompareStrategy<DateIs>
getErrorMessage
protected String getErrorMessage(String key,
DateIs annotation,
boolean isTargetComponent)
Copyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.