View Javadoc

1   package org.kuali.ole.catalog.bo;
2   
3   import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
4   
5   import java.sql.Date;
6   import java.util.LinkedHashMap;
7   
8   /**
9    * OleReceiptStatus is business object class for Receipt Status Maintenance Document
10   */
11  public class OleReceiptStatus extends PersistableBusinessObjectBase {
12  
13      private String receiptStatusId;
14      private String receiptStatusCode;
15      private String receiptStatusName;
16      private String source;
17      private Date sourceDate;
18      private boolean active;
19  
20      /**
21       *  Gets the receiptStatusId attribute.
22       * @return  Returns the receiptStatusId
23       */
24      public String getReceiptStatusId() {
25          return receiptStatusId;
26      }
27  
28      /**
29       * Sets the receiptStatusId attribute value.
30       * @param receiptStatusId The receiptStatusId to set.
31       */
32      public void setReceiptStatusId(String receiptStatusId) {
33          this.receiptStatusId = receiptStatusId;
34      }
35  
36      /**
37       *  Gets the receiptStatusCode attribute.
38       * @return  Returns the receiptStatusCode
39       */
40      public String getReceiptStatusCode() {
41          return receiptStatusCode;
42      }
43  
44      /**
45       * Sets the receiptStatusCode attribute value.
46       * @param receiptStatusCode The receiptStatusCode to set.
47       */
48      public void setReceiptStatusCode(String receiptStatusCode) {
49          this.receiptStatusCode = receiptStatusCode;
50      }
51  
52      /**
53       *  Gets the receiptStatusName attribute.
54       * @return  Returns the receiptStatusName
55       */
56      public String getReceiptStatusName() {
57          return receiptStatusName;
58      }
59  
60      /**
61       * Sets the receiptStatusName attribute value.
62       * @param receiptStatusName The receiptStatusName to set.
63       */
64      public void setReceiptStatusName(String receiptStatusName) {
65          this.receiptStatusName = receiptStatusName;
66      }
67  
68      /**
69       *  Gets the source attribute.
70       * @return  Returns the source
71       */
72      public String getSource() {
73          return source;
74      }
75  
76      /**
77       * Sets the source attribute value.
78       * @param source The source to set.
79       */
80      public void setSource(String source) {
81          this.source = source;
82      }
83  
84      /**
85       *  Gets the sourceDate attribute.
86       * @return  Returns the sourceDate
87       */
88      public Date getSourceDate() {
89          return sourceDate;
90      }
91  
92      /**
93       * Sets the sourceDate attribute value.
94       * @param sourceDate The sourceDate to set.
95       */
96      public void setSourceDate(Date sourceDate) {
97          this.sourceDate = sourceDate;
98      }
99  
100     /**
101      *  Gets the active attribute.
102      * @return  Returns the active
103      */
104     public boolean isActive() {
105         return active;
106     }
107 
108     /**
109      * Sets the active attribute value.
110      * @param active The active to set.
111      */
112     public void setActive(boolean active) {
113         this.active = active;
114     }
115 
116     /**
117      *  Gets the toStringMap attribute.
118      * @return  Returns the toStringMap
119      */
120     protected LinkedHashMap toStringMapper() {
121         LinkedHashMap toStringMap = new LinkedHashMap();
122         toStringMap.put("receiptStatusId", receiptStatusId);
123         toStringMap.put("receiptStatusCode", receiptStatusCode);
124         toStringMap.put("receiptStatusName", receiptStatusName);
125         toStringMap.put("source", source);
126         toStringMap.put("sourceDate", sourceDate);
127         toStringMap.put("active", active);
128         return toStringMap;
129     }
130 }