org.omnaest.utils.beans.mapconverter
Class BeanToNestedMapConverter.BeanConversionFilterExcludingPrimitiveAndString
java.lang.Object
org.omnaest.utils.beans.mapconverter.BeanToNestedMapConverter.BeanConversionFilterExcludingPrimitiveAndString
- Type Parameters:
B -
- All Implemented Interfaces:
- BeanToNestedMapConverter.BeanConversionFilter
- Enclosing class:
- BeanToNestedMapConverter<B>
public static class BeanToNestedMapConverter.BeanConversionFilterExcludingPrimitiveAndString
- extends Object
- implements BeanToNestedMapConverter.BeanConversionFilter
Excludes all object instances which are primitives, wrappers for primitives or String
- Author:
- Omnaest
- See Also:
BeanToNestedMapConverter.BeanConversionFilter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanToNestedMapConverter.BeanConversionFilterExcludingPrimitiveAndString
public BeanToNestedMapConverter.BeanConversionFilterExcludingPrimitiveAndString()
hasBeanToBeConverted
public boolean hasBeanToBeConverted(Class<?> declaringType,
Object bean)
- Description copied from interface:
BeanToNestedMapConverter.BeanConversionFilter
- Returns true, if a given JavaBean should be converted to a
Map
- Specified by:
hasBeanToBeConverted in interface BeanToNestedMapConverter.BeanConversionFilter
- Parameters:
declaringType - : type which is declared by the referencing property (this can be for example an interface or any supertype of the
actual incoming bean object)bean - : the actual bean to be converted
- Returns:
Copyright © 2013. All Rights Reserved.