From f4edcd899cd868ea5ae57b2e0a01d896fa8a7c53 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 27 Jul 2012 13:13:30 +0200 Subject: [PATCH] Actually remove all attributes from track derivative, properties are enough. --- .../demoscenemusic/data/TrackDerivative.java | 40 +++------------------- 1 file changed, 4 insertions(+), 36 deletions(-) diff --git a/src/main/java/net/pterodactylus/demoscenemusic/data/TrackDerivative.java b/src/main/java/net/pterodactylus/demoscenemusic/data/TrackDerivative.java index 1a923f5..895f856 100644 --- a/src/main/java/net/pterodactylus/demoscenemusic/data/TrackDerivative.java +++ b/src/main/java/net/pterodactylus/demoscenemusic/data/TrackDerivative.java @@ -17,50 +17,18 @@ package net.pterodactylus.demoscenemusic.data; -import net.pterodactylus.demoscenemusic.core.Core; - /** * A track derivative contains a version of a {@link Track}. Most notable * different derivatives will be an original file (like a MOD or SID file) and a * rendered audio file. + *

+ * This interface only exist to enable us to store custom + * {@link #getProperties() properties} for a track derivative. * * @author David ‘Bombe’ Roden */ public interface TrackDerivative extends Base { - /** - * Returns the version of the derivative. Currently there are five used - * versions: “data.original,” “data.original.executable,” “audio.lossy,” - * “audio.lossless,” and “data.unknown” (for unknown derivatives). - * - * @return The version of the derivative - */ - public String getVersion(); - - /** - * Sets the version of the derivative. - * - * @param version - * The version of the derivative - * @return This derivative - */ - public TrackDerivative setVersion(String version); - - /** - * Returns the path where this derivative is stored. This path is relative - * to the {@link Core#getDataDirectory()}. - * - * @return The path of this derivative - */ - public String getPath(); - - /** - * Sets the path of this derivative. - * - * @param path - * The new path of this derivative - * @return This derivative - */ - public TrackDerivative setPath(String path); + /* nothing here. */ } -- 2.7.4