Coverage Report - org.kuali.student.enrollment.class1.lpr.model.LprResultValueGroupEntity
 
Classes in this File Line Coverage Branch Coverage Complexity
LprResultValueGroupEntity
0%
0/5
N/A
1
 
 1  
 /**
 2  
  * Copyright 2012 The Kuali Foundation
 3  
  *
 4  
  * Licensed under the the Educational Community License, Version 1.0
 5  
  * (the "License"); you may not use this file except in compliance
 6  
  * with the License.  You may obtain a copy of the License at
 7  
  *
 8  
  * http://www.opensource.org/licenses/ecl1.php
 9  
  *
 10  
  * Unless required by applicable law or agreed to in writing, software
 11  
  * distributed under the License is distributed on an "AS IS" BASIS,
 12  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 13  
  * See the License for the specific language governing permissions and
 14  
  * limitations under the License.
 15  
  */
 16  
 package org.kuali.student.enrollment.class1.lpr.model;
 17  
 
 18  
 import javax.persistence.Column;
 19  
 import javax.persistence.Entity;
 20  
 import javax.persistence.Id;
 21  
 import javax.persistence.JoinColumn;
 22  
 import javax.persistence.ManyToOne;
 23  
 import javax.persistence.PrePersist;
 24  
 import javax.persistence.Table;
 25  
 import javax.persistence.UniqueConstraint;
 26  
 
 27  
 import org.kuali.student.common.util.UUIDHelper;
 28  
 
 29  
 /**
 30  
  * @author ocleirig
 31  
  * 
 32  
  */
 33  
 @Entity
 34  
 @Table(name = "KSEN_LPR_RESULT_VAL_GRP",uniqueConstraints = {
 35  
             @UniqueConstraint(columnNames = {"LPR_ID", "RESULT_VAL_GRP_ID"})})
 36  
 public class LprResultValueGroupEntity extends AbstractResultValueGroupEntity {
 37  
 
 38  
         @ManyToOne
 39  
         @JoinColumn(name = "LPR_ID", nullable=false)
 40  
         private LprEntity lpr;
 41  
         
 42  
 
 43  
         public LprResultValueGroupEntity() {
 44  0
                 super();
 45  0
         }
 46  
 
 47  
 
 48  
 
 49  
         public LprEntity getLpr() {
 50  0
                 return lpr;
 51  
         }
 52  
 
 53  
 
 54  
 
 55  
         public void setLpr(LprEntity lpr) {
 56  0
                 this.lpr = lpr;
 57  0
         }
 58  
         
 59  
         
 60  
 
 61  
         
 62  
 
 63  
 }