View Javadoc
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.kew.doctype.bo.DocumentType;
20  import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
21  
22  import java.math.BigDecimal;
23  import java.util.LinkedHashMap;
24  
25  public class OleDefaultTableColumn extends PersistableBusinessObjectBase implements MutableInactivatable {
26  
27      private BigDecimal defaultTableColumnId;
28      private String documentTypeId;
29      private String documentColumn;
30      //private String defaultValue; 
31      private boolean active;
32      private DocumentType documentTypes;
33  
34      public String getDocumentTypeId() {
35          return documentTypeId;
36      }
37  
38      public void setDocumentTypeId(String documentTypeId) {
39          this.documentTypeId = documentTypeId;
40      }
41  
42      public DocumentType getDocumentTypes() {
43          return documentTypes;
44      }
45  
46      public void setDocumentTypes(DocumentType documentTypes) {
47          this.documentTypes = documentTypes;
48      }
49  
50  
51      public boolean isActive() {
52          return active;
53      }
54  
55      public void setActive(boolean active) {
56          this.active = active;
57      }
58  
59      public BigDecimal getDefaultTableColumnId() {
60          return defaultTableColumnId;
61      }
62  
63      public void setDefaultTableColumnId(BigDecimal defaultTableColumnId) {
64          this.defaultTableColumnId = defaultTableColumnId;
65      }
66  
67      public String getDocumentColumn() {
68          return documentColumn;
69      }
70  
71      public void setDocumentColumn(String documentColumn) {
72          this.documentColumn = documentColumn;
73      }
74  
75  
76      protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
77          // TODO Auto-generated method stub
78          LinkedHashMap m = new LinkedHashMap();
79          m.put("defaultTableColumnId", defaultTableColumnId);
80          m.put("documentTypeId", documentTypeId);
81          m.put("documentColumn", documentColumn);
82          m.put("active", active);
83          m.put("documentTypes", documentTypes);
84          return m;
85      }
86  
87  
88  }