-public class Group extends AbstractBase {
-
- private String name;
- private String url;
-
- public Group(String id) {
- super(id);
- }
-
- public String name() {
- return name;
- }
-
- public Group name(String name) {
- this.name = name;
- return this;
- }
-
- public String url() {
- return url;
- }
-
- public Group url(String url) {
- this.url = url;
- return this;
- }
+public interface Group extends Base {
+
+ /**
+ * Returns the name of this group.
+ *
+ * @return The name of this group
+ */
+ public String getName();
+
+ /**
+ * Sets the name of this group.
+ *
+ * @param name
+ * The name of this group
+ * @return This group
+ */
+ public Group setName(String name);
+
+ /**
+ * Returns all artists belonging to this group.
+ *
+ * @return All artists belonging to this group
+ */
+ public Collection<Artist> getArtists();
+
+ /**
+ * Sets all artists belonging to this group.
+ *
+ * @param artists
+ * All artists belonging to this group
+ * @return This group
+ */
+ public Group setArtists(Collection<Artist> artists);