Class ANCreateLinkHelper


  • public abstract class ANCreateLinkHelper
    extends java.lang.Object
    This action can be used to create links and link objects. There is no return value in either case. This is so that no change of the action is required if the association is changed to an association class or vice versa. CreateLinkAction uses a specialization of LinkEndData, called LinkEndCreationData, to support ordered associations. The insertion point is specified at runtime by an additional input pin which is required for ordered association ends and omitted for unordered ends. The insertion point is a positive integer that gives the position where the link should be inserted or unlimited which means that the link is inserted at the end. Reinserting an existing end at a new position in an ordered unique structural feature moves the end to that position. CreateLinkAction also uses LinkEndCreationData to support the destruction of existing links of the association that connect any of the objects of the new link. When the link is created, this option is available on an end-by-end basis and causes all links of the association emanating from the specified ends to be destroyed before the new link is created.
    See Also:
    ANCreateLink