org.cruxframework.crux.core.client.datasource
Class ColumnDefinition<V,R>
java.lang.Object
org.cruxframework.crux.core.client.datasource.ColumnDefinition<V,R>
public abstract class ColumnDefinition<V,R>
- extends Object
Metadata information about a DataSource column
- Author:
- Thiago da Rosa de Bustamante
|
Method Summary |
String |
getName()
|
abstract V |
getValue(R recordObject)
Extract the value associated with this column from the given
dataSource record object. |
boolean |
isSortable()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColumnDefinition
public ColumnDefinition(String name,
boolean sortable)
- Parameters:
name - sortable -
getValue
public abstract V getValue(R recordObject)
- Extract the value associated with this column from the given
dataSource record object.
- Parameters:
recordObject -
- Returns:
getName
public String getName()
- Returns:
isSortable
public boolean isSortable()
- Returns:
Copyright © 2014. All rights reserved.