Override Object.hashCode() and Object.equals().
[demoscenemusic.git] / src / main / java / net / pterodactylus / demoscenemusic / data / Base.java
index 7a36493..56559ce 100644 (file)
 
 package net.pterodactylus.demoscenemusic.data;
 
-
 /**
- * TODO
+ * Base class for all data interfaces and implementations.
  *
  * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
  */
 public interface Base {
 
-       public String id();
+       /**
+        * Returns the ID of the data container.
+        *
+        * @return The ID of the data container
+        */
+       public String getId();
+
+       /**
+        * Returns the properties associated with this object.
+        *
+        * @return The properties of this object
+        */
+       public Properties getProperties();
 
 }