From: David ‘Bombe’ Roden Date: Wed, 21 Sep 2011 05:47:12 +0000 (+0200) Subject: Add method to set the album image ID. X-Git-Tag: 0.7^2~2^2~60 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=6615e6c00106a2934a0b4b6ea2c73ab5da230837;p=Sone.git Add method to set the album image ID. --- diff --git a/src/main/java/net/pterodactylus/sone/data/Album.java b/src/main/java/net/pterodactylus/sone/data/Album.java index d0d078b..5e5d08a 100644 --- a/src/main/java/net/pterodactylus/sone/data/Album.java +++ b/src/main/java/net/pterodactylus/sone/data/Album.java @@ -196,6 +196,18 @@ public class Album implements Fingerprintable { } /** + * Sets the ID of the album image. + * + * @param id + * The ID of the album image + * @return This album + */ + public Album setAlbumImage(String id) { + this.albumImage = id; + return this; + } + + /** * Returns whether this album contains any other albums or images. * * @return {@code true} if this album is empty, {@code false} otherwise