Adempiere 3.5.2a

org.compiere.model
Class X_GL_JournalLine

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_GL_JournalLine
All Implemented Interfaces:
Serializable, Comparator, I_GL_JournalLine, I_Persistent, Evaluatee
Direct Known Subclasses:
MJournalLine

public class X_GL_JournalLine
extends PO
implements I_GL_JournalLine, I_Persistent

Generated Model for GL_JournalLine

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

Field Summary
static int A_ASSET_ID_AD_Reference_ID
          A_Asset_ID AD_Reference_ID=53258
 
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_GL_JournalLine
accessLevel, COLUMNNAME_A_Asset_Group_ID, COLUMNNAME_A_Asset_ID, COLUMNNAME_A_CreateAsset, COLUMNNAME_A_Processed, COLUMNNAME_AmtAcctCr, COLUMNNAME_AmtAcctDr, COLUMNNAME_AmtSourceCr, COLUMNNAME_AmtSourceDr, COLUMNNAME_C_ConversionType_ID, COLUMNNAME_C_Currency_ID, COLUMNNAME_C_UOM_ID, COLUMNNAME_C_ValidCombination_ID, COLUMNNAME_CurrencyRate, COLUMNNAME_DateAcct, COLUMNNAME_Description, COLUMNNAME_GL_Journal_ID, COLUMNNAME_GL_JournalLine_ID, COLUMNNAME_IsGenerated, COLUMNNAME_Line, COLUMNNAME_Processed, COLUMNNAME_Qty, Model, Table_ID, Table_Name
 
Constructor Summary
X_GL_JournalLine(Properties ctx, int GL_JournalLine_ID, String trxName)
          Standard Constructor
