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
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn config, ornullif it is not present.Return tableId, ornullif it is not present.Class<? extends TableMod$G>default @NonNull TableConfigReturn config, guaranteed to be non-null.default @NonNull TableIdReturn 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:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject- Specified by:
implementedInterfacein interfaceOfHeader
-
getTableId
TableId getTableId()Return tableId, ornullif it is not present.- Returns:
TableIdtableId, ornullif it is not present.
-
requireTableId
Return tableId, guaranteed to be non-null.- Returns:
TableIdtableId, guaranteed to be non-null.- Throws:
NoSuchElementException- if tableId is not present
-
getConfig
TableConfig getConfig()Return config, ornullif it is not present.- Returns:
TableConfigconfig, ornullif it is not present.
-
requireConfig
Return config, guaranteed to be non-null.- Returns:
TableConfigconfig, guaranteed to be non-null.- Throws:
NoSuchElementException- if config is not present
-