Coverage Report - org.kuali.student.lum.lu.dto.AccreditationInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
AccreditationInfo
0%
0/21
0%
0/2
1.083
 
 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  
 import java.util.HashMap;
 21  
 import java.util.Map;
 22  
 
 23  
 import org.kuali.student.common.dto.HasAttributes;
 24  
 import org.kuali.student.common.dto.Idable;
 25  
 import org.kuali.student.common.dto.MetaInfo;
 26  
 
 27  
 /**
 28  
  * This is a description of what this class does - hjohnson don't forget to fill this in. 
 29  
  * 
 30  
  * @author Kuali Student Team (kuali-student@googlegroups.com)
 31  
  *
 32  
  */
 33  0
 public class AccreditationInfo implements Serializable, Idable, HasAttributes {
 34  
 
 35  
     private static final long serialVersionUID = 1L;
 36  
 
 37  
     private String id;
 38  
 
 39  
     private String orgId;
 40  
 
 41  
 
 42  
     private Date effectiveDate;
 43  
 
 44  
 
 45  
     private Date expirationDate;
 46  
 
 47  
     private Map<String, String> attributes;
 48  
 
 49  
     private MetaInfo metaInfo;
 50  
 
 51  
 
 52  
 
 53  
 
 54  
     /*
 55  
      * Unique identifier for the organization responsible for the accreditation.
 56  
      */
 57  
     public String getOrgId() {
 58  0
         return orgId;
 59  
     }
 60  
 
 61  
     public void setOrgId(String orgId) {
 62  0
         this.orgId = orgId;
 63  0
     }
 64  
 
 65  
     /*
 66  
      * Date and time the accreditation became effective. 
 67  
      */
 68  
     public Date getEffectiveDate() {
 69  0
         return effectiveDate;
 70  
     }
 71  
 
 72  
     public void setEffectiveDate(Date effectiveDate) {
 73  0
         this.effectiveDate = effectiveDate;
 74  0
     }
 75  
 
 76  
     /*
 77  
      * Date and time the accreditation expires. 
 78  
      */
 79  
     public Date getExpirationDate() {
 80  0
         return expirationDate;
 81  
     }
 82  
 
 83  
     public void setExpirationDate(Date expirationDate) {
 84  0
         this.expirationDate = expirationDate;
 85  0
     }
 86  
 
 87  
     /**
 88  
      * List of key/value pairs, typically used for dynamic attributes.
 89  
      */
 90  
     public Map<String, String> getAttributes() {
 91  0
         if (attributes == null) {
 92  0
             attributes = new HashMap<String, String>();
 93  
         }
 94  0
         return attributes;
 95  
     }
 96  
 
 97  
     public void setAttributes(Map<String, String> attributes) {
 98  0
         this.attributes = attributes;
 99  0
     }
 100  
     
 101  
     /*
 102  
      * Create and last update info for the structure. 
 103  
      * This is optional and treated as read only since the data is set by the internals of the service during maintenance operations.
 104  
      */
 105  
     public MetaInfo getMetaInfo() {
 106  0
         return metaInfo;
 107  
     }
 108  
 
 109  
     public void setMetaInfo(MetaInfo metaInfo) {
 110  0
         this.metaInfo = metaInfo;
 111  0
     }
 112  
     
 113  
     /*
 114  
      * Unique identifier for the accreditation.
 115  
      */
 116  
     public String getId() {
 117  0
         return id;
 118  
     }
 119  
 
 120  
     public void setId(String id) {
 121  0
         this.id = id;
 122  0
     }
 123  
 }