String religiousID = row
.get(getText("entity.religious_id.label"));
if (CommonUtil.isNullOrEmpty(religiousID)) {
contact.setReligious(null);
} else {
Religious religious = religiousService.getEntityById(
Religious.class, Integer.parseInt(religiousID));
contact.setReligious(religious);
}
contact.setHabit(CommonUtil.fromNullToEmpty(row
.get(getText("entity.habit.label"))));