public interface TableData extends TableClient.Entry, java.util.Map<java.lang.Object,java.lang.Object>
table.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
OBJECT_ID_KEY
The object ID is bound to this key (id).
|
static java.lang.String |
RELATIONSHIP_ID_KEY
The relationship ID is bound to this key (id[connection]).
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(TableDataVisitor visitor)
Accept a visitor for this instances.
|
TableData |
copy(TableBeanProxy table)
Returns a copy of this instance for the specified table.
|
Cell |
getCell(Column col)
Returns the
Cell for the specified column. |
Cell |
getCell(int col)
Returns the
Cell for the specified column. |
Cell |
getCell(java.lang.String colName)
Returns the
Cell for the column with the specified name. |
java.lang.Object |
getData(java.lang.Object key)
Returns the data bound to the specified key.
|
long |
getId()
Returns the ID for the table data.
|
java.lang.String |
getObjectId()
Returns the object ID.
|
java.lang.String |
getRelationshipId()
Returns the relationship ID.
|
Row |
getRow()
|
boolean |
isEvaluationRequired()
Returns true if this table data requires an evaluation.
|
void |
putData(java.lang.Object key,
java.lang.Object data)
Sets data.
|
void |
setEvaluationRequired(boolean evaluationRequired)
Sets whether this table data requires an evaluation or not.
|
void |
setObjectId(java.lang.String objectId)
Sets the object ID.
|
void |
setRelationshipId(java.lang.String relationshipId)
Sets the relationship ID.
|
isHighlighted, isNavigable, isSelectable, isSelected, isVisible, setHighlighted, setNavigable, setRow, setSelectable, setSelected, setVisiblestatic final java.lang.String OBJECT_ID_KEY
static final java.lang.String RELATIONSHIP_ID_KEY
TableData copy(TableBeanProxy table)
long getId()
TableData instances wihtin
a table should have unique IDs.java.lang.String getObjectId()
getObjectId in interface TableClient.Entryvoid setObjectId(java.lang.String objectId)
objectId - the object ID.java.lang.String getRelationshipId()
getRelationshipId in interface TableClient.Entryvoid setRelationshipId(java.lang.String relationshipId)
relationshipId - the relationship ID.Row getRow()
getRow in interface TableClient.EntryRow.Cell getCell(Column col)
Cell for the specified column.col - A column in the table.Cell getCell(java.lang.String colName)
Cell for the column with the specified name. If there
isn't a column with the specfied name, null is returned.colName - The name of the column in the table.Cell getCell(int col)
Cell for the specified column.col - The index of a column in the table.java.lang.Object getData(java.lang.Object key)
key - the key of the data to return.void putData(java.lang.Object key,
java.lang.Object data)
key - the key to which data should be bound.data - the data to set.boolean isEvaluationRequired()
Row, then this
method should always return true.void setEvaluationRequired(boolean evaluationRequired)
evaluationRequired - whether this table data requires an evaluation
or not.void accept(TableDataVisitor visitor)
visitor - The visitor that will visit this instances.java.lang.NullPointerException - If visitor is null.Copyright ? Technia AB. All Rights Reserved.