X_GL_JournalLine(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 int getA_Asset_Group_ID()
          Get Asset Group.
 I_A_Asset_Group getA_Asset_Group()
           
 int getA_Asset_ID()
          Get Asset.
 BigDecimal getAmtAcctCr()
          Get Accounted Credit.
 BigDecimal getAmtAcctDr()
          Get Accounted Debit.
 BigDecimal getAmtSourceCr()
          Get Source Credit.
 BigDecimal getAmtSourceDr()
          Get Source Debit.
 int getC_ConversionType_ID()
          Get Currency Type.
 I_C_ConversionType getC_ConversionType()
           
 int getC_Currency_ID()
          Get Currency.
 I_C_Currency getC_Currency()
           
 int getC_UOM_ID()
          Get UOM.
 I_C_UOM getC_UOM()
           
 int getC_ValidCombination_ID()
          Get Combination.
 BigDecimal getCurrencyRate()
          Get Rate.
 Timestamp getDateAcct()
          Get Account Date.
 String getDescription()
          Get Description.
 int getGL_Journal_ID()
          Get Journal.
 I_GL_Journal getGL_Journal()
           
 int getGL_JournalLine_ID()
          Get Journal Line.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 int getLine()
          Get Line No.
 BigDecimal getQty()
          Get Quantity.
protected  POInfo initPO(Properties ctx)
          Load Meta Data
 boolean isA_CreateAsset()
          Get A_CreateAsset.
 boolean isA_Processed()
          Get A_Processed.
 boolean isGenerated()
          Get Generated.
 boolean isProcessed()
          Get Processed.
 void setA_Asset_Group_ID(int A_Asset_Group_ID)
          Set Asset Group.
 void setA_Asset_ID(int A_Asset_ID)
          Set Asset.
 void setA_CreateAsset(boolean A_CreateAsset)
          Set A_CreateAsset.
 void setA_Processed(boolean A_Processed)
          Set A_Processed.
 void setAmtAcctCr(BigDecimal AmtAcctCr)
          Set Accounted Credit.
 void setAmtAcctDr(BigDecimal AmtAcctDr)
          Set Accounted Debit.
 void setAmtSourceCr(BigDecimal AmtSourceCr)
          Set Source Credit.
 void setAmtSourceDr(BigDecimal AmtSourceDr)
          Set Source Debit.
 void setC_ConversionType_ID(int C_ConversionType_ID)
          Set Currency Type.
 void setC_Currency_ID(int C_Currency_ID)
          Set Currency.
 void setC_UOM_ID(int C_UOM_ID)
          Set UOM.
 void setC_ValidCombination_ID(int C_ValidCombination_ID)
          Set Combination.
 void setCurrencyRate(BigDecimal CurrencyRate)
          Set Rate.
 void setDateAcct(Timestamp DateAcct)
          Set Account Date.
 void setDescription(String Description)
          Set Description.
 void setGL_Journal_ID(int GL_Journal_ID)
          Set Journal.
 void setGL_JournalLine_ID(int GL_JournalLine_ID)
          Set Journal Line.
 void setIsGenerated(boolean IsGenerated)
          Set Generated.
 void setLine(int Line)
          Set Line No.
 void setProcessed(boolean Processed)
          Set Processed.
 void setQty(BigDecimal Qty)
          Set Quantity.
 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_ASSET_ID_AD_Reference_ID

public static final int A_ASSET_ID_AD_Reference_ID
A_Asset_ID AD_Reference_ID=53258

See Also:
Constant Field Values
Constructor Detail

X_GL_JournalLine

public X_GL_JournalLine(Properties ctx,
                        int GL_JournalLine_ID,
                        String trxName)
Standard Constructor


X_GL_JournalLine

public X_GL_JournalLine(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:
1 - 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

getA_Asset_Group

public I_A_Asset_Group getA_Asset_Group()
                                 throws Exception
Specified by:
getA_Asset_Group in interface I_GL_JournalLine
Throws:
Exception

setA_Asset_Group_ID

public void setA_Asset_Group_ID(int A_Asset_Group_ID)
Set Asset Group.

Specified by:
setA_Asset_Group_ID in interface I_GL_JournalLine
Parameters:
A_Asset_Group_ID - Group of Assets

getA_Asset_Group_ID

public int getA_Asset_Group_ID()
Get Asset Group.

Specified by:
getA_Asset_Group_ID in interface I_GL_JournalLine
Returns:
Group of Assets

setA_Asset_ID

public void setA_Asset_ID(int A_Asset_ID)
Set Asset.

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

setA_CreateAsset

public void setA_CreateAsset(boolean A_CreateAsset)
Set A_CreateAsset.

Specified by:
setA_CreateAsset in interface I_GL_JournalLine
Parameters:
A_CreateAsset - A_CreateAsset

isA_CreateAsset

public boolean isA_CreateAsset()
Get A_CreateAsset.

Specified by:
isA_CreateAsset in interface I_GL_JournalLine
Returns:
A_CreateAsset

setAmtAcctCr

public void setAmtAcctCr(BigDecimal AmtAcctCr)
Set Accounted Credit.

Specified by:
setAmtAcctCr in interface I_GL_JournalLine
Parameters:
AmtAcctCr - Accounted Credit Amount

getAmtAcctCr

public BigDecimal getAmtAcctCr()
Get Accounted Credit.

Specified by:
getAmtAcctCr in interface I_GL_JournalLine
Returns:
Accounted Credit Amount

setAmtAcctDr

public void setAmtAcctDr(BigDecimal AmtAcctDr)
Set Accounted Debit.

Specified by:
setAmtAcctDr in interface I_GL_JournalLine
Parameters:
AmtAcctDr - Accounted Debit Amount

getAmtAcctDr

public BigDecimal getAmtAcctDr()
Get Accounted Debit.

Specified by:
getAmtAcctDr in interface I_GL_JournalLine
Returns:
Accounted Debit Amount

setAmtSourceCr

public void setAmtSourceCr(BigDecimal AmtSourceCr)
Set Source Credit.

Specified by:
setAmtSourceCr in interface I_GL_JournalLine
Parameters:
AmtSourceCr - Source Credit Amount

getAmtSourceCr

public BigDecimal getAmtSourceCr()
Get Source Credit.

Specified by:
getAmtSourceCr in interface I_GL_JournalLine
Returns:
Source Credit Amount

setAmtSourceDr

public void setAmtSourceDr(BigDecimal AmtSourceDr)
Set Source Debit.

Specified by:
setAmtSourceDr in interface I_GL_JournalLine
Parameters:
AmtSourceDr - Source Debit Amount

getAmtSourceDr

public BigDecimal getAmtSourceDr()
Get Source Debit.

Specified by:
getAmtSourceDr in interface I_GL_JournalLine
Returns:
Source Debit Amount

setA_Processed

public void setA_Processed(boolean A_Processed)
Set A_Processed.

Specified by:
setA_Processed in interface I_GL_JournalLine
Parameters:
A_Processed - A_Processed

isA_Processed

public boolean isA_Processed()
Get A_Processed.

Specified by:
isA_Processed in interface I_GL_JournalLine
Returns:
A_Processed

getC_ConversionType

public I_C_ConversionType getC_ConversionType()
                                       throws Exception
Specified by:
getC_ConversionType in interface I_GL_JournalLine
Throws:
Exception

setC_ConversionType_ID

public void setC_ConversionType_ID(int C_ConversionType_ID)
Set Currency Type.

Specified by:
setC_ConversionType_ID in interface I_GL_JournalLine
Parameters:
C_ConversionType_ID - Currency Conversion Rate Type

getC_ConversionType_ID

public int getC_ConversionType_ID()
Get Currency Type.

Specified by:
getC_ConversionType_ID in interface I_GL_JournalLine
Returns:
Currency Conversion Rate Type

getC_Currency

public I_C_Currency getC_Currency()
                           throws Exception
Specified by:
getC_Currency in interface I_GL_JournalLine
Throws:
Exception

setC_Currency_ID

public void setC_Currency_ID(int C_Currency_ID)
Set Currency.

Specified by:
setC_Currency_ID in interface I_GL_JournalLine
Parameters:
C_Currency_ID - The Currency for this record

getC_Currency_ID

public int getC_Currency_ID()
Get Currency.

Specified by:
getC_Currency_ID in interface I_GL_JournalLine
Returns:
The Currency for this record

getC_UOM

public I_C_UOM getC_UOM()
                 throws Exception
Specified by:
getC_UOM in interface I_GL_JournalLine
Throws:
Exception

setC_UOM_ID

public void setC_UOM_ID(int C_UOM_ID)
Set UOM.

Specified by:
setC_UOM_ID in interface I_GL_JournalLine
Parameters:
C_UOM_ID - Unit of Measure

getC_UOM_ID

public int getC_UOM_ID()
Get UOM.

Specified by:
getC_UOM_ID in interface I_GL_JournalLine
Returns:
Unit of Measure

setCurrencyRate

public void setCurrencyRate(BigDecimal CurrencyRate)
Set Rate.

Specified by:
setCurrencyRate in interface I_GL_JournalLine
Parameters:
CurrencyRate - Currency Conversion Rate

getCurrencyRate

public BigDecimal getCurrencyRate()
Get Rate.

Specified by:
getCurrencyRate in interface I_GL_JournalLine
Returns:
Currency Conversion Rate

setC_ValidCombination_ID

public void setC_ValidCombination_ID(int C_ValidCombination_ID)
Set Combination.

Specified by:
setC_ValidCombination_ID in interface I_GL_JournalLine
Parameters:
C_ValidCombination_ID - Valid Account Combination

getC_ValidCombination_ID

public int getC_ValidCombination_ID()
Get Combination.

Specified by:
getC_ValidCombination_ID in interface I_GL_JournalLine
Returns:
Valid Account Combination

setDateAcct

public void setDateAcct(Timestamp DateAcct)
Set Account Date.

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

getDateAcct

public Timestamp getDateAcct()
Get Account Date.

Specified by:
getDateAcct in interface I_GL_JournalLine
Returns:
Accounting Date

setDescription

public void setDescription(String Description)
Set Description.

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

getDescription

public String getDescription()
Get Description.

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

getGL_Journal

public I_GL_Journal getGL_Journal()
                           throws Exception
Specified by:
getGL_Journal in interface I_GL_JournalLine
Throws:
Exception

setGL_Journal_ID

public void setGL_Journal_ID(int GL_Journal_ID)
Set Journal.

Specified by:
setGL_Journal_ID in interface I_GL_JournalLine
Parameters:
GL_Journal_ID - General Ledger Journal

getGL_Journal_ID

public int getGL_Journal_ID()
Get Journal.

Specified by:
getGL_Journal_ID in interface I_GL_JournalLine
Returns:
General Ledger Journal

setGL_JournalLine_ID

public void setGL_JournalLine_ID(int GL_JournalLine_ID)
Set Journal Line.

Specified by:
setGL_JournalLine_ID in interface I_GL_JournalLine
Parameters:
GL_JournalLine_ID - General Ledger Journal Line

getGL_JournalLine_ID

public int getGL_JournalLine_ID()
Get Journal Line.

Specified by:
getGL_JournalLine_ID in interface I_GL_JournalLine
Returns:
General Ledger Journal Line

setIsGenerated

public void setIsGenerated(boolean IsGenerated)
Set Generated.

Specified by:
setIsGenerated in interface I_GL_JournalLine
Parameters:
IsGenerated - This Line is generated

isGenerated

public boolean isGenerated()
Get Generated.

Specified by:
isGenerated in interface I_GL_JournalLine
Returns:
This Line is generated

setLine

public void setLine(int Line)
Set Line No.

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

getLine

public int getLine()
Get Line No.

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

getKeyNamePair

public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName

Returns:
ID/ColumnName pair

setProcessed

public void setProcessed(boolean Processed)
Set Processed.

Specified by:
setProcessed in interface I_GL_JournalLine
Parameters:
Processed - The document has been processed

isProcessed

public boolean isProcessed()
Get Processed.

Specified by:
isProcessed in interface I_GL_JournalLine
Returns:
The document has been processed

setQty

public void setQty(BigDecimal Qty)
Set Quantity.

Specified by:
setQty in interface I_GL_JournalLine
Parameters:
Qty - Quantity

getQty

public BigDecimal getQty()
Get Quantity.

Specified by:
getQty in interface I_GL_JournalLine
Returns:
Quantity

Adempiere 3.5.2a

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