Actually remove all attributes from track derivative, properties are enough.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 27 Jul 2012 11:13:30 +0000 (13:13 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 27 Jul 2012 11:13:30 +0000 (13:13 +0200)
src/main/java/net/pterodactylus/demoscenemusic/data/TrackDerivative.java

index 1a923f5..895f856 100644 (file)
 
 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.
+ * <p>
+ * This interface only exist to enable us to store custom
+ * {@link #getProperties() properties} for a track derivative.
  *
  * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
  */
 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. */
 
 }