}
public static void fillModel(String itemName, List<Attribute> attrs, Class<?> clazz, Object obj) {
fillModelKeysOnly(itemName, clazz, obj);
Attribute theAttr;
for (Field field : ClassInfo.getClassInfo(clazz).updateFields) {
if(!ClassInfo.isEmbeddedNative(field)){
theAttr = null;
String attrName = getAttributeName(field);
// searches attribute and if found, removes it from the list to reduce number of attributes
for(Attribute attr: attrs){
if(attrName.equals(attr.getName())){
theAttr = attr;
attrs.remove(attr);
break;
}
}
if(theAttr != null){
setFromString(obj, field, theAttr.getValue());
}
}else {
Object value = SdbNativeSerializer.unembed(
field.getType(), ClassInfo.getSingleColumnName(field), attrs);
Util.setField(obj, field, value);