Coverage Report - org.kuali.student.r2.core.class1.atp.model.AtpAttributeEntity
 
Classes in this File Line Coverage Branch Coverage Complexity
AtpAttributeEntity
0%
0/10
N/A
1
 
 1  
 package org.kuali.student.r2.core.class1.atp.model;
 2  
 
 3  
 import javax.persistence.Entity;
 4  
 import javax.persistence.JoinColumn;
 5  
 import javax.persistence.ManyToOne;
 6  
 import javax.persistence.Table;
 7  
 
 8  
 import org.kuali.student.r2.common.entity.BaseAttributeEntityNew;
 9  
 import org.kuali.student.r2.common.infc.Attribute;
 10  
 
 11  0
 @Entity
 12  
 @Table(name = "KSEN_ATP_ATTR")
 13  
 public class AtpAttributeEntity extends BaseAttributeEntityNew<AtpEntity> {
 14  
 
 15  
     @ManyToOne
 16  
     @JoinColumn(name = "OWNER_ID")
 17  
     private AtpEntity owner;
 18  
 
 19  0
     public AtpAttributeEntity() {}
 20  
 
 21  
     public AtpAttributeEntity(String key, String value) {
 22  0
         super(key, value);
 23  0
     }
 24  
 
 25  
     public AtpAttributeEntity(Attribute att, AtpEntity owner) {
 26  0
         super(att);
 27  0
         setOwner(owner);
 28  0
     }
 29  
 
 30  
     @Override
 31  
     public void setOwner(AtpEntity owner) {
 32  0
         this.owner = owner;
 33  
 
 34  0
     }
 35  
 
 36  
     @Override
 37  
     public AtpEntity getOwner() {
 38  0
         return owner;
 39  
     }
 40  
 }