case FOREIGNKEY:
value = rs.getObject(body.colName());
if (manager.dropDown) {
Integer index = (Integer) value;
if(!this.contains(get.getClass().getName())){
throw new DictionaryIncompleteException();
}
String indexName = EntityDictionary.dict.get(get.getClass().getName()).
getData().get(0).colName();
if (admin.obtainWhere(get, indexName + "=" + index)) {
body.set().invoke(object, new Object[]{get});
}
}
break;
case PRIMITIVE:
if (value instanceof Timestamp) {
body.set().invoke(object, new Object[]{
manager.getRef().manageTimeData(get.getClass(),
((Timestamp) value))});
} else {
body.set().invoke(object, new Object[]{value});
}
break;
}
}
}catch(Exception e){
throw new DictionaryIncompleteException();
}
if (data.isHasParent()) {
this.restoreParent(admin, manager, object, rs);
}
for (int i = manager.primaryKey.size() - 1; i >= primKeyItems; i--) {