Class 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 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 - index
        to - index
        Throws:
        IllegalArgumentException - if row index is invalid