Class CopyCallableToCallableTransfer


  • public class CopyCallableToCallableTransfer
    extends AbstractOptionTransfer
    Transfers options from 'copy callable' to 'callable' actors.
    Version:
    $Revision$
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    • Constructor Detail

      • CopyCallableToCallableTransfer

        public CopyCallableToCallableTransfer()
    • Method Detail

      • handles

        public boolean handles​(Object source,
                               Object target)
        Returns whether it can handle the transfer.
        Specified by:
        handles in class AbstractOptionTransfer
        Parameters:
        source - the source object
        target - the target object
        Returns:
        true if options can be transferred by this class
      • doTransfer

        protected String doTransfer​(Object source,
                                    Object target)
        Does the actual transfer of options.
        Specified by:
        doTransfer in class AbstractOptionTransfer
        Parameters:
        source - the source object
        target - the target object
        Returns:
        null if successful, otherwise error message