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:
Ipv4, P2mpIpv4

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

This class represents the following YANG schema fragment defined in module pcep-types

 grouping endpoints-ipv4-source {
   leaf source-ipv4-address {
     type inet:ipv4-address-no-zone;
   }
 }
 
  • 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
    org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4AddressNoZone
    Return sourceIpv4Address, or null if it is not present.
     
    default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4AddressNoZone
    Return sourceIpv4Address, 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 EndpointsIpv4Source> 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
    • getSourceIpv4Address

      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4AddressNoZone getSourceIpv4Address()
      Return sourceIpv4Address, or null if it is not present.
      Returns:
      Ipv4AddressNoZone sourceIpv4Address, or null if it is not present.
    • requireSourceIpv4Address

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