public class GXTableColumnCollection extends Object implements GXITableColumnCollection, Externalizable
| Constructor and Description |
|---|
GXTableColumnCollection() |
| Modifier and Type | Method and Description |
|---|---|
void |
addColumn(GXITableColumn column)
Adds a new column to the schema.
|
boolean |
equals(Object obj) |
GXITableColumn |
getColumn(int columnIndex) |
GXITableColumn |
getColumn(String columnName) |
int |
getColumnCount() |
GXITableColumn[] |
getColumns() |
void |
readExternal(ObjectInput in) |
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.
|
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public GXITableColumn[] getColumns()
getColumns in interface GXITableColumnCollectionpublic int getColumnCount()
getColumnCount in interface GXITableColumnCollectionpublic GXITableColumn getColumn(int columnIndex)
getColumn in interface GXITableColumnCollectioncolumnIndex - the index of the column to retrieve. Should range between 0 and columnCount.GXITableColumnCollection.getColumnCount()public GXITableColumn getColumn(String columnName)
getColumn in interface GXITableColumnCollectioncolumnName - the name of the column to retrieve.public void addColumn(GXITableColumn column)
GXITableColumnCollectionaddColumn in interface GXITableColumnCollectioncolumn - the new column to add.public void removeColumn(int columnIndex)
GXITableColumnCollectionremoveColumn in interface GXITableColumnCollectioncolumnIndex - the index of the column to remove. Should range between 0 and columnCount.GXITable.removeColumn(int columnIndex),
GXITableColumnCollection.getColumnCount()public void removeColumn(String columnName)
GXITableColumnCollectionremoveColumn in interface GXITableColumnCollectioncolumnName - the name of the column to remove.GXITable.removeColumn(String columnName)public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright 2022 Software AG. All rights reserved. Use is subject to license terms.