Class ReportData
java.lang.Object
com.inductiveautomation.snap.filedata.SnapData
com.inductiveautomation.snap.filedata.ReportData
A file for Snap reports.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates the root shape from ReportFile.generateReport
(Object aDataSet) Generate report file.static ReportData
Returns the ReportData for given file.Returns the root shape as a document (if it is one).Returns the root shape of the file.static boolean
Returns whether file contains ReportData.boolean
Returns whether report file document has already generated report.void
setBytes
(byte[] theBytes) Override to clear document.void
setGenerated
(boolean aValue) Sets whether report file document has already generated report.void
setRootShape
(RMParentShape aShape) Sets the root shape of the file.Methods inherited from class com.inductiveautomation.snap.filedata.SnapData
createBytes, createSourceURL, delete, get, getBytes, getInputStream, getSite, getSource, getSourceFile, getSourceURL, is, refresh, save, setSource
-
Constructor Details
-
ReportData
public ReportData()
-
-
Method Details
-
getRootShape
Returns the root shape of the file. -
setRootShape
Sets the root shape of the file. -
createRootShape
Creates the root shape from ReportFile. -
getDocument
Returns the root shape as a document (if it is one). -
setBytes
public void setBytes(byte[] theBytes) Override to clear document. -
isGenerated
public boolean isGenerated()Returns whether report file document has already generated report. -
setGenerated
public void setGenerated(boolean aValue) Sets whether report file document has already generated report. -
generateReport
Generate report file. -
is
Returns whether file contains ReportData. -
get
Returns the ReportData for given file.
-