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
All Known Subinterfaces:
Config, State

@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 Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

      Class<? extends SystemClockConfig> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
    • getTimezoneName

      TimezoneNameType getTimezoneName()
      Return timezoneName, or null if it is not present.
           
               The TZ database name to use for the system, such as 'Europe/Stockholm'.
           
       
      Returns:
      TimezoneNameType timezoneName, or null if 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:
      TimezoneNameType timezoneName, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if timezoneName is not present