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.kim.api.identity.Person;
20  import org.kuali.rice.kim.impl.role.RoleBo;
21  import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
22  
23  import java.math.BigDecimal;
24  
25  
26  public class OleDefaultValue extends PersistableBusinessObjectBase implements MutableInactivatable {
27  
28      private BigDecimal defaultValueId;
29      private BigDecimal defaultTableColumnId;
30      private String defaultValue;
31      private String defaultValueFor;
32      private String roleId;
33      private String userId;
34      private boolean active;
35      private OleDefaultTableColumn oleDefaultTableColumn;
36      private RoleBo roles;
37      private Person users;
38  
39      public Person getUsers() {
40          return users;
41      }
42  
43      public void setUsers(Person users) {
44          this.users = users;
45      }
46  
47      /* private String documentColumn;
48  
49  
50      public String getDocumentColumn() {
51          return documentColumn;
52      }
53  
54      public void setDocumentColumn(String documentColumn) {
55          this.documentColumn = documentColumn;
56      }
57  */
58      public String getRoleId() {
59          return roleId;
60      }
61  
62      public void setRoleId(String roleId) {
63          this.roleId = roleId;
64      }
65  
66      public RoleBo getRoles() {
67          return roles;
68      }
69  
70      public void setRoles(RoleBo roles) {
71          this.roles = roles;
72      }
73  
74      public BigDecimal getDefaultValueId() {
75          return defaultValueId;
76      }
77  
78      public void setDefaultValueId(BigDecimal defaultValueId) {
79          this.defaultValueId = defaultValueId;
80      }
81  
82      public BigDecimal getDefaultTableColumnId() {
83          return defaultTableColumnId;
84      }
85  
86      public void setDefaultTableColumnId(BigDecimal defaultTableColumnId) {
87          this.defaultTableColumnId = defaultTableColumnId;
88      }
89  
90      public String getDefaultValue() {
91          return defaultValue;
92      }
93  
94      public void setDefaultValue(String defaultValue) {
95          this.defaultValue = defaultValue;
96      }
97  
98      public String getDefaultValueFor() {
99          return defaultValueFor;
100     }
101 
102     public void setDefaultValueFor(String defaultValueFor) {
103         this.defaultValueFor = defaultValueFor;
104     }
105 
106     public String getUserId() {
107         return userId;
108     }
109 
110     public void setUserId(String userId) {
111         this.userId = userId;
112     }
113 
114     public OleDefaultTableColumn getOleDefaultTableColumn() {
115         return oleDefaultTableColumn;
116     }
117 
118     public void setOleDefaultTableColumn(OleDefaultTableColumn oleDefaultTableColumn) {
119         this.oleDefaultTableColumn = oleDefaultTableColumn;
120     }
121 
122     @Override
123     public boolean isActive() {
124         return active;
125     }
126 
127     public void setActive(boolean active) {
128         this.active = active;
129     }
130 
131 }