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.CascadeType; |
21 | |
import javax.persistence.Column; |
22 | |
import javax.persistence.Entity; |
23 | |
import javax.persistence.JoinColumn; |
24 | |
import javax.persistence.ManyToOne; |
25 | |
import javax.persistence.Table; |
26 | |
import javax.persistence.Temporal; |
27 | |
import javax.persistence.TemporalType; |
28 | |
|
29 | |
import org.kuali.student.core.entity.MetaEntity; |
30 | |
|
31 | |
@Entity |
32 | |
@Table(name = "KSLU_RSLT_OPT") |
33 | 289 | public class ResultOption extends MetaEntity { |
34 | |
|
35 | |
@ManyToOne(cascade=CascadeType.ALL) |
36 | |
@JoinColumn(name="RES_USAGE_ID") |
37 | |
private ResultUsageType resultUsageType; |
38 | |
|
39 | |
@Column(name = "RES_COMP_ID") |
40 | |
private String resultComponentId; |
41 | |
|
42 | |
@ManyToOne(cascade=CascadeType.ALL) |
43 | |
@JoinColumn(name = "RT_DESCR_ID") |
44 | |
private LuRichText desc; |
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 | |
@Column(name = "ST") |
55 | |
private String state; |
56 | |
|
57 | |
public ResultUsageType getResultUsageType() { |
58 | 318 | return resultUsageType; |
59 | |
} |
60 | |
|
61 | |
public void setResultUsageType(ResultUsageType resultUsageType) { |
62 | 1 | this.resultUsageType = resultUsageType; |
63 | 1 | } |
64 | |
|
65 | |
public String getResultComponentId() { |
66 | 316 | return resultComponentId; |
67 | |
} |
68 | |
|
69 | |
public void setResultComponentId(String resultComponentId) { |
70 | 148 | this.resultComponentId = resultComponentId; |
71 | 148 | } |
72 | |
|
73 | |
public LuRichText getDesc() { |
74 | 316 | return desc; |
75 | |
} |
76 | |
|
77 | |
public void setDesc(LuRichText desc) { |
78 | 148 | this.desc = desc; |
79 | 148 | } |
80 | |
|
81 | |
public Date getEffectiveDate() { |
82 | 316 | return effectiveDate; |
83 | |
} |
84 | |
|
85 | |
public void setEffectiveDate(Date effectiveDate) { |
86 | 148 | this.effectiveDate = effectiveDate; |
87 | 148 | } |
88 | |
|
89 | |
public Date getExpirationDate() { |
90 | 316 | return expirationDate; |
91 | |
} |
92 | |
|
93 | |
public void setExpirationDate(Date expirationDate) { |
94 | 148 | this.expirationDate = expirationDate; |
95 | 148 | } |
96 | |
|
97 | |
public String getState() { |
98 | 316 | return state; |
99 | |
} |
100 | |
|
101 | |
public void setState(String state) { |
102 | 148 | this.state = state; |
103 | 148 | } |
104 | |
|
105 | |
} |