package net.sourceforge.fenixedu.domain.tuition; import net.sourceforge.fenixedu.dataTransferObject.finantialServices.QuitTuitionArticleData; import net.sourceforge.fenixedu.dataTransferObject.finantialServices.TuitionArticleData; public class QuitTuitionArticle extends QuitTuitionArticle_Base { public QuitTuitionArticle() { super(); } @Override public boolean isQuitTuitionArticle() { return true; } @Override public void update(TuitionArticleData data) { update((QuitTuitionArticleData) data); } public void update(QuitTuitionArticleData data) { super.update(data); setPayPercentage(data.getPayPercentage()); } @Override public TuitionArticleData convertToDTO() { return new QuitTuitionArticleData(getCode(), getDescription(), getValue(), getManual(), getCurricularYear(), getStudentStatuteType(), getTuitionArticleState(), getPayPercentage()); } }