Package org.compiere.model
Class X_A_Asset_Reval
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_A_Asset_Reval
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_A_Asset_Reval
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MAssetReval
public class X_A_Asset_Reval extends PO implements I_A_Asset_Reval, I_Persistent
Generated Model for A_Asset_Reval- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
DOCACTION_AD_Reference_ID
DocAction AD_Reference_ID=135static String
DOCACTION_Approve
Approve = APstatic String
DOCACTION_Close
Close = CLstatic String
DOCACTION_Complete
Complete = COstatic String
DOCACTION_Invalidate
Invalidate = INstatic String
DOCACTION_None
<None> = --static String
DOCACTION_Post
Post = POstatic String
DOCACTION_Prepare
Prepare = PRstatic String
DOCACTION_Re_Activate
Re-activate = REstatic String
DOCACTION_Reject
Reject = RJstatic String
DOCACTION_Reverse_Accrual
Reverse - Accrual = RAstatic String
DOCACTION_Reverse_Correct
Reverse - Correct = RCstatic String
DOCACTION_Unlock
Unlock = XLstatic String
DOCACTION_Void
Void = VOstatic String
DOCACTION_WaitComplete
Wait Complete = WCstatic int
DOCSTATUS_AD_Reference_ID
DocStatus AD_Reference_ID=131static String
DOCSTATUS_Approved
Approved = APstatic String
DOCSTATUS_Closed
Closed = CLstatic String
DOCSTATUS_Completed
Completed = COstatic String
DOCSTATUS_Drafted
Drafted = DRstatic String
DOCSTATUS_InProgress
In Progress = IPstatic String
DOCSTATUS_Invalid
Invalid = INstatic String
DOCSTATUS_NotApproved
Not Approved = NAstatic String
DOCSTATUS_Reversed
Reversed = REstatic String
DOCSTATUS_Unknown
Unknown = ??static String
DOCSTATUS_Voided
Voided = VOstatic String
DOCSTATUS_WaitingConfirmation
Waiting Confirmation = WCstatic String
DOCSTATUS_WaitingPayment
Waiting Payment = WPstatic String
POSTINGTYPE_Actual
Actual = Astatic int
POSTINGTYPE_AD_Reference_ID
PostingType AD_Reference_ID=125static String
POSTINGTYPE_Budget
Budget = Bstatic String
POSTINGTYPE_Commitment
Commitment = Estatic String
POSTINGTYPE_Reservation
Reservation = Rstatic 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, 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_A_Asset_Reval
accessLevel, COLUMNNAME_A_Accumulated_Depr, COLUMNNAME_A_Asset_Cost, COLUMNNAME_A_Asset_Cost_Change, COLUMNNAME_A_Asset_ID, COLUMNNAME_A_Asset_Reval_ID, COLUMNNAME_A_Asset_Reval_UU, COLUMNNAME_A_Change_Acumulated_Depr, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_DateAcct, COLUMNNAME_DateDoc, COLUMNNAME_DocAction, COLUMNNAME_DocStatus, COLUMNNAME_DocumentNo, COLUMNNAME_IsActive, COLUMNNAME_Posted, COLUMNNAME_PostingType, COLUMNNAME_Processed, COLUMNNAME_ProcessedOn, COLUMNNAME_Processing, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_A_Asset_Reval(Properties ctx, int A_Asset_Reval_ID, String trxName)
Standard ConstructorX_A_Asset_Reval(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
getA_Accumulated_Depr()
Get Accumulated Depreciation.I_A_Asset
getA_Asset()
BigDecimal
getA_Asset_Cost()
Get Asset Cost.BigDecimal
getA_Asset_Cost_Change()
Get Asset Cost Change.int
getA_Asset_ID()
Get Asset.int
getA_Asset_Reval_ID()
Get Asset Revaluation.String
getA_Asset_Reval_UU()
Get A_Asset_Reval_UU.BigDecimal
getA_Change_Acumulated_Depr()
Get Change Acumulated Depreciation.Timestamp
getDateAcct()
Get Account Date.Timestamp
getDateDoc()
Get Document Date.String
getDocAction()
Get Document Action.String
getDocStatus()
Get Document Status.String
getDocumentNo()
Get Document No.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameString
getPostingType()
Get PostingType.BigDecimal
getProcessedOn()
Get Processed On.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isPosted()
Get Posted.boolean
isProcessed()
Get Processed.boolean
isProcessing()
Get Process Now.void
setA_Accumulated_Depr(BigDecimal A_Accumulated_Depr)
Set Accumulated Depreciation.void
setA_Asset_Cost(BigDecimal A_Asset_Cost)
Set Asset Cost.void
setA_Asset_Cost_Change(BigDecimal A_Asset_Cost_Change)
Set Asset Cost Change.void
setA_Asset_ID(int A_Asset_ID)
Set Asset.void
setA_Asset_Reval_ID(int A_Asset_Reval_ID)
Set Asset Revaluation.void
setA_Asset_Reval_UU(String A_Asset_Reval_UU)
Set A_Asset_Reval_UU.void
setA_Change_Acumulated_Depr(BigDecimal A_Change_Acumulated_Depr)
Set Change Acumulated Depreciation.void
setDateAcct(Timestamp DateAcct)
Set Account Date.void
setDateDoc(Timestamp DateDoc)
Set Document Date.void
setDocAction(String DocAction)
Set Document Action.void
setDocStatus(String DocStatus)
Set Document Status.void
setDocumentNo(String DocumentNo)
Set Document No.void
setPosted(boolean Posted)
Set Posted.void
setPostingType(String PostingType)
Set PostingType.void
setProcessed(boolean Processed)
Set Processed.void
setProcessedOn(BigDecimal ProcessedOn)
Set Processed On.void
setProcessing(boolean Processing)
Set Process Now.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_A_Asset_Reval
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
-
DOCACTION_AD_Reference_ID
public static final int DOCACTION_AD_Reference_ID
DocAction AD_Reference_ID=135- See Also:
- Constant Field Values
-
DOCACTION_None
public static final String DOCACTION_None
<None> = --- See Also:
- Constant Field Values
-
DOCACTION_Approve
public static final String DOCACTION_Approve
Approve = AP- See Also:
- Constant Field Values
-
DOCACTION_Close
public static final String DOCACTION_Close
Close = CL- See Also:
- Constant Field Values
-
DOCACTION_Complete
public static final String DOCACTION_Complete
Complete = CO- See Also:
- Constant Field Values
-
DOCACTION_Invalidate
public static final String DOCACTION_Invalidate
Invalidate = IN- See Also:
- Constant Field Values
-
DOCACTION_Post
public static final String DOCACTION_Post
Post = PO- See Also:
- Constant Field Values
-
DOCACTION_Prepare
public static final String DOCACTION_Prepare
Prepare = PR- See Also:
- Constant Field Values
-
DOCACTION_Reverse_Accrual
public static final String DOCACTION_Reverse_Accrual
Reverse - Accrual = RA- See Also:
- Constant Field Values
-
DOCACTION_Reverse_Correct
public static final String DOCACTION_Reverse_Correct
Reverse - Correct = RC- See Also:
- Constant Field Values
-
DOCACTION_Re_Activate
public static final String DOCACTION_Re_Activate
Re-activate = RE- See Also:
- Constant Field Values
-
DOCACTION_Reject
public static final String DOCACTION_Reject
Reject = RJ- See Also:
- Constant Field Values
-
DOCACTION_Void
public static final String DOCACTION_Void
Void = VO- See Also:
- Constant Field Values
-
DOCACTION_WaitComplete
public static final String DOCACTION_WaitComplete
Wait Complete = WC- See Also:
- Constant Field Values
-
DOCACTION_Unlock
public static final String DOCACTION_Unlock
Unlock = XL- See Also:
- Constant Field Values
-
DOCSTATUS_AD_Reference_ID
public static final int DOCSTATUS_AD_Reference_ID
DocStatus AD_Reference_ID=131- See Also:
- Constant Field Values
-
DOCSTATUS_Unknown
public static final String DOCSTATUS_Unknown
Unknown = ??- See Also:
- Constant Field Values
-
DOCSTATUS_Approved
public static final String DOCSTATUS_Approved
Approved = AP- See Also:
- Constant Field Values
-
DOCSTATUS_Closed
public static final String DOCSTATUS_Closed
Closed = CL- See Also:
- Constant Field Values
-
DOCSTATUS_Completed
public static final String DOCSTATUS_Completed
Completed = CO- See Also:
- Constant Field Values
-
DOCSTATUS_Drafted
public static final String DOCSTATUS_Drafted
Drafted = DR- See Also:
- Constant Field Values
-
DOCSTATUS_Invalid
public static final String DOCSTATUS_Invalid
Invalid = IN- See Also:
- Constant Field Values
-
DOCSTATUS_InProgress
public static final String DOCSTATUS_InProgress
In Progress = IP- See Also:
- Constant Field Values
-
DOCSTATUS_NotApproved
public static final String DOCSTATUS_NotApproved
Not Approved = NA- See Also:
- Constant Field Values
-
DOCSTATUS_Reversed
public static final String DOCSTATUS_Reversed
Reversed = RE- See Also:
- Constant Field Values
-
DOCSTATUS_Voided
public static final String DOCSTATUS_Voided
Voided = VO- See Also:
- Constant Field Values
-
DOCSTATUS_WaitingConfirmation
public static final String DOCSTATUS_WaitingConfirmation
Waiting Confirmation = WC- See Also:
- Constant Field Values
-
DOCSTATUS_WaitingPayment
public static final String DOCSTATUS_WaitingPayment
Waiting Payment = WP- See Also:
- Constant Field Values
-
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_Reservation
public static final String POSTINGTYPE_Reservation
Reservation = R- See Also:
- Constant Field Values
-
POSTINGTYPE_Statistical
public static final String POSTINGTYPE_Statistical
Statistical = S- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X_A_Asset_Reval
public X_A_Asset_Reval(Properties ctx, int A_Asset_Reval_ID, String trxName)
Standard Constructor
-
X_A_Asset_Reval
public X_A_Asset_Reval(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
-
setA_Accumulated_Depr
public void setA_Accumulated_Depr(BigDecimal A_Accumulated_Depr)
Set Accumulated Depreciation.- Specified by:
setA_Accumulated_Depr
in interfaceI_A_Asset_Reval
- Parameters:
A_Accumulated_Depr
- Accumulated Depreciation
-
getA_Accumulated_Depr
public BigDecimal getA_Accumulated_Depr()
Get Accumulated Depreciation.- Specified by:
getA_Accumulated_Depr
in interfaceI_A_Asset_Reval
- Returns:
- Accumulated Depreciation
-
setA_Asset_Cost
public void setA_Asset_Cost(BigDecimal A_Asset_Cost)
Set Asset Cost.- Specified by:
setA_Asset_Cost
in interfaceI_A_Asset_Reval
- Parameters:
A_Asset_Cost
- Asset Cost
-
getA_Asset_Cost
public BigDecimal getA_Asset_Cost()
Get Asset Cost.- Specified by:
getA_Asset_Cost
in interfaceI_A_Asset_Reval
- Returns:
- Asset Cost
-
setA_Asset_Cost_Change
public void setA_Asset_Cost_Change(BigDecimal A_Asset_Cost_Change)
Set Asset Cost Change.- Specified by:
setA_Asset_Cost_Change
in interfaceI_A_Asset_Reval
- Parameters:
A_Asset_Cost_Change
- Asset Cost Change
-
getA_Asset_Cost_Change
public BigDecimal getA_Asset_Cost_Change()
Get Asset Cost Change.- Specified by:
getA_Asset_Cost_Change
in interfaceI_A_Asset_Reval
- Returns:
- Asset Cost Change
-
getA_Asset
public I_A_Asset getA_Asset() throws RuntimeException
- Specified by:
getA_Asset
in interfaceI_A_Asset_Reval
- Throws:
RuntimeException
-
setA_Asset_ID
public void setA_Asset_ID(int A_Asset_ID)
Set Asset.- Specified by:
setA_Asset_ID
in interfaceI_A_Asset_Reval
- 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 interfaceI_A_Asset_Reval
- Returns:
- Asset used internally or by customers
-
setA_Asset_Reval_ID
public void setA_Asset_Reval_ID(int A_Asset_Reval_ID)
Set Asset Revaluation.- Specified by:
setA_Asset_Reval_ID
in interfaceI_A_Asset_Reval
- Parameters:
A_Asset_Reval_ID
- Asset Revaluation
-
getA_Asset_Reval_ID
public int getA_Asset_Reval_ID()
Get Asset Revaluation.- Specified by:
getA_Asset_Reval_ID
in interfaceI_A_Asset_Reval
- Returns:
- Asset Revaluation
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setA_Asset_Reval_UU
public void setA_Asset_Reval_UU(String A_Asset_Reval_UU)
Set A_Asset_Reval_UU.- Specified by:
setA_Asset_Reval_UU
in interfaceI_A_Asset_Reval
- Parameters:
A_Asset_Reval_UU
- A_Asset_Reval_UU
-
getA_Asset_Reval_UU
public String getA_Asset_Reval_UU()
Get A_Asset_Reval_UU.- Specified by:
getA_Asset_Reval_UU
in interfaceI_A_Asset_Reval
- Returns:
- A_Asset_Reval_UU
-
setA_Change_Acumulated_Depr
public void setA_Change_Acumulated_Depr(BigDecimal A_Change_Acumulated_Depr)
Set Change Acumulated Depreciation.- Specified by:
setA_Change_Acumulated_Depr
in interfaceI_A_Asset_Reval
- Parameters:
A_Change_Acumulated_Depr
- Change Acumulated Depreciation
-
getA_Change_Acumulated_Depr
public BigDecimal getA_Change_Acumulated_Depr()
Get Change Acumulated Depreciation.- Specified by:
getA_Change_Acumulated_Depr
in interfaceI_A_Asset_Reval
- Returns:
- Change Acumulated Depreciation
-
setDateAcct
public void setDateAcct(Timestamp DateAcct)
Set Account Date.- Specified by:
setDateAcct
in interfaceI_A_Asset_Reval
- Parameters:
DateAcct
- Accounting Date
-
getDateAcct
public Timestamp getDateAcct()
Get Account Date.- Specified by:
getDateAcct
in interfaceI_A_Asset_Reval
- Returns:
- Accounting Date
-
setDateDoc
public void setDateDoc(Timestamp DateDoc)
Set Document Date.- Specified by:
setDateDoc
in interfaceI_A_Asset_Reval
- Parameters:
DateDoc
- Date of the Document
-
getDateDoc
public Timestamp getDateDoc()
Get Document Date.- Specified by:
getDateDoc
in interfaceI_A_Asset_Reval
- Returns:
- Date of the Document
-
setDocAction
public void setDocAction(String DocAction)
Set Document Action.- Specified by:
setDocAction
in interfaceI_A_Asset_Reval
- Parameters:
DocAction
- The targeted status of the document
-
getDocAction
public String getDocAction()
Get Document Action.- Specified by:
getDocAction
in interfaceI_A_Asset_Reval
- Returns:
- The targeted status of the document
-
setDocStatus
public void setDocStatus(String DocStatus)
Set Document Status.- Specified by:
setDocStatus
in interfaceI_A_Asset_Reval
- Parameters:
DocStatus
- The current status of the document
-
getDocStatus
public String getDocStatus()
Get Document Status.- Specified by:
getDocStatus
in interfaceI_A_Asset_Reval
- Returns:
- The current status of the document
-
setDocumentNo
public void setDocumentNo(String DocumentNo)
Set Document No.- Specified by:
setDocumentNo
in interfaceI_A_Asset_Reval
- Parameters:
DocumentNo
- Document sequence number of the document
-
getDocumentNo
public String getDocumentNo()
Get Document No.- Specified by:
getDocumentNo
in interfaceI_A_Asset_Reval
- Returns:
- Document sequence number of the document
-
setPosted
public void setPosted(boolean Posted)
Set Posted.- Specified by:
setPosted
in interfaceI_A_Asset_Reval
- Parameters:
Posted
- Posting status
-
isPosted
public boolean isPosted()
Get Posted.- Specified by:
isPosted
in interfaceI_A_Asset_Reval
- Returns:
- Posting status
-
setPostingType
public void setPostingType(String PostingType)
Set PostingType.- Specified by:
setPostingType
in interfaceI_A_Asset_Reval
- Parameters:
PostingType
- The type of posted amount for the transaction
-
getPostingType
public String getPostingType()
Get PostingType.- Specified by:
getPostingType
in interfaceI_A_Asset_Reval
- Returns:
- The type of posted amount for the transaction
-
setProcessed
public void setProcessed(boolean Processed)
Set Processed.- Specified by:
setProcessed
in interfaceI_A_Asset_Reval
- Parameters:
Processed
- The document has been processed
-
isProcessed
public boolean isProcessed()
Get Processed.- Specified by:
isProcessed
in interfaceI_A_Asset_Reval
- Returns:
- The document has been processed
-
setProcessedOn
public void setProcessedOn(BigDecimal ProcessedOn)
Set Processed On.- Specified by:
setProcessedOn
in interfaceI_A_Asset_Reval
- Parameters:
ProcessedOn
- The date+time (expressed in decimal format) when the document has been processed
-
getProcessedOn
public BigDecimal getProcessedOn()
Get Processed On.- Specified by:
getProcessedOn
in interfaceI_A_Asset_Reval
- Returns:
- The date+time (expressed in decimal format) when the document has been processed
-
setProcessing
public void setProcessing(boolean Processing)
Set Process Now.- Specified by:
setProcessing
in interfaceI_A_Asset_Reval
- Parameters:
Processing
- Process Now
-
isProcessing
public boolean isProcessing()
Get Process Now.- Specified by:
isProcessing
in interfaceI_A_Asset_Reval
- Returns:
- Process Now
-
-