View Javadoc
1   package org.kuali.ole.select.bo;
2   
3   import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
4   
5   import java.util.LinkedHashMap;
6   
7   /**
8    * Created with IntelliJ IDEA.
9    * User: meenau
10   * Date: 12/9/13
11   * Time: 4:03 PM
12   * To change this template use File | Settings | File Templates.
13   */
14  public class OLECancellationReason extends PersistableBusinessObjectBase {
15  
16      private String cancelReasonId;
17      private String cancelReasonName;
18      private String cancelReasonText;
19      private boolean active;
20  
21      public String getCancelReasonId() {
22          return cancelReasonId;
23      }
24  
25      public void setCancelReasonId(String cancelReasonId) {
26          this.cancelReasonId = cancelReasonId;
27      }
28  
29      public String getCancelReasonName() {
30          return cancelReasonName;
31      }
32  
33      public void setCancelReasonName(String cancelReasonName) {
34          this.cancelReasonName = cancelReasonName;
35      }
36  
37      public String getCancelReasonText() {
38          return cancelReasonText;
39      }
40  
41      public void setCancelReasonText(String cancelReasonText) {
42          this.cancelReasonText = cancelReasonText;
43      }
44  
45      public boolean isActive() {
46          return active;
47      }
48  
49      public void setActive(boolean active) {
50          this.active = active;
51      }
52  
53      protected LinkedHashMap toStringMapper() {
54          LinkedHashMap toStringMap = new LinkedHashMap();
55          toStringMap.put("cancelReasonId", cancelReasonId);
56          toStringMap.put("cancelReasonName", cancelReasonName);
57          toStringMap.put("cancelReasonText", cancelReasonText);
58          toStringMap.put("active", active);
59          return toStringMap;
60      }
61  }