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