Make releases of a party availabable.
[demoscenemusic.git] / src / main / java / net / pterodactylus / demoscenemusic / data / Party.java
index 8ce4bcc..301e9c8 100644 (file)
@@ -17,6 +17,8 @@
 
 package net.pterodactylus.demoscenemusic.data;
 
+import java.util.Collection;
+
 /**
  * Data interface for parties.
  *
@@ -40,4 +42,20 @@ public interface Party extends Base {
         */
        public Party setName(String name);
 
+       /**
+        * Returns all tracks that were released at this party.
+        *
+        * @return All tracks that were released at this party
+        */
+       public Collection<Track> getReleases();
+
+       /**
+        * Sets all tracks that were released at this party.
+        *
+        * @param tracks
+        *            All tracks that were released at this party
+        * @return This party
+        */
+       public Party setReleases(Collection<Track> tracks);
+
 }