Adempiere 3.5.2a

org.compiere.model
Class X_C_PaymentAllocate

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_C_PaymentAllocate
All Implemented Interfaces:
Serializable, Comparator, I_C_PaymentAllocate, I_Persistent, Evaluatee
Direct Known Subclasses:
MPaymentAllocate

public class X_C_PaymentAllocate
extends PO
implements I_C_PaymentAllocate, I_Persistent

Generated Model for C_PaymentAllocate

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

Field Summary
 
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_PaymentAllocate
accessLevel, COLUMNNAME_Amount, COLUMNNAME_C_AllocationLine_ID, COLUMNNAME_C_Invoice_ID, COLUMNNAME_C_Payment_ID, COLUMNNAME_C_PaymentAllocate_ID, COLUMNNAME_DiscountAmt, COLUMNNAME_InvoiceAmt, COLUMNNAME_OverUnderAmt, COLUMNNAME_RemainingAmt, COLUMNNAME_WriteOffAmt, Model, Table_ID, Table_Name
 
Constructor Summary
X_C_PaymentAllocate(Properties ctx, int C_PaymentAllocate_ID, String trxName)
          Standard Constructor
X_C_PaymentAllocate(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 BigDecimal getAmount()
          Get Amount.
 int getC_AllocationLine_ID()
          Get Allocation Line.
 I_C_AllocationLine getC_AllocationLine()
           
 int getC_Invoice_ID()
          Get Invoice.
 I_C_Invoice getC_Invoice()
           
 int getC_Payment_ID()
          Get Payment.
 I_C_Payment getC_Payment()
           
 int getC_PaymentAllocate_ID()
          Get Allocate Payment.
 BigDecimal getDiscountAmt()
          Get Discount Amount.
 BigDecimal getInvoiceAmt()
          Get Invoice Amt.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 BigDecimal getOverUnderAmt()
          Get Over/Under Payment.
 BigDecimal getRemainingAmt()
          Get Remaining Amt.
 BigDecimal getWriteOffAmt()
          Get Write-off Amount.
protected  POInfo initPO(Properties ctx)
          Load Meta Data
 void setAmount(BigDecimal Amount)
          Set Amount.
 void setC_AllocationLine_ID(int C_AllocationLine_ID)
          Set Allocation Line.
 void setC_Invoice_ID(int C_Invoice_ID)
          Set Invoice.
 void setC_Payment_ID(int C_Payment_ID)
          Set Payment.
 void setC_PaymentAllocate_ID(int C_PaymentAllocate_ID)
          Set Allocate Payment.
 void setDiscountAmt(BigDecimal DiscountAmt)
          Set Discount Amount.
 void setInvoiceAmt(BigDecimal InvoiceAmt)
          Set Invoice Amt.
 void setOverUnderAmt(BigDecimal OverUnderAmt)
          Set Over/Under Payment.
 void setRemainingAmt(BigDecimal RemainingAmt)
          Set Remaining Amt.
 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
 

Constructor Detail

X_C_PaymentAllocate

public X_C_PaymentAllocate(Properties ctx,
                           int C_PaymentAllocate_ID,
                           String trxName)
Standard Constructor


X_C_PaymentAllocate

public X_C_PaymentAllocate(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:
1 - 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_PaymentAllocate
Parameters:
Amount - Amount in a defined currency

getAmount

public BigDecimal getAmount()
Get Amount.

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

getC_AllocationLine

public I_C_AllocationLine getC_AllocationLine()
                                       throws Exception
Specified by:
getC_AllocationLine in interface I_C_PaymentAllocate
Throws:
Exception

setC_AllocationLine_ID

public void setC_AllocationLine_ID(int C_AllocationLine_ID)
Set Allocation Line.

Specified by:
setC_AllocationLine_ID in interface I_C_PaymentAllocate
Parameters:
C_AllocationLine_ID - Allocation Line

getC_AllocationLine_ID

public int getC_AllocationLine_ID()
Get Allocation Line.

Specified by:
getC_AllocationLine_ID in interface I_C_PaymentAllocate
Returns:
Allocation Line

getC_Invoice

public I_C_Invoice getC_Invoice()
                         throws Exception
Specified by:
getC_Invoice in interface I_C_PaymentAllocate
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_PaymentAllocate
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_PaymentAllocate
Returns:
Invoice Identifier

getKeyNamePair

public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName

Returns:
ID/ColumnName pair

setC_PaymentAllocate_ID

public void setC_PaymentAllocate_ID(int C_PaymentAllocate_ID)
Set Allocate Payment.

Specified by:
setC_PaymentAllocate_ID in interface I_C_PaymentAllocate
Parameters:
C_PaymentAllocate_ID - Allocate Payment to Invoices

getC_PaymentAllocate_ID

public int getC_PaymentAllocate_ID()
Get Allocate Payment.

Specified by:
getC_PaymentAllocate_ID in interface I_C_PaymentAllocate
Returns:
Allocate Payment to Invoices

getC_Payment

public I_C_Payment getC_Payment()
                         throws Exception
Specified by:
getC_Payment in interface I_C_PaymentAllocate
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_PaymentAllocate
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_PaymentAllocate
Returns:
Payment identifier

setDiscountAmt

public void setDiscountAmt(BigDecimal DiscountAmt)
Set Discount Amount.

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

getDiscountAmt

public BigDecimal getDiscountAmt()
Get Discount Amount.

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

setInvoiceAmt

public void setInvoiceAmt(BigDecimal InvoiceAmt)
Set Invoice Amt.

Specified by:
setInvoiceAmt in interface I_C_PaymentAllocate
Parameters:
InvoiceAmt - Invoice Amt

getInvoiceAmt

public BigDecimal getInvoiceAmt()
Get Invoice Amt.

Specified by:
getInvoiceAmt in interface I_C_PaymentAllocate
Returns:
Invoice Amt

setOverUnderAmt

public void setOverUnderAmt(BigDecimal OverUnderAmt)
Set Over/Under Payment.

Specified by:
setOverUnderAmt in interface I_C_PaymentAllocate
Parameters:
OverUnderAmt - Over-Payment (unallocated) or Under-Payment (partial payment) Amount

getOverUnderAmt

public BigDecimal getOverUnderAmt()
Get Over/Under Payment.

Specified by:
getOverUnderAmt in interface I_C_PaymentAllocate
Returns:
Over-Payment (unallocated) or Under-Payment (partial payment) Amount

setRemainingAmt

public void setRemainingAmt(BigDecimal RemainingAmt)
Set Remaining Amt.

Specified by:
setRemainingAmt in interface I_C_PaymentAllocate
Parameters:
RemainingAmt - Remaining Amount

getRemainingAmt

public BigDecimal getRemainingAmt()
Get Remaining Amt.

Specified by:
getRemainingAmt in interface I_C_PaymentAllocate
Returns:
Remaining Amount

setWriteOffAmt

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

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

getWriteOffAmt

public BigDecimal getWriteOffAmt()
Get Write-off Amount.

Specified by:
getWriteOffAmt in interface I_C_PaymentAllocate
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.