コード例 #1
0
 protected void readStateFromResultSet(
     java.sql.ResultSet rs,
     pt.ist.fenixframework.backend.jvstmojb.pstm.OneBoxDomainObject.DO_State state)
     throws java.sql.SQLException {
   super.readStateFromResultSet(rs, state);
   DO_State castedState = (DO_State) state;
   set$type(
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readEnum(
           org.fenixedu.academic.domain.phd.seminar.PublicPresentationSeminarProcessStateType
               .class,
           rs,
           "TYPE"),
       state);
   castedState.process =
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readDomainObject(
           rs, "OID_PROCESS");
 }
コード例 #2
0
 protected void readStateFromResultSet(
     java.sql.ResultSet rs,
     pt.ist.fenixframework.backend.jvstmojb.pstm.OneBoxDomainObject.DO_State state)
     throws java.sql.SQLException {
   DO_State castedState = (DO_State) state;
   set$howLongKnownApplicant(
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readString(
           rs, "HOW_LONG_KNOWN_APPLICANT"),
       state);
   set$capacity(
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readString(
           rs, "CAPACITY"),
       state);
   set$comparisonGroup(
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readString(
           rs, "COMPARISON_GROUP"),
       state);
   set$rankInClass(
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readString(
           rs, "RANK_IN_CLASS"),
       state);
   set$academicPerformance(
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readEnum(
           org.fenixedu.academic.domain.phd.candidacy.ApplicantOverallPromise.class,
           rs,
           "ACADEMIC_PERFORMANCE"),
       state);
   set$socialAndCommunicationSkills(
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readEnum(
           org.fenixedu.academic.domain.phd.candidacy.ApplicantOverallPromise.class,
           rs,
           "SOCIAL_AND_COMMUNICATION_SKILLS"),
       state);
   set$potencialToExcelPhd(
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readEnum(
           org.fenixedu.academic.domain.phd.candidacy.ApplicantOverallPromise.class,
           rs,
           "POTENCIAL_TO_EXCEL_PHD"),
       state);
   set$comments(
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readString(
           rs, "COMMENTS"),
       state);
   set$refereeName(
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readString(
           rs, "REFEREE_NAME"),
       state);
   set$refereePosition(
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readString(
           rs, "REFEREE_POSITION"),
       state);
   set$refereeInstitution(
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readString(
           rs, "REFEREE_INSTITUTION"),
       state);
   set$refereeAddress(
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readString(
           rs, "REFEREE_ADDRESS"),
       state);
   set$refereeCity(
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readString(
           rs, "REFEREE_CITY"),
       state);
   set$refereeZipCode(
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readString(
           rs, "REFEREE_ZIP_CODE"),
       state);
   castedState.refereeCountry =
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readDomainObject(
           rs, "OID_REFEREE_COUNTRY");
   castedState.rootDomainObject =
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readDomainObject(
           rs, "OID_ROOT_DOMAIN_OBJECT");
   castedState.phdProgramCandidacyProcess =
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readDomainObject(
           rs, "OID_PHD_PROGRAM_CANDIDACY_PROCESS");
   castedState.candidacyReferee =
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readDomainObject(
           rs, "OID_CANDIDACY_REFEREE");
   castedState.file =
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readDomainObject(
           rs, "OID_FILE");
 }