Add short name to groups.
[demoscenemusic.git] / src / main / java / net / pterodactylus / demoscenemusic / data / Group.java
index 054b303..08ce879 100644 (file)
@@ -43,20 +43,21 @@ public interface Group extends Base {
        public Group setName(String name);
 
        /**
-        * Returns the URL of this group’s website.
+        * Returns the short name of this group.
         *
-        * @return The URL of this group’s website
+        * @return The short name of this group, or {@code null} if this group does
+        *         not have a short name
         */
-       public String getUrl();
+       public String getShortName();
 
        /**
-        * Sets the URL of this group’s website.
+        * Sets the short name of this group.
         *
-        * @param url
-        *            The URL of this group’s website
+        * @param shortName
+        *            The new short name of this group
         * @return This group
         */
-       public Group setUrl(String url);
+       public Group setShortName(String shortName);
 
        /**
         * Returns all artists belonging to this group.