01: package com.completex.objective.components.persistency.rule;
02:
03: import com.completex.objective.components.persistency.Rule;
04:
05: /**
06: * @author Gennady Krizhevsky
07: */
08: public interface RecordConvertor extends Rule, FieldConvertor,
09: com.completex.objective.components.persistency.Cloneable {
10: /**
11: * Returns FieldConvertor[][] where 1st index is field (column) index, 2nd index is
12: * FieldConvertor positional index whithin the field convertors array for the field
13: *
14: * @return FieldConvertor[][] where 1st index is field (column) index, 2nd index is
15: * FieldConvertor positional index whithin the field convertors array for the field
16: */
17: FieldConvertor[][] getFieldConvertors();
18:
19: RecordConvertor addFieldConvertor(int fieldIndex,
20: FieldConvertor fieldConvertor);
21:
22: void setFieldConvertors(int fieldIndex, FieldConvertor[] convertors);
23:
24: Object clone() throws CloneNotSupportedException;
25: }
|