if (remote_list == null)
return countries;
for (Map<String, Object> map : remote_list) {
Country country = new Country();
for (Map.Entry<String, Object> attr : map.entrySet())
country.set(attr.getKey(), attr.getValue());
countries.add(country);
}
return countries;