Class DefaultEvaluatee

java.lang.Object
org.compiere.util.DefaultEvaluatee
All Implemented Interfaces:
Evaluatee

public class DefaultEvaluatee extends Object implements Evaluatee
Default Evaluatee implementation
Author:
hengsin
  • Constructor Details

    • DefaultEvaluatee

      public DefaultEvaluatee(GridTab gridTab, int windowNo, int tabNo)
      Parameters:
      gridTab -
      windowNo -
      tabNo -
    • DefaultEvaluatee

      public DefaultEvaluatee(GridTab gridTab, int windowNo, int tabNo, boolean onlyWindow)
      Parameters:
      gridTab -
      windowNo -
      tabNo -
      onlyWindow -
    • DefaultEvaluatee

      public DefaultEvaluatee(GridTab gridTab, int windowNo, int tabNo, boolean onlyTab, boolean onlyWindow)
      Parameters:
      gridTab -
      windowNo -
      tabNo -
      onlyTab -
      onlyWindow -
    • DefaultEvaluatee

      public DefaultEvaluatee(PO po)
      Parameters:
      po -
    • DefaultEvaluatee

      public DefaultEvaluatee(DefaultEvaluatee.DataProvider dataProvider)
      Parameters:
      dataProvider -
    • DefaultEvaluatee

      public DefaultEvaluatee()
      Default constructor
  • Method Details

    • setTrxName

      public void setTrxName(String trxName)
    • get_ValueAsString

      public String get_ValueAsString(String variableName)
      Description copied from interface: Evaluatee
      Get Variable Value
      Specified by:
      get_ValueAsString in interface Evaluatee
      Parameters:
      variableName - name
      Returns:
      value
    • get_ValueAsString

      public String get_ValueAsString(Properties ctx, String variableName)
      Get Variable Value (Evaluatee)
      Parameters:
      ctx -
      variableName - name
      Returns:
      value
    • isUseMsgForBoolean

      public boolean isUseMsgForBoolean()
      Is using message translation for boolean data value
      Returns:
      true if using message translation for boolean data value
    • setUseMsgForBoolean

      public void setUseMsgForBoolean(boolean useMsgForBoolean)
      Set the use of message translation for boolean data value
      Parameters:
      useMsgForBoolean -
    • isUseColumnDateFormat

      public boolean isUseColumnDateFormat()
      Is using column display format for date data value
      Returns:
      true if using column display format for date data value
    • setUseColumnDateFormat

      public void setUseColumnDateFormat(boolean useColumnDateFormat)
      Set the use of column display format for date data value
      Parameters:
      useColumnDateFormat -
    • getPO

      public PO getPO()
      Get wrapped PO
      Returns:
      wrapped PO or null