@Embeddable public class Password extends Object
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isEncrypted()
Whether the password is encrypted.
|
String |
toString() |
static Password |
unencrypted(String password)
Creates a new password.
|
public static Password unencrypted(String password)
password
- the password string, must not be null or empty.protected boolean canEqual(Object other)
public boolean isEncrypted()
Copyright © 2019. All rights reserved.