Coverage Report - org.kuali.student.enrollment.class1.lrr.model.ResultSourceAttributeEntity
 
Classes in this File Line Coverage Branch Coverage Complexity
ResultSourceAttributeEntity
0%
0/9
N/A
1
 
 1  
 /**
 2  
  * Copyright 2010 The Kuali Foundation Licensed under the Educational Community
 3  
  * License, Version 2.0 (the "License"); you may not use this file except in
 4  
  * compliance with the License. You may obtain a copy of the License at
 5  
  * http://www.osedu.org/licenses/ECL-2.0 Unless required by applicable law or
 6  
  * agreed to in writing, software distributed under the License is distributed
 7  
  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
 8  
  * express or implied. See the License for the specific language governing
 9  
  * permissions and limitations under the License.
 10  
  */
 11  
 
 12  
 package org.kuali.student.enrollment.class1.lrr.model;
 13  
 
 14  
 import org.kuali.student.r2.common.entity.BaseAttributeEntity;
 15  
 import org.kuali.student.r2.common.infc.Attribute;
 16  
 
 17  
 import javax.persistence.Entity;
 18  
 import javax.persistence.JoinColumn;
 19  
 import javax.persistence.ManyToOne;
 20  
 import javax.persistence.Table;
 21  
 
 22  0
 @Entity
 23  
 @Table(name = "KSEN_LRR_RES_SOURCE_ATTR")
 24  
 public class ResultSourceAttributeEntity extends BaseAttributeEntity<ResultSourceEntity> {
 25  
 
 26  
     @ManyToOne
 27  
     @JoinColumn(name = "OWNER")
 28  
     private ResultSourceEntity owner;
 29  
 
 30  0
     public ResultSourceAttributeEntity() {}
 31  
 
 32  
     public ResultSourceAttributeEntity(String key, String value) {
 33  0
         super(key, value);
 34  0
     }
 35  
 
 36  
     public ResultSourceAttributeEntity(Attribute att) {
 37  0
         super(att);
 38  0
     }
 39  
 
 40  
     @Override
 41  
     public void setOwner(ResultSourceEntity owner) {
 42  0
         this.owner = owner;
 43  0
     }
 44  
 
 45  
     @Override
 46  
     public ResultSourceEntity getOwner() {
 47  0
         return owner;
 48  
     }
 49  
 }