Adempiere 3.5.2a

org.compiere.model
Class X_C_Withholding

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_C_Withholding
All Implemented Interfaces:
Serializable, Comparator, I_C_Withholding, I_Persistent, Evaluatee
Direct Known Subclasses:
MWithholding

public class X_C_Withholding
extends PO
implements I_C_Withholding, I_Persistent

Generated Model for C_Withholding

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

Field Summary
static int BENEFICIARY_AD_Reference_ID
          Beneficiary AD_Reference_ID=138
 
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_Withholding
accessLevel, COLUMNNAME_Beneficiary, COLUMNNAME_C_PaymentTerm_ID, COLUMNNAME_C_Withholding_ID, COLUMNNAME_Description, COLUMNNAME_FixAmt, COLUMNNAME_IsPaidTo3Party, COLUMNNAME_IsPercentWithholding, COLUMNNAME_IsTaxProrated, COLUMNNAME_IsTaxWithholding, COLUMNNAME_MaxAmt, COLUMNNAME_MinAmt, COLUMNNAME_Name, COLUMNNAME_Percent, COLUMNNAME_ThresholdMax, COLUMNNAME_Thresholdmin, Model, Table_ID, Table_Name
 
Constructor Summary
X_C_Withholding(Properties ctx, int C_Withholding_ID, String trxName)
          Standard Constructor
