View Javadoc

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      public LoInfo getLoInfo() {
62          return loInfo;
63      }
64  
65      public void setLoInfo(LoInfo loInfo) {
66          this.loInfo = loInfo;
67      }
68  
69      /**
70       * List of Lo Display information. (info and child relations
71       */
72      public List<LoDisplayInfo> getLoDisplayInfoList() {
73          if (loDisplayInfoList == null) {
74              loDisplayInfoList = new ArrayList<LoDisplayInfo>(0);
75          }
76          return loDisplayInfoList;
77      }
78  
79      public void setLoDisplayInfoList(List<LoDisplayInfo> loDisplayInfoList) {
80          this.loDisplayInfoList = loDisplayInfoList;
81      }
82  
83      /**
84       * Unique identifier for the LO to LO relation type.
85       */
86      public String getParentRelType() {
87          return parentRelType;
88      }
89  
90      public void setParentRelType(String parentRelType) {
91          this.parentRelType = parentRelType;
92      }
93  
94      /**
95       * Unique identifier for a LO to LO relationship.
96       */
97      public String getParentLoRelationid() {
98          return parentLoRelationid;
99      }
100 
101     public void setParentLoRelationid(String parentLoRelationid) {
102         this.parentLoRelationid = parentLoRelationid;
103     }
104 
105     /**
106      * List of learning objective category information.
107      */
108     public List<LoCategoryInfo> getLoCategoryInfoList() {
109         if (loCategoryInfoList == null) {
110             loCategoryInfoList = new ArrayList<LoCategoryInfo>(0);
111         }
112         return loCategoryInfoList;
113     }
114 
115     public void setLoCategoryInfoList(List<LoCategoryInfo> loCategoryInfoList) {
116         this.loCategoryInfoList = loCategoryInfoList;
117     }
118 }