package net.pterodactylus.demoscenemusic.data;
import java.util.Collection;
-import java.util.Set;
/**
- * TODO
+ * Data interface for artists.
*
* @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
*/
public interface Artist extends Base {
- public String name();
+ /**
+ * Returns the name of this artist.
+ *
+ * @return The name of this artist
+ */
+ public String getName();
- public Artist name(String name);
+ /**
+ * Sets the name of this artist.
+ *
+ * @param name
+ * The new name of this artist
+ * @return This artist
+ */
+ public Artist setName(String name);
- public Set<Group> groups();
+ /**
+ * Returns the groups this artist belongs to.
+ *
+ * @return The groups this artist belongs to
+ */
+ public Collection<Group> getGroups();
- public Artist groups(Set<Group> groups);
+ /**
+ * Sets the groups this artist belongs to.
+ *
+ * @param groups
+ * The groups this artist belongs to
+ * @return This artist
+ */
+ public Artist setGroups(Collection<Group> groups);
- public Collection<Track> tracks();
+ /**
+ * Returns the tracks created by this artist.
+ *
+ * @return The tracks created by this artist
+ */
+ public Collection<Track> getTracks();
- public Artist tracks(Collection<Track> tracks);
+ /**
+ * Sets the tracks created by this artist.
+ *
+ * @param tracks
+ * The tracks created by this artist
+ * @return This artist
+ */
+ public Artist setTracks(Collection<Track> tracks);
}