return entity;
}
public MediaLink convert (ActivityStreamsMediaLink icon) {
if(icon == null) return null;
MediaLinkImpl entity = new MediaLinkImpl();
entity.setDuration(icon.getDuration());
entity.setHeight(icon.getHeight());
entity.setOpenSocial(convert(icon.getOpenSocial()));
entity.setUrl(icon.getUrl());
entity.setWidth(icon.getWidth());
return entity;
}