@Embeddable public class Password extends Object
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
(package private) static Password |
encrypted(String password)
Creates a new encrypted password.
|
boolean |
equals(Object o) |
(package private) String |
getPassword() |
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.static Password encrypted(String password)
password
- the password string, must not be null or empty.@Generated(value="lombok") public boolean equals(Object o)
@Generated(value="lombok") protected boolean canEqual(Object other)
@Generated(value="lombok") public int hashCode()
@Generated(value="lombok") String getPassword()
@Generated(value="lombok") public boolean isEncrypted()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.