Class MReportSource

All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, 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:
  • Constructor Details

    • MReportSource

      public MReportSource(Properties ctx, String PA_ReportSource_UU, String trxName)
      UUID based Constructor
      Parameters:
      ctx - Context
      PA_ReportSource_UU - UUID key
      trxName - Transaction
    • 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 Details

    • 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