X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fdemoscenemusic%2Fdata%2FParty.java;h=8ce4bccb90f061b1dd276e3214f880d9a27de056;hb=b2ab3fd2aefa2815f8c55b5b0e8b8d2eb912a192;hp=dbf1b8e4c2d50da8b0bf2b29f6f562c647b403e7;hpb=a2983e36c9603ddb43f7016f16e445e1b26bd885;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 dbf1b8e..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 AbstractBase { +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); }