Rev 1779 | Rev 1782 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1779 | Rev 1781 | ||
---|---|---|---|
Line 1341... | Line 1341... | ||
1341 | * @return 1, 2, 3, 4 |
1341 | * @return 1, 2, 3, 4 |
1342 | */ |
1342 | */ |
1343 | public int getAnoPlanoFromStudiesPlan() |
1343 | public int getAnoPlanoFromStudiesPlan() |
1344 | { |
1344 | { |
1345 | CourseImpl courseImpl = (CourseImpl) DaoFactory.getCourseDaoImpl().narrow(getCourse()); |
1345 | CourseImpl courseImpl = (CourseImpl) DaoFactory.getCourseDaoImpl().narrow(getCourse()); |
1346 | return courseImpl.getUnidadeAnoPlano(getSemestre(),getCode()); |
1346 | 1.5.0/docs/api/java/lang/Integer.html">Integer ano = courseImpl.getUnidadeAnoPlano(getSemestre(),getCode()); |
- | 1347 | if(ano == null) |
|
- | 1348 | return -1; |
|
- | 1349 | else |
|
- | 1350 | return ano; |
|
1347 | } |
1351 | } |
1348 | 1352 | ||
1349 | /** |
1353 | /** |
1350 | * Require Open Transaction |
1354 | * Require Open Transaction |
1351 | * @return S1, .., S8, T1 .. T8, A1 .. A4 |
1355 | * @return S1, .., S8, T1 .. T8, A1 .. A4 |
Line 1361... | Line 1365... | ||
1361 | * @return S1 = 1, S2 = 2,S3 = 3,S4 = 4 ...T1 e T2 = 1, T2 e T3 = 2, T4 e T5 = 3 ... |
1365 | * @return S1 = 1, S2 = 2,S3 = 3,S4 = 4 ...T1 e T2 = 1, T2 e T3 = 2, T4 e T5 = 3 ... |
1362 | */ |
1366 | */ |
1363 | public int getSemestrePlanoConvertido() |
1367 | public int getSemestrePlanoConvertido() |
1364 | { |
1368 | { |
1365 | CourseImpl courseImpl = (CourseImpl) DaoFactory.getCourseDaoImpl().narrow(getCourse()); |
1369 | CourseImpl courseImpl = (CourseImpl) DaoFactory.getCourseDaoImpl().narrow(getCourse()); |
1366 | return courseImpl.getUnidadeSemestrePlanoConvertido(getSemestre(), getCode()); |
1370 | 1.5.0/docs/api/java/lang/Integer.html">Integer semestre = courseImpl.getUnidadeSemestrePlanoConvertido(getSemestre(), getCode()); |
- | 1371 | if(semestre == null) |
|
- | 1372 | return -1; |
|
- | 1373 | else |
|
- | 1374 | return semestre; |
|
1367 | } |
1375 | } |
1368 | 1376 | ||
1369 | /** |
1377 | /** |
1370 | * Require Open Transaction |
1378 | * Require Open Transaction |
1371 | * @return S1 = 1, S2 = 2, S3 = 1, S4 = 2 ... T1 e T2 = 1, T2 e T3 = 2, T4 e T5 = 1, T6 e T7 = 2 |
1379 | * @return S1 = 1, S2 = 2, S3 = 1, S4 = 2 ... T1 e T2 = 1, T2 e T3 = 2, T4 e T5 = 1, T6 e T7 = 2 |