public void setProfileUrl(String profileUrl) { Url url = getListFieldWithType(PROFILE_URL_TYPE, getUrls()); if (url != null) { url.setValue(profileUrl); } else { if (profileUrl != null) setUrls(addListField(new UrlImpl(profileUrl, null, PROFILE_URL_TYPE), getUrls())); } }
public void setProfileUrl(String profileUrl) { Url url = getListFieldWithType(PROFILE_URL_TYPE, getUrls()); if (url != null) { url.setValue(profileUrl); } else { if (profileUrl != null) setUrls(addListField(new UrlImpl(profileUrl, null, PROFILE_URL_TYPE), getUrls())); } }
public void setProfileUrl(String profileUrl) { Url url = getListFieldWithType(PROFILE_URL_TYPE, getUrls()); if (url != null) { url.setValue(profileUrl); } else { if (profileUrl != null) setUrls(addListField(new UrlImpl(profileUrl, null, PROFILE_URL_TYPE), getUrls())); } }
public void setThumbnailUrl(String thumbnailUrl) { ListField photo = getListFieldWithType(THUMBNAIL_PHOTO_TYPE, getPhotos()); if (photo != null) { photo.setValue(thumbnailUrl); } else { if (thumbnailUrl != null) setPhotos(addListField(new ListFieldImpl(THUMBNAIL_PHOTO_TYPE, thumbnailUrl), getPhotos())); } }
public void setThumbnailUrl(String thumbnailUrl) { ListField photo = getListFieldWithType(THUMBNAIL_PHOTO_TYPE, getPhotos()); if (photo != null) { photo.setValue(thumbnailUrl); } else { if (thumbnailUrl != null) setPhotos(addListField(new ListFieldImpl(THUMBNAIL_PHOTO_TYPE, thumbnailUrl), getPhotos())); } }
public void setThumbnailUrl(String thumbnailUrl) { ListField photo = getListFieldWithType(THUMBNAIL_PHOTO_TYPE, getPhotos()); if (photo != null) { photo.setValue(thumbnailUrl); } else { if (thumbnailUrl != null) setPhotos(addListField(new ListFieldImpl(THUMBNAIL_PHOTO_TYPE, thumbnailUrl), getPhotos())); } }