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