| 1 | |
|
| 2 | |
|
| 3 | |
|
| 4 | |
|
| 5 | |
|
| 6 | |
|
| 7 | |
|
| 8 | |
|
| 9 | |
|
| 10 | |
|
| 11 | |
|
| 12 | |
|
| 13 | |
|
| 14 | |
|
| 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 | |
|
| 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 | |
} |