View Javadoc

1   package org.kuali.ole.catalog.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       * @return  Returns the lendingPolicyId
22       */
23      public Integer getLendingPolicyId() {
24          return lendingPolicyId;
25      }
26  
27      /**
28       * Sets the lendingPolicyId attribute value.
29       * @param lendingPolicyId The lendingPolicyId to set.
30       */
31      public void setLendingPolicyId(Integer lendingPolicyId) {
32          this.lendingPolicyId = lendingPolicyId;
33      }
34  
35      /**
36       *  Gets the lendingPolicyCode attribute.
37       * @return  Returns the lendingPolicyCode
38       */
39      public String getLendingPolicyCode() {
40          return lendingPolicyCode;
41      }
42  
43      /**
44       * Sets the lendingPolicyCode attribute value.
45       * @param lendingPolicyCode The lendingPolicyCode to set.
46       */
47      public void setLendingPolicyCode(String lendingPolicyCode) {
48          this.lendingPolicyCode = lendingPolicyCode;
49      }
50  
51      /**
52       *  Gets the lendingPolicyName attribute.
53       * @return  Returns the lendingPolicyName
54       */
55      public String getLendingPolicyName() {
56          return lendingPolicyName;
57      }
58  
59      /**
60       * Sets the lendingPolicyName attribute value.
61       * @param lendingPolicyName The lendingPolicyName to set.
62       */
63      public void setLendingPolicyName(String lendingPolicyName) {
64          this.lendingPolicyName = lendingPolicyName;
65      }
66  
67      /**
68       *  Gets the source attribute.
69       * @return  Returns the source
70       */
71      public String getSource() {
72          return source;
73      }
74  
75      /**
76       * Sets the source attribute value.
77       * @param source The source to set.
78       */
79      public void setSource(String source) {
80          this.source = source;
81      }
82  
83      /**
84       *  Gets the sourceDate attribute.
85       * @return  Returns the sourceDate
86       */
87      public Date getSourceDate() {
88          return sourceDate;
89      }
90  
91      /**
92       * Sets the sourceDate attribute value.
93       * @param sourceDate The sourceDate to set.
94       */
95      public void setSourceDate(Date sourceDate) {
96          this.sourceDate = sourceDate;
97      }
98  
99      /**
100      *  Gets the active attribute.
101      * @return  Returns the active
102      */
103     public boolean isActive() {
104         return active;
105     }
106 
107     /**
108      * Sets the active attribute value.
109      * @param active The active to set.
110      */
111     public void setActive(boolean active) {
112         this.active = active;
113     }
114 
115     /**
116      *  Gets the toStringMap attribute.
117      * @return  Returns the toStringMap
118      */
119     protected LinkedHashMap toStringMapper() {
120         LinkedHashMap toStringMap = new LinkedHashMap();
121         toStringMap.put("lendingPolicyId", lendingPolicyId);
122         return toStringMap;
123     }
124 
125 }