|
|
current name of the table attribute
|
Get name of corresponding table attribute.
[Example]
tableName = tableOperator.GetTableName()
Gets attribute logger operator
[Example]
logger = tableOperator.GetLoggerOperator()
|
|
number of rows (inclusive new one)
|
Adds new row to the corresponding table attribute. Cells will be filled with default values. (int: 0; double: 0.0; bool: false; string: "")
[Example]
amountRows = tableOperator.AddRow()
|
|
number of column to get the type of
|
Gets the type of a specific column.
[Example]
typeOfFirstColumn = tableOperator.GetColumnType(0)
•
|
GetColumnName(columnNumber: int): string
|
|
|
number of column to get the name of
|
Gets the name of a specific column.
[Example]
nameOfFirstColumn = tableOperator.GetColumnName(0)
Get the number of columns of the corresponding table attribute.
[Example]
amountColumns = tableOperator.GetColumnSize()
Get the number of rows of the corresponding table attribute.
[Example]
amountRows = tableOperator.GetRowSize()
•
|
GetCell(columnNumber: int, rowNumber: int): object
|
|
|
value of specific cell (int, double, bool or string)
|
Gets value of a specific cell.
[Example]
valueOfFirstRowAndColumn = tableOperator.GetCell(0,0)
•
|
SetCell(columnNumber: int, rowNumber: int, value: object)
|
|
|
value for specific cell (int, double, bool or string)
|
Sets value of a specific cell. Value has to be the same type as the column.
[Example]
tableOperator.SetCell(0,0,"test")
•
|
GetCellType(columnNumber: int, rowNumber: int): ColumnType
|
Gets type of a specific cell.
[Example]
typeOfCell = tableOperator.GetCellType(0,0)
•
|
GetImportFilePath(): string
|
|
|
Path to a file which should be imported
|
Gets importFilePath of corresponding table attribute.
[Example]
importFilePath = tableOperator.GetImportFilePath()
•
|
GetRowNumberById(id: string): int
|
Gets row index of corresponding table attribute where the ID matches the row ID. If there is no row with the given ID then -1 will be returned.
[Example]
rowNumber = tableOperator.GetRowNumberById("ID")
•
|
GetRowValuesById(id: string): list
|
|
|
List with all objects/values of the specific row
|
Gets all values of the specific row with the given ID of the corresponding table attribute.
[Example]
values = tableOperator.GetRowValuesById("ID")
•
|
GetRowValues(rowIndex: int): list
|
|
|
List with all objects/values of the specific row
|
Gets all values of the specific row of the corresponding table attribute.
[Example]
values = tableOperator.GetRowValues(0)
•
|
DeleteRow(rowIndex: int)
|
Deletes row at the given index.
[Example]
tableOperator.DeleteRow(0)
Deletes all rows of the corresponding table attribute.
[Example]
tableOperator.DeleteAllRows()
|
|
Number of a specific column
|
|
|
Attribute type of this column
|
Gets attribute type of column.
[Example]
type = myTable.GetColumnValueType(0)
|
|
Number of a specific column
|
|
|
Attribute type of this column
|
Gets attribute type of cell.
[Example]
type = myTable.GetCellValueType(0,0)
|