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    * Created with IntelliJ IDEA.
9    * User: ?
10   * Date: 6/19/12
11   * Time: 2:15 PM
12   * To change this template use File | Settings | File Templates.
13   */
14  public class OleAgreementStatus extends PersistableBusinessObjectBase {
15  
16      private String agreementStatusId;
17      private String agreementStatusName;
18      private boolean active;
19  
20     /**
21       *  Gets the agreementStatusId attribute.
22       * @return  Returns the agreementStatusId
23       */
24      public String getAgreementStatusId() {
25          return agreementStatusId;
26      }
27  
28      /**
29       * Sets the agreementStatusId attribute value.
30       * @param agreementStatusId The agreementStatusId to set.
31       */
32      public void setAgreementStatusId(String agreementStatusId) {
33          this.agreementStatusId = agreementStatusId;
34      }
35  
36     /**
37       *  Gets the agreementStatusName attribute.
38       * @return  Returns the agreementStatusName
39       */
40      public String getAgreementStatusName() {
41          return agreementStatusName;
42      }
43  
44      /**
45       * Sets the agreementStatusName attribute value.
46       * @param agreementStatusName The agreementStatusName to set.
47       */
48      public void setAgreementStatusName(String agreementStatusName) {
49          this.agreementStatusName = agreementStatusName;
50      }
51  
52      /**
53       *  Gets the active attribute.
54       * @return  Returns the active
55       */
56      public boolean isActive() {
57          return active;
58      }
59  
60      /**
61       * Sets the active attribute value.
62       * @param active The active to set.
63       */
64      public void setActive(boolean active) {
65          this.active = active;
66      }
67  
68      /**
69       *  Gets the toStringMap attribute.
70       * @return  Returns the toStringMap
71       */
72      protected LinkedHashMap toStringMapper() {
73          LinkedHashMap toStringMap = new LinkedHashMap();
74          toStringMap.put("agreementStatusId", agreementStatusId);
75          toStringMap.put("agreementStatusName", agreementStatusName);
76          toStringMap.put("active", active);
77          return toStringMap;
78      }
79  
80  }