/* * Created on 26/Nov/2003 * */ package net.sourceforge.fenixedu.dataTransferObject.gaugingTests.physics; import net.sourceforge.fenixedu.dataTransferObject.InfoObject; import net.sourceforge.fenixedu.dataTransferObject.InfoStudent; import net.sourceforge.fenixedu.domain.gaugingTests.physics.GaugingTestResult; /** * @author Joćo Mota 26/Nov/2003 * */ public class InfoGaugingTestResult extends InfoObject { private InfoStudent infoStudent; private Integer test; private String p1; private String p2; private String p3; private String p4; private String p5; private String p6; private String p7; private String p8; private String p9; private String p10; private String p11; private String p12; private String p13; private String p14; private String p15; private String p16; private String p17; private String p18; private String p19; private String p20; private String p21; private String p22; private String p23; private String p24; private String p25; private String p26; private String p27; private String p28; private Integer unanswered; private Integer correct; private Integer wrong; private Double cf; /** * @return Returns the cf. */ public Double getCf() { return cf; } /** * @param cf * The cf to set. */ public void setCf(Double cf) { this.cf = cf; } /** * @return Returns the correct. */ public Integer getCorrect() { return correct; } /** * @param correct * The correct to set. */ public void setCorrect(Integer correct) { this.correct = correct; } /** * @return Returns the infoStudent. */ public InfoStudent getInfoStudent() { return infoStudent; } /** * @param infoStudent * The infoStudent to set. */ public void setInfoStudent(InfoStudent infoStudent) { this.infoStudent = infoStudent; } /** * @return Returns the p1. */ public String getP1() { return p1; } /** * @param p1 * The p1 to set. */ public void setP1(String p1) { this.p1 = p1; } /** * @return Returns the p10. */ public String getP10() { return p10; } /** * @param p10 * The p10 to set. */ public void setP10(String p10) { this.p10 = p10; } /** * @return Returns the p11. */ public String getP11() { return p11; } /** * @param p11 * The p11 to set. */ public void setP11(String p11) { this.p11 = p11; } /** * @return Returns the p12. */ public String getP12() { return p12; } /** * @param p12 * The p12 to set. */ public void setP12(String p12) { this.p12 = p12; } /** * @return Returns the p13. */ public String getP13() { return p13; } /** * @param p13 * The p13 to set. */ public void setP13(String p13) { this.p13 = p13; } /** * @return Returns the p14. */ public String getP14() { return p14; } /** * @param p14 * The p14 to set. */ public void setP14(String p14) { this.p14 = p14; } /** * @return Returns the p15. */ public String getP15() { return p15; } /** * @param p15 * The p15 to set. */ public void setP15(String p15) { this.p15 = p15; } /** * @return Returns the p16. */ public String getP16() { return p16; } /** * @param p16 * The p16 to set. */ public void setP16(String p16) { this.p16 = p16; } /** * @return Returns the p17. */ public String getP17() { return p17; } /** * @param p17 * The p17 to set. */ public void setP17(String p17) { this.p17 = p17; } /** * @return Returns the p18. */ public String getP18() { return p18; } /** * @param p18 * The p18 to set. */ public void setP18(String p18) { this.p18 = p18; } /** * @return Returns the p19. */ public String getP19() { return p19; } /** * @param p19 * The p19 to set. */ public void setP19(String p19) { this.p19 = p19; } /** * @return Returns the p2. */ public String getP2() { return p2; } /** * @param p2 * The p2 to set. */ public void setP2(String p2) { this.p2 = p2; } /** * @return Returns the p20. */ public String getP20() { return p20; } /** * @param p20 * The p20 to set. */ public void setP20(String p20) { this.p20 = p20; } /** * @return Returns the p21. */ public String getP21() { return p21; } /** * @param p21 * The p21 to set. */ public void setP21(String p21) { this.p21 = p21; } /** * @return Returns the p22. */ public String getP22() { return p22; } /** * @param p22 * The p22 to set. */ public void setP22(String p22) { this.p22 = p22; } /** * @return Returns the p23. */ public String getP23() { return p23; } /** * @param p23 * The p23 to set. */ public void setP23(String p23) { this.p23 = p23; } /** * @return Returns the p24. */ public String getP24() { return p24; } /** * @param p24 * The p24 to set. */ public void setP24(String p24) { this.p24 = p24; } /** * @return Returns the p25. */ public String getP25() { return p25; } /** * @param p25 * The p25 to set. */ public void setP25(String p25) { this.p25 = p25; } /** * @return Returns the p26. */ public String getP26() { return p26; } /** * @param p26 * The p26 to set. */ public void setP26(String p26) { this.p26 = p26; } /** * @return Returns the p27. */ public String getP27() { return p27; } /** * @param p27 * The p27 to set. */ public void setP27(String p27) { this.p27 = p27; } /** * @return Returns the p28. */ public String getP28() { return p28; } /** * @param p28 * The p28 to set. */ public void setP28(String p28) { this.p28 = p28; } /** * @return Returns the p3. */ public String getP3() { return p3; } /** * @param p3 * The p3 to set. */ public void setP3(String p3) { this.p3 = p3; } /** * @return Returns the p4. */ public String getP4() { return p4; } /** * @param p4 * The p4 to set. */ public void setP4(String p4) { this.p4 = p4; } /** * @return Returns the p5. */ public String getP5() { return p5; } /** * @param p5 * The p5 to set. */ public void setP5(String p5) { this.p5 = p5; } /** * @return Returns the p6. */ public String getP6() { return p6; } /** * @param p6 * The p6 to set. */ public void setP6(String p6) { this.p6 = p6; } /** * @return Returns the p7. */ public String getP7() { return p7; } /** * @param p7 * The p7 to set. */ public void setP7(String p7) { this.p7 = p7; } /** * @return Returns the p8. */ public String getP8() { return p8; } /** * @param p8 * The p8 to set. */ public void setP8(String p8) { this.p8 = p8; } /** * @return Returns the p9. */ public String getP9() { return p9; } /** * @param p9 * The p9 to set. */ public void setP9(String p9) { this.p9 = p9; } /** * @return Returns the test. */ public Integer getTest() { return test; } /** * @param test * The test to set. */ public void setTest(Integer test) { this.test = test; } /** * @return Returns the unanswered. */ public Integer getUnanswered() { return unanswered; } /** * @param unanswered * The unanswered to set. */ public void setUnanswered(Integer unanswered) { this.unanswered = unanswered; } /** * @return Returns the wrong. */ public Integer getWrong() { return wrong; } /** * @param wrong * The wrong to set. */ public void setWrong(Integer wrong) { this.wrong = wrong; } public static InfoGaugingTestResult newInfoFromDomain(GaugingTestResult gaugingTestsResult) { InfoStudent infoStudent = InfoStudent.newInfoFromDomain(gaugingTestsResult.getStudent()); InfoGaugingTestResult infoGaugingTestResult = new InfoGaugingTestResult(); infoGaugingTestResult.setCf(gaugingTestsResult.getCf()); infoGaugingTestResult.setCorrect(gaugingTestsResult.getCorrect()); infoGaugingTestResult.setIdInternal(gaugingTestsResult.getIdInternal()); infoGaugingTestResult.setP1(gaugingTestsResult.getP1()); infoGaugingTestResult.setP10(gaugingTestsResult.getP10()); infoGaugingTestResult.setP11(gaugingTestsResult.getP11()); infoGaugingTestResult.setP12(gaugingTestsResult.getP12()); infoGaugingTestResult.setP13(gaugingTestsResult.getP13()); infoGaugingTestResult.setP14(gaugingTestsResult.getP14()); infoGaugingTestResult.setP15(gaugingTestsResult.getP15()); infoGaugingTestResult.setP16(gaugingTestsResult.getP16()); infoGaugingTestResult.setP17(gaugingTestsResult.getP17()); infoGaugingTestResult.setP18(gaugingTestsResult.getP18()); infoGaugingTestResult.setP19(gaugingTestsResult.getP19()); infoGaugingTestResult.setP20(gaugingTestsResult.getP20()); infoGaugingTestResult.setP21(gaugingTestsResult.getP21()); infoGaugingTestResult.setP22(gaugingTestsResult.getP22()); infoGaugingTestResult.setP23(gaugingTestsResult.getP23()); infoGaugingTestResult.setP24(gaugingTestsResult.getP24()); infoGaugingTestResult.setP25(gaugingTestsResult.getP25()); infoGaugingTestResult.setP26(gaugingTestsResult.getP26()); infoGaugingTestResult.setP27(gaugingTestsResult.getP27()); infoGaugingTestResult.setP28(gaugingTestsResult.getP28()); infoGaugingTestResult.setP3(gaugingTestsResult.getP3()); infoGaugingTestResult.setP4(gaugingTestsResult.getP4()); infoGaugingTestResult.setP5(gaugingTestsResult.getP5()); infoGaugingTestResult.setP6(gaugingTestsResult.getP6()); infoGaugingTestResult.setP7(gaugingTestsResult.getP7()); infoGaugingTestResult.setP8(gaugingTestsResult.getP8()); infoGaugingTestResult.setP9(gaugingTestsResult.getP9()); infoGaugingTestResult.setTest(gaugingTestsResult.getTest()); infoGaugingTestResult.setUnanswered(gaugingTestsResult.getUnanswered()); infoGaugingTestResult.setWrong(gaugingTestsResult.getWrong()); infoGaugingTestResult.setInfoStudent(infoStudent); return infoGaugingTestResult; } }