Interface SctpMatchFields
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
SctpMatch
@Generated("mdsal-binding-generator") public interface SctpMatchFields extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module opendaylight-match-types
grouping sctp-match-fields { leaf sctp-source-port { type inet:port-number; } leaf sctp-destination-port { type inet:port-number; } }
The schema path to identify an instance is opendaylight-match-typessctp-match-fields
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
getSctpDestinationPort()
Return sctpDestinationPort, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
getSctpSourcePort()
Return sctpSourcePort, ornull
if it is not present.Class<? extends SctpMatchFields>
implementedInterface()
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
requireSctpDestinationPort()
Return sctpDestinationPort, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
requireSctpSourcePort()
Return sctpSourcePort, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends SctpMatchFields> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getSctpSourcePort
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber getSctpSourcePort()
Return sctpSourcePort, ornull
if it is not present.SCTP source port.
- Returns:
PortNumber
sctpSourcePort, ornull
if it is not present.
-
requireSctpSourcePort
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber requireSctpSourcePort()
Return sctpSourcePort, guaranteed to be non-null.SCTP source port.
- Returns:
PortNumber
sctpSourcePort, guaranteed to be non-null.- Throws:
NoSuchElementException
- if sctpSourcePort is not present
-
getSctpDestinationPort
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber getSctpDestinationPort()
Return sctpDestinationPort, ornull
if it is not present.SCTP destination port.
- Returns:
PortNumber
sctpDestinationPort, ornull
if it is not present.
-
requireSctpDestinationPort
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber requireSctpDestinationPort()
Return sctpDestinationPort, guaranteed to be non-null.SCTP destination port.
- Returns:
PortNumber
sctpDestinationPort, guaranteed to be non-null.- Throws:
NoSuchElementException
- if sctpDestinationPort is not present
-
-