Record Class TableProcessor.Output
java.lang.Object
java.lang.Record
org.mapfish.print.processor.jasper.TableProcessor.Output
- Record Components:
tableDataSource- The table datasource.numberOfTableRows- The number of rows in the table.tableSubReport- The path to the generated subreport. If the dynamic is false, then this will be null.
- Enclosing class:
TableProcessor
public static record TableProcessor.Output(net.sf.jasperreports.engine.data.JRMapCollectionDataSource tableDataSource, int numberOfTableRows, String tableSubReport)
extends Record
The Output of the processor.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of thenumberOfTableRowsrecord component.net.sf.jasperreports.engine.data.JRMapCollectionDataSourceReturns the value of thetableDataSourcerecord component.Returns the value of thetableSubReportrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Output
public Output(net.sf.jasperreports.engine.data.JRMapCollectionDataSource tableDataSource, int numberOfTableRows, String tableSubReport) Creates an instance of aOutputrecord class.- Parameters:
tableDataSource- the value for thetableDataSourcerecord componentnumberOfTableRows- the value for thenumberOfTableRowsrecord componenttableSubReport- the value for thetableSubReportrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
tableDataSource
public net.sf.jasperreports.engine.data.JRMapCollectionDataSource tableDataSource()Returns the value of thetableDataSourcerecord component.- Returns:
- the value of the
tableDataSourcerecord component
-
numberOfTableRows
public int numberOfTableRows()Returns the value of thenumberOfTableRowsrecord component.- Returns:
- the value of the
numberOfTableRowsrecord component
-
tableSubReport
Returns the value of thetableSubReportrecord component.- Returns:
- the value of the
tableSubReportrecord component
-