projects
/
demoscenemusic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add custom properties.
[demoscenemusic.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
demoscenemusic
/
data
/
Base.java
diff --git
a/src/main/java/net/pterodactylus/demoscenemusic/data/Base.java
b/src/main/java/net/pterodactylus/demoscenemusic/data/Base.java
index
9ac65ad
..
56559ce
100644
(file)
--- a/
src/main/java/net/pterodactylus/demoscenemusic/data/Base.java
+++ b/
src/main/java/net/pterodactylus/demoscenemusic/data/Base.java
@@
-18,20
+18,24
@@
package net.pterodactylus.demoscenemusic.data;
/**
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>
*/
*
* @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
*/
-public
class
Base {
+public
interface
Base {
- private final String id;
+ /**
+ * Returns the ID of the data container.
+ *
+ * @return The ID of the data container
+ */
+ public String getId();
- protected Base(String id) {
- this.id = id;
- }
-
- public String id() {
- return id;
- }
+ /**
+ * Returns the properties associated with this object.
+ *
+ * @return The properties of this object
+ */
+ public Properties getProperties();
}
}