001    /*
002     * Copyright 2007-2009 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    package org.kuali.rice.kim.bo.ui;
017    
018    import javax.persistence.Column;
019    import javax.persistence.MappedSuperclass;
020    
021    import org.hibernate.annotations.Type;
022    import org.kuali.rice.kim.document.IdentityManagementRoleDocument;
023    
024    /**
025     * This is a description of what this class does - shyu don't forget to fill this in. 
026     * 
027     * @author Kuali Rice Team (rice.collab@kuali.org)
028     *
029     */
030    @MappedSuperclass
031    public class RoleDocumentBoDefaultBase extends KimDocumentBoBase{
032        @Type(type="yes_no")
033            @Column(name="DFLT_IND")
034            protected boolean dflt;
035    
036            protected IdentityManagementRoleDocument roleDocument;
037            
038            /**
039             * @return the roleDocument
040             */
041            public IdentityManagementRoleDocument getRoleDocument() {
042                    return this.roleDocument;
043            }
044    
045            /**
046             * @param roleDocument the roleDocument to set
047             */
048            public void setRoleDocument(IdentityManagementRoleDocument roleDocument) {
049                    this.roleDocument = roleDocument;
050            }
051    
052            public boolean isDflt() {
053                    return this.dflt;
054            }
055    
056            public void setDflt(boolean dflt) {
057                    this.dflt = dflt;
058            }
059    
060    }