Interface IFieldValidationDefinition

All Superinterfaces:
Serializable
All Known Implementing Classes:
FieldValidationDefinition

public interface IFieldValidationDefinition extends Serializable
This interface defines an attribute validation.
Since:
9.0
Author:
A.Pragt
  • Method Summary

    Modifier and Type
    Method
    Description
    This method returns the condition that should be evaluated to determine if the validation should be active.
    This method returns the validation message.
    This method returns the validation rule that should be evaluated for the field.
    This method returns the validator that should be evaluated for the field.
  • Method Details

    • getMessage

      IDynamicText getMessage()
      This method returns the validation message.
      Returns:
      The validation message, never null.
    • getValidationRule

      IValidationRule getValidationRule()
      This method returns the validation rule that should be evaluated for the field. When this method returns null, getValidator should return a value.
      Returns:
      The validation rule, may be null.
    • getValidator

      IValidatorCall getValidator()
      This method returns the validator that should be evaluated for the field. When this method returns null, getValidationRule should return a value.
      Returns:
      The validator rule, may be null.
    • getCondition

      ICondition getCondition()
      This method returns the condition that should be evaluated to determine if the validation should be active.
      Returns:
      the condition that should be evaluated to determine if the validation should be active, may be null.