1 package org.kuali.ole.describe.bo;
2
3 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
4
5 import java.util.Date;
6 import java.util.LinkedHashMap;
7
8 /**
9 * OleLendingPolicy is business object class for Lending Policy Maintenance Document
10 */
11 public class OleLendingPolicy extends PersistableBusinessObjectBase {
12 private Integer lendingPolicyId;
13 private String lendingPolicyCode;
14 private String lendingPolicyName;
15 private String source;
16 private Date sourceDate;
17 private boolean active;
18
19 /**
20 * Gets the lendingPolicyId attribute.
21 *
22 * @return Returns the lendingPolicyId
23 */
24 public Integer getLendingPolicyId() {
25 return lendingPolicyId;
26 }
27
28 /**
29 * Sets the lendingPolicyId attribute value.
30 *
31 * @param lendingPolicyId The lendingPolicyId to set.
32 */
33 public void setLendingPolicyId(Integer lendingPolicyId) {
34 this.lendingPolicyId = lendingPolicyId;
35 }
36
37 /**
38 * Gets the lendingPolicyCode attribute.
39 *
40 * @return Returns the lendingPolicyCode
41 */
42 public String getLendingPolicyCode() {
43 return lendingPolicyCode;
44 }
45
46 /**
47 * Sets the lendingPolicyCode attribute value.
48 *
49 * @param lendingPolicyCode The lendingPolicyCode to set.
50 */
51 public void setLendingPolicyCode(String lendingPolicyCode) {
52 this.lendingPolicyCode = lendingPolicyCode;
53 }
54
55 /**
56 * Gets the lendingPolicyName attribute.
57 *
58 * @return Returns the lendingPolicyName
59 */
60 public String getLendingPolicyName() {
61 return lendingPolicyName;
62 }
63
64 /**
65 * Sets the lendingPolicyName attribute value.
66 *
67 * @param lendingPolicyName The lendingPolicyName to set.
68 */
69 public void setLendingPolicyName(String lendingPolicyName) {
70 this.lendingPolicyName = lendingPolicyName;
71 }
72
73 /**
74 * Gets the source attribute.
75 *
76 * @return Returns the source
77 */
78 public String getSource() {
79 return source;
80 }
81
82 /**
83 * Sets the source attribute value.
84 *
85 * @param source The source to set.
86 */
87 public void setSource(String source) {
88 this.source = source;
89 }
90
91 /**
92 * Gets the sourceDate attribute.
93 *
94 * @return Returns the sourceDate
95 */
96 public Date getSourceDate() {
97 return sourceDate;
98 }
99
100 /**
101 * Sets the sourceDate attribute value.
102 *
103 * @param sourceDate The sourceDate to set.
104 */
105 public void setSourceDate(Date sourceDate) {
106 this.sourceDate = sourceDate;
107 }
108
109 /**
110 * Gets the active attribute.
111 *
112 * @return Returns the active
113 */
114 public boolean isActive() {
115 return active;
116 }
117
118 /**
119 * Sets the active attribute value.
120 *
121 * @param active The active to set.
122 */
123 public void setActive(boolean active) {
124 this.active = active;
125 }
126
127 /**
128 * Gets the toStringMap attribute.
129 *
130 * @return Returns the toStringMap
131 */
132 protected LinkedHashMap toStringMapper() {
133 LinkedHashMap toStringMap = new LinkedHashMap();
134 toStringMap.put("lendingPolicyId", lendingPolicyId);
135 return toStringMap;
136 }
137
138 }