Interface DFFieldChemicalTermsCapability

  • All Superinterfaces:
    DFCapability

    public interface DFFieldChemicalTermsCapability
    extends DFCapability
    All chemical terms fields should have this capability. Chemical terms field is a field which has a formula and the values are computed.
    Author:
    Petr Hamernik
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String PROP_FORMULA  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getFormula()
      Get the current formula.
      void setFormula​(java.lang.String formula, com.im.commons.progress.DFEnvironmentRW env)
      Set the new formula.
    • Method Detail

      • getFormula

        java.lang.String getFormula()
        Get the current formula.
      • setFormula

        void setFormula​(java.lang.String formula,
                        com.im.commons.progress.DFEnvironmentRW env)
        Set the new formula. If formula is not valid or contains unlicensed functions it can throw an exception.

        This operation runs under DDL lock as other DFCapabilities methods and can be cancelled through the environment. When this happen, the field can contain wrong values in some rows.