Adempiere 3.5.2a

org.compiere.model
Class X_C_CashLine

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_C_CashLine
All Implemented Interfaces:
Serializable, Comparator, I_C_CashLine, I_Persistent, Evaluatee
Direct Known Subclasses:
MCashLine

public class X_C_CashLine
extends PO
implements I_C_CashLine, I_Persistent

Generated Model for C_CashLine

Version:
Release 3.5.2a - $Id$
Author:
Adempiere (generated)
See Also:
Serialized Form

Field Summary
static int CASHTYPE_AD_Reference_ID
          CashType AD_Reference_ID=217
static String CASHTYPE_BankAccountTransfer
          Bank Account Transfer = T
static String CASHTYPE_Charge
          Charge = C
static String CASHTYPE_Difference
          Difference = D
static String CASHTYPE_GeneralExpense
          General Expense = E
static String CASHTYPE_GeneralReceipts
          General Receipts = R
static String CASHTYPE_Invoice
          Invoice = I
 
Fields inherited from class org.compiere.model.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
 
Fields inherited from interface org.compiere.model.I_C_CashLine
accessLevel, COLUMNNAME_Amount, COLUMNNAME_C_BankAccount_ID, COLUMNNAME_C_Cash_ID, COLUMNNAME_C_CashLine_ID, COLUMNNAME_C_Charge_ID, COLUMNNAME_C_Currency_ID, COLUMNNAME_C_Invoice_ID, COLUMNNAME_C_Payment_ID, COLUMNNAME_CashType, COLUMNNAME_Description, COLUMNNAME_DiscountAmt, COLUMNNAME_IsGenerated, COLUMNNAME_Line, COLUMNNAME_Processed, COLUMNNAME_WriteOffAmt, Model, Table_ID, Table_Name
 
Constructor Summary
X_C_CashLine(Properties ctx, int C_CashLine_ID, String trxName)
          Standard Constructor
