ma.glasnost.orika.test.capturefieldcontext
Class FieldContextWithFiltersTestCase.AddressDepthFilter

java.lang.Object
  extended by ma.glasnost.orika.CustomFilter<A,B>
      extended by ma.glasnost.orika.NullFilter<Object,Object>
          extended by ma.glasnost.orika.test.capturefieldcontext.FieldContextWithFiltersTestCase.AddressDepthFilter
All Implemented Interfaces:
Filter<Object,Object>, MappedTypePair<Object,Object>
Enclosing class:
FieldContextWithFiltersTestCase

public static class FieldContextWithFiltersTestCase.AddressDepthFilter
extends NullFilter<Object,Object>


Nested Class Summary
 
Nested classes/interfaces inherited from class ma.glasnost.orika.CustomFilter
CustomFilter.MappedTypePairHolder<A,B>
 
Constructor Summary
FieldContextWithFiltersTestCase.AddressDepthFilter()
           
 
Method Summary
<S,D> boolean
shouldMap(Type<S> sourceType, String sourceName, S source, Type<D> destType, String destName, D dest, MappingContext mappingContext)
           
 
Methods inherited from class ma.glasnost.orika.NullFilter
filterDestination, filtersDestination, filterSource, filtersSource
 
Methods inherited from class ma.glasnost.orika.CustomFilter
appliesTo, getAType, getBType, inferTypes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldContextWithFiltersTestCase.AddressDepthFilter

public FieldContextWithFiltersTestCase.AddressDepthFilter()
Method Detail

shouldMap

public <S,D> boolean shouldMap(Type<S> sourceType,
                               String sourceName,
                               S source,
                               Type<D> destType,
                               String destName,
                               D dest,
                               MappingContext mappingContext)
Specified by:
shouldMap in interface Filter<Object,Object>
Overrides:
shouldMap in class NullFilter<Object,Object>


Copyright © 2014 Glasnost. All Rights Reserved.