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

    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.PortNumber
    Return sctpDestinationPort, or null if it is not present.
    org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
    Return sctpSourcePort, or null if it is not present.
     
    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 QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

      Class<? extends SctpMatchFields> 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
    • getSctpSourcePort

      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber getSctpSourcePort()
      Return sctpSourcePort, or null if it is not present.
           
               SCTP source port.
           
       
      Returns:
      PortNumber sctpSourcePort, or null 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, or null if it is not present.
           
               SCTP destination port.
           
       
      Returns:
      PortNumber sctpDestinationPort, or null 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