| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnl.openedge.baritus.validation.AbstractValidator
nl.openedge.baritus.validation.AbstractFormValidator
nl.openedge.baritus.validation.impl.PropertyNotNullFormValidator
Checks whether the form contains a non null property with the name of property propertyName.
| Constructor Summary | |
| PropertyNotNullFormValidator()construct | |
| PropertyNotNullFormValidator(java.lang.String errorMessageKey)construct with errorMessageKey | |
| PropertyNotNullFormValidator(java.lang.String propertyName,
                             java.lang.String errorMessageKey)construct with property name and errorMessageKey | |
| PropertyNotNullFormValidator(java.lang.String errorMessageKey,
                             ValidationActivationRule rule)construct with error message and rule | |
| PropertyNotNullFormValidator(ValidationActivationRule rule)construct with rule | |
| Method Summary | |
|  java.lang.String | getErrorMessageKey()Get key of error message. | 
|  java.lang.String | getPropertyName()get the name of the property | 
|  boolean | isValid(org.infohazard.maverick.flow.ControllerContext cctx,
        FormBeanContext formBeanContext)check whether the form contains a not null property with the name of property propertyName | 
|  void | setErrorMessageKey(java.lang.String string)Set key of error message. | 
|  void | setPropertyName(java.lang.String string)set the name of the property | 
| Methods inherited from class nl.openedge.baritus.validation.AbstractValidator | 
| getFieldName, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getValidationActivationRule, removeValidationActivationRule, setErrorMessage, setValidationRule | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface nl.openedge.baritus.validation.ValidationRuleDependend | 
| getValidationActivationRule, removeValidationActivationRule, setValidationRule | 
| Constructor Detail | 
public PropertyNotNullFormValidator()
public PropertyNotNullFormValidator(java.lang.String errorMessageKey)
errorMessageKey - public PropertyNotNullFormValidator(ValidationActivationRule rule)
rule - validation rule
public PropertyNotNullFormValidator(java.lang.String errorMessageKey,
                                    ValidationActivationRule rule)
errorMessageKey - message keyrule - validation rule
public PropertyNotNullFormValidator(java.lang.String propertyName,
                                    java.lang.String errorMessageKey)
propertyName - name of propertyerrorMessageKey - message key| Method Detail | 
public boolean isValid(org.infohazard.maverick.flow.ControllerContext cctx,
                       FormBeanContext formBeanContext)
cctx - maverick contextformBeanContext - context with form for this currentRequest
FormValidator.isValid(org.infohazard.maverick.flow.ControllerContext, nl.openedge.baritus.FormBeanContext)public java.lang.String getPropertyName()
public void setPropertyName(java.lang.String string)
string - name of the propertypublic java.lang.String getErrorMessageKey()
public void setErrorMessageKey(java.lang.String string)
string - key of error message| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||