Interface Table

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<Table>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<Tables>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Identifiable<TableKey>

    public interface Table
    extends org.opendaylight.yangtools.yang.binding.ChildOf<Tables>, org.opendaylight.yangtools.yang.binding.Augmentable<Table>, org.opendaylight.yangtools.yang.binding.Identifiable<TableKey>

    This class represents the following YANG schema fragment defined in module flow-node-inventory

     list table {
       key id;
       leaf id {
         type uint8;
       }
       list flow {
         key id;
         leaf id {
           type flow-id;
         }
         uses flow:flow;
       }
       list stale-flow {
         key id;
         leaf id {
           type flow-id;
         }
         uses flow:flow;
       }
     }
     
    The schema path to identify an instance is flow-node-inventory/tables/table

    To create instances of this class use TableBuilder.

    See Also:
    TableBuilder, TableKey
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable org.opendaylight.yangtools.yang.common.Uint8 getId()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint8 id, or null if not present
      • getFlow

        @Nullable List<Flow> getFlow()
        Returns:
        java.util.List flow, or null if not present
      • nonnullFlow

        default @NonNull List<Flow> nonnullFlow()
        Returns:
        java.util.List flow, or an empty list if it is not present
      • getStaleFlow

        @Nullable List<StaleFlow> getStaleFlow()
        Returns:
        java.util.List staleFlow, or null if not present
      • nonnullStaleFlow

        default @NonNull List<StaleFlow> nonnullStaleFlow()
        Returns:
        java.util.List staleFlow, or an empty list if it is not present
      • key

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