1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.ole.coa.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 RestrictedStatus extends PersistableBusinessObjectBase implements MutableInactivatable {
27
28
29
30
31 public RestrictedStatus() {
32
33 }
34
35 private String accountRestrictedStatusCode;
36 private String accountRestrictedStatusName;
37 private boolean active;
38
39
40
41
42
43
44 public String getAccountRestrictedStatusCode() {
45 return accountRestrictedStatusCode;
46 }
47
48
49
50
51
52
53 public void setAccountRestrictedStatusCode(String accountRestrictedStatusCode) {
54 this.accountRestrictedStatusCode = accountRestrictedStatusCode;
55 }
56
57
58
59
60
61
62 public String getAccountRestrictedStatusName() {
63 return accountRestrictedStatusName;
64 }
65
66
67
68
69
70
71 public void setAccountRestrictedStatusName(String accountRestrictedStatusName) {
72 this.accountRestrictedStatusName = accountRestrictedStatusName;
73 }
74
75
76
77
78 public String getCodeAndDescription() {
79 String theString = getAccountRestrictedStatusCode() + " - " + getAccountRestrictedStatusName();
80 return theString;
81 }
82
83
84
85
86
87 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
88 LinkedHashMap m = new LinkedHashMap();
89
90 m.put("accountRestrictedStatusCode", this.accountRestrictedStatusCode);
91
92 return m;
93 }
94
95
96
97
98
99 public boolean isActive() {
100 return active;
101 }
102
103
104
105
106
107 public void setActive(boolean active) {
108 this.active = active;
109 }
110 }