Class MDepositBatchLine

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

public class MDepositBatchLine extends X_C_DepositBatchLine
Lines of deposit batch
Version:
$Id: MDepositBatchLine.java,v 1.3 2007/07/02 00:51:02 afalcone Exp $
Author:
Alejandro Falcone
See Also:
  • Constructor Details

    • MDepositBatchLine

      public MDepositBatchLine(Properties ctx, String C_DepositBatchLine_UU, String trxName)
      UUID based Constructor
      Parameters:
      ctx - Context
      C_DepositBatchLine_UU - UUID key
      trxName - Transaction
    • MDepositBatchLine

      public MDepositBatchLine(Properties ctx, int C_DepositBatchLine_ID, String trxName)
      Standard Constructor
      Parameters:
      ctx - context
      C_DepositBatchLine_ID - id
      trxName - transaction
    • MDepositBatchLine

      public MDepositBatchLine(Properties ctx, ResultSet rs, String trxName)
      Load Constructor
      Parameters:
      ctx - context
      rs - result set
      trxName - transaction
    • MDepositBatchLine

      public MDepositBatchLine(MDepositBatch statement)
      Parent Constructor
      Parameters:
      statement - Bank Statement that the line is part of
    • MDepositBatchLine

      public MDepositBatchLine(MDepositBatch statement, int lineNo)
      Parent Constructor
      Parameters:
      statement - Deposit Batch that the line is part of
      lineNo - position of the line within the statement
  • Method Details

    • setPayment

      public void setPayment(MPayment payment)
      Set Payment
      Parameters:
      payment - payment
    • beforeSave

      protected boolean beforeSave(boolean newRecord)
      Before Save
      Overrides:
      beforeSave in class PO
      Parameters:
      newRecord - new
      Returns:
      true
    • afterSave

      protected boolean afterSave(boolean newRecord, boolean success)
      After Save
      Overrides:
      afterSave in class PO
      Parameters:
      newRecord - new
      success - success
      Returns:
      success
    • afterDelete

      protected boolean afterDelete(boolean success)
      After Delete
      Overrides:
      afterDelete in class PO
      Parameters:
      success - success
      Returns:
      success