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   * Vendor Stipulation Business Object.
26   */
27  public class VendorStipulation extends PersistableBusinessObjectBase implements MutableInactivatable {
28  
29      private Integer vendorStipulationIdentifier;
30      private String vendorStipulationName;
31      private String vendorStipulationDescription;
32      private boolean active;
33  
34      /**
35       * Default constructor.
36       */
37      public VendorStipulation() {
38  
39      }
40  
41      public Integer getVendorStipulationIdentifier() {
42          return vendorStipulationIdentifier;
43      }
44  
45      public void setVendorStipulationIdentifier(Integer vendorStipulationIdentifier) {
46          this.vendorStipulationIdentifier = vendorStipulationIdentifier;
47      }
48  
49      public String getVendorStipulationName() {
50          return vendorStipulationName;
51      }
52  
53      public void setVendorStipulationName(String vendorStipulationName) {
54          this.vendorStipulationName = vendorStipulationName;
55      }
56  
57      public String getVendorStipulationDescription() {
58          return vendorStipulationDescription;
59      }
60  
61      public void setVendorStipulationDescription(String vendorStipulationDescription) {
62          this.vendorStipulationDescription = vendorStipulationDescription;
63      }
64  
65      public boolean isActive() {
66          return active;
67      }
68  
69      public void setActive(boolean active) {
70          this.active = active;
71      }
72  
73      /**
74       * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
75       */
76      protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
77          LinkedHashMap m = new LinkedHashMap();
78          if (this.vendorStipulationIdentifier != null) {
79              m.put("vendorStipulationIdentifier", this.vendorStipulationIdentifier.toString());
80          }
81          return m;
82      }
83  
84  }