public final class XmlStaticSwitchLink extends Object
XmlStaticSwitchLink provides XML binding to static inter-switch
link configuration.| Constructor and Description |
|---|
XmlStaticSwitchLink(StaticSwitchLink swlink)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Determine whether the given object is identical to this object.
|
String |
getDestination()
Return the destination switch port identifier of the link.
|
String |
getSource()
Return the source switch port identifier of the link.
|
int |
hashCode()
Return the hash code of this object.
|
boolean |
isValid()
Determine whether this instance is valid or not.
|
StaticSwitchLink |
toStaticSwitchLink()
Convert this instance into a
StaticSwitchLink instance. |
String |
toString()
Return a string representation of this instance.
|
public XmlStaticSwitchLink(StaticSwitchLink swlink)
swlink - A StaticSwitchLink instance.IllegalArgumentException - The given instance is invalid.public String getSource()
public String getDestination()
public boolean isValid()
true only if this instance is valid.public StaticSwitchLink toStaticSwitchLink()
StaticSwitchLink instance.StaticSwitchLink instance.IllegalArgumentException - This instance contains invalid configuration.public boolean equals(Object o)
public int hashCode()
Copyright © 2018 OpenDaylight. All rights reserved.