| Package | Description |
|---|---|
| com.agenarisk.api.model | |
| com.agenarisk.api.model.interfaces |
| Modifier and Type | Class and Description |
|---|---|
class |
CrossNetworkLink
CrossNetworkLink represents a link between Nodes in different Networks.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
Link |
Model.createLink(String sourceNetworkId,
String sourceNodeId,
String targetNetworkId,
String targetNodeId,
String stateLabel)
Creates a CrossNetworkLink of type CrossNetworkLink.Type.State that passes the given state from source Node to target Node.
|
Link |
Node.linkFrom(Node parent)
Creates a simple Link from the given Node to this Node in the same Network.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
List<Link> |
Network.getLinksIn()
Returns a copy of the incoming Links list.
|
List<Link> |
Node.getLinksIn()
Returns a copy of the list of incoming Links.
|
List<Link> |
Network.getLinksOut()
Returns a copy of the outgoing Links list.
|
List<Link> |
Node.getLinksOut()
Returns a copy of the list of outgoing Links.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
Node.addLink(Link link)
Deprecated.
For internal use only
|
int |
Link.compareTo(Link o)
Compares this Link object to another based on its underlying logic network and node IDs.
|
protected boolean |
Node.removeLink(Link link)
Deprecated.
For internal use only
|
| Modifier and Type | Method and Description |
|---|---|
List<Link> |
Networked.getLinksIn()
Returns a copy of the list of incoming Links.
|
List<Link> |
Networked.getLinksOut()
Returns a copy of the list of outgoing Links.
|
Copyright © 2020. All rights reserved.