Interface BaseConstraint

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  BaseConstraint.Type
      Defines the data type.
    • Method Detail

      • isRequired

        @Nullable
        default @Nullable java.lang.Boolean isRequired()
        Returns true if field is required, otherwise false.
        Returns:
        true if field is required, otherwise false
        Since:
        com.adobe.cq.forms.core.components.models.form 0.0.1
      • getType

        default BaseConstraint.Type getType()
        Returns the data type of the form field.
        Returns:
        the data type of the form field
        Since:
        com.adobe.cq.forms.core.components.models.form 0.0.1
      • getValidationExpression

        @Nullable
        default @Nullable java.lang.String getValidationExpression()
        Returns an expression returning boolean value indicating whether the value in the field is valid or not
        Returns:
        an expression
        Since:
        com.adobe.cq.forms.core.components.models.form 0.0.1