@Entity public class UserAuthenticationEntity extends Object
Constructor and Description |
---|
UserAuthenticationEntity() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getAuthenticationKey() |
UserAuthenticationType |
getAuthenticationType() |
long |
getCreateTime() |
long |
getUpdateTime() |
UserEntity |
getUser()
Get the relevant
UserEntity associated with this UserAuthenticationEntity . |
Long |
getUserAuthenticationId() |
int |
hashCode() |
protected void |
onCreate()
Ensure the create time and update time are set properly when the record is created.
|
protected void |
onUpdate()
Ensure the update time is set properly when the record is updated.
|
void |
setAuthenticationKey(String authenticationKey) |
void |
setAuthenticationType(UserAuthenticationType authenticationType) |
void |
setUser(UserEntity user)
Set the relevant
UserEntity associated with this UserAuthenticationEntity . |
void |
setUserAuthenticationId(Long userAuthenticationId) |
public Long getUserAuthenticationId()
public void setUserAuthenticationId(Long userAuthenticationId)
public UserAuthenticationType getAuthenticationType()
public void setAuthenticationType(UserAuthenticationType authenticationType)
public String getAuthenticationKey()
public void setAuthenticationKey(String authenticationKey)
public long getCreateTime()
public long getUpdateTime()
public UserEntity getUser()
UserEntity
associated with this UserAuthenticationEntity
.UserEntity
public void setUser(UserEntity user)
UserEntity
associated with this UserAuthenticationEntity
.user
- a UserEntity
protected void onCreate()
protected void onUpdate()
Copyright © 2022 Apache Software Foundation. All rights reserved.