Interface Error
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject,OfHeader
- All Known Subinterfaces:
ErrorMessage
public interface Error extends org.opendaylight.yangtools.yang.binding.DataObject, OfHeader
This class represents the following YANG schema fragment defined in module openflow-protocol
grouping error { uses ofHeader; leaf type { type uint16; } leaf code { type uint16; } leaf type-string { type string; } leaf code-string { type string; } leaf data { type binary; } }The schema path to identify an instance is openflow-protocol/error
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.opendaylight.yangtools.yang.common.Uint16getCode()StringgetCodeString()byte[]getData()org.opendaylight.yangtools.yang.common.Uint16getType()StringgetTypeString()Class<? extends Error>implementedInterface()-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.OfHeader
getVersion, getXid
-
-
-
-
Method Detail
-
implementedInterface
Class<? extends Error> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject- Specified by:
implementedInterfacein interfaceOfHeader
-
getType
org.opendaylight.yangtools.yang.common.Uint16 getType()
- Returns:
org.opendaylight.yangtools.yang.common.Uint16type, ornullif not present
-
getCode
org.opendaylight.yangtools.yang.common.Uint16 getCode()
- Returns:
org.opendaylight.yangtools.yang.common.Uint16code, ornullif not present
-
getTypeString
String getTypeString()
- Returns:
java.lang.StringtypeString, ornullif not present
-
getCodeString
String getCodeString()
- Returns:
java.lang.StringcodeString, ornullif not present
-
getData
byte[] getData()
- Returns:
byte[]data, ornullif not present
-
-