super.copyFromDomain(qualification); if (qualification != null) { final Country country = qualification.getCountry(); final InfoCountryEditor infoCountryEditor = new InfoCountryEditor(); infoCountryEditor.setCode(country.getCode()); infoCountryEditor.setIdInternal(country.getIdInternal()); infoCountryEditor.setName(country.getName()); infoCountryEditor.setNationality(country.getNationality()); setInfoCountry(infoCountryEditor); setInfoPerson(InfoPerson.newInfoFromDomain(qualification.getPerson())); }
super.copyFromDomain(qualification); if (qualification != null) { final Country country = qualification.getCountry(); if (country != null) { final InfoCountryEditor infoCountryEditor = new InfoCountryEditor(); infoCountryEditor.setCode(country.getCode()); infoCountryEditor.setIdInternal(country.getIdInternal()); infoCountryEditor.setName(country.getName()); infoCountryEditor.setNationality(country.getNationality()); setInfoCountry(infoCountryEditor); } setInfoPerson(InfoPerson.newInfoFromDomain(qualification.getPerson())); }
    public void copyFromDomain(Qualification qualification) {        super.copyFromDomain(qualification);        if (qualification != null) {            final Country country = qualification.getCountry();            final InfoCountryEditor infoCountryEditor = new InfoCountryEditor();            infoCountryEditor.setCode(country.getCode());            infoCountryEditor.setIdInternal(country.getIdInternal());            infoCountryEditor.setName(country.getName());            infoCountryEditor.setNationality(country.getNationality());            setInfoCountry(infoCountryEditor);            setInfoPerson(InfoPerson.newInfoFromDomain(qualification.getPerson()));        }    }