| Package | Description |
|---|---|
| com.agenarisk.api.model |
| Modifier and Type | Method and Description |
|---|---|
protected static CrossNetworkLink |
CrossNetworkLink.createCrossNetworkLink(Node fromNode,
Node toNode,
CrossNetworkLink.Type type,
String stateToPass)
Factory method to create a CrossNetworkLink instance.
|
protected static Link |
Link.createLink(Node fromNode,
Node toNode)
Creates a Link object without manipulating the nodes themselves.
|
Link |
Model.createLink(Node source,
Node target,
CrossNetworkLink.Type type)
Creates a Link between two nodes in same or different Networks.
|
Link |
Model.createLink(Node source,
Node target,
State state)
Creates a CrossNetworkLink of type CrossNetworkLink.Type.State that passes the given state from source Node to target Node.
|
Link |
Model.createLink(String sourceNetworkId,
String sourceNodeId,
String targetNetworkId,
String targetNodeId,
CrossNetworkLink.Type type)
Creates a CrossNetworkLink of given Type.
|
protected void |
CrossNetworkLink.createLogicLink()
This will create a link in the underlying logic.
|
protected void |
Link.createLogicLink()
This will create a link in the underlying logic.
|
Link |
Node.linkFrom(Node parent)
Creates a simple Link from the given Node to this Node in the same Network.
|
static void |
Node.linkNodes(Model model,
org.json.JSONArray jsonLinks)
Creates links from the given JSON.
|
static Link |
Node.linkNodes(Node fromNode,
Node toNode)
Creates a simple Link between two nodes in the same Network.
|
static Link |
Node.linkNodes(Node fromNode,
Node toNode,
CrossNetworkLink.Type type)
Creates a Link between two nodes in same or different Networks.
|
static Link |
Node.linkNodes(Node fromNode,
Node toNode,
CrossNetworkLink.Type type,
String stateToPass)
Creates a Link between two nodes in same or different Networks.
|
Link |
Node.linkTo(Node child)
Creates a simple Link from this Node to given Node in the same Network.
|
Copyright © 2021. All rights reserved.