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 */
016package org.kuali.ole.select.businessobject;
017
018import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
019import org.kuali.rice.kim.api.identity.Person;
020import org.kuali.rice.kim.impl.role.RoleBo;
021import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
022
023import java.math.BigDecimal;
024
025
026public class OleDefaultValue extends PersistableBusinessObjectBase implements MutableInactivatable {
027
028    private BigDecimal defaultValueId;
029    private BigDecimal defaultTableColumnId;
030    private String defaultValue;
031    private String defaultValueFor;
032    private String roleId;
033    private String userId;
034    private boolean active;
035    private OleDefaultTableColumn oleDefaultTableColumn;
036    private RoleBo roles;
037    private Person users;
038
039    public Person getUsers() {
040        return users;
041    }
042
043    public void setUsers(Person users) {
044        this.users = users;
045    }
046
047    /* private String documentColumn;
048
049
050    public String getDocumentColumn() {
051        return documentColumn;
052    }
053
054    public void setDocumentColumn(String documentColumn) {
055        this.documentColumn = documentColumn;
056    }
057*/
058    public String getRoleId() {
059        return roleId;
060    }
061
062    public void setRoleId(String roleId) {
063        this.roleId = roleId;
064    }
065
066    public RoleBo getRoles() {
067        return roles;
068    }
069
070    public void setRoles(RoleBo roles) {
071        this.roles = roles;
072    }
073
074    public BigDecimal getDefaultValueId() {
075        return defaultValueId;
076    }
077
078    public void setDefaultValueId(BigDecimal defaultValueId) {
079        this.defaultValueId = defaultValueId;
080    }
081
082    public BigDecimal getDefaultTableColumnId() {
083        return defaultTableColumnId;
084    }
085
086    public void setDefaultTableColumnId(BigDecimal defaultTableColumnId) {
087        this.defaultTableColumnId = defaultTableColumnId;
088    }
089
090    public String getDefaultValue() {
091        return defaultValue;
092    }
093
094    public void setDefaultValue(String defaultValue) {
095        this.defaultValue = defaultValue;
096    }
097
098    public String getDefaultValueFor() {
099        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}