Interface PathKeySubobject
- 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
@Generated("mdsal-binding-generator")
public interface PathKeySubobject
extends org.opendaylight.yangtools.yang.binding.DataObject, CSubobject
This class represents the following YANG schema fragment defined in module rsvp
grouping path-key-subobject { uses c-subobject; leaf pce-id { type pce-id; } leaf path-key { type path-key; } }
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn pathKey, ornull
if it is not present.getPceId()
Return pceId, ornull
if it is not present.Class<? extends PathKeySubobject>
default @NonNull PathKey
Return pathKey, guaranteed to be non-null.default @NonNull PceId
Return pceId, 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 PathKeySubobject> 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
-
getPceId
PceId getPceId()Return pceId, ornull
if it is not present.- Returns:
PceId
pceId, ornull
if it is not present.
-
requirePceId
Return pceId, guaranteed to be non-null.- Returns:
PceId
pceId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if pceId is not present
-
getPathKey
PathKey getPathKey()Return pathKey, ornull
if it is not present.- Returns:
PathKey
pathKey, ornull
if it is not present.
-
requirePathKey
Return pathKey, guaranteed to be non-null.- Returns:
PathKey
pathKey, guaranteed to be non-null.- Throws:
NoSuchElementException
- if pathKey is not present
-