Interface DpnToInterface

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<DpnToInterface>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<DpnToInterfaceList>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Identifiable<DpnToInterfaceKey>

    public interface DpnToInterface
    extends org.opendaylight.yangtools.yang.binding.ChildOf<DpnToInterfaceList>, org.opendaylight.yangtools.yang.binding.Augmentable<DpnToInterface>, org.opendaylight.yangtools.yang.binding.Identifiable<DpnToInterfaceKey>

    This class represents the following YANG schema fragment defined in module odl-itm-meta

     list dpn-to-interface {
       key dpid;
       leaf dpid {
         type uint64;
       }
       list interface-name-entry {
         key interface-name;
         leaf interface-name {
           type string;
         }
         leaf interface-type {
           type identityref {
             base interface-type;
           }
         }
       }
     }
     
    The schema path to identify an instance is odl-itm-meta/dpn-to-interface-list/dpn-to-interface

    To create instances of this class use DpnToInterfaceBuilder.

    See Also:
    DpnToInterfaceBuilder, DpnToInterfaceKey
    • Field Detail

      • QNAME

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

      • implementedInterface

        default java.lang.Class<DpnToInterface> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getDpid

        @Nullable org.opendaylight.yangtools.yang.common.Uint64 getDpid()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint64 dpid, or null if not present
      • getInterfaceNameEntry

        @Nullable java.util.List<InterfaceNameEntry> getInterfaceNameEntry()
        Returns:
        java.util.List interfaceNameEntry, or null if not present
      • nonnullInterfaceNameEntry

        default @NonNull java.util.List<InterfaceNameEntry> nonnullInterfaceNameEntry()
        Returns:
        java.util.List interfaceNameEntry, or an empty list if it is not present