From 2c555309311e6397c65f9e8b95fb4020e46dd181 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 26 Apr 2012 12:17:25 +0200 Subject: [PATCH] Add user data container. --- .../demoscenemusic/data/DataManager.java | 98 ++++++++++++++++++++++ .../demoscenemusic/data/DefaultUser.java | 74 ++++++++++++++++ .../pterodactylus/demoscenemusic/data/User.java | 61 ++++++++++++++ 3 files changed, 233 insertions(+) create mode 100644 src/main/java/net/pterodactylus/demoscenemusic/data/DefaultUser.java create mode 100644 src/main/java/net/pterodactylus/demoscenemusic/data/User.java diff --git a/src/main/java/net/pterodactylus/demoscenemusic/data/DataManager.java b/src/main/java/net/pterodactylus/demoscenemusic/data/DataManager.java index 6bec2a8..e6bc6da 100644 --- a/src/main/java/net/pterodactylus/demoscenemusic/data/DataManager.java +++ b/src/main/java/net/pterodactylus/demoscenemusic/data/DataManager.java @@ -34,6 +34,7 @@ import net.pterodactylus.util.database.Field; import net.pterodactylus.util.database.Join; import net.pterodactylus.util.database.Join.JoinType; import net.pterodactylus.util.database.ObjectCreator; +import net.pterodactylus.util.database.ObjectCreator.StringCreator; import net.pterodactylus.util.database.OrderField; import net.pterodactylus.util.database.Parameter.StringParameter; import net.pterodactylus.util.database.Query; @@ -65,6 +66,10 @@ public class DataManager { @SuppressWarnings("synthetic-access") private final ObjectCreator