Clover Coverage Report - Kuali Student 1.2-M4-SNAPSHOT (Aggregated)
Coverage timestamp: Wed Jul 20 2011 11:14:35 EDT
../../../../../../img/srcFileCovDistChart10.png 0% of files have more coverage
10   106   10   1
0   50   1   10
10     1  
1    
 
  AffiliatedOrgInfo       Line # 36 10 0% 10 0 100% 1.0
 
  (18)
 
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   
21    import javax.xml.bind.annotation.XmlAccessType;
22    import javax.xml.bind.annotation.XmlAccessorType;
23    import javax.xml.bind.annotation.XmlAttribute;
24    import javax.xml.bind.annotation.XmlElement;
25   
26    /**
27    * Information about an organization that is affiliated in some percentage with a learning unit. For when precision is needed to support counts or dollars.
28    *
29    * @Author KSContractMojo
30    * @Author Kamal
31    * @Since Mon Jan 11 15:21:05 PST 2010
32    * @See <a href="https://test.kuali.org/confluence/display/KULSTU/affiliatedOrgInfo+Structure">AffiliatedOrgInfo</>
33    *
34    */
35    @XmlAccessorType(XmlAccessType.FIELD)
 
36    public class AffiliatedOrgInfo implements Serializable {
37   
38    private static final long serialVersionUID = 1L;
39   
40    @XmlAttribute
41    private String id;
42   
43    @XmlElement
44    private String orgId;
45   
46    @XmlElement
47    private Date effectiveDate;
48   
49    @XmlElement
50    private Date expirationDate;
51   
52    @XmlElement
53    private Long percentage;
54   
55    /**
56    * Unique identifier for an organization.
57    */
 
58  238 toggle public String getOrgId() {
59  238 return orgId;
60    }
61   
 
62  580 toggle public void setOrgId(String orgId) {
63  580 this.orgId = orgId;
64    }
65   
66    /**
67    * Specifies a date with no time component.
68    */
 
69  236 toggle public Date getEffectiveDate() {
70  236 return effectiveDate;
71    }
72   
 
73  569 toggle public void setEffectiveDate(Date effectiveDate) {
74  569 this.effectiveDate = effectiveDate;
75    }
76   
77    /**
78    * Specifies a date with no time component.
79    */
 
80  236 toggle public Date getExpirationDate() {
81  236 return expirationDate;
82    }
83   
 
84  569 toggle public void setExpirationDate(Date expirationDate) {
85  569 this.expirationDate = expirationDate;
86    }
87   
88    /**
89    * A long numeric value without a fractional component.
90    */
 
91  246 toggle public Long getPercentage() {
92  246 return percentage;
93    }
94   
 
95  580 toggle public void setPercentage(Long percentage) {
96  580 this.percentage = percentage;
97    }
98   
 
99  292 toggle public String getId() {
100  292 return id;
101    }
102   
 
103  673 toggle public void setId(String id) {
104  673 this.id = id;
105    }
106    }