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