Interface SystemClockConfig
- 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 SystemClockConfig
extends org.opendaylight.yangtools.yang.binding.DataObject
Configuration data for system-wide clock configuration
This class represents the following YANG schema fragment defined in module openconfig-system
grouping system-clock-config {
leaf timezone-name {
type timezone-name-type;
}
}
-
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 TypeMethodDescriptionReturn timezoneName, ornullif it is not present.Class<? extends SystemClockConfig>default @NonNull TimezoneNameTypeReturn timezoneName, 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 SystemClockConfig> 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
-
getTimezoneName
TimezoneNameType getTimezoneName()Return timezoneName, ornullif it is not present.The TZ database name to use for the system, such as 'Europe/Stockholm'.- Returns:
TimezoneNameTypetimezoneName, ornullif it is not present.
-
requireTimezoneName
Return timezoneName, guaranteed to be non-null.The TZ database name to use for the system, such as 'Europe/Stockholm'.- Returns:
TimezoneNameTypetimezoneName, guaranteed to be non-null.- Throws:
NoSuchElementException- if timezoneName is not present
-