Example #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;
 }
 public Registration findBestRegistration(final Student student) {
   for (final Registration registration : student.getRegistrationsSet()) {
     for (final ExecutionDegree executionDegree :
         getOutboundMobilityCandidacyContestGroup().getExecutionDegreeSet()) {
       if (executionDegree.getDegree() == registration.getDegree()) {
         final ExecutionYear executionYear =
             (ExecutionYear) getOutboundMobilityCandidacyPeriod().getExecutionInterval();
         final RegistrationState registrationState =
             registration.getLastRegistrationState(executionYear);
         if (registrationState != null && registrationState.getStateType().isActive()) {
           return registration;
         }
       }
     }
   }
   return null;
 }
Example #3
0
 protected void create$allLists() {
   super.create$allLists();
 }
Example #4
0
 protected void checkDisconnected() {
   super.checkDisconnected();
   DO_State castedState = (DO_State) this.get$obj$state(false);
 }
Example #5
0
 @Override
 protected void init$Instance(boolean allocateOnly) {
   super.init$Instance(allocateOnly);
 }