public class OneToManyAssembleOperationHandler extends OneToOneAssembleOperationHandler
An implementation of AssembleOperationHandler
for the one-to-many mapping between the target object and the data source object.
The difference between ManyToManyAssembleOperationHandler and OneToManyAssembleOperationHandler
is that OneToManyAssembleOperationHandler is used to handle the situation where
multiple values can be obtained through a key in the data source container,
while ManyToManyAssembleOperationHandler is used to handle the situation where only
one value can be obtained through a key, but there are multiple keys at the same time.
ReflectiveBeanKeyResolver,
ReflectiveSeparablePropertyKeyResolverAbstractAssembleOperationHandler.TargetconverterManager, propertyOperatorignoreNullKey| 构造器和说明 |
|---|
OneToManyAssembleOperationHandler(PropertyOperator propertyOperator,
ConverterManager converterManager)
Create a new
OneToOneAssembleOperationHandler instance. |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
completeMapping(Object source,
AbstractAssembleOperationHandler.Target target)
Complete attribute mapping between the target object and the data source object.
|
determineKeyResolvercreateTarget, getSourcesFromContainer, getTheAssociatedSource, introspectForEntities, processclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic OneToManyAssembleOperationHandler(PropertyOperator propertyOperator, ConverterManager converterManager)
OneToOneAssembleOperationHandler instance.propertyOperator - propertyOperatorconverterManager - converterManagerprotected void completeMapping(Object source, AbstractAssembleOperationHandler.Target target)
completeMapping 在类中 OneToOneAssembleOperationHandlersource - sourcetarget - targetCopyright © 2024. All rights reserved.