145146147148149150151152
f.setAccessible(true); return f.get(obj); } catch(Exception e){ String err = "get field " + field + " value error."; throw new FieldAccessException(err, e); } }
157158159160161162163164
f.setAccessible(true); f.set(obj, value); } catch(Exception e){ String err = "assign field " + field + " width value " + value + " error."; throw new FieldAccessException(err, e); } }
278279280281282283284285286287288
if (useProxy == false){ try{ obj = clasz.newInstance(); } catch(Exception ex){ throw new FieldAccessException(ex); } } else{ ActiveRecordProxy proxy = new ActiveRecordProxy(); obj = proxy.getProxyObject(clasz);