Interface TwoLevelList

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    GetTopOutput, PutTopInput, Top, TwoLevelListChanged

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

    This class represents the following YANG schema fragment defined in module opendaylight-mdsal-list-test

     grouping two-level-list {
       list top-level-list {
         key name;
         leaf name {
           type string;
         }
         list nested-list {
           key name;
           leaf name {
             type string;
           }
           leaf type {
             type string;
           }
           ordered-by user;
         }
       }
     }
     
    • 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 TwoLevelList> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getTopLevelList

        @Nullable Map<TopLevelListKey,​TopLevelList> getTopLevelList()
        Return topLevelList, or null if it is not present.
             
                 Top Level List
             
         
        Returns:
        Map<TopLevelListKey, TopLevelList> topLevelList, or null if it is not present.
      • nonnullTopLevelList

        default @NonNull Map<TopLevelListKey,​TopLevelList> nonnullTopLevelList()
        Return topLevelList, or an empty list if it is not present.
        Returns:
        Map<TopLevelListKey, TopLevelList> topLevelList, or an empty list if it is not present.