|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectma.glasnost.orika.impl.NonCyclicBoundMapperFacade<A,B>
public class NonCyclicBoundMapperFacade<A,B>
| Field Summary | |
|---|---|
protected ma.glasnost.orika.impl.DefaultBoundMapperFacade.BoundStrategyCache |
aToB
|
protected ma.glasnost.orika.impl.DefaultBoundMapperFacade.BoundStrategyCache |
aToBInPlace
|
protected Type<A> |
aType
|
protected ma.glasnost.orika.impl.DefaultBoundMapperFacade.BoundStrategyCache |
bToA
|
protected ma.glasnost.orika.impl.DefaultBoundMapperFacade.BoundStrategyCache |
bToAInPlace
|
protected Type<B> |
bType
|
protected MappingContextFactory |
contextFactory
|
protected MapperFactory |
mapperFactory
|
protected ObjectFactory<A> |
objectFactoryA
|
protected ObjectFactory<B> |
objectFactoryB
|
protected Type |
rawAType
|
protected Type |
rawBType
|
| Method Summary | |
|---|---|
Type<A> |
getAType()
|
Type<B> |
getBType()
|
B |
map(A source)
Generates a new instance of the 'B' type based on the specified instance of 'A' |
B |
map(A source,
B destination)
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 source)
Generates a new instance of the 'A' type based on the specified instance of 'B' |
A |
mapReverse(B destination,
A source)
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 |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final ma.glasnost.orika.impl.DefaultBoundMapperFacade.BoundStrategyCache aToB
protected final ma.glasnost.orika.impl.DefaultBoundMapperFacade.BoundStrategyCache bToA
protected final ma.glasnost.orika.impl.DefaultBoundMapperFacade.BoundStrategyCache aToBInPlace
protected final ma.glasnost.orika.impl.DefaultBoundMapperFacade.BoundStrategyCache bToAInPlace
protected volatile ObjectFactory<A> objectFactoryA
protected volatile ObjectFactory<B> objectFactoryB
protected final Type rawAType
protected final Type rawBType
protected final Type<A> aType
protected final Type<B> bType
protected final MapperFactory mapperFactory
protected final MappingContextFactory contextFactory
| Method Detail |
|---|
public B map(A source)
BoundMapperFacade
map in interface BoundMapperFacade<A,B>public A mapReverse(B source)
BoundMapperFacade
mapReverse in interface BoundMapperFacade<A,B>
public B map(A source,
B destination)
BoundMapperFacade
map in interface BoundMapperFacade<A,B>
public A mapReverse(B destination,
A source)
BoundMapperFacade
mapReverse in interface BoundMapperFacade<A,B>public Type<A> getAType()
getAType in interface MappedTypePair<A,B>public Type<B> getBType()
getBType in interface MappedTypePair<A,B>
public B map(A instanceA,
MappingContext context)
BoundMapperFacade
map in interface BoundMapperFacade<A,B>
public A mapReverse(B instanceB,
MappingContext context)
BoundMapperFacade
mapReverse in interface BoundMapperFacade<A,B>
public B map(A instanceA,
B instanceB,
MappingContext context)
BoundMapperFacade
map in interface BoundMapperFacade<A,B>
public A mapReverse(B instanceB,
A instanceA,
MappingContext context)
BoundMapperFacade
mapReverse in interface BoundMapperFacade<A,B>public String toString()
toString in class Object
public B newObject(A source,
MappingContext context)
BoundMapperFacade
newObject in interface BoundMapperFacade<A,B>
public A newObjectReverse(B source,
MappingContext context)
BoundMapperFacade
newObjectReverse in interface BoundMapperFacade<A,B>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||