Class MeasurementDataSource

  • All Implemented Interfaces:
    net.sf.jasperreports.engine.JRDataSource, net.sf.jasperreports.engine.JRRewindableDataSource

    public class MeasurementDataSource
    extends java.lang.Object
    implements net.sf.jasperreports.engine.JRRewindableDataSource
    • Constructor Detail

      • MeasurementDataSource

        public MeasurementDataSource​(java.io.InputStream inputStream)
      • MeasurementDataSource

        public MeasurementDataSource​(QueryResponse queryResponse)
    • Method Detail

      • getFieldValue

        protected java.lang.Object getFieldValue​(java.lang.String name,
                                                 int rowIndex)
      • getRowCount

        protected int getRowCount()
      • getFields

        protected java.util.List<net.sf.jasperreports.engine.JRField> getFields()
        Returns the supported fields.
        Returns:
        The supported fields.
      • createField

        protected static net.sf.jasperreports.engine.JRField createField​(java.lang.String name,
                                                                         java.lang.Class<?> clazz)
      • next

        public boolean next()
        Specified by:
        next in interface net.sf.jasperreports.engine.JRDataSource
      • getFieldValue

        public java.lang.Object getFieldValue​(net.sf.jasperreports.engine.JRField jrField)
        Specified by:
        getFieldValue in interface net.sf.jasperreports.engine.JRDataSource
      • moveFirst

        public void moveFirst()
        Specified by:
        moveFirst in interface net.sf.jasperreports.engine.JRRewindableDataSource
      • getCurrentRow

        protected int getCurrentRow()