Interface AugGrouping

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    TllComplexAugment

    @Generated("mdsal-binding-generator")
    public interface AugGrouping
    extends org.opendaylight.yangtools.yang.binding.DataObject

    This class represents the following YANG schema fragment defined in module opendaylight-of-migration-test-model

     grouping aug-grouping {
       container cont1 {
         leaf attr-str {
           type string;
         }
       }
       container cont2 {
         list contlist1 {
           key attr-str;
           leaf attr-str {
             type string;
           }
           uses enum-grouping;
         }
       }
       leaf attr-str1 {
         type string;
       }
       leaf attr-str2 {
         type string;
       }
       leaf attr-str3 {
         type string;
       }
       leaf attr-str4 {
         type string;
       }
       list list1 {
         key attr-str;
         leaf attr-str {
           type string;
         }
         list list1-1 {
           key attr-int;
           leaf attr-int {
             type int32;
           }
           leaf attr-str {
             type string;
           }
           leaf flags {
             type bit-flags;
           }
         }
         list list1-2 {
           key attr-int;
           leaf attr-int {
             type int32;
           }
           leaf attr-str {
             type string;
           }
         }
       }
     }
     
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
        YANG identifier of the statement represented by this class.
    • Method Detail

      • implementedInterface

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

        Cont1 getCont1()
        Return cont1, or null if it is not present.
        Returns:
        Cont1 cont1, or null if it is not present.
      • getCont2

        Cont2 getCont2()
        Return cont2, or null if it is not present.
        Returns:
        Cont2 cont2, or null if it is not present.
      • getAttrStr1

        String getAttrStr1()
        Return attrStr1, or null if it is not present.
        Returns:
        String attrStr1, or null if it is not present.
      • requireAttrStr1

        default @NonNull String requireAttrStr1()
        Return attrStr1, guaranteed to be non-null.
        Returns:
        String attrStr1, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if attrStr1 is not present
      • getAttrStr2

        String getAttrStr2()
        Return attrStr2, or null if it is not present.
        Returns:
        String attrStr2, or null if it is not present.
      • requireAttrStr2

        default @NonNull String requireAttrStr2()
        Return attrStr2, guaranteed to be non-null.
        Returns:
        String attrStr2, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if attrStr2 is not present
      • getAttrStr3

        String getAttrStr3()
        Return attrStr3, or null if it is not present.
        Returns:
        String attrStr3, or null if it is not present.
      • requireAttrStr3

        default @NonNull String requireAttrStr3()
        Return attrStr3, guaranteed to be non-null.
        Returns:
        String attrStr3, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if attrStr3 is not present
      • getAttrStr4

        String getAttrStr4()
        Return attrStr4, or null if it is not present.
        Returns:
        String attrStr4, or null if it is not present.
      • requireAttrStr4

        default @NonNull String requireAttrStr4()
        Return attrStr4, guaranteed to be non-null.
        Returns:
        String attrStr4, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if attrStr4 is not present
      • getList1

        @Nullable Map<List1Key,​List1> getList1()
        Return list1, or null if it is not present.
        Returns:
        Map<List1Key, List1> list1, or null if it is not present.
      • nonnullList1

        default @NonNull Map<List1Key,​List1> nonnullList1()
        Return list1, or an empty list if it is not present.
        Returns:
        Map<List1Key, List1> list1, or an empty list if it is not present.