Record Class StreamingXlsxFormatter.RowEndpoint
java.lang.Object
java.lang.Record
io.jmix.reports.yarg.formatters.impl.StreamingXlsxFormatter.RowEndpoint
- Enclosing class:
StreamingXlsxFormatter
protected static record StreamingXlsxFormatter.RowEndpoint(int ptgIdx, StreamingXlsxFormatter.RowEndpointKind kind, int templateRow, boolean instanceShift)
extends Record
One re-targetable row of a reference token in a parsed formula: the token index, which row it
addresses, its template row, and whether it tracks the band instance (relative + inside the band)
or is re-based against
StreamingXlsxFormatter.staticRowOutputs.-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRowEndpoint(int ptgIdx, StreamingXlsxFormatter.RowEndpointKind kind, int templateRow, boolean instanceShift) Creates an instance of aRowEndpointrecord class. -
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.booleanReturns the value of theinstanceShiftrecord component.kind()Returns the value of thekindrecord component.intptgIdx()Returns the value of theptgIdxrecord component.intReturns the value of thetemplateRowrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RowEndpoint
protected RowEndpoint(int ptgIdx, StreamingXlsxFormatter.RowEndpointKind kind, int templateRow, boolean instanceShift) Creates an instance of aRowEndpointrecord class.- Parameters:
ptgIdx- the value for theptgIdxrecord componentkind- the value for thekindrecord componenttemplateRow- the value for thetemplateRowrecord componentinstanceShift- the value for theinstanceShiftrecord 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 '=='. -
ptgIdx
public int ptgIdx()Returns the value of theptgIdxrecord component.- Returns:
- the value of the
ptgIdxrecord component
-
kind
Returns the value of thekindrecord component.- Returns:
- the value of the
kindrecord component
-
templateRow
public int templateRow()Returns the value of thetemplateRowrecord component.- Returns:
- the value of the
templateRowrecord component
-
instanceShift
public boolean instanceShift()Returns the value of theinstanceShiftrecord component.- Returns:
- the value of the
instanceShiftrecord component
-