Interface ListItem

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

    public interface ListItem
    extends org.opendaylight.yangtools.yang.binding.ChildOf<ListenerTest>, org.opendaylight.yangtools.yang.binding.Augmentable<ListItem>, org.opendaylight.yangtools.yang.binding.Identifiable<ListItemKey>

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

     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/list-item

    To create instances of this class use ListItemBuilder.

    See Also:
    ListItemBuilder, ListItemKey
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable String getSip()
        Returns:
        java.lang.String sip, or null if not present
      • getOp

        @Nullable org.opendaylight.yangtools.yang.common.Uint32 getOp()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 op, or null if not present
      • key

        ListItemKey key()
        Specified by:
        key in interface org.opendaylight.yangtools.yang.binding.Identifiable<ListItemKey>