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.common.entity.MetaEntity;
30
31 @Entity
32 @Table(name = "KSLU_RSLT_OPT")
33 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 return resultUsageType;
59 }
60
61 public void setResultUsageType(ResultUsageType resultUsageType) {
62 this.resultUsageType = resultUsageType;
63 }
64
65 public String getResultComponentId() {
66 return resultComponentId;
67 }
68
69 public void setResultComponentId(String resultComponentId) {
70 this.resultComponentId = resultComponentId;
71 }
72
73 public LuRichText getDesc() {
74 return desc;
75 }
76
77 public void setDesc(LuRichText desc) {
78 this.desc = desc;
79 }
80
81 public Date getEffectiveDate() {
82 return effectiveDate;
83 }
84
85 public void setEffectiveDate(Date effectiveDate) {
86 this.effectiveDate = effectiveDate;
87 }
88
89 public Date getExpirationDate() {
90 return expirationDate;
91 }
92
93 public void setExpirationDate(Date expirationDate) {
94 this.expirationDate = expirationDate;
95 }
96
97 public String getState() {
98 return state;
99 }
100
101 public void setState(String state) {
102 this.state = state;
103 }
104
105 }