Interface Ipv4Destinations
- 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:
Ipv4DestinationCase
,P2mpIpv4
@Generated("mdsal-binding-generator")
public interface Ipv4Destinations
extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module pcep-types
grouping ipv4-destinations { leaf-list destination-ipv4-address { type inet:ipv4-address-no-zone; min-elements 1; } }
-
Field Summary
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescription@Nullable Set<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4AddressNoZone>
Return destinationIpv4Address, ornull
if it is not present.Class<? extends Ipv4Destinations>
default @NonNull Set<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4AddressNoZone>
Return destinationIpv4Address, guaranteed to be non-null.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends Ipv4Destinations> implementedInterface()- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getDestinationIpv4Address
@Nullable Set<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4AddressNoZone> getDestinationIpv4Address()Return destinationIpv4Address, ornull
if it is not present.- Returns:
Set<Ipv4AddressNoZone>
destinationIpv4Address, ornull
if it is not present.
-
requireDestinationIpv4Address
default @NonNull Set<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4AddressNoZone> requireDestinationIpv4Address()Return destinationIpv4Address, guaranteed to be non-null.- Returns:
Set<Ipv4AddressNoZone>
destinationIpv4Address, guaranteed to be non-null.- Throws:
NoSuchElementException
- if destinationIpv4Address is not present
-