Record Class SheetLocation
java.lang.Object
java.lang.Record
ch.tocco.nice2.reporting.api.excel.SheetLocation
-
Constructor Summary
ConstructorsConstructorDescriptionSheetLocation(int column, int row, org.apache.poi.ss.usermodel.Workbook workbook, Object cellData) Creates an instance of aSheetLocationrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncellData()Returns the value of thecellDatarecord component.intcolumn()Returns the value of thecolumnrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.introw()Returns the value of therowrecord component.final StringtoString()Returns a string representation of this record class.org.apache.poi.ss.usermodel.Workbookworkbook()Returns the value of theworkbookrecord component.
-
Constructor Details
-
SheetLocation
public SheetLocation(int column, int row, org.apache.poi.ss.usermodel.Workbook workbook, Object cellData) Creates an instance of aSheetLocationrecord class.- Parameters:
column- the value for thecolumnrecord componentrow- the value for therowrecord componentworkbook- the value for theworkbookrecord componentcellData- the value for thecellDatarecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
column
public int column()Returns the value of thecolumnrecord component.- Returns:
- the value of the
columnrecord component
-
row
public int row()Returns the value of therowrecord component.- Returns:
- the value of the
rowrecord component
-
workbook
public org.apache.poi.ss.usermodel.Workbook workbook()Returns the value of theworkbookrecord component.- Returns:
- the value of the
workbookrecord component
-
cellData
Returns the value of thecellDatarecord component.- Returns:
- the value of the
cellDatarecord component
-