public boolean evaluate(Object arg0) { EnrolmentEvaluation enrolmentEvaluation = (EnrolmentEvaluation) arg0; return enrolmentEvaluation.getEnrolmentEvaluationState().equals( EnrolmentEvaluationState.FINAL_OBJ); }
public boolean evaluate(Object arg0) { EnrolmentEvaluation enrolmentEvaluation = (EnrolmentEvaluation) arg0; return enrolmentEvaluation.getEnrolmentEvaluationState().equals( EnrolmentEvaluationState.FINAL_OBJ) || enrolmentEvaluation.getEnrolmentEvaluationState().equals( EnrolmentEvaluationState.RECTIFICATION_OBJ); }
    public List<EnrolmentEvaluation> getAllFinalEnrolmentEvaluations() {        return (List<EnrolmentEvaluation>) CollectionUtils.select(getEvaluations(), new Predicate() {            public boolean evaluate(Object arg0) {                EnrolmentEvaluation enrolmentEvaluation = (EnrolmentEvaluation) arg0;                return enrolmentEvaluation.getEnrolmentEvaluationState().equals(                        EnrolmentEvaluationState.FINAL_OBJ);            }        });    }