Interface FlowUpdate
- 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
,NodeContextRef
- All Known Subinterfaces:
UpdateFlowInput
@Generated("mdsal-binding-generator")
public interface FlowUpdate
extends org.opendaylight.yangtools.yang.binding.DataObject, NodeContextRef
DataStore aware flow update structure suitable for rpc input (contains
node-context).
This class represents the following YANG schema fragment defined in module sal-flow
grouping flow-update { uses inv:node-context-ref; container original-flow { uses types:flow; } container updated-flow { uses types:flow; } }
-
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 originalFlow, ornull
if it is not present.Return updatedFlow, ornull
if it is not present.Class<? extends FlowUpdate>
@NonNull OriginalFlow
Return originalFlow, or an empty instance if it is not present.@NonNull UpdatedFlow
Return updatedFlow, or an empty instance if it is not present.Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeContextRef
getNode, requireNode
-
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 FlowUpdate> 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 interfaceNodeContextRef
-
getOriginalFlow
OriginalFlow getOriginalFlow()Return originalFlow, ornull
if it is not present.- Returns:
OriginalFlow
originalFlow, ornull
if it is not present.
-
nonnullOriginalFlow
@NonNull OriginalFlow nonnullOriginalFlow()Return originalFlow, or an empty instance if it is not present.- Returns:
OriginalFlow
originalFlow, or an empty instance if it is not present.
-
getUpdatedFlow
UpdatedFlow getUpdatedFlow()Return updatedFlow, ornull
if it is not present.- Returns:
UpdatedFlow
updatedFlow, ornull
if it is not present.
-
nonnullUpdatedFlow
@NonNull UpdatedFlow nonnullUpdatedFlow()Return updatedFlow, or an empty instance if it is not present.- Returns:
UpdatedFlow
updatedFlow, or an empty instance if it is not present.
-