Interface PlatformComponentConfig
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
@Generated("mdsal-binding-generator") public interface PlatformComponentConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Configuration data for componentsThis class represents the following YANG schema fragment defined in module openconfig-platform
grouping platform-component-config { leaf name { type string; } }The schema path to identify an instance is openconfig-platformplatform-component-config
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StringgetName()Return name, ornullif it is not present.Class<? extends PlatformComponentConfig>implementedInterface()default @NonNull StringrequireName()Return name, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends PlatformComponentConfig> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getName
String getName()
Return name, ornullif it is not present.Device name for the component -- this may not be a configurable parameter on many implementations. Where component preconfiguration is supported, for example, the component name may be configurable.- Returns:
Stringname, ornullif it is not present.
-
requireName
default @NonNull String requireName()
Return name, guaranteed to be non-null.Device name for the component -- this may not be a configurable parameter on many implementations. Where component preconfiguration is supported, for example, the component name may be configurable.- Returns:
Stringname, guaranteed to be non-null.- Throws:
NoSuchElementException- if name is not present
-
-