public interface GXITableColumnCollection
Table's column schema.
Represents the defined columns schema of this table. The collection is composed of GXITableColumn.
Modifier and Type | Method and Description |
---|---|
void |
addColumn(GXITableColumn column)
Adds a new column to the schema.
|
GXITableColumn |
getColumn(int columnIndex) |
GXITableColumn |
getColumn(String columnName) |
int |
getColumnCount() |
GXITableColumn[] |
getColumns() |
void |
removeColumn(int columnIndex)
Removes a column from the column's schema only, and not the actual column's data.
|
void |
removeColumn(String columnName)
Removes a column from the column's schema only, and not the actual column's data.
|
GXITableColumn[] getColumns()
int getColumnCount()
GXITableColumn getColumn(int columnIndex)
columnIndex
- the index of the column to retrieve. Should range between 0 and columnCount.getColumnCount()
GXITableColumn getColumn(String columnName)
columnName
- the name of the column to retrieve.void addColumn(GXITableColumn column)
column
- the new column to add.void removeColumn(int columnIndex)
columnIndex
- the index of the column to remove. Should range between 0 and columnCount.GXITable.removeColumn(int columnIndex)
,
getColumnCount()
void removeColumn(String columnName)
columnName
- the name of the column to remove.GXITable.removeColumn(String columnName)
Copyright 2021 Software AG. All rights reserved. Use is subject to license terms.