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; }
protected void create$allLists() { super.create$allLists(); }
protected void checkDisconnected() { super.checkDisconnected(); DO_State castedState = (DO_State) this.get$obj$state(false); }
@Override protected void init$Instance(boolean allocateOnly) { super.init$Instance(allocateOnly); }