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 java.lang.String |
endPointA()
Returns the identifier of end-point A in string form.
|
abstract java.lang.String |
endPointB()
Returns the identifier of end-point B in string form.
|
java.lang.String |
endPortA()
Returns the port number (as a string) for end-point A, if applicable.
|
java.lang.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.
|
java.lang.String |
idAsString()
Returns a string representation of the element identifier.
|
java.lang.String |
toString() |
java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
public UiLinkId id()
public java.lang.String idAsString()
UiElement
idAsString
in class UiElement
public java.lang.String type()
public abstract java.lang.String endPointA()
public abstract java.lang.String endPointB()
public java.lang.String endPortA()
public java.lang.String endPortB()