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 int
CASHTYPE_AD_Reference_ID
CashType AD_Reference_ID=217static String
CASHTYPE_BankAccountTransfer
Bank Account Transfer = Tstatic String
CASHTYPE_Charge
Charge = Cstatic String
CASHTYPE_Difference
Difference = Dstatic String
CASHTYPE_GeneralExpense
General Expense = Estatic String
CASHTYPE_GeneralReceipts
General Receipts = Rstatic 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, 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 int
get_AccessLevel()
AccessLevelBigDecimal
getAmount()
Get Amount.I_C_BankAccount
getC_BankAccount()
int
getC_BankAccount_ID()
Get Bank Account.I_C_Cash
getC_Cash()
int
getC_Cash_ID()
Get Cash Journal.int
getC_CashLine_ID()
Get Cash Journal Line.String
getC_CashLine_UU()
Get C_CashLine_UU.I_C_Charge
getC_Charge()
int
getC_Charge_ID()
Get Charge.I_C_Currency
getC_Currency()
int
getC_Currency_ID()
Get Currency.I_C_Invoice
getC_Invoice()
int
getC_Invoice_ID()
Get Invoice.I_C_Payment
getC_Payment()
int
getC_Payment_ID()
Get Payment.String
getCashType()
Get Cash Type.String
getDescription()
Get Description.BigDecimal
getDiscountAmt()
Get Discount Amount.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameint
getLine()
Get Line No.BigDecimal
getWriteOffAmt()
Get Write-off Amount.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
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_CashLine_UU(String C_CashLine_UU)
Set C_CashLine_UU.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, 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_AccessLevel
in classPO
- Returns:
- 3 - Client - Org
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
setAmount
public void setAmount(BigDecimal Amount)
Set Amount.- Specified by:
setAmount
in interfaceI_C_CashLine
- Parameters:
Amount
- Amount in a defined currency
-
getAmount
public BigDecimal getAmount()
Get Amount.- Specified by:
getAmount
in interfaceI_C_CashLine
- Returns:
- Amount in a defined currency
-
setCashType
public void setCashType(String CashType)
Set Cash Type.- Specified by:
setCashType
in interfaceI_C_CashLine
- Parameters:
CashType
- Source of Cash
-
getCashType
public String getCashType()
Get Cash Type.- Specified by:
getCashType
in interfaceI_C_CashLine
- Returns:
- Source of Cash
-
getC_BankAccount
public I_C_BankAccount getC_BankAccount() throws RuntimeException
- Specified by:
getC_BankAccount
in interfaceI_C_CashLine
- Throws:
RuntimeException
-
setC_BankAccount_ID
public void setC_BankAccount_ID(int C_BankAccount_ID)
Set Bank Account.- Specified by:
setC_BankAccount_ID
in 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_ID
in interfaceI_C_CashLine
- Returns:
- Account at the Bank
-
getC_Cash
public I_C_Cash getC_Cash() throws RuntimeException
- Specified by:
getC_Cash
in interfaceI_C_CashLine
- Throws:
RuntimeException
-
setC_Cash_ID
public void setC_Cash_ID(int C_Cash_ID)
Set Cash Journal.- Specified by:
setC_Cash_ID
in interfaceI_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 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_ID
in 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_ID
in 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_UU
in 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_UU
in interfaceI_C_CashLine
- Returns:
- C_CashLine_UU
-
getC_Charge
public I_C_Charge getC_Charge() throws RuntimeException
- Specified by:
getC_Charge
in interfaceI_C_CashLine
- Throws:
RuntimeException
-
setC_Charge_ID
public void setC_Charge_ID(int C_Charge_ID)
Set Charge.- Specified by:
setC_Charge_ID
in interfaceI_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 interfaceI_C_CashLine
- Returns:
- Additional document charges
-
getC_Currency
public I_C_Currency getC_Currency() throws RuntimeException
- Specified by:
getC_Currency
in interfaceI_C_CashLine
- Throws:
RuntimeException
-
setC_Currency_ID
public void setC_Currency_ID(int C_Currency_ID)
Set Currency.- Specified by:
setC_Currency_ID
in 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_ID
in interfaceI_C_CashLine
- Returns:
- The Currency for this record
-
getC_Invoice
public I_C_Invoice getC_Invoice() throws RuntimeException
- Specified by:
getC_Invoice
in interfaceI_C_CashLine
- Throws:
RuntimeException
-
setC_Invoice_ID
public void setC_Invoice_ID(int C_Invoice_ID)
Set Invoice.- Specified by:
setC_Invoice_ID
in interfaceI_C_CashLine
- Parameters:
C_Invoice_ID
- Invoice Identifier
-
getC_Invoice_ID
public int getC_Invoice_ID()
Get Invoice.- Specified by:
getC_Invoice_ID
in interfaceI_C_CashLine
- Returns:
- Invoice Identifier
-
getC_Payment
public I_C_Payment getC_Payment() throws RuntimeException
- Specified by:
getC_Payment
in interfaceI_C_CashLine
- Throws:
RuntimeException
-
setC_Payment_ID
public void setC_Payment_ID(int C_Payment_ID)
Set Payment.- Specified by:
setC_Payment_ID
in interfaceI_C_CashLine
- Parameters:
C_Payment_ID
- Payment identifier
-
getC_Payment_ID
public int getC_Payment_ID()
Get Payment.- Specified by:
getC_Payment_ID
in interfaceI_C_CashLine
- Returns:
- Payment identifier
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescription
in interfaceI_C_CashLine
- Parameters:
Description
- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescription
in interfaceI_C_CashLine
- Returns:
- Optional short description of the record
-
setDiscountAmt
public void setDiscountAmt(BigDecimal DiscountAmt)
Set Discount Amount.- Specified by:
setDiscountAmt
in interfaceI_C_CashLine
- Parameters:
DiscountAmt
- Calculated amount of discount
-
getDiscountAmt
public BigDecimal getDiscountAmt()
Get Discount Amount.- Specified by:
getDiscountAmt
in interfaceI_C_CashLine
- Returns:
- Calculated amount of discount
-
setIsGenerated
public void setIsGenerated(boolean IsGenerated)
Set Generated.- Specified by:
setIsGenerated
in interfaceI_C_CashLine
- Parameters:
IsGenerated
- This Line is generated
-
isGenerated
public boolean isGenerated()
Get Generated.- Specified by:
isGenerated
in interfaceI_C_CashLine
- Returns:
- This Line is generated
-
setLine
public void setLine(int Line)
Set Line No.- Specified by:
setLine
in interfaceI_C_CashLine
- Parameters:
Line
- Unique line for this document
-
getLine
public int getLine()
Get Line No.- Specified by:
getLine
in interfaceI_C_CashLine
- Returns:
- Unique line for this document
-
setProcessed
public void setProcessed(boolean Processed)
Set Processed.- Specified by:
setProcessed
in interfaceI_C_CashLine
- Parameters:
Processed
- The document has been processed
-
isProcessed
public boolean isProcessed()
Get Processed.- Specified by:
isProcessed
in interfaceI_C_CashLine
- Returns:
- The document has been processed
-
setWriteOffAmt
public void setWriteOffAmt(BigDecimal WriteOffAmt)
Set Write-off Amount.- Specified by:
setWriteOffAmt
in interfaceI_C_CashLine
- Parameters:
WriteOffAmt
- Amount to write-off
-
getWriteOffAmt
public BigDecimal getWriteOffAmt()
Get Write-off Amount.- Specified by:
getWriteOffAmt
in interfaceI_C_CashLine
- Returns:
- Amount to write-off
-
-