View Javadoc

1   package org.kuali.ole.license.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: ?
10   * Date: 7/13/12
11   * Time: 4:12 PM
12   * To change this template use File | Settings | File Templates.
13   */
14  public class OleLicenseRequestStatus extends PersistableBusinessObjectBase{
15  
16      private String code;
17      private String name;
18      private String description;
19      private boolean active;
20  
21      public String getCode() {
22          return code;
23      }
24  
25      public void setCode(String code) {
26          this.code = code;
27      }
28  
29      public String getName() {
30          return name;
31      }
32  
33      public void setName(String name) {
34          this.name = name;
35      }
36  
37      public String getDescription() {
38          return description;
39      }
40  
41      public void setDescription(String description) {
42          this.description = description;
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("code",code);
56          toStringMap.put("name",name);
57          toStringMap.put("description",description);
58          toStringMap.put("active",active);
59          return toStringMapper();
60      }
61  }