Interface SctpMatchFields
- 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:
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; } }
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
Return sctpDestinationPort, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
Return sctpSourcePort, ornull
if it is not present.Class<? extends SctpMatchFields>
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
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
Return sctpSourcePort, 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 SctpMatchFields> 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
-
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
-