projects
/
demoscenemusic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clear properties are not saved, so make them dirty.
[demoscenemusic.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
demoscenemusic
/
data
/
DefaultParty.java
diff --git
a/src/main/java/net/pterodactylus/demoscenemusic/data/DefaultParty.java
b/src/main/java/net/pterodactylus/demoscenemusic/data/DefaultParty.java
index
dd684b3
..
993d69a
100644
(file)
--- a/
src/main/java/net/pterodactylus/demoscenemusic/data/DefaultParty.java
+++ b/
src/main/java/net/pterodactylus/demoscenemusic/data/DefaultParty.java
@@
-18,24
+18,40
@@
package net.pterodactylus.demoscenemusic.data;
/**
package net.pterodactylus.demoscenemusic.data;
/**
- *
TODO
+ *
Default implementation of a party data container.
*
* @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
*/
public class DefaultParty extends DefaultBase implements Party {
*
* @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
*/
public class DefaultParty extends DefaultBase implements Party {
+ /**
+ * Creates a new party data container.
+ *
+ * @param id
+ * The ID of the party
+ */
public DefaultParty(String id) {
super(id);
}
public DefaultParty(String id) {
super(id);
}
+ //
+ // PARTY METHODS
+ //
+
+ /**
+ * {@inheritDoc}
+ */
@Override
@Override
- public String
n
ame() {
- return
v
alue("name", String.class).get();
+ public String
getN
ame() {
+ return
getV
alue("name", String.class).get();
}
}
+ /**
+ * {@inheritDoc}
+ */
@Override
@Override
- public DefaultParty
n
ame(String name) {
-
v
alue("name", String.class).set(name);
+ public DefaultParty
setN
ame(String name) {
+
getV
alue("name", String.class).set(name);
return this;
}
return this;
}