projects
/
demoscenemusic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add login page.
[demoscenemusic.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
demoscenemusic
/
data
/
Artist.java
diff --git
a/src/main/java/net/pterodactylus/demoscenemusic/data/Artist.java
b/src/main/java/net/pterodactylus/demoscenemusic/data/Artist.java
index
d9e6682
..
563a3bc
100644
(file)
--- a/
src/main/java/net/pterodactylus/demoscenemusic/data/Artist.java
+++ b/
src/main/java/net/pterodactylus/demoscenemusic/data/Artist.java
@@
-20,22
+20,58
@@
package net.pterodactylus.demoscenemusic.data;
import java.util.Collection;
/**
import java.util.Collection;
/**
- *
TODO
+ *
Data interface for artists.
*
* @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
*/
public interface Artist extends Base {
*
* @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
*/
public interface Artist extends Base {
+ /**
+ * Returns the name of this artist.
+ *
+ * @return The name of this artist
+ */
public String getName();
public String getName();
+ /**
+ * Sets the name of this artist.
+ *
+ * @param name
+ * The new name of this artist
+ * @return This artist
+ */
public Artist setName(String name);
public Artist setName(String name);
+ /**
+ * Returns the groups this artist belongs to.
+ *
+ * @return The groups this artist belongs to
+ */
public Collection<Group> getGroups();
public Collection<Group> getGroups();
+ /**
+ * 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 Artist setGroups(Collection<Group> groups);
+ /**
+ * Returns the tracks created by this artist.
+ *
+ * @return The tracks created by this artist
+ */
public Collection<Track> getTracks();
public Collection<Track> getTracks();
+ /**
+ * Sets the tracks created by this artist.
+ *
+ * @param tracks
+ * The tracks created by this artist
+ * @return This artist
+ */
public Artist setTracks(Collection<Track> tracks);
}
public Artist setTracks(Collection<Track> tracks);
}