public void setGroup(Group group) { this.group = group; if (!group.getClients().contains(this)) group.getClients().add(this); }