com.reportmill.datasource
Class RMJDBCDataSet
java.lang.Object
com.reportmill.datasource.RMDatum
com.reportmill.datasource.RMDataSet
com.reportmill.datasource.RMJDBCDataSet
public class RMJDBCDataSet
- extends RMDataSet
A dataset subclass for JDBC.
Method Summary |
void |
addDatum(RMDatum aDatum,
int anIndex)
The superclass version of this routine makes the list hold on to
the actual data objects, with getDatum() above creating a new
RMDatum every time it's accessed. |
RMDatum |
getDatum(int anIndex)
Overridden to return an instance of RMJDBCDatum. |
Methods inherited from class com.reportmill.datasource.RMDatum |
getDataSet, getDataSource, getDatum, getEntity, getKey, getObject, getParent, getProperty, getPropertyType, getValue, setValue, valueForKey |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RMJDBCDataSet
public RMJDBCDataSet(java.util.List aList,
RMDataSource aDataSource,
RMEntity anEntity,
RMDatum aParent,
java.lang.String aKey)
- Creates a new RMJDBCDataSet.
getDatum
public RMDatum getDatum(int anIndex)
- Overridden to return an instance of RMJDBCDatum.
- Overrides:
getDatum
in class RMDataSet
addDatum
public void addDatum(RMDatum aDatum,
int anIndex)
- The superclass version of this routine makes the list hold on to
the actual data objects, with getDatum() above creating a new
RMDatum every time it's accessed.
This messes with our uniquing, so we make the list hold the RMDatums.
- Overrides:
addDatum
in class RMDataSet