Class MProductBOM

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

@Deprecated public class MProductBOM extends X_M_Product_BOM
Deprecated.
Product BOM Model (old). M_Product_ID = the parent M_Product_BOM_ID = the BOM line M_ProductBOM_ID = the BOM line product Replace by MPPProductBOM and MPPProductBOMLine since version 9
Version:
$Id: MProductBOM.java,v 1.5 2006/07/30 00:51:02 jjanke Exp $
Author:
Jorg Janke
See Also:
  • Constructor Details

    • MProductBOM

      public MProductBOM(Properties ctx, int M_Product_BOM_ID, String trxName)
      Deprecated.
      Standard Constructor
      Parameters:
      ctx - context
      M_Product_BOM_ID - id
      trxName - transaction
    • MProductBOM

      public MProductBOM(Properties ctx, ResultSet rs, String trxName)
      Deprecated.
      Load Constructor
      Parameters:
      ctx - context
      rs - result set
      trxName - transaction
  • Method Details

    • getBOMLines

      public static MProductBOM[] getBOMLines(MProduct product)
      Deprecated.
      Get BOM Lines for Product
      Parameters:
      product - product
      Returns:
      array of BOMs
    • getBOMLines

      public static MProductBOM[] getBOMLines(Properties ctx, int M_Product_ID, String trxName)
      Deprecated.
      Get BOM Lines for Product
      Parameters:
      ctx - context
      M_Product_ID - product
      trxName - transaction
      Returns:
      array of BOMs
    • getProduct

      public MProduct getProduct()
      Deprecated.
      Get BOM Product
      Returns:
      product
    • setM_ProductBOM_ID

      public void setM_ProductBOM_ID(int M_ProductBOM_ID)
      Deprecated.
      Set included Product
      Specified by:
      setM_ProductBOM_ID in interface I_M_Product_BOM
      Overrides:
      setM_ProductBOM_ID in class X_M_Product_BOM
      Parameters:
      M_ProductBOM_ID - product ID
    • toString

      public String toString()
      Deprecated.
      String Representation
      Overrides:
      toString in class X_M_Product_BOM
      Returns:
      info
    • afterSave

      protected boolean afterSave(boolean newRecord, boolean success)
      Deprecated.
      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)
      Deprecated.
      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