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.core.entity.BaseEntity;
 10  
 
 11  
 @Entity
 12  
 @Table(name = "KSLO_LO_JN_LOCATEGORY",
 13  
                 uniqueConstraints={@UniqueConstraint(columnNames={"LO_ID", "LOCATEGORY_ID"})}
 14  
 )
 15  1311
 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  1265
                 this.lo = lo;
 31  1265
         }
 32  
 
 33  
         public LoCategory getLoCategory() {
 34  0
                 return loCategory;
 35  
         }
 36  
 
 37  
         public void setLoCategory(LoCategory loCategory) {
 38  1265
                 this.loCategory = loCategory;
 39  1265
         }
 40  
 }