Interface DataValidationConstraint

    • Method Detail

      • getExplicitListValues

        java.lang.String[] getExplicitListValues()
        If validation type is DataValidationConstraint.ValidationType.LIST and formula1 was comma-separated literal values rather than a range or named range, returns list of literal values. Otherwise returns null.
      • setExplicitListValues

        void setExplicitListValues​(java.lang.String[] explicitListValues)
      • getFormula1

        java.lang.String getFormula1()
        Returns:
        the formula for expression 1. May be null
      • setFormula1

        void setFormula1​(java.lang.String formula1)
        Sets a formula for expression 1.
      • getFormula2

        java.lang.String getFormula2()
        Returns:
        the formula for expression 2. May be null
      • setFormula2

        void setFormula2​(java.lang.String formula2)
        Sets a formula for expression 2.