1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.student.lum.lu.entity; |
17 | |
|
18 | |
import java.util.Date; |
19 | |
|
20 | |
import javax.persistence.Column; |
21 | |
import javax.persistence.Entity; |
22 | |
import javax.persistence.JoinColumn; |
23 | |
import javax.persistence.ManyToOne; |
24 | |
import javax.persistence.NamedQueries; |
25 | |
import javax.persistence.NamedQuery; |
26 | |
import javax.persistence.Table; |
27 | |
import javax.persistence.Temporal; |
28 | |
import javax.persistence.TemporalType; |
29 | |
|
30 | |
import org.kuali.student.common.entity.MetaEntity; |
31 | |
|
32 | |
@Entity |
33 | |
@Table(name = "KSLU_CLU_RSLT_LU_ALOW_TYPE") |
34 | |
@NamedQueries( { @NamedQuery(name = "AllowedCluResultLuType.getAllowedTypesByLuType", query = "SELECT relType.cluResultType.id FROM AllowedCluResultLuType relType WHERE luType.id = :luTypeId") }) |
35 | 0 | public class AllowedCluResultLuType extends MetaEntity { |
36 | |
|
37 | |
private static final long serialVersionUID = 1L; |
38 | |
|
39 | |
@ManyToOne |
40 | |
@JoinColumn(name = "CLU_RSLT_TYPE_ID") |
41 | |
private CluResultType cluResultType; |
42 | |
|
43 | |
@ManyToOne |
44 | |
@JoinColumn(name = "LU_TYPE_ID") |
45 | |
private LuType luType; |
46 | |
|
47 | |
@Temporal(TemporalType.TIMESTAMP) |
48 | |
@Column(name = "EFF_DT") |
49 | |
private Date effectiveDate; |
50 | |
|
51 | |
@Temporal(TemporalType.TIMESTAMP) |
52 | |
@Column(name = "EXPIR_DT") |
53 | |
private Date expirationDate; |
54 | |
|
55 | |
public LuType getLuType() { |
56 | 0 | return luType; |
57 | |
} |
58 | |
|
59 | |
public void setLuType(LuType luType) { |
60 | 0 | this.luType = luType; |
61 | 0 | } |
62 | |
|
63 | |
public Date getEffectiveDate() { |
64 | 0 | return effectiveDate; |
65 | |
} |
66 | |
|
67 | |
public void setEffectiveDate(Date effectiveDate) { |
68 | 0 | this.effectiveDate = effectiveDate; |
69 | 0 | } |
70 | |
|
71 | |
public Date getExpirationDate() { |
72 | 0 | return expirationDate; |
73 | |
} |
74 | |
|
75 | |
public void setExpirationDate(Date expirationDate) { |
76 | 0 | this.expirationDate = expirationDate; |
77 | 0 | } |
78 | |
|
79 | |
public CluResultType getCluResultType() { |
80 | 0 | return cluResultType; |
81 | |
} |
82 | |
|
83 | |
public void setCluResultType(CluResultType cluResultType) { |
84 | 0 | this.cluResultType = cluResultType; |
85 | 0 | } |
86 | |
|
87 | |
} |