X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fdemoscenemusic%2Fdata%2FDefaultArtist.java;h=7f99a9c99cd53aec946f92307470000819a04eda;hb=037c1657a928b5cb1ef6ae05f7feafaff4095cbe;hp=3dc01085940d4222af4e39f3fc70d86c3ea75316;hpb=7da3008f2142348efd4efc21c5ce36a018227d6e;p=demoscenemusic.git
diff --git a/src/main/java/net/pterodactylus/demoscenemusic/data/DefaultArtist.java b/src/main/java/net/pterodactylus/demoscenemusic/data/DefaultArtist.java
index 3dc0108..7f99a9c 100644
--- a/src/main/java/net/pterodactylus/demoscenemusic/data/DefaultArtist.java
+++ b/src/main/java/net/pterodactylus/demoscenemusic/data/DefaultArtist.java
@@ -20,21 +20,37 @@ package net.pterodactylus.demoscenemusic.data;
import java.util.Collection;
/**
- * TODO
+ * Default implementation for an artist data container.
*
* @author David âBombeâ Roden
*/
public class DefaultArtist extends DefaultBase implements Artist {
+ /**
+ * Creates a new artist data container.
+ *
+ * @param id
+ * The ID of the artist
+ */
public DefaultArtist(String id) {
super(id);
}
+ //
+ // ARTIST METHODS
+ //
+
+ /**
+ * {@inheritDoc}
+ */
@Override
public String getName() {
return getValue("name", String.class).get();
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public Artist setName(String name) {
getValue("name", String.class).set(name);
@@ -59,11 +75,18 @@ public class DefaultArtist extends DefaultBase implements Artist {
return this;
}
+ /**
+ * {@inheritDoc}
+ */
@Override
+ @SuppressWarnings({ "unchecked" })
public Collection