Add style to track.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 18 Apr 2012 04:38:40 +0000 (06:38 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 18 Apr 2012 04:38:40 +0000 (06:38 +0200)
src/main/java/net/pterodactylus/demoscenemusic/data/AbstractTrack.java
src/main/java/net/pterodactylus/demoscenemusic/data/Track.java

index 1d90898..b59ad83 100644 (file)
@@ -46,4 +46,13 @@ public abstract class AbstractTrack extends AbstractBase implements Track {
                return this;
        }
 
+       public Style style() {
+               return value("style", Style.class).get();
+       }
+
+       public Track style(Style style) {
+               value("style", Style.class).set(style);
+               return this;
+       }
+
 }
index 695cafe..b334ef2 100644 (file)
@@ -28,4 +28,8 @@ public interface Track extends Base {
 
        public Artist artist();
 
+       public Style style();
+
+       public Track style(Style style);
+
 }