if (member == null) { throw new IllegalArgumentException("Member to add cannot be null"); } this.members.add(member); member.getMemberships().add(this);
return id;
return members;
return name;
this.id = id;
this.members = members;
this.name = name;