| Constructor and Description |
|---|
BiLink(LinkKey key,
Link link)
Constructs a bi-link for the given key and initial link.
|
| Modifier and Type | Method and Description |
|---|---|
abstract LinkHighlight |
highlight(Enum<?> type)
Returns the link highlighting to use, based on this bi-link's current
state.
|
LinkKey |
key()
Returns the key for this bi-link.
|
String |
linkId()
Returns the link identifier in the form expected on the Topology View
in the web client.
|
Link |
one()
Returns the first link in this bi-link.
|
void |
setOther(Link link)
Sets the second link for this bi-link.
|
Link |
two()
Returns the second link in this bi-link.
|
public BiLink(LinkKey key, Link link)
TopoUtils.canonicalLinkKey(Link)
to generate the key.key - canonical key for this bi-linklink - first linkpublic void setOther(Link link)
link - second linkpublic String linkId()
public LinkKey key()
public Link one()
public Link two()
public abstract LinkHighlight highlight(Enum<?> type)
type - optional highlighting type parameter