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    * OleLicenseRequestStatus is the business object class for License Request Status Maintenance Document.
9    */
10  public class OleLicenseRequestStatus extends PersistableBusinessObjectBase {
11  
12      private String code;
13      private String name;
14      private String description;
15      private boolean active;
16  
17      /**
18       * Gets the code attribute.
19       *
20       * @return Returns the code
21       */
22      public String getCode() {
23          return code;
24      }
25  
26      /**
27       * Sets the code attribute value.
28       *
29       * @param code The code to set.
30       */
31      public void setCode(String code) {
32          this.code = code;
33      }
34  
35      /**
36       * Gets the name attribute.
37       *
38       * @return Returns the name
39       */
40      public String getName() {
41          return name;
42      }
43  
44      /**
45       * Sets the name attribute value.
46       *
47       * @param name The name to set.
48       */
49      public void setName(String name) {
50          this.name = name;
51      }
52  
53      /**
54       * Gets the description attribute.
55       *
56       * @return Returns the description
57       */
58      public String getDescription() {
59          return description;
60      }
61  
62      /**
63       * Sets the description attribute value.
64       *
65       * @param description The description to set.
66       */
67      public void setDescription(String description) {
68          this.description = description;
69      }
70  
71      /**
72       * Gets the active attribute.
73       *
74       * @return Returns the active
75       */
76      public boolean isActive() {
77          return active;
78      }
79  
80      /**
81       * Sets the active attribute value.
82       *
83       * @param active The active to set.
84       */
85      public void setActive(boolean active) {
86          this.active = active;
87      }
88  
89      /**
90       * Gets the toStringMapper attribute.
91       *
92       * @return Returns the toStringMapper
93       */
94      protected LinkedHashMap toStringMapper() {
95          LinkedHashMap toStringMap = new LinkedHashMap();
96          toStringMap.put("code", code);
97          toStringMap.put("name", name);
98          toStringMap.put("description", description);
99          toStringMap.put("active", active);
100         return toStringMapper();
101     }
102 }