public interface CellValue extends java.lang.Comparable<CellValue>
Cell. Each CellValue should
be able to compare itself to other according to its natural order.Cell| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
getBooleanValue()
Returns the value as a boolean.
|
Cell |
getCell()
Returns the cell the value belongs to.
|
java.util.Date |
getDateValue()
Returns the value as a date.
|
java.lang.String |
getDisplayValue()
Returns the display value.
|
int |
getIndex() |
java.lang.Number |
getNumberValue()
Returns the value as a number.
|
java.lang.String |
getObjectId()
Returns the object ID associated with the value (optional).
|
java.lang.String |
getObjectType()
Returns the object type associated with the value (optional).
|
java.lang.String |
getRelationshipId()
Returns the relationship ID associated with the value (optional).
|
java.lang.String |
getSearchString()
Returns the search string that can be used to query against.
|
java.lang.String |
getValue()
Returns the actual value retreived from Matrix.
|
boolean |
update(TableClient.Entry entry,
java.lang.String newValue,
Environment env)
Update the cell with the new value in the database (optional).
|
Cell getCell()
java.lang.String getValue()
java.lang.String getDisplayValue()
java.lang.String getSearchString()
java.lang.Number getNumberValue()
throws java.text.ParseException
java.text.ParseException - If the value can't be returned as a number.java.util.Date getDateValue()
throws java.text.ParseException
java.text.ParseException - If the value can't be returned as a date.java.lang.Boolean getBooleanValue()
throws java.text.ParseException
java.text.ParseException - If the value can't be returned as a boolean.java.lang.String getRelationshipId()
java.lang.String getObjectId()
java.lang.String getObjectType()
boolean update(TableClient.Entry entry, java.lang.String newValue, Environment env) throws TVCException
entry - The entry that represents the row to which the cell values
belongs.newValue - The new value.env - The environment.TVCException - If unable to update the cell due to as error.int getIndex()
Copyright ? Technia AB. All Rights Reserved.