public class UserGroup extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JOIN_USERS
Pozwala dołączyć użytkowników grupy
|
| Constructor and Description |
|---|
UserGroup(String name)
Tworzy obiekt grupy
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDescription() |
String |
getName() |
Long |
getObjectId() |
Set<User> |
getUsers() |
int |
hashCode() |
void |
setDescription(String description)
Ustawia opis grupy
|
void |
setName(String name)
Ustawia nazwę grupy
|
void |
setObjectId(Long objectId)
Ustawia id grupy
|
public static final String JOIN_USERS
public UserGroup(String name)
name - Nazwa grupypublic String getName()
public void setName(String name)
name - Nazwa grupypublic String getDescription()
public void setDescription(String description)
description - Opis grupypublic Long getObjectId()
public void setObjectId(Long objectId)
objectId - Id grupy(z bazy danych)Copyright © 2023 Suncode. All rights reserved.