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 Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        Class<? extends ExtensionAttributes> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getName

        String getName()
        Return name, or null if it is not present.
             
                 The name of the extension
             
         
        Returns:
        String name, or null 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, or null if it is not present.
             
                 The alias for the extension
             
         
        Returns:
        String alias, or null 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, or null if it is not present.
             
                 The configuration of this extension
             
         
        Returns:
        String configuration, or null 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