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_RSLT_COMP_USG_ALOW_TYPE") |
34 | |
@NamedQueries( { @NamedQuery(name = "AllowedResultComponentUsageType.getAllowedComponentsByUsageType", query = "SELECT atype.resultComponentId FROM AllowedResultComponentUsageType atype WHERE resultUsageType.id = :resultUsageType") }) |
35 | 0 | public class AllowedResultComponentUsageType extends MetaEntity { |
36 | |
|
37 | |
private static final long serialVersionUID = 1L; |
38 | |
|
39 | |
@ManyToOne |
40 | |
@JoinColumn(name = "RSLT_USG_TYPE_ID") |
41 | |
private ResultUsageType resultUsageType; |
42 | |
|
43 | |
@Column(name = "RSLT_COMP_ID") |
44 | |
private String resultComponentId; |
45 | |
|
46 | |
@Temporal(TemporalType.TIMESTAMP) |
47 | |
@Column(name = "EFF_DT") |
48 | |
private Date effectiveDate; |
49 | |
|
50 | |
@Temporal(TemporalType.TIMESTAMP) |
51 | |
@Column(name = "EXPIR_DT") |
52 | |
private Date expirationDate; |
53 | |
|
54 | |
public String getResultComponentId() { |
55 | 0 | return resultComponentId; |
56 | |
} |
57 | |
|
58 | |
public void setResultComponentId(String resultComponentId) { |
59 | 0 | this.resultComponentId = resultComponentId; |
60 | 0 | } |
61 | |
|
62 | |
public Date getEffectiveDate() { |
63 | 0 | return effectiveDate; |
64 | |
} |
65 | |
|
66 | |
public void setEffectiveDate(Date effectiveDate) { |
67 | 0 | this.effectiveDate = effectiveDate; |
68 | 0 | } |
69 | |
|
70 | |
public Date getExpirationDate() { |
71 | 0 | return expirationDate; |
72 | |
} |
73 | |
|
74 | |
public void setExpirationDate(Date expirationDate) { |
75 | 0 | this.expirationDate = expirationDate; |
76 | 0 | } |
77 | |
|
78 | |
public ResultUsageType getResultUsageType() { |
79 | 0 | return resultUsageType; |
80 | |
} |
81 | |
|
82 | |
public void setResultUsageType(ResultUsageType resultUsageType) { |
83 | 0 | this.resultUsageType = resultUsageType; |
84 | 0 | } |
85 | |
|
86 | |
} |