Coverage Report - org.kuali.student.r2.core.class1.state.model.StateAttributeEntity
 
Classes in this File Line Coverage Branch Coverage Complexity
StateAttributeEntity
0%
0/13
N/A
1
 
 1  
 package org.kuali.student.r2.core.class1.state.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_STATE_ATTR")
 13  
 public class StateAttributeEntity extends BaseAttributeEntityNew<StateEntity> {
 14  
     
 15  
     @ManyToOne
 16  
     @JoinColumn(name = "OWNER_ID")
 17  
     private StateEntity owner;
 18  
 
 19  0
     public StateAttributeEntity () {
 20  0
     }
 21  
     
 22  
     public StateAttributeEntity(String key, String value) {
 23  0
         super(key, value);
 24  0
     }
 25  
     public StateAttributeEntity(Attribute att, StateEntity owner) {
 26  0
         super(att);
 27  0
         this.owner = owner;
 28  0
     }
 29  
 
 30  
     public StateAttributeEntity(Attribute att) {
 31  0
         super(att);
 32  0
     }
 33  
 
 34  
     public void setOwner(StateEntity owner) {
 35  0
         this.owner = owner;
 36  0
     }
 37  
 
 38  
     public StateEntity getOwner() {
 39  0
         return owner;
 40  
     }
 41  
 }