Package org.compiere.model
Class X_C_CashLine
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_C_CashLine
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparator<Object>,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 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intCASHTYPE_AD_Reference_IDCashType AD_Reference_ID=217static StringCASHTYPE_BankAccountTransferBank Account Transfer = Tstatic StringCASHTYPE_ChargeCharge = Cstatic StringCASHTYPE_DifferenceDifference = Dstatic StringCASHTYPE_GeneralExpenseGeneral Expense = Estatic StringCASHTYPE_GeneralReceiptsGeneral Receipts = Rstatic StringCASHTYPE_InvoiceInvoice = 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, LOCAL_TRX_PREFIX, 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_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_Amount, COLUMNNAME_C_BankAccount_ID, COLUMNNAME_C_Cash_ID, COLUMNNAME_C_CashLine_ID, COLUMNNAME_C_CashLine_UU, COLUMNNAME_C_Charge_ID, COLUMNNAME_C_Currency_ID, COLUMNNAME_C_Invoice_ID, COLUMNNAME_C_Payment_ID, COLUMNNAME_CashType, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_DiscountAmt, COLUMNNAME_IsActive, COLUMNNAME_IsGenerated, COLUMNNAME_Line, COLUMNNAME_Processed, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_WriteOffAmt, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_C_CashLine(Properties ctx, int C_CashLine_ID, String trxName)Standard ConstructorX_C_CashLine(Properties ctx, ResultSet rs, String trxName)Load Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intget_AccessLevel()AccessLevelBigDecimalgetAmount()Get Amount.I_C_BankAccountgetC_BankAccount()intgetC_BankAccount_ID()Get Bank Account.I_C_CashgetC_Cash()intgetC_Cash_ID()Get Cash Journal.intgetC_CashLine_ID()Get Cash Journal Line.StringgetC_CashLine_UU()Get C_CashLine_UU.I_C_ChargegetC_Charge()intgetC_Charge_ID()Get Charge.I_C_CurrencygetC_Currency()intgetC_Currency_ID()Get Currency.I_C_InvoicegetC_Invoice()intgetC_Invoice_ID()Get Invoice.I_C_PaymentgetC_Payment()intgetC_Payment_ID()Get Payment.StringgetCashType()Get Cash Type.StringgetDescription()Get Description.BigDecimalgetDiscountAmt()Get Discount Amount.KeyNamePairgetKeyNamePair()Get Record ID/ColumnNameintgetLine()Get Line No.BigDecimalgetWriteOffAmt()Get Write-off Amount.protected POInfoinitPO(Properties ctx)Load Meta DatabooleanisGenerated()Get Generated.booleanisProcessed()Get Processed.voidsetAmount(BigDecimal Amount)Set Amount.voidsetC_BankAccount_ID(int C_BankAccount_ID)Set Bank Account.voidsetC_Cash_ID(int C_Cash_ID)Set Cash Journal.voidsetC_CashLine_ID(int C_CashLine_ID)Set Cash Journal Line.voidsetC_CashLine_UU(String C_CashLine_UU)Set C_CashLine_UU.voidsetC_Charge_ID(int C_Charge_ID)Set Charge.voidsetC_Currency_ID(int C_Currency_ID)Set Currency.voidsetC_Invoice_ID(int C_Invoice_ID)Set Invoice.voidsetC_Payment_ID(int C_Payment_ID)Set Payment.voidsetCashType(String CashType)Set Cash Type.voidsetDescription(String Description)Set Description.voidsetDiscountAmt(BigDecimal DiscountAmt)Set Discount Amount.voidsetIsGenerated(boolean IsGenerated)Set Generated.voidsetLine(int Line)Set Line No.voidsetProcessed(boolean Processed)Set Processed.voidsetWriteOffAmt(BigDecimal WriteOffAmt)Set Write-off Amount.StringtoString()String representation-
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, checkImmutable, clearCrossTenantSafe, clone, columnExists, columnExists, compare, copyPO, copyValues, copyValues, createAttachment, delete, delete, delete_Accounting, delete_Tree, deleteEx, deleteEx, dump, dump, equals, get_Attribute, get_Attributes, 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_OptimisticLockingColumns, get_Table_ID, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getUUIDColumnName, getUUIDColumnName, hashCode, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_Immutable, is_new, is_UseOptimisticLocking, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, load, loadByUU, loadComplete, loadDefaults, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveEx, saveEx, saveNew_afterSetID, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_Attribute, set_ColumnUpdateable, set_CustomColumn, set_CustomColumnReturningBoolean, set_OptimisticLockingColumns, set_TrxName, set_TrxName, set_UseOptimisticLocking, set_Value, set_Value, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, set_ValueOfColumnReturningBoolean, set_ValueOfColumnReturningBoolean, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setCrossTenantSafe, setDoc, setDocWorkflowMgr, setIsActive, setProcessedOn, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock, update_Tree, validForeignKeys
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Methods inherited from interface org.compiere.model.I_C_CashLine
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActive
-
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_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
-
CASHTYPE_GeneralExpense
public static final String CASHTYPE_GeneralExpense
General Expense = E- See Also:
- Constant Field Values
-
CASHTYPE_Invoice
public static final String CASHTYPE_Invoice
Invoice = I- See Also:
- Constant Field Values
-
CASHTYPE_GeneralReceipts
public static final String CASHTYPE_GeneralReceipts
General Receipts = R- See Also:
- Constant Field Values
-
CASHTYPE_BankAccountTransfer
public static final String CASHTYPE_BankAccountTransfer
Bank Account Transfer = T- 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_AccessLevelin classPO- Returns:
- 3 - Client - Org
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
setAmount
public void setAmount(BigDecimal Amount)
Set Amount.- Specified by:
setAmountin interfaceI_C_CashLine- Parameters:
Amount- Amount in a defined currency
-
getAmount
public BigDecimal getAmount()
Get Amount.- Specified by:
getAmountin interfaceI_C_CashLine- Returns:
- Amount in a defined currency
-
setCashType
public void setCashType(String CashType)
Set Cash Type.- Specified by:
setCashTypein interfaceI_C_CashLine- Parameters:
CashType- Source of Cash
-
getCashType
public String getCashType()
Get Cash Type.- Specified by:
getCashTypein interfaceI_C_CashLine- Returns:
- Source of Cash
-
getC_BankAccount
public I_C_BankAccount getC_BankAccount() throws RuntimeException
- Specified by:
getC_BankAccountin interfaceI_C_CashLine- Throws:
RuntimeException
-
setC_BankAccount_ID
public void setC_BankAccount_ID(int C_BankAccount_ID)
Set Bank Account.- Specified by:
setC_BankAccount_IDin interfaceI_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_IDin interfaceI_C_CashLine- Returns:
- Account at the Bank
-
getC_Cash
public I_C_Cash getC_Cash() throws RuntimeException
- Specified by:
getC_Cashin interfaceI_C_CashLine- Throws:
RuntimeException
-
setC_Cash_ID
public void setC_Cash_ID(int C_Cash_ID)
Set Cash Journal.- Specified by:
setC_Cash_IDin interfaceI_C_CashLine- Parameters:
C_Cash_ID- Cash Journal
-
getC_Cash_ID
public int getC_Cash_ID()
Get Cash Journal.- Specified by:
getC_Cash_IDin interfaceI_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_IDin interfaceI_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_IDin interfaceI_C_CashLine- Returns:
- Cash Journal Line
-
setC_CashLine_UU
public void setC_CashLine_UU(String C_CashLine_UU)
Set C_CashLine_UU.- Specified by:
setC_CashLine_UUin interfaceI_C_CashLine- Parameters:
C_CashLine_UU- C_CashLine_UU
-
getC_CashLine_UU
public String getC_CashLine_UU()
Get C_CashLine_UU.- Specified by:
getC_CashLine_UUin interfaceI_C_CashLine- Returns:
- C_CashLine_UU
-
getC_Charge
public I_C_Charge getC_Charge() throws RuntimeException
- Specified by:
getC_Chargein interfaceI_C_CashLine- Throws:
RuntimeException
-
setC_Charge_ID
public void setC_Charge_ID(int C_Charge_ID)
Set Charge.- Specified by:
setC_Charge_IDin interfaceI_C_CashLine- Parameters:
C_Charge_ID- Additional document charges
-
getC_Charge_ID
public int getC_Charge_ID()
Get Charge.- Specified by:
getC_Charge_IDin interfaceI_C_CashLine- Returns:
- Additional document charges
-
getC_Currency
public I_C_Currency getC_Currency() throws RuntimeException
- Specified by:
getC_Currencyin interfaceI_C_CashLine- Throws:
RuntimeException
-
setC_Currency_ID
public void setC_Currency_ID(int C_Currency_ID)
Set Currency.- Specified by:
setC_Currency_IDin interfaceI_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_IDin interfaceI_C_CashLine- Returns:
- The Currency for this record
-
getC_Invoice
public I_C_Invoice getC_Invoice() throws RuntimeException
- Specified by:
getC_Invoicein interfaceI_C_CashLine- Throws:
RuntimeException
-
setC_Invoice_ID
public void setC_Invoice_ID(int C_Invoice_ID)
Set Invoice.- Specified by:
setC_Invoice_IDin interfaceI_C_CashLine- Parameters:
C_Invoice_ID- Invoice Identifier
-
getC_Invoice_ID
public int getC_Invoice_ID()
Get Invoice.- Specified by:
getC_Invoice_IDin interfaceI_C_CashLine- Returns:
- Invoice Identifier
-
getC_Payment
public I_C_Payment getC_Payment() throws RuntimeException
- Specified by:
getC_Paymentin interfaceI_C_CashLine- Throws:
RuntimeException
-
setC_Payment_ID
public void setC_Payment_ID(int C_Payment_ID)
Set Payment.- Specified by:
setC_Payment_IDin interfaceI_C_CashLine- Parameters:
C_Payment_ID- Payment identifier
-
getC_Payment_ID
public int getC_Payment_ID()
Get Payment.- Specified by:
getC_Payment_IDin interfaceI_C_CashLine- Returns:
- Payment identifier
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescriptionin interfaceI_C_CashLine- Parameters:
Description- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescriptionin interfaceI_C_CashLine- Returns:
- Optional short description of the record
-
setDiscountAmt
public void setDiscountAmt(BigDecimal DiscountAmt)
Set Discount Amount.- Specified by:
setDiscountAmtin interfaceI_C_CashLine- Parameters:
DiscountAmt- Calculated amount of discount
-
getDiscountAmt
public BigDecimal getDiscountAmt()
Get Discount Amount.- Specified by:
getDiscountAmtin interfaceI_C_CashLine- Returns:
- Calculated amount of discount
-
setIsGenerated
public void setIsGenerated(boolean IsGenerated)
Set Generated.- Specified by:
setIsGeneratedin interfaceI_C_CashLine- Parameters:
IsGenerated- This Line is generated
-
isGenerated
public boolean isGenerated()
Get Generated.- Specified by:
isGeneratedin interfaceI_C_CashLine- Returns:
- This Line is generated
-
setLine
public void setLine(int Line)
Set Line No.- Specified by:
setLinein interfaceI_C_CashLine- Parameters:
Line- Unique line for this document
-
getLine
public int getLine()
Get Line No.- Specified by:
getLinein interfaceI_C_CashLine- Returns:
- Unique line for this document
-
setProcessed
public void setProcessed(boolean Processed)
Set Processed.- Specified by:
setProcessedin interfaceI_C_CashLine- Parameters:
Processed- The document has been processed
-
isProcessed
public boolean isProcessed()
Get Processed.- Specified by:
isProcessedin interfaceI_C_CashLine- Returns:
- The document has been processed
-
setWriteOffAmt
public void setWriteOffAmt(BigDecimal WriteOffAmt)
Set Write-off Amount.- Specified by:
setWriteOffAmtin interfaceI_C_CashLine- Parameters:
WriteOffAmt- Amount to write-off
-
getWriteOffAmt
public BigDecimal getWriteOffAmt()
Get Write-off Amount.- Specified by:
getWriteOffAmtin interfaceI_C_CashLine- Returns:
- Amount to write-off
-
-