Clover Coverage Report - KS Contract Documentation Generator 0.0.1-SNAPSHOT
Coverage timestamp: Wed Dec 31 1969 19:00:00 EST
../../../../../img/srcFileCovDistChart0.png 0% of files have more coverage
27   226   26   1.08
2   99   0.96   25
25     1.04  
1    
 
  State       Line # 27 27 0% 26 54 0% 0.0
 
No Tests
 
1    /*
2    * Copyright 2009 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.osedu.org/licenses/ECL-2.0
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.contract.model;
17   
18    import java.io.Serializable;
19    import java.util.Date;
20    import java.util.LinkedHashMap;
21    import java.util.Map;
22   
23    /**
24    * Models the state object in the spreadsheet
25    * @author nwright
26    */
 
27    public class State implements Serializable {
28   
29    public static final String DEFAULT = "(default)";
30    public static final String GROUPING = "Grouping";
31   
 
32  0 toggle public State() {
33  0 super();
34    }
35    private String xmlTypeState;
36   
37    /**
38    * Get the value of xmlTypeState
39    *
40    * @return the value of xmlTypeState
41    */
 
42  0 toggle public String getXmlTypeState() {
43  0 return xmlTypeState;
44    }
45   
46    /**
47    * Set the value of xmlTypeState
48    *
49    * @param objectType new value of xmlTypeState
50    */
 
51  0 toggle public void setXmlTypeState(String xmlTypeState) {
52  0 this.xmlTypeState = xmlTypeState;
53    }
54    private String xmlObject;
55   
56    /**
57    * Get the value of xmlObject
58    *
59    * @return the value of xmlObject
60    */
 
61  0 toggle public String getXmlObject() {
62  0 return xmlObject;
63    }
64   
65    /**
66    * Set the value of xmlObject
67    *
68    * @param xmlObject new value of xmlObject
69    */
 
70  0 toggle public void setXmlObject(String xmlObject) {
71  0 this.xmlObject = xmlObject;
72    }
73    private String xmlObjectDesc;
74   
75    /**
76    * Get the value of xmlObjectDesc
77    *
78    * @return the value of xmlObjectDesc
79    */
 
80  0 toggle public String getXmlObjectDesc() {
81  0 return xmlObjectDesc;
82    }
83   
84    /**
85    * Set the value of xmlObjectDesc
86    *
87    * @param xmlObjectDesc new value of xmlObjectDesc
88    */
 
89  0 toggle public void setXmlObjectDesc(String xmlObjectDesc) {
90  0 this.xmlObjectDesc = xmlObjectDesc;
91    }
92    private boolean include;
93   
94    /**
95    * Get the value of include
96    *
97    * @return the value of include
98    */
 
99  0 toggle public boolean getInclude() {
100  0 return include;
101    }
102   
103    /**
104    * Set the value of include
105    *
106    * @param include new value of include
107    */
 
108  0 toggle public void setInclude(boolean include) {
109  0 this.include = include;
110    }
111    private String name;
112   
113    /**
114    * Get the value of name
115    *
116    * @return the value of name
117    */
 
118  0 toggle public String getName() {
119  0 return name;
120    }
121   
122    /**
123    * Set the value of name
124    *
125    * @param name new value of name
126    */
 
127  0 toggle public void setName(String name) {
128  0 this.name = name;
129    }
130    private String desc;
131   
132    /**
133    * Get the value of desc
134    *
135    * @return the value of desc
136    */
 
137  0 toggle public String getDesc() {
138  0 return desc;
139    }
140   
141    /**
142    * Set the value of desc
143    *
144    * @param desc new value of desc
145    */
 
146  0 toggle public void setDesc(String desc) {
147  0 this.desc = desc;
148    }
149    private String status;
150   
151    /**
152    * Get the value of status
153    *
154    * @return the value of status
155    */
 
156  0 toggle public String getStatus() {
157  0 return status;
158    }
159   
160    /**
161    * Set the value of status
162    *
163    * @param status new value of status
164    */
 
165  0 toggle public void setStatus(String status) {
166  0 this.status = status;
167    }
168    private String comments;
169   
170    /**
171    * Get the value of comments
172    *
173    * @return the value of comments
174    */
 
175  0 toggle public String getComments() {
176  0 return comments;
177    }
178   
179    /**
180    * Set the value of comments
181    *
182    * @param comments new value of comments
183    */
 
184  0 toggle public void setComments(String comments) {
185  0 this.comments = comments;
186    }
187    private Map<String, String> attributes;
188   
 
189  0 toggle public Map<String, String> getAttributes() {
190  0 if (attributes == null) {
191  0 attributes = new LinkedHashMap();
192    }
193  0 return attributes;
194    }
195   
 
196  0 toggle public void setAttributes(Map<String, String> attributes) {
197  0 this.attributes = attributes;
198    }
199    private Date effectiveDate;
200   
 
201  0 toggle public Date getEffectiveDate() {
202  0 return effectiveDate;
203    }
204   
 
205  0 toggle public void setEffectiveDate(Date effectiveDate) {
206  0 this.effectiveDate = effectiveDate;
207    }
208    private Date expirationDate;
209   
 
210  0 toggle public Date getExpirationDate() {
211  0 return expirationDate;
212    }
213   
 
214  0 toggle public void setExpirationDate(Date expirationDate) {
215  0 this.expirationDate = expirationDate;
216    }
217    private String stateKey;
218   
 
219  0 toggle public String getStateKey() {
220  0 return stateKey;
221    }
222   
 
223  0 toggle public void setStateKey(String stateKey) {
224  0 this.stateKey = stateKey;
225    }
226    }