Interface PathKeySubobject
-
- All Superinterfaces:
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; } }
The schema path to identify an instance is rsvppath-key-subobject
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PathKey
getPathKey()
Return pathKey, ornull
if it is not present.PceId
getPceId()
Return pceId, ornull
if it is not present.Class<? extends PathKeySubobject>
implementedInterface()
default @NonNull PathKey
requirePathKey()
Return pathKey, guaranteed to be non-null.default @NonNull PceId
requirePceId()
Return pceId, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends PathKeySubobject> implementedInterface()
- Specified by:
implementedInterface
in interfaceCSubobject
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- 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
default @NonNull PceId 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
default @NonNull PathKey requirePathKey()
Return pathKey, guaranteed to be non-null.- Returns:
PathKey
pathKey, guaranteed to be non-null.- Throws:
NoSuchElementException
- if pathKey is not present
-
-