Interface RecordRouteSubobjects
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
ReportedHops1
,SecondaryRecordRouteSubobjects
,Subobject
,Subobject
,SubobjectContainer
,SubobjectContainer
@Generated("mdsal-binding-generator")
public interface RecordRouteSubobjects
extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module rsvp
grouping record-route-subobjects { leaf protection-available { type boolean; default false; } leaf protection-in-use { type boolean; default false; } choice subobject-type { case ip-prefix-case { container ip-prefix { uses ip-prefix-subobject; } } case label-case { container label { uses label-subobject; leaf global { type boolean; default false; } } } case unnumbered-case { container unnumbered { uses unnumbered-subobject; } } case path-key-case { container path-key { uses path-key-subobject; } } } }
-
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 protectionAvailable, ornull
if it is not present.Return protectionInUse, ornull
if it is not present.Return subobjectType, ornull
if it is not present.Class<? extends RecordRouteSubobjects>
default @NonNull Boolean
Return protectionAvailable, guaranteed to be non-null.default @NonNull Boolean
Return protectionInUse, 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 RecordRouteSubobjects> implementedInterface()- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getProtectionAvailable
Boolean getProtectionAvailable()Return protectionAvailable, ornull
if it is not present.- Returns:
Boolean
protectionAvailable, ornull
if it is not present.
-
requireProtectionAvailable
Return protectionAvailable, guaranteed to be non-null.- Returns:
Boolean
protectionAvailable, guaranteed to be non-null.- Throws:
NoSuchElementException
- if protectionAvailable is not present
-
getProtectionInUse
Boolean getProtectionInUse()Return protectionInUse, ornull
if it is not present.- Returns:
Boolean
protectionInUse, ornull
if it is not present.
-
requireProtectionInUse
Return protectionInUse, guaranteed to be non-null.- Returns:
Boolean
protectionInUse, guaranteed to be non-null.- Throws:
NoSuchElementException
- if protectionInUse is not present
-
getSubobjectType
SubobjectType getSubobjectType()Return subobjectType, ornull
if it is not present.- Returns:
SubobjectType
subobjectType, ornull
if it is not present.
-