X_C_Withholding(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 int getBeneficiary()
          Get Beneficiary.
 int getC_PaymentTerm_ID()
          Get Payment Term.
 I_C_PaymentTerm getC_PaymentTerm()
           
 int getC_Withholding_ID()
          Get Withholding.
 String getDescription()
          Get Description.
 BigDecimal getFixAmt()
          Get Fix amount.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 BigDecimal getMaxAmt()
          Get Max Amount.
 BigDecimal getMinAmt()
          Get Min Amount.
 String getName()
          Get Name.
 BigDecimal getPercent()
          Get Percent.
 BigDecimal getThresholdMax()
          Get Threshold max.
 BigDecimal getThresholdmin()
          Get Threshold min.
protected  POInfo initPO(Properties ctx)
          Load Meta Data
 boolean isPaidTo3Party()
          Get Paid to third party.
 boolean isPercentWithholding()
          Get Percent withholding.
 boolean isTaxProrated()
          Get Prorate tax.
 boolean isTaxWithholding()
          Get Tax withholding.
 void setBeneficiary(int Beneficiary)
          Set Beneficiary.
 void setC_PaymentTerm_ID(int C_PaymentTerm_ID)
          Set Payment Term.
 void setC_Withholding_ID(int C_Withholding_ID)
          Set Withholding.
 void setDescription(String Description)
          Set Description.
 void setFixAmt(BigDecimal FixAmt)
          Set Fix amount.
 void setIsPaidTo3Party(boolean IsPaidTo3Party)
          Set Paid to third party.
 void setIsPercentWithholding(boolean IsPercentWithholding)
          Set Percent withholding.
 void setIsTaxProrated(boolean IsTaxProrated)
          Set Prorate tax.
 void setIsTaxWithholding(boolean IsTaxWithholding)
          Set Tax withholding.
 void setMaxAmt(BigDecimal MaxAmt)
          Set Max Amount.
 void setMinAmt(BigDecimal MinAmt)
          Set Min Amount.
 void setName(String Name)
          Set Name.
 void setPercent(BigDecimal Percent)
          Set Percent.
 void setThresholdMax(BigDecimal ThresholdMax)
          Set Threshold max.
 void setThresholdmin(BigDecimal Thresholdmin)
          Set Threshold min.
 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

BENEFICIARY_AD_Reference_ID

public static final int BENEFICIARY_AD_Reference_ID
Beneficiary AD_Reference_ID=138

See Also:
Constant Field Values
Constructor Detail

X_C_Withholding

public X_C_Withholding(Properties ctx,
                       int C_Withholding_ID,
                       String trxName)
Standard Constructor


X_C_Withholding

public X_C_Withholding(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

setBeneficiary

public void setBeneficiary(int Beneficiary)
Set Beneficiary.

Specified by:
setBeneficiary in interface I_C_Withholding
Parameters:
Beneficiary - Business Partner to whom payment is made

getBeneficiary

public int getBeneficiary()
Get Beneficiary.

Specified by:
getBeneficiary in interface I_C_Withholding
Returns:
Business Partner to whom payment is made

getC_PaymentTerm

public I_C_PaymentTerm getC_PaymentTerm()
                                 throws Exception
Specified by:
getC_PaymentTerm in interface I_C_Withholding
Throws:
Exception

setC_PaymentTerm_ID

public void setC_PaymentTerm_ID(int C_PaymentTerm_ID)
Set Payment Term.

Specified by:
setC_PaymentTerm_ID in interface I_C_Withholding
Parameters:
C_PaymentTerm_ID - The terms of Payment (timing, discount)

getC_PaymentTerm_ID

public int getC_PaymentTerm_ID()
Get Payment Term.

Specified by:
getC_PaymentTerm_ID in interface I_C_Withholding
Returns:
The terms of Payment (timing, discount)

setC_Withholding_ID

public void setC_Withholding_ID(int C_Withholding_ID)
Set Withholding.

Specified by:
setC_Withholding_ID in interface I_C_Withholding
Parameters:
C_Withholding_ID - Withholding type defined

getC_Withholding_ID

public int getC_Withholding_ID()
Get Withholding.

Specified by:
getC_Withholding_ID in interface I_C_Withholding
Returns:
Withholding type defined

setDescription

public void setDescription(String Description)
Set Description.

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

getDescription

public String getDescription()
Get Description.

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

setFixAmt

public void setFixAmt(BigDecimal FixAmt)
Set Fix amount.

Specified by:
setFixAmt in interface I_C_Withholding
Parameters:
FixAmt - Fix amounted amount to be levied or paid

getFixAmt

public BigDecimal getFixAmt()
Get Fix amount.

Specified by:
getFixAmt in interface I_C_Withholding
Returns:
Fix amounted amount to be levied or paid

setIsPaidTo3Party

public void setIsPaidTo3Party(boolean IsPaidTo3Party)
Set Paid to third party.

Specified by:
setIsPaidTo3Party in interface I_C_Withholding
Parameters:
IsPaidTo3Party - Amount paid to someone other than the Business Partner

isPaidTo3Party

public boolean isPaidTo3Party()
Get Paid to third party.

Specified by:
isPaidTo3Party in interface I_C_Withholding
Returns:
Amount paid to someone other than the Business Partner

setIsPercentWithholding

public void setIsPercentWithholding(boolean IsPercentWithholding)
Set Percent withholding.

Specified by:
setIsPercentWithholding in interface I_C_Withholding
Parameters:
IsPercentWithholding - Withholding amount is a percentage of the invoice amount

isPercentWithholding

public boolean isPercentWithholding()
Get Percent withholding.

Specified by:
isPercentWithholding in interface I_C_Withholding
Returns:
Withholding amount is a percentage of the invoice amount

setIsTaxProrated

public void setIsTaxProrated(boolean IsTaxProrated)
Set Prorate tax.

Specified by:
setIsTaxProrated in interface I_C_Withholding
Parameters:
IsTaxProrated - Tax is Prorated

isTaxProrated

public boolean isTaxProrated()
Get Prorate tax.

Specified by:
isTaxProrated in interface I_C_Withholding
Returns:
Tax is Prorated

setIsTaxWithholding

public void setIsTaxWithholding(boolean IsTaxWithholding)
Set Tax withholding.

Specified by:
setIsTaxWithholding in interface I_C_Withholding
Parameters:
IsTaxWithholding - This is a tax related withholding

isTaxWithholding

public boolean isTaxWithholding()
Get Tax withholding.

Specified by:
isTaxWithholding in interface I_C_Withholding
Returns:
This is a tax related withholding

setMaxAmt

public void setMaxAmt(BigDecimal MaxAmt)
Set Max Amount.

Specified by:
setMaxAmt in interface I_C_Withholding
Parameters:
MaxAmt - Maximum Amount in invoice currency

getMaxAmt

public BigDecimal getMaxAmt()
Get Max Amount.

Specified by:
getMaxAmt in interface I_C_Withholding
Returns:
Maximum Amount in invoice currency

setMinAmt

public void setMinAmt(BigDecimal MinAmt)
Set Min Amount.

Specified by:
setMinAmt in interface I_C_Withholding
Parameters:
MinAmt - Minimum Amount in invoice currency

getMinAmt

public BigDecimal getMinAmt()
Get Min Amount.

Specified by:
getMinAmt in interface I_C_Withholding
Returns:
Minimum Amount in invoice currency

setName

public void setName(String Name)
Set Name.

Specified by:
setName in interface I_C_Withholding
Parameters:
Name - Alphanumeric identifier of the entity

getName

public String getName()
Get Name.

Specified by:
getName in interface I_C_Withholding
Returns:
Alphanumeric identifier of the entity

getKeyNamePair

public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName

Returns:
ID/ColumnName pair

setPercent

public void setPercent(BigDecimal Percent)
Set Percent.

Specified by:
setPercent in interface I_C_Withholding
Parameters:
Percent - Percentage

getPercent

public BigDecimal getPercent()
Get Percent.

Specified by:
getPercent in interface I_C_Withholding
Returns:
Percentage

setThresholdMax

public void setThresholdMax(BigDecimal ThresholdMax)
Set Threshold max.

Specified by:
setThresholdMax in interface I_C_Withholding
Parameters:
ThresholdMax - Maximum gross amount for withholding calculation (0=no limit)

getThresholdMax

public BigDecimal getThresholdMax()
Get Threshold max.

Specified by:
getThresholdMax in interface I_C_Withholding
Returns:
Maximum gross amount for withholding calculation (0=no limit)

setThresholdmin

public void setThresholdmin(BigDecimal Thresholdmin)
Set Threshold min.

Specified by:
setThresholdmin in interface I_C_Withholding
Parameters:
Thresholdmin - Minimum gross amount for withholding calculation

getThresholdmin

public BigDecimal getThresholdmin()
Get Threshold min.

Specified by:
getThresholdmin in interface I_C_Withholding
Returns:
Minimum gross amount for withholding calculation

Adempiere 3.5.2a

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