Interface Edge
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
,org.opendaylight.yangtools.binding.BindingObject
,org.opendaylight.yangtools.binding.DataContainer
,org.opendaylight.yangtools.binding.Grouping
- All Known Subinterfaces:
Edge
@Generated("mdsal-binding-generator")
public interface Edge
extends org.opendaylight.yangtools.binding.Grouping
Unidirectional Edge (link) representation for the network topology
This 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; } }
-
Method Summary
Modifier and TypeMethodDescriptionReturn edgeAttributes, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint64
Return edgeId, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint64
Return localVertexId, ornull
if it is not present.getName()
Return name, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint64
Return remoteVertexId, ornull
if it is not present.@NonNull EdgeAttributes
Return edgeAttributes, or an empty instance if it is not present.default @NonNull org.opendaylight.yangtools.yang.common.Uint64
Return edgeId, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint64
Return localVertexId, guaranteed to be non-null.default @NonNull String
Return name, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint64
Return remoteVertexId, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getEdgeId
org.opendaylight.yangtools.yang.common.Uint64 getEdgeId()Return edgeId, ornull
if it is not present.- Returns:
Uint64
edgeId, ornull
if it is not present.
-
requireEdgeId
default @NonNull org.opendaylight.yangtools.yang.common.Uint64 requireEdgeId()Return edgeId, guaranteed to be non-null.- Returns:
Uint64
edgeId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if edgeId is not present
-
getLocalVertexId
org.opendaylight.yangtools.yang.common.Uint64 getLocalVertexId()Return localVertexId, ornull
if it is not present.Vertex identifier where the Edge is attached
- Returns:
Uint64
localVertexId, ornull
if 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:
Uint64
localVertexId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if localVertexId is not present
-
getRemoteVertexId
org.opendaylight.yangtools.yang.common.Uint64 getRemoteVertexId()Return remoteVertexId, ornull
if it is not present.Vertex identifier where the Edge is going to
- Returns:
Uint64
remoteVertexId, ornull
if 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:
Uint64
remoteVertexId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if remoteVertexId is not present
-
getName
String getName()Return name, ornull
if it is not present.Edge name
- Returns:
String
name, ornull
if it is not present.
-
requireName
Return name, guaranteed to be non-null.Edge name
- Returns:
String
name, guaranteed to be non-null.- Throws:
NoSuchElementException
- if name is not present
-
getEdgeAttributes
EdgeAttributes getEdgeAttributes()Return edgeAttributes, ornull
if it is not present.All attributes associated to the Edge
- Returns:
EdgeAttributes
edgeAttributes, ornull
if it is not present.
-
nonnullEdgeAttributes
@NonNull EdgeAttributes nonnullEdgeAttributes()Return edgeAttributes, or an empty instance if it is not present.- Returns:
EdgeAttributes
edgeAttributes, or an empty instance if it is not present.
-