Add method to get all groups by artist.
[demoscenemusic.git] / src / main / java / net / pterodactylus / demoscenemusic / data / DefaultBase.java
index 7de5b5e..83f3cee 100644 (file)
@@ -40,6 +40,10 @@ public class DefaultBase implements Base {
                return id;
        }
 
+       protected boolean hasValue(String name) {
+               return attributes.containsKey(name);
+       }
+
        @SuppressWarnings({ "synthetic-access", "unchecked" })
        protected <T> Value<T> value(String name, Class<T> clazz) {
                if (!attributes.containsKey(name)) {