Interface ProtectionSubobject
- 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:
BasicProtection
,BasicProtection
,BasicProtectionObject
,DynamicControlProtection
,DynamicControlProtection
,DynamicControlProtectionObject
@Generated("mdsal-binding-generator")
public interface ProtectionSubobject
extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module rsvp
grouping protection-subobject { container protection-subobject { leaf secondary { type boolean; default false; } leaf protecting { type boolean; default false; } leaf notification { type boolean; default false; } leaf operational { type boolean; default false; } leaf lsp-flag { type lsp-flag; } leaf link-flags { type link-flags; } leaf in-place { type boolean; default false; } leaf required { type boolean; default false; } leaf seg-flag { type lsp-flag; } } }
-
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 protectionSubobject, ornull
if it is not present.Class<? extends ProtectionSubobject>
@NonNull ProtectionSubobject
Return protectionSubobject, or an empty instance if it is not present.
-
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 ProtectionSubobject> 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
-
getProtectionSubobject
ProtectionSubobject getProtectionSubobject()Return protectionSubobject, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev150820.protection.subobject.ProtectionSubobject
protectionSubobject, ornull
if it is not present.
-
nonnullProtectionSubobject
@NonNull ProtectionSubobject nonnullProtectionSubobject()Return protectionSubobject, or an empty instance if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev150820.protection.subobject.ProtectionSubobject
protectionSubobject, or an empty instance if it is not present.
-