public class ClonerConverter extends ma.glasnost.orika.CustomConverter<Object,Object>
Constructor and Description |
---|
ClonerConverter(Cloner cloner,
Type... types)
Constructs a new ClonerConverter configured to handle the provided list of types by
cloning.
|
ClonerConverter(CloneStrategy cloneStrategy,
Type... types)
Constructs a new ClonerConverter configured to handle the provided list of types by
cloning.
|
ClonerConverter(Type... types)
Constructs a new ClonerConverter configured to handle the provided list of types by
cloning.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canConvert(ma.glasnost.orika.metadata.Type<?> sourceType,
ma.glasnost.orika.metadata.Type<?> destinationType) |
Object |
convert(Object source,
ma.glasnost.orika.metadata.Type<? extends Object> destinationType,
ma.glasnost.orika.MappingContext context) |
public ClonerConverter(Type... types)
types
- one or more types that should be copied using the ClonerConverterpublic ClonerConverter(CloneStrategy cloneStrategy, Type... types)
cloneStrategy
- Strategy to be usedtypes
- one or more types that should be copied using the ClonerConverterpublic ClonerConverter(Cloner cloner, Type... types)
cloner
- Cloner implementation to be usedtypes
- one or more types that should be copied using the ClonerConverterpublic boolean canConvert(ma.glasnost.orika.metadata.Type<?> sourceType, ma.glasnost.orika.metadata.Type<?> destinationType)
Copyright © 2010–2018 Jadira Systems. All rights reserved.