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