From 815be1d11bf72e05f3324ee98171e9be989dba21 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 1 Jan 2011 13:44:39 +0100 Subject: [PATCH] Add album description. --- .../java/net/pterodactylus/sone/data/Album.java | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) 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; + } + } -- 2.7.4