Interface SrlgSubobject
- 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
- All Known Subinterfaces:
Srlg
@Generated("mdsal-binding-generator")
public interface SrlgSubobject
extends org.opendaylight.yangtools.yang.binding.DataObject, CSubobject
This class represents the following YANG schema fragment defined in module rsvp
grouping srlg-subobject { uses c-subobject; leaf srlg-id { type srlg-id; } }
-
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 srlgId, ornull
if it is not present.Class<? extends SrlgSubobject>
default @NonNull SrlgId
Return srlgId, 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 SrlgSubobject> 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
-
getSrlgId
SrlgId getSrlgId()Return srlgId, ornull
if it is not present.- Returns:
SrlgId
srlgId, ornull
if it is not present.
-
requireSrlgId
Return srlgId, guaranteed to be non-null.- Returns:
SrlgId
srlgId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if srlgId is not present
-