package net.sourceforge.fenixedu.dataTransferObject.transactions; import net.sourceforge.fenixedu.dataTransferObject.guide.reimbursementGuide.InfoReimbursementGuideEntry; import net.sourceforge.fenixedu.domain.transactions.ReimbursementTransaction; /** * @author Shezad Anavarali * @author Nadir Tarmahomed * */ public class InfoReimbursementTransaction extends InfoTransaction { private InfoReimbursementGuideEntry infoReimbursementGuideEntry; public void copyFromDomain(ReimbursementTransaction reimbursementTransaction) { super.copyFromDomain(reimbursementTransaction); this.infoReimbursementGuideEntry = InfoReimbursementGuideEntry.newInfoFromDomain(reimbursementTransaction .getReimbursementGuideEntry()); } public static InfoReimbursementTransaction newInfoFromDomain(ReimbursementTransaction reimbursementTransaction) { if (reimbursementTransaction == null) { return null; } InfoReimbursementTransaction infoReimbursementTransaction = new InfoReimbursementTransaction(); infoReimbursementTransaction.copyFromDomain(reimbursementTransaction); return infoReimbursementTransaction; } /** * @return Returns the infoReimbursementGuideEntry. */ public InfoReimbursementGuideEntry getInfoReimbursementGuideEntry() { return infoReimbursementGuideEntry; } /** * @param infoReimbursementGuideEntry * The infoReimbursementGuideEntry to set. */ public void setInfoReimbursementGuideEntry(InfoReimbursementGuideEntry infoReimbursementGuideEntry) { this.infoReimbursementGuideEntry = infoReimbursementGuideEntry; } }