case STRING:
obj.setString(name, getString(name));
break;
case LIST:
CaoList list = getList(name);
obj.truncate(name, 0);
listItemName = list.getMetadata().getDefinitionAt(0).getName();
for (CaoElement item :list.getElements()) {
obj.appendString(name, item.getString(listItemName ));
}
}