Class X_M_Demand

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

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

    • X_M_Demand

      public X_M_Demand(Properties ctx, int M_Demand_ID, String trxName)
      Standard Constructor
    • X_M_Demand

      public X_M_Demand(Properties ctx, int M_Demand_ID, String trxName, String... virtualColumns)
      Standard Constructor
    • X_M_Demand

      public X_M_Demand(Properties ctx, String M_Demand_UU, String trxName)
      Standard Constructor
    • X_M_Demand

      public X_M_Demand(Properties ctx, String M_Demand_UU, String trxName, String... virtualColumns)
      Standard Constructor
    • X_M_Demand

      public X_M_Demand(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:
      2 - Client
    • 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
    • getC_Calendar

      public I_C_Calendar getC_Calendar() throws RuntimeException
      Specified by:
      getC_Calendar in interface I_M_Demand
      Throws:
      RuntimeException
    • setC_Calendar_ID

      public void setC_Calendar_ID(int C_Calendar_ID)
      Set Calendar.
      Specified by:
      setC_Calendar_ID in interface I_M_Demand
      Parameters:
      C_Calendar_ID - Accounting Calendar Name
    • getC_Calendar_ID

      public int getC_Calendar_ID()
      Get Calendar.
      Specified by:
      getC_Calendar_ID in interface I_M_Demand
      Returns:
      Accounting Calendar Name
    • getC_Year

      public I_C_Year getC_Year() throws RuntimeException
      Specified by:
      getC_Year in interface I_M_Demand
      Throws:
      RuntimeException
    • setC_Year_ID

      public void setC_Year_ID(int C_Year_ID)
      Set Year.
      Specified by:
      setC_Year_ID in interface I_M_Demand
      Parameters:
      C_Year_ID - Calendar Year
    • getC_Year_ID

      public int getC_Year_ID()
      Get Year.
      Specified by:
      getC_Year_ID in interface I_M_Demand
      Returns:
      Calendar Year
    • setDescription

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

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

      public void setHelp(String Help)
      Set Comment/Help.
      Specified by:
      setHelp in interface I_M_Demand
      Parameters:
      Help - Comment or Hint
    • getHelp

      public String getHelp()
      Get Comment/Help.
      Specified by:
      getHelp in interface I_M_Demand
      Returns:
      Comment or Hint
    • setIsDefault

      public void setIsDefault(boolean IsDefault)
      Set Default.
      Specified by:
      setIsDefault in interface I_M_Demand
      Parameters:
      IsDefault - Default value
    • isDefault

      public boolean isDefault()
      Get Default.
      Specified by:
      isDefault in interface I_M_Demand
      Returns:
      Default value
    • setM_Demand_ID

      public void setM_Demand_ID(int M_Demand_ID)
      Set Demand.
      Specified by:
      setM_Demand_ID in interface I_M_Demand
      Parameters:
      M_Demand_ID - Material Demand
    • getM_Demand_ID

      public int getM_Demand_ID()
      Get Demand.
      Specified by:
      getM_Demand_ID in interface I_M_Demand
      Returns:
      Material Demand
    • setM_Demand_UU

      public void setM_Demand_UU(String M_Demand_UU)
      Set M_Demand_UU.
      Specified by:
      setM_Demand_UU in interface I_M_Demand
      Parameters:
      M_Demand_UU - M_Demand_UU
    • getM_Demand_UU

      public String getM_Demand_UU()
      Get M_Demand_UU.
      Specified by:
      getM_Demand_UU in interface I_M_Demand
      Returns:
      M_Demand_UU
    • setName

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

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

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

      public void setProcessing(boolean Processing)
      Set Process Now.
      Specified by:
      setProcessing in interface I_M_Demand
      Parameters:
      Processing - Process Now
    • isProcessing

      public boolean isProcessing()
      Get Process Now.
      Specified by:
      isProcessing in interface I_M_Demand
      Returns:
      Process Now