Package teammates.jdo

Examples of teammates.jdo.SubmissionResultsForStudent


      if (s.getFromStudent().equals(toStudent)
          && s.getToStudent().equals(toStudent)) {
        submissionResultsList.add(
            0,
            new SubmissionResultsForStudent(courseID,
                evaluationName, fromStudentName, toStudentName,
                s.getFromStudent(), s.getToStudent(),
                fromStudentComments, toStudentComments, s
                    .getTeamName(), s.getPoints(),
                pointsBumpRatio, s.getJustification(), s
                    .getCommentsToStudent()));
      }

      else {
        submissionResultsList.add(new SubmissionResultsForStudent(
            courseID, evaluationName, fromStudentName,
            toStudentName, s.getFromStudent(), s.getToStudent(),
            fromStudentComments, toStudentComments,
            s.getTeamName(), s.getPoints(), pointsBumpRatio, s
                .getJustification(), s.getCommentsToStudent()));
      }
    }

    // Sort by Comments alphabetically
    SubmissionResultsForStudent selfEvaluation = submissionResultsList
        .remove(0);

    Collections.sort(submissionResultsList,
        new Comparator<SubmissionResultsForStudent>() {
          public int compare(SubmissionResultsForStudent r1,
View Full Code Here


      if (s.getFromStudent().equals(toStudent)
          && s.getToStudent().equals(toStudent)) {
        submissionResultsList.add(
            0,
            new SubmissionResultsForStudent(courseID,
                evaluationName, fromStudentName, toStudentName,
                s.getFromStudent(), s.getToStudent(),
                fromStudentComments, toStudentComments, s
                    .getTeamName(), s.getPoints(),
                pointsBumpRatio, s.getJustification(), s
                    .getCommentsToStudent()));
      }

      else {
        submissionResultsList.add(new SubmissionResultsForStudent(
            courseID, evaluationName, fromStudentName,
            toStudentName, s.getFromStudent(), s.getToStudent(),
            fromStudentComments, toStudentComments,
            s.getTeamName(), s.getPoints(), pointsBumpRatio, s
                .getJustification(), s.getCommentsToStudent()));
View Full Code Here

      }

      pointsBumpRatio = evaluations.calculatePointsBumpRatio(courseID, evaluationName, s.getFromStudent(), fromList);

      if (s.getFromStudent().equals(toStudent) && s.getToStudent().equals(toStudent)) {
        submissionResultsList.add(0, new SubmissionResultsForStudent(courseID, evaluationName, fromStudentName, toStudentName, s.getFromStudent(), s.getToStudent(), fromStudentComments,
            toStudentComments, s.getTeamName(), s.getPoints(), pointsBumpRatio, s.getJustification(), s.getCommentsToStudent()));
      }

      else {
        submissionResultsList.add(new SubmissionResultsForStudent(courseID, evaluationName, fromStudentName, toStudentName, s.getFromStudent(), s.getToStudent(), fromStudentComments,
            toStudentComments, s.getTeamName(), s.getPoints(), pointsBumpRatio, s.getJustification(), s.getCommentsToStudent()));
      }
    }

    // Sort by Comments alphabetically
    SubmissionResultsForStudent selfEvaluation = submissionResultsList.remove(0);

    Collections.sort(submissionResultsList, new Comparator<SubmissionResultsForStudent>() {
      public int compare(SubmissionResultsForStudent r1, SubmissionResultsForStudent r2) {
        String s1 = r1.getCommentsToStudent().getValue();
        String s2 = r2.getCommentsToStudent().getValue();
View Full Code Here

TOP

Related Classes of teammates.jdo.SubmissionResultsForStudent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.