Interface PlatformComponentPropertiesConfig
- 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 PlatformComponentPropertiesConfig
extends org.opendaylight.yangtools.yang.binding.DataObject
System-defined configuration data for component properties
This class represents the following YANG schema fragment defined in module openconfig-platform
grouping platform-component-properties-config {
leaf name {
type string;
}
leaf value {
type union {
type string;
type boolean;
type int64;
type uint64;
type decimal64 {
fraction-digits 2;
}
}
}
}
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classThis class represents the following YANG schema fragment defined in module openconfig-platform -
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.getValue()Return value, ornullif it is not present.Class<? extends PlatformComponentPropertiesConfig>default @NonNull StringReturn name, guaranteed to be non-null.default @NonNull PlatformComponentPropertiesConfig.ValueReturn value, 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 PlatformComponentPropertiesConfig> 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
String getName()Return name, ornullif it is not present.System-supplied name of the property -- this is typically non-configurable- Returns:
Stringname, ornullif it is not present.
-
requireName
Return name, guaranteed to be non-null.System-supplied name of the property -- this is typically non-configurable- Returns:
Stringname, guaranteed to be non-null.- Throws:
NoSuchElementException- if name is not present
-
getValue
PlatformComponentPropertiesConfig.Value getValue()Return value, ornullif it is not present.Property values can take on a variety of types. Signed and unsigned integer types may be provided in smaller sizes, e.g., int8, uint16, etc.- Returns:
Valuevalue, ornullif it is not present.
-
requireValue
Return value, guaranteed to be non-null.Property values can take on a variety of types. Signed and unsigned integer types may be provided in smaller sizes, e.g., int8, uint16, etc.- Returns:
Valuevalue, guaranteed to be non-null.- Throws:
NoSuchElementException- if value is not present
-