Interface PortUpdate
- 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:
UpdatePortInput
@Generated("mdsal-binding-generator")
public interface PortUpdate
extends org.opendaylight.yangtools.yang.binding.DataObject, NodeContextRef
DataStore aware openflow port configuration update structure suitable for rpc
(contains node-context-ref).
This class represents the following YANG schema fragment defined in module sal-port
grouping port-update { uses inv:node-context-ref; container original-port { uses port-type:port-mod; } container updated-port { uses port-type:port-mod; } }
-
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 originalPort, ornull
if it is not present.Return updatedPort, ornull
if it is not present.Class<? extends PortUpdate>
@NonNull OriginalPort
Return originalPort, or an empty instance if it is not present.@NonNull UpdatedPort
Return updatedPort, 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 PortUpdate> 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
-
getOriginalPort
OriginalPort getOriginalPort()Return originalPort, ornull
if it is not present.- Returns:
OriginalPort
originalPort, ornull
if it is not present.
-
nonnullOriginalPort
@NonNull OriginalPort nonnullOriginalPort()Return originalPort, or an empty instance if it is not present.- Returns:
OriginalPort
originalPort, or an empty instance if it is not present.
-
getUpdatedPort
UpdatedPort getUpdatedPort()Return updatedPort, ornull
if it is not present.- Returns:
UpdatedPort
updatedPort, ornull
if it is not present.
-
nonnullUpdatedPort
@NonNull UpdatedPort nonnullUpdatedPort()Return updatedPort, or an empty instance if it is not present.- Returns:
UpdatedPort
updatedPort, or an empty instance if it is not present.
-