Interface SystemClockConfig
-
- 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 SystemClockConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Configuration data for system-wide clock configurationThis class represents the following YANG schema fragment defined in module openconfig-system
grouping system-clock-config { leaf timezone-name { type timezone-name-type; } }The schema path to identify an instance is openconfig-systemsystem-clock-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 TimezoneNameTypegetTimezoneName()Return timezoneName, ornullif it is not present.Class<? extends SystemClockConfig>implementedInterface()default @NonNull TimezoneNameTyperequireTimezoneName()Return timezoneName, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends SystemClockConfig> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.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
default @NonNull TimezoneNameType 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
-
-