if (lloc.getLookupStatus() == LookupLocation.STATUS_OK) {
setLocation(lloc);
}
} else {
LocationLookupService lookup = LocationLookupService.createLookupByGeocode();
LookupLocation lloc = lookup.getLocation(new Coordinate(loc));
if (lloc.getLookupStatus() != LookupLocation.STATUS_OK) {
lloc.setLatitude(loc.getLatitude());
lloc.setLongtitude(loc.getLongtitude());
}
}