Interface LabelSubobject
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,CSubobject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
@Generated("mdsal-binding-generator") public interface LabelSubobject extends org.opendaylight.yangtools.yang.binding.DataObject, CSubobject
This class represents the following YANG schema fragment defined in module rsvp
grouping label-subobject { uses c-subobject; leaf uni-directional { type boolean; } choice label-type { case type1-label-case { container type1-label { uses type1-label; } } case generalized-label-case { container generalized-label { uses generalized-label; } } case waveband-switching-label-case { container waveband-switching-label { uses waveband-switching-label; } } } }
-
-
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 LabelType
getLabelType()
Return labelType, ornull
if it is not present.Boolean
getUniDirectional()
Return uniDirectional, ornull
if it is not present.Class<? extends LabelSubobject>
implementedInterface()
default @NonNull Boolean
requireUniDirectional()
Return uniDirectional, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends LabelSubobject> implementedInterface()
- Specified by:
implementedInterface
in interfaceCSubobject
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getUniDirectional
Boolean getUniDirectional()
Return uniDirectional, ornull
if it is not present.- Returns:
Boolean
uniDirectional, ornull
if it is not present.
-
requireUniDirectional
default @NonNull Boolean requireUniDirectional()
Return uniDirectional, guaranteed to be non-null.- Returns:
Boolean
uniDirectional, guaranteed to be non-null.- Throws:
NoSuchElementException
- if uniDirectional is not present
-
getLabelType
LabelType getLabelType()
Return labelType, ornull
if it is not present.- Returns:
LabelType
labelType, ornull
if it is not present.
-
-