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:
OpenconfigPlatformData

@Generated("mdsal-binding-generator") public interface PlatformComponentTop extends org.opendaylight.yangtools.yang.binding.DataObject
Top-level grouping for components in the device inventory

This class represents the following YANG schema fragment defined in module openconfig-platform

 grouping platform-component-top {
   container components {
     list component {
       key name;
       leaf name {
         type leafref {
           path ../config/name;
         }
       }
       container config {
         uses platform-component-config;
       }
       container state {
         config false;
         uses platform-component-config;
         uses platform-component-state;
         uses platform-component-temp-state;
         uses platform-component-memory-state;
         uses platform-component-power-state;
       }
       uses platform-component-properties-top;
       uses platform-subcomponent-ref-top;
       uses platform-anchors-top;
     }
   }
 }
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return components, or null if it is not present.
     
    @NonNull Components
    Return components, or an empty instance if it is not present.
  • 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 PlatformComponentTop> 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
    • getComponents

      Components getComponents()
      Return components, or null if it is not present.
           
               Enclosing container for the components in the system.
           
       
      Returns:
      Components components, or null if it is not present.
    • nonnullComponents

      @NonNull Components nonnullComponents()
      Return components, or an empty instance if it is not present.
      Returns:
      Components components, or an empty instance if it is not present.