Interface GeneralExtensionGrouping
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
ExtensionList
@Generated("mdsal-binding-generator")
public interface GeneralExtensionGrouping
extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module openflowplugin-extension-general
grouping general-extension-grouping { leaf extension-key { type identityref { base extension-key; } } container extension { } }
-
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 extension, ornull
if it is not present.Return extensionKey, ornull
if it is not present.Class<? extends GeneralExtensionGrouping>
default @NonNull ExtensionKey
Return extensionKey, 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 GeneralExtensionGrouping> implementedInterface()- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getExtensionKey
ExtensionKey getExtensionKey()Return extensionKey, ornull
if it is not present.- Returns:
ExtensionKey
extensionKey, ornull
if it is not present.
-
requireExtensionKey
Return extensionKey, guaranteed to be non-null.- Returns:
ExtensionKey
extensionKey, guaranteed to be non-null.- Throws:
NoSuchElementException
- if extensionKey is not present
-
getExtension
Extension getExtension()Return extension, ornull
if it is not present.A vendor has to augment this container.
- Returns:
Extension
extension, ornull
if it is not present.
-