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=4e2e93baff80d11cf382db2bdeedbbfcf238bd09;hpb=7da3008f2142348efd4efc21c5ce36a018227d6e;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 4e2e93b..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 { + /** + * Returns the name of this party. + * + * @return The name of this party + */ public String getName(); + /** + * 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); + }