Add method to set the album image ID.
[Sone.git] / src / main / java / net / pterodactylus / sone / data / Album.java
index d0d078b..5e5d08a 100644 (file)
@@ -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