Adempiere 3.5.2a

org.compiere.model
Class X_C_PaySchedule

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_C_PaySchedule
All Implemented Interfaces:
Serializable, Comparator, I_C_PaySchedule, I_Persistent, Evaluatee
Direct Known Subclasses:
MPaySchedule

public class X_C_PaySchedule
extends PO
implements I_C_PaySchedule, I_Persistent

Generated Model for C_PaySchedule

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

Field Summary
static int NETDAY_AD_Reference_ID
          NetDay AD_Reference_ID=167
static String NETDAY_Friday
          Friday = 5
static String NETDAY_Monday
          Monday = 1
static String NETDAY_Saturday
          Saturday = 6
static String NETDAY_Sunday
          Sunday = 7
static String NETDAY_Thursday
          Thursday = 4
static String NETDAY_Tuesday
          Tuesday = 2
static String NETDAY_Wednesday
          Wednesday = 3
 
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_PaySchedule
accessLevel, COLUMNNAME_C_PaymentTerm_ID, COLUMNNAME_C_PaySchedule_ID, COLUMNNAME_Discount, COLUMNNAME_DiscountDays, COLUMNNAME_GraceDays, COLUMNNAME_IsValid, COLUMNNAME_NetDay, COLUMNNAME_NetDays, COLUMNNAME_Percentage, Model, Table_ID, Table_Name
 
Constructor Summary
X_C_PaySchedule(Properties ctx, int C_PaySchedule_ID, String trxName)
          Standard Constructor
X_C_PaySchedule(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 int getC_PaymentTerm_ID()
          Get Payment Term.
 I_C_PaymentTerm getC_PaymentTerm()
           
 int getC_PaySchedule_ID()
          Get Payment Schedule.
 BigDecimal getDiscount()
          Get Discount %.
 int getDiscountDays()
          Get Discount Days.
 int getGraceDays()
          Get Grace Days.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 String getNetDay()
          Get Net Day.
 int getNetDays()
          Get Net Days.
 BigDecimal getPercentage()
          Get Percentage.
protected  POInfo initPO(Properties ctx)
          Load Meta Data
 boolean isValid()
          Get Valid.
 void setC_PaymentTerm_ID(int C_PaymentTerm_ID)
          Set Payment Term.
 void setC_PaySchedule_ID(int C_PaySchedule_ID)
          Set Payment Schedule.
 void setDiscount(BigDecimal Discount)
          Set Discount %.
 void setDiscountDays(int DiscountDays)
          Set Discount Days.
 void setGraceDays(int GraceDays)
          Set Grace Days.
 void setIsValid(boolean IsValid)
          Set Valid.
 void setNetDay(String NetDay)
          Set Net Day.
 void setNetDays(int NetDays)
          Set Net Days.
 void setPercentage(BigDecimal Percentage)
          Set Percentage.
 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

NETDAY_AD_Reference_ID

public static final int NETDAY_AD_Reference_ID
NetDay AD_Reference_ID=167

See Also:
Constant Field Values

NETDAY_Sunday

public static final String NETDAY_Sunday
Sunday = 7

See Also:
Constant Field Values

NETDAY_Monday

public static final String NETDAY_Monday
Monday = 1

See Also:
Constant Field Values

NETDAY_Tuesday

public static final String NETDAY_Tuesday
Tuesday = 2

See Also:
Constant Field Values

NETDAY_Wednesday

public static final String NETDAY_Wednesday
Wednesday = 3

See Also:
Constant Field Values

NETDAY_Thursday

public static final String NETDAY_Thursday
Thursday = 4

See Also:
Constant Field Values

NETDAY_Friday

public static final String NETDAY_Friday
Friday = 5

See Also:
Constant Field Values

NETDAY_Saturday

public static final String NETDAY_Saturday
Saturday = 6

See Also:
Constant Field Values
Constructor Detail

X_C_PaySchedule

public X_C_PaySchedule(Properties ctx,
                       int C_PaySchedule_ID,
                       String trxName)
Standard Constructor


X_C_PaySchedule

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

getC_PaymentTerm

public I_C_PaymentTerm getC_PaymentTerm()
                                 throws Exception
Specified by:
getC_PaymentTerm in interface I_C_PaySchedule
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_PaySchedule
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_PaySchedule
Returns:
The terms of Payment (timing, discount)

getKeyNamePair

public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName

Returns:
ID/ColumnName pair

setC_PaySchedule_ID

public void setC_PaySchedule_ID(int C_PaySchedule_ID)
Set Payment Schedule.

Specified by:
setC_PaySchedule_ID in interface I_C_PaySchedule
Parameters:
C_PaySchedule_ID - Payment Schedule Template

getC_PaySchedule_ID

public int getC_PaySchedule_ID()
Get Payment Schedule.

Specified by:
getC_PaySchedule_ID in interface I_C_PaySchedule
Returns:
Payment Schedule Template

setDiscount

public void setDiscount(BigDecimal Discount)
Set Discount %.

Specified by:
setDiscount in interface I_C_PaySchedule
Parameters:
Discount - Discount in percent

getDiscount

public BigDecimal getDiscount()
Get Discount %.

Specified by:
getDiscount in interface I_C_PaySchedule
Returns:
Discount in percent

setDiscountDays

public void setDiscountDays(int DiscountDays)
Set Discount Days.

Specified by:
setDiscountDays in interface I_C_PaySchedule
Parameters:
DiscountDays - Number of days from invoice date to be eligible for discount

getDiscountDays

public int getDiscountDays()
Get Discount Days.

Specified by:
getDiscountDays in interface I_C_PaySchedule
Returns:
Number of days from invoice date to be eligible for discount

setGraceDays

public void setGraceDays(int GraceDays)
Set Grace Days.

Specified by:
setGraceDays in interface I_C_PaySchedule
Parameters:
GraceDays - Days after due date to send first dunning letter

getGraceDays

public int getGraceDays()
Get Grace Days.

Specified by:
getGraceDays in interface I_C_PaySchedule
Returns:
Days after due date to send first dunning letter

setIsValid

public void setIsValid(boolean IsValid)
Set Valid.

Specified by:
setIsValid in interface I_C_PaySchedule
Parameters:
IsValid - Element is valid

isValid

public boolean isValid()
Get Valid.

Specified by:
isValid in interface I_C_PaySchedule
Returns:
Element is valid

setNetDay

public void setNetDay(String NetDay)
Set Net Day.

Specified by:
setNetDay in interface I_C_PaySchedule
Parameters:
NetDay - Day when payment is due net

getNetDay

public String getNetDay()
Get Net Day.

Specified by:
getNetDay in interface I_C_PaySchedule
Returns:
Day when payment is due net

setNetDays

public void setNetDays(int NetDays)
Set Net Days.

Specified by:
setNetDays in interface I_C_PaySchedule
Parameters:
NetDays - Net Days in which payment is due

getNetDays

public int getNetDays()
Get Net Days.

Specified by:
getNetDays in interface I_C_PaySchedule
Returns:
Net Days in which payment is due

setPercentage

public void setPercentage(BigDecimal Percentage)
Set Percentage.

Specified by:
setPercentage in interface I_C_PaySchedule
Parameters:
Percentage - Percent of the entire amount

getPercentage

public BigDecimal getPercentage()
Get Percentage.

Specified by:
getPercentage in interface I_C_PaySchedule
Returns:
Percent of the entire amount

Adempiere 3.5.2a

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