protected void checkDisconnected() {
   super.checkDisconnected();
   DO_State castedState = (DO_State) this.get$obj$state(false);
   if (castedState.executionSemester != null)
     handleAttemptToDeleteConnectedObject("ExecutionSemester");
   if (get$rl$students().size() > 0) handleAttemptToDeleteConnectedObject("Students");
 }
 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;
   castedState.executionSemester =
       pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readDomainObject(
           rs, "OID_EXECUTION_SEMESTER");
 }
 protected void create$allLists() {
   super.create$allLists();
   get$$relationList(
       "students",
       getRelationResidenceManagementStudentsPerformanceReportStudent().getInverseRelation());
 }
 @Override
 protected void init$Instance(boolean allocateOnly) {
   super.init$Instance(allocateOnly);
 }