Class MProjectLine

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

public class MProjectLine extends X_C_ProjectLine
Project Line Model
Version:
$Id: MProjectLine.java,v 1.3 2006/07/30 00:51:02 jjanke Exp $
Author:
Jorg Janke
See Also:
  • Constructor Details

    • MProjectLine

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

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

      public MProjectLine(Properties ctx, int C_ProjectLine_ID, String trxName, String... virtualColumns)
      Parameters:
      ctx -
      C_ProjectLine_ID -
      trxName -
      virtualColumns -
    • MProjectLine

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

      public MProjectLine(MProject project)
      Parent Constructor
      Parameters:
      project - parent
  • Method Details

    • setMProjectIssue

      public void setMProjectIssue(MProjectIssue pi)
      Set Product, committed qty, etc.
      Parameters:
      pi - project issue
    • setC_OrderPO_ID

      public void setC_OrderPO_ID(int C_OrderPO_ID)
      Set purchase order
      Specified by:
      setC_OrderPO_ID in interface I_C_ProjectLine
      Overrides:
      setC_OrderPO_ID in class X_C_ProjectLine
      Parameters:
      C_OrderPO_ID - purchase order id
    • getProject

      public MProject getProject()
      Get Project
      Returns:
      parent
    • getLimitPrice

      public BigDecimal getLimitPrice()
      Get Limit Price if exists
      Returns:
      limit price (limit price of product or planned price of this record)
    • toString

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