public interface DataSet extends Resource, Localizable
Modifier and Type | Method and Description |
---|---|
DataTable |
createDataTable()
Returns an empty data table matching this data set's structure.
|
List<Attribute> |
getAttributes()
Returns a list of all attributes used in this data set.
|
CachedList<DataSource> |
getDataSources()
Returns the list of data sources for this data set.
|
String |
getDescription()
Returns the description of this data set.
|
List<Indicator> |
getIndicators()
Returns a list of all indicators used in this data set.
|
Date |
getLastChange()
Returns the last change date of this data set.
|
String |
getOwnerName()
Returns the name of the data set owner.
|
List<ReportInfo> |
getReports()
Returns a list of all reports for this data set.
|
DataSet |
uploadData(DataTable data)
Uploads the given data into this data set.
|
getName, hasLocalization
String getDescription()
String getOwnerName()
Date getLastChange()
List<Attribute> getAttributes()
List<Indicator> getIndicators()
List<ReportInfo> getReports()
DataTable createDataTable() throws NoColumnsException
NoColumnsException
- if the data set doesn't have any columnsDataSet uploadData(DataTable data) throws UnknownServerColumnException
createDataTable()
on the same data set.data
- the data to uploadUnknownServerColumnException
- if the data table contains a column
that doesn't exist in the data setCachedList<DataSource> getDataSources()
CachedCollection.loadFirstTime()
to populate it
initially.Copyright © 2014. All rights reserved.