import org.mxchange.jusercore.model.user.status.UserAccountStatus;
/**
- * A shop customer class.
+ * A generic user entity class
* <p>
* @author Roland Haeder<roland@mxchange.org>
*/
}
@Override
- public void setUserConfirmKey (final String customerConfirmKey) {
- this.userConfirmKey = customerConfirmKey;
+ public void setUserConfirmKey (final String userConfirmKey) {
+ this.userConfirmKey = userConfirmKey;
}
@Override
/**
* Copies all attributes from other customer object to this
* <p>
- * @param customer Source instance
+ * @param userSource Source instance
*/
- void copyAll (final User customer);
+ void copyAll (final User userSource);
/**
* Getter for account status
/**
* Setter for account status
* <p>
- * @param customerStatus Account status
+ * @param userStatus Account status
*/
- void setUserAccountStatus (final UserAccountStatus customerStatus);
+ void setUserAccountStatus (final UserAccountStatus userStatus);
/**
* Getter for confirmation key
/**
* Setter for confirmation key
* <p>
- * @param customerConfirmKey Confirmation key
+ * @param userConfirmKey Confirmation key
*/
- void setUserConfirmKey (final String customerConfirmKey);
+ void setUserConfirmKey (final String userConfirmKey);
/**
* Getter for contact instance
/**
* Setter for "created" timestamp
* <p>
- * @param customerCreated "created" timestamp
+ * @param userCreated "created" timestamp
*/
- void setUserCreated (final Calendar customerCreated);
+ void setUserCreated (final Calendar userCreated);
/**
* Getter for encrypted password
/**
* Getter for "locked" timestamp
* <p>
- * @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
* <p>
- * @return User number
+ * @return User name
*/
String getUserName ();
/**
- * Setter for customer number
+ * Setter for user name
* <p>
- * @param customerNumber User number
+ * @param userName User name
*/
- void setUserName (final String customerNumber);
+ void setUserName (final String userName);
/**
* Getter for public user profile flag
* @return Whether it matches this object
*/
@Override
- boolean equals (final Object object);
+ boolean equals (final Object object);
/**
* Hash code caluclation for this object
* @return Hash code for this object
*/
@Override
- int hashCode ();
+ int hashCode ();
}