| Package | Description |
|---|---|
| eu.wiegandt.nicklas.simpleexcelimexporter | |
| eu.wiegandt.nicklas.simpleexcelimexporter.api |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends DataController<? extends DataClass>> |
ExcelTableManager.getDataController() |
Class<? extends DataClass> |
ExcelTableManager.getExcelTableClass() |
| Modifier and Type | Method and Description |
|---|---|
String |
ExcelImExporterField.getGetterMethodName(Class<? extends DataClass> aDataClass)
Determines the name of the getter method.
|
String |
ExcelImExporterField.getSetterMethodName(Class<? extends DataClass> aDataClass)
Determines the name of the setter method.
|
| Constructor and Description |
|---|
ExcelTableManager(Class<? extends DataClass> aExcelTable)
A constructor which calls some methods to check if the given class is
valid for im-/exporting.
Warning: The validation methods will call IllegalStateExceptions if the class is not valid.The class must accomplish the following conditions: The class can't be null. The class must be annotated with ExcelTable
If a mapping file is listed it must exist.
The listed DataController must be able to handle the
class.
The class must contain a setter method for every importable field (a
field with ExcelField.importable() == true).
The class must contain a getter method for every exportable field (a
field with ExcelField.exportable() == true).
The setter methods must look like this:public void set[FieldName]([Type] ...) The getter methods must look like this: public [Type] get[FieldName] |
| Modifier and Type | Interface and Description |
|---|---|
interface |
DataController<D extends DataClass>
A interface which describes data controllers.
|
Copyright © 2019. All rights reserved.