Class SpreadsheetTable
java.lang.Object
com.orchestranetworks.addon.dex.mapping.SpreadsheetTable
- All Implemented Interfaces:
Table<SpreadsheetField>
Defines the configuration used for a spreadsheet table.
- Since:
- 2.3.0
-
Constructor Summary
ConstructorDescriptionSpreadsheetTable
(int sheetIndex, String sheetName, List<SpreadsheetField> fields) SpreadsheetTable
(String sheetName, int sheetIndex) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the list ofSpreadsheetField
fields on this table.int
Returns the specified sheet index.Returns the specified sheet name.int
hashCode()
boolean
Returnstrue
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 ofSpreadsheetField
fields to this table.
-
Constructor Details
-
SpreadsheetTable
- Throws:
DataExchangeException
-
SpreadsheetTable
public SpreadsheetTable(int sheetIndex, String sheetName, List<SpreadsheetField> fields) throws DataExchangeException - Throws:
DataExchangeException
-
-
Method Details
-
setFields
Sets a list ofSpreadsheetField
fields to this table. -
getFields
Returns the list ofSpreadsheetField
fields on this table.- Specified by:
getFields
in interfaceTable<SpreadsheetField>
-
getSheetName
Returns the specified sheet name. -
getSheetIndex
public int getSheetIndex()Returns the specified sheet index. -
hashCode
public int hashCode() -
equals
-
isReferenceSheetTable
public boolean isReferenceSheetTable()Returnstrue
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.
-