org.cruxframework.crux.core.client.datasource
Class ColumnDefinition<V,R>

java.lang.Object
  extended by 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

Constructor Summary
ColumnDefinition(String name, boolean sortable)
           
 
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
 

Constructor Detail

ColumnDefinition

public ColumnDefinition(String name,
                        boolean sortable)
Parameters:
name -
sortable -
Method Detail

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.