Override Object.hashCode() and Object.equals().
[demoscenemusic.git] / src / main / java / net / pterodactylus / demoscenemusic / data / DefaultBase.java
index 345ebd2..56b37c4 100644 (file)
@@ -35,6 +35,9 @@ public class DefaultBase implements Base {
        /** The attributes of the data container. */
        private final Map<String, Value<?>> attributes = new HashMap<String, Value<?>>();
 
+       /** The properties of the data container. */
+       private final Properties properties = new Properties();
+
        /**
         * Creates a new data container with the given ID.
         *
@@ -58,6 +61,14 @@ public class DefaultBase implements Base {
        }
 
        /**
+        * {@inheritDoc}
+        */
+       @Override
+       public Properties getProperties() {
+               return properties;
+       }
+
+       /**
         * Returns whether the data container contains an attribute with the given
         * name.
         *