org.kuali.student.common.ui.server.screenreport.jasper
Class KSCollectionDataSource

java.lang.Object
  extended by net.sf.jasperreports.engine.data.JRAbstractBeanDataSource
      extended by org.kuali.student.common.ui.server.screenreport.jasper.KSCollectionDataSource
All Implemented Interfaces:
net.sf.jasperreports.engine.JRDataSource, net.sf.jasperreports.engine.JRRewindableDataSource

Deprecated.

@Deprecated
public class KSCollectionDataSource
extends net.sf.jasperreports.engine.data.JRAbstractBeanDataSource

This class overwrites the common JRBeanCollectionDataSource in order to return a JRDataSource to be used on the subreport when the field is called "subset".

Author:
Kuali Rice Team (kuali-rice@googlegroups.com)

Field Summary
 
Fields inherited from class net.sf.jasperreports.engine.data.JRAbstractBeanDataSource
CURRENT_BEAN_MAPPING, FIELD_DESCRIPTION_PROPERTY_NAME_PROVIDER, FIELD_NAME_PROPERTY_NAME_PROVIDER, propertyNameProvider
 
Constructor Summary
KSCollectionDataSource(Collection<ExportElement> elements, ExportElement parent)
          Deprecated.  
 
Method Summary
 net.sf.jasperreports.engine.data.JRBeanCollectionDataSource cloneDataSource()
          Deprecated. Clones this data source by creating a new instance that reuses the same underlying bean collection.
 Collection getData()
          Deprecated. Returns the underlying bean collection used by this data source.
protected  Object getFieldValue(ExportElement bean, net.sf.jasperreports.engine.JRField field)
          Deprecated.  
 Object getFieldValue(net.sf.jasperreports.engine.JRField field)
          Deprecated.  
 int getRecordCount()
          Deprecated. Returns the total number of records/beans that this data source contains.
 void moveFirst()
          Deprecated.  
 boolean next()
          Deprecated.  
 
Methods inherited from class net.sf.jasperreports.engine.data.JRAbstractBeanDataSource
getBeanProperty, getFieldValue, getPropertyName, isCurrentBeanMapping
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KSCollectionDataSource

public KSCollectionDataSource(Collection<ExportElement> elements,
                              ExportElement parent)
Deprecated. 
Method Detail

next

public boolean next()
Deprecated. 

getFieldValue

public Object getFieldValue(net.sf.jasperreports.engine.JRField field)
                     throws net.sf.jasperreports.engine.JRException
Deprecated. 
Throws:
net.sf.jasperreports.engine.JRException

getFieldValue

protected Object getFieldValue(ExportElement bean,
                               net.sf.jasperreports.engine.JRField field)
                        throws net.sf.jasperreports.engine.JRException
Deprecated. 
Throws:
net.sf.jasperreports.engine.JRException

moveFirst

public void moveFirst()
Deprecated. 

getData

public Collection getData()
Deprecated. 
Returns the underlying bean collection used by this data source.

Returns:
the underlying bean collection

getRecordCount

public int getRecordCount()
Deprecated. 
Returns the total number of records/beans that this data source contains.

Returns:
the total number of records of this data source

cloneDataSource

public net.sf.jasperreports.engine.data.JRBeanCollectionDataSource cloneDataSource()
Deprecated. 
Clones this data source by creating a new instance that reuses the same underlying bean collection.

Returns:
a clone of this data source


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.