Remove URL from group.
[demoscenemusic.git] / src / main / java / net / pterodactylus / demoscenemusic / data / Group.java
index 5f135f9..9c86181 100644 (file)
@@ -20,22 +20,42 @@ package net.pterodactylus.demoscenemusic.data;
 import java.util.Collection;
 
 /**
- * TODO
+ * Data interface for groups.
  *
  * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
  */
 public interface Group extends Base {
 
-       public String name();
-
-       public Group name(String name);
-
-       public String url();
-
-       public Group url(String url);
-
-       public Collection<Artist> artists();
-
-       public Group artists(Collection<Artist> artists);
+       /**
+        * 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);
+
+       /**
+        * Returns all artists belonging to this group.
+        *
+        * @return All artists belonging to this group
+        */
+       public Collection<Artist> getArtists();
+
+       /**
+        * Sets all artists belonging to this group.
+        *
+        * @param artists
+        *            All artists belonging to this group
+        * @return This group
+        */
+       public Group setArtists(Collection<Artist> artists);
 
 }