Coverage Report - org.kuali.student.lum.lu.entity.CluPublicationVariant
 
Classes in this File Line Coverage Branch Coverage Complexity
CluPublicationVariant
90%
9/10
N/A
1
 
 1  
 package org.kuali.student.lum.lu.entity;
 2  
 
 3  
 import javax.persistence.Column;
 4  
 import javax.persistence.Entity;
 5  
 import javax.persistence.JoinColumn;
 6  
 import javax.persistence.ManyToOne;
 7  
 import javax.persistence.Table;
 8  
 import javax.persistence.UniqueConstraint;
 9  
 
 10  
 import org.kuali.student.common.entity.BaseEntity;
 11  
 
 12  
 @Entity
 13  
 @Table(name = "KSLU_CLU_PUBL_VARI", uniqueConstraints={@UniqueConstraint(columnNames={"VARI_KEY", "OWNER"})})
 14  124
 public class CluPublicationVariant extends BaseEntity{
 15  
         
 16  
         @Column(name="VARI_KEY")
 17  
         private String key;
 18  
         
 19  
         @Column(name="VARI_VALUE")
 20  
         private String value;
 21  
         
 22  
         @ManyToOne
 23  
         @JoinColumn(name = "OWNER")
 24  
         private CluPublication owner;
 25  
 
 26  
         public String getKey() {
 27  193
                 return key;
 28  
         }
 29  
 
 30  
         public void setKey(String key) {
 31  32
                 this.key = key;
 32  32
         }
 33  
 
 34  
         public String getValue() {
 35  172
                 return value;
 36  
         }
 37  
 
 38  
         public void setValue(String value) {
 39  51
                 this.value = value;
 40  51
         }
 41  
 
 42  
         public CluPublication getOwner() {
 43  0
                 return owner;
 44  
         }
 45  
 
 46  
         public void setOwner(CluPublication owner) {
 47  30
                 this.owner = owner;
 48  30
         }
 49  
 }