Class MCOFCCNABConfig

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

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

  • Constructor Details

    • MCOFCCNABConfig

      public MCOFCCNABConfig(Properties ctx, int COF_C_CNABConfig_ID, String trxName)
      Parameters:
      ctx -
      COF_C_CNABConfig_ID -
      trxName -
    • MCOFCCNABConfig

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

      public MCOFCCNABConfig(Properties ctx, int COF_C_CNABConfig_ID, String trxName, String... virtualColumns)
    • MCOFCCNABConfig

      public MCOFCCNABConfig(Properties ctx, String COF_C_CNABConfig_UU, String trxName, String... virtualColumns)
    • MCOFCCNABConfig

      public MCOFCCNABConfig(Properties ctx, String COF_C_CNABConfig_UU, String trxName)
  • Method Details

    • getLines

      public List<MCOFCCNABConfigLine> getLines(String lineType, String cof_Posicao)
      Retorna as linhas de uma configuração de CNAB
      Parameters:
      lineType -
      lineNo -
      Returns:
    • getLine

      public List<MCOFCCNABConfigLine> getLine(String whereClause)
      Retorna as linhas de uma configuração de CNAB
      Parameters:
      lineType -
      lineNo -
      Returns:
    • CNABDateFormat

      public static String CNABDateFormat()
      CNABDateFormat Convert Timestamp to CNAB Format (DDMMYY)
      Parameters:
      Timestamp - dt
      Returns:
      String data
    • CNABFormat

      public static String CNABFormat(String value, int qtdDigitos)
      CNABFormat Clear String Mask and Fill with Zeros at left
      Parameters:
      String - value
      Returns:
      String value