Class DataAdapterPropertiesMetadataUtil
- java.lang.Object
-
- net.sf.jasperreports.dataadapters.properties.DataAdapterPropertiesMetadataUtil
-
public class DataAdapterPropertiesMetadataUtil extends Object
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DataAdapterPropertiesMetadataUtil(JasperReportsContext context, Locale locale)
-
Method Summary
-
-
-
Constructor Detail
-
DataAdapterPropertiesMetadataUtil
protected DataAdapterPropertiesMetadataUtil(JasperReportsContext context, Locale locale)
-
-
Method Detail
-
getInstance
public static DataAdapterPropertiesMetadataUtil getInstance(JasperReportsContext context)
-
getInstance
public static DataAdapterPropertiesMetadataUtil getInstance(JasperReportsContext context, Locale locale)
-
allProperties
protected Collection<PropertyMetadata> allProperties()
-
getProperties
public List<PropertyMetadata> getProperties()
-
getProperties
public List<PropertyMetadata> getProperties(net.sf.jasperreports.annotations.properties.PropertyScope scope)
-
getQueryExecuterFieldProperties
public List<PropertyMetadata> getQueryExecuterFieldProperties(String queryLanguage) throws JRException
- Throws:
JRException
-
queryExecuterQualification
protected String queryExecuterQualification(String queryLanguage) throws JRException
- Throws:
JRException
-
filterQualifiedProperties
protected List<PropertyMetadata> filterQualifiedProperties(net.sf.jasperreports.annotations.properties.PropertyScope primaryScope, String... qualifications)
-
qualifiedProperties
protected Stream<PropertyMetadata> qualifiedProperties(net.sf.jasperreports.annotations.properties.PropertyScope primaryScope, String... qualifications)
-
primaryScopePredicate
protected Predicate<PropertyMetadata> primaryScopePredicate(net.sf.jasperreports.annotations.properties.PropertyScope scope)
-
scopeQualificationsPredicate
protected Predicate<PropertyMetadata> scopeQualificationsPredicate(net.sf.jasperreports.annotations.properties.PropertyScope scope, String... qualifications)
-
getParameterProperties
public List<PropertyMetadata> getParameterProperties(DataAdapter dataAdapter)
-
dataFileQualification
protected String dataFileQualification(DataAdapter dataAdapter)
-
getElementProperties
public List<PropertyMetadata> getElementProperties(JRElement element)
-
inScope
protected boolean inScope(PropertyMetadata property, JRElement element)
-
getReportProperties
public List<PropertyMetadata> getReportProperties(JRReport report)
-
datasetQueryQualification
protected String datasetQueryQualification(JRDataset dataset) throws JRException
- Throws:
JRException
-
dataAdapterQualification
protected String dataAdapterQualification(JRDataset dataset, DataAdapter dataAdapter)
-
getDatasetProperties
public List<PropertyMetadata> getDatasetProperties(JRDataset dataset, DataAdapter dataAdapter) throws JRException
- Throws:
JRException
-
getFieldProperties
public List<PropertyMetadata> getFieldProperties(JRDataset dataset, DataAdapter dataAdapter) throws JRException
- Throws:
JRException
-
getContainerProperties
public List<PropertyMetadata> getContainerProperties(JRElementGroup container)
-
inScope
protected boolean inScope(PropertyMetadata propertyMetadata, JRElementGroup container)
-
getScriptletProperties
public List<PropertyMetadata> getScriptletProperties(String scriptletClassName) throws JRException
- Throws:
JRException
-
-