return null;
}
private ActivityStreamsMediaLink convert(ActivityStreamsMediaLink source) {
if (source != null) {
MongoDbActivityStreamsMediaLink converted = new MongoDbActivityStreamsMediaLink();
converted.setId(source.getId() == null ? generateId() : source.getId());
converted.setDuration(source.getDuration());
converted.setHeight(source.getHeight());
converted.setWidth(source.getWidth());
converted.setUrl(source.getUrl());
converted.setOpenSocial(source.getOpenSocial());
return converted;
}
return null;
}