Class JasperReportingEntityDataSource
java.lang.Object
net.sf.jasperreports.engine.data.JRAbstractBeanDataSource
net.sf.jasperreports.engine.data.JRBeanCollectionDataSource
org.iplass.mtp.web.template.report.JasperReportingEntityDataSource
- All Implemented Interfaces:
net.sf.jasperreports.engine.JRDataSource
,net.sf.jasperreports.engine.JRRewindableDataSource
public class JasperReportingEntityDataSource
extends net.sf.jasperreports.engine.data.JRBeanCollectionDataSource
-
Nested Class Summary
Nested classes/interfaces inherited from class net.sf.jasperreports.engine.data.JRAbstractBeanDataSource
net.sf.jasperreports.engine.data.JRAbstractBeanDataSource.DefaultPropertyNameProvider
-
Field Summary
Fields inherited from class net.sf.jasperreports.engine.data.JRAbstractBeanDataSource
CURRENT_BEAN_MAPPING, EXCEPTION_MESSAGE_KEY_BEAN_FIELD_VALUE_NOT_RETRIEVED, PROPERTY_JAVABEAN_FIELD_PROPERTY, propertyNameProvider
-
Constructor Summary
ConstructorDescriptionJasperReportingEntityDataSource
(Collection<?> beanCollection) JasperReportingEntityDataSource
(Collection<?> beanCollection, boolean isUseFieldDescription) -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
getEntityFieldValue
(Entity entity, String propertyName) protected Object
getFieldValue
(Object bean, net.sf.jasperreports.engine.JRField field) Methods inherited from class net.sf.jasperreports.engine.data.JRBeanCollectionDataSource
cloneDataSource, getData, getFieldValue, getRecordCount, moveFirst, next
Methods inherited from class net.sf.jasperreports.engine.data.JRAbstractBeanDataSource
getBeanProperty, getPropertyName, isCurrentBeanMapping
-
Constructor Details
-
JasperReportingEntityDataSource
-
JasperReportingEntityDataSource
-
-
Method Details
-
getFieldValue
protected Object getFieldValue(Object bean, net.sf.jasperreports.engine.JRField field) throws net.sf.jasperreports.engine.JRException - Overrides:
getFieldValue
in classnet.sf.jasperreports.engine.data.JRAbstractBeanDataSource
- Throws:
net.sf.jasperreports.engine.JRException
-
getEntityFieldValue
protected Object getEntityFieldValue(Entity entity, String propertyName) throws net.sf.jasperreports.engine.JRException - Throws:
net.sf.jasperreports.engine.JRException
-