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:
PcepTunnelTopologyConfig

@Generated("mdsal-binding-generator") public interface TopologyRef extends org.opendaylight.yangtools.yang.binding.DataObject

This class represents the following YANG schema fragment defined in module topology-tunnel-pcep-config

 grouping topology-ref {
   leaf pcep-topology-reference {
     type leafref {
       path /nt:network-topology/nt:topology/nt:topology-id;
     }
   }
 }
 
  • 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
    org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.TopologyId
    Return pcepTopologyReference, or null if it is not present.
    Class<? extends TopologyRef>
     
    default @NonNull org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.TopologyId
    Return pcepTopologyReference, 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 TopologyRef> 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
    • getPcepTopologyReference

      org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.TopologyId getPcepTopologyReference()
      Return pcepTopologyReference, or null if it is not present.
           
               An absolute reference to a topology instance.
           
       
      Returns:
      TopologyId pcepTopologyReference, or null if it is not present.
    • requirePcepTopologyReference

      default @NonNull org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.TopologyId requirePcepTopologyReference()
      Return pcepTopologyReference, guaranteed to be non-null.
           
               An absolute reference to a topology instance.
           
       
      Returns:
      TopologyId pcepTopologyReference, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if pcepTopologyReference is not present