Add remix name and artists to track.
[demoscenemusic.git] / src / main / java / net / pterodactylus / demoscenemusic / data / DefaultTrack.java
index b357517..fafb8a2 100644 (file)
@@ -94,4 +94,39 @@ public class DefaultTrack extends DefaultBase implements Track {
                return this;
        }
 
+       /**
+        * {@inheritDoc}
+        */
+       @Override
+       public String getRemix() {
+               return getValue("remix", String.class).get();
+       }
+
+       /**
+        * {@inheritDoc}
+        */
+       @Override
+       public Track setRemix(String remix) {
+               getValue("remix", String.class).set(remix);
+               return this;
+       }
+
+       /**
+        * {@inheritDoc}
+        */
+       @Override
+       @SuppressWarnings("unchecked")
+       public List<Artist> getRemixArtists() {
+               return getValue("remixArtists", List.class).get();
+       }
+
+       /**
+        * {@inheritDoc}
+        */
+       @Override
+       public Track setRemixArtists(List<Artist> remixArtists) {
+               getValue("remixArtists", List.class).set(remixArtists);
+               return this;
+       }
+
 }