Class X_M_Substitute

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

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

    • X_M_Substitute

      public X_M_Substitute(Properties ctx, int M_Substitute_ID, String trxName)
      Standard Constructor
    • X_M_Substitute

      public X_M_Substitute(Properties ctx, int M_Substitute_ID, String trxName, String... virtualColumns)
      Standard Constructor
    • X_M_Substitute

      public X_M_Substitute(Properties ctx, String M_Substitute_UU, String trxName)
      Standard Constructor
    • X_M_Substitute

      public X_M_Substitute(Properties ctx, String M_Substitute_UU, String trxName, String... virtualColumns)
      Standard Constructor
    • X_M_Substitute

      public X_M_Substitute(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_Substitute
      Parameters:
      Description - Optional short description of the record
    • getDescription

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

      public I_M_Product getM_Product() throws RuntimeException
      Specified by:
      getM_Product in interface I_M_Substitute
      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_Substitute
      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_Substitute
      Returns:
      Product, Service, Item
    • setM_Substitute_UU

      public void setM_Substitute_UU(String M_Substitute_UU)
      Set M_Substitute_UU.
      Specified by:
      setM_Substitute_UU in interface I_M_Substitute
      Parameters:
      M_Substitute_UU - M_Substitute_UU
    • getM_Substitute_UU

      public String getM_Substitute_UU()
      Get M_Substitute_UU.
      Specified by:
      getM_Substitute_UU in interface I_M_Substitute
      Returns:
      M_Substitute_UU
    • setName

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

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

      public ValueNamePair getValueNamePair()
      Get Record UU/ColumnName
      Returns:
      UU/ColumnName pair
    • getSubstitute

      public I_M_Product getSubstitute() throws RuntimeException
      Specified by:
      getSubstitute in interface I_M_Substitute
      Throws:
      RuntimeException
    • setSubstitute_ID

      public void setSubstitute_ID(int Substitute_ID)
      Set Substitute.
      Specified by:
      setSubstitute_ID in interface I_M_Substitute
      Parameters:
      Substitute_ID - Entity which can be used in place of this entity
    • getSubstitute_ID

      public int getSubstitute_ID()
      Get Substitute.
      Specified by:
      getSubstitute_ID in interface I_M_Substitute
      Returns:
      Entity which can be used in place of this entity