From 1774009a3c28c40fea5c117e616dcf8c2e55dca4 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Fri, 16 Oct 2015 12:12:10 +0200 Subject: [PATCH] =?utf8?q?some=20minor=20fixes,=20such=20as=20variables=20?= =?utf8?q?renamed=20Signed-off-by:Roland=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../jusercore/model/user/LoginUser.java | 6 ++-- .../mxchange/jusercore/model/user/User.java | 34 +++++++++---------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/src/org/mxchange/jusercore/model/user/LoginUser.java b/src/org/mxchange/jusercore/model/user/LoginUser.java index 959e827..1e64f1d 100644 --- a/src/org/mxchange/jusercore/model/user/LoginUser.java +++ b/src/org/mxchange/jusercore/model/user/LoginUser.java @@ -40,7 +40,7 @@ import org.mxchange.jcontacts.contact.UserContact; import org.mxchange.jusercore.model.user.status.UserAccountStatus; /** - * A shop customer class. + * A generic user entity class *

* @author Roland Haeder */ @@ -196,8 +196,8 @@ public class LoginUser implements User { } @Override - public void setUserConfirmKey (final String customerConfirmKey) { - this.userConfirmKey = customerConfirmKey; + public void setUserConfirmKey (final String userConfirmKey) { + this.userConfirmKey = userConfirmKey; } @Override diff --git a/src/org/mxchange/jusercore/model/user/User.java b/src/org/mxchange/jusercore/model/user/User.java index 5795c29..1cc63cf 100644 --- a/src/org/mxchange/jusercore/model/user/User.java +++ b/src/org/mxchange/jusercore/model/user/User.java @@ -31,9 +31,9 @@ public interface User extends Serializable { /** * Copies all attributes from other customer object to this *

- * @param customer Source instance + * @param userSource Source instance */ - void copyAll (final User customer); + void copyAll (final User userSource); /** * Getter for account status @@ -45,9 +45,9 @@ public interface User extends Serializable { /** * Setter for account status *

- * @param customerStatus Account status + * @param userStatus Account status */ - void setUserAccountStatus (final UserAccountStatus customerStatus); + void setUserAccountStatus (final UserAccountStatus userStatus); /** * Getter for confirmation key @@ -59,9 +59,9 @@ public interface User extends Serializable { /** * Setter for confirmation key *

- * @param customerConfirmKey Confirmation key + * @param userConfirmKey Confirmation key */ - void setUserConfirmKey (final String customerConfirmKey); + void setUserConfirmKey (final String userConfirmKey); /** * Getter for contact instance @@ -87,9 +87,9 @@ public interface User extends Serializable { /** * Setter for "created" timestamp *

- * @param customerCreated "created" timestamp + * @param userCreated "created" timestamp */ - void setUserCreated (final Calendar customerCreated); + void setUserCreated (final Calendar userCreated); /** * Getter for encrypted password @@ -129,23 +129,23 @@ public interface User extends Serializable { /** * Getter for "locked" timestamp *

- * @param customerLocked "locked" timestamp + * @param userLocked "locked" timestamp */ - void setUserLocked (final Calendar customerLocked); + void setUserLocked (final Calendar userLocked); /** - * Getter for customer number + * Getter for user name *

- * @return User number + * @return User name */ String getUserName (); /** - * Setter for customer number + * Setter for user name *

- * @param customerNumber User number + * @param userName User name */ - void setUserName (final String customerNumber); + void setUserName (final String userName); /** * Getter for public user profile flag @@ -169,7 +169,7 @@ public interface User extends Serializable { * @return Whether it matches this object */ @Override - boolean equals (final Object object); + boolean equals (final Object object); /** * Hash code caluclation for this object @@ -177,5 +177,5 @@ public interface User extends Serializable { * @return Hash code for this object */ @Override - int hashCode (); + int hashCode (); } -- 2.39.5