Interface ErrorMessage
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
BadActionErrorNotification
,BadInstructionErrorNotification
,BadMatchErrorNotification
,BadRequestErrorNotification
,ExperimenterErrorNotification
,FlowModErrorNotification
,GroupModErrorNotification
,HelloFailedErrorNotification
,MeterModErrorNotification
,NodeErrorContainer
,NodeErrorNotification
,PortModErrorNotification
,QueueOpErrorNotification
,RoleRequestErrorNotification
,SwitchConfigErrorNotification
,TableFeaturesErrorNotification
,TableModErrorNotification
@Generated("mdsal-binding-generator") public interface ErrorMessage extends org.opendaylight.yangtools.yang.binding.DataObject
Error message structure.This class represents the following YANG schema fragment defined in module flow-errors
grouping error-message { leaf type { type error-type; } leaf code { type uint16; } leaf data { type string; } }
The schema path to identify an instance is flow-errors/error-message
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.opendaylight.yangtools.yang.common.Uint16
getCode()
Return code, ornull
if it is not present.String
getData()
Return data, ornull
if it is not present.ErrorType
getType()
Return type, ornull
if it is not present.Class<? extends ErrorMessage>
implementedInterface()
-
-
-
Method Detail
-
implementedInterface
Class<? extends ErrorMessage> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getType
ErrorType getType()
Return type, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.errors.rev131116.ErrorType
type, ornull
if it is not present.
-
getCode
org.opendaylight.yangtools.yang.common.Uint16 getCode()
Return code, ornull
if it is not present.- Returns:
org.opendaylight.yangtools.yang.common.Uint16
code, ornull
if it is not present.
-
getData
String getData()
Return data, ornull
if it is not present.- Returns:
java.lang.String
data, ornull
if it is not present.
-
-