1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.ole.module.cg.businessobject;
17
18 import java.util.LinkedHashMap;
19
20 import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
21 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
22
23
24
25
26 public class ProposalResearchRisk extends PersistableBusinessObjectBase implements MutableInactivatable {
27
28 private String researchRiskTypeCode;
29 private Long proposalNumber;
30 private boolean active;
31
32 private Proposal proposal;
33 private ResearchRiskType researchRiskType;
34
35
36
37
38 public ProposalResearchRisk() {
39 super();
40 }
41
42
43 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
44
45 LinkedHashMap m = new LinkedHashMap();
46 m.put("proposalNumber", proposalNumber);
47 m.put("researchRiskTypeCode", researchRiskTypeCode);
48 m.put("active", Boolean.toString(active));
49
50 return m;
51 }
52
53
54
55
56
57
58 public Proposal getProposal() {
59 return proposal;
60 }
61
62
63
64
65
66
67 public void setProposal(Proposal proposal) {
68 this.proposal = proposal;
69 }
70
71
72
73
74
75
76 public ResearchRiskType getResearchRiskType() {
77 return researchRiskType;
78 }
79
80
81
82
83
84
85 public void setResearchRiskType(ResearchRiskType researchRiskType) {
86 this.researchRiskType = researchRiskType;
87 }
88
89
90
91
92
93
94 public boolean isActive() {
95 return active;
96 }
97
98
99
100
101
102
103 public void setActive(boolean active) {
104 this.active = active;
105 }
106
107
108
109
110
111
112 public Long getProposalNumber() {
113 return proposalNumber;
114 }
115
116
117
118
119
120
121 public void setProposalNumber(Long proposalNumber) {
122 this.proposalNumber = proposalNumber;
123 }
124
125
126
127
128
129
130 public String getResearchRiskTypeCode() {
131 return researchRiskTypeCode;
132 }
133
134
135
136
137
138
139 public void setResearchRiskTypeCode(String researchRiskTypeCode) {
140 this.researchRiskTypeCode = researchRiskTypeCode;
141 }
142
143 }