Class CLAssociationHelper
java.lang.Object
de.mid.innovator.srv2api.icw2class.CLAssociationHelper
An association describes a set of tuples whose values refer to typed instances. An instance of an association is called a link.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic CLAssociationcreate(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget) Create a new Association with template from source to target element.static CLAssociationcreate(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer, List<? extends ELElement> seqSel) Create a new Association with template, container and a sequence of elements.static CLAssociationcreate(SrvContext srvCtx, MMCreateTemplate ohTemplate, List<? extends ELElement> seqSel) Create a new Association with template and a sequence of elements.static CLAssociationcreate(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget) Create a new Association with stereotype from source to target element.static CLAssociationcreate(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer, List<? extends ELElement> seqSel) Create a new Association with stereotype, container and a sequence of elements.static CLAssociationcreate(SrvContext srvCtx, MMStereotype ohStereotype, List<? extends ELElement> seqSel) Create a new Association with stereotype and a sequence of elements.
-
Method Details
-
create
public static CLAssociation create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer, List<? extends ELElement> seqSel) throws InoNetException, SrvErrorException Create a new Association with stereotype, container and a sequence of elements.- Parameters:
srvCtx- The context of the related innovator server.ohStereotype- Stereotype for the new elementohContainer- Container for the new elementseqSel- Sequence of selected elements- Throws:
InoNetExceptionSrvErrorException
-
create
public static CLAssociation create(SrvContext srvCtx, MMStereotype ohStereotype, List<? extends ELElement> seqSel) throws InoNetException, SrvErrorException Create a new Association with stereotype and a sequence of elements.- Parameters:
srvCtx- The context of the related innovator server.ohStereotype- Stereotype for the new elementseqSel- Sequence of selected elements- Throws:
InoNetExceptionSrvErrorException
-
create
public static CLAssociation create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget) throws InoNetException, SrvErrorException Create a new Association with stereotype from source to target element.- Parameters:
srvCtx- The context of the related innovator server.ohStereotype- Stereotype for the new elementohSource- Source for the new elementohTarget- Target for the new element- Throws:
InoNetExceptionSrvErrorException
-
create
public static CLAssociation create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer, List<? extends ELElement> seqSel) throws InoNetException, SrvErrorException Create a new Association with template, container and a sequence of elements.- Parameters:
srvCtx- The context of the related innovator server.ohTemplate- Template for the new elementohContainer- Container for the new elementseqSel- Sequence of selected elements- Throws:
InoNetExceptionSrvErrorException
-
create
public static CLAssociation create(SrvContext srvCtx, MMCreateTemplate ohTemplate, List<? extends ELElement> seqSel) throws InoNetException, SrvErrorException Create a new Association with template and a sequence of elements.- Parameters:
srvCtx- The context of the related innovator server.ohTemplate- Template for the new elementseqSel- Sequence of selected elements- Throws:
InoNetExceptionSrvErrorException
-
create
public static CLAssociation create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget) throws InoNetException, SrvErrorException Create a new Association with template from source to target element.- Parameters:
srvCtx- The context of the related innovator server.ohTemplate- Template for the new elementohSource- Source for the new elementohTarget- Target for the new element- Throws:
InoNetExceptionSrvErrorException
-