public abstract class UiLink extends UiElement
Modifier and Type | Field and Description |
---|---|
protected UiLinkId |
id |
protected UiTopology |
topology |
Constructor and Description |
---|
UiLink(UiTopology topology,
UiLinkId id)
Creates a UI link.
|
Modifier and Type | Method and Description |
---|---|
abstract String |
endPointA()
Returns the identifier of end-point A in string form.
|
abstract String |
endPointB()
Returns the identifier of end-point B in string form.
|
String |
endPortA()
Returns the port number (as a string) for end-point A, if applicable.
|
String |
endPortB()
Returns the port number (as a string) for end-point B, if applicable.
|
UiLinkId |
id()
Returns the canonicalized link identifier for this link.
|
String |
idAsString()
Returns a string representation of the element identifier.
|
String |
toString() |
String |
type()
Returns the implementing class name as the type of link.
|
protected final UiTopology topology
protected final UiLinkId id
public UiLink(UiTopology topology, UiLinkId id)
topology
- parent topologyid
- canonicalized link identifierpublic UiLinkId id()
public String idAsString()
UiElement
idAsString
in class UiElement
public String type()
public abstract String endPointA()
public abstract String endPointB()
public String endPortA()
public String endPortB()