Interface NodeContextRef

    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
        YANG identifier of the statement represented by this class.
    • Method Detail

      • implementedInterface

        Class<? extends NodeContextRef> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getNode

        @RoutingContext(NodeContext.class)
        NodeRef getNode()
        Return node, or null if it is not present.
             
                 A reference to a particular node.
             
         
        Returns:
        NodeRef node, or null if it is not present.
      • requireNode

        default @NonNull NodeRef requireNode()
        Return node, guaranteed to be non-null.
             
                 A reference to a particular node.
             
         
        Returns:
        NodeRef node, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if node is not present