Class X_M_BOMAlternative

java.lang.Object
org.compiere.model.PO
org.compiere.model.X_M_BOMAlternative
All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_M_BOMAlternative, I_Persistent, Evaluatee

public class X_M_BOMAlternative extends PO implements I_M_BOMAlternative, I_Persistent
Generated Model for M_BOMAlternative
Version:
Release 11 - $Id$
Author:
iDempiere (generated)
See Also:
  • Constructor Details

    • X_M_BOMAlternative

      public X_M_BOMAlternative(Properties ctx, int M_BOMAlternative_ID, String trxName)
      Standard Constructor
    • X_M_BOMAlternative

      public X_M_BOMAlternative(Properties ctx, int M_BOMAlternative_ID, String trxName, String... virtualColumns)
      Standard Constructor
    • X_M_BOMAlternative

      public X_M_BOMAlternative(Properties ctx, String M_BOMAlternative_UU, String trxName)
      Standard Constructor
    • X_M_BOMAlternative

      public X_M_BOMAlternative(Properties ctx, String M_BOMAlternative_UU, String trxName, String... virtualColumns)
      Standard Constructor
    • X_M_BOMAlternative

      public X_M_BOMAlternative(Properties ctx, ResultSet rs, String trxName)
      Load Constructor
  • Method Details

    • get_AccessLevel

      protected int get_AccessLevel()
      AccessLevel
      Specified by:
      get_AccessLevel in class PO
      Returns:
      3 - Client - Org
    • initPO

      protected POInfo initPO(Properties ctx)
      Load Meta Data
      Specified by:
      initPO in class PO
      Parameters:
      ctx - context
      Returns:
      POInfo
    • toString

      public String toString()
      Description copied from class: PO
      String representation
      Overrides:
      toString in class PO
      Returns:
      String representation
    • setDescription

      public void setDescription(String Description)
      Set Description.
      Specified by:
      setDescription in interface I_M_BOMAlternative
      Parameters:
      Description - Optional short description of the record
    • getDescription

      public String getDescription()
      Get Description.
      Specified by:
      getDescription in interface I_M_BOMAlternative
      Returns:
      Optional short description of the record
    • setM_BOMAlternative_ID

      public void setM_BOMAlternative_ID(int M_BOMAlternative_ID)
      Set Alternative Group.
      Specified by:
      setM_BOMAlternative_ID in interface I_M_BOMAlternative
      Parameters:
      M_BOMAlternative_ID - Product BOM Alternative Group
    • getM_BOMAlternative_ID

      public int getM_BOMAlternative_ID()
      Get Alternative Group.
      Specified by:
      getM_BOMAlternative_ID in interface I_M_BOMAlternative
      Returns:
      Product BOM Alternative Group
    • setM_BOMAlternative_UU

      public void setM_BOMAlternative_UU(String M_BOMAlternative_UU)
      Set M_BOMAlternative_UU.
      Specified by:
      setM_BOMAlternative_UU in interface I_M_BOMAlternative
      Parameters:
      M_BOMAlternative_UU - M_BOMAlternative_UU
    • getM_BOMAlternative_UU

      public String getM_BOMAlternative_UU()
      Get M_BOMAlternative_UU.
      Specified by:
      getM_BOMAlternative_UU in interface I_M_BOMAlternative
      Returns:
      M_BOMAlternative_UU
    • getM_Product

      public I_M_Product getM_Product() throws RuntimeException
      Specified by:
      getM_Product in interface I_M_BOMAlternative
      Throws:
      RuntimeException
    • setM_Product_ID

      public void setM_Product_ID(int M_Product_ID)
      Set Product.
      Specified by:
      setM_Product_ID in interface I_M_BOMAlternative
      Parameters:
      M_Product_ID - Product, Service, Item
    • getM_Product_ID

      public int getM_Product_ID()
      Get Product.
      Specified by:
      getM_Product_ID in interface I_M_BOMAlternative
      Returns:
      Product, Service, Item
    • setName

      public void setName(String Name)
      Set Name.
      Specified by:
      setName in interface I_M_BOMAlternative
      Parameters:
      Name - Alphanumeric identifier of the entity
    • getName

      public String getName()
      Get Name.
      Specified by:
      getName in interface I_M_BOMAlternative
      Returns:
      Alphanumeric identifier of the entity
    • getKeyNamePair

      public KeyNamePair getKeyNamePair()
      Get Record ID/ColumnName
      Returns:
      ID/ColumnName pair