public void setViewCount(Long viewCount) { GphotoViewCount ext = null; if (viewCount != null) { ext = new GphotoViewCount(viewCount); } setViewCountExt(ext); }
public void setViewCount(Long viewCount) { GphotoViewCount ext = null; if (viewCount != null) { ext = new GphotoViewCount(viewCount); } setViewCountExt(ext); }
/** * Sets the view count for this photo. * @param viewCount the number of views for this photo. */ public void setViewCount(Long viewCount) { if (viewCount != null) { setExtension(new GphotoViewCount(viewCount)); } else { removeExtension(GphotoViewCount.class); } }
/** * Sets the view count for this photo. * @param viewCount the number of views for this photo. */ public void setViewCount(Long viewCount) { if (viewCount != null) { setExtension(new GphotoViewCount(viewCount)); } else { removeExtension(GphotoViewCount.class); } }