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 | |
|
24 | |
|
25 | |
|
26 | 0 | public class StatementInfo extends AbstractStatementInfo { |
27 | |
|
28 | |
private static final long serialVersionUID = 1L; |
29 | |
|
30 | |
@XmlElement |
31 | |
private List<String> statementIds; |
32 | |
|
33 | |
@XmlElement |
34 | |
private List<String> reqComponentIds; |
35 | |
|
36 | |
|
37 | |
|
38 | |
public List<String> getStatementIds() { |
39 | 0 | if (statementIds == null) { |
40 | 0 | statementIds = new ArrayList<String>(0); |
41 | |
} |
42 | 0 | return statementIds; |
43 | |
} |
44 | |
|
45 | |
public void setStatementIds(List<String> statementIds) { |
46 | 0 | this.statementIds = statementIds; |
47 | 0 | } |
48 | |
|
49 | |
|
50 | |
|
51 | |
|
52 | |
public List<String> getReqComponentIds() { |
53 | 0 | if (reqComponentIds == null) { |
54 | 0 | reqComponentIds = new ArrayList<String>(0); |
55 | |
} |
56 | 0 | return reqComponentIds; |
57 | |
} |
58 | |
|
59 | |
public void setReqComponentIds(List<String> reqComponentIds) { |
60 | 0 | this.reqComponentIds = reqComponentIds; |
61 | 0 | } |
62 | |
|
63 | |
@Override |
64 | |
public String toString() { |
65 | 0 | return "StatementInfo[id=" + getId() + (getDesc() == null ? "" : ", desc=" + getDesc().getPlain()) + ", operator=" + getOperator() + ", type=" |
66 | |
+ getType() + ", state=" + getState() + "]"; |
67 | |
} |
68 | |
} |