public class AccessQueryReplacementCopyContext extends CopyContext
AccessQuery while replacing all references of a specified
instance with a new specified instance.| Constructor and Description |
|---|
AccessQueryReplacementCopyContext(IServiceProvider newObject,
IServiceProvider oldObject)
Constructs a new instance with the specified parameters.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
updateReference(T oldObject)
Updates a given reference, returning a reference to use in its place.
|
addObjectMapping, clearObjectMapping, clone, cloneIfNotMapped, getObjectMappingpublic AccessQueryReplacementCopyContext(@Nonnull IServiceProvider newObject, @Nonnull IServiceProvider oldObject)
newObject - The new reference to use.oldObject - The reference to be replaced.public <T> T updateReference(T oldObject)
updateReference in class CopyContextT - The type of the object reference.oldObject - The old reference to update.