001 /*
002 * Copyright 2011 The Kuali Foundation.
003 *
004 * Licensed under the Educational Community License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.opensource.org/licenses/ecl2.php
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016
017 package org.kuali.kfs.module.purap.businessobject;
018
019 import java.util.LinkedHashMap;
020
021 import org.kuali.rice.kns.bo.Inactivateable;
022 import org.kuali.rice.kns.bo.PersistableBusinessObjectBase;
023
024 /**
025 * Vendor Stipulation Business Object.
026 */
027 public class VendorStipulation extends PersistableBusinessObjectBase implements Inactivateable{
028
029 private Integer vendorStipulationIdentifier;
030 private String vendorStipulationName;
031 private String vendorStipulationDescription;
032 private boolean active;
033
034 /**
035 * Default constructor.
036 */
037 public VendorStipulation() {
038
039 }
040
041 public Integer getVendorStipulationIdentifier() {
042 return vendorStipulationIdentifier;
043 }
044
045 public void setVendorStipulationIdentifier(Integer vendorStipulationIdentifier) {
046 this.vendorStipulationIdentifier = vendorStipulationIdentifier;
047 }
048
049 public String getVendorStipulationName() {
050 return vendorStipulationName;
051 }
052
053 public void setVendorStipulationName(String vendorStipulationName) {
054 this.vendorStipulationName = vendorStipulationName;
055 }
056
057 public String getVendorStipulationDescription() {
058 return vendorStipulationDescription;
059 }
060
061 public void setVendorStipulationDescription(String vendorStipulationDescription) {
062 this.vendorStipulationDescription = vendorStipulationDescription;
063 }
064
065 public boolean isActive() {
066 return active;
067 }
068
069 public void setActive(boolean active) {
070 this.active = active;
071 }
072
073 /**
074 * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper()
075 */
076 protected LinkedHashMap toStringMapper() {
077 LinkedHashMap m = new LinkedHashMap();
078 if (this.vendorStipulationIdentifier != null) {
079 m.put("vendorStipulationIdentifier", this.vendorStipulationIdentifier.toString());
080 }
081 return m;
082 }
083
084 }