Interface NodeConnector
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
NodeConnector
,NodeConnectorUpdated
@Generated("mdsal-binding-generator") public interface NodeConnector extends org.opendaylight.yangtools.yang.binding.DataObject
Describes a generic node connector which consists of an ID. Acts as an augmentation point where other YANG files can add additional information.This class represents the following YANG schema fragment defined in module opendaylight-inventory
grouping node-connector { leaf id { type node-connector-id; } }
-
-
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 NodeConnectorId
getId()
Return id, ornull
if it is not present.Class<? extends NodeConnector>
implementedInterface()
default @NonNull NodeConnectorId
requireId()
Return id, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends NodeConnector> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getId
NodeConnectorId getId()
Return id, ornull
if it is not present.The unique identifier for the node-connector.
- Returns:
NodeConnectorId
id, ornull
if it is not present.
-
requireId
default @NonNull NodeConnectorId requireId()
Return id, guaranteed to be non-null.The unique identifier for the node-connector.
- Returns:
NodeConnectorId
id, guaranteed to be non-null.- Throws:
NoSuchElementException
- if id is not present
-
-