Interface TopologyRef
- 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
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.TopologyIdReturn pcepTopologyReference, ornullif it is not present.Class<? extends TopologyRef>default @NonNull org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.TopologyIdReturn pcepTopologyReference, 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 TopologyRef> 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
-
getPcepTopologyReference
org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.TopologyId getPcepTopologyReference()Return pcepTopologyReference, ornullif it is not present.An absolute reference to a topology instance.- Returns:
TopologyIdpcepTopologyReference, ornullif 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:
TopologyIdpcepTopologyReference, guaranteed to be non-null.- Throws:
NoSuchElementException- if pcepTopologyReference is not present
-