Adempiere 3.5.2a

org.compiere.model
Class X_A_Depreciation_Workfile

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_A_Depreciation_Workfile
All Implemented Interfaces:
Serializable, Comparator, I_A_Depreciation_Workfile, I_Persistent, Evaluatee
Direct Known Subclasses:
MDepreciationWorkfile

public class X_A_Depreciation_Workfile
extends PO
implements I_A_Depreciation_Workfile, I_Persistent

Generated Model for A_Depreciation_Workfile

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

Field Summary
static String POSTINGTYPE_Actual
          Actual = A
static int POSTINGTYPE_AD_Reference_ID
          PostingType AD_Reference_ID=125
static String POSTINGTYPE_Budget
          Budget = B
static String POSTINGTYPE_Commitment
          Commitment = E
static String POSTINGTYPE_Reservation
          Reservation = R
static String POSTINGTYPE_Statistical
          Statistical = S
 
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_A_Depreciation_Workfile
accessLevel, COLUMNNAME_A_Accumulated_Depr, COLUMNNAME_A_Asset_Cost, COLUMNNAME_A_Asset_ID, COLUMNNAME_A_Asset_Life_Current_Year, COLUMNNAME_A_Asset_Life_Years, COLUMNNAME_A_Base_Amount, COLUMNNAME_A_Calc_Accumulated_Depr, COLUMNNAME_A_Curr_Dep_Exp, COLUMNNAME_A_Current_Period, COLUMNNAME_A_Depreciation_Workfile_ID, COLUMNNAME_A_Life_Period, COLUMNNAME_A_Period_Forecast, COLUMNNAME_A_Period_Posted, COLUMNNAME_A_Prior_Year_Accumulated_Depr, COLUMNNAME_A_QTY_Current, COLUMNNAME_A_Salvage_Value, COLUMNNAME_AssetDepreciationDate, COLUMNNAME_DateAcct, COLUMNNAME_IsDepreciated, COLUMNNAME_PostingType, COLUMNNAME_Processing, Model, Table_ID, Table_Name
 
Constructor Summary
X_A_Depreciation_Workfile(Properties ctx, int A_Depreciation_Workfile_ID, String trxName)
          Standard Constructor
