View Javadoc

1   /*
2    * Copyright 2007 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.module.purap.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.sql.Date;
22  import java.util.LinkedHashMap;
23  
24  /**
25   * Purchase Order Quote Language Business Object.
26   */
27  public class PurchaseOrderQuoteLanguage extends PersistableBusinessObjectBase implements MutableInactivatable {
28  
29      private Integer purchaseOrderQuoteLanguageIdentifier;
30      private String purchaseOrderQuoteLanguageDescription;
31      private Date purchaseOrderQuoteLanguageCreateDate;
32      private boolean active;
33  
34      /**
35       * Default constructor.
36       */
37      public PurchaseOrderQuoteLanguage() {
38  
39      }
40  
41      public Integer getPurchaseOrderQuoteLanguageIdentifier() {
42          return purchaseOrderQuoteLanguageIdentifier;
43      }
44  
45      public void setPurchaseOrderQuoteLanguageIdentifier(Integer purchaseOrderQuoteLanguageIdentifier) {
46          this.purchaseOrderQuoteLanguageIdentifier = purchaseOrderQuoteLanguageIdentifier;
47      }
48  
49      public String getPurchaseOrderQuoteLanguageDescription() {
50          return purchaseOrderQuoteLanguageDescription;
51      }
52  
53      public void setPurchaseOrderQuoteLanguageDescription(String purchaseOrderQuoteLanguageDescription) {
54          this.purchaseOrderQuoteLanguageDescription = purchaseOrderQuoteLanguageDescription;
55      }
56  
57      public Date getPurchaseOrderQuoteLanguageCreateDate() {
58          return purchaseOrderQuoteLanguageCreateDate;
59      }
60  
61      public void setPurchaseOrderQuoteLanguageCreateDate(Date purchaseOrderQuoteLanguageCreateDate) {
62          this.purchaseOrderQuoteLanguageCreateDate = purchaseOrderQuoteLanguageCreateDate;
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.purchaseOrderQuoteLanguageIdentifier != null) {
79              m.put("purchaseOrderQuoteLanguageIdentifier", this.purchaseOrderQuoteLanguageIdentifier.toString());
80          }
81          return m;
82      }
83  
84  }