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/tableTo create instances of this class use
TableBuilder
.- See Also:
TableBuilder
,TableKey
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable List<Flow>
getFlow()
@Nullable org.opendaylight.yangtools.yang.common.Uint8
getId()
@Nullable List<StaleFlow>
getStaleFlow()
default Class<Table>
implementedInterface()
TableKey
key()
default @NonNull List<Flow>
nonnullFlow()
default @NonNull List<StaleFlow>
nonnullStaleFlow()
-
-
-
Method Detail
-
implementedInterface
default Class<Table> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getId
@Nullable org.opendaylight.yangtools.yang.common.Uint8 getId()
- Returns:
org.opendaylight.yangtools.yang.common.Uint8
id
, ornull
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
, ornull
if not present
-
nonnullStaleFlow
default @NonNull List<StaleFlow> nonnullStaleFlow()
- Returns:
java.util.List
staleFlow
, or an empty list if it is not present
-
-