Coverage Report - org.dozer.propertydescriptor.AbstractPropertyDescriptor
 
Classes in this File Line Coverage Branch Coverage Complexity
AbstractPropertyDescriptor
100%
9/9
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.propertydescriptor;
 17  
 
 18  
 import org.dozer.fieldmap.HintContainer;
 19  
 import org.dozer.util.DozerConstants;
 20  
 import org.dozer.util.MappingUtils;
 21  
 
 22  
 /**
 23  
  * Internal abstract property descriptor containing common property descriptor logic. Only intended for internal use.
 24  
  * 
 25  
  * @author tierney.matt
 26  
  * @author garsombke.franz
 27  
  */
 28  
 public abstract class AbstractPropertyDescriptor implements DozerPropertyDescriptor {
 29  
   protected final Class<?> clazz;
 30  
   protected final String fieldName;
 31  59731
   protected boolean isIndexed = false;
 32  
   protected int index;
 33  
   protected HintContainer srcDeepIndexHintContainer;
 34  
   protected HintContainer destDeepIndexHintContainer;
 35  
 
 36  
   // TODO Delete this class
 37  
   public AbstractPropertyDescriptor(final Class<?> clazz, final String fieldName, boolean isIndexed, int index,
 38  59731
       HintContainer srcDeepIndexHintContainer, HintContainer destDeepIndexHintContainer) {
 39  59731
     this.clazz = clazz;
 40  59731
     this.fieldName = fieldName;
 41  59731
     this.isIndexed = isIndexed;
 42  59731
     this.index = index;
 43  59731
     this.srcDeepIndexHintContainer = srcDeepIndexHintContainer;
 44  59731
     this.destDeepIndexHintContainer = destDeepIndexHintContainer;
 45  59731
   }  
 46  
 
 47  
 }