Interface Desc
-
- All Superinterfaces:
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
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
YANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description String
getDescription()
Return description, ornull
if it is not present.String
getHardware()
Return hardware, ornull
if it is not present.String
getManufacturer()
Return manufacturer, ornull
if it is not present.String
getSerialNumber()
Return serialNumber, ornull
if it is not present.String
getSoftware()
Return software, ornull
if it is not present.Class<? extends Desc>
implementedInterface()
default @NonNull String
requireDescription()
Return description, guaranteed to be non-null.default @NonNull String
requireHardware()
Return hardware, guaranteed to be non-null.default @NonNull String
requireManufacturer()
Return manufacturer, guaranteed to be non-null.default @NonNull String
requireSerialNumber()
Return serialNumber, guaranteed to be non-null.default @NonNull String
requireSoftware()
Return software, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends Desc> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.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
default @NonNull String 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
default @NonNull String 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
default @NonNull String 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
default @NonNull String 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
default @NonNull String requireDescription()
Return description, guaranteed to be non-null.- Returns:
String
description, guaranteed to be non-null.- Throws:
NoSuchElementException
- if description is not present
-
-