public void setMethod(Completable.Score.ScoreMethod scoreMethod) { if (getMethod() == scoreMethod) { return; } if (scoreMethod != Completable.Score.ScoreMethod.SINGLE) { score.setId(""); } else { score.setSubScores(new List <Completable.Score>()); scoreDataControls.Clear(); } Controller.Instance.AddTool(ChangeEnumValueTool.Create(score, scoreMethod, "getMethod", "setMethod")); }