Package org.compiere.report.core
Class RModelData
java.lang.Object
org.compiere.report.core.RModelData
Report Model Data - ValueObject.
- Build SQL from RColumn info and Retrieve Data
- owned by RModel
- Version:
- $Id: RModelData.java,v 1.2 2006/07/30 00:51:06 jjanke Exp $
- Author:
- Jorg Janke
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Disposeboolean
isGroupRow
(int row) Is Row a Group Rowvoid
moveRow
(int from, int to) Move Rowvoid
query
(Properties ctx, String whereClause, String orderClause) Query
-
Field Details
-
rows
The Rows -
rowsMeta
The Row MetaData -
cols
The Column Definitions -
functions
Functions (Integer - String) -
groups
Groups (Integer)
-
-
Constructor Details
-
RModelData
Constructor. Use query method to populate data- Parameters:
TableName
-
-
-
Method Details
-
dispose
public void dispose()Dispose -
query
Query- Parameters:
ctx
-whereClause
- the SQL where clause (w/o the WHERE)orderClause
-
-
isGroupRow
public boolean isGroupRow(int row) Is Row a Group Row- Parameters:
row
- row index- Returns:
- true, if group row
-
moveRow
public void moveRow(int from, int to) Move Row- Parameters:
from
- indexto
- index- Throws:
IllegalArgumentException
- if row index is invalid
-