List<ILand> countriesInDatabase = new Vector<ILand>();
List<CountryWrapper> countries = new Vector<CountryWrapper>();
try {
countriesInDatabase = new Vector<ILand>(landDao.getAll());
for (ILand country : countriesInDatabase) {
countries.add(new CountryWrapper(country.getID(), country.getBezeichnung()));
}
return countries;
} catch (DatabaseException ex) {
return countries;
}