All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, org.opendaylight.yangtools.yang.binding.BindingObject, CSubobject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
All Known Subinterfaces:
Label, Label

@Generated("mdsal-binding-generator") public interface LabelSubobject extends org.opendaylight.yangtools.yang.binding.DataObject, CSubobject

This class represents the following YANG schema fragment defined in module rsvp

 grouping label-subobject {
   uses c-subobject;
   leaf uni-directional {
     type boolean;
   }
   choice label-type {
     case type1-label-case {
       container type1-label {
         uses type1-label;
       }
     }
     case generalized-label-case {
       container generalized-label {
         uses generalized-label;
       }
     }
     case waveband-switching-label-case {
       container waveband-switching-label {
         uses waveband-switching-label;
       }
     }
   }
 }
 
  • 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 labelType, or null if it is not present.
    Return uniDirectional, or null if it is not present.
     
    default @NonNull Boolean
    Return uniDirectional, 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 LabelSubobject> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
      Specified by:
      implementedInterface in interface CSubobject
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
    • getUniDirectional

      Boolean getUniDirectional()
      Return uniDirectional, or null if it is not present.
      Returns:
      Boolean uniDirectional, or null if it is not present.
    • requireUniDirectional

      default @NonNull Boolean requireUniDirectional()
      Return uniDirectional, guaranteed to be non-null.
      Returns:
      Boolean uniDirectional, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if uniDirectional is not present
    • getLabelType

      LabelType getLabelType()
      Return labelType, or null if it is not present.
      Returns:
      LabelType labelType, or null if it is not present.