org.omnaest.utils.beans.replicator
Interface BeanReplicator.Declaration
- All Superinterfaces:
- Serializable
- Enclosing class:
- BeanReplicator<FROM,TO>
public static interface BeanReplicator.Declaration
- extends Serializable
A BeanReplicator.Declaration allows to declare several kinds of mappings a BeanReplicator should rely on.
It is possible to declare subsequent BeanReplicator.Declarations. They will be treated as one large BeanReplicator.Declaration.
It is only possible to declare mappings as long as no BeanReplicator.copy(Object, Object) or as no
BeanReplicator.clone(Object) method has been called yet.
- Author:
- Omnaest
- See Also:
BeanReplicator.DeclarationSupport,
#declare(DeclarationSupport)
declare
void declare(BeanReplicator.DeclarationSupport support)
- Parameters:
support - - See Also:
BeanReplicator.DeclarationSupport
Copyright © 2013. All Rights Reserved.