final public List<InsuranceTransaction> readAllNonReimbursedInsuranceTransactionsByExecutionYear(ExecutionYear executionYear) {
List<InsuranceTransaction> nonReimbursedInsuranceTransactions = new ArrayList<InsuranceTransaction>();
for (InsuranceTransaction insuranceTransaction : this.getInsuranceTransactionsSet()) {
if (insuranceTransaction.getExecutionYear().equals(executionYear)) {
GuideEntry guideEntry = insuranceTransaction.getGuideEntry();
if (guideEntry == null || guideEntry.getReimbursementGuideEntriesSet().isEmpty()) {
nonReimbursedInsuranceTransactions.add(insuranceTransaction);
} else {
boolean isReimbursed = false;
for (ReimbursementGuideEntry reimbursementGuideEntry : guideEntry.getReimbursementGuideEntriesSet()) {
if (reimbursementGuideEntry.getReimbursementGuide().getActiveReimbursementGuideSituation()
.getReimbursementGuideState().equals(ReimbursementGuideState.PAYED)) {
isReimbursed = true;
break;
}