public class GroupEntity extends Object
| Constructor and Description |
|---|
GroupEntity()
Instantiates a new group entity.
|
GroupEntity(String name,
String description)
Instantiates a new group entity.
|
GroupEntity(String name,
String description,
List<String> admins,
List<String> members) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAdmins() |
String |
getDescription()
Gets the description.
|
List<String> |
getMembers() |
String |
getName()
Gets the name.
|
void |
setAdmins(List<String> admins) |
void |
setDescription(String description)
Sets the description.
|
void |
setMembers(List<String> members) |
void |
setName(String name)
Sets the name.
|
public GroupEntity()
public GroupEntity(String name, String description)
name - the namedescription - the descriptionpublic String getName()
public void setName(String name)
name - the new namepublic String getDescription()
public void setDescription(String description)
description - the new descriptionCopyright © 2019. All rights reserved.