public class GXTableRow extends Object implements GXITableRow, Externalizable
| Constructor and Description |
|---|
GXTableRow() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
GXITableCell |
getItem(int columnIndex) |
GXITableCell |
getItem(String columnName) |
String |
getItemContent(int columnIndex) |
String |
getItemContent(String columnName) |
GXITableCell[] |
getItems() |
String[] |
getItemsContents() |
String |
getPrimaryKey() |
void |
readExternal(ObjectInput in) |
void |
removeItem(int columnIndex)
Removes the cell at the specified column index.
|
void |
removeItem(String columnName)
Removes the cell of the specified column name.
|
void |
setItem(int columnIndex,
GXITableCell item)
Sets a table cell at specified column index, and replaces the previous cell (if such existed).
|
void |
setItem(String columnName,
GXITableCell item)
Sets a table cell of the specified column name, and replaces the previous cell (if such existed).
|
void |
setItemContent(int columnIndex,
String content)
Sets the content of the cell in the specified column's index.
|
void |
setItemContent(String columnName,
String content)
Sets the content of the cell of the specified column's name.
|
void |
setPrimaryKey(String primaryKey) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public GXITableCell[] getItems()
getItems in interface GXITableRowpublic String[] getItemsContents()
getItemsContents in interface GXITableRowpublic GXITableCell getItem(int columnIndex)
getItem in interface GXITableRowcolumnIndex - should range between 0 to columnCount - 1.public GXITableCell getItem(String columnName)
getItem in interface GXITableRowcolumnName - column's name.public void setItem(int columnIndex,
GXITableCell item)
GXITableRowsetItem in interface GXITableRowcolumnIndex - the column's index. Should range between 0 to columnCount - 1.item - the new cell.public void setItem(String columnName, GXITableCell item)
GXITableRowsetItem in interface GXITableRowcolumnName - column's name.item - the new cell.public String getItemContent(int columnIndex)
getItemContent in interface GXITableRowcolumnIndex - the column's index. Should range between 0 to columnCount - 1.public String getItemContent(String columnName)
getItemContent in interface GXITableRowcolumnName - column's name.public void setItemContent(int columnIndex,
String content)
GXITableRowsetItemContent in interface GXITableRowcolumnIndex - the column's index. Should range between 0 to columnCount - 1.content - the new cell's content.public void setItemContent(String columnName, String content)
GXITableRowsetItemContent in interface GXITableRowcolumnName - column's name.content - the new cell's content.public String getPrimaryKey()
getPrimaryKey in interface GXITableRowGXITable.getPrimaryKey()public void setPrimaryKey(String primaryKey)
public void removeItem(int columnIndex)
GXITableRowremoveItem in interface GXITableRowcolumnIndex - the column's index. Should range between 0 to columnCount - 1.public void removeItem(String columnName)
GXITableRowremoveItem in interface GXITableRowcolumnName - column's name.public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionCopyright 2022 Software AG. All rights reserved. Use is subject to license terms.