Class CLAssocClassHelper
java.lang.Object
de.mid.innovator.srv2api.icw2class.CLAssocClassHelper
A model element that has both association and class properties. An association class can be seen as an association that also has class properties or as a class that also has association properties. It not only connects a set of classifiers but also defines a set of features that belong to the relationship itself and not to any of the classifiers.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic CLAssocClasscreate(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget) Create a new Association Class with template from source to target element.static CLAssocClasscreate(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer, List<? extends ELElement> seqSel) Create a new Association Class with template, container and a sequence of elements.static CLAssocClasscreate(SrvContext srvCtx, MMCreateTemplate ohTemplate, List<? extends ELElement> seqSel) Create a new Association Class with template and a sequence of elements.static CLAssocClasscreate(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget) Create a new Association Class with stereotype from source to target element.static CLAssocClasscreate(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer, List<? extends ELElement> seqSel) Create a new Association Class with stereotype, container and a sequence of elements.static CLAssocClasscreate(SrvContext srvCtx, MMStereotype ohStereotype, List<? extends ELElement> seqSel) Create a new Association Class with stereotype and a sequence of elements.
-
Method Details
-
create
public static CLAssocClass create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer, List<? extends ELElement> seqSel) throws InoNetException, SrvErrorException Create a new Association Class 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 CLAssocClass create(SrvContext srvCtx, MMStereotype ohStereotype, List<? extends ELElement> seqSel) throws InoNetException, SrvErrorException Create a new Association Class 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 CLAssocClass create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget) throws InoNetException, SrvErrorException Create a new Association Class 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 CLAssocClass create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer, List<? extends ELElement> seqSel) throws InoNetException, SrvErrorException Create a new Association Class 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 CLAssocClass create(SrvContext srvCtx, MMCreateTemplate ohTemplate, List<? extends ELElement> seqSel) throws InoNetException, SrvErrorException Create a new Association Class 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 CLAssocClass create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget) throws InoNetException, SrvErrorException Create a new Association Class 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
-