de.mid.innovator.srv2api.icw2ac
Class ANDestroyLinkHelper

java.lang.Object
  extended by de.mid.innovator.srv2api.icw2ac.ANDestroyLinkHelper

public abstract class ANDestroyLinkHelper
extends Object

This action destroys a link or a link object. Link objects can also be destroyed with DestroyObjectAction. The link is specified in the same way as link creation, even for link objects. This allows actions to remain unchanged when their associations are transformed from ordinary ones to association classes and vice versa. DestroyLinkAction uses a specialization of LinkEndData, called LinkEndDestructionData, to support ordered nonunique associations. The position of the link to be destroyed is specified at runtime by an additional input pin, which is required for ordered nonunique association ends and omitted for other kinds of ends. This is a positive integer giving the position of the link to destroy. DestroyLinkAction also uses LinkEndDestructionData to support the destruction of duplicate links of the association on ends that are nonunique. This option is available on an end-by-end basis and causes all duplicate links of the association emanating from the specified ends to be destroyed.

See Also:
ANDestroyLink

Method Summary
static ANDestroyLink create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer, ELElement ohRequirement)
          Create a new Destroy Link Action with template and container with requirement.
static ANDestroyLink create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer, ELElement ohRequirement)
          Create a new Destroy Link Action with stereotype and container with requirement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static ANDestroyLink create(SrvContext srvCtx,
                                   MMCreateTemplate ohTemplate,
                                   ELContainerAble ohContainer,
                                   ELElement ohRequirement)
                            throws InoNetException,
                                   SrvErrorException
Create a new Destroy Link Action with template and container with requirement.

Parameters:
srvCtx - The context of the related innovator server.
ohTemplate - Template for the new element
ohContainer - Container for the new element
ohRequirement - Additional required element
Throws:
InoNetException
SrvErrorException

create

public static ANDestroyLink create(SrvContext srvCtx,
                                   MMStereotype ohStereotype,
                                   ELContainerAble ohContainer,
                                   ELElement ohRequirement)
                            throws InoNetException,
                                   SrvErrorException
Create a new Destroy Link Action with stereotype and container with requirement.

Parameters:
srvCtx - The context of the related innovator server.
ohStereotype - Stereotype for the new element
ohContainer - Container for the new element
ohRequirement - Additional required element
Throws:
InoNetException
SrvErrorException