Clover Coverage Report - Kuali Student 1.1.0-SNAPSHOT (Aggregated)
Coverage timestamp: Tue Feb 15 2011 04:04:07 EST
../../../../../../img/srcFileCovDistChart10.png 0% of files have more coverage
14   118   12   1.4
4   58   0.86   10
10     1.2  
1    
 
  LoDisplayInfo       Line # 39 14 0% 12 0 100% 1.0
 
  (36)
 
1    /*
2    * Copyright 2009 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 1.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl1.php
9    *
10    * Unless required by applicable law or agreed to in writing, software
11    * distributed under the License is distributed on an "AS IS" BASIS,
12    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13    * See the License for the specific language governing permissions and
14    * limitations under the License.
15    */
16    package org.kuali.student.lum.course.dto;
17   
18    import java.io.Serializable;
19    import java.util.ArrayList;
20    import java.util.List;
21   
22    import javax.xml.bind.annotation.XmlAccessType;
23    import javax.xml.bind.annotation.XmlAccessorType;
24    import javax.xml.bind.annotation.XmlElement;
25   
26    import org.kuali.student.lum.lo.dto.LoCategoryInfo;
27    import org.kuali.student.lum.lo.dto.LoInfo;
28   
29    /**
30    * Detailed information about an LO and all it's children for application use.
31    *
32    * @Author KSContractMojo
33    * @Author Kamal
34    * @Since Tue May 18 13:27:38 PDT 2010
35    * @See <a href="https://test.kuali.org/confluence/display/KULSTU/loDisplayInfo+Structure">LoDisplayInfo</>
36    *
37    */
38    @XmlAccessorType(XmlAccessType.FIELD)
 
39    public class LoDisplayInfo implements Serializable {
40   
41    private static final long serialVersionUID = 1L;
42   
43    @XmlElement
44    private LoInfo loInfo;
45   
46    @XmlElement
47    private List<LoDisplayInfo> loDisplayInfoList;
48   
49    @XmlElement
50    private String parentRelType;
51   
52    @XmlElement
53    private String parentLoRelationid;
54   
55    @XmlElement
56    private List<LoCategoryInfo> loCategoryInfoList;
57   
58    /**
59    * Detailed information about a learning objective
60    */
 
61  8216 toggle public LoInfo getLoInfo() {
62  8216 return loInfo;
63    }
64   
 
65  1584 toggle public void setLoInfo(LoInfo loInfo) {
66  1584 this.loInfo = loInfo;
67    }
68   
69    /**
70    * List of Lo Display information. (info and child relations
71    */
 
72  1870 toggle public List<LoDisplayInfo> getLoDisplayInfoList() {
73  1870 if (loDisplayInfoList == null) {
74  381 loDisplayInfoList = new ArrayList<LoDisplayInfo>(0);
75    }
76  1870 return loDisplayInfoList;
77    }
78   
 
79  546 toggle public void setLoDisplayInfoList(List<LoDisplayInfo> loDisplayInfoList) {
80  546 this.loDisplayInfoList = loDisplayInfoList;
81    }
82   
83    /**
84    * Unique identifier for the LO to LO relation type.
85    */
 
86  127 toggle public String getParentRelType() {
87  127 return parentRelType;
88    }
89   
 
90  838 toggle public void setParentRelType(String parentRelType) {
91  838 this.parentRelType = parentRelType;
92    }
93   
94    /**
95    * Unique identifier for a LO to LO relationship.
96    */
 
97  127 toggle public String getParentLoRelationid() {
98  127 return parentLoRelationid;
99    }
100   
 
101  838 toggle public void setParentLoRelationid(String parentLoRelationid) {
102  838 this.parentLoRelationid = parentLoRelationid;
103    }
104   
105    /**
106    * List of learning objective category information.
107    */
 
108  838 toggle public List<LoCategoryInfo> getLoCategoryInfoList() {
109  838 if (loCategoryInfoList == null) {
110  7 loCategoryInfoList = new ArrayList<LoCategoryInfo>(0);
111    }
112  838 return loCategoryInfoList;
113    }
114   
 
115  920 toggle public void setLoCategoryInfoList(List<LoCategoryInfo> loCategoryInfoList) {
116  920 this.loCategoryInfoList = loCategoryInfoList;
117    }
118    }