Interface TopologyTypeAttributes
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
TopologyType
@Generated("mdsal-binding-generator") public interface TopologyTypeAttributes extends org.opendaylight.yangtools.yang.binding.DataObject
Attributed to indicate the topology typeThis class represents the following YANG schema fragment defined in module overlay
grouping topology-type-attributes { leaf topology-type { type identityref { base topology-type-base; } } }
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
YANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Class<? extends TopologyTypeBase>
getTopologyType()
Return topologyType, ornull
if it is not present.Class<? extends TopologyTypeAttributes>
implementedInterface()
default @NonNull Class<? extends TopologyTypeBase>
requireTopologyType()
Return topologyType, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends TopologyTypeAttributes> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getTopologyType
Class<? extends TopologyTypeBase> getTopologyType()
Return topologyType, ornull
if it is not present.- Returns:
Class<? extends TopologyTypeBase>
topologyType, ornull
if it is not present.
-
requireTopologyType
default @NonNull Class<? extends TopologyTypeBase> requireTopologyType()
Return topologyType, guaranteed to be non-null.- Returns:
Class<? extends TopologyTypeBase>
topologyType, guaranteed to be non-null.- Throws:
NoSuchElementException
- if topologyType is not present
-
-