Class X_C_CashBook

java.lang.Object
org.compiere.model.PO
org.compiere.model.X_C_CashBook
All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_C_CashBook, I_Persistent, Evaluatee
Direct Known Subclasses:
MCashBook

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

    • X_C_CashBook

      public X_C_CashBook(Properties ctx, int C_CashBook_ID, String trxName)
      Standard Constructor
    • X_C_CashBook

      public X_C_CashBook(Properties ctx, int C_CashBook_ID, String trxName, String... virtualColumns)
      Standard Constructor
    • X_C_CashBook

      public X_C_CashBook(Properties ctx, String C_CashBook_UU, String trxName)
      Standard Constructor
    • X_C_CashBook

      public X_C_CashBook(Properties ctx, String C_CashBook_UU, String trxName, String... virtualColumns)
      Standard Constructor
    • X_C_CashBook

      public X_C_CashBook(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
    • setC_CashBook_ID

      public void setC_CashBook_ID(int C_CashBook_ID)
      Set Cash Book.
      Specified by:
      setC_CashBook_ID in interface I_C_CashBook
      Parameters:
      C_CashBook_ID - Cash Book for recording petty cash transactions
    • getC_CashBook_ID

      public int getC_CashBook_ID()
      Get Cash Book.
      Specified by:
      getC_CashBook_ID in interface I_C_CashBook
      Returns:
      Cash Book for recording petty cash transactions
    • setC_CashBook_UU

      public void setC_CashBook_UU(String C_CashBook_UU)
      Set C_CashBook_UU.
      Specified by:
      setC_CashBook_UU in interface I_C_CashBook
      Parameters:
      C_CashBook_UU - C_CashBook_UU
    • getC_CashBook_UU

      public String getC_CashBook_UU()
      Get C_CashBook_UU.
      Specified by:
      getC_CashBook_UU in interface I_C_CashBook
      Returns:
      C_CashBook_UU
    • getC_Currency

      public I_C_Currency getC_Currency() throws RuntimeException
      Specified by:
      getC_Currency in interface I_C_CashBook
      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_CashBook
      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_CashBook
      Returns:
      The Currency for this record
    • setDescription

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

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

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

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

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

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

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