package net.pterodactylus.demoscenemusic.data;
+import java.util.Collection;
/**
- * TODO
+ * Data interface for parties.
*
* @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
*/
public interface Party extends Base {
- public String name();
+ /**
+ * Returns the name of this party.
+ *
+ * @return The name of this party
+ */
+ public String getName();
- public Party name(String name);
+ /**
+ * Sets the name of this party.
+ *
+ * @param name
+ * The name of this party
+ * @return This party
+ */
+ 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);
}