Interface TableMod$G
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,OfHeader
- All Known Subinterfaces:
TableModInput
@Generated("mdsal-binding-generator")
public interface TableMod$G
extends org.opendaylight.yangtools.yang.binding.DataObject, OfHeader
This class represents the following YANG schema fragment defined in module openflow-protocol
grouping table-mod { uses ofHeader; leaf table-id { type oft:table-id; } leaf config { type oft:table-config; } }
-
Field Summary
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn config, ornull
if it is not present.Return tableId, ornull
if it is not present.Class<? extends TableMod$G>
default @NonNull TableConfig
Return config, guaranteed to be non-null.default @NonNull TableId
Return tableId, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.OfHeader
getVersion, getXid, requireVersion, requireXid
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends TableMod$G> implementedInterface()- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
- Specified by:
implementedInterface
in interfaceOfHeader
-
getTableId
TableId getTableId()Return tableId, ornull
if it is not present.- Returns:
TableId
tableId, ornull
if it is not present.
-
requireTableId
Return tableId, guaranteed to be non-null.- Returns:
TableId
tableId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if tableId is not present
-
getConfig
TableConfig getConfig()Return config, ornull
if it is not present.- Returns:
TableConfig
config, ornull
if it is not present.
-
requireConfig
Return config, guaranteed to be non-null.- Returns:
TableConfig
config, guaranteed to be non-null.- Throws:
NoSuchElementException
- if config is not present
-