Package org.idempiere.print
Record Class ReportContentRequest
java.lang.Object
java.lang.Record
org.idempiere.print.ReportContentRequest
public record ReportContentRequest(ReportEngine reportEngine, ProcessInfo processInfo, String title, boolean applyPostProcessing)
extends Record
Immutable input for report content rendering and post-processing.
-
Constructor Summary
ConstructorsConstructorDescriptionReportContentRequest(ReportEngine reportEngine, ProcessInfo processInfo, String title) ReportContentRequest(ReportEngine reportEngine, ProcessInfo processInfo, String title, boolean applyPostProcessing) Creates an instance of aReportContentRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theapplyPostProcessingrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theprocessInforecord component.Returns the value of thereportEnginerecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ReportContentRequest
-
ReportContentRequest
public ReportContentRequest(ReportEngine reportEngine, ProcessInfo processInfo, String title, boolean applyPostProcessing) Creates an instance of aReportContentRequestrecord class.- Parameters:
reportEngine- the value for thereportEnginerecord componentprocessInfo- the value for theprocessInforecord componenttitle- the value for thetitlerecord componentapplyPostProcessing- the value for theapplyPostProcessingrecord component
-
-
Method Details
-
printFormat
-
printInfo
-
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 '=='. -
reportEngine
Returns the value of thereportEnginerecord component.- Returns:
- the value of the
reportEnginerecord component
-
processInfo
Returns the value of theprocessInforecord component.- Returns:
- the value of the
processInforecord component
-
title
Returns the value of thetitlerecord component.- Returns:
- the value of the
titlerecord component
-
applyPostProcessing
public boolean applyPostProcessing()Returns the value of theapplyPostProcessingrecord component.- Returns:
- the value of the
applyPostProcessingrecord component
-