X_A_Depreciation_Workfile(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 BigDecimal getA_Accumulated_Depr()
          Get A_Accumulated_Depr.
 BigDecimal getA_Asset_Cost()
          Get A_Asset_Cost.
 int getA_Asset_ID()
          Get Asset.
 BigDecimal getA_Asset_Life_Current_Year()
          Get A_Asset_Life_Current_Year.
 int getA_Asset_Life_Years()
          Get A_Asset_Life_Years.
 BigDecimal getA_Base_Amount()
          Get A_Base_Amount.
 BigDecimal getA_Calc_Accumulated_Depr()
          Get A_Calc_Accumulated_Depr.
 BigDecimal getA_Curr_Dep_Exp()
          Get A_Curr_Dep_Exp.
 int getA_Current_Period()
          Get A_Current_Period.
 int getA_Depreciation_Workfile_ID()
          Get A_Depreciation_Workfile_ID.
 int getA_Life_Period()
          Get A_Life_Period.
 BigDecimal getA_Period_Forecast()
          Get A_Period_Forecast.
 int getA_Period_Posted()
          Get A_Period_Posted.
 BigDecimal getA_Prior_Year_Accumulated_Depr()
          Get A_Prior_Year_Accumulated_Depr.
 BigDecimal getA_QTY_Current()
          Get A_QTY_Current.
 BigDecimal getA_Salvage_Value()
          Get A_Salvage_Value.
 Timestamp getAssetDepreciationDate()
          Get Asset Depreciation Date.
 Timestamp getDateAcct()
          Get Account Date.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 String getPostingType()
          Get PostingType.
protected  POInfo initPO(Properties ctx)
          Load Meta Data
 boolean isDepreciated()
          Get Depreciate.
 boolean isProcessing()
          Get Process Now.
 void setA_Accumulated_Depr(BigDecimal A_Accumulated_Depr)
          Set A_Accumulated_Depr.
 void setA_Asset_Cost(BigDecimal A_Asset_Cost)
          Set A_Asset_Cost.
 void setA_Asset_ID(int A_Asset_ID)
          Set Asset.
 void setA_Asset_Life_Current_Year(BigDecimal A_Asset_Life_Current_Year)
          Set A_Asset_Life_Current_Year.
 void setA_Asset_Life_Years(int A_Asset_Life_Years)
          Set A_Asset_Life_Years.
 void setA_Base_Amount(BigDecimal A_Base_Amount)
          Set A_Base_Amount.
 void setA_Calc_Accumulated_Depr(BigDecimal A_Calc_Accumulated_Depr)
          Set A_Calc_Accumulated_Depr.
 void setA_Curr_Dep_Exp(BigDecimal A_Curr_Dep_Exp)
          Set A_Curr_Dep_Exp.
 void setA_Current_Period(int A_Current_Period)
          Set A_Current_Period.
 void setA_Depreciation_Workfile_ID(int A_Depreciation_Workfile_ID)
          Set A_Depreciation_Workfile_ID.
 void setA_Life_Period(int A_Life_Period)
          Set A_Life_Period.
 void setA_Period_Forecast(BigDecimal A_Period_Forecast)
          Set A_Period_Forecast.
 void setA_Period_Posted(int A_Period_Posted)
          Set A_Period_Posted.
 void setA_Prior_Year_Accumulated_Depr(BigDecimal A_Prior_Year_Accumulated_Depr)
          Set A_Prior_Year_Accumulated_Depr.
 void setA_QTY_Current(BigDecimal A_QTY_Current)
          Set A_QTY_Current.
 void setA_Salvage_Value(BigDecimal A_Salvage_Value)
          Set A_Salvage_Value.
 void setAssetDepreciationDate(Timestamp AssetDepreciationDate)
          Set Asset Depreciation Date.
 void setDateAcct(Timestamp DateAcct)
          Set Account Date.
 void setIsDepreciated(boolean IsDepreciated)
          Set Depreciate.
 void setPostingType(String PostingType)
          Set PostingType.
 void setProcessing(boolean Processing)
          Set Process Now.
 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

POSTINGTYPE_AD_Reference_ID

public static final int POSTINGTYPE_AD_Reference_ID
PostingType AD_Reference_ID=125

See Also:
Constant Field Values

POSTINGTYPE_Actual

public static final String POSTINGTYPE_Actual
Actual = A

See Also:
Constant Field Values

POSTINGTYPE_Budget

public static final String POSTINGTYPE_Budget
Budget = B

See Also:
Constant Field Values

POSTINGTYPE_Commitment

public static final String POSTINGTYPE_Commitment
Commitment = E

See Also:
Constant Field Values

POSTINGTYPE_Statistical

public static final String POSTINGTYPE_Statistical
Statistical = S

See Also:
Constant Field Values

POSTINGTYPE_Reservation

public static final String POSTINGTYPE_Reservation
Reservation = R

See Also:
Constant Field Values
Constructor Detail

X_A_Depreciation_Workfile

public X_A_Depreciation_Workfile(Properties ctx,
                                 int A_Depreciation_Workfile_ID,
                                 String trxName)
Standard Constructor


X_A_Depreciation_Workfile

public X_A_Depreciation_Workfile(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:
7 - System - 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

setA_Accumulated_Depr

public void setA_Accumulated_Depr(BigDecimal A_Accumulated_Depr)
Set A_Accumulated_Depr.

Specified by:
setA_Accumulated_Depr in interface I_A_Depreciation_Workfile
Parameters:
A_Accumulated_Depr - A_Accumulated_Depr

getA_Accumulated_Depr

public BigDecimal getA_Accumulated_Depr()
Get A_Accumulated_Depr.

Specified by:
getA_Accumulated_Depr in interface I_A_Depreciation_Workfile
Returns:
A_Accumulated_Depr

setA_Asset_Cost

public void setA_Asset_Cost(BigDecimal A_Asset_Cost)
Set A_Asset_Cost.

Specified by:
setA_Asset_Cost in interface I_A_Depreciation_Workfile
Parameters:
A_Asset_Cost - A_Asset_Cost

getA_Asset_Cost

public BigDecimal getA_Asset_Cost()
Get A_Asset_Cost.

Specified by:
getA_Asset_Cost in interface I_A_Depreciation_Workfile
Returns:
A_Asset_Cost

setA_Asset_ID

public void setA_Asset_ID(int A_Asset_ID)
Set Asset.

Specified by:
setA_Asset_ID in interface I_A_Depreciation_Workfile
Parameters:
A_Asset_ID - Asset used internally or by customers

getA_Asset_ID

public int getA_Asset_ID()
Get Asset.

Specified by:
getA_Asset_ID in interface I_A_Depreciation_Workfile
Returns:
Asset used internally or by customers

setA_Asset_Life_Current_Year

public void setA_Asset_Life_Current_Year(BigDecimal A_Asset_Life_Current_Year)
Set A_Asset_Life_Current_Year.

Specified by:
setA_Asset_Life_Current_Year in interface I_A_Depreciation_Workfile
Parameters:
A_Asset_Life_Current_Year - A_Asset_Life_Current_Year

getA_Asset_Life_Current_Year

public BigDecimal getA_Asset_Life_Current_Year()
Get A_Asset_Life_Current_Year.

Specified by:
getA_Asset_Life_Current_Year in interface I_A_Depreciation_Workfile
Returns:
A_Asset_Life_Current_Year

setA_Asset_Life_Years

public void setA_Asset_Life_Years(int A_Asset_Life_Years)
Set A_Asset_Life_Years.

Specified by:
setA_Asset_Life_Years in interface I_A_Depreciation_Workfile
Parameters:
A_Asset_Life_Years - A_Asset_Life_Years

getA_Asset_Life_Years

public int getA_Asset_Life_Years()
Get A_Asset_Life_Years.

Specified by:
getA_Asset_Life_Years in interface I_A_Depreciation_Workfile
Returns:
A_Asset_Life_Years

setA_Base_Amount

public void setA_Base_Amount(BigDecimal A_Base_Amount)
Set A_Base_Amount.

Specified by:
setA_Base_Amount in interface I_A_Depreciation_Workfile
Parameters:
A_Base_Amount - A_Base_Amount

getA_Base_Amount

public BigDecimal getA_Base_Amount()
Get A_Base_Amount.

Specified by:
getA_Base_Amount in interface I_A_Depreciation_Workfile
Returns:
A_Base_Amount

setA_Calc_Accumulated_Depr

public void setA_Calc_Accumulated_Depr(BigDecimal A_Calc_Accumulated_Depr)
Set A_Calc_Accumulated_Depr.

Specified by:
setA_Calc_Accumulated_Depr in interface I_A_Depreciation_Workfile
Parameters:
A_Calc_Accumulated_Depr - A_Calc_Accumulated_Depr

getA_Calc_Accumulated_Depr

public BigDecimal getA_Calc_Accumulated_Depr()
Get A_Calc_Accumulated_Depr.

Specified by:
getA_Calc_Accumulated_Depr in interface I_A_Depreciation_Workfile
Returns:
A_Calc_Accumulated_Depr

setA_Curr_Dep_Exp

public void setA_Curr_Dep_Exp(BigDecimal A_Curr_Dep_Exp)
Set A_Curr_Dep_Exp.

Specified by:
setA_Curr_Dep_Exp in interface I_A_Depreciation_Workfile
Parameters:
A_Curr_Dep_Exp - A_Curr_Dep_Exp

getA_Curr_Dep_Exp

public BigDecimal getA_Curr_Dep_Exp()
Get A_Curr_Dep_Exp.

Specified by:
getA_Curr_Dep_Exp in interface I_A_Depreciation_Workfile
Returns:
A_Curr_Dep_Exp

setA_Current_Period

public void setA_Current_Period(int A_Current_Period)
Set A_Current_Period.

Specified by:
setA_Current_Period in interface I_A_Depreciation_Workfile
Parameters:
A_Current_Period - A_Current_Period

getA_Current_Period

public int getA_Current_Period()
Get A_Current_Period.

Specified by:
getA_Current_Period in interface I_A_Depreciation_Workfile
Returns:
A_Current_Period

setA_Depreciation_Workfile_ID

public void setA_Depreciation_Workfile_ID(int A_Depreciation_Workfile_ID)
Set A_Depreciation_Workfile_ID.

Specified by:
setA_Depreciation_Workfile_ID in interface I_A_Depreciation_Workfile
Parameters:
A_Depreciation_Workfile_ID - A_Depreciation_Workfile_ID

getA_Depreciation_Workfile_ID

public int getA_Depreciation_Workfile_ID()
Get A_Depreciation_Workfile_ID.

Specified by:
getA_Depreciation_Workfile_ID in interface I_A_Depreciation_Workfile
Returns:
A_Depreciation_Workfile_ID

getKeyNamePair

public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName

Returns:
ID/ColumnName pair

setA_Life_Period

public void setA_Life_Period(int A_Life_Period)
Set A_Life_Period.

Specified by:
setA_Life_Period in interface I_A_Depreciation_Workfile
Parameters:
A_Life_Period - A_Life_Period

getA_Life_Period

public int getA_Life_Period()
Get A_Life_Period.

Specified by:
getA_Life_Period in interface I_A_Depreciation_Workfile
Returns:
A_Life_Period

setA_Period_Forecast

public void setA_Period_Forecast(BigDecimal A_Period_Forecast)
Set A_Period_Forecast.

Specified by:
setA_Period_Forecast in interface I_A_Depreciation_Workfile
Parameters:
A_Period_Forecast - A_Period_Forecast

getA_Period_Forecast

public BigDecimal getA_Period_Forecast()
Get A_Period_Forecast.

Specified by:
getA_Period_Forecast in interface I_A_Depreciation_Workfile
Returns:
A_Period_Forecast

setA_Period_Posted

public void setA_Period_Posted(int A_Period_Posted)
Set A_Period_Posted.

Specified by:
setA_Period_Posted in interface I_A_Depreciation_Workfile
Parameters:
A_Period_Posted - A_Period_Posted

getA_Period_Posted

public int getA_Period_Posted()
Get A_Period_Posted.

Specified by:
getA_Period_Posted in interface I_A_Depreciation_Workfile
Returns:
A_Period_Posted

setA_Prior_Year_Accumulated_Depr

public void setA_Prior_Year_Accumulated_Depr(BigDecimal A_Prior_Year_Accumulated_Depr)
Set A_Prior_Year_Accumulated_Depr.

Specified by:
setA_Prior_Year_Accumulated_Depr in interface I_A_Depreciation_Workfile
Parameters:
A_Prior_Year_Accumulated_Depr - A_Prior_Year_Accumulated_Depr

getA_Prior_Year_Accumulated_Depr

public BigDecimal getA_Prior_Year_Accumulated_Depr()
Get A_Prior_Year_Accumulated_Depr.

Specified by:
getA_Prior_Year_Accumulated_Depr in interface I_A_Depreciation_Workfile
Returns:
A_Prior_Year_Accumulated_Depr

setA_QTY_Current

public void setA_QTY_Current(BigDecimal A_QTY_Current)
Set A_QTY_Current.

Specified by:
setA_QTY_Current in interface I_A_Depreciation_Workfile
Parameters:
A_QTY_Current - A_QTY_Current

getA_QTY_Current

public BigDecimal getA_QTY_Current()
Get A_QTY_Current.

Specified by:
getA_QTY_Current in interface I_A_Depreciation_Workfile
Returns:
A_QTY_Current

setA_Salvage_Value

public void setA_Salvage_Value(BigDecimal A_Salvage_Value)
Set A_Salvage_Value.

Specified by:
setA_Salvage_Value in interface I_A_Depreciation_Workfile
Parameters:
A_Salvage_Value - A_Salvage_Value

getA_Salvage_Value

public BigDecimal getA_Salvage_Value()
Get A_Salvage_Value.

Specified by:
getA_Salvage_Value in interface I_A_Depreciation_Workfile
Returns:
A_Salvage_Value

setAssetDepreciationDate

public void setAssetDepreciationDate(Timestamp AssetDepreciationDate)
Set Asset Depreciation Date.

Specified by:
setAssetDepreciationDate in interface I_A_Depreciation_Workfile
Parameters:
AssetDepreciationDate - Date of last depreciation

getAssetDepreciationDate

public Timestamp getAssetDepreciationDate()
Get Asset Depreciation Date.

Specified by:
getAssetDepreciationDate in interface I_A_Depreciation_Workfile
Returns:
Date of last depreciation

setDateAcct

public void setDateAcct(Timestamp DateAcct)
Set Account Date.

Specified by:
setDateAcct in interface I_A_Depreciation_Workfile
Parameters:
DateAcct - Accounting Date

getDateAcct

public Timestamp getDateAcct()
Get Account Date.

Specified by:
getDateAcct in interface I_A_Depreciation_Workfile
Returns:
Accounting Date

setIsDepreciated

public void setIsDepreciated(boolean IsDepreciated)
Set Depreciate.

Specified by:
setIsDepreciated in interface I_A_Depreciation_Workfile
Parameters:
IsDepreciated - The asset will be depreciated

isDepreciated

public boolean isDepreciated()
Get Depreciate.

Specified by:
isDepreciated in interface I_A_Depreciation_Workfile
Returns:
The asset will be depreciated

setPostingType

public void setPostingType(String PostingType)
Set PostingType.

Specified by:
setPostingType in interface I_A_Depreciation_Workfile
Parameters:
PostingType - The type of posted amount for the transaction

getPostingType

public String getPostingType()
Get PostingType.

Specified by:
getPostingType in interface I_A_Depreciation_Workfile
Returns:
The type of posted amount for the transaction

setProcessing

public void setProcessing(boolean Processing)
Set Process Now.

Specified by:
setProcessing in interface I_A_Depreciation_Workfile
Parameters:
Processing - Process Now

isProcessing

public boolean isProcessing()
Get Process Now.

Specified by:
isProcessing in interface I_A_Depreciation_Workfile
Returns:
Process Now

Adempiere 3.5.2a

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