Class DBDiaTableNodeHelper
java.lang.Object
de.mid.innovator.srv2api.icw2dbdia.DBDiaTableNodeHelper
This is a utility class for DBDiaTableNode that provides static methods for creation or other purposes.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic DBDiaTableNodemergeSiblingTables(SrvContext srvCtx, List<? extends ELElement> seq) Merges two or more selected child database table nodes.static DBDiaTableNodesplitV(SrvContext srvCtx, List<? extends ELElement> seq) Splits a table by moving the selectedCLDiaCompartmentContentNodes ofDBTableColumns to a newDBDiaTableNode.
-
Method Details
-
mergeSiblingTables
public static DBDiaTableNode mergeSiblingTables(SrvContext srvCtx, List<? extends ELElement> seq) throws InoNetException, SrvErrorException Merges two or more selected child database table nodes. These tables must have foreign keys, which must be identifying and maximum 1 (Z) and must reference the same primary key.- Parameters:
srvCtx- The context of the related innovator server.seq- List of ELElement- Throws:
InoNetExceptionSrvErrorException
-
splitV
public static DBDiaTableNode splitV(SrvContext srvCtx, List<? extends ELElement> seq) throws InoNetException, SrvErrorException Splits a table by moving the selectedCLDiaCompartmentContentNodes ofDBTableColumns to a newDBDiaTableNode.- Parameters:
srvCtx- The context of the related innovator server.seq- List of ELElement- Throws:
InoNetExceptionSrvErrorException
-