Clover Coverage Report - KS LUM Impl 1.2-M6-SNAPSHOT
Coverage timestamp: Sun Sep 11 2011 07:23:28 EDT
../../../../../../img/srcFileCovDistChart10.png 0% of files have more coverage
8   83   8   1
0   46   1   8
8     1  
1    
 
  AffiliatedOrg       Line # 36 8 0% 8 0 100% 1.0
 
  (16)
 
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.entity;
17   
18    import java.util.Date;
19   
20    import javax.persistence.Column;
21    import javax.persistence.Entity;
22    import javax.persistence.Table;
23    import javax.persistence.Temporal;
24    import javax.persistence.TemporalType;
25   
26    import org.kuali.student.common.entity.BaseEntity;
27   
28    /**
29    * This is a description of what this class does - hjohnson don't forget to fill this in.
30    *
31    * @author Kuali Student Team (kuali-student@googlegroups.com)
32    *
33    */
34    @Entity
35    @Table(name = "KSLU_CLU_AFFIL_ORG")
 
36    public class AffiliatedOrg extends BaseEntity{
37   
38    @Column(name = "ORG_ID")
39    private String orgId; //External service key
40   
41    @Column(name = "PERCT")
42    private Long percentage;
43   
44    @Temporal(TemporalType.TIMESTAMP)
45    @Column(name = "EFF_DT")
46    private Date effectiveDate;
47   
48    @Temporal(TemporalType.TIMESTAMP)
49    @Column(name = "EXPIR_DT")
50    private Date expirationDate;
51   
 
52  473 toggle public String getOrgId() {
53  473 return orgId;
54    }
55   
 
56  204 toggle public void setOrgId(String orgId) {
57  204 this.orgId = orgId;
58    }
59   
 
60  473 toggle public Long getPercentage() {
61  473 return percentage;
62    }
63   
 
64  204 toggle public void setPercentage(Long percentage) {
65  204 this.percentage = percentage;
66    }
67   
 
68  473 toggle public Date getEffectiveDate() {
69  473 return effectiveDate;
70    }
71   
 
72  204 toggle public void setEffectiveDate(Date effectiveDate) {
73  204 this.effectiveDate = effectiveDate;
74    }
75   
 
76  473 toggle public Date getExpirationDate() {
77  473 return expirationDate;
78    }
79   
 
80  204 toggle public void setExpirationDate(Date expirationDate) {
81  204 this.expirationDate = expirationDate;
82    }
83    }