Class ReportData
java.lang.Object
com.inductiveautomation.snap.filedata.SnapData
com.inductiveautomation.snap.filedata.ReportData
A file for Snap reports.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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 com.inductiveautomation.snap.filedata.SnapDatacreateBytes, createSourceURL, delete, get, getBytes, getInputStream, getSite, getSource, getSourceFile, getSourceURL, is, refresh, save, setSource
- 
Constructor Details- 
ReportDatapublic ReportData()
 
- 
- 
Method Details- 
getRootShapeReturns the root shape of the file.
- 
setRootShapeSets the root shape of the file.
- 
createRootShapeCreates the root shape from ReportFile.
- 
getDocumentReturns the root shape as a document (if it is one).
- 
setBytespublic void setBytes(byte[] theBytes) Override to clear document.
- 
isGeneratedpublic boolean isGenerated()Returns whether report file document has already generated report.
- 
setGeneratedpublic void setGenerated(boolean aValue) Sets whether report file document has already generated report.
- 
generateReportGenerate report file.
- 
isReturns whether file contains ReportData.
- 
getReturns the ReportData for given file.
 
-