@Override
    public void copyFrom(final CopyFrom obj) {
        final EntryInformationImpl info = (EntryInformationImpl) obj;
        setAuthor(info.getAuthor());
        setBlock(info.getBlock());

        if (info.getDuration() != null) {
            setDuration(new Duration(info.getDuration().getMilliseconds()));
        }

        setExplicit(info.getExplicit());

        try {
            if (info.getImage() != null) {
                setImage(new URL(info.getImage().toExternalForm()));
            }
        } catch (final MalformedURLException e) {
            LOG.debug("Error copying URL:" + info.getImage(), e);
        }

        if (info.getKeywords() != null) {
            setKeywords(info.getKeywords().clone());
        }

        setSubtitle(info.getSubtitle());
        setSummary(info.getSummary());
        setClosedCaptioned(info.getClosedCaptioned());
        setOrder(info.getOrder());
    }
@ Override public void copyFrom ( final CopyFrom obj ) { final EntryInformationImpl info = ( EntryInformationImpl ) obj ; setAuthor ( info . getAuthor ( ) ) ; setBlock ( info . getBlock ( ) ) ; if ( info . getDuration ( ) != null ) { setDuration ( new Duration ( info . getDuration ( ) . getMilliseconds ( ) ) ) ; } setExplicit ( info . getExplicit ( ) ) ; try { if ( info . getImage ( ) != null ) { setImage ( new URL ( info . getImage ( ) . toExternalForm ( ) ) ) ; } } catch ( final MalformedURLException e ) { LOG . debug ( "Error copying URL:" + info . getImage ( ) , e ) ; } if ( info . getKeywords ( ) != null ) { setKeywords ( info . getKeywords ( ) . clone ( ) ) ; } setSubtitle ( info . getSubtitle ( ) ) ; setSummary ( info . getSummary ( ) ) ; setClosedCaptioned ( info . getClosedCaptioned ( ) ) ; setOrder ( info . getOrder ( ) ) ; }
Defined by the ROME module API

@param obj Object to copy from