| 1 |
|
|
| 2 |
|
|
| 3 |
|
|
| 4 |
|
|
| 5 |
|
|
| 6 |
|
|
| 7 |
|
|
| 8 |
|
|
| 9 |
|
|
| 10 |
|
|
| 11 |
|
|
| 12 |
|
|
| 13 |
|
|
| 14 |
|
|
| 15 |
|
|
| 16 |
|
|
| 17 |
|
|
| 18 |
|
|
| 19 |
|
|
| 20 |
|
package com.xpn.xwiki.plugin.charts.source; |
| 21 |
|
|
| 22 |
|
import com.xpn.xwiki.plugin.charts.exceptions.DataSourceException; |
| 23 |
|
|
| |
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 0 |
Complexity Density: - |
|
| 24 |
|
public interface DataSource |
| 25 |
|
{ |
| 26 |
|
int getRowCount() throws DataSourceException; |
| 27 |
|
|
| 28 |
|
int getColumnCount() throws DataSourceException; |
| 29 |
|
|
| 30 |
|
Number getCell(int rowIndex, int colIndex) throws DataSourceException; |
| 31 |
|
|
| 32 |
|
Number[] getRow(int rowIndex) throws DataSourceException; |
| 33 |
|
|
| 34 |
|
Number[] getColumn(int colIndex) throws DataSourceException; |
| 35 |
|
|
| 36 |
|
Number[][] getAllCells() throws DataSourceException; |
| 37 |
|
|
| 38 |
|
boolean hasHeaderRow() throws DataSourceException; |
| 39 |
|
|
| 40 |
|
boolean hasHeaderColumn() throws DataSourceException; |
| 41 |
|
|
| 42 |
|
String getHeaderRowValue(int columnIndex) throws DataSourceException; |
| 43 |
|
|
| 44 |
|
String[] getHeaderRow() throws DataSourceException; |
| 45 |
|
|
| 46 |
|
String getHeaderColumnValue(int rowIndex) throws DataSourceException; |
| 47 |
|
|
| 48 |
|
String[] getHeaderColumn() throws DataSourceException; |
| 49 |
|
} |