Interface UnnumberedAdjacency
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<UnnumberedAdjacency>,org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>,org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.ChoiceIn<SrSubobject>,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject,Nai
@Generated("mdsal-binding-generator")
public interface UnnumberedAdjacency
extends Nai, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Augmentable<UnnumberedAdjacency>
Unnumbered Adjacency with IPv4 NodeIDs
This class represents the following YANG schema fragment defined in module odl-pcep-segment-routing
case unnumbered-adjacency {
when "../nai-type = 'unnumbered'";
leaf local-node-id {
type uint32;
}
leaf local-interface-id {
type uint32;
}
leaf remote-node-id {
type uint32;
}
leaf remote-interface-id {
type uint32;
}
}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanbindingEquals(@NonNull UnnumberedAdjacency thisObj, Object obj) Default implementation ofObject.equals(Object)contract for this interface.static intbindingHashCode(@NonNull UnnumberedAdjacency obj) Default implementation ofObject.hashCode()contract for this interface.static StringbindingToString(@NonNull UnnumberedAdjacency obj) Default implementation ofObject.toString()contract for this interface.org.opendaylight.yangtools.yang.common.Uint32Return localInterfaceId, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32Return localNodeId, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32Return remoteInterfaceId, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32Return remoteNodeId, ornullif it is not present.default Class<UnnumberedAdjacency>default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return localInterfaceId, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return localNodeId, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return remoteInterfaceId, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return remoteNodeId, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.yang.binding.Augmentable
augmentation, augmentationOrElseThrow, augmentationOrElseThrow, augmentations
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
bindingHashCode
Default implementation ofObject.hashCode()contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent hashing results across all implementations.- Parameters:
obj- Object for which to generate hashCode() result.- Returns:
- Hash code value of data modeled by this interface.
- Throws:
NullPointerException- ifobjisnull
-
bindingEquals
Default implementation ofObject.equals(Object)contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent equality results across all implementations.- Parameters:
thisObj- Object acting as the receiver of equals invocationobj- Object acting as argument to equals invocation- Returns:
- True if thisObj and obj are considered equal
- Throws:
NullPointerException- ifthisObjisnull
-
bindingToString
Default implementation ofObject.toString()contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent string representations across all implementations.- Parameters:
obj- Object for which to generate toString() result.- Returns:
Stringvalue of data modeled by this interface.- Throws:
NullPointerException- ifobjisnull
-
getLocalNodeId
org.opendaylight.yangtools.yang.common.Uint32 getLocalNodeId()Return localNodeId, ornullif it is not present.- Returns:
Uint32localNodeId, ornullif it is not present.
-
requireLocalNodeId
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireLocalNodeId()Return localNodeId, guaranteed to be non-null.- Returns:
Uint32localNodeId, guaranteed to be non-null.- Throws:
NoSuchElementException- if localNodeId is not present
-
getLocalInterfaceId
org.opendaylight.yangtools.yang.common.Uint32 getLocalInterfaceId()Return localInterfaceId, ornullif it is not present.- Returns:
Uint32localInterfaceId, ornullif it is not present.
-
requireLocalInterfaceId
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireLocalInterfaceId()Return localInterfaceId, guaranteed to be non-null.- Returns:
Uint32localInterfaceId, guaranteed to be non-null.- Throws:
NoSuchElementException- if localInterfaceId is not present
-
getRemoteNodeId
org.opendaylight.yangtools.yang.common.Uint32 getRemoteNodeId()Return remoteNodeId, ornullif it is not present.- Returns:
Uint32remoteNodeId, ornullif it is not present.
-
requireRemoteNodeId
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireRemoteNodeId()Return remoteNodeId, guaranteed to be non-null.- Returns:
Uint32remoteNodeId, guaranteed to be non-null.- Throws:
NoSuchElementException- if remoteNodeId is not present
-
getRemoteInterfaceId
org.opendaylight.yangtools.yang.common.Uint32 getRemoteInterfaceId()Return remoteInterfaceId, ornullif it is not present.- Returns:
Uint32remoteInterfaceId, ornullif it is not present.
-
requireRemoteInterfaceId
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireRemoteInterfaceId()Return remoteInterfaceId, guaranteed to be non-null.- Returns:
Uint32remoteInterfaceId, guaranteed to be non-null.- Throws:
NoSuchElementException- if remoteInterfaceId is not present
-