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