org.omnaest.utils.beans.replicator
Interface BeanReplicator.PipeBuilder<FROM,TO>

Type Parameters:
FROM -
TO -
Enclosing class:
BeanReplicator<FROM,TO>

public static interface BeanReplicator.PipeBuilder<FROM,TO>

The BeanReplicator.PipeBuilder allows to construct a pipe from a given type to another over one or multiple ElementConverter instances.

Author:
Omnaest

Method Summary
<OVER> BeanReplicator.PipeBuilder<FROM,OVER>
over(ElementConverter<FROM,OVER> elementConverter)
          Adds an additional ElementConverter to the converter pipe
 void to(Class<TO> typeTo)
          Closes the converter pipe and adds it to the BeanReplicator
 

Method Detail

over

<OVER> BeanReplicator.PipeBuilder<FROM,OVER> over(ElementConverter<FROM,OVER> elementConverter)
Adds an additional ElementConverter to the converter pipe

Parameters:
elementConverter - ElementConverter
Returns:

to

void to(Class<TO> typeTo)
Closes the converter pipe and adds it to the BeanReplicator

Parameters:
typeTo -


Copyright © 2013. All Rights Reserved.