E - type of object to export@Deprecated public abstract class AbstractExportModel<E> extends Object implements ExportModel<E>
ExportModel to avoid all the
boilerplate code when creating a new model.| Modifier and Type | Field and Description |
|---|---|
protected ModelBuilder<E> |
modelBuilder
Deprecated.
|
| Constructor and Description |
|---|
AbstractExportModel(char separator)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Iterable<ExportableColumn<E,Object>> |
getColumnsForExport()
Deprecated.
|
char |
getSeparator()
Deprecated.
|
ExportableColumn<E,String> |
newColumnForExport(String headerName)
Deprecated.
|
ExportableColumn<E,String> |
newColumnForExport(String headerName,
String propertyName)
Deprecated.
|
<T> ExportableColumn<E,T> |
newColumnForExport(String headerName,
String propertyName,
ValueFormatter<T> valueFormatter)
Deprecated.
|
<T> ExportableColumn<E,T> |
newColumnForExport(String headerName,
ValueFormatter<T> valueFormatter)
Deprecated.
|
ExportableColumn<E,String> |
newColumnForExport(String headerName,
ValueGetter<E,String> eStringValueGetter)
Deprecated.
|
<T> ExportableColumn<E,T> |
newColumnForExport(String headerName,
ValueGetter<E,T> etValueGetter,
ValueFormatter<T> valueFormatter)
Deprecated.
|
protected final ModelBuilder<E> modelBuilder
public final char getSeparator()
getSeparator in interface ExportModel<E>public final Iterable<ExportableColumn<E,Object>> getColumnsForExport()
getColumnsForExport in interface ExportModel<E>public ExportableColumn<E,String> newColumnForExport(String headerName)
public ExportableColumn<E,String> newColumnForExport(String headerName, String propertyName)
public ExportableColumn<E,String> newColumnForExport(String headerName, ValueGetter<E,String> eStringValueGetter)
public <T> ExportableColumn<E,T> newColumnForExport(String headerName, ValueFormatter<T> valueFormatter)
public <T> ExportableColumn<E,T> newColumnForExport(String headerName, String propertyName, ValueFormatter<T> valueFormatter)
public <T> ExportableColumn<E,T> newColumnForExport(String headerName, ValueGetter<E,T> etValueGetter, ValueFormatter<T> valueFormatter)
Copyright © 2011-2013 CodeLutin. All Rights Reserved.