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
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG 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.UriReturn transactionUri, ornullif it is not present.Class<? extends TransactionMetadata>default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.UriReturn 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:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>- Specified by:
implementedInterfacein 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, ornullif it is not present.- Returns:
UritransactionUri, ornullif 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:
UritransactionUri, guaranteed to be non-null.- Throws:
NoSuchElementException- if transactionUri is not present
-