X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fdemoscenemusic%2Fdata%2FParty.java;h=8ce4bccb90f061b1dd276e3214f880d9a27de056;hb=747a5afddade17479a3d0e951c1e5ce51a3b7950;hp=1bb16869dc32b01e636ed7fd95e0c283b54bdf6c;hpb=fac195bb7ea8f1e3334897d45edcc5ebebd54242;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 1bb1686..8ce4bcc 100644 --- a/src/main/java/net/pterodactylus/demoscenemusic/data/Party.java +++ b/src/main/java/net/pterodactylus/demoscenemusic/data/Party.java @@ -18,25 +18,26 @@ package net.pterodactylus.demoscenemusic.data; /** - * TODO + * Data interface for parties. * * @author David ‘Bombe’ Roden */ -public class Party extends Base { +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); - } - - public String name() { - return name; - } - - public Party name(String name) { - this.name = name; - return this; - } + /** + * Sets the name of this party. + * + * @param name + * The name of this party + * @return This party + */ + public Party setName(String name); }