X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fdemoscenemusic%2Fdata%2FArtist.java;h=563a3bc8bf9e87a254bd3aaf7d5644c489f5b103;hb=ec14179943150b1716d642c2761e7fc9f12a524f;hp=36d2e2ca1b796106c35354451646f678cbeeb388;hpb=6d10c7b00bdadf78b5045fbd5e9a869e8f257ed7;p=demoscenemusic.git
diff --git a/src/main/java/net/pterodactylus/demoscenemusic/data/Artist.java b/src/main/java/net/pterodactylus/demoscenemusic/data/Artist.java
index 36d2e2c..563a3bc 100644
--- a/src/main/java/net/pterodactylus/demoscenemusic/data/Artist.java
+++ b/src/main/java/net/pterodactylus/demoscenemusic/data/Artist.java
@@ -18,25 +18,60 @@
package net.pterodactylus.demoscenemusic.data;
import java.util.Collection;
-import java.util.Set;
/**
- * TODO
+ * Data interface for artists.
*
* @author David âBombeâ Roden
*/
public interface Artist extends Base {
- public String name();
+ /**
+ * Returns the name of this artist.
+ *
+ * @return The name of this artist
+ */
+ public String getName();
- public Artist name(String name);
+ /**
+ * Sets the name of this artist.
+ *
+ * @param name
+ * The new name of this artist
+ * @return This artist
+ */
+ public Artist setName(String name);
- public Set groups();
+ /**
+ * Returns the groups this artist belongs to.
+ *
+ * @return The groups this artist belongs to
+ */
+ public Collection getGroups();
- public Artist groups(Set groups);
+ /**
+ * Sets the groups this artist belongs to.
+ *
+ * @param groups
+ * The groups this artist belongs to
+ * @return This artist
+ */
+ public Artist setGroups(Collection groups);
- public Collection