Interface PlatformSubcomponentRefConfig
- 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
@Generated("mdsal-binding-generator")
public interface PlatformSubcomponentRefConfig
extends org.opendaylight.yangtools.yang.binding.DataObject
Configuration data for subcomponent references
This class represents the following YANG schema fragment defined in module openconfig-platform
grouping platform-subcomponent-ref-config {
leaf name {
type leafref {
path ../../../../../component/config/name;
}
}
}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptiongetName()Return name, ornullif it is not present.Class<? extends PlatformSubcomponentRefConfig>default @NonNull ObjectReturn name, 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 PlatformSubcomponentRefConfig> implementedInterface()- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getName
Object getName()Return name, ornullif it is not present.Reference to the name of the subcomponent- Returns:
Objectname, ornullif it is not present.
-
requireName
Return name, guaranteed to be non-null.Reference to the name of the subcomponent- Returns:
Objectname, guaranteed to be non-null.- Throws:
NoSuchElementException- if name is not present
-