|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BoundMapperFacade<A,B>
BoundMapperFacade represents a caching mapper configuration which is bound to a given pair of types.
| Method Summary | |
|---|---|
B |
map(A instanceA)
Generates a new instance of the 'B' type based on the specified instance of 'A' |
B |
map(A instanceA,
B instanceB)
Maps properties (in place) from the instance of 'A' to the provided instance of 'B' |
B |
map(A instanceA,
B instanceB,
MappingContext context)
Maps properties (in place) from the instance of 'A' to the provided instance of 'B' |
B |
map(A instanceA,
MappingContext context)
Generates a new instance of the 'B' type based on the specified instance of 'A' |
A |
mapReverse(B instanceB)
Generates a new instance of the 'A' type based on the specified instance of 'B' |
A |
mapReverse(B instanceB,
A instanceA)
Maps properties (in place) from the instance of 'B' to the provided instance of 'A' |
A |
mapReverse(B instanceB,
A instanceA,
MappingContext context)
Maps properties (in place) from the instance of 'B' to the provided instance of 'A' |
A |
mapReverse(B instanceB,
MappingContext context)
Generates a new instance of the 'A' type based on the specified instance of 'B' |
B |
newObject(A source,
MappingContext context)
Returns a new instance of type B, using source instance of A for context |
A |
newObjectReverse(B source,
MappingContext context)
Returns a new instance of type A, using source instance of B for context |
| Methods inherited from interface ma.glasnost.orika.MappedTypePair |
|---|
getAType, getBType |
| Method Detail |
|---|
B map(A instanceA)
instanceA -
B map(A instanceA,
MappingContext context)
instanceA - context -
A mapReverse(B instanceB)
instanceB -
A mapReverse(B instanceB,
MappingContext context)
instanceB - context -
B map(A instanceA,
B instanceB)
instanceA - instanceB -
B map(A instanceA,
B instanceB,
MappingContext context)
source - context - destination -
A mapReverse(B instanceB,
A instanceA)
destination - source -
A mapReverse(B instanceB,
A instanceA,
MappingContext context)
destination - context - source -
B newObject(A source,
MappingContext context)
source - context -
A newObjectReverse(B source,
MappingContext context)
source - context -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||