X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fdemoscenemusic%2Fdata%2FGroup.java;h=9c86181c882c116d2259f27aecb2d09479ae30b8;hb=c97e15ac89a28b4d632d893c0b3c49a3a3b6d2a6;hp=bba8866bef181f4454301662b4c2dba7b6ab868c;hpb=7da3008f2142348efd4efc21c5ce36a018227d6e;p=demoscenemusic.git
diff --git a/src/main/java/net/pterodactylus/demoscenemusic/data/Group.java b/src/main/java/net/pterodactylus/demoscenemusic/data/Group.java
index bba8866..9c86181 100644
--- a/src/main/java/net/pterodactylus/demoscenemusic/data/Group.java
+++ b/src/main/java/net/pterodactylus/demoscenemusic/data/Group.java
@@ -20,22 +20,42 @@ package net.pterodactylus.demoscenemusic.data;
import java.util.Collection;
/**
- * TODO
+ * Data interface for groups.
*
* @author David âBombeâ Roden
*/
public interface Group extends Base {
+ /**
+ * Returns the name of this group.
+ *
+ * @return The name of this group
+ */
public String getName();
+ /**
+ * Sets the name of this group.
+ *
+ * @param name
+ * The name of this group
+ * @return This group
+ */
public Group setName(String name);
- public String getUrl();
-
- public Group setUrl(String url);
-
+ /**
+ * Returns all artists belonging to this group.
+ *
+ * @return All artists belonging to this group
+ */
public Collection getArtists();
+ /**
+ * Sets all artists belonging to this group.
+ *
+ * @param artists
+ * All artists belonging to this group
+ * @return This group
+ */
public Group setArtists(Collection artists);
}