Specialization specialization, StudentCurricularPlanState state) { List<StudentCurricularPlan> result = new ArrayList<StudentCurricularPlan>(); for (StudentCurricularPlan studentCurricularPlan : this.getStudentCurricularPlans()) { if (studentCurricularPlan.getSpecialization() != null && studentCurricularPlan.getSpecialization().equals(specialization) && studentCurricularPlan.getCurrentState() != null && studentCurricularPlan.getCurrentState().equals(state)) { result.add(studentCurricularPlan); } } return result;
Specialization specialization, StudentCurricularPlanState state) { List<StudentCurricularPlan> result = new ArrayList<StudentCurricularPlan>(); for (StudentCurricularPlan studentCurricularPlan : this.getStudentCurricularPlans()) { if (studentCurricularPlan.getSpecialization() != null && studentCurricularPlan.getSpecialization().equals(specialization) && studentCurricularPlan.getCurrentState() != null && studentCurricularPlan.getCurrentState().equals(state)) { result.add(studentCurricularPlan); }
	public List<StudentCurricularPlan> getStudentCurricularPlansBySpecializationAndState(			Specialization specialization, StudentCurricularPlanState state) {		List<StudentCurricularPlan> result = new ArrayList<StudentCurricularPlan>();		for (StudentCurricularPlan studentCurricularPlan : this.getStudentCurricularPlans()) {			if (studentCurricularPlan.getSpecialization() != null					&& studentCurricularPlan.getSpecialization().equals(specialization)					&& studentCurricularPlan.getCurrentState() != null					&& studentCurricularPlan.getCurrentState().equals(state)) {				result.add(studentCurricularPlan);			}		}		return result;	}