Class CLDiaSocketBallNodeHelper
java.lang.Object
de.mid.innovator.srv2api.icw2cldia.CLDiaSocketBallNodeHelper
This is a utility class for CLDiaSocketBallNode that provides static methods for creation or other purposes.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<CLDiaRelshipLinkEdge> convertSocketBallNotation(SrvContext srvCtx, List<? extends ELElement> seq) Converts the notation of all specified edges between socket ball edge and relationship edge.static CLDiaSocketBallNodemergeSocketBall(SrvContext srvCtx, List<? extends ELElement> seq) Merges a list of socket ball nodes together into a multiple socket ball node.static voidsplitSocketBall(SrvContext srvCtx, List<? extends ELElement> seq) Splits a multiple socket ball node into two socket ball nodes.
-
Method Details
-
convertSocketBallNotation
public static List<CLDiaRelshipLinkEdge> convertSocketBallNotation(SrvContext srvCtx, List<? extends ELElement> seq) throws InoNetException, SrvErrorException Converts the notation of all specified edges between socket ball edge and relationship edge. The return list contains the converted edges.- Parameters:
srvCtx- The context of the related innovator server.seq- List of ELElement- Throws:
InoNetExceptionSrvErrorException
-
mergeSocketBall
public static CLDiaSocketBallNode mergeSocketBall(SrvContext srvCtx, List<? extends ELElement> seq) throws InoNetException, SrvErrorException Merges a list of socket ball nodes together into a multiple socket ball node. All nodes represent the same interface. The interface may be provided by no more than one edge but required by many edges.- Parameters:
srvCtx- The context of the related innovator server.seq- List of ELElement- Throws:
InoNetExceptionSrvErrorException
-
splitSocketBall
public static void splitSocketBall(SrvContext srvCtx, List<? extends ELElement> seq) throws InoNetException, SrvErrorException Splits a multiple socket ball node into two socket ball nodes.- Parameters:
srvCtx- The context of the related innovator server.seq- List of ELElement- Throws:
InoNetExceptionSrvErrorException
-