|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectolg.csv.bean.annotations.processor.EmbeddedProcessor<B>
B
- the bean on which research its fields annoted with embedded
annotationpublic final class EmbeddedProcessor<B>
This class is responsible for processing the @Embedded annotation.
Constructor Summary | |
---|---|
EmbeddedProcessor(Class<B> clazz)
Constructor. |
Method Summary | |
---|---|
boolean |
getReadingProcessor(int translate,
Field field,
List<IPropertyProcessor<B>> propertyProcessors,
Map<Integer,Integer> map)
Complete a list with the propertyProcessors built from the embedded annotation setted on a field. |
boolean |
getWritingProcessor(Field field,
Map<Integer,List<CellProcessor<B>>> map)
Complete a map with the cellprocessors built from the embedded annotation setted on a field. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EmbeddedProcessor(Class<B> clazz)
clazz
- the class of the beanMethod Detail |
---|
public boolean getWritingProcessor(Field field, Map<Integer,List<CellProcessor<B>>> map)
field
- the fieldmap
- the map to complete with the cellProcessors built from the
embedded Annotation setted on the field. the keys are the cell
num target of the cellProcessor.
public boolean getReadingProcessor(int translate, Field field, List<IPropertyProcessor<B>> propertyProcessors, Map<Integer,Integer> map)
translate
- index from which begin the column numerotationfield
- the field on which search an embedded annoationpropertyProcessors
- processors map to complete with the processors match on the
fieldmap
- map of couple (column num, nb properties built on ) to
complete with the processors built.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |