public final class User extends Object
Constructor and Description |
---|
User(String uid,
String name,
String password)
Default User constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addDevices(Device device)
Adds a device to the user devices set.
|
Set<Device> |
getDevices()
Getter of the Set of user devices.
|
String |
getName()
Getter of the user name.
|
String |
getPassword()
Getter of the user password.
|
String |
getUid()
Getter of the user id.
|
void |
setDevices(Set<Device> devices)
Setter of the user devices.
|
void |
setPassword(String password)
Setter of the user password.
|
public String getUid()
public String getName()
public String getPassword()
public void setPassword(String password)
password
- user passwordpublic Set<Device> getDevices()
public void setDevices(Set<Device> devices)
devices
- Set of user devicespublic void addDevices(Device device)
device
- A deviceCopyright © 2025 Open Identity Platform Community. All rights reserved.