Class PasswordToken
- java.lang.Object
-
- com.broadleafcommerce.auth.user.domain.PasswordToken
-
public class PasswordToken extends Object
- Author:
- Nathan Moore (nathanmoore).
-
-
Constructor Summary
Constructors Constructor Description PasswordToken()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
Instant
getDateCreated()
The date this token was created.Instant
getDateUsed()
The date this token was used, or null.String
getId()
The primary key of this token.String
getPurpose()
The reason this token was created.String
getToken()
The token valueString
getUserId()
The ID of the user associated with this token.int
hashCode()
boolean
isUsed()
Whether or not this token has been used.void
setDateCreated(Instant dateCreated)
The date this token was created.void
setDateUsed(Instant dateUsed)
The date this token was used, or null.void
setId(String id)
The primary key of this token.void
setPurpose(String purpose)
The reason this token was created.void
setToken(String token)
The token valuevoid
setUsed(boolean used)
Whether or not this token has been used.void
setUserId(String userId)
The ID of the user associated with this token.String
toString()
-
-
-
Method Detail
-
getId
public String getId()
The primary key of this token.
-
getToken
public String getToken()
The token value
-
getDateCreated
public Instant getDateCreated()
The date this token was created.
-
getDateUsed
public Instant getDateUsed()
The date this token was used, or null.
-
isUsed
public boolean isUsed()
Whether or not this token has been used.
-
getUserId
public String getUserId()
The ID of the user associated with this token.
-
getPurpose
public String getPurpose()
The reason this token was created.
-
setId
public void setId(String id)
The primary key of this token.
-
setToken
public void setToken(String token)
The token value
-
setDateCreated
public void setDateCreated(Instant dateCreated)
The date this token was created.
-
setDateUsed
public void setDateUsed(Instant dateUsed)
The date this token was used, or null.
-
setUsed
public void setUsed(boolean used)
Whether or not this token has been used.
-
setUserId
public void setUserId(String userId)
The ID of the user associated with this token.
-
setPurpose
public void setPurpose(String purpose)
The reason this token was created.
-
canEqual
protected boolean canEqual(Object other)
-
-