Package de.mid.innovator.srv2api.icw2er
Class ERRelationshipHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2er.ERRelationshipHelper
-
public abstract class ERRelationshipHelper extends java.lang.Object
AERRelationship
connects two entities viaERRole
roles. The meaning of an relationships strongly depends on the cardinality of it roles.- See Also:
ERRelationship
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ERRelationship
create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget)
Create a new Entity Relationship with template from source to target element.static ERRelationship
create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer, java.util.List<? extends ELElement> seqSel)
Create a new Entity Relationship with template, container and a sequence of elements.static ERRelationship
create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget)
Create a new Entity Relationship with stereotype from source to target element.static ERRelationship
create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer, java.util.List<? extends ELElement> seqSel)
Create a new Entity Relationship with stereotype, container and a sequence of elements.static ERRelationship
createAndMaintain(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget)
Create a new Entity Relationship with template from source to target element.static ERRelationship
createAndMaintain(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer, java.util.List<? extends ELElement> seqSel)
Create a new Entity Relationship with template, container and a sequence of elements.static ERRelationship
createAndMaintain(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget)
Create a new Entity Relationship with stereotype from source to target element.static ERRelationship
createAndMaintain(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer, java.util.List<? extends ELElement> seqSel)
Create a new Entity Relationship with stereotype, container and a sequence of elements.
-
-
-
Method Detail
-
create
public static ERRelationship create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer, java.util.List<? extends ELElement> seqSel) throws InoNetException, SrvErrorException
Create a new Entity Relationship 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 ERRelationship create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget) throws InoNetException, SrvErrorException
Create a new Entity Relationship 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 ERRelationship create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer, java.util.List<? extends ELElement> seqSel) throws InoNetException, SrvErrorException
Create a new Entity Relationship 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 ERRelationship create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget) throws InoNetException, SrvErrorException
Create a new Entity Relationship 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
-
createAndMaintain
public static ERRelationship createAndMaintain(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer, java.util.List<? extends ELElement> seqSel) throws InoNetException, SrvErrorException
Create a new Entity Relationship with stereotype, container and a sequence of elements. The created element is maintained.- 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
-
createAndMaintain
public static ERRelationship createAndMaintain(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget) throws InoNetException, SrvErrorException
Create a new Entity Relationship with stereotype from source to target element. The created element is maintained.- 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
-
createAndMaintain
public static ERRelationship createAndMaintain(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer, java.util.List<? extends ELElement> seqSel) throws InoNetException, SrvErrorException
Create a new Entity Relationship with template, container and a sequence of elements. The created element is maintained.- 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
-
createAndMaintain
public static ERRelationship createAndMaintain(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget) throws InoNetException, SrvErrorException
Create a new Entity Relationship with template from source to target element. The created element is maintained.- 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
-
-