Adempiere 3.5.2a

org.compiere.model
Class X_A_Asset_Addition

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_A_Asset_Addition
All Implemented Interfaces:
Serializable, Comparator, I_A_Asset_Addition, I_Persistent, Evaluatee
Direct Known Subclasses:
MAssetAddition

public class X_A_Asset_Addition
extends PO
implements I_A_Asset_Addition, I_Persistent

Generated Model for A_Asset_Addition

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

Field Summary
static int A_CAPVSEXP_AD_Reference_ID
          A_CapvsExp AD_Reference_ID=53277
static String A_CAPVSEXP_Capital
          Capital = Cap
static String A_CAPVSEXP_Expense
          Expense = Exp
static int A_SOURCETYPE_AD_Reference_ID
          A_SourceType AD_Reference_ID=53276
static String A_SOURCETYPE_Imported
          Imported = IMP
static String A_SOURCETYPE_Invoice
          Invoice = INV
static String A_SOURCETYPE_JournalEntry
          Journal Entry = JRN
static String A_SOURCETYPE_Manual
          Manual = MAN
static int C_INVOICE_ID_AD_Reference_ID
          C_Invoice_ID AD_Reference_ID=53275
static int DOCUMENTNO_AD_Reference_ID
          DocumentNo AD_Reference_ID=53274
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_Asset_Addition
accessLevel, COLUMNNAME_A_Asset_Addition_ID, COLUMNNAME_A_Asset_ID, COLUMNNAME_A_CapvsExp, COLUMNNAME_A_QTY_Current, COLUMNNAME_A_SourceType, COLUMNNAME_AssetValueAmt, COLUMNNAME_C_Invoice_ID, COLUMNNAME_Description, COLUMNNAME_DocumentNo, COLUMNNAME_GL_JournalBatch_ID, COLUMNNAME_Line, COLUMNNAME_M_InOutLine_ID, COLUMNNAME_PostingType, Model, Table_ID, Table_Name
 
Constructor Summary
X_A_Asset_Addition(Properties ctx, int A_Asset_Addition_ID, String trxName)
          Standard Constructor
