Interface InterfaceParentEntry

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<InterfaceParentEntry>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<InterfaceChildInfo>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Identifiable<InterfaceParentEntryKey>

    public interface InterfaceParentEntry
    extends org.opendaylight.yangtools.yang.binding.ChildOf<InterfaceChildInfo>, org.opendaylight.yangtools.yang.binding.Augmentable<InterfaceParentEntry>, org.opendaylight.yangtools.yang.binding.Identifiable<InterfaceParentEntryKey>

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

     list interface-parent-entry {
       key parent-interface;
       leaf parent-interface {
         type string;
       }
       list interface-child-entry {
         key child-interface;
         leaf child-interface {
           type string;
         }
       }
     }
     
    The schema path to identify an instance is odl-interface-meta/interface-child-info/interface-parent-entry

    To create instances of this class use InterfaceParentEntryBuilder.

    See Also:
    InterfaceParentEntryBuilder, InterfaceParentEntryKey
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable java.lang.String getParentInterface()
        Returns:
        java.lang.String parentInterface, or null if not present
      • getInterfaceChildEntry

        @Nullable java.util.List<InterfaceChildEntry> getInterfaceChildEntry()
        Returns:
        java.util.List interfaceChildEntry, or null if not present
      • nonnullInterfaceChildEntry

        default @NonNull java.util.List<InterfaceChildEntry> nonnullInterfaceChildEntry()
        Returns:
        java.util.List interfaceChildEntry, or an empty list if it is not present