/* * Created on Mar 8, 2005 * */ package net.sourceforge.fenixedu.dataTransferObject.inquiries; import java.lang.reflect.InvocationTargetException; import net.sourceforge.fenixedu.dataTransferObject.InfoDegree; import net.sourceforge.fenixedu.dataTransferObject.InfoExecutionPeriod; import net.sourceforge.fenixedu.dataTransferObject.InfoObject; import net.sourceforge.fenixedu.domain.inquiries.OldInquiriesCoursesRes; /** * @author Joćo Fialho & Rita Ferreira * */ public class InfoOldInquiriesCoursesRes extends InfoObject implements Comparable { private Integer inquiryId; private Integer gepExecutionYear; private Integer semester; private Integer keyExecutionPeriod; private InfoExecutionPeriod executionPeriod; private Integer keyDegree; private InfoDegree degree; private Integer gepCourseId; private String courseCode; private String gepCourseName; private Integer curricularYear; private Integer numberAnswers; private Double numberEnrollments; private Double numberApproved; private Double numberEvaluated; private Double representationQuota; private Integer firstEnrollment; private Double average2_2; private Double deviation2_2; private Double tolerance2_2; private Integer numAnswers2_2; private Double average2_3; private Double deviation2_3; private Double tolerance2_3; private Integer numAnswers2_3; private Double average2_4; private Double deviation2_4; private Double tolerance2_4; private Integer numAnswers2_4; private Double average2_5; private Double deviation2_5; private Double tolerance2_5; private Integer numAnswers2_5_number; private Integer numAnswers2_5_text; private Double average2_6; private Double deviation2_6; private Double tolerance2_6; private Integer numAnswers2_6; private String average2_7; private Integer numAnswers2_7; private Double average2_8; private Double deviation2_8; private Double tolerance2_8; private Integer numAnswers2_8; /** * @return Returns the average2_2. */ public Double getAverage2_2() { return average2_2; } /** * @param average2_2 * The average2_2 to set. */ public void setAverage2_2(Double average2_2) { this.average2_2 = average2_2; } /** * @return Returns the average2_3. */ public Double getAverage2_3() { return average2_3; } /** * @param average2_3 * The average2_3 to set. */ public void setAverage2_3(Double average2_3) { this.average2_3 = average2_3; } /** * @return Returns the average2_4. */ public Double getAverage2_4() { return average2_4; } /** * @param average2_4 * The average2_4 to set. */ public void setAverage2_4(Double average2_4) { this.average2_4 = average2_4; } /** * @return Returns the average2_5. */ public Double getAverage2_5() { return average2_5; } /** * @param average2_5 * The average2_5 to set. */ public void setAverage2_5(Double average2_5) { this.average2_5 = average2_5; } /** * @return Returns the average2_6. */ public Double getAverage2_6() { return average2_6; } /** * @param average2_6 * The average2_6 to set. */ public void setAverage2_6(Double average2_6) { this.average2_6 = average2_6; } /** * @return Returns the average2_7. */ public String getAverage2_7() { return average2_7; } /** * @param average2_7 * The average2_7 to set. */ public void setAverage2_7(String average2_7) { this.average2_7 = average2_7; } /** * @return Returns the average2_8. */ public Double getAverage2_8() { return average2_8; } /** * @param average2_8 * The average2_8 to set. */ public void setAverage2_8(Double average2_8) { this.average2_8 = average2_8; } /** * @return Returns the courseCode. */ public String getCourseCode() { return courseCode; } /** * @param courseCode * The courseCode to set. */ public void setCourseCode(String courseCode) { this.courseCode = courseCode; } /** * @return Returns the gepCourseName. */ public String getGepCourseName() { return gepCourseName; } /** * @param gepCourseName * The gepCourseName to set. */ public void setGepCourseName(String gepCourseName) { this.gepCourseName = gepCourseName; } /** * @return Returns the curricularYear. */ public Integer getCurricularYear() { return curricularYear; } /** * @param curricularYear * The curricularYear to set. */ public void setCurricularYear(Integer curricularYear) { this.curricularYear = curricularYear; } /** * @return Returns the degree. */ public InfoDegree getDegree() { return degree; } /** * @param degree * The degree to set. */ public void setDegree(InfoDegree degree) { this.degree = degree; } /** * @return Returns the keyDegree. */ public Integer getKeyDegree() { return keyDegree; } /** * @param keyDegree * The keyDegree to set. */ public void setKeyDegree(Integer keyDegree) { this.keyDegree = keyDegree; } /** * @return Returns the deviation2_2. */ public Double getDeviation2_2() { return deviation2_2; } /** * @param deviation2_2 * The deviation2_2 to set. */ public void setDeviation2_2(Double deviation2_2) { this.deviation2_2 = deviation2_2; } /** * @return Returns the deviation2_3. */ public Double getDeviation2_3() { return deviation2_3; } /** * @param deviation2_3 * The deviation2_3 to set. */ public void setDeviation2_3(Double deviation2_3) { this.deviation2_3 = deviation2_3; } /** * @return Returns the deviation2_4. */ public Double getDeviation2_4() { return deviation2_4; } /** * @param deviation2_4 * The deviation2_4 to set. */ public void setDeviation2_4(Double deviation2_4) { this.deviation2_4 = deviation2_4; } /** * @return Returns the deviation2_5. */ public Double getDeviation2_5() { return deviation2_5; } /** * @param deviation2_5 * The deviation2_5 to set. */ public void setDeviation2_5(Double deviation2_5) { this.deviation2_5 = deviation2_5; } /** * @return Returns the deviation2_6. */ public Double getDeviation2_6() { return deviation2_6; } /** * @param deviation2_6 * The deviation2_6 to set. */ public void setDeviation2_6(Double deviation2_6) { this.deviation2_6 = deviation2_6; } /** * @return Returns the deviation2_8. */ public Double getDeviation2_8() { return deviation2_8; } /** * @param deviation2_8 * The deviation2_8 to set. */ public void setDeviation2_8(Double deviation2_8) { this.deviation2_8 = deviation2_8; } /** * @return Returns the executionPeriod. */ public InfoExecutionPeriod getExecutionPeriod() { return executionPeriod; } /** * @param executionPeriod * The executionPeriod to set. */ public void setExecutionPeriod(InfoExecutionPeriod executionPeriod) { this.executionPeriod = executionPeriod; } /** * @return Returns the firstEnrollment. */ public Integer getFirstEnrollment() { return firstEnrollment; } /** * @param firstEnrollment * The firstEnrollment to set. */ public void setFirstEnrollment(Integer firstEnrollment) { this.firstEnrollment = firstEnrollment; } /** * @return Returns the gepCourseId. */ public Integer getGepCourseId() { return gepCourseId; } /** * @param gepCourseId * The gepCourseId to set. */ public void setGepCourseId(Integer gepCourseId) { this.gepCourseId = gepCourseId; } /** * @return Returns the gepExecutionYear. */ public Integer getGepExecutionYear() { return gepExecutionYear; } /** * @param gepExecutionYear * The gepExecutionYear to set. */ public void setGepExecutionYear(Integer gepExecutionYear) { this.gepExecutionYear = gepExecutionYear; } /** * @return Returns the inquiryId. */ public Integer getInquiryId() { return inquiryId; } /** * @param inquiryId * The inquiryId to set. */ public void setInquiryId(Integer inquiryId) { this.inquiryId = inquiryId; } /** * @return Returns the keyExecutionPeriod. */ public Integer getKeyExecutionPeriod() { return keyExecutionPeriod; } /** * @param keyExecutionPeriod * The keyExecutionPeriod to set. */ public void setKeyExecutionPeriod(Integer keyExecutionPeriod) { this.keyExecutionPeriod = keyExecutionPeriod; } /** * @return Returns the numAnswers2_2. */ public Integer getNumAnswers2_2() { return numAnswers2_2; } /** * @param numAnswers2_2 * The numAnswers2_2 to set. */ public void setNumAnswers2_2(Integer numAnswers2_2) { this.numAnswers2_2 = numAnswers2_2; } /** * @return Returns the numAnswers2_3. */ public Integer getNumAnswers2_3() { return numAnswers2_3; } /** * @param numAnswers2_3 * The numAnswers2_3 to set. */ public void setNumAnswers2_3(Integer numAnswers2_3) { this.numAnswers2_3 = numAnswers2_3; } /** * @return Returns the numAnswers2_4. */ public Integer getNumAnswers2_4() { return numAnswers2_4; } /** * @param numAnswers2_4 * The numAnswers2_4 to set. */ public void setNumAnswers2_4(Integer numAnswers2_4) { this.numAnswers2_4 = numAnswers2_4; } /** * @return Returns the numAnswers2_5_number. */ public Integer getNumAnswers2_5_number() { return numAnswers2_5_number; } /** * @param numAnswers2_5_number * The numAnswers2_5_number to set. */ public void setNumAnswers2_5_number(Integer numAnswers2_5_number) { this.numAnswers2_5_number = numAnswers2_5_number; } /** * @return Returns the numAnswers2_5_text. */ public Integer getNumAnswers2_5_text() { return numAnswers2_5_text; } /** * @param numAnswers2_5_text * The numAnswers2_5_text to set. */ public void setNumAnswers2_5_text(Integer numAnswers2_5_text) { this.numAnswers2_5_text = numAnswers2_5_text; } /** * @return Returns the numAnswers2_6. */ public Integer getNumAnswers2_6() { return numAnswers2_6; } /** * @param numAnswers2_6 * The numAnswers2_6 to set. */ public void setNumAnswers2_6(Integer numAnswers2_6) { this.numAnswers2_6 = numAnswers2_6; } /** * @return Returns the numAnswers2_7. */ public Integer getNumAnswers2_7() { return numAnswers2_7; } /** * @param numAnswers2_7 * The numAnswers2_7 to set. */ public void setNumAnswers2_7(Integer numAnswers2_7) { this.numAnswers2_7 = numAnswers2_7; } /** * @return Returns the numAnswers2_8. */ public Integer getNumAnswers2_8() { return numAnswers2_8; } /** * @param numAnswers2_8 * The numAnswers2_8 to set. */ public void setNumAnswers2_8(Integer numAnswers2_8) { this.numAnswers2_8 = numAnswers2_8; } /** * @return Returns the numberAnswers. */ public Integer getNumberAnswers() { return numberAnswers; } /** * @param numberAnswers * The numberAnswers to set. */ public void setNumberAnswers(Integer numberAnswers) { this.numberAnswers = numberAnswers; } /** * @return Returns the numberApproved. */ public Double getNumberApproved() { return numberApproved; } /** * @param numberApproved * The numberApproved to set. */ public void setNumberApproved(Double numberApproved) { this.numberApproved = numberApproved; } /** * @return Returns the numberEnrollments. */ public Double getNumberEnrollments() { return numberEnrollments; } /** * @param numberEnrollments * The numberEnrollments to set. */ public void setNumberEnrollments(Double numberEnrollments) { this.numberEnrollments = numberEnrollments; } /** * @return Returns the numberEvaluated. */ public Double getNumberEvaluated() { return numberEvaluated; } /** * @param numberEvaluated * The numberEvaluated to set. */ public void setNumberEvaluated(Double numberEvaluated) { this.numberEvaluated = numberEvaluated; } /** * @return Returns the representationQuota. */ public Double getRepresentationQuota() { return representationQuota; } /** * @param representationQuota * The representationQuota to set. */ public void setRepresentationQuota(Double representationQuota) { this.representationQuota = representationQuota; } /** * @return Returns the semester. */ public Integer getSemester() { return semester; } /** * @param semester * The semester to set. */ public void setSemester(Integer semester) { this.semester = semester; } /** * @return Returns the tolerance2_2. */ public Double getTolerance2_2() { return tolerance2_2; } /** * @param tolerance2_2 * The tolerance2_2 to set. */ public void setTolerance2_2(Double tolerance2_2) { this.tolerance2_2 = tolerance2_2; } /** * @return Returns the tolerance2_3. */ public Double getTolerance2_3() { return tolerance2_3; } /** * @param tolerance2_3 * The tolerance2_3 to set. */ public void setTolerance2_3(Double tolerance2_3) { this.tolerance2_3 = tolerance2_3; } /** * @return Returns the tolerance2_4. */ public Double getTolerance2_4() { return tolerance2_4; } /** * @param tolerance2_4 * The tolerance2_4 to set. */ public void setTolerance2_4(Double tolerance2_4) { this.tolerance2_4 = tolerance2_4; } /** * @return Returns the tolerance2_5. */ public Double getTolerance2_5() { return tolerance2_5; } /** * @param tolerance2_5 * The tolerance2_5 to set. */ public void setTolerance2_5(Double tolerance2_5) { this.tolerance2_5 = tolerance2_5; } /** * @return Returns the tolerance2_6. */ public Double getTolerance2_6() { return tolerance2_6; } /** * @param tolerance2_6 * The tolerance2_6 to set. */ public void setTolerance2_6(Double tolerance2_6) { this.tolerance2_6 = tolerance2_6; } /** * @return Returns the tolerance2_8. */ public Double getTolerance2_8() { return tolerance2_8; } /** * @param tolerance2_8 * The tolerance2_8 to set. */ public void setTolerance2_8(Double tolerance2_8) { this.tolerance2_8 = tolerance2_8; } /* * (non-Javadoc) * * @see java.lang.Comparable#compareTo(java.lang.Object) */ public int compareTo(Object arg0) { // TODO Auto-generated method stub return 0; } public static InfoOldInquiriesCoursesRes newInfoFromDomain(OldInquiriesCoursesRes oldInquiriesCoursesRes) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException { InfoOldInquiriesCoursesRes newInfo = null; if (oldInquiriesCoursesRes != null) { newInfo = new InfoOldInquiriesCoursesRes(); newInfo.copyFromDomain(oldInquiriesCoursesRes); } return newInfo; } public void copyFromDomain(OldInquiriesCoursesRes oldInquiriesCoursesRes) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException { if (oldInquiriesCoursesRes != null) { super.copyFromDomain(oldInquiriesCoursesRes); } setAverage2_2(oldInquiriesCoursesRes.getAverage2_2()); setAverage2_3(oldInquiriesCoursesRes.getAverage2_3()); setAverage2_4(oldInquiriesCoursesRes.getAverage2_4()); setAverage2_5(oldInquiriesCoursesRes.getAverage2_5()); setAverage2_6(oldInquiriesCoursesRes.getAverage2_6()); setAverage2_7(oldInquiriesCoursesRes.getAverage2_7()); setAverage2_8(oldInquiriesCoursesRes.getAverage2_8()); setCourseCode(oldInquiriesCoursesRes.getCourseCode()); setCurricularYear(oldInquiriesCoursesRes.getCurricularYear()); setDeviation2_2(oldInquiriesCoursesRes.getDeviation2_2()); setDeviation2_3(oldInquiriesCoursesRes.getDeviation2_3()); setDeviation2_4(oldInquiriesCoursesRes.getDeviation2_4()); setDeviation2_5(oldInquiriesCoursesRes.getDeviation2_5()); setDeviation2_6(oldInquiriesCoursesRes.getDeviation2_6()); // setDeviation2_7(oldInquiriesCoursesRes.getDeviation2_7()); setDeviation2_8(oldInquiriesCoursesRes.getDeviation2_8()); setFirstEnrollment(oldInquiriesCoursesRes.getFirstEnrollment()); setGepCourseId(oldInquiriesCoursesRes.getGepCourseId()); setGepCourseName(oldInquiriesCoursesRes.getGepCourseName()); setGepExecutionYear(oldInquiriesCoursesRes.getGepExecutionYear()); setIdInternal(oldInquiriesCoursesRes.getIdInternal()); setInquiryId(oldInquiriesCoursesRes.getInquiryId()); setNumAnswers2_2(oldInquiriesCoursesRes.getNumAnswers2_2()); setNumAnswers2_3(oldInquiriesCoursesRes.getNumAnswers2_3()); setNumAnswers2_4(oldInquiriesCoursesRes.getNumAnswers2_4()); // setNumAnswers2_5(oldInquiriesCoursesRes.getNumAnswers2_5()); setNumAnswers2_6(oldInquiriesCoursesRes.getNumAnswers2_6()); setNumAnswers2_7(oldInquiriesCoursesRes.getNumAnswers2_7()); setNumAnswers2_8(oldInquiriesCoursesRes.getNumAnswers2_8()); setNumberAnswers(oldInquiriesCoursesRes.getNumberAnswers()); setNumberApproved(oldInquiriesCoursesRes.getNumberApproved()); setNumberEnrollments(oldInquiriesCoursesRes.getNumberEnrollments()); setNumberEvaluated(oldInquiriesCoursesRes.getNumberEvaluated()); setRepresentationQuota(oldInquiriesCoursesRes.getRepresentationQuota()); setSemester(oldInquiriesCoursesRes.getSemester()); setTolerance2_2(oldInquiriesCoursesRes.getTolerance2_2()); setTolerance2_3(oldInquiriesCoursesRes.getTolerance2_3()); setTolerance2_4(oldInquiriesCoursesRes.getTolerance2_4()); setTolerance2_5(oldInquiriesCoursesRes.getTolerance2_5()); setTolerance2_6(oldInquiriesCoursesRes.getTolerance2_6()); // setTolerance2_7(oldInquiriesCoursesRes.getTolerance2_7()); setTolerance2_8(oldInquiriesCoursesRes.getTolerance2_8()); this.setExecutionPeriod(InfoExecutionPeriod.newInfoFromDomain(oldInquiriesCoursesRes.getExecutionPeriod())); this.setDegree(InfoDegree.newInfoFromDomain(oldInquiriesCoursesRes.getDegree())); } }