public Field createField(DbManager manager, Table table, String name, boolean pk, boolean virtual, Method setter, Method getter, Class<?> ret, IConfig attr,DbDynamic.Field dynamicField) {
Field field = null;
if (virtual)
field = new FieldVirtual( table, name, pk, setter, getter, ret, attr );
else
field = new FieldPersistent( manager, table, name, pk, setter, getter, ret, attr, dynamicField );
return field;
}