ma.glasnost.orika.impl.mapping.strategy
Class MappingStrategyKey
java.lang.Object
ma.glasnost.orika.impl.mapping.strategy.MappingStrategyKey
public final class MappingStrategyKey
- extends Object
MappingStrategyKey defines the minimum information necessary to cache a
particular mapping strategy
- Author:
- matt.deboer@gmail.com
|
Constructor Summary |
MappingStrategyKey(Class<?> rawSourceType,
Type sourceType,
Type destinationType,
boolean destinationProvided)
Constructs a new instance of MappingStrategyKey |
MappingStrategyKey
public MappingStrategyKey(Class<?> rawSourceType,
Type sourceType,
Type destinationType,
boolean destinationProvided)
- Constructs a new instance of MappingStrategyKey
- Parameters:
rawSourceType - sourceType - destinationType - destinationProvided -
getRawSourceType
protected Class<?> getRawSourceType()
- Returns:
- the raw source class of the associated mapping strategy
getSourceType
protected Type getSourceType()
- Returns:
- the source type of the associated mapping strategy
getDestinationType
protected Type getDestinationType()
- Returns:
- the destination type of the associated mapping strategy
isDestinationProvided
protected boolean isDestinationProvided()
- Returns:
- true if the destination is provided
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013 Glasnost. All Rights Reserved.