Class DistanceCheckFormValidator
java.lang.Object
org.zkoss.bind.validator.AbstractValidator
org.openforis.collect.designer.form.validator.BaseValidator
org.openforis.collect.designer.form.validator.FormValidator
org.openforis.collect.designer.form.validator.CheckFormValidator
org.openforis.collect.designer.form.validator.DistanceCheckFormValidator
- All Implemented Interfaces:
org.zkoss.bind.Validator
- Author:
- S. Ricci
-
Field Summary
Fields inherited from class org.openforis.collect.designer.form.validator.CheckFormValidator
CONDITION_FIELD, MESSAGE_FIELDFields inherited from class org.openforis.collect.designer.form.validator.FormValidator
blocking, CIRCULAR_REFERENCE_IN_EXPRESSION_MESSAGE_KEY, INVALID_EXPRESSION_MESSAGE_KEY, RESERVED_NAME_MESSAGE_KEYFields inherited from class org.openforis.collect.designer.form.validator.BaseValidator
FIELD_REQUIRED_MESSAGE_KEY, GREATER_THAN_EQUAL_MESSAGE_KEY, GREATER_THAN_MESSAGE_KEY, INTERNAL_NAME_INVALID_VALUE_ERROR_KEY, INVALID_URI_MESSAGE_KEY, ITEM_NAME_ALREADY_DEFINED_MESSAGE_KEY, LESS_THAN_EQUAL_MESSAGE_KEY, LESS_THAN_MESSAGE_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidinternalValidate(org.zkoss.bind.ValidationContext ctx) protected booleanvalidateMinOrMaxExpressionRequireness(org.zkoss.bind.ValidationContext ctx) Methods inherited from class org.openforis.collect.designer.form.validator.CheckFormValidator
getContextNode, getEditedCheckMethods inherited from class org.openforis.collect.designer.form.validator.FormValidator
afterValidate, getExpressionValidator, getFieldNames, getMessage, isBlocking, isEditingItem, normalizeMessageArgument, normalizeMessageArguments, validate, validateBooleanExpressionField, validateExpression, validateExpressionField, validateExpressionField, validateNameNotReserved, validatePathExpressionField, validateValueExpressionField, validateValueExpressionFieldMethods inherited from class org.openforis.collect.designer.form.validator.BaseValidator
createCompareMessage, getNumericValue, getProperties, getValue, getValue, getValueWithDefault, getVM, isNumber, isNumber, validateGreaterThan, validateGreaterThan, validateGreaterThan, validateGreaterThan, validateInternalName, validateInternalName, validateLessThan, validateLessThan, validateLessThan, validateLessThan, validateRegEx, validateRegEx, validateRegEx, validateRegEx, validateRegExValue, validateRequired, validateRequired, validateRequired, validateUriMethods inherited from class org.zkoss.bind.validator.AbstractValidator
addInvalidMessage, addInvalidMessage, addInvalidMessage, addInvalidMessages, addInvalidMessages, addInvalidMessages
-
Constructor Details
-
DistanceCheckFormValidator
public DistanceCheckFormValidator()
-
-
Method Details
-
internalValidate
protected void internalValidate(org.zkoss.bind.ValidationContext ctx) - Overrides:
internalValidatein classCheckFormValidator
-
validateMinOrMaxExpressionRequireness
protected boolean validateMinOrMaxExpressionRequireness(org.zkoss.bind.ValidationContext ctx)
-