View Javadoc

1   package org.kuali.ole.agreement.bo;
2   
3   import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
4   
5   import java.util.LinkedHashMap;
6   
7   /**
8    *  OleAgreementStatus is business object class for Agreement Status Maintenance Document
9    */
10  public class OleAgreementStatus extends PersistableBusinessObjectBase {
11  
12      private String agreementStatusId;
13      private String agreementStatusName;
14      private String agreementStatusDesc;
15      private boolean active;
16  
17     /**
18       *  Gets the agreementStatusId attribute.
19       * @return  Returns the agreementStatusId
20       */
21      public String getAgreementStatusId() {
22          return agreementStatusId;
23      }
24  
25      /**
26       * Sets the agreementStatusId attribute value.
27       * @param agreementStatusId The agreementStatusId to set.
28       */
29      public void setAgreementStatusId(String agreementStatusId) {
30          this.agreementStatusId = agreementStatusId;
31      }
32  
33     /**
34       *  Gets the agreementStatusName attribute.
35       * @return  Returns the agreementStatusName
36       */
37      public String getAgreementStatusName() {
38          return agreementStatusName;
39      }
40  
41      /**
42       * Sets the agreementStatusName attribute value.
43       * @param agreementStatusName The agreementStatusName to set.
44       */
45      public void setAgreementStatusName(String agreementStatusName) {
46          this.agreementStatusName = agreementStatusName;
47      }
48  
49      /**
50       * Gets the agreementStatusDesc attribute
51       * @return  Returns the agreementStatusDesc
52       */
53      public String getAgreementStatusDesc() {
54          return agreementStatusDesc;
55      }
56  
57      /**
58       * Sets the agreementStatusDesc attribute value
59       * @param agreementStatusDesc The agreementStatusDesc to set
60       */
61      public void setAgreementStatusDesc(String agreementStatusDesc) {
62          this.agreementStatusDesc = agreementStatusDesc;
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("agreementStatusId", agreementStatusId);
88          toStringMap.put("agreementStatusName", agreementStatusName);
89          toStringMap.put("agreementStatusDesc", agreementStatusDesc);
90          toStringMap.put("active", active);
91          return toStringMap;
92      }
93  
94  }