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) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
SimpleTableDef |
getTableDef() |
Object |
getValue(String column,
E record) |
void |
insert(Map<String,Object> recordData) |
Iterator<E> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
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–2017 The Apache Software Foundation. All rights reserved.