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 ReportDataReturns the ReportData for given file.Returns the root shape as a document (if it is one).Returns the root shape of the file.static booleanReturns whether file contains ReportData.booleanReturns whether report file document has already generated report.voidsetBytes(byte[] theBytes) Override to clear document.voidsetGenerated(boolean aValue) Sets whether report file document has already generated report.voidsetRootShape(RMParentShape aShape) Sets the root shape of the file.Methods inherited from class 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
-
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
-
is
Returns whether file contains ReportData. -
get
Returns the ReportData for given file.
-