Interface LabelSubobject
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,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
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn labelType, ornull
if it is not present.Return uniDirectional, ornull
if it is not present.Class<? extends LabelSubobject>
default @NonNull Boolean
Return uniDirectional, 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 LabelSubobject> implementedInterface()- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceCSubobject
- 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
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.
-