Coverage Report - org.kuali.student.r2.core.class1.appointment.model.AppointmentSlotAttributeEntity
 
Classes in this File Line Coverage Branch Coverage Complexity
AppointmentSlotAttributeEntity
0%
0/11
N/A
1
 
 1  
 /**
 2  
  * Copyright 2012 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  
  * Created by Charles on 3/8/12
 16  
  */
 17  
 package org.kuali.student.r2.core.class1.appointment.model;
 18  
 
 19  
 import org.kuali.student.r2.common.entity.BaseAttributeEntityNew;
 20  
 import org.kuali.student.r2.common.infc.Attribute;
 21  
 
 22  
 import javax.persistence.Entity;
 23  
 import javax.persistence.JoinColumn;
 24  
 import javax.persistence.ManyToOne;
 25  
 import javax.persistence.Table;
 26  
 
 27  
 /**
 28  
  * This class //TODO ...
 29  
  *
 30  
  * @author Kuali Student Team
 31  
  */
 32  0
 @Entity
 33  
 @Table(name = "KSEN_APPT_SLOT_ATTR")
 34  
 public class AppointmentSlotAttributeEntity extends BaseAttributeEntityNew<AppointmentSlotEntity> {
 35  
     @ManyToOne
 36  
     @JoinColumn(name = "OWNER_ID")
 37  
     private AppointmentSlotEntity owner;
 38  
 
 39  0
     public AppointmentSlotAttributeEntity() {
 40  0
     }
 41  
 
 42  
     public AppointmentSlotAttributeEntity(String key, String value) {
 43  0
         super(key, value);
 44  0
     }
 45  
 
 46  
     public AppointmentSlotAttributeEntity(Attribute att, AppointmentSlotEntity owner) {
 47  0
         super(att);
 48  0
         setOwner(owner);
 49  0
     }
 50  
 
 51  
     @Override
 52  
     public void setOwner(AppointmentSlotEntity owner) {
 53  0
         this.owner = owner;
 54  
 
 55  0
     }
 56  
 
 57  
     @Override
 58  
     public AppointmentSlotEntity getOwner() {
 59  0
         return owner;
 60  
     }
 61  
 }