Class ExcelRow
- java.lang.Object
-
- org.eclipse.epsilon.emc.spreadsheets.SpreadsheetRow
-
- org.eclipse.epsilon.emc.spreadsheets.excel.ExcelRow
-
public class ExcelRow extends SpreadsheetRow
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.poi.ss.usermodel.Row
row
protected ExcelWorksheet
worksheet
-
Constructor Summary
Constructors Constructor Description ExcelRow(ExcelWorksheet worksheet, org.apache.poi.ss.usermodel.Row row)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getVisibleCellValue(SpreadsheetColumn column)
The purpose of this method is to return the visible value stored by the given cell.int
hashCode()
void
overwriteCellValue(SpreadsheetColumn column, java.lang.String value)
The purpose of this method is to overwrite the value of the cell.-
Methods inherited from class org.eclipse.epsilon.emc.spreadsheets.SpreadsheetRow
getAllVisibleCellValues, getAllVisibleCellValues, getAllVisibleCellValuesAsIs, getColumn, getModel, getReferencesBySource, getReferencesByTarget, getWorksheet, toString, validateColumn, writeManyVisibleValues, writeOneVisibleValue, writeVisibleCellValues
-
-
-
-
Field Detail
-
worksheet
protected ExcelWorksheet worksheet
-
row
protected org.apache.poi.ss.usermodel.Row row
-
-
Constructor Detail
-
ExcelRow
public ExcelRow(ExcelWorksheet worksheet, org.apache.poi.ss.usermodel.Row row)
-
-
Method Detail
-
getVisibleCellValue
public java.lang.String getVisibleCellValue(SpreadsheetColumn column)
Description copied from class:SpreadsheetRow
The purpose of this method is to return the visible value stored by the given cell. The 'visible value' means the value stored by the cell and observed when the row is viewed in the spreadsheet. This means any worksheet metadata shall be disregarded by this method.- Specified by:
getVisibleCellValue
in classSpreadsheetRow
- Returns:
- the visible value of the cell
-
overwriteCellValue
public void overwriteCellValue(SpreadsheetColumn column, java.lang.String value)
Description copied from class:SpreadsheetRow
The purpose of this method is to overwrite the value of the cell.- Specified by:
overwriteCellValue
in classSpreadsheetRow
value
- the new value of the cell
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-