public final class ReportCacheKey
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ReportCacheKey(java.lang.String report,
java.lang.String parameter,
java.lang.String format,
long vgen)
Creates a new ReportCacheKey.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Compares the values of this ReportCacheKey with those of the other ReportCacheKey.
|
java.lang.String |
getFormat()
Returns the export format of the report.
|
java.lang.String |
getParameter()
Returns the report relevant parameters.
|
java.lang.String |
getReport()
Returns the report name (file path) of the report.
|
long |
getVGen()
Returns the value of the property "vgen".
|
int |
hashCode()
Summary of report-hashcode and parameter-hashcode.
|
java.lang.String |
toString()
Returns a String representation of this ReportCacheKey.
|
public ReportCacheKey(java.lang.String report, java.lang.String parameter, java.lang.String format, long vgen) throws ReportException
report
- e.g "file:C:/i-net Clear Reports/reports/test.rpt"parameter
- The parameters for the report as a string, key-value pairs paired with the
equal sign and separated by ampersands, e.g. "vgen=141513&init=pdf&..."format
- the export format for the report. e.g Engine.EXPORT_PDFvgen
- default value is 0.ReportException
- when the report is emptypublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- a ReportCacheKeyfalse
if Object is not instanceof ReportCacheKey
or the values are different; true
if all values are equalspublic java.lang.String getReport()
public java.lang.String getParameter()
public long getVGen()
public java.lang.String getFormat()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 1999-2020 by i-net software GmbH