projects
/
demoscenemusic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add page that lists all parties.
[demoscenemusic.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
demoscenemusic
/
data
/
Group.java
diff --git
a/src/main/java/net/pterodactylus/demoscenemusic/data/Group.java
b/src/main/java/net/pterodactylus/demoscenemusic/data/Group.java
index
8ab2f87
..
9c86181
100644
(file)
--- a/
src/main/java/net/pterodactylus/demoscenemusic/data/Group.java
+++ b/
src/main/java/net/pterodactylus/demoscenemusic/data/Group.java
@@
-17,19
+17,45
@@
package net.pterodactylus.demoscenemusic.data;
package net.pterodactylus.demoscenemusic.data;
+import java.util.Collection;
+
/**
/**
- *
TODO
+ *
Data interface for groups.
*
* @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
*/
public interface Group extends Base {
*
* @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
*/
public interface Group extends Base {
- public String name();
+ /**
+ * Returns the name of this group.
+ *
+ * @return The name of this group
+ */
+ public String getName();
- public Group name(String name);
+ /**
+ * Sets the name of this group.
+ *
+ * @param name
+ * The name of this group
+ * @return This group
+ */
+ public Group setName(String name);
- public String url();
+ /**
+ * Returns all artists belonging to this group.
+ *
+ * @return All artists belonging to this group
+ */
+ public Collection<Artist> getArtists();
- public Group url(String url);
+ /**
+ * Sets all artists belonging to this group.
+ *
+ * @param artists
+ * All artists belonging to this group
+ * @return This group
+ */
+ public Group setArtists(Collection<Artist> artists);
}
}