Class CLDiaSocketBallNodeHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2cldia.CLDiaSocketBallNodeHelper
-
public abstract class CLDiaSocketBallNodeHelper extends java.lang.Object
This is a utility class for CLDiaSocketBallNode that provides static methods for creation or other purposes.- See Also:
CLDiaSocketBallNode
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<CLDiaRelshipLinkEdge>
convertSocketBallNotation(SrvContext srvCtx, java.util.List<? extends ELElement> seq)
Converts the notation of all specified edges between socket ball edge and relationship edge.static CLDiaSocketBallNode
mergeSocketBall(SrvContext srvCtx, java.util.List<? extends ELElement> seq)
Merges a list of socket ball nodes together into a multiple socket ball node.static void
splitSocketBall(SrvContext srvCtx, java.util.List<? extends ELElement> seq)
Splits a multiple socket ball node into two socket ball nodes.
-
-
-
Method Detail
-
convertSocketBallNotation
public static java.util.List<CLDiaRelshipLinkEdge> convertSocketBallNotation(SrvContext srvCtx, java.util.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:
InoNetException
SrvErrorException
-
mergeSocketBall
public static CLDiaSocketBallNode mergeSocketBall(SrvContext srvCtx, java.util.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:
InoNetException
SrvErrorException
-
splitSocketBall
public static void splitSocketBall(SrvContext srvCtx, java.util.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:
InoNetException
SrvErrorException
-
-