E - public final class ObjectTableDataProvider<E> extends Object implements TableDataProvider<E>
TableDataProvider for regular Java objects with getter and setter
methods. Each of these method pairs will be treated as fields in a table.| Constructor and Description |
|---|
ObjectTableDataProvider(Class<E> cls) |
ObjectTableDataProvider(String tableName,
Class<E> cls) |
ObjectTableDataProvider(String tableName,
Class<E> cls,
Collection<E> collection) |
public ObjectTableDataProvider(String tableName, Class<E> cls, Collection<E> collection)
public SimpleTableDef getTableDef()
getTableDef in interface TableDataProvider<E>public Object getValue(String column, E record)
getValue in interface TableDataProvider<E>Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.