Interface ExperimenterCore
- 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:
ExperimenterInput
,ExperimenterMessage
,ExperimenterOfMessage
,MultipartReplyExperimenter
,MultipartRequestExperimenter
@Generated("mdsal-binding-generator")
public interface ExperimenterCore
extends org.opendaylight.yangtools.yang.binding.DataObject
General experimenter message content suitable for symmetric and multipart
message
This class represents the following YANG schema fragment defined in module openflow-protocol
grouping experimenter-core { leaf experimenter { type oft:experimenter-id; } leaf exp_type { type uint32; } choice experimenter-data-of-choice; }
-
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 experimenter, ornull
if it is not present.Return experimenterDataOfChoice, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
Return expType, ornull
if it is not present.Class<? extends ExperimenterCore>
default @NonNull ExperimenterId
Return experimenter, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32
Return expType, 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 ExperimenterCore> 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
-
getExperimenter
ExperimenterId getExperimenter()Return experimenter, ornull
if it is not present.- Returns:
ExperimenterId
experimenter, ornull
if it is not present.
-
requireExperimenter
Return experimenter, guaranteed to be non-null.- Returns:
ExperimenterId
experimenter, guaranteed to be non-null.- Throws:
NoSuchElementException
- if experimenter is not present
-
getExpType
org.opendaylight.yangtools.yang.common.Uint32 getExpType()Return expType, ornull
if it is not present.- Returns:
Uint32
expType, ornull
if it is not present.
-
requireExpType
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireExpType()Return expType, guaranteed to be non-null.- Returns:
Uint32
expType, guaranteed to be non-null.- Throws:
NoSuchElementException
- if expType is not present
-
getExperimenterDataOfChoice
ExperimenterDataOfChoice getExperimenterDataOfChoice()Return experimenterDataOfChoice, ornull
if it is not present.- Returns:
ExperimenterDataOfChoice
experimenterDataOfChoice, ornull
if it is not present.
-