/** * Sets the gphoto thumbnail. * * @param thumbnail gphoto thumbnail or <code>null</code> to reset */ public void setThumbnail(GphotoThumbnail thumbnail) { if (thumbnail == null) { removeExtension(GphotoThumbnail.class); } else { setExtension(thumbnail); } }
/** * Sets the gphoto nickname. * * @param nickname gphoto nickname or <code>null</code> to reset */ public void setNickname(GphotoNickname nickname) { if (nickname == null) { removeExtension(GphotoNickname.class); } else { setExtension(nickname); } }
/** * Sets the username of the user who made the comment. * * @param username username of the user who made the comment or * <code>null</code> to reset */ public void setUsername(GphotoUsername username) { if (username == null) { removeExtension(GphotoUsername.class); } else { setExtension(username); } }
/** * Sets the gphoto nickname. * * @param nickname gphoto nickname or <code>null</code> to reset */ public void setNickname(GphotoNickname nickname) { if (nickname == null) { removeExtension(GphotoNickname.class); } else { setExtension(nickname); } }
/** * Sets the gphoto thumbnail. * * @param thumbnail gphoto thumbnail or <code>null</code> to reset */ public void setThumbnail(GphotoThumbnail thumbnail) { if (thumbnail == null) { removeExtension(GphotoThumbnail.class); } else { setExtension(thumbnail); } }
/** * Sets the username of the user who made the comment. * * @param username username of the user who made the comment or * <code>null</code> to reset */ public void setUsername(GphotoUsername username) { if (username == null) { removeExtension(GphotoUsername.class); } else { setExtension(username); } }