Interface MeterUpdate
- 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:
UpdateMeterInput
@Generated("mdsal-binding-generator")
public interface MeterUpdate
extends org.opendaylight.yangtools.yang.binding.DataObject, NodeContextRef
DataStore aware update openflow meter structure suitable for rpc input
node-context-ref)
This class represents the following YANG schema fragment defined in module sal-meter
grouping meter-update { uses inv:node-context-ref; container original-meter { uses meter-type:meter; } container updated-meter { uses meter-type:meter; } }
-
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 originalMeter, ornull
if it is not present.Return updatedMeter, ornull
if it is not present.Class<? extends MeterUpdate>
@NonNull OriginalMeter
Return originalMeter, or an empty instance if it is not present.@NonNull UpdatedMeter
Return updatedMeter, 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 MeterUpdate> 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
-
getOriginalMeter
OriginalMeter getOriginalMeter()Return originalMeter, ornull
if it is not present.- Returns:
OriginalMeter
originalMeter, ornull
if it is not present.
-
nonnullOriginalMeter
@NonNull OriginalMeter nonnullOriginalMeter()Return originalMeter, or an empty instance if it is not present.- Returns:
OriginalMeter
originalMeter, or an empty instance if it is not present.
-
getUpdatedMeter
UpdatedMeter getUpdatedMeter()Return updatedMeter, ornull
if it is not present.- Returns:
UpdatedMeter
updatedMeter, ornull
if it is not present.
-
nonnullUpdatedMeter
@NonNull UpdatedMeter nonnullUpdatedMeter()Return updatedMeter, or an empty instance if it is not present.- Returns:
UpdatedMeter
updatedMeter, or an empty instance if it is not present.
-