Class CLConnectorHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2class.CLConnectorHelper
-
public abstract class CLConnectorHelper extends java.lang.Object
Specifies a link that enables communication between two or more instances. This link may be an instance of an association or it may represent the possibility of the instances being able to communicate because their identities are known because they are passed as parameters, held in variables or slots, or because the communicating instances are the same instance. The link may be realized by something as simple as a pointer or by something as complex as a network connection. In contrast to associations, which specify links between any instance of the associated classifiers, connectors specify links between instances playing the connected parts only.- See Also:
CLConnector
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CLConnector
create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget)
Create a new Connector with template from source to target element.static CLConnector
create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget)
Create a new Connector with stereotype from source to target element.
-
-
-
Method Detail
-
create
public static CLConnector create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget) throws InoNetException, SrvErrorException
Create a new Connector 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:
InoNetException
SrvErrorException
-
create
public static CLConnector create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget) throws InoNetException, SrvErrorException
Create a new Connector 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:
InoNetException
SrvErrorException
-
-