setTipoCurso((degree.isBolonhaDegree()) ? degree.getBolonhaDegreeType() : degree.getTipoCurso());
setTipoCurso(degree.getTipoCurso());
    public void copyFromDomain(Degree degree) {        super.copyFromDomain(degree);        if (degree != null) {            setSigla(degree.getSigla());            setTipoCurso((degree.isBolonhaDegree()) ? degree.getBolonhaDegreeType() : degree.getTipoCurso());            setNome(degree.getNome());            setNameEn(degree.getNameEn());            setGradeScale(degree.getGradeScale());            List<InfoDegreeCurricularPlan> degreeCurricularPlans = new ArrayList<InfoDegreeCurricularPlan>();            for (DegreeCurricularPlan dcp : degree.getDegreeCurricularPlans()) {                degreeCurricularPlans.add(InfoDegreeCurricularPlan.newInfoFromDomain(dcp));            }            setInfoDegreeCurricularPlans(degreeCurricularPlans);        }    }