/** * Set the exif tags on the photo this item is about. * * @param tags the exif tags for the photo. */ public void setExifTags(ExifTags tags) { if (tags != null) { setExtension(tags); } else { removeExtension(ExifTags.class); } }
/** * Sets the album the photo is in. */ public void setAlbumId(Long albumId) { if (albumId != null) { setExtension(new GphotoAlbumId(albumId.toString())); } else { removeExtension(GphotoAlbumId.class); } }
/** * Set the access for the album that contains this photo. * * @param access the access of the album. */ public void setAlbumAccess(String access) { if (access != null) { setExtension(new GphotoAccess(access)); } else { removeExtension(GphotoAccess.class); } }
/** * Set the checksum of the photo this item is about. * * @param checksum the checksum on the photo. */ public void setChecksum(String checksum) { if (checksum != null) { setExtension(new GphotoChecksum(checksum)); } else { removeExtension(GphotoChecksum.class); } }
/** * Sets the video status of the video/photo entry. */ public void setVideoStatus(String videoStatus) { if (videoStatus != null) { setExtension(new GphotoVideoStatus(videoStatus)); } else { removeExtension(GphotoVideoStatus.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); } }
/** * Sets the date that the photo was featured. * @param featuredDate the date that the photo was featured. */ public void setFeaturedDate(Date featuredDate) { if (featuredDate != null) { setExtension(new GphotoFeaturedDate(featuredDate)); } else { removeExtension(GphotoFeaturedDate.class); } }
/** * Set the rotation in degrees of the photo. * * @param rotation the rotation of the photo. */ public void setRotation(Integer rotation) { if (rotation != null) { setExtension(new GphotoRotation(rotation)); } else { removeExtension(GphotoRotation.class); } }
/** * Set the timestamp on the photo this item is about. * * @param timestamp the timestamp on the photo. */ public void setTimestamp(Date timestamp) { if (timestamp != null) { setExtension(new GphotoTimestamp(timestamp)); } else { removeExtension(GphotoTimestamp.class); } }
/** * Set the version of the photo this item is about. * * @param version the version of the photo. */ public void setVersion(Long version) { if (version != null) { setExtension(new GphotoVersion(version)); } else { removeExtension(GphotoVersion.class); } }
/** * Set the height of the photo the item is about. * * @param height the height of the photo. */ public void setHeight(Long height) { if (height != null) { setExtension(new GphotoHeight(height)); } else { removeExtension(GphotoHeight.class); } }
/** * Set the timestamp on the photo this item is about. * * @param timestamp the timestamp on the photo. */ public void setTimestamp(Date timestamp) { if (timestamp != null) { setExtension(new GphotoTimestamp(timestamp)); } else { removeExtension(GphotoTimestamp.class); } }
/** * Set the version of the photo this item is about. * * @param version the version of the photo. */ public void setVersion(Long version) { if (version != null) { setExtension(new GphotoVersion(version)); } else { removeExtension(GphotoVersion.class); } }
/** * Sets the album the photo is in. */ public void setAlbumId(String albumId) { if (albumId != null) { setExtension(new GphotoAlbumId(albumId)); } else { removeExtension(GphotoAlbumId.class); } }
/** * Set the size of the photo this item is about. * * @param size the size of the photo. */ public void setSize(Long size) { if (size != null) { setExtension(new GphotoSize(size)); } else { removeExtension(GphotoSize.class); } }
/** * Set the whether comments are enabled in the photo this item represents. * * @param commentsEnabled true if comments are enabled in the photo. */ public void setCommentsEnabled(Boolean commentsEnabled) { if (commentsEnabled != null) { setExtension(new GphotoCommentsEnabled(commentsEnabled)); } else { removeExtension(GphotoCommentsEnabled.class); } }
/** * Set the width of the photo this item is about. * * @param width the width of the photo. */ public void setWidth(Long width) { if (width != null) { setExtension(new GphotoWidth(width)); } else { removeExtension(GphotoWidth.class); } }
/** * Sets the video status of the video/photo entry. */ public void setVideoStatus(String videoStatus) { if (videoStatus != null) { setExtension(new GphotoVideoStatus(videoStatus)); } else { removeExtension(GphotoVideoStatus.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); } }
/** * Set the rotation in degrees of the photo. * * @param rotation the rotation of the photo. */ public void setRotation(Integer rotation) { if (rotation != null) { setExtension(new GphotoRotation(rotation)); } else { removeExtension(GphotoRotation.class); } }