Package org.idempiere.ui.zk.report
Record Class ReportFormatRequest
java.lang.Object
java.lang.Record
org.idempiere.ui.zk.report.ReportFormatRequest
- Record Components:
reportEngine- report engine shown in the viewerwindowId- AD_Window_ID the report was started from, 0 if nonecompact- true if the selector is shown in the narrow-screen toolbar popup
public record ReportFormatRequest(ReportEngine reportEngine, int windowId, boolean compact)
extends Record
Context for creating a report viewer format selector.
-
Constructor Summary
ConstructorsConstructorDescriptionReportFormatRequest(ReportEngine reportEngine, int windowId, boolean compact) Creates an instance of aReportFormatRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleancompact()Returns the value of thecompactrecord 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 thereportEnginerecord component.inttableId()final StringtoString()Returns a string representation of this record class.intwindowId()Returns the value of thewindowIdrecord component.
-
Constructor Details
-
ReportFormatRequest
Creates an instance of aReportFormatRequestrecord class.- Parameters:
reportEngine- the value for thereportEnginerecord componentwindowId- the value for thewindowIdrecord componentcompact- the value for thecompactrecord component
-
-
Method Details
-
printFormat
- Returns:
- print format shown in the viewer when the selector is created
-
tableId
public int tableId()- Returns:
- AD_Table_ID of the print format, 0 if there is none
-
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
-
windowId
public int windowId()Returns the value of thewindowIdrecord component.- Returns:
- the value of the
windowIdrecord component
-
compact
public boolean compact()Returns the value of thecompactrecord component.- Returns:
- the value of the
compactrecord component
-