public class ImmutableGroup extends ImmutableBaseData implements Group
Group in ImmutableBaseData hierarchy.| Constructor and Description |
|---|
ImmutableGroup(int id,
String name,
List<ImmutablePerson> persons)
Create immutable group.
|
| Modifier and Type | Method and Description |
|---|---|
List<ImmutablePerson> |
getImmutablePersons()
Get the list of
ImmutablePersons. |
String |
getName()
Get the name of the group.
|
List<Integer> |
getPersons()
Get the list of
Person IDs which belong to the group. |
equals, getId, hashCodepublic ImmutableGroup(int id,
String name,
List<ImmutablePerson> persons)
id - ID of groupname - name of grouppersons - list of ImmutablePersonspublic List<ImmutablePerson> getImmutablePersons()
ImmutablePersons.Copyright © 2015 illucIT Software GmbH. All rights reserved.