X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fdemoscenemusic%2Fdata%2FBase.java;h=56559ce1699627c0dc7a86cd22130c5ae0c30069;hb=7bae34cd2768314df3c169da542c2403161be3a1;hp=9ac65ade8078d650b86c25c44f30aa46dcb7f831;hpb=f9c49997cfd08b503cd256db145a670090165933;p=demoscenemusic.git diff --git a/src/main/java/net/pterodactylus/demoscenemusic/data/Base.java b/src/main/java/net/pterodactylus/demoscenemusic/data/Base.java index 9ac65ad..56559ce 100644 --- a/src/main/java/net/pterodactylus/demoscenemusic/data/Base.java +++ b/src/main/java/net/pterodactylus/demoscenemusic/data/Base.java @@ -18,20 +18,24 @@ package net.pterodactylus.demoscenemusic.data; /** - * TODO + * Base class for all data interfaces and implementations. * * @author David ‘Bombe’ Roden */ -public class Base { +public interface Base { - private final String id; + /** + * Returns the ID of the data container. + * + * @return The ID of the data container + */ + public String getId(); - protected Base(String id) { - this.id = id; - } - - public String id() { - return id; - } + /** + * Returns the properties associated with this object. + * + * @return The properties of this object + */ + public Properties getProperties(); }