Coverage Report - org.kuali.rice.kim.bo.role.dto.KimResponsibilityInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
KimResponsibilityInfo
0%
0/17
0%
0/2
1.2
 
 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 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.StringUtils;
 21  
 import org.apache.commons.lang.builder.ToStringBuilder;
 22  
 import org.kuali.rice.kim.bo.role.KimResponsibility;
 23  
 
 24  
 /**
 25  
  * This is a description of what this class does - kellerj don't forget to fill this in. 
 26  
  * 
 27  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 28  
  *
 29  
  */
 30  0
 public class KimResponsibilityInfo extends ResponsibilityDetailsInfo implements KimResponsibility, Serializable {
 31  
 
 32  
         private static final long serialVersionUID = 7887896860986162310L;
 33  
         protected String namespaceCode;
 34  
         protected String name;
 35  
         protected String description;
 36  
         
 37  
         protected boolean active;
 38  
         
 39  
         public String getName() {
 40  0
                 return this.name;
 41  
         }
 42  
         public void setName(String name) {
 43  0
                 this.name = name;
 44  0
         }
 45  
         public String getDescription() {
 46  0
                 return this.description;
 47  
         }
 48  
         public void setDescription(String description) {
 49  0
                 this.description = description;
 50  0
         }
 51  
         public boolean isActive() {
 52  0
                 return this.active;
 53  
         }
 54  
         public void setActive(boolean active) {
 55  0
                 this.active = active;
 56  0
         }
 57  
         public String getNamespaceCode() {
 58  0
                 return this.namespaceCode;
 59  
         }
 60  
         public void setNamespaceCode(String namespaceCode) {
 61  0
                 this.namespaceCode = namespaceCode;
 62  0
         }
 63  
         /**
 64  
          * @see java.lang.Object#toString()
 65  
          */
 66  
         public String toString() {
 67  0
                 return new ToStringBuilder( this )
 68  
                                 .append( "responsibilityId", this.responsibilityId )
 69  
                                 .append( "namespaceCode", this.namespaceCode )
 70  
                                 .append( "details", this.details )
 71  
                                 .toString();
 72  
         }
 73  
 
 74  
         public boolean equals(Object object) {
 75  0
                 if (!(object instanceof KimResponsibilityInfo)) {
 76  0
                         return false;
 77  
                 }
 78  0
                 return StringUtils.equals( responsibilityId, ((KimResponsibilityInfo)object).responsibilityId );
 79  
         }
 80  
         
 81  
 }