Coverage Report - org.dozer.converters.CustomConverterDescription
 
Classes in this File Line Coverage Branch Coverage Complexity
CustomConverterDescription
90%
10/11
N/A
1
 
 1  
 /**
 2  
  * Copyright 2005-2013 Dozer Project
 3  
  *
 4  
  * Licensed under the Apache 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.apache.org/licenses/LICENSE-2.0
 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.dozer.converters;
 17  
 
 18  
 import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
 19  
 import org.apache.commons.lang3.builder.ToStringStyle;
 20  
 
 21  
 /**
 22  
  * Internal class that contains the custom converter definition information. Only intended for internal use.
 23  
  * 
 24  
  * @author sullins.ben
 25  
  */
 26  399
 public class CustomConverterDescription {
 27  
   private Class<?> type;
 28  
   private Class<?> classB;
 29  
   private Class<?> classA;
 30  
 
 31  
   public Class<?> getClassA() {
 32  7009
     return classA;
 33  
   }
 34  
 
 35  
   public void setClassA(Class<?> classA) {
 36  397
     this.classA = classA;
 37  397
   }
 38  
 
 39  
   public Class<?> getClassB() {
 40  7009
     return classB;
 41  
   }
 42  
 
 43  
   public void setClassB(Class<?> classB) {
 44  397
     this.classB = classB;
 45  397
   }
 46  
 
 47  
   public Class<?> getType() {
 48  75
     return type;
 49  
   }
 50  
 
 51  
   public void setType(Class<?> type) {
 52  396
     this.type = type;
 53  396
   }
 54  
 
 55  
   @Override
 56  
   public String toString() {
 57  0
     return ReflectionToStringBuilder.toString(this, ToStringStyle.MULTI_LINE_STYLE);
 58  
   }
 59  
 }