From 0dfeeed615e2e69a1eb5e9ceb7af95f0bcc00a37 Mon Sep 17 00:00:00 2001 From: "moandji.ezana" Date: Thu, 18 Oct 2012 09:42:34 +0200 Subject: [PATCH] User made friendlier to DbUtils --- .../com/moandjiezana/tent/essayist/User.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/main/java/com/moandjiezana/tent/essayist/User.java b/src/main/java/com/moandjiezana/tent/essayist/User.java index 4fb635a..3f913e1 100644 --- a/src/main/java/com/moandjiezana/tent/essayist/User.java +++ b/src/main/java/com/moandjiezana/tent/essayist/User.java @@ -10,6 +10,8 @@ public class User { private AccessToken accessToken; private Long id; + public User() {} + public User(Profile profile, AccessToken accessToken) { this(null, profile, null, accessToken); } @@ -28,16 +30,32 @@ public class User { public Long getId() { return id; } + + public void setId(Long id) { + this.id = id; + } public Profile getProfile() { return profile; } + + public void setProfile(Profile profile) { + this.profile = profile; + } public AccessToken getAccessToken() { return accessToken; } + + public void setAccessToken(AccessToken accessToken) { + this.accessToken = accessToken; + } public RegistrationResponse getRegistration() { return registration; } + + public void setRegistration(RegistrationResponse registration) { + this.registration = registration; + } } \ No newline at end of file