Clover Coverage Report - KS R2 POC 0.0.1-SNAPSHOT (Aggregated)
Coverage timestamp: Mon May 23 2011 04:02:06 EDT
../../../../../../img/srcFileCovDistChart0.png 0% of files have more coverage
10   116   10   1
0   51   1   10
10     1  
1    
 
  AffiliatedOrgInfo       Line # 38 10 0% 10 20 0% 0.0
 
No Tests
 
1    /**
2    * Copyright 2010 The Kuali Foundation
3    *
4    * Licensed under the the Educational Community License, Version 1.0
5    * (the "License"); you may not use this file except in compliance
6    * with the License. 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
13    * implied. See the License for the specific language governing
14    * permissions and limitations under the License.
15    */
16   
17    package org.kuali.student.lum.lu.dto;
18   
19    import javax.xml.bind.annotation.XmlAccessType;
20    import javax.xml.bind.annotation.XmlAccessorType;
21    import javax.xml.bind.annotation.XmlAttribute;
22    import javax.xml.bind.annotation.XmlElement;
23    import java.io.Serializable;
24    import java.util.Date;
25   
26   
27    /**
28    * Information about an organization that is affiliated in some
29    * percentage with a learning unit. For when precision is needed to
30    * support counts or dollars.
31    *
32    * @Author KSContractMojo
33    * @Author Kamal
34    * @Since Mon Jan 11 15:21:05 PST 2010
35    */
36   
37    @XmlAccessorType(XmlAccessType.FIELD)
 
38    public class AffiliatedOrgInfo implements Serializable {
39   
40    private static final long serialVersionUID = 1L;
41   
42    @XmlAttribute
43    private String id;
44   
45    @XmlElement
46    private String orgId;
47   
48    @XmlElement
49    private Date effectiveDate;
50   
51    @XmlElement
52    private Date expirationDate;
53   
54    @XmlElement
55    private Long percentage;
56   
57   
58    /**
59    * Unique identifier for an organization.
60    */
61   
 
62  0 toggle public String getOrgId() {
63  0 return orgId;
64    }
65   
 
66  0 toggle public void setOrgId(String orgId) {
67  0 this.orgId = orgId;
68    }
69   
70   
71    /**
72    * Specifies a date with no time component.
73    */
74   
 
75  0 toggle public Date getEffectiveDate() {
76  0 return effectiveDate;
77    }
78   
 
79  0 toggle public void setEffectiveDate(Date effectiveDate) {
80  0 this.effectiveDate = effectiveDate;
81    }
82   
83   
84    /**
85    * Specifies a date with no time component.
86    */
87   
 
88  0 toggle public Date getExpirationDate() {
89  0 return expirationDate;
90    }
91   
 
92  0 toggle public void setExpirationDate(Date expirationDate) {
93  0 this.expirationDate = expirationDate;
94    }
95   
96   
97    /**
98    * A long numeric value without a fractional component.
99    */
100   
 
101  0 toggle public Long getPercentage() {
102  0 return percentage;
103    }
104   
 
105  0 toggle public void setPercentage(Long percentage) {
106  0 this.percentage = percentage;
107    }
108   
 
109  0 toggle public String getId() {
110  0 return id;
111    }
112   
 
113  0 toggle public void setId(String id) {
114  0 this.id = id;
115    }
116    }