From: Roland Haeder Date: Tue, 6 Oct 2015 07:33:54 +0000 (+0200) Subject: updated jars + renamed property X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2a721f228e4fa53863a1cc178ce912aa7c3a963a;p=juser-core.git updated jars + renamed property Signed-off-by:Roland Häder --- diff --git a/src/org/mxchange/jusercore/model/user/LoginUser.java b/src/org/mxchange/jusercore/model/user/LoginUser.java index b460de3..c592e6e 100644 --- a/src/org/mxchange/jusercore/model/user/LoginUser.java +++ b/src/org/mxchange/jusercore/model/user/LoginUser.java @@ -53,7 +53,7 @@ public class LoginUser implements User { */ @JoinColumn (name = "contact_id", nullable = false, updatable = false, unique = true) @OneToOne (targetEntity = UserContact.class, optional = false) - private Contact contact; + private Contact userContact; /** * Account status @@ -113,7 +113,7 @@ public class LoginUser implements User { @Override public void copyAll (final User user) { // Copy also contact data - this.getContact().copyAll(user.getContact()); + this.getUserContact().copyAll(user.getUserContact()); // Copy other data this.setUserConfirmKey(user.getUserConfirmKey()); @@ -125,13 +125,13 @@ public class LoginUser implements User { } @Override - public Contact getContact () { - return this.contact; + public Contact getUserContact () { + return this.userContact; } @Override - public void setContact (final Contact contact) { - this.contact = contact; + public void setUserContact (final Contact userContact) { + this.userContact = userContact; } @Override