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

@Generated("mdsal-binding-generator") public interface InterfaceRef extends org.opendaylight.yangtools.yang.binding.DataObject
Reusable definition for a reference to an interface or subinterface

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

 grouping interface-ref {
   container interface-ref {
     container config {
       uses interface-ref-common;
     }
     uses interface-ref-state-container;
   }
 }
 
  • 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 interfaceRef, or null if it is not present.
    Class<? extends InterfaceRef>
     
    @NonNull InterfaceRef
    Return interfaceRef, 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 InterfaceRef> 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
    • getInterfaceRef

      InterfaceRef getInterfaceRef()
      Return interfaceRef, or null if it is not present.
           
               Reference to an interface or subinterface
           
       
      Returns:
      org.opendaylight.yang.gen.v1.http.openconfig.net.yang.interfaces.rev160412._interface.ref.InterfaceRef interfaceRef, or null if it is not present.
    • nonnullInterfaceRef

      @NonNull InterfaceRef nonnullInterfaceRef()
      Return interfaceRef, or an empty instance if it is not present.
      Returns:
      org.opendaylight.yang.gen.v1.http.openconfig.net.yang.interfaces.rev160412._interface.ref.InterfaceRef interfaceRef, or an empty instance if it is not present.