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=22697a4d8b2bbf378e0e171221a216a07ed400ef;hpb=bc68d0a1d427f16bf027874477a3d11c858da030;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 22697a4..301e9c8 100644 --- a/src/main/java/net/pterodactylus/demoscenemusic/data/Party.java +++ b/src/main/java/net/pterodactylus/demoscenemusic/data/Party.java @@ -17,16 +17,45 @@ package net.pterodactylus.demoscenemusic.data; +import java.util.Collection; /** - * TODO + * Data interface for parties. * * @author David ‘Bombe’ Roden */ 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 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 tracks); }