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

    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;
         }
       }
     }
     
    The schema path to identify an instance is opendaylight-mdsal-list-test/two-level-list
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • 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()
        Top Level List
        Returns:
        java.util.Map topLevelList, or null if not present
      • nonnullTopLevelList

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