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$code(
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readString(rs, "CODE"),
       state);
   set$name(
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readString(rs, "NAME"),
       state);
   set$realName(
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readString(
           rs, "REAL_NAME"),
       state);
   set$realNameEn(
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readString(
           rs, "REAL_NAME_EN"),
       state);
   set$active(
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readBoolean(rs, "ACTIVE"),
       state);
   castedState.membersGroup =
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readDomainObject(
           rs, "OID_MEMBERS_GROUP");
   castedState.departmentUnit =
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readDomainObject(
           rs, "OID_DEPARTMENT_UNIT");
   castedState.rootDomainObject =
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readDomainObject(
           rs, "OID_ROOT_DOMAIN_OBJECT");
   castedState.forum =
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readDomainObject(
           rs, "OID_FORUM");
 }
 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$domainEntries(
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readString(
           rs, "DOMAIN_ENTRIES"),
       state);
 }
 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$path(
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readString(rs, "PATH"),
       state);
   set$treeDirectoriesNameLength(
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readInteger(
           rs, "TREE_DIRECTORIES_NAME_LENGTH"),
       state);
   castedState.schedulerSystem =
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readDomainObject(
           rs, "OID_SCHEDULER_SYSTEM");
 }
 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$comment(
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readString(rs, "COMMENT"),
       state);
   castedState.rootDomainObject =
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readDomainObject(
           rs, "OID_ROOT_DOMAIN_OBJECT");
   castedState.cerimonyInquiryAnswer =
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readDomainObject(
           rs, "OID_CERIMONY_INQUIRY_ANSWER");
   castedState.person =
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readDomainObject(
           rs, "OID_PERSON");
   castedState.cerimonyInquiry =
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readDomainObject(
           rs, "OID_CERIMONY_INQUIRY");
 }
 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");
 }