public abstract class JRAbstractBeanDataSource extends Object implements JRRewindableDataSource
Modifier and Type | Class and Description |
---|---|
protected static class |
JRAbstractBeanDataSource.DefaultPropertyNameProvider |
Modifier and Type | Field and Description |
---|---|
static String |
CURRENT_BEAN_MAPPING
Field mapping that produces the current bean.
|
static String |
EXCEPTION_MESSAGE_KEY_BEAN_FIELD_VALUE_NOT_RETRIEVED |
protected static net.sf.jasperreports.engine.data.JRAbstractBeanDataSource.PropertyNameProvider |
FIELD_DESCRIPTION_PROPERTY_NAME_PROVIDER
Deprecated.
To be removed.
|
protected static net.sf.jasperreports.engine.data.JRAbstractBeanDataSource.PropertyNameProvider |
FIELD_NAME_PROPERTY_NAME_PROVIDER
Deprecated.
To be removed.
|
static String |
PROPERTY_JAVABEAN_FIELD_PROPERTY
Property specifying the JavaBean property name for the dataset field.
|
protected net.sf.jasperreports.engine.data.JRAbstractBeanDataSource.PropertyNameProvider |
propertyNameProvider |
Constructor and Description |
---|
JRAbstractBeanDataSource(boolean isUseFieldDescription) |
Modifier and Type | Method and Description |
---|---|
protected static Object |
getBeanProperty(Object bean,
String propertyName) |
protected Object |
getFieldValue(Object bean,
JRField field) |
protected String |
getPropertyName(JRField field) |
protected static boolean |
isCurrentBeanMapping(String propertyName) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
moveFirst
getFieldValue, next
public static final String EXCEPTION_MESSAGE_KEY_BEAN_FIELD_VALUE_NOT_RETRIEVED
public static final String PROPERTY_JAVABEAN_FIELD_PROPERTY
public static final String CURRENT_BEAN_MAPPING
protected net.sf.jasperreports.engine.data.JRAbstractBeanDataSource.PropertyNameProvider propertyNameProvider
protected static final net.sf.jasperreports.engine.data.JRAbstractBeanDataSource.PropertyNameProvider FIELD_NAME_PROPERTY_NAME_PROVIDER
protected static final net.sf.jasperreports.engine.data.JRAbstractBeanDataSource.PropertyNameProvider FIELD_DESCRIPTION_PROPERTY_NAME_PROVIDER
public JRAbstractBeanDataSource(boolean isUseFieldDescription)
protected Object getFieldValue(Object bean, JRField field) throws JRException
JRException
protected static Object getBeanProperty(Object bean, String propertyName) throws JRException
JRException
protected static boolean isCurrentBeanMapping(String propertyName)
Copyright © 2019 TIBCO Software Inc.. All rights reserved.