public void setParticipantAndAddFeature(P participant) { if (this.participant != null){ this.participant.removeFeature(this); } if (participant != null){ participant.addFeature(this); } }
public void setParticipantAndAddFeature(P participant) { if (this.participant != null){ this.participant.removeFeature(this); } if (participant != null){ participant.addFeature(this); } }