Uses of Class
org.bigraphs.framework.core.exceptions.InvalidConnectionException
Package
Description
-
Uses of InvalidConnectionException in org.bigraphs.framework.core
Modifier and TypeMethodDescriptionCreates a child node for the current node hierarchy with the given control label and connects it automatically to the given outer name.BigraphBuilder.NodeHierarchy.addChild
(String controlName, BigraphEntity.OuterName outerName) default BigraphBuilder.NodeHierarchy<S>
-
Uses of InvalidConnectionException in org.bigraphs.framework.core.alg.generators
Modifier and TypeMethodDescriptionBigridGenerator.DiscreteIons.bottomEdge()
BigridGenerator.DiscreteIons.bottomLeft()
BigridGenerator.DiscreteIons.bottomRight()
BigridGenerator.DiscreteIons.center()
BigridGenerator.generate
(int numOfRows, int numOfCols) BigridGenerator.DiscreteIons.leftEdge()
BigridGenerator.DiscreteIons.rightEdge()
BigridGenerator.DiscreteIons.topEdge()
Top edge of a bigridBigridGenerator.DiscreteIons.topLeft()
Top-left corner of a bigridBigridGenerator.DiscreteIons.topRight()
-
Uses of InvalidConnectionException in org.bigraphs.framework.core.exceptions
Modifier and TypeClassDescriptionclass
Exception that is thrown with operations on controls where the arity must be considered, e.g., connecting links to a node with no free ports. -
Uses of InvalidConnectionException in org.bigraphs.framework.core.exceptions.builder
Modifier and TypeClassDescriptionclass
When the user is trying to connect an inner name to an outer name where the inner name is already connected to an edge which connects nodes or other inner names.class
class
Exception is thrown inside a builder when the node has no free ports but a connection to a link (i.e., edge or outer name) is tried to make. -
Uses of InvalidConnectionException in org.bigraphs.framework.core.impl.pure
Modifier and TypeMethodDescriptionPureBigraphBuilder.Hierarchy.addChild
(String controlName, BigraphEntity.OuterName outerName) void
PureBigraphBuilder.addInnerNameTo
(BigraphEntity.InnerName innerName, BigraphEntity.InnerName toAttach) Connects the inner nametoAttach
toinnerName
via alink (i.e., an edge or outer name).PureBigraphBuilder.Hierarchy.addInnerNameTo
(BigraphEntity.InnerName innerName, BigraphEntity.InnerName toAttach) This method will attach the inner nametoAttach
toinnerName
while respecting a possibly existing link ofinnerName
.PureBigraphBuilder.connectInnerNames
(BigraphEntity.InnerName ecoreInnerName1, BigraphEntity.InnerName ecoreInnerName2) Convenient method ofPureBigraphBuilder.connectInnerNames(BigraphEntity.InnerName, BigraphEntity.InnerName, boolean)
which doesn't keep idle edges when inner names are already connected to a node.PureBigraphBuilder.connectInnerNames
(BigraphEntity.InnerName ecoreInnerName1, BigraphEntity.InnerName ecoreInnerName2, boolean keepIdleEdges) Connects two existing inner names by an edge.PureBigraphBuilder.Hierarchy.connectInnerNamesToNode
(BigraphEntity.InnerName... innerNames) PureBigraphBuilder.connectInnerToOuterName
(BigraphEntity innerName, BigraphEntity outerName) Connects an inner name to an outer name.void
PureBigraphBuilder.Hierarchy.connectNodesToInnerName
(BigraphEntity.InnerName innerName, Control... controls) Creates new nodes with the given controls and connects them to the inner name of the current bigraph.
Controls must not be atomic.void
PureBigraphBuilder.connectNodeToInnerName
(BigraphEntity.NodeEntity<Control> node1, BigraphEntity.InnerName innerName) Link a node with an inner name by an edgevoid
PureBigraphBuilder.Hierarchy.connectNodeToInnerName
(BigraphEntity.InnerName innerName, Control control) Creates a new node with the given control and connects them to the inner name of the current bigraph.void
PureBigraphBuilder.connectNodeToInnerNames
(BigraphEntity.NodeEntity<Control> node1, BigraphEntity.InnerName... innerNames) Link multiple inner names by an edge to one nodePureBigraphBuilder.Hierarchy.linkToInner
(String innerName) PureBigraphBuilder.Hierarchy.linkToInner
(BigraphEntity.InnerName innerName) Connect the previously created node to the given inner name.PureBigraphBuilder.Hierarchy.linkToOuter
(String outerName) PureBigraphBuilder.Hierarchy.linkToOuter
(BigraphEntity.OuterName outerName) Connect the previously created node to the given outer name.