org.gcube.portlets.user.tdw.client.config
Class Row
java.lang.Object
org.gcube.portlets.user.tdw.client.config.Row
public class Row
- extends Object
Represents a table row.
- Author:
- "Federico De Faveri defaveri@isti.cnr.it"
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dataRow
protected DataRow dataRow
keys
protected Map<String,ColumnKey> keys
Row
public Row(Map<String,ColumnKey> keys)
- Parameters:
keys -
Row
public Row(DataRow dataRow,
Map<String,ColumnKey> keys)
- Parameters:
dataRow - keys -
setDataRow
protected void setDataRow(DataRow dataRow)
- Parameters:
dataRow - the dataRow to set
getFieldAsText
public String getFieldAsText(String fieldId)
- Returns the specified field as text value.
- Parameters:
fieldId - the field id.
- Returns:
- the text value.
getField
public <T> T getField(String fieldId)
- Returns the specified field as request value type T.
If a wrong type is specified a
ClassCastException will be throw.
- Parameters:
fieldId - the field id.
- Returns:
- the field value.
Copyright © 2013. All Rights Reserved.