public void copyFromDomain(NonAffiliatedTeacher nonAffiliatedTeacher) {
super.copyFromDomain(nonAffiliatedTeacher);
if (nonAffiliatedTeacher != null) {
if (nonAffiliatedTeacher.getInstitutionUnit() != null) {
InfoInstitution infoInstitution = new InfoInstitution();
infoInstitution.copyFromDomain(nonAffiliatedTeacher.getInstitutionUnit());
setInfoInstitution(infoInstitution);
}
setName(nonAffiliatedTeacher.getName());
}
}