Interface BaseDataset

All Superinterfaces:
Serializable
All Known Subinterfaces:
GanttDataset, PieDataset, StandardDataset, StockDataset, XYDataset
All Known Implementing Classes:
ForAllRecordsDataset, ForEachRecordDataset, GanttForEachRecordDataset, GanttOneGroupDataset, GanttTwoGroupsDataset, OneGroupDataset, StockForAllRecordsDataset, StockForEachRecordDataset, StockOneGroupDataset, TwoGroupsDataset, XYForAllRecordsDataset, XYForEachRecordDataset, XYOneGroupDataset

public interface BaseDataset extends Serializable
An interface that implemented by all datasets. A Data Set provides methods to get the data field(s) used by the chart.
Since:
8.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    XML token for a dataset element.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the parent chart of this dataset.
    Returns the summary field with the specified name or null if the summary field with this name not found in the list.
    Returns the data fields of this dataset as list.
    com.inet.report.chart.dataset.LabelProvider
    Returns the LabelProvider responsible for providing the title, footnote, and axis labels
    FOR INTERNAL USE ONLY
    void
    FOR INTERNAL USE ONLY.
    Verifies the group and sum properties of current dataset.
  • Field Details

  • Method Details

    • getLabelProvider

      com.inet.report.chart.dataset.LabelProvider getLabelProvider()
      Returns the LabelProvider responsible for providing the title, footnote, and axis labels
      Returns:
      the LabelProvider responsible for providing the title, footnote, and axis labels
      Since:
      8.0
    • getDataField

      SummaryField getDataField(String name)
      Returns the summary field with the specified name or null if the summary field with this name not found in the list. Testing for equality using the case sensitive equals method.
      Parameters:
      name - the searched name of summary field (null not permitted)
      Returns:
      the summary field with the specified name or null.
      Throws:
      IllegalArgumentException - if name is null.
      Since:
      8.0
      See Also:
    • getDataFields

      List getDataFields()
      Returns the data fields of this dataset as list.
      Returns:
      the list of data fields
      Since:
      8.0
      See Also:
    • getChart

      Chart2 getChart()
      Returns the parent chart of this dataset.
      Returns:
      the chart.
      Since:
      8.0
    • verify

      String verify(ChartStyle style)
      Verifies the group and sum properties of current dataset.
      Parameters:
      style - the chart style
      Returns:
      the error message or empty string if all properties are correct.
      Since:
      8.0
    • getReferencedObject

      List getReferencedObject()
      FOR INTERNAL USE ONLY
      Returns:
      FOR INTERNAL USE ONLY
    • updateReferences

      void updateReferences()
      FOR INTERNAL USE ONLY.