Interface ExtensionAttributes
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
Extension
@Generated("mdsal-binding-generator") public interface ExtensionAttributes extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module neutron-extensions
grouping extension-attributes { leaf name { type string; } leaf alias { type string; } leaf configuration { type string; } }
The schema path to identify an instance is neutron-extensions/extension-attributes
-
-
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 String
getAlias()
Return alias, ornull
if it is not present.String
getConfiguration()
Return configuration, ornull
if it is not present.String
getName()
Return name, ornull
if it is not present.Class<? extends ExtensionAttributes>
implementedInterface()
default @NonNull String
requireAlias()
Return alias, guaranteed to be non-null.default @NonNull String
requireConfiguration()
Return configuration, guaranteed to be non-null.default @NonNull String
requireName()
Return name, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends ExtensionAttributes> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getName
String getName()
Return name, ornull
if it is not present.The name of the extension
- Returns:
String
name, ornull
if it is not present.
-
requireName
default @NonNull String requireName()
Return name, guaranteed to be non-null.The name of the extension
- Returns:
String
name, guaranteed to be non-null.- Throws:
NoSuchElementException
- if name is not present
-
getAlias
String getAlias()
Return alias, ornull
if it is not present.The alias for the extension
- Returns:
String
alias, ornull
if it is not present.
-
requireAlias
default @NonNull String requireAlias()
Return alias, guaranteed to be non-null.The alias for the extension
- Returns:
String
alias, guaranteed to be non-null.- Throws:
NoSuchElementException
- if alias is not present
-
getConfiguration
String getConfiguration()
Return configuration, ornull
if it is not present.The configuration of this extension
- Returns:
String
configuration, ornull
if it is not present.
-
requireConfiguration
default @NonNull String requireConfiguration()
Return configuration, guaranteed to be non-null.The configuration of this extension
- Returns:
String
configuration, guaranteed to be non-null.- Throws:
NoSuchElementException
- if configuration is not present
-
-