Interface NodeIdentifier
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
AdvertisingNodeDescriptors
,LocalNodeDescriptors
,NodeDescriptors
,RemoteNodeDescriptors
@Generated("mdsal-binding-generator")
public interface NodeIdentifier
extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module bgp-linkstate
grouping node-identifier { leaf as-number { type inet:as-number; } leaf area-id { type area-identifier; } leaf domain-id { type domain-identifier; } choice c-router-identifier { case isis-node-case { container isis-node { uses isis-router-identifier; } } case isis-pseudonode-case { container isis-pseudonode { uses isis-lan-identifier; } } case ospf-node-case { container ospf-node { uses ospf-router-identifier; } } case ospf-pseudonode-case { container ospf-pseudonode { uses ospf-v3-lan-identifier; } } } }
-
Field Summary
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn areaId, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber
Return asNumber, ornull
if it is not present.Return cRouterIdentifier, ornull
if it is not present.Return domainId, ornull
if it is not present.Class<? extends NodeIdentifier>
default @NonNull AreaIdentifier
Return areaId, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber
Return asNumber, guaranteed to be non-null.default @NonNull DomainIdentifier
Return domainId, guaranteed to be non-null.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends NodeIdentifier> implementedInterface()- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getAsNumber
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber getAsNumber()Return asNumber, ornull
if it is not present.- Returns:
AsNumber
asNumber, ornull
if it is not present.
-
requireAsNumber
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber requireAsNumber()Return asNumber, guaranteed to be non-null.- Returns:
AsNumber
asNumber, guaranteed to be non-null.- Throws:
NoSuchElementException
- if asNumber is not present
-
getAreaId
AreaIdentifier getAreaId()Return areaId, ornull
if it is not present.- Returns:
AreaIdentifier
areaId, ornull
if it is not present.
-
requireAreaId
Return areaId, guaranteed to be non-null.- Returns:
AreaIdentifier
areaId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if areaId is not present
-
getDomainId
DomainIdentifier getDomainId()Return domainId, ornull
if it is not present.- Returns:
DomainIdentifier
domainId, ornull
if it is not present.
-
requireDomainId
Return domainId, guaranteed to be non-null.- Returns:
DomainIdentifier
domainId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if domainId is not present
-
getCRouterIdentifier
CRouterIdentifier getCRouterIdentifier()Return cRouterIdentifier, ornull
if it is not present.- Returns:
CRouterIdentifier
cRouterIdentifier, ornull
if it is not present.
-