Coverage Report - org.kuali.rice.kim.bo.role.dto.KimResponsibilityTemplateInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
KimResponsibilityTemplateInfo
0%
0/20
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 responsibilitys 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.kuali.rice.kim.bo.role.KimResponsibilityTemplate;
 22  
 
 23  
 /**
 24  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 25  
  */
 26  0
 public class KimResponsibilityTemplateInfo implements KimResponsibilityTemplate, Serializable {
 27  
 
 28  
         private static final long serialVersionUID = -282533234389371097L;
 29  
         
 30  
         protected String responsibilityTemplateId;
 31  
         protected String namespaceCode;
 32  
         protected String name;
 33  
         protected String kimTypeId;
 34  
         protected String description;
 35  
         protected boolean active;
 36  
         
 37  
         public String getKimTypeId() {
 38  0
                 return kimTypeId;
 39  
         }
 40  
 
 41  
         /**
 42  
          * @see org.kuali.rice.kns.bo.Inactivateable#isActive()
 43  
          */
 44  
         public boolean isActive() {
 45  0
                 return active;
 46  
         }
 47  
 
 48  
         /**
 49  
          * @see org.kuali.rice.kns.bo.Inactivateable#setActive(boolean)
 50  
          */
 51  
         public void setActive(boolean active) {
 52  0
                 this.active = active;
 53  0
         }
 54  
 
 55  
         /**
 56  
          * @see org.kuali.rice.kim.bo.role.KimResponsibility#getDescription()
 57  
          */
 58  
         public String getDescription() {
 59  0
                 return description;
 60  
         }
 61  
 
 62  
         /**
 63  
          * @see org.kuali.rice.kim.bo.role.KimResponsibility#getResponsibilityId()
 64  
          */
 65  
         public String getResponsibilityTemplateId() {
 66  0
                 return responsibilityTemplateId;
 67  
         }
 68  
 
 69  
         /**
 70  
          * @see org.kuali.rice.kim.bo.role.KimResponsibility#getName()
 71  
          */
 72  
         public String getName() {
 73  0
                 return name;
 74  
         }
 75  
 
 76  
         public void setKimTypeId(String kimTypeId) {
 77  0
                 this.kimTypeId = kimTypeId;
 78  0
         }
 79  
 
 80  
         public void setDescription(String description) {
 81  0
                 this.description = description;
 82  0
         }
 83  
 
 84  
         public void setName(String name) {
 85  0
                 this.name = name;
 86  0
         }
 87  
 
 88  
         @Override
 89  
         public String toString() {
 90  0
                 return new ToStringBuilder( this )
 91  
                 .append( "responsibilityTemplateId", this.responsibilityTemplateId )
 92  
                 .append( "name", this.name )
 93  
                 .append( "kimTypeId", this.kimTypeId )
 94  
                 .toString();
 95  
         }
 96  
 
 97  
         public String getNamespaceCode() {
 98  0
                 return this.namespaceCode;
 99  
         }
 100  
 
 101  
         public void setNamespaceCode(String namespaceCode) {
 102  0
                 this.namespaceCode = namespaceCode;
 103  0
         }
 104  
 
 105  
         public void setResponsibilityTemplateId(String responsibilityTemplateId) {
 106  0
                 this.responsibilityTemplateId = responsibilityTemplateId;
 107  0
         }
 108  
 }