Interface ListenerTest

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<ListenerTest>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<ListenerContainerData>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

    public interface ListenerTest
    extends org.opendaylight.yangtools.yang.binding.ChildOf<ListenerContainerData>, org.opendaylight.yangtools.yang.binding.Augmentable<ListenerTest>

    This class represents the following YANG schema fragment defined in module listener-container

     container listener-test {
       list list-item {
         key "sip op";
         leaf sip {
           type string;
         }
         leaf op {
           type uint32;
         }
       }
     }
     
    The schema path to identify an instance is listener-container/listener-test

    To create instances of this class use ListenerTestBuilder.

    See Also:
    ListenerTestBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

        default Class<ListenerTest> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getListItem

        @Nullable Map<ListItemKey,​ListItem> getListItem()
        Returns:
        java.util.Map listItem, or null if not present
      • nonnullListItem

        default @NonNull Map<ListItemKey,​ListItem> nonnullListItem()
        Returns:
        java.util.Map listItem, or an empty list if it is not present