All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>, org.opendaylight.yangtools.binding.BindingObject, CSubobject, org.opendaylight.yangtools.binding.DataContainer, org.opendaylight.yangtools.binding.Grouping
All Known Subinterfaces:
IpPrefix, IpPrefix, Subobject

@Generated("mdsal-binding-generator") public interface IpPrefixSubobject extends org.opendaylight.yangtools.binding.Grouping, CSubobject

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

 grouping ip-prefix-subobject {
   uses c-subobject;
   leaf ip-prefix {
     type inet:ip-prefix;
   }
 }
 
  • Method Summary

    Modifier and Type
    Method
    Description
    org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix
    Return ipPrefix, or null if it is not present.
    default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix
    Return ipPrefix, guaranteed to be non-null.

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

    implementedInterface
  • Method Details

    • getIpPrefix

      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix getIpPrefix()
      Return ipPrefix, or null if it is not present.
      Returns:
      IpPrefix ipPrefix, or null if it is not present.
    • requireIpPrefix

      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix requireIpPrefix()
      Return ipPrefix, guaranteed to be non-null.
      Returns:
      IpPrefix ipPrefix, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if ipPrefix is not present