Class MCOFCCNABConfigLine

All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_COF_C_CNABConfig_Line, I_Persistent, Evaluatee

public class MCOFCCNABConfigLine extends X_COF_C_CNABConfig_Line
CNAB Config Line model class
Version:
$Id: MCOFCCNABConfigLine.java, v1.0 25/02/2014 16:44:57, muriloht Exp $
Author:
muriloht (muriloht@devcoffee.com.br, http://www.devcoffee.com.br)
See Also:
  • Constructor Details

    • MCOFCCNABConfigLine

      public MCOFCCNABConfigLine(Properties ctx, int COF_C_CNABConfig_Line_ID, String trxName)
      Parameters:
      ctx -
      COF_C_CNABConfig_Line_ID -
      trxName -
    • MCOFCCNABConfigLine

      public MCOFCCNABConfigLine(Properties ctx, ResultSet rs, String trxName)
      Parameters:
      ctx -
      rs -
      trxName -
    • MCOFCCNABConfigLine

      public MCOFCCNABConfigLine(Properties ctx, int COF_C_CNABConfig_Line_ID, String trxName, String... virtualColumns)
    • MCOFCCNABConfigLine

      public MCOFCCNABConfigLine(Properties ctx, String COF_C_CNABConfig_Line_UU, String trxName, String... virtualColumns)
    • MCOFCCNABConfigLine

      public MCOFCCNABConfigLine(Properties ctx, String COF_C_CNABConfig_Line_UU, String trxName)
  • Method Details

    • parseVariable

      public static String parseVariable(String expression, String recordIdentifier, PO po, String trxName, Map<String,Object> summarized, boolean keepUnparseable, boolean replaceNull)
      Parse expression, replaces global or PO properties @tag@ with actual value.
      Parameters:
      expression -
      po -
      trxName -
      keepUnparseable -
      replaceNull - - Replace null values with -1 to avoid evaluation errors
      Returns:
      String
    • beforeSave

      public boolean beforeSave(boolean newRecord)
      Description copied from class: PO
      Called before Save for Pre-Save Operation
      Overrides:
      beforeSave in class PO
      Parameters:
      newRecord - new record
      Returns:
      true if record can be saved