Class ReportStateKey
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.states.ReportStateKey
-
public class ReportStateKey extends Object
The process-state key is a unique functional identifier of report-states. However, it does not get updated with changes to the report-state, so it always represents the process-state at the beginning of the report-state processing. This key can be used to see whether there was some progress and to uniquely identify report-states, but for everything else, this class is not suitable.- Author:
- Thomas Morgner
-
-
Constructor Summary
Constructors Constructor Description ReportStateKey()
ReportStateKey(ReportStateKey parent, int cursor, int stateCode, int groupLevel, int subreport, int sequenceCounter, boolean restoreState, boolean inlineSubReportState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
getCursor()
int
getGroupLevel()
ReportStateKey
getParent()
int
getSequenceCounter()
This is just a debugging help to identify repeated runs of the same report sequence.int
getStateCode()
int
getSubreport()
int
hashCode()
boolean
isInlineSubReportState()
String
toString()
-
-
-
Constructor Detail
-
ReportStateKey
public ReportStateKey()
-
ReportStateKey
public ReportStateKey(ReportStateKey parent, int cursor, int stateCode, int groupLevel, int subreport, int sequenceCounter, boolean restoreState, boolean inlineSubReportState)
-
-
Method Detail
-
getSequenceCounter
public int getSequenceCounter()
This is just a debugging help to identify repeated runs of the same report sequence. It is not used to compare equality of these keys.- Returns:
-
getParent
public ReportStateKey getParent()
-
getCursor
public int getCursor()
-
getStateCode
public int getStateCode()
-
getGroupLevel
public int getGroupLevel()
-
getSubreport
public int getSubreport()
-
isInlineSubReportState
public boolean isInlineSubReportState()
-
-