Coverage Report - org.kuali.student.r2.core.process.model.ProcessAttributeEntity
 
Classes in this File Line Coverage Branch Coverage Complexity
ProcessAttributeEntity
0%
0/9
N/A
1
 
 1  
 package org.kuali.student.r2.core.process.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.BaseAttributeEntity;
 9  
 import org.kuali.student.r2.common.infc.Attribute;
 10  
 
 11  0
 @Entity
 12  
 @Table(name = "KSEN_PROCESS_ATTR")
 13  
 public class ProcessAttributeEntity extends BaseAttributeEntity<ProcessEntity> {
 14  
 
 15  
     @ManyToOne
 16  
     @JoinColumn(name = "OWNER")
 17  
     private ProcessEntity owner;
 18  
 
 19  0
     public ProcessAttributeEntity () {}
 20  
 
 21  
     public ProcessAttributeEntity(String key, String value) {
 22  0
         super(key, value);
 23  0
     }
 24  
 
 25  
     public ProcessAttributeEntity(Attribute att) {
 26  0
         super(att);
 27  0
     }
 28  
 
 29  
     @Override
 30  
     public void setOwner(ProcessEntity owner) {
 31  0
         this.owner = owner;
 32  0
     }
 33  
 
 34  
     @Override
 35  
     public ProcessEntity getOwner() {
 36  0
         return owner;
 37  
     }
 38  
 }