Clover Coverage Report - Kuali Student 1.2-M2-SNAPSHOT (Aggregated)
Coverage timestamp: Fri Apr 22 2011 04:03:20 EST
../../../../../../img/srcFileCovDistChart8.png 36% of files have more coverage
9   68   8   1.8
6   34   0.89   5
5     1.6  
1    
 
  StatementInfo       Line # 26 9 0% 8 4 80% 0.8
 
  (12)
 
1    /**
2    * Copyright 2010 The Kuali Foundation Licensed under the
3    * Educational Community License, Version 2.0 (the "License"); you may
4    * not use this file except in compliance with the License. You may
5    * obtain a copy of the License at
6    *
7    * http://www.osedu.org/licenses/ECL-2.0
8    *
9    * Unless required by applicable law or agreed to in writing,
10    * software distributed under the License is distributed on an "AS IS"
11    * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12    * or implied. See the License for the specific language governing
13    * permissions and limitations under the License.
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    *Detailed information about a single LU statement.
25    */
 
26    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    * List of LU statement identifiers.
37    */
 
38  22 toggle public List<String> getStatementIds() {
39  22 if (statementIds == null) {
40  2 statementIds = new ArrayList<String>(0);
41    }
42  22 return statementIds;
43    }
44   
 
45  45 toggle public void setStatementIds(List<String> statementIds) {
46  45 this.statementIds = statementIds;
47    }
48   
49    /**
50    * List of requirement component identifiers.
51    */
 
52  24 toggle public List<String> getReqComponentIds() {
53  24 if (reqComponentIds == null) {
54  3 reqComponentIds = new ArrayList<String>(0);
55    }
56  24 return reqComponentIds;
57    }
58   
 
59  45 toggle public void setReqComponentIds(List<String> reqComponentIds) {
60  45 this.reqComponentIds = reqComponentIds;
61    }
62   
 
63  0 toggle @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    }