Class GCConceptConnectionHelper
java.lang.Object
de.mid.innovator.srv2api.icw2gc.GCConceptConnectionHelper
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic GCConceptConnectioncreate(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget) Create a new Concept Connection with template from source to target element.static GCConceptConnectioncreate(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget) Create a new Concept Connection with stereotype from source to target element.static GCConceptConnectioncreateDerivedConnection(SrvContext srvCtx, List<? extends ADClientAble> seqSel, MMCreateTemplate ohTmpl) Create a new derived Concept Connection with template.static List<ARG_TabCreateTemplate> getDerivedConnectionTemplates(SrvContext srvCtx, GCPathAble ohSrc, GCPathAble ohTrg) Returns a list of create templates of stereotypes which may be used to create a derivedGCConceptConnectionfrom source to targetGCPathAble.static voidmaintainDerivedConnections(SrvContext srvCtx, List<? extends ELElement> seq) Maintains all derived connections given as list.
-
Method Details
-
getDerivedConnectionTemplates
public static List<ARG_TabCreateTemplate> getDerivedConnectionTemplates(SrvContext srvCtx, GCPathAble ohSrc, GCPathAble ohTrg) throws InoNetException, SrvErrorException Returns a list of create templates of stereotypes which may be used to create a derivedGCConceptConnectionfrom source to targetGCPathAble.- Parameters:
srvCtx- The context of the related innovator server.ohSrc- source element of derived connectionohTrg- target element of derived connection- Throws:
InoNetExceptionSrvErrorException
-
createDerivedConnection
public static GCConceptConnection createDerivedConnection(SrvContext srvCtx, List<? extends ADClientAble> seqSel, MMCreateTemplate ohTmpl) throws InoNetException, SrvErrorException Create a new derived Concept Connection with template.- Parameters:
srvCtx- The context of the related innovator server.seqSel- selected source and target elementsohTmpl- template to create a new derived connection- Throws:
InoNetExceptionSrvErrorException
-
maintainDerivedConnections
public static void maintainDerivedConnections(SrvContext srvCtx, List<? extends ELElement> seq) throws InoNetException, SrvErrorException Maintains all derived connections given as list.- Parameters:
srvCtx- The context of the related innovator server.seq- List of ELElement- Throws:
InoNetExceptionSrvErrorException
-
create
public static GCConceptConnection create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget) throws InoNetException, SrvErrorException Create a new Concept Connection 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 GCConceptConnection create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget) throws InoNetException, SrvErrorException Create a new Concept Connection 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
-