All Superinterfaces:
org.opendaylight.yangtools.binding.Augmentable<InterfaceRef>, org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>, org.opendaylight.yangtools.binding.BindingObject, org.opendaylight.yangtools.binding.ChildOf<InterfaceRef>, org.opendaylight.yangtools.binding.ContainerObject<InterfaceRef,InterfaceRef>, org.opendaylight.yangtools.binding.DataContainer, org.opendaylight.yangtools.binding.DataObject, org.opendaylight.yangtools.binding.Grouping, org.opendaylight.yangtools.binding.lib.ImplementedInterface<org.opendaylight.yangtools.binding.DataContainer>, InterfaceRefStateContainer, org.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,InterfaceRef>, org.opendaylight.yangtools.binding.lib.JavaDataContainer<InterfaceRef>, org.opendaylight.yangtools.binding.ParentObject<InterfaceRef>

@Generated("mdsal-binding-generator") public interface InterfaceRef extends org.opendaylight.yangtools.binding.ContainerObject<InterfaceRef,InterfaceRef>, InterfaceRefStateContainer
Reference to an interface or subinterface

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

 container interface-ref {
   container config {
     uses interface-ref-common;
   }
   uses interface-ref-state-container;
 }
 

To create instances of this class use InterfaceRefBuilder.

See Also:
  • Field Summary

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

    Modifier and Type
    Method
    Description
    Return config, or null if it is not present.
     
    default boolean
     
    default int
     
    default String
     
    @NonNull Config
    Return config, or an empty instance if it is not present.

    Methods inherited from interface org.opendaylight.yangtools.binding.Augmentable

    augmentation, augmentationOrElseThrow, augmentationOrElseThrow, augmentations

    Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.interfaces.rev160412.InterfaceRefStateContainer

    getState, nonnullState

    Methods inherited from interface org.opendaylight.yangtools.binding.lib.JavaContract

    equals, hashCode, toString
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      The YANG identifier of the container statement represented by this interface.
  • Method Details

    • getConfig

      Config getConfig()
      Return config, or null if it is not present.
           
               Configured reference to interface / subinterface
           
       
      Returns:
      Config config, or null if it is not present.
    • nonnullConfig

      @NonNull Config nonnullConfig()
      Return config, or an empty instance if it is not present.
           
               Configured reference to interface / subinterface
           
       
      Returns:
      Config config, or an empty instance if it is not present.
    • implementedInterface

      default Class<InterfaceRef> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.binding.DataObject
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.binding.lib.ImplementedInterface<org.opendaylight.yangtools.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.binding.ParentObject<InterfaceRef>
    • javaHC

      default int javaHC()
      Specified by:
      javaHC in interface org.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,InterfaceRef>
      Specified by:
      javaHC in interface org.opendaylight.yangtools.binding.lib.JavaDataContainer<InterfaceRef>
    • javaEQ

      default boolean javaEQ(InterfaceRef obj)
      Specified by:
      javaEQ in interface org.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,InterfaceRef>
      Specified by:
      javaEQ in interface org.opendaylight.yangtools.binding.lib.JavaDataContainer<InterfaceRef>
    • javaTS

      default String javaTS()
      Specified by:
      javaTS in interface org.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,InterfaceRef>
      Specified by:
      javaTS in interface org.opendaylight.yangtools.binding.lib.JavaDataContainer<InterfaceRef>