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 boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.int
Returns the value of thenumberOfTableRows
record component.net.sf.jasperreports.engine.data.JRMapCollectionDataSource
Returns the value of thetableDataSource
record component.Returns the value of thetableSubReport
record component.final String
toString()
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 aOutput
record class.- Parameters:
tableDataSource
- the value for thetableDataSource
record componentnumberOfTableRows
- the value for thenumberOfTableRows
record componenttableSubReport
- the value for thetableSubReport
record 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 thetableDataSource
record component.- Returns:
- the value of the
tableDataSource
record component
-
numberOfTableRows
public int numberOfTableRows()Returns the value of thenumberOfTableRows
record component.- Returns:
- the value of the
numberOfTableRows
record component
-
tableSubReport
Returns the value of thetableSubReport
record component.- Returns:
- the value of the
tableSubReport
record component
-