Coverage Report - org.kuali.rice.kim.bo.ui.RoleDocumentBoBase
 
Classes in this File Line Coverage Branch Coverage Complexity
RoleDocumentBoBase
0%
0/16
N/A
1
 
 1  
 /*
 2  
  * Copyright 2007-2009 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.rice.kim.bo.ui;
 17  
 
 18  
 import java.util.LinkedHashMap;
 19  
 
 20  
 import javax.persistence.Column;
 21  
 import javax.persistence.MappedSuperclass;
 22  
 
 23  
 import org.hibernate.annotations.Type;
 24  
 import org.kuali.rice.kim.document.IdentityManagementRoleDocument;
 25  
 import org.kuali.rice.kns.bo.PersistableBusinessObjectBase;
 26  
 
 27  
 /**
 28  
  * 
 29  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 30  
  *
 31  
  */
 32  
 @MappedSuperclass
 33  0
 public class RoleDocumentBoBase  extends PersistableBusinessObjectBase {
 34  
     @Column(name="DOC_HDR_ID")
 35  
     protected String documentNumber;
 36  
         @Type(type="yes_no")
 37  
         @Column(name="ACTV_IND")
 38  
     protected boolean active;
 39  
         @Type(type="yes_no")
 40  
         @Column(name="EDIT_FLAG")
 41  
     protected boolean edit;
 42  
         protected IdentityManagementRoleDocument roleDocument;
 43  
 
 44  
         /**
 45  
          * This overridden method ...
 46  
          * 
 47  
          * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper()
 48  
          */
 49  
         @Override
 50  
         protected LinkedHashMap toStringMapper() {
 51  0
                 LinkedHashMap m = new LinkedHashMap();
 52  0
                 m.put( "documentNumber", documentNumber );
 53  0
                 return m;
 54  
         }
 55  
 
 56  
         public String getDocumentNumber() {
 57  0
                 return this.documentNumber;
 58  
         }
 59  
 
 60  
         public void setDocumentNumber(String documentNumber) {
 61  0
                 this.documentNumber = documentNumber;
 62  0
         }
 63  
 
 64  
         public boolean isActive() {
 65  0
                 return this.active;
 66  
         }
 67  
 
 68  
         public void setActive(boolean active) {
 69  0
                 this.active = active;
 70  0
         }
 71  
 
 72  
         public IdentityManagementRoleDocument getRoleDocument() {
 73  0
                 return this.roleDocument;
 74  
         }
 75  
 
 76  
         public void setRoleDocument(IdentityManagementRoleDocument roleDocument) {
 77  0
                 this.roleDocument = roleDocument;
 78  0
         }
 79  
 
 80  
         public boolean isEdit() {
 81  0
                 return this.edit;
 82  
         }
 83  
 
 84  
         public void setEdit(boolean edit) {
 85  0
                 this.edit = edit;
 86  0
         }
 87  
 
 88  
 }