X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fdemoscenemusic%2Fdata%2FParty.java;h=301e9c8a4dfe80c08fd6e72e3cbdfa37ddff5dd1;hb=f3d8fcb4cd0be44270bfab8c58c4a07565ce6a87;hp=dbf1b8e4c2d50da8b0bf2b29f6f562c647b403e7;hpb=a2983e36c9603ddb43f7016f16e445e1b26bd885;p=demoscenemusic.git
diff --git a/src/main/java/net/pterodactylus/demoscenemusic/data/Party.java b/src/main/java/net/pterodactylus/demoscenemusic/data/Party.java
index dbf1b8e..301e9c8 100644
--- a/src/main/java/net/pterodactylus/demoscenemusic/data/Party.java
+++ b/src/main/java/net/pterodactylus/demoscenemusic/data/Party.java
@@ -17,26 +17,45 @@
package net.pterodactylus.demoscenemusic.data;
+import java.util.Collection;
+
/**
- * TODO
+ * Data interface for parties.
*
* @author David âBombeâ Roden
*/
-public class Party extends AbstractBase {
+public interface Party extends Base {
- private String name;
+ /**
+ * Returns the name of this party.
+ *
+ * @return The name of this party
+ */
+ public String getName();
- public Party(String id) {
- super(id);
- }
+ /**
+ * Sets the name of this party.
+ *
+ * @param name
+ * The name of this party
+ * @return This party
+ */
+ public Party setName(String name);
- public String name() {
- return name;
- }
+ /**
+ * Returns all tracks that were released at this party.
+ *
+ * @return All tracks that were released at this party
+ */
+ public Collection