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    * OleAcquisitionMethod is business object class for Acquisition Method Maintenance Document
10   */
11  public class OleAcquisitionMethod extends PersistableBusinessObjectBase {
12  
13      private Integer acquisitionMethodId;
14      private String acquisitionMethodCode;
15      private String acquisitionMethodName;
16      private String source;
17      private Date sourceDate;
18      private boolean active;
19  
20      /**
21       *  Gets the acquisitionMethodId attribute.
22       * @return  Returns the acquisitionMethodId
23       */
24      public Integer getAcquisitionMethodId() {
25          return acquisitionMethodId;
26      }
27  
28      /**
29       * Sets the acquisitionMethodId attribute value.
30       * @param acquisitionMethodId The acquisitionMethodId to set.
31       */
32      public void setAcquisitionMethodId(Integer acquisitionMethodId) {
33          this.acquisitionMethodId = acquisitionMethodId;
34      }
35  
36      /**
37       *  Gets the acquisitionMethodCode attribute.
38       * @return  Returns the acquisitionMethodCode
39       */
40      public String getAcquisitionMethodCode() {
41          return acquisitionMethodCode;
42      }
43  
44      /**
45       * Sets the acquisitionMethodCode attribute value.
46       * @param acquisitionMethodCode The acquisitionMethodCode to set.
47       */
48      public void setAcquisitionMethodCode(String acquisitionMethodCode) {
49          this.acquisitionMethodCode = acquisitionMethodCode;
50      }
51  
52      /**
53       *  Gets the acquisitionMethodName attribute.
54       * @return  Returns the acquisitionMethodName
55       */
56      public String getAcquisitionMethodName() {
57          return acquisitionMethodName;
58      }
59  
60      /**
61       * Sets the acquisitionMethodName attribute value.
62       * @param acquisitionMethodName The acquisitionMethodName to set.
63       */
64      public void setAcquisitionMethodName(String acquisitionMethodName) {
65          this.acquisitionMethodName = acquisitionMethodName;
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 source attribute.
86       * @return  Returns the source
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("acquisitionMethodId",acquisitionMethodId);
123         return toStringMap;
124     }
125 }