public class UserDeviceWrapper extends Object
Constructor and Description |
---|
UserDeviceWrapper(Device d) |
Modifier and Type | Method and Description |
---|---|
void |
addUser(User u)
|
Device |
getDevice() |
UserDeviceWrapper |
getParent() |
UserDeviceWrapper |
getRoot() |
Set<User> |
getUserSet()
|
void |
removeUser(User u)
Remove a single user from this
Device . |
void |
setUserSet(Set<User> users)
Complement to
getUserSet() . |
public UserDeviceWrapper(Device d)
public Device getDevice()
public Set<User> getUserSet()
List
in the actual Device
instance, so this methods helps reformat that into a Set
.public void setUserSet(Set<User> users)
getUserSet()
.users
- public void addUser(User u)
u
- public UserDeviceWrapper getParent()
public UserDeviceWrapper getRoot()
Copyright © 2018 universAAL Consortium. All rights reserved.