Coverage Report - org.kuali.student.r2.core.room.dto.RoomResponsibleOrgInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
RoomResponsibleOrgInfo
0%
0/13
0%
0/2
1.167
 
 1  
 /*
 2  
  * Copyright 2011 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.core.room.dto;
 17  
 
 18  
 import org.kuali.student.r2.common.dto.RelationshipInfo;
 19  
 import org.kuali.student.r2.core.room.infc.RoomResponsibleOrg;
 20  
 import org.w3c.dom.Element;
 21  
 
 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  
 /**
 31  
  *
 32  
  * @Version 2.0
 33  
  * @Author Sri komandur@uw.edu
 34  
  */
 35  
 @XmlAccessorType(XmlAccessType.FIELD)
 36  
 @XmlType(name = "RoomResponsibleOrgInfo", propOrder = {"id", "typeKey", "stateKey", "roomId", "orgId", "effectiveDate", "expirationDate", "meta", "attributes", "_futureElements"})
 37  
 public class RoomResponsibleOrgInfo extends RelationshipInfo implements RoomResponsibleOrg, Serializable {
 38  
 
 39  
     private static final long serialVersionUID = 1L;
 40  
 
 41  
     @XmlElement
 42  
     private String roomId;
 43  
     @XmlElement
 44  
     private String orgId;
 45  
 
 46  
     @XmlAnyElement
 47  
     private List<Element> _futureElements;
 48  
 
 49  0
     public RoomResponsibleOrgInfo() {
 50  
 
 51  0
     }
 52  
 
 53  0
     public RoomResponsibleOrgInfo(RoomResponsibleOrg roomResponsibleOrg) {
 54  0
         if (null != roomResponsibleOrg) {
 55  0
             this.roomId = roomResponsibleOrg.getRoomId();
 56  0
             this.orgId = roomResponsibleOrg.getOrgId();
 57  
         }
 58  0
     }
 59  
 
 60  
     @Override
 61  
     public String getRoomId() {
 62  0
         return roomId;
 63  
     }
 64  
 
 65  
     public void setRoomId(String roomId) {
 66  0
         this.roomId = roomId;
 67  0
     }
 68  
 
 69  
     @Override
 70  
     public String getOrgId() {
 71  0
         return this.orgId;
 72  
     }
 73  
 
 74  
     public void setOrgId(String orgId) {
 75  0
         this.orgId = orgId;
 76  0
     }
 77  
 
 78  
 }