public final class SpreadsheetTable extends Object implements Table<SpreadsheetField>
Constructor and Description |
---|
SpreadsheetTable(int sheetIndex,
String sheetName,
List<SpreadsheetField> fields) |
SpreadsheetTable(String sheetName,
int sheetIndex) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<SpreadsheetField> |
getFields()
Returns the list of
SpreadsheetField fields on this table. |
int |
getSheetIndex()
Returns the specified sheet index.
|
String |
getSheetName()
Returns the specified sheet name.
|
int |
hashCode() |
boolean |
isReferenceSheetTable()
Returns
true if this is the reference sheet containing metadata such as the sheet name, the table label, and the table path used to detect the mapping between sheets and tables upon import. |
void |
setFields(List<SpreadsheetField> fields)
Sets a list of
SpreadsheetField fields to this table. |
public SpreadsheetTable(String sheetName, int sheetIndex) throws DataExchangeException
DataExchangeException
public SpreadsheetTable(int sheetIndex, String sheetName, List<SpreadsheetField> fields) throws DataExchangeException
DataExchangeException
public void setFields(List<SpreadsheetField> fields)
SpreadsheetField
fields to this table.public List<SpreadsheetField> getFields()
SpreadsheetField
fields on this table.getFields
in interface Table<SpreadsheetField>
public String getSheetName()
public int getSheetIndex()
public boolean isReferenceSheetTable()
true
if this is the reference sheet containing metadata such as the sheet name, the table label, and the table path used to detect the mapping between sheets and tables upon import.