|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BindyFactory
The bindy factory is a factory used to create the POJO models and bind or unbind the data to and from the record (CSV, ...)
| Method Summary | |
|---|---|
void |
bind(List<String> data,
Map<String,Object> model)
The bind allow to read the content of a record (expressed as a List |
void |
initModel()
Prior to bind or unbind the data to and from string or model classes, the factory must create a collection of objects representing the model |
String |
unbind(Map<String,Object> model)
The unbind is used to transform the content of the classes model objects into a string. |
| Method Detail |
|---|
void initModel()
throws Exception
Exception - can be thrown
void bind(List<String> data,
Map<String,Object> model)
throws Exception
data - Listmodel - MapException - can be thrown
String unbind(Map<String,Object> model)
throws Exception
model - MapException - can be thrown
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||