Class X_M_CostElement

java.lang.Object
org.compiere.model.PO
org.compiere.model.X_M_CostElement
All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_M_CostElement, I_Persistent, Evaluatee
Direct Known Subclasses:
MCostElement

public class X_M_CostElement extends PO implements I_M_CostElement, I_Persistent
Generated Model for M_CostElement
Version:
Release 11 - $Id$
Author:
iDempiere (generated)
See Also:
  • Field Details

  • Constructor Details

    • X_M_CostElement

      public X_M_CostElement(Properties ctx, int M_CostElement_ID, String trxName)
      Standard Constructor
    • X_M_CostElement

      public X_M_CostElement(Properties ctx, int M_CostElement_ID, String trxName, String... virtualColumns)
      Standard Constructor
    • X_M_CostElement

      public X_M_CostElement(Properties ctx, String M_CostElement_UU, String trxName)
      Standard Constructor
    • X_M_CostElement

      public X_M_CostElement(Properties ctx, String M_CostElement_UU, String trxName, String... virtualColumns)
      Standard Constructor
    • X_M_CostElement

      public X_M_CostElement(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
    • setCostElementType

      public void setCostElementType(String CostElementType)
      Set Cost Element Type.
      Specified by:
      setCostElementType in interface I_M_CostElement
      Parameters:
      CostElementType - Type of Cost Element
    • getCostElementType

      public String getCostElementType()
      Get Cost Element Type.
      Specified by:
      getCostElementType in interface I_M_CostElement
      Returns:
      Type of Cost Element
    • setCostingMethod

      public void setCostingMethod(String CostingMethod)
      Set Costing Method.
      Specified by:
      setCostingMethod in interface I_M_CostElement
      Parameters:
      CostingMethod - Indicates how Costs will be calculated
    • getCostingMethod

      public String getCostingMethod()
      Get Costing Method.
      Specified by:
      getCostingMethod in interface I_M_CostElement
      Returns:
      Indicates how Costs will be calculated
    • setDescription

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

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

      public void setIsCalculated(boolean IsCalculated)
      Set Calculated.
      Specified by:
      setIsCalculated in interface I_M_CostElement
      Parameters:
      IsCalculated - The value is calculated by the system
    • isCalculated

      public boolean isCalculated()
      Get Calculated.
      Specified by:
      isCalculated in interface I_M_CostElement
      Returns:
      The value is calculated by the system
    • setM_CostElement_ID

      public void setM_CostElement_ID(int M_CostElement_ID)
      Set Cost Element.
      Specified by:
      setM_CostElement_ID in interface I_M_CostElement
      Parameters:
      M_CostElement_ID - Product Cost Element
    • getM_CostElement_ID

      public int getM_CostElement_ID()
      Get Cost Element.
      Specified by:
      getM_CostElement_ID in interface I_M_CostElement
      Returns:
      Product Cost Element
    • setM_CostElement_UU

      public void setM_CostElement_UU(String M_CostElement_UU)
      Set M_CostElement_UU.
      Specified by:
      setM_CostElement_UU in interface I_M_CostElement
      Parameters:
      M_CostElement_UU - M_CostElement_UU
    • getM_CostElement_UU

      public String getM_CostElement_UU()
      Get M_CostElement_UU.
      Specified by:
      getM_CostElement_UU in interface I_M_CostElement
      Returns:
      M_CostElement_UU
    • setName

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

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

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