Interface TransactionMetadata
- 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
- All Known Subinterfaces:
AddFlowInput
,AddGroupInput
,AddMeterInput
,FlowAdded
,FlowRemoved
,FlowUpdated
,NodeErrorNotification
,RemoveFlowInput
,RemoveGroupInput
,RemoveMeterInput
,SetRoleInput
,UpdateFlowInput
,UpdateGroupInput
,UpdateMeterInput
,UpdateTableInput
@Generated("mdsal-binding-generator")
public interface TransactionMetadata
extends org.opendaylight.yangtools.yang.binding.DataObject
Refers to MD-SAL transaction reference.
This class represents the following YANG schema fragment defined in module flow-capable-transaction
grouping transaction-metadata { leaf transaction-uri { type inet:uri; } }
-
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 TypeMethodDescriptionorg.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri
Return transactionUri, ornull
if it is not present.Class<? extends TransactionMetadata>
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri
Return transactionUri, guaranteed to be non-null.
-
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 TransactionMetadata> 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
-
getTransactionUri
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri getTransactionUri()Return transactionUri, ornull
if it is not present.- Returns:
Uri
transactionUri, ornull
if it is not present.
-
requireTransactionUri
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri requireTransactionUri()Return transactionUri, guaranteed to be non-null.- Returns:
Uri
transactionUri, guaranteed to be non-null.- Throws:
NoSuchElementException
- if transactionUri is not present
-