*/
private static final long serialVersionUID = 4_328_454_581_751L;
- /**
- * Last locked reason
- */
- @Lob
- @Column (name = "user_last_locked_reason")
- private String lastLockedReason;
-
/**
* Account status
*/
@Column (name = "user_last_locked_timestamp")
private Calendar userLastLocked;
+ /**
+ * Last locked reason
+ */
+ @Lob
+ @Column (name = "user_last_locked_reason")
+ private String userLastLockedReason;
+
/**
* User name
*/
(Objects.equals(this.getUserId(), other.getUserId())));
}
- @Override
- public int hashCode () {
- int hash = 5;
- hash = 83 * hash + Objects.hashCode(this.getUserName());
- hash = 83 * hash + Objects.hashCode(this.getUserId());
- return hash;
- }
-
- @Override
- public String getLastLockedReason () {
- return this.lastLockedReason;
- }
-
- @Override
- public void setLastLockedReason (final String lastLockedReason) {
- this.lastLockedReason = lastLockedReason;
- }
-
@Override
public UserAccountStatus getUserAccountStatus () {
return this.userAccountStatus;
this.userLastLocked = userLastLocked;
}
+ @Override
+ public String getUserLastLockedReason () {
+ return this.userLastLockedReason;
+ }
+
+ @Override
+ public void setUserLastLockedReason (final String userLastLockedReason) {
+ this.userLastLockedReason = userLastLockedReason;
+ }
+
@Override
public String getUserName () {
return this.userName;
this.userUpdated = userUpdated;
}
+ @Override
+ public int hashCode () {
+ int hash = 5;
+ hash = 83 * hash + Objects.hashCode(this.getUserName());
+ hash = 83 * hash + Objects.hashCode(this.getUserId());
+ return hash;
+ }
+
}
* <p>
* @return Reason of last locked
*/
- String getLastLockedReason ();
+ String getUserLastLockedReason ();
/**
* Setter for reason of last locked
* <p>
* @param lastLockedReason Reason of last locked
*/
- void setLastLockedReason (final String lastLockedReason);
+ void setUserLastLockedReason (final String lastLockedReason);
/**
* Getter for user name