Class MOrderPaySchedule

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

public class MOrderPaySchedule extends X_C_OrderPaySchedule
Order Payment Schedule Model
Version:
$Id: MOrderPaySchedule.java,v 1.3 2006/07/30 00:51:03 jjanke Exp $
Author:
Jorg Janke
See Also:
  • Constructor Details

    • MOrderPaySchedule

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

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

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

      public MOrderPaySchedule(MOrder order, MPaySchedule paySchedule)
      Parent Constructor
      Parameters:
      order - order
      paySchedule - payment schedule
  • Method Details

    • getOrderPaySchedule

      public static MOrderPaySchedule[] getOrderPaySchedule(Properties ctx, int C_Order_ID, int C_OrderPaySchedule_ID, String trxName)
      Get Payment Schedule of the Order
      Parameters:
      ctx - context
      C_Order_ID - order id (direct)
      C_OrderPaySchedule_ID - id (indirect)
      trxName - transaction
      Returns:
      array of payment schedule
    • getParent

      public MOrder getParent()
      Returns:
      parent
    • setParent

      public void setParent(MOrder parent)
      Parameters:
      parent - The parent to set.
    • toString

      public String toString()
      String Representation
      Overrides:
      toString in class X_C_OrderPaySchedule
      Returns:
      info
    • 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