View Javadoc

1   /*
2    * Copyright 2006 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  
17  package org.kuali.ole.module.purap.businessobject;
18  
19  import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
20  import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
21  
22  import java.util.LinkedHashMap;
23  
24  /**
25   * Purchase Order Transmission Method Business Object.
26   */
27  public class PurchaseOrderTransmissionMethod extends PersistableBusinessObjectBase implements MutableInactivatable {
28  
29      private String purchaseOrderTransmissionMethodCode;
30      private String purchaseOrderTransmissionMethodDescription;
31      private boolean active;
32      private boolean displayToUser;
33  
34      /**
35       * Default constructor.
36       */
37      public PurchaseOrderTransmissionMethod() {
38  
39      }
40  
41      public String getPurchaseOrderTransmissionMethodCode() {
42          return purchaseOrderTransmissionMethodCode;
43      }
44  
45      public void setPurchaseOrderTransmissionMethodCode(String purchaseOrderTransmissionMethodCode) {
46          this.purchaseOrderTransmissionMethodCode = purchaseOrderTransmissionMethodCode;
47      }
48  
49      public String getPurchaseOrderTransmissionMethodDescription() {
50          return purchaseOrderTransmissionMethodDescription;
51      }
52  
53      public void setPurchaseOrderTransmissionMethodDescription(String purchaseOrderTransmissionMethodDescription) {
54          this.purchaseOrderTransmissionMethodDescription = purchaseOrderTransmissionMethodDescription;
55      }
56  
57      public boolean isActive() {
58          return active;
59      }
60  
61      public void setActive(boolean active) {
62          this.active = active;
63      }
64  
65      /**
66       * @return the displayToUser
67       */
68      public boolean isDisplayToUser() {
69          return displayToUser;
70      }
71  
72      /**
73       * @param displayToUser the displayToUser to set
74       */
75      public void setDisplayToUser(boolean displayToUser) {
76          this.displayToUser = displayToUser;
77      }
78  
79      /**
80       * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
81       */
82      protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
83          LinkedHashMap m = new LinkedHashMap();
84          m.put("purchaseOrderTransmissionMethodCode", this.purchaseOrderTransmissionMethodCode);
85          return m;
86      }
87  
88  }