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, ornullif it is not present.Return uniDirectional, ornullif it is not present.default @NonNull BooleanReturn uniDirectional, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getUniDirectional
Boolean getUniDirectional()Return uniDirectional, ornullif it is not present.- Returns:
BooleanuniDirectional, ornullif it is not present.
-
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.
-