Interface NodeConnector
- 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:
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
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptiongetId()
Return id, ornull
if it is not present.Class<? extends NodeConnector>
default @NonNull NodeConnectorId
Return id, 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
Class<? extends NodeConnector> 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
-
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
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
-