Interface NumberAndDateConstraint

  • All Superinterfaces:
    BaseConstraint

    @ConsumerType
    public interface NumberAndDateConstraint
    extends BaseConstraint
    Interface for date and number constraints
    Since:
    com.adobe.cq.forms.core.components.models.form 0.0.1
    • Method Detail

      • getMinimum

        java.lang.Object getMinimum()
        Returns the minimum value that a user can enter in the Field. This constraint is applicable for Fields that have type number or type string and format date (i.e. Date Fields)
        Returns:
        the minimum value which could be Date serialized in ISO 8601 format or a number
        Since:
        com.adobe.cq.forms.core.components.models.form 0.0.1
      • getMaximum

        java.lang.Object getMaximum()
        Returns the maximum value that a user can enter in the Field. This constraint is applicable for Fields that have type number or type string and format date (i.e. Date Fields)
        Returns:
        the maximum value which could be Date serialized in ISO 8601 format (string) or a number
        Since:
        com.adobe.cq.forms.core.components.models.form 0.0.1