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:
PathKey, PathKey, PathKeys

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

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

 grouping path-key-subobject {
   uses c-subobject;
   leaf pce-id {
     type pce-id;
   }
   leaf path-key {
     type path-key;
   }
 }
 
  • 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 pathKey, or null if it is not present.
    Return pceId, or null if it is not present.
     
    default @NonNull PathKey
    Return pathKey, guaranteed to be non-null.
    default @NonNull PceId
    Return pceId, 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 PathKeySubobject> 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
    • getPceId

      PceId getPceId()
      Return pceId, or null if it is not present.
      Returns:
      PceId pceId, or null if it is not present.
    • requirePceId

      default @NonNull PceId requirePceId()
      Return pceId, guaranteed to be non-null.
      Returns:
      PceId pceId, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if pceId is not present
    • getPathKey

      PathKey getPathKey()
      Return pathKey, or null if it is not present.
      Returns:
      PathKey pathKey, or null if it is not present.
    • requirePathKey

      default @NonNull PathKey requirePathKey()
      Return pathKey, guaranteed to be non-null.
      Returns:
      PathKey pathKey, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if pathKey is not present