Get parties a track was released at from the track.
[demoscenemusic.git] / src / main / java / net / pterodactylus / demoscenemusic / data / Track.java
index 32ae937..cb9249f 100644 (file)
@@ -130,6 +130,23 @@ public interface Track extends Base {
        public Track setRemixArtists(List<Artist> remixArtists);
 
        /**
+        * Returns all derivatives of this track. A derivative of a MOD file could
+        * be a WAV or MP3 file.
+        *
+        * @return All derivatives of this track
+        */
+       public Collection<TrackDerivative> getDerivatives();
+
+       /**
+        * Sets the derivatives of this track.
+        *
+        * @param derivatives
+        *            The derivatives of this track
+        * @return This track
+        */
+       public Track setDerivatives(Collection<TrackDerivative> derivatives);
+
+       /**
         * Returns all tracks that are somehow related to this track.
         *
         * @return All tracks that are related to this track
@@ -145,4 +162,20 @@ public interface Track extends Base {
         */
        public Track setRelatedTracks(Map<Relationship, Collection<Track>> relatedTracks);
 
+       /**
+        * Returns all parties this track was released at.
+        *
+        * @return All parties this track was released at
+        */
+       public Collection<Party> getParties();
+
+       /**
+        * Sets all parties this track was released at.
+        *
+        * @param parties
+        *            All parties this track was released at
+        * @return This track
+        */
+       public Track setParties(Collection<Party> parties);
+
 }