Class SampleDataSchema
java.lang.Object
com.inductiveautomation.rm.base.RMDataSource
com.inductiveautomation.reporting.designer.workspace.design.SampleDataSchema
- All Implemented Interfaces:
Archivable
This is a specialization of the RMDataSource class that understands the Map structures that we feed our reports.
We feed this class a copy of report sample data, and it turns it into a reportmill "Schema" which powers the designer's key panel. It has special handling for datasets (they must be wrapped in ReportAccessibleDataset) and QueryResult objects.
Created by carl.gould on 2/5/2015.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a sample dataset of objects associated with the datasource.protected Schema
Creates the schema.Methods inherited from class com.inductiveautomation.rm.base.RMDataSource
fromXML, getCustomSchema, getDataset, getName, getSchema, setCustomSchema, toString, toXML
-
Constructor Details
-
SampleDataSchema
-
-
Method Details
-
createDataset
Description copied from class:RMDataSource
Returns a sample dataset of objects associated with the datasource.- Overrides:
createDataset
in classRMDataSource
-
createSchema
Description copied from class:RMDataSource
Creates the schema.- Overrides:
createSchema
in classRMDataSource
-