X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fdemoscenemusic%2Fdata%2FGroup.java;h=054b303f96e8cd0e2257c5733050825e26eff939;hb=218c40de2dce4f2c056ed2e55eab38d77cbed981;hp=5f135f98fbb89e870adad8a4e866b30f1439a82e;hpb=cf06b3a6434f85821bca923b80364806b10f73f1;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 5f135f9..054b303 100644
--- a/src/main/java/net/pterodactylus/demoscenemusic/data/Group.java
+++ b/src/main/java/net/pterodactylus/demoscenemusic/data/Group.java
@@ -20,22 +20,58 @@ package net.pterodactylus.demoscenemusic.data;
import java.util.Collection;
/**
- * TODO
+ * Data interface for groups.
*
* @author David âBombeâ Roden
*/
public interface Group extends Base {
- public String name();
+ /**
+ * Returns the name of this group.
+ *
+ * @return The name of this group
+ */
+ public String getName();
- public Group name(String name);
+ /**
+ * Sets the name of this group.
+ *
+ * @param name
+ * The name of this group
+ * @return This group
+ */
+ public Group setName(String name);
- public String url();
+ /**
+ * Returns the URL of this groupâs website.
+ *
+ * @return The URL of this groupâs website
+ */
+ public String getUrl();
- public Group url(String url);
+ /**
+ * Sets the URL of this groupâs website.
+ *
+ * @param url
+ * The URL of this groupâs website
+ * @return This group
+ */
+ public Group setUrl(String url);
- public Collection artists();
+ /**
+ * Returns all artists belonging to this group.
+ *
+ * @return All artists belonging to this group
+ */
+ public Collection getArtists();
- public Group artists(Collection artists);
+ /**
+ * Sets all artists belonging to this group.
+ *
+ * @param artists
+ * All artists belonging to this group
+ * @return This group
+ */
+ public Group setArtists(Collection artists);
}