Class CopyTargetResolver


  • public final class CopyTargetResolver
    extends Object
    Support class to resolve target of the copy operation.
    Restriction:
    This class is not intended to be sub-classed by clients.
    Restriction:
    This class is not intended to be instantiated by clients.
    • Method Detail

      • resolveTarget

        public IMdObjectCopyTarget resolveTarget​(Object target)
        Resolve target of the copy operation. Supports EObject or CollectionNavigatorAdapterBase inputs, otherwise will return null.
        Parameters:
        target - the target of copy operation, can be EObject or CollectionNavigatorAdapterBase, cannot be null
        Returns:
        The copy target. Can be null if target cannot be resolved by the given input.
      • resolveTarget

        public IMdObjectCopyTarget resolveTarget​(Object target,
                                                 Object[] copiedObjects)
        Resolve target of the copy operation. Supports EObject or CollectionNavigatorAdapterBase inputs, otherwise will return null.
        Parameters:
        target - the target of copy operation, can be EObject or CollectionNavigatorAdapterBase, cannot be null
        copiedObjects - the array of copied model objects to resolve target for or null if copied objects are unknown
        Returns:
        The copy target. Can be null if target cannot be resolved by the given input.