Package org.compiere.report.core
Class RModelData
- java.lang.Object
-
- org.compiere.report.core.RModelData
-
public class RModelData extends Object
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
-
-
Constructor Summary
Constructors Constructor Description RModelData(String TableName)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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
-
-
-
Constructor Detail
-
RModelData
public RModelData(String TableName)
Constructor. Use query method to populate data- Parameters:
TableName
-
-
-
Method Detail
-
dispose
public void dispose()
Dispose
-
query
public void query(Properties ctx, String whereClause, String orderClause)
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
-
-