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
- 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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()DisposebooleanisGroupRow(int row) Is Row a Group RowvoidmoveRow(int from, int to) Move Rowvoidquery(Properties ctx, String whereClause, String orderClause) Execute 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
Execute 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
-