Interface PlatformSubcomponentRefConfig

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 PlatformSubcomponentRefConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Configuration data for subcomponent references

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

 grouping platform-subcomponent-ref-config {
   leaf name {
     type leafref {
       path ../../../../../component/config/name;
     }
   }
 }
 
  • 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 name, or null if it is not present.
     
    default @NonNull Object
    Return name, guaranteed to be non-null.
  • 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 PlatformSubcomponentRefConfig> 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
    • getName

      Object getName()
      Return name, or null if it is not present.
           
               Reference to the name of the subcomponent
           
       
      Returns:
      Object name, or null if it is not present.
    • requireName

      default @NonNull Object requireName()
      Return name, guaranteed to be non-null.
           
               Reference to the name of the subcomponent
           
       
      Returns:
      Object name, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if name is not present