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 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 if (this.statements == null) {
34 this.statements = new ArrayList<StatementTreeViewInfo>(0);
35 }
36 return statements;
37 }
38
39 public void setStatements(List<StatementTreeViewInfo> statements) {
40 this.statements = statements;
41 }
42
43 public List<ReqComponentInfo> getReqComponents() {
44 if (this.reqComponents == null) {
45 this.reqComponents = new ArrayList<ReqComponentInfo>(0);
46 }
47 return reqComponents;
48 }
49
50 public void setReqComponents(List<ReqComponentInfo> reqComponents) {
51 this.reqComponents = reqComponents;
52 }
53
54 @Override
55 public String toString() {
56 return "StatementTreeViewInfo[id=" + getId() + "]";
57 }
58 }