1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.student.r2.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.r2.common.entity.MetaEntity;
30
31 @Entity
32 @Table(name = "KSLU_RSLT_OPT")
33
34 public class ResultOption extends MetaEntity {
35
36 @ManyToOne(cascade=CascadeType.ALL)
37 @JoinColumn(name="RES_USAGE_ID")
38 private ResultUsageType resultUsageType;
39
40 @Column(name = "RES_COMP_ID")
41 private String resultComponentId;
42
43 @ManyToOne(cascade=CascadeType.ALL)
44 @JoinColumn(name = "RT_DESCR_ID")
45 private LuRichText desc;
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 @Column(name = "ST")
56 private String state;
57
58 public ResultUsageType getResultUsageType() {
59 return resultUsageType;
60 }
61
62 public void setResultUsageType(ResultUsageType resultUsageType) {
63 this.resultUsageType = resultUsageType;
64 }
65
66 public String getResultComponentId() {
67 return resultComponentId;
68 }
69
70 public void setResultComponentId(String resultComponentId) {
71 this.resultComponentId = resultComponentId;
72 }
73
74 public LuRichText getDesc() {
75 return desc;
76 }
77
78 public void setDesc(LuRichText desc) {
79 this.desc = desc;
80 }
81
82 public Date getEffectiveDate() {
83 return effectiveDate;
84 }
85
86 public void setEffectiveDate(Date effectiveDate) {
87 this.effectiveDate = effectiveDate;
88 }
89
90 public Date getExpirationDate() {
91 return expirationDate;
92 }
93
94 public void setExpirationDate(Date expirationDate) {
95 this.expirationDate = expirationDate;
96 }
97
98 public String getState() {
99 return state;
100 }
101
102 public void setState(String state) {
103 this.state = state;
104 }
105
106 }