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)
      Description copied from class: PO
      Called before Save for Pre-Save Operation.
      Default implementation is nop, to be implemented in sub-classes that needed it.
      Overrides:
      beforeSave in class PO
      Parameters:
      newRecord - true if it is a new record
      Returns:
      true if record can be saved
    • afterSave

      protected boolean afterSave(boolean newRecord, boolean success)
      Description copied from class: PO
      Called after Save for Post-Save Operation.
      Default implementation is nop, to be implemented in sub-classes that needed it.
      Overrides:
      afterSave in class PO
      Parameters:
      newRecord - true if it is a new record
      success - true if save operation was success
      Returns:
      if save was a success
    • afterDelete

      protected boolean afterDelete(boolean success)
      Description copied from class: PO
      Execute after Delete operations.
      Default implementation is nop, to be implemented in sub-classes that needed it.
      Overrides:
      afterDelete in class PO
      Parameters:
      success - true if record deleted
      Returns:
      true if delete is a success