1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.student.core.statement.dto; |
17 | |
|
18 | |
import java.util.ArrayList; |
19 | |
import java.util.List; |
20 | |
|
21 | |
import javax.xml.bind.annotation.XmlElement; |
22 | |
|
23 | 0 | public class StatementTreeViewInfo extends AbstractStatementInfo { |
24 | |
|
25 | |
private static final long serialVersionUID = 1L; |
26 | |
|
27 | |
@XmlElement |
28 | |
private List<StatementTreeViewInfo> statements; |
29 | |
@XmlElement |
30 | |
private List<ReqComponentInfo> reqComponents; |
31 | |
|
32 | |
public List<StatementTreeViewInfo> getStatements() { |
33 | 0 | if (this.statements == null) { |
34 | 0 | this.statements = new ArrayList<StatementTreeViewInfo>(0); |
35 | |
} |
36 | 0 | return statements; |
37 | |
} |
38 | |
|
39 | |
public void setStatements(List<StatementTreeViewInfo> statements) { |
40 | 0 | this.statements = statements; |
41 | 0 | } |
42 | |
|
43 | |
public List<ReqComponentInfo> getReqComponents() { |
44 | 0 | if (this.reqComponents == null) { |
45 | 0 | this.reqComponents = new ArrayList<ReqComponentInfo>(0); |
46 | |
} |
47 | 0 | return reqComponents; |
48 | |
} |
49 | |
|
50 | |
public void setReqComponents(List<ReqComponentInfo> reqComponents) { |
51 | 0 | this.reqComponents = reqComponents; |
52 | 0 | } |
53 | |
|
54 | |
@Override |
55 | |
public String toString() { |
56 | 0 | return "StatementTreeViewInfo[id=" + getId() + "]"; |
57 | |
} |
58 | |
} |