Adempiere 3.5.2a

org.compiere.report
Class MReportSource

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_PA_ReportSource
          extended by org.compiere.report.MReportSource
All Implemented Interfaces:
Serializable, Comparator, I_PA_ReportSource, I_Persistent, Evaluatee

public class MReportSource
extends X_PA_ReportSource

Report Line Source Model

Version:
$Id: MReportSource.java,v 1.3 2006/08/03 22:16:52 jjanke Exp $
Author:
Jorg Janke
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.compiere.model.X_PA_ReportSource
C_ELEMENTVALUE_ID_AD_Reference_ID, ELEMENTTYPE_Account, ELEMENTTYPE_Activity, ELEMENTTYPE_AD_Reference_ID, ELEMENTTYPE_BPartner, ELEMENTTYPE_Campaign, ELEMENTTYPE_Combination, ELEMENTTYPE_LocationFrom, ELEMENTTYPE_LocationTo, ELEMENTTYPE_Organization, ELEMENTTYPE_OrgTrx, ELEMENTTYPE_Product, ELEMENTTYPE_Project, ELEMENTTYPE_SalesRegion, ELEMENTTYPE_SubAccount, ELEMENTTYPE_UserElement1, ELEMENTTYPE_UserElement2, ELEMENTTYPE_UserList1, ELEMENTTYPE_UserList2, ORG_ID_AD_Reference_ID
 
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_PA_ReportSource
accessLevel, COLUMNNAME_C_Activity_ID, COLUMNNAME_C_BPartner_ID, COLUMNNAME_C_Campaign_ID, COLUMNNAME_C_ElementValue_ID, COLUMNNAME_C_Location_ID, COLUMNNAME_C_Project_ID, COLUMNNAME_C_SalesRegion_ID, COLUMNNAME_Description, COLUMNNAME_ElementType, COLUMNNAME_IsIncludeNullsActivity, COLUMNNAME_IsIncludeNullsBPartner, COLUMNNAME_IsIncludeNullsCampaign, COLUMNNAME_IsIncludeNullsElementValue, COLUMNNAME_IsIncludeNullsLocation, COLUMNNAME_IsIncludeNullsOrg, COLUMNNAME_IsIncludeNullsProduct, COLUMNNAME_IsIncludeNullsProject, COLUMNNAME_IsIncludeNullsSalesRegion, COLUMNNAME_IsIncludeNullsUserElement1, COLUMNNAME_IsIncludeNullsUserElement2, COLUMNNAME_M_Product_ID, COLUMNNAME_Org_ID, COLUMNNAME_PA_ReportLine_ID, COLUMNNAME_PA_ReportSource_ID, COLUMNNAME_UserElement1_ID, COLUMNNAME_UserElement2_ID, Model, Table_ID, Table_Name
 
Constructor Summary
MReportSource(Properties ctx, int PA_ReportSource_ID, String trxName)
          Constructor
MReportSource(Properties ctx, ResultSet rs, String trxName)
          Constructor
 
Method Summary
static MReportSource copy(Properties ctx, int AD_Client_ID, int AD_Org_ID, int PA_ReportLine_ID, MReportSource source, String trxName)
          Copy Constructor
 String getWhereClause(int PA_Hierarchy_ID)
          Get SQL where clause
 String toString()
          String Representation
 
Methods inherited from class org.compiere.model.X_PA_ReportSource
get_AccessLevel, getC_Activity_ID, getC_Activity, getC_BPartner_ID, getC_BPartner, getC_Campaign_ID, getC_Campaign, getC_ElementValue_ID, getC_Location_ID, getC_Project_ID, getC_Project, getC_SalesRegion_ID, getC_SalesRegion, getDescription, getElementType, getKeyNamePair, getM_Product_ID, getM_Product, getOrg_ID, getPA_ReportLine_ID, getPA_ReportLine, getPA_ReportSource_ID, getUserElement1_ID, getUserElement2_ID, initPO, isIncludeNullsActivity, isIncludeNullsBPartner, isIncludeNullsCampaign, isIncludeNullsElementValue, isIncludeNullsLocation, isIncludeNullsOrg, isIncludeNullsProduct, isIncludeNullsProject, isIncludeNullsSalesRegion, isIncludeNullsUserElement1, isIncludeNullsUserElement2, setC_Activity_ID, setC_BPartner_ID, setC_Campaign_ID, setC_ElementValue_ID, setC_Location_ID, setC_Project_ID, setC_SalesRegion_ID, setDescription, setElementType, setIsIncludeNullsActivity, setIsIncludeNullsBPartner, setIsIncludeNullsCampaign, setIsIncludeNullsElementValue, setIsIncludeNullsLocation, setIsIncludeNullsOrg, setIsIncludeNullsProduct, setIsIncludeNullsProject, setIsIncludeNullsSalesRegion, setIsIncludeNullsUserElement1, setIsIncludeNullsUserElement2, setM_Product_ID, setOrg_ID, setPA_ReportLine_ID, setPA_ReportSource_ID, setUserElement1_ID, setUserElement2_ID
 
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
 

Constructor Detail

MReportSource

public MReportSource(Properties ctx,
                     int PA_ReportSource_ID,
                     String trxName)
Constructor

Parameters:
ctx - context
PA_ReportSource_ID - id
trxName - transaction

MReportSource

public MReportSource(Properties ctx,
                     ResultSet rs,
                     String trxName)
Constructor

Parameters:
ctx - context
rs - ResultSet to load from
trxName - transaction
Method Detail

getWhereClause

public String getWhereClause(int PA_Hierarchy_ID)
Get SQL where clause

Parameters:
PA_Hierarchy_ID - hierarchy
Returns:
where clause

toString

public String toString()
String Representation

Overrides:
toString in class X_PA_ReportSource
Returns:
info

copy

public static MReportSource copy(Properties ctx,
                                 int AD_Client_ID,
                                 int AD_Org_ID,
                                 int PA_ReportLine_ID,
                                 MReportSource source,
                                 String trxName)
Copy Constructor

Parameters:
ctx - context
AD_Client_ID - parent
AD_Org_ID - parent
PA_ReportLine_ID - parent
source - copy source
trxName - transaction
Returns:
Report Source

Adempiere 3.5.2a

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