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

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return areaId, or null if it is not present.
    org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber
    Return asNumber, or null if it is not present.
    Return cRouterIdentifier, or null if it is not present.
    Return domainId, or null if it is not present.
     
    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 QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

      Class<? extends NodeIdentifier> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.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, or null if it is not present.
      Returns:
      AsNumber asNumber, or null 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, or null if it is not present.
      Returns:
      AreaIdentifier areaId, or null if it is not present.
    • requireAreaId

      default @NonNull AreaIdentifier 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, or null if it is not present.
      Returns:
      DomainIdentifier domainId, or null if it is not present.
    • requireDomainId

      default @NonNull DomainIdentifier 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, or null if it is not present.
      Returns:
      CRouterIdentifier cRouterIdentifier, or null if it is not present.