X_C_CashLine(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 BigDecimal getAmount()
          Get Amount.
 int getC_BankAccount_ID()
          Get Bank Account.
 I_C_BankAccount getC_BankAccount()
           
 int getC_Cash_ID()
          Get Cash Journal.
 I_C_Cash getC_Cash()
           
 int getC_CashLine_ID()
          Get Cash Journal Line.
 int getC_Charge_ID()
          Get Charge.
 I_C_Charge getC_Charge()
           
 int getC_Currency_ID()
          Get Currency.
 I_C_Currency getC_Currency()
           
 int getC_Invoice_ID()
          Get Invoice.
 I_C_Invoice getC_Invoice()
           
 int getC_Payment_ID()
          Get Payment.
 I_C_Payment getC_Payment()
           
 String getCashType()
          Get Cash Type.
 String getDescription()
          Get Description.
 BigDecimal getDiscountAmt()
          Get Discount Amount.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 int getLine()
          Get Line No.
 BigDecimal getWriteOffAmt()
          Get Write-off Amount.
protected  POInfo initPO(Properties ctx)
          Load Meta Data
 boolean isGenerated()
          Get Generated.
 boolean isProcessed()
          Get Processed.
 void setAmount(BigDecimal Amount)
          Set Amount.
 void setC_BankAccount_ID(int C_BankAccount_ID)
          Set Bank Account.
 void setC_Cash_ID(int C_Cash_ID)
          Set Cash Journal.
 void setC_CashLine_ID(int C_CashLine_ID)
          Set Cash Journal Line.
 void setC_Charge_ID(int C_Charge_ID)
          Set Charge.
 void setC_Currency_ID(int C_Currency_ID)
          Set Currency.
 void setC_Invoice_ID(int C_Invoice_ID)
          Set Invoice.
 void setC_Payment_ID(int C_Payment_ID)
          Set Payment.
 void setCashType(String CashType)
          Set Cash Type.
 void setDescription(String Description)
          Set Description.
 void setDiscountAmt(BigDecimal DiscountAmt)
          Set Discount Amount.
 void setIsGenerated(boolean IsGenerated)
          Set Generated.
 void setLine(int Line)
          Set Line No.
 void setProcessed(boolean Processed)
          Set Processed.
 void setWriteOffAmt(BigDecimal WriteOffAmt)
          Set Write-off Amount.
 String toString()
          String representation
 
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, compare, copyValues, copyValues, createAttachment, delete_Accounting, delete_Tree, delete, delete, deleteEx, deleteEx, dump, dump, equals, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_HashMap, get_ID, get_IDOld, get_KeyColumns, get_Logger, get_Table_ID, get_TableName, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_new, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadComplete, loadDefaults, loadSpecial, lock, save, save, saveEx, saveEx, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_ColumnUpdateable, set_CustomColumn, set_TrxName, set_TrxName, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setDoc, setDocWorkflowMgr, setIsActive, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.compiere.model.I_Persistent
save
 

Field Detail

CASHTYPE_AD_Reference_ID

public static final int CASHTYPE_AD_Reference_ID
CashType AD_Reference_ID=217

See Also:
Constant Field Values

CASHTYPE_BankAccountTransfer

public static final String CASHTYPE_BankAccountTransfer
Bank Account Transfer = T

See Also:
Constant Field Values

CASHTYPE_Invoice

public static final String CASHTYPE_Invoice
Invoice = I

See Also:
Constant Field Values

CASHTYPE_GeneralExpense

public static final String CASHTYPE_GeneralExpense
General Expense = E

See Also:
Constant Field Values

CASHTYPE_GeneralReceipts

public static final String CASHTYPE_GeneralReceipts
General Receipts = R

See Also:
Constant Field Values

CASHTYPE_Charge

public static final String CASHTYPE_Charge
Charge = C

See Also:
Constant Field Values

CASHTYPE_Difference

public static final String CASHTYPE_Difference
Difference = D

See Also:
Constant Field Values
Constructor Detail

X_C_CashLine

public X_C_CashLine(Properties ctx,
                    int C_CashLine_ID,
                    String trxName)
Standard Constructor


X_C_CashLine

public X_C_CashLine(Properties ctx,
                    ResultSet rs,
                    String trxName)
Load Constructor

Method Detail

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

setAmount

public void setAmount(BigDecimal Amount)
Set Amount.

Specified by:
setAmount in interface I_C_CashLine
Parameters:
Amount - Amount in a defined currency

getAmount

public BigDecimal getAmount()
Get Amount.

Specified by:
getAmount in interface I_C_CashLine
Returns:
Amount in a defined currency

setCashType

public void setCashType(String CashType)
Set Cash Type.

Specified by:
setCashType in interface I_C_CashLine
Parameters:
CashType - Source of Cash

getCashType

public String getCashType()
Get Cash Type.

Specified by:
getCashType in interface I_C_CashLine
Returns:
Source of Cash

getC_BankAccount

public I_C_BankAccount getC_BankAccount()
                                 throws Exception
Specified by:
getC_BankAccount in interface I_C_CashLine
Throws:
Exception

setC_BankAccount_ID

public void setC_BankAccount_ID(int C_BankAccount_ID)
Set Bank Account.

Specified by:
setC_BankAccount_ID in interface I_C_CashLine
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_CashLine
Returns:
Account at the Bank

getC_Cash

public I_C_Cash getC_Cash()
                   throws Exception
Specified by:
getC_Cash in interface I_C_CashLine
Throws:
Exception

setC_Cash_ID

public void setC_Cash_ID(int C_Cash_ID)
Set Cash Journal.

Specified by:
setC_Cash_ID in interface I_C_CashLine
Parameters:
C_Cash_ID - Cash Journal

getC_Cash_ID

public int getC_Cash_ID()
Get Cash Journal.

Specified by:
getC_Cash_ID in interface I_C_CashLine
Returns:
Cash Journal

getKeyNamePair

public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName

Returns:
ID/ColumnName pair

setC_CashLine_ID

public void setC_CashLine_ID(int C_CashLine_ID)
Set Cash Journal Line.

Specified by:
setC_CashLine_ID in interface I_C_CashLine
Parameters:
C_CashLine_ID - Cash Journal Line

getC_CashLine_ID

public int getC_CashLine_ID()
Get Cash Journal Line.

Specified by:
getC_CashLine_ID in interface I_C_CashLine
Returns:
Cash Journal Line

getC_Charge

public I_C_Charge getC_Charge()
                       throws Exception
Specified by:
getC_Charge in interface I_C_CashLine
Throws:
Exception

setC_Charge_ID

public void setC_Charge_ID(int C_Charge_ID)
Set Charge.

Specified by:
setC_Charge_ID in interface I_C_CashLine
Parameters:
C_Charge_ID - Additional document charges

getC_Charge_ID

public int getC_Charge_ID()
Get Charge.

Specified by:
getC_Charge_ID in interface I_C_CashLine
Returns:
Additional document charges

getC_Currency

public I_C_Currency getC_Currency()
                           throws Exception
Specified by:
getC_Currency in interface I_C_CashLine
Throws:
Exception

setC_Currency_ID

public void setC_Currency_ID(int C_Currency_ID)
Set Currency.

Specified by:
setC_Currency_ID in interface I_C_CashLine
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_CashLine
Returns:
The Currency for this record

getC_Invoice

public I_C_Invoice getC_Invoice()
                         throws Exception
Specified by:
getC_Invoice in interface I_C_CashLine
Throws:
Exception

setC_Invoice_ID

public void setC_Invoice_ID(int C_Invoice_ID)
Set Invoice.

Specified by:
setC_Invoice_ID in interface I_C_CashLine
Parameters:
C_Invoice_ID - Invoice Identifier

getC_Invoice_ID

public int getC_Invoice_ID()
Get Invoice.

Specified by:
getC_Invoice_ID in interface I_C_CashLine
Returns:
Invoice Identifier

getC_Payment

public I_C_Payment getC_Payment()
                         throws Exception
Specified by:
getC_Payment in interface I_C_CashLine
Throws:
Exception

setC_Payment_ID

public void setC_Payment_ID(int C_Payment_ID)
Set Payment.

Specified by:
setC_Payment_ID in interface I_C_CashLine
Parameters:
C_Payment_ID - Payment identifier

getC_Payment_ID

public int getC_Payment_ID()
Get Payment.

Specified by:
getC_Payment_ID in interface I_C_CashLine
Returns:
Payment identifier

setDescription

public void setDescription(String Description)
Set Description.

Specified by:
setDescription in interface I_C_CashLine
Parameters:
Description - Optional short description of the record

getDescription

public String getDescription()
Get Description.

Specified by:
getDescription in interface I_C_CashLine
Returns:
Optional short description of the record

setDiscountAmt

public void setDiscountAmt(BigDecimal DiscountAmt)
Set Discount Amount.

Specified by:
setDiscountAmt in interface I_C_CashLine
Parameters:
DiscountAmt - Calculated amount of discount

getDiscountAmt

public BigDecimal getDiscountAmt()
Get Discount Amount.

Specified by:
getDiscountAmt in interface I_C_CashLine
Returns:
Calculated amount of discount

setIsGenerated

public void setIsGenerated(boolean IsGenerated)
Set Generated.

Specified by:
setIsGenerated in interface I_C_CashLine
Parameters:
IsGenerated - This Line is generated

isGenerated

public boolean isGenerated()
Get Generated.

Specified by:
isGenerated in interface I_C_CashLine
Returns:
This Line is generated

setLine

public void setLine(int Line)
Set Line No.

Specified by:
setLine in interface I_C_CashLine
Parameters:
Line - Unique line for this document

getLine

public int getLine()
Get Line No.

Specified by:
getLine in interface I_C_CashLine
Returns:
Unique line for this document

setProcessed

public void setProcessed(boolean Processed)
Set Processed.

Specified by:
setProcessed in interface I_C_CashLine
Parameters:
Processed - The document has been processed

isProcessed

public boolean isProcessed()
Get Processed.

Specified by:
isProcessed in interface I_C_CashLine
Returns:
The document has been processed

setWriteOffAmt

public void setWriteOffAmt(BigDecimal WriteOffAmt)
Set Write-off Amount.

Specified by:
setWriteOffAmt in interface I_C_CashLine
Parameters:
WriteOffAmt - Amount to write-off

getWriteOffAmt

public BigDecimal getWriteOffAmt()
Get Write-off Amount.

Specified by:
getWriteOffAmt in interface I_C_CashLine
Returns:
Amount to write-off

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.