Coverage Report - org.kuali.student.lum.lo.entity.LoLoCategoryJoin
 
Classes in this File Line Coverage Branch Coverage Complexity
LoLoCategoryJoin
71%
5/7
N/A
1
 
 1  
 package org.kuali.student.lum.lo.entity;
 2  
 
 3  
 import javax.persistence.Entity;
 4  
 import javax.persistence.JoinColumn;
 5  
 import javax.persistence.ManyToOne;
 6  
 import javax.persistence.Table;
 7  
 import javax.persistence.UniqueConstraint;
 8  
 
 9  
 import org.kuali.student.common.entity.BaseEntity;
 10  
 
 11  
 @Entity
 12  
 @Table(name = "KSLO_LO_JN_LOCATEGORY",
 13  
                 uniqueConstraints={@UniqueConstraint(columnNames={"LO_ID", "LOCATEGORY_ID"})}
 14  
 )
 15  1339
 public class LoLoCategoryJoin extends BaseEntity{
 16  
     
 17  
     @ManyToOne
 18  
     @JoinColumn(name = "LO_ID")
 19  
         private Lo lo;
 20  
     
 21  
     @ManyToOne
 22  
     @JoinColumn(name = "LOCATEGORY_ID")
 23  
         private LoCategory loCategory;
 24  
     
 25  
         public Lo getLo() {
 26  0
                 return lo;
 27  
         }
 28  
 
 29  
         public void setLo(Lo lo) {
 30  1293
                 this.lo = lo;
 31  1293
         }
 32  
 
 33  
         public LoCategory getLoCategory() {
 34  0
                 return loCategory;
 35  
         }
 36  
 
 37  
         public void setLoCategory(LoCategory loCategory) {
 38  1293
                 this.loCategory = loCategory;
 39  1293
         }
 40  
 }