Interface DFNewTypeWellKnownOptions.NewCTField

    • Method Detail

      • getFormula

        java.lang.String getFormula()
      • setFormula

        void setFormula​(java.lang.String formula)
        Set the formula for chemical terms field. The validation may run in background and the validation result isn't guaranteed to be known at the time this method returns.
        Parameters:
        formula - chemical terms expression
      • setFormulaSync

        void setFormulaSync​(java.lang.String formula)
        Sets the formula synchronously. After this method returns, DFNewTypeOptions.isValid() and DFNewTypeOptions.getErrorMessage() will return correct values. If you create new field programatically, this method is probably more useful to you than setFormula.
        Parameters:
        formula - chemical terms expression
      • getSupportedGenericTypes

        java.util.List<com.im.commons.db.ddl.GenericColumnType> getSupportedGenericTypes()
      • setGenericType

        void setGenericType​(com.im.commons.db.ddl.GenericColumnType type)
      • setGenericTypeSync

        void setGenericTypeSync​(com.im.commons.db.ddl.GenericColumnType type)
        Sets generic type of new field and waits for its validation. Should be set to the return type of formula.
        Parameters:
        type -
        See Also:
        setFormulaSync(java.lang.String)
      • getGenericType

        com.im.commons.db.ddl.GenericColumnType getGenericType()