Class CLAssocClassHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2class.CLAssocClassHelper
-
public abstract class CLAssocClassHelper extends java.lang.Object
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:
CLAssocClass
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CLAssocClass
create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget)
Create a new Association Class with template from source to target element.static CLAssocClass
create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer, java.util.List<? extends ELElement> seqSel)
Create a new Association Class with template, container and a sequence of elements.static CLAssocClass
create(SrvContext srvCtx, MMCreateTemplate ohTemplate, java.util.List<? extends ELElement> seqSel)
Create a new Association Class with template and a sequence of elements.static CLAssocClass
create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget)
Create a new Association Class with stereotype from source to target element.static CLAssocClass
create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer, java.util.List<? extends ELElement> seqSel)
Create a new Association Class with stereotype, container and a sequence of elements.static CLAssocClass
create(SrvContext srvCtx, MMStereotype ohStereotype, java.util.List<? extends ELElement> seqSel)
Create a new Association Class with stereotype and a sequence of elements.
-
-
-
Method Detail
-
create
public static CLAssocClass create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer, java.util.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:
InoNetException
SrvErrorException
-
create
public static CLAssocClass create(SrvContext srvCtx, MMStereotype ohStereotype, java.util.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:
InoNetException
SrvErrorException
-
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:
InoNetException
SrvErrorException
-
create
public static CLAssocClass create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer, java.util.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:
InoNetException
SrvErrorException
-
create
public static CLAssocClass create(SrvContext srvCtx, MMCreateTemplate ohTemplate, java.util.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:
InoNetException
SrvErrorException
-
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:
InoNetException
SrvErrorException
-
-