/** * This is a concrete implementation of this method inherited from the base class. This method * will perform a deep copy of <code>source</code> into <code>destination</code>. * * @param src The Object which contains the data to be copied. * @return Returns <code>destination</code>. * @exception NullPointerException If <code>destination</code> or <code>source</code> is null. * @exception ClassCastException If either <code>destination</code> or <code>this</code> is not a * <code>EndDeviceControl</code> type. */ public Object copy_data(Object destination, Object source) { EndDeviceControl typedDst = (EndDeviceControl) destination; EndDeviceControl typedSrc = (EndDeviceControl) source; return typedDst.copy_from(typedSrc); }