Add album description.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 1 Jan 2011 12:44:39 +0000 (13:44 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 1 Jan 2011 12:44:39 +0000 (13:44 +0100)
src/main/java/net/pterodactylus/sone/data/Album.java

index a85a6ab..2055755 100644 (file)
@@ -36,6 +36,9 @@ public class Album {
        /** The name of this album. */
        private String name;
 
        /** The name of this album. */
        private String name;
 
+       /** The description of this album. */
+       private String description;
+
        //
        // ACCESSORS
        //
        //
        // ACCESSORS
        //
@@ -79,4 +82,25 @@ public class Album {
                return this;
        }
 
                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;
+       }
+
 }
 }