CreateAssociationEndTo method

Applies to
TUML_Association

Declaration
Function CreateAssociationEndTo(const i_classifier: TUML_Classifier): TUML_AssociationEnd;

Description
Creates and adds a new associationEnd object to this association, connected to i_classifier.

Implementation

Function TUML_Association.CreateAssociationEndTo(const i_classifier: TUML_Classifier): TUML_AssociationEnd;
Begin
  Result:=TUML_AssociationEnd.Create;
  Result.Classifier:=i_classifier;
  AssociationEnds.AddObject('', Result); //Currently we don't use the full stringlist. (Could have used TList instead).
End;