From: David ‘Bombe’ Roden Date: Sat, 1 Jan 2011 12:44:39 +0000 (+0100) Subject: Add album description. X-Git-Tag: beta-freefall-0.6.2-1~152 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=815be1d11bf72e05f3324ee98171e9be989dba21 Add album description. --- diff --git a/src/main/java/net/pterodactylus/sone/data/Album.java b/src/main/java/net/pterodactylus/sone/data/Album.java index a85a6ab..2055755 100644 --- a/src/main/java/net/pterodactylus/sone/data/Album.java +++ b/src/main/java/net/pterodactylus/sone/data/Album.java @@ -36,6 +36,9 @@ public class Album { /** The name of this album. */ private String name; + /** The description of this album. */ + private String description; + // // ACCESSORS // @@ -79,4 +82,25 @@ public class Album { return this; } + /** + * Returns the description of this album. + * + * @return The description of this album + */ + public String getDescription() { + return description; + } + + /** + * Sets the description of this album. + * + * @param description + * The description of this album + * @return This album + */ + public Album setDescription(String description) { + this.description = description; + return this; + } + }