1 /*
2 * Copyright 2011 The Kuali Foundation.
3 *
4 * Licensed under the Educational Community License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.opensource.org/licenses/ecl2.php
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16 package org.kuali.ole.select.businessobject;
17
18 import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
19 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
20
21 import java.util.LinkedHashMap;
22
23 public class OlePaymentMethod extends PersistableBusinessObjectBase implements MutableInactivatable {
24 private Integer paymentMethodId;
25 private String paymentMethod;
26 private String paymentMethodDescription;
27 private boolean active;
28
29 /**
30 * Gets payment method id.
31 *
32 * @return paymentMethodId.
33 */
34
35 public Integer getPaymentMethodId() {
36 return paymentMethodId;
37 }
38
39 /**
40 * Sets payment method id.
41 *
42 * @param paymentMethodId to set.
43 */
44 public void setPaymentMethodId(Integer paymentMethodId) {
45 this.paymentMethodId = paymentMethodId;
46 }
47
48 /**
49 * Gets payment method.
50 *
51 * @return paymentMethod.
52 */
53 public String getPaymentMethod() {
54 return paymentMethod;
55 }
56
57 /**
58 * Sets payment method.
59 *
60 * @param payment method to set.
61 */
62 public void setPaymentMethod(String paymentMethod) {
63 this.paymentMethod = paymentMethod;
64 }
65
66 /**
67 * Gets payment Method Description.
68 *
69 * @return paymentMethodDescription.
70 */
71 public String getPaymentMethodDescription() {
72 return paymentMethodDescription;
73 }
74
75
76 /**
77 * Sets payment method description.
78 *
79 * @param paymentMethodDescription to set.
80 */
81 public void setPaymentMethodDescription(String paymentMethodDescription) {
82 this.paymentMethodDescription = paymentMethodDescription;
83 }
84
85
86 /**
87 * Gets active indicator.
88 *
89 * @return active.
90 */
91 public boolean isActive() {
92 return active;
93 }
94
95 /**
96 * Sets active indicator.
97 *
98 * @param active.
99 */
100 public void setActive(boolean active) {
101 this.active = active;
102 }
103
104
105 /**
106 * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
107 */
108
109 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
110 LinkedHashMap m = new LinkedHashMap();
111 m.put("paymentMethodId", this.paymentMethodId);
112 return m;
113 }
114 }