Class MBOM

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

@Deprecated(forRemoval=true, since="11") public class MBOM extends X_M_BOM implements ImmutablePOSupport
Deprecated, for removal: This API element is subject to removal in a future version.
BOM Model Never leave beta and drop
Version:
$Id: MBOM.java,v 1.3 2006/07/30 00:51:03 jjanke Exp $
Author:
Jorg Janke
See Also:
  • Constructor Details

    • MBOM

      public MBOM(Properties ctx, String M_BOM_UU, String trxName)
      Deprecated, for removal: This API element is subject to removal in a future version.
      UUID based Constructor
      Parameters:
      ctx - Context
      M_BOM_UU - UUID key
      trxName - Transaction
    • MBOM

      public MBOM(Properties ctx, int M_BOM_ID, String trxName)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Standard Constructor
      Parameters:
      ctx - context
      M_BOM_ID - id
      trxName - trx
    • MBOM

      public MBOM(Properties ctx, ResultSet rs, String trxName)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Load Constructor
      Parameters:
      ctx - ctx
      rs - result set
      trxName - trx
    • MBOM

      public MBOM(MBOM copy)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Parameters:
      copy -
    • MBOM

      public MBOM(Properties ctx, MBOM copy)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Parameters:
      ctx -
      copy -
    • MBOM

      public MBOM(Properties ctx, MBOM copy, String trxName)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Parameters:
      ctx -
      copy -
      trxName -
  • Method Details

    • get

      public static MBOM get(int M_BOM_ID)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get BOM from Cache (immutable)
      Parameters:
      M_BOM_ID - id
      Returns:
      MBOM
    • get

      public static MBOM get(Properties ctx, int M_BOM_ID)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get BOM from Cache (immutable)
      Parameters:
      ctx - context
      M_BOM_ID - id
      Returns:
      MBOM
    • getCopy

      public static MBOM getCopy(Properties ctx, int M_BOM_ID, String trxName)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get updateable copy of MBOM from cache
      Parameters:
      ctx -
      M_BOM_ID -
      trxName -
      Returns:
      MBOM
    • getOfProduct

      public static MBOM[] getOfProduct(Properties ctx, int M_Product_ID, String trxName, String whereClause)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get BOMs Of Product
      Parameters:
      ctx - context
      M_Product_ID - product
      trxName - trx
      whereClause - optional WHERE clause w/o AND
      Returns:
      array of BOMs
    • beforeSave

      protected boolean beforeSave(boolean newRecord)
      Deprecated, for removal: This API element is subject to removal in a future version.
      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
    • markImmutable

      public MBOM markImmutable()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: ImmutablePOSupport
      mark PO as immutable
      Specified by:
      markImmutable in interface ImmutablePOSupport
      Returns:
      PO