ma.glasnost.orika.impl.mapping.strategy
Class AbstractMappingStrategy
java.lang.Object
ma.glasnost.orika.impl.mapping.strategy.AbstractMappingStrategy
- All Implemented Interfaces:
- MappingStrategy
- Direct Known Subclasses:
- UseConverterStrategy, UseCustomMapperStrategy
public abstract class AbstractMappingStrategy
- extends Object
- implements MappingStrategy
AbstractMappingStrategy provides base MappingStrategy functionality
| Methods inherited from interface ma.glasnost.orika.impl.mapping.strategy.MappingStrategy |
map |
sourceType
protected final Type<Object> sourceType
- The source type mapped by this strategy
destinationType
protected final Type<Object> destinationType
- The destination type mapped by this strategy
AbstractMappingStrategy
public AbstractMappingStrategy(Type<Object> sourceType,
Type<Object> destinationType)
- Parameters:
sourceType - destinationType -
getSoureType
public Type<?> getSoureType()
- Specified by:
getSoureType in interface MappingStrategy
- Returns:
- the source type handled by this strategy
getDestinationType
public Type<?> getDestinationType()
- Specified by:
getDestinationType in interface MappingStrategy
- Returns:
- the destination type handled by this strategy
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013 Glasnost. All Rights Reserved.