org.omnaest.utils.beans.replicator
Interface BeanReplicator.ConverterPipeDeclarer

All Superinterfaces:
Serializable
All Known Subinterfaces:
BeanReplicator.DeclarationSupport
Enclosing class:
BeanReplicator<FROM,TO>

public static interface BeanReplicator.ConverterPipeDeclarer
extends Serializable

Author:
Omnaest

Method Summary
<FROM> BeanReplicator.PipeBuilder<FROM,FROM>
addConverterPipeFrom(Class<FROM> typeFrom)
          Allows to declare a direct ElementConverter pipe from one type to another type.
 

Method Detail

addConverterPipeFrom

<FROM> BeanReplicator.PipeBuilder<FROM,FROM> addConverterPipeFrom(Class<FROM> typeFrom)
Allows to declare a direct ElementConverter pipe from one type to another type.

Any copy action invoked for the source and target type pair will use this chain of one or more ElementConverters to directly create the target property instances. Any generated instance will not be processed further in any way.

Parameters:
typeFrom -
Returns:
BeanReplicator.PipeBuilder


Copyright © 2013. All Rights Reserved.