Coverage Report - org.kuali.student.r2.lum.clu.dto.CluLoRelationInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
CluLoRelationInfo
0%
0/14
0%
0/2
1.143
 
 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.r2.lum.clu.dto;
 17  
 
 18  
 import org.kuali.student.r2.common.dto.RelationshipInfo;
 19  
 import org.kuali.student.r2.lum.clu.infc.CluLoRelation;
 20  
 
 21  
 import javax.xml.bind.Element;
 22  
 import javax.xml.bind.annotation.XmlAccessType;
 23  
 import javax.xml.bind.annotation.XmlAccessorType;
 24  
 import javax.xml.bind.annotation.XmlAnyElement;
 25  
 import javax.xml.bind.annotation.XmlElement;
 26  
 import javax.xml.bind.annotation.XmlType;
 27  
 import java.io.Serializable;
 28  
 import java.util.List;
 29  
 
 30  
 @XmlAccessorType(XmlAccessType.FIELD)
 31  
 @XmlType(name = "CluLoRelationInfo", propOrder = {"id", "typeKey",
 32  
         "stateKey", "cluId", "loId", "effectiveDate",
 33  
         "expirationDate", "meta", "attributes", "_futureElements"})
 34  
 public class CluLoRelationInfo extends RelationshipInfo implements CluLoRelation, Serializable {
 35  
 
 36  
     private static final long serialVersionUID = 1L;
 37  
 
 38  
     @XmlElement
 39  
     private String cluId;
 40  
 
 41  
     @XmlElement
 42  
     private String loId;
 43  
 
 44  
     @XmlAnyElement
 45  
     private List<Element> _futureElements;
 46  
 
 47  0
     public CluLoRelationInfo() {
 48  
 
 49  0
     }
 50  
 
 51  
     public CluLoRelationInfo(CluLoRelation cluLoRelation) {
 52  0
         super(cluLoRelation);
 53  0
         if (null != cluLoRelation) {
 54  0
             this.cluId = cluLoRelation.getCluId();
 55  0
             this.loId = cluLoRelation.getLoId();
 56  
         }
 57  0
     }
 58  
 
 59  
     @Override
 60  
     public String getCluId() {
 61  0
         return cluId;
 62  
     }
 63  
 
 64  
     public void setCluId(String cluId) {
 65  0
         this.cluId = cluId;
 66  0
     }
 67  
 
 68  
     @Override
 69  
     public String getLoId() {
 70  0
         return loId;
 71  
     }
 72  
 
 73  
     public void setLoId(String loId) {
 74  0
         this.loId = loId;
 75  0
     }
 76  
 
 77  
     @Override
 78  
     public String toString() {
 79  0
         return "CLuLoRelationInfo[id=" + this.getId() + ", cluId=" + this.getCluId() + ", loId=" + this.getLoId() + "]";
 80  
     }
 81  
 
 82  
 }