Coverage Report - org.kuali.student.lum.lu.entity.AffiliatedOrg
 
Classes in this File Line Coverage Branch Coverage Complexity
AffiliatedOrg
100%
13/13
N/A
1
 
 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  276
 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  
     public String getOrgId() {
 53  473
         return orgId;
 54  
     }
 55  
 
 56  
     public void setOrgId(String orgId) {
 57  204
         this.orgId = orgId;
 58  204
     }
 59  
 
 60  
         public Long getPercentage() {
 61  473
                 return percentage;
 62  
         }
 63  
 
 64  
         public void setPercentage(Long percentage) {
 65  204
                 this.percentage = percentage;
 66  204
         }
 67  
 
 68  
         public Date getEffectiveDate() {
 69  473
                 return effectiveDate;
 70  
         }
 71  
 
 72  
         public void setEffectiveDate(Date effectiveDate) {
 73  204
                 this.effectiveDate = effectiveDate;
 74  204
         }
 75  
 
 76  
         public Date getExpirationDate() {
 77  473
                 return expirationDate;
 78  
         }
 79  
 
 80  
         public void setExpirationDate(Date expirationDate) {
 81  204
                 this.expirationDate = expirationDate;
 82  204
         }        
 83  
 }