1 |
|
package org.kuali.student.lum.lu.ui.course.server.gwt; |
2 |
|
|
3 |
|
import java.util.Iterator; |
4 |
|
import java.util.List; |
5 |
|
|
6 |
|
import org.kuali.student.core.statement.dto.ReqComponentInfo; |
7 |
|
import org.kuali.student.core.statement.dto.StatementTreeViewInfo; |
8 |
|
|
|
|
| 0% |
Uncovered Elements: 12 (12) |
Complexity: 4 |
Complexity Density: 0.67 |
|
9 |
|
public class CourseStateUtil { |
10 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
11 |
0
|
private CourseStateUtil() { ... |
12 |
|
} |
13 |
|
|
14 |
|
|
|
|
| 0% |
Uncovered Elements: 10 (10) |
Complexity: 3 |
Complexity Density: 0.5 |
|
15 |
0
|
public static void updateStatementTreeViewInfoState(String courseState, StatementTreeViewInfo statementTreeViewInfo) throws Exception {... |
16 |
0
|
statementTreeViewInfo.setState(courseState); |
17 |
0
|
List<ReqComponentInfo> reqComponents = statementTreeViewInfo.getReqComponents(); |
18 |
0
|
for(Iterator<ReqComponentInfo> it = reqComponents.iterator(); it.hasNext();) |
19 |
0
|
it.next().setState(courseState); |
20 |
0
|
for(Iterator<StatementTreeViewInfo> itr = statementTreeViewInfo.getStatements().iterator(); itr.hasNext();) |
21 |
0
|
updateStatementTreeViewInfoState(courseState, (StatementTreeViewInfo)itr.next()); |
22 |
|
} |
23 |
|
} |