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
@Generated("mdsal-binding-generator") 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; } }
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAMEYANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description EdgeAttributesgetEdgeAttributes()Return edgeAttributes, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint64getEdgeId()Return edgeId, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint64getLocalVertexId()Return localVertexId, ornullif it is not present.StringgetName()Return name, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint64getRemoteVertexId()Return remoteVertexId, ornullif it is not present.Class<? extends Edge>implementedInterface()default @NonNull org.opendaylight.yangtools.yang.common.Uint64requireEdgeId()Return edgeId, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint64requireLocalVertexId()Return localVertexId, guaranteed to be non-null.default @NonNull StringrequireName()Return name, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint64requireRemoteVertexId()Return remoteVertexId, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends Edge> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getEdgeId
org.opendaylight.yangtools.yang.common.Uint64 getEdgeId()
Return edgeId, ornullif it is not present.- Returns:
Uint64edgeId, ornullif it is not present.
-
requireEdgeId
default @NonNull org.opendaylight.yangtools.yang.common.Uint64 requireEdgeId()
Return edgeId, guaranteed to be non-null.- Returns:
Uint64edgeId, guaranteed to be non-null.- Throws:
NoSuchElementException- if edgeId is not present
-
getLocalVertexId
org.opendaylight.yangtools.yang.common.Uint64 getLocalVertexId()
Return localVertexId, ornullif it is not present.Vertex identifier where the Edge is attached- Returns:
Uint64localVertexId, ornullif it is not present.
-
requireLocalVertexId
default @NonNull org.opendaylight.yangtools.yang.common.Uint64 requireLocalVertexId()
Return localVertexId, guaranteed to be non-null.Vertex identifier where the Edge is attached- Returns:
Uint64localVertexId, guaranteed to be non-null.- Throws:
NoSuchElementException- if localVertexId is not present
-
getRemoteVertexId
org.opendaylight.yangtools.yang.common.Uint64 getRemoteVertexId()
Return remoteVertexId, ornullif it is not present.Vertex identifier where the Edge is going to- Returns:
Uint64remoteVertexId, ornullif it is not present.
-
requireRemoteVertexId
default @NonNull org.opendaylight.yangtools.yang.common.Uint64 requireRemoteVertexId()
Return remoteVertexId, guaranteed to be non-null.Vertex identifier where the Edge is going to- Returns:
Uint64remoteVertexId, guaranteed to be non-null.- Throws:
NoSuchElementException- if remoteVertexId is not present
-
getName
String getName()
Return name, ornullif it is not present.Edge name- Returns:
Stringname, ornullif it is not present.
-
requireName
default @NonNull String requireName()
Return name, guaranteed to be non-null.Edge name- Returns:
Stringname, guaranteed to be non-null.- Throws:
NoSuchElementException- if name is not present
-
getEdgeAttributes
EdgeAttributes getEdgeAttributes()
Return edgeAttributes, ornullif it is not present.All attributes associated to the Edge- Returns:
EdgeAttributesedgeAttributes, ornullif it is not present.
-
-