Interface PlatformSubcomponentRefTop

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

@Generated("mdsal-binding-generator") public interface PlatformSubcomponentRefTop extends org.opendaylight.yangtools.yang.binding.DataObject
Top-level grouping for list of subcomponent references

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

 grouping platform-subcomponent-ref-top {
   container subcomponents {
     list subcomponent {
       key name;
       leaf name {
         type leafref {
           path ../config/name;
         }
       }
       container config {
         uses platform-subcomponent-ref-config;
       }
       container state {
         config false;
         uses platform-subcomponent-ref-config;
         uses platform-subcomponent-ref-state;
       }
     }
   }
 }
 
  • 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 PlatformSubcomponentRefTop> 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
    • getSubcomponents

      Subcomponents getSubcomponents()
      Return subcomponents, or null if it is not present.
           
               Enclosing container for subcomponent references
           
       
      Returns:
      Subcomponents subcomponents, or null if it is not present.
    • nonnullSubcomponents

      @NonNull Subcomponents nonnullSubcomponents()
      Return subcomponents, or an empty instance if it is not present.
      Returns:
      Subcomponents subcomponents, or an empty instance if it is not present.