/** * Set the access for the album this entry represents. * * @param access the access of the album. */ public void setAccess(String access) { if (access != null) { setExtension(new GphotoAccess(access)); } else { removeExtension(GphotoAccess.class); } }
/** * Set the number of photos used on the album this entry represents. * * @param photosUsed the number of photos used. */ public void setPhotosUsed(Integer photosUsed) { if (photosUsed != null) { setExtension(new GphotoPhotosUsed(photosUsed)); } else { removeExtension(GphotoPhotosUsed.class); } }
/** * Set the number of photos remaining in the album this entry represents. * * @param photosLeft the number of photos left. */ public void setPhotosLeft(Integer photosLeft) { if (photosLeft != null) { setExtension(new GphotoPhotosLeft(photosLeft)); } else { removeExtension(GphotoPhotosLeft.class); } }
/** * Set the username for the owner of the album this entry represents. * * @param username the username of the owner. */ public void setUsername(String username) { if (username != null) { setExtension(new GphotoUsername(username)); } else { removeExtension(GphotoUsername.class); } }
/** * Sets the date on the album, this is the user-defined date. */ public void setDate(Date date) { if (date != null) { setExtension(new GphotoTimestamp(date)); } else { removeExtension(GphotoTimestamp.class); } }
/** * Set the whether comments are enabled in the album this entry represents. * * @param commentsEnabled true if comments are enabled in the album. */ public void setCommentsEnabled(Boolean commentsEnabled) { if (commentsEnabled != null) { setExtension(new GphotoCommentsEnabled(commentsEnabled)); } else { removeExtension(GphotoCommentsEnabled.class); } }
/** * Set the name for the album this entry represents. * * @param name the canonical name of the album. */ public void setName(String name) { if (name != null) { setExtension(new GphotoName(name)); } else { removeExtension(GphotoName.class); } }
/** * Set the number of photos remaining in the album this entry represents. * * @param photosLeft the number of photos left. */ public void setPhotosLeft(Integer photosLeft) { if (photosLeft != null) { setExtension(new GphotoPhotosLeft(photosLeft)); } else { removeExtension(GphotoPhotosLeft.class); } }
/** * Set the number of bytes used in the album this entry represents. * * @param bytesUsed the number of bytes used. */ public void setBytesUsed(Long bytesUsed) { if (bytesUsed != null) { setExtension(new GphotoBytesUsed(bytesUsed)); } else { removeExtension(GphotoBytesUsed.class); } }
/** * Set the nickname for the owner of the album this entry represents. * * @param nickname the nickname of the owner. */ public void setNickname(String nickname) { if (nickname != null) { setExtension(new GphotoNickname(nickname)); } else { removeExtension(GphotoNickname.class); } }
/** * Set the access for the album this entry represents. * * @param access the access of the album. */ public void setAccess(String access) { if (access != null) { setExtension(new GphotoAccess(access)); } else { removeExtension(GphotoAccess.class); } }
/** * Set the number of photos used on the album this entry represents. * * @param photosUsed the number of photos used. */ public void setPhotosUsed(Integer photosUsed) { if (photosUsed != null) { setExtension(new GphotoPhotosUsed(photosUsed)); } else { removeExtension(GphotoPhotosUsed.class); } }
/** * Set the number of bytes used in the album this entry represents. * * @param bytesUsed the number of bytes used. */ public void setBytesUsed(Long bytesUsed) { if (bytesUsed != null) { setExtension(new GphotoBytesUsed(bytesUsed)); } else { removeExtension(GphotoBytesUsed.class); } }
/** * Set the location for the album this entry represents. * * @param location the location of the album. */ public void setLocation(String location) { if (location != null) { setExtension(new GphotoLocation(location)); } else { removeExtension(GphotoLocation.class); } }
/** * Sets the date on the album, this is the user-defined date. */ public void setDate(Date date) { if (date != null) { setExtension(new GphotoTimestamp(date)); } else { removeExtension(GphotoTimestamp.class); } }
/** * Set the name for the album this entry represents. * * @param name the canonical name of the album. */ public void setName(String name) { if (name != null) { setExtension(new GphotoName(name)); } else { removeExtension(GphotoName.class); } }
/** * Set the location for the album this entry represents. * * @param location the location of the album. */ public void setLocation(String location) { if (location != null) { setExtension(new GphotoLocation(location)); } else { removeExtension(GphotoLocation.class); } }
/** * Set the nickname for the owner of the album this entry represents. * * @param nickname the nickname of the owner. */ public void setNickname(String nickname) { if (nickname != null) { setExtension(new GphotoNickname(nickname)); } else { removeExtension(GphotoNickname.class); } }
/** * Set the number of comments on the album this entry represents. * * @param commentCount the number of comments on the album. */ public void setCommentCount(Integer commentCount) { if (commentCount != null) { setExtension(new GphotoCommentCount(commentCount)); } else { removeExtension(GphotoCommentCount.class); } }
/** * Set the whether comments are enabled in the album this entry represents. * * @param commentsEnabled true if comments are enabled in the album. */ public void setCommentsEnabled(Boolean commentsEnabled) { if (commentsEnabled != null) { setExtension(new GphotoCommentsEnabled(commentsEnabled)); } else { removeExtension(GphotoCommentsEnabled.class); } }