Interface UnnumberedSubobject
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject,CSubobject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
Unnumbered,Unnumbered
@Generated("mdsal-binding-generator") public interface UnnumberedSubobject extends org.opendaylight.yangtools.yang.binding.DataObject, CSubobject
This class represents the following YANG schema fragment defined in module rsvp
grouping unnumbered-subobject { uses c-subobject; leaf router-id { type uint32; } leaf interface-id { type uint32; } }
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAMEYANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description org.opendaylight.yangtools.yang.common.Uint32getInterfaceId()Return interfaceId, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32getRouterId()Return routerId, ornullif it is not present.Class<? extends UnnumberedSubobject>implementedInterface()default @NonNull org.opendaylight.yangtools.yang.common.Uint32requireInterfaceId()Return interfaceId, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32requireRouterId()Return routerId, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends UnnumberedSubobject> implementedInterface()
- Specified by:
implementedInterfacein interfaceCSubobject- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getRouterId
org.opendaylight.yangtools.yang.common.Uint32 getRouterId()
Return routerId, ornullif it is not present.- Returns:
Uint32routerId, ornullif it is not present.
-
requireRouterId
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireRouterId()
Return routerId, guaranteed to be non-null.- Returns:
Uint32routerId, guaranteed to be non-null.- Throws:
NoSuchElementException- if routerId is not present
-
getInterfaceId
org.opendaylight.yangtools.yang.common.Uint32 getInterfaceId()
Return interfaceId, ornullif it is not present.- Returns:
Uint32interfaceId, ornullif it is not present.
-
requireInterfaceId
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireInterfaceId()
Return interfaceId, guaranteed to be non-null.- Returns:
Uint32interfaceId, guaranteed to be non-null.- Throws:
NoSuchElementException- if interfaceId is not present
-
-