@Entity public class UserGroup extends Object implements Serializable, Cloneable
Modifier and Type | Field and Description |
---|---|
private String |
id |
private Set<User> |
users |
private Workspace |
workspace |
private String |
workspaceId |
Constructor and Description |
---|
UserGroup() |
UserGroup(Workspace pWorkspace,
String pId) |
Modifier and Type | Method and Description |
---|---|
boolean |
addUser(User pUser) |
String |
getId() |
Set<User> |
getUsers() |
String |
getWorkspaceId() |
boolean |
isMember(User user) |
boolean |
removeUser(User pUser) |
void |
setWorkspace(Workspace pWorkspace) |
private String id
private String workspaceId
private Workspace workspace
Copyright © 2013 OW2 Consortium. All Rights Reserved.