Clover Coverage Report - KS LUM 1.2.1-SNAPSHOT (Aggregated)
Coverage timestamp: Wed Nov 2 2011 05:59:10 EST
../../../../../../img/srcFileCovDistChart10.png 0% of files have more coverage
14   123   13   1.17
2   56   0.93   12
12     1.08  
1    
 
  AccreditationInfo       Line # 33 14 0% 13 2 92.9% 0.9285714
 
  (15)
 
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.lum.lu.dto;
17   
18    import java.io.Serializable;
19    import java.util.Date;
20    import java.util.HashMap;
21    import java.util.Map;
22   
23    import org.kuali.student.common.dto.HasAttributes;
24    import org.kuali.student.common.dto.Idable;
25    import org.kuali.student.common.dto.MetaInfo;
26   
27    /**
28    * This is a description of what this class does - hjohnson don't forget to fill this in.
29    *
30    * @author Kuali Student Team (kuali-student@googlegroups.com)
31    *
32    */
 
33    public class AccreditationInfo implements Serializable, Idable, HasAttributes {
34   
35    private static final long serialVersionUID = 1L;
36   
37    private String id;
38   
39    private String orgId;
40   
41   
42    private Date effectiveDate;
43   
44   
45    private Date expirationDate;
46   
47    private Map<String, String> attributes;
48   
49    private MetaInfo metaInfo;
50   
51   
52   
53   
54    /*
55    * Unique identifier for the organization responsible for the accreditation.
56    */
 
57  146 toggle public String getOrgId() {
58  146 return orgId;
59    }
60   
 
61  121 toggle public void setOrgId(String orgId) {
62  121 this.orgId = orgId;
63    }
64   
65    /*
66    * Date and time the accreditation became effective.
67    */
 
68  143 toggle public Date getEffectiveDate() {
69  143 return effectiveDate;
70    }
71   
 
72  121 toggle public void setEffectiveDate(Date effectiveDate) {
73  121 this.effectiveDate = effectiveDate;
74    }
75   
76    /*
77    * Date and time the accreditation expires.
78    */
 
79  143 toggle public Date getExpirationDate() {
80  143 return expirationDate;
81    }
82   
 
83  121 toggle public void setExpirationDate(Date expirationDate) {
84  121 this.expirationDate = expirationDate;
85    }
86   
87    /**
88    * List of key/value pairs, typically used for dynamic attributes.
89    */
 
90  135 toggle public Map<String, String> getAttributes() {
91  135 if (attributes == null) {
92  38 attributes = new HashMap<String, String>();
93    }
94  135 return attributes;
95    }
96   
 
97  113 toggle public void setAttributes(Map<String, String> attributes) {
98  113 this.attributes = attributes;
99    }
100   
101    /*
102    * Create and last update info for the structure.
103    * This is optional and treated as read only since the data is set by the internals of the service during maintenance operations.
104    */
 
105  48 toggle public MetaInfo getMetaInfo() {
106  48 return metaInfo;
107    }
108   
 
109  0 toggle public void setMetaInfo(MetaInfo metaInfo) {
110  0 this.metaInfo = metaInfo;
111    }
112   
113    /*
114    * Unique identifier for the accreditation.
115    */
 
116  153 toggle public String getId() {
117  153 return id;
118    }
119   
 
120  111 toggle public void setId(String id) {
121  111 this.id = id;
122    }
123    }