Coverage Report - org.kuali.student.lum.lu.dto.AffiliatedOrgInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
AffiliatedOrgInfo
0%
0/16
N/A
1
 
 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  0
 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  
     public String getOrgId() {
 63  0
         return orgId;
 64  
     }
 65  
 
 66  
     public void setOrgId(String orgId) {
 67  0
         this.orgId = orgId;
 68  0
     }
 69  
 
 70  
 
 71  
     /**
 72  
      * Specifies a date with no time component.
 73  
      */
 74  
 
 75  
     public Date getEffectiveDate() {
 76  0
         return effectiveDate;
 77  
     }
 78  
 
 79  
     public void setEffectiveDate(Date effectiveDate) {
 80  0
         this.effectiveDate = effectiveDate;
 81  0
     }
 82  
 
 83  
 
 84  
     /**
 85  
      * Specifies a date with no time component.
 86  
      */
 87  
 
 88  
     public Date getExpirationDate() {
 89  0
         return expirationDate;
 90  
     }
 91  
 
 92  
     public void setExpirationDate(Date expirationDate) {
 93  0
         this.expirationDate = expirationDate;
 94  0
     }
 95  
 
 96  
 
 97  
     /**
 98  
      * A long numeric value without a fractional component.
 99  
      */
 100  
 
 101  
     public Long getPercentage() {
 102  0
         return percentage;
 103  
     }
 104  
 
 105  
     public void setPercentage(Long percentage) {
 106  0
         this.percentage = percentage;
 107  0
     }
 108  
 
 109  
     public String getId() {
 110  0
         return id;
 111  
     }
 112  
 
 113  
     public void setId(String id) {
 114  0
         this.id = id;
 115  0
     }
 116  
 }