X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fdemoscenemusic%2Fdata%2FTrack.java;h=32ae937ff9bc78dddac7448e16f55261272d8fc4;hb=cb96ebd4d6cb9b43fcf9a6bb3e2f335bff243708;hp=cc1a1c960e7c61161a443804303544dd0b0ed6b6;hpb=fe0427884d64d9eb35d6abbff3617c56ad41b478;p=demoscenemusic.git
diff --git a/src/main/java/net/pterodactylus/demoscenemusic/data/Track.java b/src/main/java/net/pterodactylus/demoscenemusic/data/Track.java
index cc1a1c9..32ae937 100644
--- a/src/main/java/net/pterodactylus/demoscenemusic/data/Track.java
+++ b/src/main/java/net/pterodactylus/demoscenemusic/data/Track.java
@@ -19,24 +19,130 @@ package net.pterodactylus.demoscenemusic.data;
import java.util.Collection;
import java.util.List;
+import java.util.Map;
/**
- * TODO
+ * Data interface for tracks.
*
* @author David âBombeâ Roden
*/
public interface Track extends Base {
- public String name();
+ /**
+ * Defines relationships between tracks.
+ *
+ * @author David âBombeâ Roden
+ */
+ public enum Relationship {
- public Track name(String name);
+ /** The track is the original of a related track. */
+ original,
- public List artists();
+ /** The track is a remix of a related track. */
+ remix,
- public Track artists(List artists);
+ /** The track is a cover version of a related track. */
+ cover,
- public Collection