Interface EncapsulatedRouteInGrouping
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
@Generated("mdsal-binding-generator") public interface EncapsulatedRouteInGrouping extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module opendaylight-test-routed-rpc
grouping encapsulated-route-in-grouping { leaf route { type encapsulated-route; ext:context-reference test-context; } }
-
-
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 EncapsulatedRoutegetRoute()Return route, ornullif it is not present.Class<? extends EncapsulatedRouteInGrouping>implementedInterface()default @NonNull EncapsulatedRouterequireRoute()Return route, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends EncapsulatedRouteInGrouping> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getRoute
@RoutingContext(TestContext.class) EncapsulatedRoute getRoute()
Return route, ornullif it is not present.- Returns:
EncapsulatedRouteroute, ornullif it is not present.
-
requireRoute
default @NonNull EncapsulatedRoute requireRoute()
Return route, guaranteed to be non-null.- Returns:
EncapsulatedRouteroute, guaranteed to be non-null.- Throws:
NoSuchElementException- if route is not present
-
-