}
@Override
public MongoDbActivityStreamsEntry convert(ActivityStreamsEntry source) {
if (source != null) {
MongoDbActivityStreamsEntry converted = new MongoDbActivityStreamsEntry();
converted.setActor(convert(source.getActor()));
converted.setObject(convert(source.getObject()));
converted.setGenerator(convert(source.getGenerator()));
converted.setIcon(convert(source.getIcon()));
converted.setProvider(convert(source.getProvider()));
converted.setProvider(convert(source.getProvider()));
converted.setTarget(convert(source.getTarget()));
updateSimpleProperties(source, converted);
return converted;
}
return null;