View Javadoc

1   /**
2    * Copyright 2005-2013 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.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/ecl2.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.lu.ui.krms.dto;
17  
18  import java.io.Serializable;
19  
20  /**
21   * This is a lightweight wrapper for Clu Information used in the KRMS UI.
22   *
23   * @author Kuali Student Team
24   */
25  public class CluInformation extends CluCore implements Serializable {
26  
27      private static final long serialVersionUID = 1123124L;
28  
29      private String cluId;
30      private String verIndependentId;
31      private String title;
32      private String description;
33      private String type;
34      private String state;
35      private String parentCluId;
36  
37      public CluInformation() {
38          super();
39      }
40  
41      public CluInformation(String code, String shortName, String credits) {
42          super(code, shortName, credits);
43      }
44  
45      public String getCluId() {
46          return cluId;
47      }
48  
49      public void setCluId(String cluId) {
50          this.cluId = cluId;
51      }
52  
53      public String getTitle() {
54          return title;
55      }
56  
57      public void setTitle(String title) {
58          this.title = title;
59      }
60  
61      public String getDescription() {
62          return description;
63      }
64  
65      public void setDescription(String description) {
66          this.description = description;
67      }
68  
69      public void setVerIndependentId(String verIndependentId) {
70          this.verIndependentId = verIndependentId;
71      }
72  
73      public String getVerIndependentId() {
74          return verIndependentId;
75      }
76  
77      public String getType() {
78          return type;
79      }
80  
81      public void setType(String type) {
82          this.type = type;
83      }
84  
85      public String getState() {
86          return state;
87      }
88  
89      public void setState(String state) {
90          this.state = state;
91      }
92  
93      public String getParentCluId() {
94          return parentCluId;
95      }
96  
97      public void setParentCluId(String parentCluId) {
98          this.parentCluId = parentCluId;
99      }
100 
101     public void clear() {
102         super.clear();
103         this.cluId = null;
104         this.verIndependentId = null;
105         this.title = null;
106         this.description = null;
107         this.type = null;
108         this.state = null;
109         this.parentCluId = null;
110     }
111 
112     @Override
113     public String toString() {
114         return this.getVerIndependentId();
115     }
116 }