Interface Edge
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
Edge
public interface Edge extends org.opendaylight.yangtools.yang.binding.DataObject
Unidirectional Edge (link) representation for the network topologyThis class represents the following YANG schema fragment defined in module graph
grouping edge { leaf edge-id { type uint64; } leaf local-vertex-id { type uint64; } leaf remote-vertex-id { type uint64; } leaf name { type string; } container edge-attributes { uses edge-attributes; } }
The schema path to identify an instance is graph/edge
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EdgeAttributes
getEdgeAttributes()
All attributes associated to the Edgeorg.opendaylight.yangtools.yang.common.Uint64
getEdgeId()
org.opendaylight.yangtools.yang.common.Uint64
getLocalVertexId()
Vertex identifier where the Edge is attachedString
getName()
Edge nameorg.opendaylight.yangtools.yang.common.Uint64
getRemoteVertexId()
Vertex identifier where the Edge is going toClass<? extends Edge>
implementedInterface()
-
-
-
Method Detail
-
implementedInterface
Class<? extends Edge> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getEdgeId
org.opendaylight.yangtools.yang.common.Uint64 getEdgeId()
- Returns:
org.opendaylight.yangtools.yang.common.Uint64
edgeId
, ornull
if not present
-
getLocalVertexId
org.opendaylight.yangtools.yang.common.Uint64 getLocalVertexId()
Vertex identifier where the Edge is attached- Returns:
org.opendaylight.yangtools.yang.common.Uint64
localVertexId
, ornull
if not present
-
getRemoteVertexId
org.opendaylight.yangtools.yang.common.Uint64 getRemoteVertexId()
Vertex identifier where the Edge is going to- Returns:
org.opendaylight.yangtools.yang.common.Uint64
remoteVertexId
, ornull
if not present
-
getName
String getName()
Edge name- Returns:
java.lang.String
name
, ornull
if not present
-
getEdgeAttributes
EdgeAttributes getEdgeAttributes()
All attributes associated to the Edge- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.graph.rev191125.edge.EdgeAttributes
edgeAttributes
, ornull
if not present
-
-