Class X_C_ElementValue

java.lang.Object
org.compiere.model.PO
org.compiere.model.X_C_ElementValue
All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_C_ElementValue, I_Persistent, Evaluatee
Direct Known Subclasses:
MElementValue

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

  • Constructor Details

    • X_C_ElementValue

      public X_C_ElementValue(Properties ctx, int C_ElementValue_ID, String trxName)
      Standard Constructor
    • X_C_ElementValue

      public X_C_ElementValue(Properties ctx, int C_ElementValue_ID, String trxName, String... virtualColumns)
      Standard Constructor
    • X_C_ElementValue

      public X_C_ElementValue(Properties ctx, String C_ElementValue_UU, String trxName)
      Standard Constructor
    • X_C_ElementValue

      public X_C_ElementValue(Properties ctx, String C_ElementValue_UU, String trxName, String... virtualColumns)
      Standard Constructor
    • X_C_ElementValue

      public X_C_ElementValue(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
    • setAccountSign

      public void setAccountSign(String AccountSign)
      Set Account Sign.
      Specified by:
      setAccountSign in interface I_C_ElementValue
      Parameters:
      AccountSign - Indicates the Natural Sign of the Account as a Debit or Credit
    • getAccountSign

      public String getAccountSign()
      Get Account Sign.
      Specified by:
      getAccountSign in interface I_C_ElementValue
      Returns:
      Indicates the Natural Sign of the Account as a Debit or Credit
    • setAccountType

      public void setAccountType(String AccountType)
      Set Account Type.
      Specified by:
      setAccountType in interface I_C_ElementValue
      Parameters:
      AccountType - Indicates the type of account
    • getAccountType

      public String getAccountType()
      Get Account Type.
      Specified by:
      getAccountType in interface I_C_ElementValue
      Returns:
      Indicates the type of account
    • setBPartnerType

      public void setBPartnerType(String BPartnerType)
      Set Business Partner Type.
      Specified by:
      setBPartnerType in interface I_C_ElementValue
      Parameters:
      BPartnerType - Business Partner Type
    • getBPartnerType

      public String getBPartnerType()
      Get Business Partner Type.
      Specified by:
      getBPartnerType in interface I_C_ElementValue
      Returns:
      Business Partner Type
    • getC_BankAccount

      public I_C_BankAccount getC_BankAccount() throws RuntimeException
      Specified by:
      getC_BankAccount in interface I_C_ElementValue
      Throws:
      RuntimeException
    • setC_BankAccount_ID

      public void setC_BankAccount_ID(int C_BankAccount_ID)
      Set Bank Account.
      Specified by:
      setC_BankAccount_ID in interface I_C_ElementValue
      Parameters:
      C_BankAccount_ID - Account at the Bank
    • getC_BankAccount_ID

      public int getC_BankAccount_ID()
      Get Bank Account.
      Specified by:
      getC_BankAccount_ID in interface I_C_ElementValue
      Returns:
      Account at the Bank
    • getC_Currency

      public I_C_Currency getC_Currency() throws RuntimeException
      Specified by:
      getC_Currency in interface I_C_ElementValue
      Throws:
      RuntimeException
    • setC_Currency_ID

      public void setC_Currency_ID(int C_Currency_ID)
      Set Currency.
      Specified by:
      setC_Currency_ID in interface I_C_ElementValue
      Parameters:
      C_Currency_ID - The Currency for this record
    • getC_Currency_ID

      public int getC_Currency_ID()
      Get Currency.
      Specified by:
      getC_Currency_ID in interface I_C_ElementValue
      Returns:
      The Currency for this record
    • getC_Element

      public I_C_Element getC_Element() throws RuntimeException
      Specified by:
      getC_Element in interface I_C_ElementValue
      Throws:
      RuntimeException
    • setC_Element_ID

      public void setC_Element_ID(int C_Element_ID)
      Set Element.
      Specified by:
      setC_Element_ID in interface I_C_ElementValue
      Parameters:
      C_Element_ID - Accounting Element
    • getC_Element_ID

      public int getC_Element_ID()
      Get Element.
      Specified by:
      getC_Element_ID in interface I_C_ElementValue
      Returns:
      Accounting Element
    • setC_ElementValue_ID

      public void setC_ElementValue_ID(int C_ElementValue_ID)
      Set Account Element.
      Specified by:
      setC_ElementValue_ID in interface I_C_ElementValue
      Parameters:
      C_ElementValue_ID - Account Element
    • getC_ElementValue_ID

      public int getC_ElementValue_ID()
      Get Account Element.
      Specified by:
      getC_ElementValue_ID in interface I_C_ElementValue
      Returns:
      Account Element
    • setC_ElementValue_UU

      public void setC_ElementValue_UU(String C_ElementValue_UU)
      Set C_ElementValue_UU.
      Specified by:
      setC_ElementValue_UU in interface I_C_ElementValue
      Parameters:
      C_ElementValue_UU - C_ElementValue_UU
    • getC_ElementValue_UU

      public String getC_ElementValue_UU()
      Get C_ElementValue_UU.
      Specified by:
      getC_ElementValue_UU in interface I_C_ElementValue
      Returns:
      C_ElementValue_UU
    • setDescription

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

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

      public void setIsBankAccount(boolean IsBankAccount)
      Set Bank Account.
      Specified by:
      setIsBankAccount in interface I_C_ElementValue
      Parameters:
      IsBankAccount - Indicates if this is the Bank Account
    • isBankAccount

      public boolean isBankAccount()
      Get Bank Account.
      Specified by:
      isBankAccount in interface I_C_ElementValue
      Returns:
      Indicates if this is the Bank Account
    • setIsDetailBPartner

      public void setIsDetailBPartner(boolean IsDetailBPartner)
      Set Manage Business Partners.
      Specified by:
      setIsDetailBPartner in interface I_C_ElementValue
      Parameters:
      IsDetailBPartner - Manage Business Partners
    • isDetailBPartner

      public boolean isDetailBPartner()
      Get Manage Business Partners.
      Specified by:
      isDetailBPartner in interface I_C_ElementValue
      Returns:
      Manage Business Partners
    • setIsDetailProduct

      public void setIsDetailProduct(boolean IsDetailProduct)
      Set Manage Products.
      Specified by:
      setIsDetailProduct in interface I_C_ElementValue
      Parameters:
      IsDetailProduct - Manage Products
    • isDetailProduct

      public boolean isDetailProduct()
      Get Manage Products.
      Specified by:
      isDetailProduct in interface I_C_ElementValue
      Returns:
      Manage Products
    • setIsDocControlled

      public void setIsDocControlled(boolean IsDocControlled)
      Set Document Controlled.
      Specified by:
      setIsDocControlled in interface I_C_ElementValue
      Parameters:
      IsDocControlled - Control account - If an account is controlled by a document, you cannot post manually to it
    • isDocControlled

      public boolean isDocControlled()
      Get Document Controlled.
      Specified by:
      isDocControlled in interface I_C_ElementValue
      Returns:
      Control account - If an account is controlled by a document, you cannot post manually to it
    • setIsForeignCurrency

      public void setIsForeignCurrency(boolean IsForeignCurrency)
      Set Foreign Currency Account.
      Specified by:
      setIsForeignCurrency in interface I_C_ElementValue
      Parameters:
      IsForeignCurrency - Balances in foreign currency accounts are held in the nominated currency
    • isForeignCurrency

      public boolean isForeignCurrency()
      Get Foreign Currency Account.
      Specified by:
      isForeignCurrency in interface I_C_ElementValue
      Returns:
      Balances in foreign currency accounts are held in the nominated currency
    • setIsSummary

      public void setIsSummary(boolean IsSummary)
      Set Summary Level.
      Specified by:
      setIsSummary in interface I_C_ElementValue
      Parameters:
      IsSummary - This is a summary entity
    • isSummary

      public boolean isSummary()
      Get Summary Level.
      Specified by:
      isSummary in interface I_C_ElementValue
      Returns:
      This is a summary entity
    • setName

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

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

      public void setPostActual(boolean PostActual)
      Set Post Actual.
      Specified by:
      setPostActual in interface I_C_ElementValue
      Parameters:
      PostActual - Actual Values can be posted
    • isPostActual

      public boolean isPostActual()
      Get Post Actual.
      Specified by:
      isPostActual in interface I_C_ElementValue
      Returns:
      Actual Values can be posted
    • setPostBudget

      public void setPostBudget(boolean PostBudget)
      Set Post Budget.
      Specified by:
      setPostBudget in interface I_C_ElementValue
      Parameters:
      PostBudget - Budget values can be posted
    • isPostBudget

      public boolean isPostBudget()
      Get Post Budget.
      Specified by:
      isPostBudget in interface I_C_ElementValue
      Returns:
      Budget values can be posted
    • setPostEncumbrance

      public void setPostEncumbrance(boolean PostEncumbrance)
      Set Post Encumbrance.
      Specified by:
      setPostEncumbrance in interface I_C_ElementValue
      Parameters:
      PostEncumbrance - Post commitments to this account
    • isPostEncumbrance

      public boolean isPostEncumbrance()
      Get Post Encumbrance.
      Specified by:
      isPostEncumbrance in interface I_C_ElementValue
      Returns:
      Post commitments to this account
    • setPostStatistical

      public void setPostStatistical(boolean PostStatistical)
      Set Post Statistical.
      Specified by:
      setPostStatistical in interface I_C_ElementValue
      Parameters:
      PostStatistical - Post statistical quantities to this account?
    • isPostStatistical

      public boolean isPostStatistical()
      Get Post Statistical.
      Specified by:
      isPostStatistical in interface I_C_ElementValue
      Returns:
      Post statistical quantities to this account?
    • setValidFrom

      public void setValidFrom(Timestamp ValidFrom)
      Set Valid from.
      Specified by:
      setValidFrom in interface I_C_ElementValue
      Parameters:
      ValidFrom - Valid from including this date (first day)
    • getValidFrom

      public Timestamp getValidFrom()
      Get Valid from.
      Specified by:
      getValidFrom in interface I_C_ElementValue
      Returns:
      Valid from including this date (first day)
    • setValidTo

      public void setValidTo(Timestamp ValidTo)
      Set Valid to.
      Specified by:
      setValidTo in interface I_C_ElementValue
      Parameters:
      ValidTo - Valid to including this date (last day)
    • getValidTo

      public Timestamp getValidTo()
      Get Valid to.
      Specified by:
      getValidTo in interface I_C_ElementValue
      Returns:
      Valid to including this date (last day)
    • setValue

      public void setValue(String Value)
      Set Search Key.
      Specified by:
      setValue in interface I_C_ElementValue
      Parameters:
      Value - Search key for the record in the format required - must be unique
    • getValue

      public String getValue()
      Get Search Key.
      Specified by:
      getValue in interface I_C_ElementValue
      Returns:
      Search key for the record in the format required - must be unique
    • getKeyNamePair

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