Interface Desc
- 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:
FlowCapableNode
,FlowCapableNodeUpdated
,FlowNode
,MultipartReplyDesc
@Generated("mdsal-binding-generator")
public interface Desc
extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module flow-node-inventory
grouping desc { leaf manufacturer { type string; } leaf hardware { type string; } leaf software { type string; } leaf serial-number { type string; } leaf description { type string; } }
-
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 description, ornull
if it is not present.Return hardware, ornull
if it is not present.Return manufacturer, ornull
if it is not present.Return serialNumber, ornull
if it is not present.Return software, ornull
if it is not present.default @NonNull String
Return description, guaranteed to be non-null.default @NonNull String
Return hardware, guaranteed to be non-null.default @NonNull String
Return manufacturer, guaranteed to be non-null.default @NonNull String
Return serialNumber, guaranteed to be non-null.default @NonNull String
Return software, 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
- 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
-
getManufacturer
String getManufacturer()Return manufacturer, ornull
if it is not present.- Returns:
String
manufacturer, ornull
if it is not present.
-
requireManufacturer
Return manufacturer, guaranteed to be non-null.- Returns:
String
manufacturer, guaranteed to be non-null.- Throws:
NoSuchElementException
- if manufacturer is not present
-
getHardware
String getHardware()Return hardware, ornull
if it is not present.- Returns:
String
hardware, ornull
if it is not present.
-
requireHardware
Return hardware, guaranteed to be non-null.- Returns:
String
hardware, guaranteed to be non-null.- Throws:
NoSuchElementException
- if hardware is not present
-
getSoftware
String getSoftware()Return software, ornull
if it is not present.- Returns:
String
software, ornull
if it is not present.
-
requireSoftware
Return software, guaranteed to be non-null.- Returns:
String
software, guaranteed to be non-null.- Throws:
NoSuchElementException
- if software is not present
-
getSerialNumber
String getSerialNumber()Return serialNumber, ornull
if it is not present.- Returns:
String
serialNumber, ornull
if it is not present.
-
requireSerialNumber
Return serialNumber, guaranteed to be non-null.- Returns:
String
serialNumber, guaranteed to be non-null.- Throws:
NoSuchElementException
- if serialNumber is not present
-
getDescription
String getDescription()Return description, ornull
if it is not present.- Returns:
String
description, ornull
if it is not present.
-
requireDescription
Return description, guaranteed to be non-null.- Returns:
String
description, guaranteed to be non-null.- Throws:
NoSuchElementException
- if description is not present
-