package net.sourceforge.fenixedu.dataTransferObject.finantialServices; import java.io.Serializable; import java.math.BigDecimal; import net.sourceforge.fenixedu.domain.student.StudentStatuteType; import net.sourceforge.fenixedu.domain.tuition.DegreeTuitionArticleType; import net.sourceforge.fenixedu.domain.tuition.TuitionArticleState; public class DegreeTuitionArticleData extends TuitionArticleData implements Serializable { private static final long serialVersionUID = 1L; private DegreeTuitionArticleType degreeTuitionArticleType; public DegreeTuitionArticleData() { super(); } public DegreeTuitionArticleData(DegreeTuitionArticleData obj) { this(obj.getCode(), obj.getDescription(), obj.getValue(), obj.getManual(), obj.getCurricularYear(), obj .getStudentStatute(), obj.getState(), obj.getDegreeTuitionArticleType()); } public DegreeTuitionArticleData(String code, String description, BigDecimal value, Boolean manual, Integer curricularYear, StudentStatuteType studentStatute, TuitionArticleState state, DegreeTuitionArticleType degreeTuitionArticleType) { super(code, description, value, manual, curricularYear, studentStatute, state); this.degreeTuitionArticleType = degreeTuitionArticleType; } public DegreeTuitionArticleType getDegreeTuitionArticleType() { return degreeTuitionArticleType; } @Override public boolean isDegreeTuitionArticle() { return true; } @Override public TuitionArticleData getCopy() { return new DegreeTuitionArticleData(this); } }