Interface LabelSubobject
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
,org.opendaylight.yangtools.binding.BindingObject
,CSubobject
,org.opendaylight.yangtools.binding.DataContainer
,org.opendaylight.yangtools.binding.Grouping
@Generated("mdsal-binding-generator")
public interface LabelSubobject
extends org.opendaylight.yangtools.binding.Grouping, 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; } } } }
-
Method Summary
Modifier and TypeMethodDescriptionReturn labelType, ornull
if it is not present.Return uniDirectional, ornull
if it is not present.default @NonNull Boolean
Return uniDirectional, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getUniDirectional
Boolean getUniDirectional()Return uniDirectional, ornull
if it is not present.- Returns:
Boolean
uniDirectional, ornull
if it is not present.
-
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.
-