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; } } } }The schema path to identify an instance is rsvplabel-subobject
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description LabelTypegetLabelType()Return labelType, ornullif it is not present.BooleangetUniDirectional()Return uniDirectional, ornullif it is not present.Class<? extends LabelSubobject>implementedInterface()default @NonNull BooleanrequireUniDirectional()Return uniDirectional, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends LabelSubobject> implementedInterface()
- Specified by:
implementedInterfacein interfaceCSubobject- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getUniDirectional
Boolean getUniDirectional()
Return uniDirectional, ornullif it is not present.- Returns:
BooleanuniDirectional, ornullif it is not present.
-
requireUniDirectional
default @NonNull Boolean requireUniDirectional()
Return uniDirectional, guaranteed to be non-null.- Returns:
BooleanuniDirectional, guaranteed to be non-null.- Throws:
NoSuchElementException- if uniDirectional is not present
-
getLabelType
LabelType getLabelType()
Return labelType, ornullif it is not present.- Returns:
LabelTypelabelType, ornullif it is not present.
-
-