Coverage Report - org.kuali.rice.kim.bo.role.dto.KimRoleInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
KimRoleInfo
0%
0/22
N/A
1
 
 1  
 /*
 2  
  * Copyright 2008 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.role.dto;
 17  
 
 18  
 import java.io.Serializable;
 19  
 
 20  
 import org.apache.commons.lang.builder.ToStringBuilder;
 21  
 import org.apache.commons.lang.builder.ToStringStyle;
 22  
 import org.kuali.rice.kim.bo.Role;
 23  
 
 24  
 
 25  
 /**
 26  
  * Simple Role data designed in DTO form for consumption by web services. 
 27  
  * 
 28  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 29  
  *
 30  
  */
 31  0
 public class KimRoleInfo implements Role, Serializable {
 32  
 
 33  
         protected String roleId;
 34  
         protected String roleName;
 35  
         protected String roleDescription;
 36  
         protected boolean active;
 37  
         protected String kimTypeId;
 38  
         protected String namespaceCode;
 39  
         
 40  
         public String getRoleId() {
 41  0
                 return this.roleId;
 42  
         }
 43  
         public void setRoleId(String roleId) {
 44  0
                 this.roleId = roleId;
 45  0
         }
 46  
         public String getRoleName() {
 47  0
                 return this.roleName;
 48  
         }
 49  
         public void setRoleName(String roleName) {
 50  0
                 this.roleName = roleName;
 51  0
         }
 52  
         public String getRoleDescription() {
 53  0
                 return this.roleDescription;
 54  
         }
 55  
         public void setRoleDescription(String roleDescription) {
 56  0
                 this.roleDescription = roleDescription;
 57  0
         }
 58  
         public boolean isActive() {
 59  0
                 return this.active;
 60  
         }
 61  
         public void setActive(boolean active) {
 62  0
                 this.active = active;
 63  0
         }
 64  
         public String getKimTypeId() {
 65  0
                 return this.kimTypeId;
 66  
         }
 67  
         public void setKimTypeId(String kimTypeId) {
 68  0
                 this.kimTypeId = kimTypeId;
 69  0
         }
 70  
         public String getNamespaceCode() {
 71  0
                 return this.namespaceCode;
 72  
         }
 73  
         public void setNamespaceCode(String namespaceCode) {
 74  0
                 this.namespaceCode = namespaceCode;
 75  0
         }
 76  
         /**
 77  
          * @see java.lang.Object#toString()
 78  
          */
 79  
         public String toString() {
 80  0
                 return new ToStringBuilder(this, ToStringStyle.DEFAULT_STYLE)
 81  
                                 .append("roleId", this.roleId)
 82  
                                 .append("namespaceCode", this.namespaceCode)
 83  
                                 .append("roleName", this.roleName)
 84  
                                 .append("active", this.active)
 85  
                                 .append("kimTypeId", this.kimTypeId)
 86  
                                 .toString();
 87  
         }
 88  
         
 89  
     public void refresh(){
 90  
             
 91  0
     }
 92  
    
 93  
     public void prepareForWorkflow(){
 94  
             
 95  0
     }
 96  
 
 97  
 }