Interface PlatformSubcomponentRefConfig

  • All Superinterfaces:
    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;
         }
       }
     }
     
    The schema path to identify an instance is openconfig-platformplatform-subcomponent-ref-config
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        Class<? extends PlatformSubcomponentRefConfig> implementedInterface()
        Specified by:
        implementedInterface in interface 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