X_A_Asset_Addition(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 int getA_Asset_Addition_ID()
          Get A_Asset_Addition_ID.
 int getA_Asset_ID()
          Get Asset.
 String getA_CapvsExp()
          Get A_CapvsExp.
 BigDecimal getA_QTY_Current()
          Get A_QTY_Current.
 String getA_SourceType()
          Get A_SourceType.
 BigDecimal getAssetValueAmt()
          Get Asset value.
 int getC_Invoice_ID()
          Get Invoice.
 I_C_Invoice getC_Invoice()
           
 String getDescription()
          Get Description.
 String getDocumentNo()
          Get Document No.
 int getGL_JournalBatch_ID()
          Get Journal Batch.
 I_GL_JournalBatch getGL_JournalBatch()
           
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 int getLine()
          Get Line No.
 int getM_InOutLine_ID()
          Get Shipment/Receipt Line.
 String getPostingType()
          Get PostingType.
protected  POInfo initPO(Properties ctx)
          Load Meta Data
 void setA_Asset_Addition_ID(int A_Asset_Addition_ID)
          Set A_Asset_Addition_ID.
 void setA_Asset_ID(int A_Asset_ID)
          Set Asset.
 void setA_CapvsExp(String A_CapvsExp)
          Set A_CapvsExp.
 void setA_QTY_Current(BigDecimal A_QTY_Current)
          Set A_QTY_Current.
 void setA_SourceType(String A_SourceType)
          Set A_SourceType.
 void setAssetValueAmt(BigDecimal AssetValueAmt)
          Set Asset value.
 void setC_Invoice_ID(int C_Invoice_ID)
          Set Invoice.
 void setDescription(String Description)
          Set Description.
 void setDocumentNo(String DocumentNo)
          Set Document No.
 void setGL_JournalBatch_ID(int GL_JournalBatch_ID)
          Set Journal Batch.
 void setLine(int Line)
          Set Line No.
 void setM_InOutLine_ID(int M_InOutLine_ID)
          Set Shipment/Receipt Line.
 void setPostingType(String PostingType)
          Set PostingType.
 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

A_CAPVSEXP_AD_Reference_ID

public static final int A_CAPVSEXP_AD_Reference_ID
A_CapvsExp AD_Reference_ID=53277

See Also:
Constant Field Values

A_CAPVSEXP_Capital

public static final String A_CAPVSEXP_Capital
Capital = Cap

See Also:
Constant Field Values

A_CAPVSEXP_Expense

public static final String A_CAPVSEXP_Expense
Expense = Exp

See Also:
Constant Field Values

A_SOURCETYPE_AD_Reference_ID

public static final int A_SOURCETYPE_AD_Reference_ID
A_SourceType AD_Reference_ID=53276

See Also:
Constant Field Values

A_SOURCETYPE_Imported

public static final String A_SOURCETYPE_Imported
Imported = IMP

See Also:
Constant Field Values

A_SOURCETYPE_Invoice

public static final String A_SOURCETYPE_Invoice
Invoice = INV

See Also:
Constant Field Values

A_SOURCETYPE_JournalEntry

public static final String A_SOURCETYPE_JournalEntry
Journal Entry = JRN

See Also:
Constant Field Values

A_SOURCETYPE_Manual

public static final String A_SOURCETYPE_Manual
Manual = MAN

See Also:
Constant Field Values

C_INVOICE_ID_AD_Reference_ID

public static final int C_INVOICE_ID_AD_Reference_ID
C_Invoice_ID AD_Reference_ID=53275

See Also:
Constant Field Values

DOCUMENTNO_AD_Reference_ID

public static final int DOCUMENTNO_AD_Reference_ID
DocumentNo AD_Reference_ID=53274

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_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_Asset_Addition

public X_A_Asset_Addition(Properties ctx,
                          int A_Asset_Addition_ID,
                          String trxName)
Standard Constructor


X_A_Asset_Addition

public X_A_Asset_Addition(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_Asset_Addition_ID

public void setA_Asset_Addition_ID(int A_Asset_Addition_ID)
Set A_Asset_Addition_ID.

Specified by:
setA_Asset_Addition_ID in interface I_A_Asset_Addition
Parameters:
A_Asset_Addition_ID - A_Asset_Addition_ID

getA_Asset_Addition_ID

public int getA_Asset_Addition_ID()
Get A_Asset_Addition_ID.

Specified by:
getA_Asset_Addition_ID in interface I_A_Asset_Addition
Returns:
A_Asset_Addition_ID

getKeyNamePair

public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName

Returns:
ID/ColumnName pair

setA_Asset_ID

public void setA_Asset_ID(int A_Asset_ID)
Set Asset.

Specified by:
setA_Asset_ID in interface I_A_Asset_Addition
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_Asset_Addition
Returns:
Asset used internally or by customers

setA_CapvsExp

public void setA_CapvsExp(String A_CapvsExp)
Set A_CapvsExp.

Specified by:
setA_CapvsExp in interface I_A_Asset_Addition
Parameters:
A_CapvsExp - A_CapvsExp

getA_CapvsExp

public String getA_CapvsExp()
Get A_CapvsExp.

Specified by:
getA_CapvsExp in interface I_A_Asset_Addition
Returns:
A_CapvsExp

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_Asset_Addition
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_Asset_Addition
Returns:
A_QTY_Current

setA_SourceType

public void setA_SourceType(String A_SourceType)
Set A_SourceType.

Specified by:
setA_SourceType in interface I_A_Asset_Addition
Parameters:
A_SourceType - A_SourceType

getA_SourceType

public String getA_SourceType()
Get A_SourceType.

Specified by:
getA_SourceType in interface I_A_Asset_Addition
Returns:
A_SourceType

setAssetValueAmt

public void setAssetValueAmt(BigDecimal AssetValueAmt)
Set Asset value.

Specified by:
setAssetValueAmt in interface I_A_Asset_Addition
Parameters:
AssetValueAmt - Book Value of the asset

getAssetValueAmt

public BigDecimal getAssetValueAmt()
Get Asset value.

Specified by:
getAssetValueAmt in interface I_A_Asset_Addition
Returns:
Book Value of the asset

getC_Invoice

public I_C_Invoice getC_Invoice()
                         throws Exception
Specified by:
getC_Invoice in interface I_A_Asset_Addition
Throws:
Exception

setC_Invoice_ID

public void setC_Invoice_ID(int C_Invoice_ID)
Set Invoice.

Specified by:
setC_Invoice_ID in interface I_A_Asset_Addition
Parameters:
C_Invoice_ID - Invoice Identifier

getC_Invoice_ID

public int getC_Invoice_ID()
Get Invoice.

Specified by:
getC_Invoice_ID in interface I_A_Asset_Addition
Returns:
Invoice Identifier

setDescription

public void setDescription(String Description)
Set Description.

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

getDescription

public String getDescription()
Get Description.

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

setDocumentNo

public void setDocumentNo(String DocumentNo)
Set Document No.

Specified by:
setDocumentNo in interface I_A_Asset_Addition
Parameters:
DocumentNo - Document sequence number of the document

getDocumentNo

public String getDocumentNo()
Get Document No.

Specified by:
getDocumentNo in interface I_A_Asset_Addition
Returns:
Document sequence number of the document

getGL_JournalBatch

public I_GL_JournalBatch getGL_JournalBatch()
                                     throws Exception
Specified by:
getGL_JournalBatch in interface I_A_Asset_Addition
Throws:
Exception

setGL_JournalBatch_ID

public void setGL_JournalBatch_ID(int GL_JournalBatch_ID)
Set Journal Batch.

Specified by:
setGL_JournalBatch_ID in interface I_A_Asset_Addition
Parameters:
GL_JournalBatch_ID - General Ledger Journal Batch

getGL_JournalBatch_ID

public int getGL_JournalBatch_ID()
Get Journal Batch.

Specified by:
getGL_JournalBatch_ID in interface I_A_Asset_Addition
Returns:
General Ledger Journal Batch

setLine

public void setLine(int Line)
Set Line No.

Specified by:
setLine in interface I_A_Asset_Addition
Parameters:
Line - Unique line for this document

getLine

public int getLine()
Get Line No.

Specified by:
getLine in interface I_A_Asset_Addition
Returns:
Unique line for this document

setM_InOutLine_ID

public void setM_InOutLine_ID(int M_InOutLine_ID)
Set Shipment/Receipt Line.

Specified by:
setM_InOutLine_ID in interface I_A_Asset_Addition
Parameters:
M_InOutLine_ID - Line on Shipment or Receipt document

getM_InOutLine_ID

public int getM_InOutLine_ID()
Get Shipment/Receipt Line.

Specified by:
getM_InOutLine_ID in interface I_A_Asset_Addition
Returns:
Line on Shipment or Receipt document

setPostingType

public void setPostingType(String PostingType)
Set PostingType.

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

getPostingType

public String getPostingType()
Get PostingType.

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

Adempiere 3.5.2a

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